/* --- HEADER --- */
#header {
    background: #fff;
}

/* --- RESEARCH --- */
#hero-section {
    background: linear-gradient(to bottom, #F7FCFF, #F7FCFF 50%, #FFF8F3);
    line-height: normal;
    padding-top: 90px;
}

.subpage-hero {
    display: flex;
    align-items: flex-start;
    max-width: 1312px;
    margin: 0 auto;
    padding: 60px 100px;
    gap: 60px;
}

.subpage-hero-text {
    flex: 0 0 500px;
    padding-top: 10px;
}

.subpage-hero-text h1 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 45px;
    line-height: 1.2;
    color: var(--navy);
    background: none;
    -webkit-text-fill-color: var(--navy);
    text-transform: uppercase;
    margin: 0;
    padding: 0;
}

.subpage-page-subtitle {
    font-weight: 400;
    font-size: 15px;
    color: var(--navy);
    margin: 6px 0 0;
    text-transform: uppercase;
}

.subpage-hero-desc {
    font-weight: 600;
    font-size: 15px;
    line-height: 2.2;
    color: var(--navy);
    margin-top: 60px;
    max-width: 410px;
}

.subpage-hero-visual {
    flex: 1;
    margin-top: 10px;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 135px;
}

.subpage-hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* --- SOLUTION --- */
#services {
    background: linear-gradient(to bottom, #FFF8F3, #F7FCFF);
}

.research-solution-heading {
    margin-bottom: 10px;
}

.research-solution-heading h2 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: var(--navy);
    line-height: 1.2;
    margin: 0 0 8px;
    padding: 0;
    text-transform: none;
    background: none;
    -webkit-text-fill-color: var(--navy);
}

.research-solution-heading p {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.6;
}

/* --- CONTACT BAND --- */
#download .cb-title {
    color: var(--light-blue);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.7em;
}

.btn-orange-lg.download {
    padding: 15px 40px;
}

/* --- WHY US --- */
#whyus {
    background: #fff;
    padding: 80px 0 60px;
}

.whyus-heading {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: var(--navy);
    line-height: 1.2;
    text-align: center;
    margin-bottom: 50px;
    padding: 0;
}

.whyus-header, .tech-header {
    display: flex;
    align-items: center;
    gap: 40px;
}

.whyus-header-left, .tech-header-left {
    flex: 0 0 auto;
}

.whyus-title, .tech-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: var(--navy);
    margin: 0;
    padding: 0 0 0 18px;
    border-left: 4px solid var(--light-blue);
    line-height: 1.3;
    background: none;
    -webkit-text-fill-color: var(--navy);
    text-transform: none;
}

.whyus-header-right, .tech-header-right {
    flex: 1;
}

.whyus-label {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: var(--navy);
    margin-bottom: 8px;
}

.whyus-desc, .tech-desc {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
}

#whyus .why-cards {
    grid-template-columns: repeat(3, 1fr);
    background: none;
}

#whyus .why-card {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
}

#whyus .why-card .card-title {
    color: var(--navy);
}

#whyus .why-card .card-text {
    color: var(--text-gray);
}

/* --- TECH --- */
#tech {
    background: #fff;
    padding: 20px 0 80px;
}

.tech-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    margin-top: 40px;
}

.tech-block:last-child {
    margin-bottom: 0;
}

.tech-block--reverse {
    flex-direction: row-reverse;
}

.tech-block-text {
    flex: 1;
}

.tech-block-text p {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.8;
    margin: 0;
}

.tech-block-visual {
    flex: 0 0 60%;
    min-width: 0;
}

.tech-block-visual img {
    width: 95%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* --- RESPONSIVE --- */
/* ── 1366px: small desktop / laptop ── */
@media (max-width: 1366px) {
    .subpage-hero {
        padding: 50px 50px 60px;
        gap: 40px;
    }

    .subpage-hero-text h1 {
        font-size: 52px;
    }
}

/* ── 992px+: tablet ── */
@media (max-width: 992px) {
    .subpage-hero {
        flex-direction: column;
        padding: 40px 24px 0;
        gap: 36px;
    }

    .subpage-hero-text {
        flex: none;
    }

    .subpage-hero-desc {
        margin-top: 32px;
    }

    .subpage-hero-visual {
        margin-top: 0;
        width: 100%;
    }

    .subpage-hero-visual img {
        aspect-ratio: 16 / 9;
    }

    .whyus-header {
        gap: 20px;
    }

    #whyus .why-cards {
        grid-template-columns: 1fr;
    }

    .tech-block,
    .tech-block--reverse {
        flex-direction: column;
        gap: 24px;
    }

    .tech-block-text {
        flex: none;
        width: 100%;
    }

    .tech-block-visual {
        width: 100%;
    }
}

/* ── 768px: mobile ── */
@media (max-width: 768px) {
    .subpage-hero-text h1 {
        font-size: 42px;
    }

    .whyus-title {
        font-size: 28px;
    }

    #whyus {
        padding: 50px 0 40px;
    }

    .whyus-header, .tech-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
        margin-bottom: 40px;
    }
}

/* ── 480px: small phone ── */
@media (max-width: 480px) {
    .subpage-hero-text h1 {
        font-size: 32px;
    }
}
