/* =========================================================
   HAHU ADULT TECHNOLOGY
   PUBLIC HOMEPAGE
   ========================================================= */

:root {

    --navy: #173d62;
    --navy-dark: #102f4d;

    --blue: #2f80d1;
    --green: #2f9b62;
    --green-dark: #207949;

    --gold: #e5a51e;
    --orange: #e97c24;

    --purple: #6f4bc2;

    --text: #344955;
    --muted: #6b7e8b;

    --page: #f7f9fb;
    --white: #ffffff;

    --border: #dce5ec;

    --shadow:
        0 10px 26px
        rgba(36, 59, 80, .08);
}


/* =========================================================
   RESET
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    margin: 0;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            var(--page)
        );

    color: var(--text);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 16px;
    line-height: 1.6;

    -webkit-font-smoothing:
        antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}


/* =========================================================
   SHARED WIDTH
   ========================================================= */

.section-container {

    width:
        min(
            1180px,
            calc(100% - 36px)
        );

    margin:
        0 auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {

    position: sticky;
    top: 0;

    z-index: 100;

    background:
        rgba(255,255,255,.97);

    border-bottom:
        1px solid
        rgba(28,68,102,.10);

    backdrop-filter:
        blur(10px);
}

.site-header-inner {

    width:
        min(
            1180px,
            calc(100% - 36px)
        );

    min-height: 68px;

    margin:
        0 auto;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 22px;
}


/* =========================================================
   BRAND
   ========================================================= */

.site-brand {

    display: flex;

    align-items: center;

    gap: 10px;
}

.site-logo {

    width: 43px;
    height: 43px;

    object-fit: contain;
}

.site-brand-text {

    display: flex;

    flex-direction: column;

    line-height: 1.15;
}

.site-brand-text strong {

    color: var(--navy);

    font-size: .98rem;
    font-weight: 900;
}

.site-brand-text small {

    margin-top: 3px;

    color: var(--muted);

    font-size: .65rem;
    font-weight: 700;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.site-nav {

    display: flex;

    align-items: center;

    gap: 24px;
}

.site-nav > a {

    display: inline-flex;

    align-items: center;

    color: #4e6878;

    font-size: .81rem;
    font-weight: 800;

    white-space: nowrap;
}

.site-nav > a:hover,
.site-nav > a.active {

    color: var(--green);
}

.site-nav > a.main-site-link {

    padding-right: 18px;

    border-right:
        1px solid
        #d7e0e6;

    color:
        var(--green-dark);

    font-weight: 900;
}

.site-nav > a.main-site-link:hover {

    color:
        var(--purple);
}


/* =========================================================
   MOBILE MENU BUTTON
   ========================================================= */

.mobile-menu-button {

    display: none;

    width: 42px;
    height: 42px;

    border: 0;

    border-radius: 11px;

    background:
        var(--green);

    color:
        #ffffff;

    font-size:
        1.25rem;

    cursor:
        pointer;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {

    padding:
        36px 18px 34px;

    background:

        radial-gradient(
            circle at 82% 12%,
            rgba(47,155,98,.10),
            transparent 30%
        ),

        radial-gradient(
            circle at 10% 10%,
            rgba(229,165,30,.11),
            transparent 28%
        ),

        linear-gradient(
            180deg,
            #ffffff,
            #f9fbfa
        );
}

.hero-inner {

    width:
        min(
            1180px,
            100%
        );

    margin:
        0 auto;

    display: grid;

    grid-template-columns:
        minmax(0, .82fr)
        minmax(420px, 1.18fr);

    gap: 38px;

    align-items: center;
}

.eyebrow {

    margin-bottom: 7px;

    color: var(--green);

    font-size: .68rem;

    font-weight: 900;

    letter-spacing: .11em;

    text-transform: uppercase;
}

.hero h1 {

    margin-bottom: 12px;

    font-size:
        clamp(
            2.3rem,
            4.2vw,
            3.8rem
        );

    font-weight: 900;

    line-height: 1;

    letter-spacing: -.04em;
}

.hero h1 span {

    display: block;
}

.hero-navy {

    color:
        var(--navy);
}

.hero-purple {

    color:
        var(--orange);
}

.hero-subtitle {

    max-width: 580px;

    margin-bottom: 17px;

    color:
        #5c7280;

    font-size:
        .94rem;

    line-height:
        1.58;
}


/* =========================================================
   HERO ACTIONS
   ========================================================= */

.hero-actions {

    display: flex;

    flex-wrap: wrap;

    gap: 9px;
}

.button {

    min-height: 41px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding:
        8px 14px;

    border-radius:
        10px;

    font-size:
        .78rem;

    font-weight:
        850;

    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

.button:hover {

    transform:
        translateY(-1px);
}

.button-primary {

    background:
        linear-gradient(
            135deg,
            var(--green),
            #227a4b
        );

    color:
        #ffffff;

    box-shadow:
        0 6px 14px
        rgba(47,155,98,.18);
}

.button-secondary {

    border:
        1px solid
        #cad9e3;

    background:
        #ffffff;

    color:
        var(--navy);
}


/* =========================================================
   HERO FEATURES
   ========================================================= */

.hero-features {

    display: flex;

    flex-wrap: wrap;

    gap:
        6px 13px;

    margin-top: 13px;
}

.hero-features span {

    color:
        #587267;

    font-size:
        .68rem;

    font-weight:
        750;
}


/* =========================================================
   HERO IMAGE
   ========================================================= */
.hero-media {
    overflow: hidden;
    border-radius: 22px;
       height: 350px;
}

.hero-media img {
    width: 100%;
    height: 100%;
    display: block;

    object-fit: cover;
    object-position: center top;
}


/* =========================================================
   SKILLS SECTION
   ========================================================= */

.skills-section {

    padding:
        52px 0 56px;
}

.section-heading {

    max-width:
        760px;

    margin:
        0 auto 25px;

    text-align:
        center;
}

.section-heading h2,
.approach-intro h2,
.audience-box h2,
.curriculum-box h2,
.final-cta-box h2 {

    margin-bottom: 8px;

    color:
        var(--navy);

    font-size:
        clamp(
            1.65rem,
            2.8vw,
            2.3rem
        );

    line-height:
        1.15;
}

.section-heading > p:last-child,
.approach-intro > p:last-child,
.audience-box > div > p:last-child,
.curriculum-box > div > p:last-child,
.final-cta-box > div > p:last-child {

    color:
        #667986;
}


/* =========================================================
   SKILLS GRID
   ========================================================= */

.skills-grid {

    display: grid;

    grid-template-columns:
        repeat(
            5,
            minmax(0, 1fr)
        );

    gap:
        13px;
}

.skill-card {

    min-width: 0;

    padding:
        17px;

    border:
        1px solid
        var(--border);

    border-radius:
        16px;

    background:
        #ffffff;

    box-shadow:
        0 5px 14px
        rgba(43,64,80,.045);

    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

.skill-card:hover {

    transform:
        translateY(-3px);

    box-shadow:
        0 10px 22px
        rgba(43,64,80,.08);
}

.skill-icon {

    width: 43px;
    height: 43px;

    display: grid;

    place-items: center;

    margin-bottom:
        10px;

    border-radius:
        13px;

    background:
        #eef7f2;

    color:
        var(--green-dark);

    font-size:
        1.18rem;

    font-weight:
        900;
}

.skill-icon-word {

    background:
        #eaf3ff;

    color:
        #185ca8;
}

.skill-icon-excel {

    background:
        #eaf8ef;

    color:
        #187642;
}

.skill-icon-ppt {

    background:
        #fff0e8;

    color:
        #c6531c;
}

.skill-card h3 {

    margin-bottom:
        5px;

    color:
        var(--navy);

    font-size:
        .96rem;
}

.skill-card p {

    margin: 0;

    color:
        #6a7c88;

    font-size:
        .76rem;

    line-height:
        1.48;
}


/* =========================================================
   LEARNING APPROACH
   ========================================================= */

.approach-section {

    padding:
        54px 0;

    border-top:
        1px solid
        #e4eaee;
}

.approach-layout {

    display: grid;

    grid-template-columns:
        minmax(0, .75fr)
        minmax(0, 1.25fr);

    gap:
        38px;

    align-items:
        center;
}

.approach-intro p {

    margin-bottom:
        0;
}

.approach-grid {

    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap:
        11px;
}

.approach-card {

    position: relative;

    padding:
        18px;

    border:
        1px solid
        var(--border);

    border-radius:
        15px;

    background:
        #ffffff;
}

.step-number {

    display: block;

    margin-bottom:
        6px;

    color:
        var(--green);

    font-size:
        .64rem;

    font-weight:
        900;
}

.approach-card h3 {

    margin-bottom:
        4px;

    color:
        var(--navy);

    font-size:
        .98rem;
}

.approach-card p {

    margin:
        0;

    color:
        #6c7d89;

    font-size:
        .76rem;
}


/* =========================================================
   AUDIENCE
   ========================================================= */

.audience-section {

    padding:
        6px 0 50px;
}

.audience-box {

    padding:
        28px;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(280px, .62fr);

    gap:
        27px;

    align-items:
        center;

    border:
        1px solid
        #d9e4df;

    border-radius:
        20px;

    background:
        linear-gradient(
            135deg,
            #f8fbfa,
            #f4faf6
        );
}

.audience-box p {

    margin-bottom:
        0;
}

.audience-tags {

    display:
        flex;

    flex-wrap:
        wrap;

    justify-content:
        center;

    gap:
        7px;
}

.audience-tags span {

    padding:
        7px 10px;

    border:
        1px solid
        #d7e3dc;

    border-radius:
        999px;

    background:
        #ffffff;

    color:
        #587065;

    font-size:
        .68rem;

    font-weight:
        800;
}


/* =========================================================
   CURRICULUM PLACEHOLDER
   ========================================================= */

.curriculum-section {

    padding:
        0 0 50px;
}

.curriculum-box {

    padding:
        28px;

    display:
        grid;

    grid-template-columns:
        1fr
        auto;

    gap:
        28px;

    align-items:
        center;

    border:
        1px solid
        #dce5e8;

    border-radius:
        20px;

    background:
        linear-gradient(
            135deg,
            #f8fbff,
            #f8fbf7
        );
}

.curriculum-box p {

    margin-bottom:
        0;
}

.curriculum-status {

    min-width:
        190px;

    padding:
        16px 18px;

    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    border-radius:
        15px;

    background:
        #ffffff;

    box-shadow:
        0 5px 14px
        rgba(42,63,83,.06);

    text-align:
        center;
}

.status-label {

    margin-bottom:
        3px;

    color:
        var(--green);

    font-size:
        .61rem;

    font-weight:
        900;

    letter-spacing:
        .09em;
}

.curriculum-status strong {

    color:
        var(--navy);

    font-size:
        .96rem;
}

.curriculum-status small {

    margin-top:
        3px;

    color:
        #7b8993;

    font-size:
        .63rem;
}


/* =========================================================
   FINAL CTA
   ========================================================= */

.final-cta {

    padding:
        0 0 55px;
}

.final-cta-box {

    padding:
        28px;

    display:
        flex;

    align-items:
        center;
    justify-content:
        space-between;

    gap:
        26px;

    border-radius:
        20px;

    background:
        linear-gradient(
            135deg,
            var(--navy),
            #245a47
        );

    color:
        #ffffff;
}

.final-cta-box .eyebrow {

    color:
        #9ee1bc;
}

.final-cta-box h2 {

    color:
        #ffffff;
}

.final-cta-box p {

    margin-bottom:
        0;

    color:
        #d1dfdf;
}

.final-cta-actions {

    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        8px;
}

.button-light {

    background:
        #ffffff;

    color:
        var(--navy);
}

.button-outline-light {

    border:
        1px solid
        rgba(255,255,255,.24);

    background:
        rgba(255,255,255,.08);

    color:
        #ffffff;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {

    border-top:
        1px solid
        #dce4e9;

    background:
        #ffffff;
}

.site-footer-inner {

    width:
        min(
            1180px,
            calc(100% - 36px)
        );

    margin:
        0 auto;

    padding:
        24px 0;

    display:
        grid;

    grid-template-columns:
        1fr
        auto
        auto;

    align-items:
        center;

    gap:
        20px;
}

.footer-brand {

    display:
        flex;

    align-items:
        center;

    gap:
        9px;
}

.footer-brand img {

    width:
        38px;

    height:
        38px;

    object-fit:
        contain;
}

.footer-brand div {

    display:
        flex;

    flex-direction:
        column;
}

.footer-brand strong {

    color:
        var(--navy);

    font-size:
        .86rem;
}

.footer-brand span {

    color:
        #768590;

    font-size:
        .63rem;
}

.footer-links {

    display:
        flex;

    gap:
        14px;
}

.footer-links a {

    color:
        #627784;

    font-size:
        .70rem;

    font-weight:
        750;
}

.copyright {

    margin:
        0;

    color:
        #7c8a94;

    font-size:
        .64rem;

    text-align:
        right;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .skills-grid {

        grid-template-columns:
            repeat(
                2,
                minmax(0,1fr)
            );
    }

}


@media (max-width: 900px) {

    .site-nav {

        display: none;

        position: absolute;

        top: 68px;
        left: 18px;
        right: 18px;

        padding:
            14px;

        flex-direction:
            column;

        align-items:
            stretch;

        gap:
            4px;

        border:
            1px solid
            var(--border);

        border-radius:
            14px;

        background:
            #ffffff;

        box-shadow:
            var(--shadow);
    }

    .site-nav.nav-open {

        display:
            flex;
    }

    .site-nav > a {

        padding:
            10px 12px;

        border-radius:
            9px;
    }

    .site-nav > a.main-site-link {

        padding:
            10px 12px;

        border-right:
            0;

        border-bottom:
            1px solid
            #dbe3e8;
    }

    .mobile-menu-button {

        display:
            inline-grid;

        place-items:
            center;
    }

    .hero-inner {

        grid-template-columns:
            1fr;

        gap:
            26px;
    }

 .hero-media img {
    height: auto;
}

    .approach-layout {

        grid-template-columns:
            1fr;
    }

    .audience-box {

        grid-template-columns:
            1fr;
    }

    .curriculum-box {

        grid-template-columns:
            1fr;
    }

    .curriculum-status {

        align-items:
            flex-start;

        text-align:
            left;
    }

    .final-cta-box {

        flex-direction:
            column;

        align-items:
            flex-start;
    }

    .site-footer-inner {

        grid-template-columns:
            1fr;

        text-align:
            center;
    }

    .footer-brand,
    .footer-links {

        justify-content:
            center;
    }

    .copyright {

        text-align:
            center;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .site-header-inner {

        width:
            calc(100% - 26px);
    }

    .site-brand-text strong {

        font-size:
            .86rem;
    }

    .hero {

        padding:
            32px 15px;
    }

    .hero h1 {

        font-size:
            2.35rem;
    }

    .hero-actions {

        flex-direction:
            column;
    }

    .button {

        width:
            100%;
    }

    .hero-features {

        flex-direction:
            column;

        gap:
            4px;
    }

    .hero-media img {

        aspect-ratio:
            16 / 10;
    }

    .skills-section {

        padding:
            42px 0;
    }

    .skills-grid {

        grid-template-columns:
            1fr;
    }

    .approach-section {

        padding:
            42px 0;
    }

    .approach-grid {

        grid-template-columns:
            1fr;
    }

    .audience-box,
    .curriculum-box,
    .final-cta-box {

        padding:
            21px;
    }

    .audience-tags {

        justify-content:
            flex-start;
    }

    .final-cta-actions {

        width:
            100%;

        flex-direction:
            column;
    }

}


/* =========================================================
   COMPACT DESKTOP VIEW
   ========================================================= */

@media (min-width: 1001px) {

    .site-header-inner {

        min-height:
            60px;
    }

    .site-logo {

        width:
            39px;

        height:
            39px;
    }

    .hero {

        padding:
            26px 18px 24px;
    }

    .hero h1 {

        font-size:
            clamp(
                2.1rem,
                3.4vw,
                3.2rem
            );
    }

    .hero-media img {

        aspect-ratio:
            16 / 8.3;
    }

    .skills-section {

        padding-top:
            34px;
    }

}