/* =============================================================
   ABOUT & CONTACT PAGE STYLES
   Extends pages-inner.css for page-about.php and page-contact.php
   ============================================================= */

/* =============================================================
   SHARED — Page hero bar (reused on About, Contact, inner pages)
   ============================================================= */
.page-hero-bar {
    padding: var(--space-20) 0 var(--space-16);
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

/* About hero — tighter bottom, has its own glow so less padding needed */
.about-hero {
    padding-bottom: var(--space-10);
    position: relative;
    overflow: hidden;
}

/* Radial glow orbs — mirrors homepage hero treatment, dialled back */
.about-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.about-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
}

.about-hero-orb-1 {
    width: 500px;
    height: 500px;
    background: var(--color-accent);
    opacity: 0.18;
    top: -180px;
    left: 50%;
    transform: translateX(-50%);
}

.about-hero-orb-2 {
    width: 300px;
    height: 300px;
    background: var(--color-accent-2);
    opacity: 0.10;
    bottom: -80px;
    right: -60px;
}

.about-hero-inner {
    position: relative;
    z-index: 1;
}

/* Stat chips row */
.about-hero-chips {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-top: var(--space-8);
}

.about-hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 0 1rem;
    height: 36px;
    white-space: nowrap;
    transition: var(--transition-fast);
}

.about-hero-chip svg {
    opacity: 0.65;
    flex-shrink: 0;
    color: var(--color-accent);
}

.about-hero-chip:hover {
    border-color: rgba(108, 99, 255, 0.35);
    color: var(--color-text);
}

.about-hero-chip:hover svg { opacity: 1; }

.page-eyebrow {
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-4);
}

.page-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: var(--space-5);
}

.page-hero-sub {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
    max-width: 560px;
    margin-inline: auto;
}

/* =============================================================
   ABOUT PAGE
   ============================================================= */

/* Mission */
.about-mission {
    padding: var(--space-20) 0;
    text-align: center;
}

.about-mission-inner { max-width: 760px; margin-inline: auto; }

.about-mission-badge {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent);
    background: rgba(108,99,255,0.1);
    border: 1px solid rgba(108,99,255,0.25);
    border-radius: 999px;
    padding: 0.3rem 1rem;
    margin-bottom: var(--space-6);
}

.about-mission-statement {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-6);
}

.about-mission-body {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
    line-height: 1.75;
}

/* Values */
.about-values {
    padding: var(--space-20) 0;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-12);
    text-align: left;
}

/* Team */
.about-team {
    padding: var(--space-20) 0;
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-12);
}

.team-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.team-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--color-surface-2);
    border: 2px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
    color: var(--color-text-muted);
}

.team-name {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-1);
}

.team-role {
    font-size: var(--text-sm);
    color: var(--color-accent);
    font-weight: 500;
    margin-bottom: var(--space-4);
}

.team-bio {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* About CTA */
.about-cta {
    padding: var(--space-20) 0;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
}

.about-cta-inner {
    text-align: center;
    max-width: 600px;
    margin-inline: auto;
}

.about-cta h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    margin-bottom: var(--space-4);
}

.about-cta p {
    color: var(--color-text-muted);
    margin-bottom: var(--space-8);
}

/* =============================================================
   CONTACT PAGE
   ============================================================= */
.contact-body {
    padding: var(--space-20) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: var(--space-16);
    align-items: start;
}

/* Left column */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

/* Each info block gets card treatment — matches right column visual weight */
.contact-info-block {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-5) var(--space-6);
    transition: border-color 0.2s ease;
}

.contact-info-block:hover {
    border-color: rgba(108, 99, 255, 0.3);
}

.contact-info-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(108, 99, 255, 0.1);
    border: 1px solid rgba(108, 99, 255, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
}

.contact-info-label {
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-1);
}

.contact-info-value {
    font-size: var(--text-base);
    color: var(--color-text);
    line-height: 1.5;
}

.contact-info-muted { color: var(--color-text-muted); font-style: italic; }

.contact-social-row {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-5) var(--space-6);
    margin-top: 0;
}

.contact-social-links {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-3);
}

.contact-social-links .social-icon-link {
    width: 38px;
    height: 38px;
    background: var(--color-surface-2);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-social-links .social-icon-link:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
}

/* Right column — card container */
.contact-form-wrap {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-10);
}

/* =============================================================
   CF7 FALLBACK — designed empty state, not a missing piece
   ============================================================= */
.contact-form-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-6) var(--space-4);
}

/* Icon with glow ring behind it */
.cff-icon-wrap {
    position: relative;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-6);
}

.cff-icon-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108,99,255,0.18) 0%, transparent 70%);
    border: 1px solid rgba(108, 99, 255, 0.2);
}

.cff-icon {
    position: relative;
    z-index: 1;
    width: 52px;
    height: 52px;
    background: rgba(108, 99, 255, 0.1);
    border: 1px solid rgba(108, 99, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
}

/* Step label — small uppercase pill above heading */
.cff-step-label {
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    background: rgba(108, 99, 255, 0.1);
    border: 1px solid rgba(108, 99, 255, 0.2);
    border-radius: 999px;
    padding: 0.2rem 0.85rem;
    margin-bottom: var(--space-4);
    display: inline-block;
}

.cff-heading {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-3);
    line-height: 1.3;
}

.cff-body {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    line-height: 1.7;
    max-width: 380px;
    margin-bottom: var(--space-6);
}

/* Numbered steps list */
.cff-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-7);
    width: 100%;
    max-width: 360px;
    counter-reset: cff-step;
    text-align: left;
}

.cff-steps li {
    counter-increment: cff-step;
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--color-border);
    line-height: 1.5;
}

.cff-steps li:last-child { border-bottom: none; }

.cff-steps li::before {
    content: counter(cff-step);
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: var(--color-surface-2);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--color-accent);
    margin-top: 1px;
}

/* CTA button */
.cff-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--gradient-accent);
    color: #fff;
    font-size: var(--text-sm);
    font-weight: 600;
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    margin-bottom: var(--space-5);
}

.cff-btn:hover {
    opacity: 0.88;
    transform: translateY(-1px);
    text-decoration: none;
}

/* Divider text beneath button */
.cff-divider-text {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin: 0;
}

/* FAQ nudge */
.contact-faq-nudge {
    padding: var(--space-10) 0;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.contact-faq-nudge p {
    color: var(--color-text-muted);
    font-size: var(--text-base);
}

/* =============================================================
   RESPONSIVE
   ============================================================= */

/* --- Constrain about hero orbs on narrow screens so they don't bleed --- */
@media (max-width: 600px) {
    .about-hero-orb-1 { width: 300px; height: 300px; top: -100px; }
    .about-hero-orb-2 { width: 180px; height: 180px; }
    .blog-hero-orb-1  { width: 300px; height: 300px; top: -100px; }
    .blog-hero-orb-2  { width: 160px; height: 160px; }
}

/* --- Single column: contact grid and about grids below 600px --- */
@media (max-width: 599px) {
    .values-grid,
    .team-grid { grid-template-columns: 1fr; }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }
}

/* --- Tablet (600px–767px): 2-column step for dense grids --- */
@media (min-width: 600px) and (max-width: 767px) {
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid   { grid-template-columns: repeat(2, 1fr); }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }
}
