/* components/about-hero.css — About page hero.
 *
 * Solid brand-red background. Three-column grid: left text | center photo |
 * right tags + cards. Credibility strip at the bottom.
 * All colors via var() from colors.css — no hardcoded hex values.
 */

/* ── Section ──────────────────────────────────────────────────────────────── */
.ah-hero {
    position: relative;
    background-color: var(--color-nav-dark-red);
    background-image: url('../../images/about/about_us_bg.png');
    background-size: cover;
    background-position: center;
    min-height: calc(92vh - var(--nav-height));
    max-height: 700px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Brand-red overlay — sits above the bg image, below the content */
.ah-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(121, 23, 36, 0.82);
    z-index: 0;
}

/* ── Inner grid — 3 columns: left | photo | right ────────────────────────── */
.ah-inner {
    position: relative;
    z-index: 1;
    flex: 1;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: 1fr;
    align-items: stretch;
    width: 100%;
    padding-inline: clamp(var(--space-8), 6vw, 5rem);
    padding-top: clamp(3rem, 6vw, 4.5rem);
}

/* ── Left content ─────────────────────────────────────────────────────────── */
.ah-left {
    grid-column: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: clamp(2rem, 4vw, 3rem);
    max-width: 440px;
}

/* ── Eyebrow ──────────────────────────────────────────────────────────────── */
.ah-eyebrow {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

.ah-eyebrow-line {
    display: block;
    width: 2rem;
    height: 1.5px;
    background-color: var(--color-white);
    opacity: 0.5;
    flex-shrink: 0;
}

.ah-eyebrow-label {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-white);
    opacity: 0.75;
}

/* ── Main headline ────────────────────────────────────────────────────────── */
.ah-headline {
    display: flex;
    flex-direction: column;
    margin: 0 0 var(--space-6) 0;
    font-size: clamp(2.75rem, 5.5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: -0.03em;
    color: var(--color-white);
}

/* ── Sub-paragraph ────────────────────────────────────────────────────────── */
.ah-paragraph {
    font-size: clamp(1.0625rem, 1.8vw, 1.125rem);
    line-height: 1.7;
    color: var(--color-white);
    opacity: 0.82;
    margin: 0 0 var(--space-8) 0;
}

/* ── CTA buttons ──────────────────────────────────────────────────────────── */
.ah-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    align-items: center;
}

/* Primary: white pill (--color-cta-primary-bg would be invisible on same red bg) */
.ah-btn-primary {
    display: inline-flex;
    align-items: center;
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-pill);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    background-color: var(--color-white);
    color: var(--color-nav-dark-red);
    transition: opacity 0.15s;
}

.ah-btn-primary:hover {
    opacity: 0.9;
    color: var(--color-nav-dark-red);
    text-decoration: none;
}

/* Secondary: outlined white */
.ah-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-pill);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    color: var(--color-white);
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    transition: background-color 0.15s, border-color 0.15s;
}

.ah-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: var(--color-white);
    color: var(--color-white);
    text-decoration: none;
}

/* ── Center photo ─────────────────────────────────────────────────────────── */
.ah-photo-wrap {
    grid-column: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    /* Slight horizontal breathing room around the photo */
    padding-inline: clamp(var(--space-8), 4vw, 4rem);
}

.ah-photo {
    display: block;
    width: clamp(400px, 44vw, 580px);
    height: auto;
    max-height: calc(88vh - var(--nav-height));
    object-fit: cover;
    object-position: top center;
}

/* ── Right column: tags (top) + cards (bottom) ────────────────────────────── */
.ah-right {
    grid-column: 3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: clamp(2rem, 4vw, 3rem);
    padding-top: clamp(3rem, 6vw, 4.5rem);
}

/* ── Tag list ─────────────────────────────────────────────────────────────── */
.ah-tags {
    text-align: right;
}

.ah-tags-label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-white);
    opacity: 0.5;
    margin: 0 0 var(--space-3) 0;
}

.ah-tags-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    align-items: flex-end;
}

.ah-tag {
    font-size: 1.0625rem;
    font-weight: 400;
    color: var(--color-white);
    opacity: 0.5;
    line-height: 1.4;
}

.ah-tag--featured {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
    opacity: 1;
}

/* ── Stat cards ───────────────────────────────────────────────────────────── */
.ah-cards {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
}

.ah-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    min-width: 120px;
    background-color: rgba(0, 0, 0, 0.25);
}

@supports (backdrop-filter: blur(1px)) {
    .ah-card {
        background-color: rgba(0, 0, 0, 0.18);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}

.ah-card-stat {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--color-white);
    letter-spacing: -0.02em;
}

.ah-card-desc {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-white);
    opacity: 0.65;
    line-height: 1.3;
}

.ah-card-cta {
    display: inline-flex;
    align-items: center;
    margin-top: var(--space-3);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-pill);
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    background-color: var(--color-white);
    color: var(--color-dark);
    transition: opacity 0.15s;
}

.ah-card-cta:hover {
    opacity: 0.85;
    color: var(--color-dark);
    text-decoration: none;
}

/* ── Credibility strip ────────────────────────────────────────────────────── */
.ah-cred {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-6) clamp(var(--space-8), 6vw, 5rem);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.ah-cred-label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-white);
    opacity: 0.4;
}

.ah-cred-countries {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
}

.ah-cred-countries li {
    font-size: 0.9375rem;
    color: var(--color-white);
    opacity: 0.5;
    padding-inline: var(--space-3);
    position: relative;
}

.ah-cred-countries li + li::before {
    content: '·';
    position: absolute;
    left: 0;
    transform: translateX(-50%);
    opacity: 0.5;
}

/* ── Responsive — tablet (≤ 900px): collapse to 2-column, hide tags ───────── */
@media (max-width: 900px) {
    .ah-inner {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
    }

    .ah-left {
        grid-column: 1;
        grid-row: 1;
    }

    .ah-photo-wrap {
        grid-column: 2;
        grid-row: 1 / 3;
    }

    .ah-right {
        grid-column: 1;
        grid-row: 2;
        align-items: flex-start;
        padding-top: 0;
        flex-direction: row;
        flex-wrap: wrap;
        gap: var(--space-6);
    }

    .ah-tags {
        display: none;
    }
}

/* ── Responsive — mobile (≤ 600px): single column ────────────────────────── */
@media (max-width: 600px) {
    .ah-hero {
        min-height: auto;
    }

    .ah-inner {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        padding-top: clamp(2.5rem, 8vw, 3.5rem);
    }

    .ah-left {
        grid-column: 1;
        grid-row: 1;
        max-width: 100%;
        padding-bottom: var(--space-6);
    }

    .ah-photo-wrap {
        grid-column: 1;
        grid-row: 2;
        justify-content: center;
        padding-inline: 0;
    }

    .ah-photo {
        width: 80%;
        max-height: 50vh;
    }

    .ah-right {
        grid-column: 1;
        grid-row: 3;
        align-items: flex-start;
        padding-top: var(--space-6);
    }

    .ah-cards {
        flex-direction: column;
        width: 100%;
    }

    .ah-card {
        width: 100%;
        min-width: unset;
    }
}
