/* ==================================================
   OUR APPROACH PAGE
   ================================================== */


/* --------------------------------------------------
   HERO
   -------------------------------------------------- */

.hero {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    align-items: center;
    background-color: var(--main-color);
    color: var(--text-main);
    min-height: 440px;
}

.hero-text {
    padding: 4.5rem 3.5rem;
}

.hero-text h1 {
    font-size: clamp(2rem, 3.4vw, 2.85rem);
    line-height: 1.2;
    letter-spacing: 1px;
}

.hero-text p {
    margin: 2rem 0 0;
    max-width: 44ch;
    color: var(--text-muted);
    font-weight: 600;
}

.hero-text .btn {
    margin-top: 2.75rem;
}

.hero-img,
.hero-img img {
    height: 100%;
}

.hero-img img {
    width: 100%;
    min-height: 400px;
    object-fit: cover;
    filter: grayscale(100%);
}


/* --------------------------------------------------
   OUR APPROACH  (light, text left, image right)
   -------------------------------------------------- */

.approach {
    background-color: var(--bg);
    color: var(--text-second);
}

.approach .box-left {
    padding: 5rem 3.5rem;
}

.approach .box-right {
    padding: 3rem 0;
}

.approach .box-right img {
    height: 340px;
}


/* --------------------------------------------------
   THE PROCESS  (light, 5 numbered steps)
   -------------------------------------------------- */

.process {
    background-color: var(--bg-muted);
    color: var(--text-second);
    padding: 4.5rem 3.5rem 5rem;
}

.process .grid-holder {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.process .cont-box {
    text-align: center;
    min-width: 0;
}

.process .icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 1.75rem;
}

.process h2 {
    margin: 0;
    font-family: var(--text-font-main);
    font-size: 1.125rem;
    font-weight: 600;
}

.process h2 span {
    color: var(--text-purpl);
}

.process p {
    margin: 0.9rem auto 0;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: bold;
}


/* --------------------------------------------------
   WHY TTA  (dark, text left + image right, then cards)
   -------------------------------------------------- */

.why {
    background-color: var(--main-color);
    color: var(--text-main);
    padding: 1.5rem 3.5rem 3rem;
}

.why .box-two {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4rem;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1.5rem;
}

.why .box-left p {
    margin-top: 2.25rem;
    color: var(--text-muted);
    font-weight: 600;
}

.why .box-right {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.why .box-right img {
    width: auto;
    height: 400px;
    min-height: 340px;
    display: block;
    border-radius: 2px;
    object-fit: cover;
}

/* value cards */
.why .grid-holder {
    height: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.why .cont-box {
    min-width: 0;
}

.why .cont-box img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    filter: grayscale(100%);
}

.why .cont-box .icon {
    width: 48px;
    height: 48px;
    margin: 1.75rem 0 1rem;
    object-fit: contain;
}

.why .cont-box h2 {
    margin: 0;
    font-family: var(--text-font-main);
    font-size: 1.5rem;
    letter-spacing: 0.5px;
}


/* --------------------------------------------------
   WORKING TOGETHER  (light, full-height image left)
   -------------------------------------------------- */

.together {
    background-color: var(--bg);
    color: var(--text-second);
}

.together .box-two {
    align-items: stretch;
}

.together .box-left img {
    min-height: 420px;
}

.together .box-right {
    align-self: center;
    padding: 5rem 3.5rem;
}


/* --------------------------------------------------
   LAST CALL
   -------------------------------------------------- */

.last-call {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    background-color: var(--bg-muted);
    color: var(--text-second);
    padding: 3.5rem;
}

.last-call h1 {
    font-size: clamp(1.6rem, 2.6vw, 2.15rem);
    line-height: 1.3;
}


/* --------------------------------------------------
   RESPONSIVE
   -------------------------------------------------- */

@media (max-width: 1100px) {
    .process .grid-holder {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 3rem;
    }
}


@media (max-width: 1024px) {
    main {
        padding: 0 1rem;
    }

    #header-menu .navbar {
        padding: 1rem 1.25rem;
    }

    .nav-links {
        gap: 1.25rem;
    }

    /* generic stacking */
    .box-two,
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-text,
    .approach .box-left,
    .together .box-right {
        padding: 3.5rem 1.75rem;
    }

    .hero-img img,
    .approach .box-right img,
    .together .box-left img {
        width: 100%;
        height: 260px;
        min-height: 0;
        object-fit: cover;
    }

    .approach .box-right {
        padding: 0;
    }

    .process {
        padding: 3.5rem 1.75rem 4rem;
    }

    .process .grid-holder {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 2.5rem;
    }

    /* WHY TTA */
    .why {
        min-height: 0;
        padding: 3rem 1.75rem;
    }

    /* more specific than the generic .box-two rule above */
    .why .box-two {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-top: 0;
        padding-bottom: 2.5rem;
    }

    .why .box-left {
        padding: 0;
    }

    .why .box-right {
        justify-content: stretch;
        align-items: stretch;
    }

    .why .box-right img {
        width: 100%;
        height: 260px;
        min-height: 0;
        object-fit: cover;
    }

    .why .grid-holder {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }

    .why .cont-box img {
        height: 170px;
    }

    /* WORKING TOGETHER — text first, image below */
    .together .box-two {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .together .box-right {
        order: 1;
        padding: 3.5rem 1.75rem 2rem;
    }

    .together .box-left {
        order: 2;
    }

    .last-call {
        padding: 3rem 1.75rem;
    }

    footer .box-two {
        grid-template-columns: 1fr;
        padding: 3rem 1.75rem;
    }

    footer .box-right {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.25rem;
    }
}


@media (max-width: 640px) {
    main {
        padding: 0;
    }

    .nav-links {
        gap: 0.9rem;
        font-size: 0.875rem;
    }

    .hero-text {
        padding: 2.5rem 1.25rem;
    }

    .hero-text h1 {
        font-size: 1.85rem;
    }

    .approach .box-left {
        padding: 2.5rem 1.25rem;
    }

    .process {
        padding: 2.5rem 1.25rem 3rem;
    }

    .process .grid-holder {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .btn {
        display: block;
        text-align: center;
    }

    .nav-links .btn-small {
        display: inline-block;
    }

    /* WHY TTA */
    .why {
        padding: 2.5rem 1.25rem;
    }

    .why .box-right img,
    .together .box-left img,
    .hero-img img,
    .approach .box-right img {
        height: 200px;
    }

    .why .grid-holder {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .why .cont-box img {
        height: 200px;
    }

    .why .cont-box .icon {
        margin: 1.25rem 0 0.75rem;
    }

    .why .cont-box h2 {
        font-size: 1.3rem;
    }

    .together .box-right {
        padding: 2.5rem 1.25rem 1.75rem;
    }

    .why .box-left h1,
    .together .box-right h1 {
        font-size: 1.6rem;
    }

    /* hard line breaks fight the natural wrap on phones */
    .hero-text h1 br,
    .approach .box-left h1 br,
    .process .section-head h1 br,
    .why .box-left h1 br,
    .together .box-right h1 br {
        display: none;
    }

    footer .box-right {
        grid-template-columns: 1fr 1fr;
    }
}