.page-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: flex-end;
    color: var(--white);
    padding-top: 6rem;
    padding-bottom: 3.5rem;
}

/* Bottom-weighted scrim keeps bottom-left text readable without a card. */
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 16, 23, 0.55) 0%, rgba(6, 16, 23, 0.25) 45%, rgba(6, 16, 23, 0.8) 100%);
    z-index: 1;
}

.page-hero .hero-media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

/* Plain text pinned bottom-left on the container rail — no glass card. */
.page-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 560px;
    margin: 0 auto 0 calc((100% - var(--container)) / 2);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 0;
}

/* Hero CTAs stay, much smaller. */
.page-hero .btn {
    padding: 0.5em 1.2em;
    font-size: 0.85rem;
}

.page-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.page-hero h2.hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    line-height: 1.4;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.5rem;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.8);
}

/* Process / Timeline Layout */
.process-section {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

/* Connecting line */
.process-section::before {
    content: "";
    position: absolute;
    top: 50px;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: calc(100% - 100px);
    background: linear-gradient(180deg, rgba(245, 193, 91, 0) 0%, rgba(245, 193, 91, 0.6) 15%, rgba(245, 193, 91, 0.6) 85%, rgba(245, 193, 91, 0) 100%);
    z-index: 0;
    opacity: 0.6;
}

.process-step {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5rem;
    z-index: 1;
}

.process-step:last-child {
    margin-bottom: 0;
}

/* Alternating Layout: Even steps have Image Left, Content Right */
.process-step:nth-child(even) {
    flex-direction: row-reverse;
}

/* New Process Image */
.process-image {
    width: 42%;
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease;
}

.process-image:hover {
    transform: scale(1.02);
}

/* The card itself */
.process-content {
    width: 42%;
    background: var(--white);
    padding: 2.5rem 3rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.process-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.process-content h3 {
    margin-bottom: 0.8rem;
    font-size: 1.6rem;
}

/* Step Number Badge */
.process-number {
    position: absolute;
    top: 2rem;
    /* Position relative to the center line */
}

/* Odd steps (Left side): Number on the right edge of content or on the line? 
   Let's create a distinct circle on the line itself. */
.process-marker {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--navy);
    font-size: 1.2rem;
    z-index: 2;
    box-shadow: 0 0 0 8px var(--sand);
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .process-section::before {
        left: 24px;
        width: 2px;
    }

    .process-step,
    .process-step:nth-child(even) {
        flex-direction: column;
        padding-left: 60px;
        margin-bottom: 3rem;
        align-items: flex-start;
    }

    .process-content {
        width: 100%;
        margin-bottom: 1.5rem;
    }

    /* 60px of rail plus 96px of card padding left only ~195px for text, so the
       copy broke after three or four words. Reclaim both on narrow screens. */
    @media (max-width: 560px) {

        .process-step,
        .process-step:nth-child(even) {
            padding-left: 44px;
        }

        .process-content {
            padding: 1.5rem;
        }
    }

    .process-image {
        width: 100%;
        height: 250px;
    }

    .process-marker {
        left: 24px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
        top: 40px;
        /* Align with top of content roughly */
        transform: translate(-50%, 0);
    }
}

.detail-list {
    width: var(--container);
    margin: 2rem auto 0;
    display: grid;
    gap: 1rem;
}

.detail-list li {
    list-style: none;
    background: var(--mist);
    border-radius: 14px;
    padding: 1rem 1.2rem;
    display: flex;
    gap: 0.8rem;
    align-items: start;
}

.detail-list li::before {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--accent);
    margin-top: 6px;
}

.faq-section {
    background: var(--mist);
    padding: 6rem 0;
}

.faq-grid {
    width: var(--container);
    margin: 3rem auto 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.faq-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.faq-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.faq-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 50px rgba(7, 20, 29, 0.12);
}

@media (max-width: 980px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .page-hero h1 {
        font-size: clamp(2rem, 7vw, 2.7rem);
    }

    .page-hero p {
        font-size: 0.95rem;
    }
}
