/* =========================================================
   Ensol Systems Australia — Stylesheet
   Brand-aligned: official palette, NuberNext + D-DIN fonts
   ========================================================= */

/* ---------- Brand fonts ---------- */
@font-face {
    font-family: 'NuberNext';
    src: url('assets/fonts/nubernext/NuberNext-UltraLight.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'NuberNext';
    src: url('assets/fonts/nubernext/NuberNext-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'NuberNext';
    src: url('assets/fonts/nubernext/NuberNext-DemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'NuberNext';
    src: url('assets/fonts/nubernext/NuberNext-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'D-DIN';
    src: url('assets/fonts/ddin/D-DIN.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'D-DIN';
    src: url('assets/fonts/ddin/D-DIN-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'D-DIN';
    src: url('assets/fonts/ddin/D-DIN-Italic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

:root {
    /* Official brand palette (per Brand Guidelines V3) */
    --blue:       #238DC1;   /* Pantone 7689C — R35 G141 B193 */
    --blue-deep:  #1a6f99;
    --blue-dark:  #0e3f5c;
    --blue-night: #0a2a3d;

    --green:      #6ABF4B;   /* Pantone 360C — R106 G191 B75 */
    --green-deep: #4ca12f;
    --green-soft: #e9f6e2;

    --grey:       #636466;   /* R99 G100 B102 */
    --ink-900:    #1d2a36;
    --ink-700:    #3b4855;
    --ink-500:    #6b7785;
    --ink-300:    #aeb6bf;
    --ink-100:    #e7ecf0;

    --bg:         #ffffff;
    --bg-soft:    #f5f8fa;

    --radius-sm:  8px;
    --radius:     14px;
    --radius-lg:  22px;

    --shadow-sm:  0 2px 6px rgba(10, 30, 55, 0.06);
    --shadow:     0 12px 32px rgba(10, 30, 55, 0.08);
    --shadow-lg:  0 24px 60px rgba(10, 30, 55, 0.14);

    --maxw: 1180px;
    --ease: cubic-bezier(.22,.61,.36,1);

    --font-display: 'NuberNext', 'Helvetica Neue', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    --font-body:    'D-DIN', 'Helvetica Neue', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink-700);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--blue); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--blue-deep); }

.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 28px;
}

.section { padding: 110px 0; position: relative; }

/* Headings use NuberNext — light weights for the brand's airy, modern feel */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink-900); margin: 0; }

.section-title {
    font-weight: 200;
    font-size: clamp(2.1rem, 4vw, 3.2rem);
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin: 12px 0 18px;
}
.section-title strong { font-weight: 700; color: var(--ink-900); }

.section-title-light { color: #fff; }
.section-title-light strong { color: #fff; }

.section-head {
    max-width: 760px;
    margin: 0 auto 64px;
    text-align: center;
}

.section-intro {
    font-size: 1.1rem;
    color: var(--ink-500);
    margin: 0;
}
.section-intro-light { color: rgba(255,255,255,.82); }

.eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--green);
    padding: 6px 14px;
    border: 1px solid rgba(106, 191, 75, 0.4);
    border-radius: 999px;
    background: rgba(106, 191, 75, 0.08);
}
.eyebrow-blue {
    color: var(--blue);
    border-color: rgba(35, 141, 193, 0.35);
    background: rgba(35, 141, 193, 0.08);
}

.lead { font-size: 1.12rem; color: var(--ink-700); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1;
    padding: 14px 22px;
    border-radius: 999px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
    white-space: nowrap;
    letter-spacing: 0.02em;
}
.btn-lg { padding: 17px 28px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
    background: var(--green);
    color: #fff;
    box-shadow: 0 8px 20px rgba(76, 161, 47, 0.28);
}
.btn-primary:hover {
    background: var(--green-deep);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(76, 161, 47, 0.36);
}

.btn-blue {
    background: var(--blue);
    color: #fff;
}
.btn-blue:hover {
    background: var(--blue-deep);
    color: #fff;
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.55);
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-color: #fff;
}

.btn-cta { padding: 11px 20px; font-size: 0.9rem; }

.btn i { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    background: rgba(255,255,255,0.80);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: background .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}

.site-header.scrolled {
    background: rgba(255,255,255,0.96);
    border-bottom-color: var(--ink-100);
    box-shadow: var(--shadow-sm);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 78px;
    gap: 24px;
}

.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 38px; width: auto; }

.primary-nav ul {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.primary-nav a {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    color: var(--ink-900);
    position: relative;
}
.primary-nav a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -8px;
    height: 2px;
    background: var(--green);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--ease);
}
.primary-nav a:hover { color: var(--blue); }
.primary-nav a:hover::after { transform: scaleX(1); }

.menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    color: var(--ink-900);
    padding: 8px;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 14px 28px 22px;
    background: #fff;
    border-top: 1px solid var(--ink-100);
}
.mobile-nav a {
    padding: 14px 6px;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--ink-900);
    border-bottom: 1px solid var(--ink-100);
}
.mobile-nav a.btn {
    margin-top: 10px;
    border-bottom: 0;
    color: #fff;
}
.mobile-nav.open { display: flex; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    color: #fff;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 140px 0 110px;
    isolation: isolate;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('assets/images/solar-energy.jpg');
    background-size: cover;
    background-position: center;
    z-index: -2;
    transform: scale(1.05);
    animation: heroZoom 18s ease-out forwards;
}

@keyframes heroZoom {
    from { transform: scale(1.12); }
    to   { transform: scale(1.02); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(10, 42, 61, 0.88) 0%, rgba(35, 141, 193, 0.70) 45%, rgba(106, 191, 75, 0.45) 100%);
    z-index: -1;
}

.hero-inner { position: relative; max-width: 880px; }

.hero .eyebrow {
    background: rgba(255,255,255,0.10);
    color: #d8f0c0;
    border-color: rgba(255,255,255,0.28);
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 200;
    font-size: clamp(2.6rem, 6vw, 4.8rem);
    line-height: 1.02;
    letter-spacing: -0.02em;
    margin: 20px 0 22px;
    color: #fff;
}
.hero-title strong {
    font-weight: 700;
    background: linear-gradient(90deg, #b6e57e 0%, #6ABF4B 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-sub {
    font-family: var(--font-body);
    font-size: 1.18rem;
    max-width: 640px;
    color: rgba(255,255,255,0.88);
    margin: 0 0 36px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 64px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    max-width: 640px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.18);
}
.stat-num {
    font-family: var(--font-display);
    font-weight: 200;
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    color: #fff;
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}
.stat-num strong { font-weight: 700; }
.stat-label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.74);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.8);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.45);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    animation: bob 2.4s ease-in-out infinite;
}
.scroll-cue:hover { color: #fff; border-color: #fff; }
@keyframes bob {
    0%,100% { transform: translate(-50%, 0); }
    50%     { transform: translate(-50%, 6px); }
}

/* ---------- Brand wave divider ---------- */
.wave-divider {
    height: 60px;
    width: 100%;
    background-image: url('assets/backgrounds/wave-bluegreen.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ---------- About ---------- */
.about { background: var(--bg); }

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-points {
    list-style: none;
    padding: 0;
    margin: 32px 0 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 24px;
}
.about-points li {
    display: flex;
    gap: 10px;
    align-items: center;
    font-weight: 700;
    color: var(--ink-900);
    font-family: var(--font-body);
}
.about-points li i {
    color: var(--green);
    width: 20px; height: 20px;
    flex-shrink: 0;
}

.about-visual { position: relative; }

.about-card {
    position: relative;
    background:
        linear-gradient(160deg, rgba(10, 42, 61, 0.92) 0%, rgba(14, 63, 92, 0.92) 60%, rgba(76, 161, 47, 0.85) 110%),
        url('assets/images/solar-blurred.png') center/cover;
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.about-card::before {
    content: '';
    position: absolute;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(106,191,75,0.40) 0%, transparent 70%);
    top: -120px; right: -100px;
    pointer-events: none;
}
.about-card-icon {
    width: 52px; height: 52px;
    color: var(--green);
    margin-bottom: 22px;
}
.about-card h3 {
    font-family: var(--font-display);
    font-weight: 200;
    font-size: 1.7rem;
    margin: 0 0 12px;
    line-height: 1.2;
    color: #fff;
}
.about-card h3 strong { font-weight: 700; }
.about-card p {
    color: rgba(255,255,255,0.82);
    margin: 0;
}

/* ---------- Services ---------- */
.services { background: var(--bg-soft); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.service-card {
    background: #fff;
    border: 1px solid var(--ink-100);
    border-radius: var(--radius);
    padding: 38px 30px;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
    position: relative;
    overflow: hidden;
}
.service-card::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    height: 3px; width: 0;
    background: linear-gradient(90deg, var(--green), var(--blue));
    transition: width .4s var(--ease);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: transparent;
}
.service-card:hover::after { width: 100%; }

.service-icon {
    width: 78px; height: 78px;
    border-radius: 18px;
    background: rgba(35, 141, 193, 0.10);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: background .3s var(--ease);
    position: relative;
}
.service-icon img {
    width: 46px; height: 46px;
    object-fit: contain;
    transition: opacity .3s var(--ease);
}
.service-icon img.icon-hover {
    position: absolute;
    inset: 0;
    margin: auto;
    opacity: 0;
}
.service-card:hover .service-icon {
    background: var(--blue);
}
.service-card:hover .service-icon img.icon-default { opacity: 0; }
.service-card:hover .service-icon img.icon-hover { opacity: 1; }

.service-card h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--ink-900);
    margin: 0 0 10px;
    letter-spacing: -0.005em;
}
.service-card p {
    margin: 0;
    color: var(--ink-500);
    font-size: 0.97rem;
}

/* ---------- Our Companies ---------- */
.partners { background: var(--bg-soft); padding-top: 0; }

.companies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.company-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    aspect-ratio: 1610 / 542;
    text-decoration: none;
    isolation: isolate;
}
.company-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter .35s var(--ease), transform .5s var(--ease);
}
.company-overlay {
    position: absolute;
    inset: 0;
    background: rgba(60, 64, 72, 0.94);
    color: #fff;
    padding: 32px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 14px;
    opacity: 0;
    transition: opacity .3s var(--ease);
    pointer-events: none;
}
.company-overlay h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0;
    letter-spacing: 0.01em;
    color: #fff;
}
.company-overlay p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.92);
}
.company-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 6px;
}
.company-link i {
    width: 16px;
    height: 16px;
}
@media (hover: hover) and (pointer: fine) {
    .company-card:hover .company-overlay,
    .company-card:focus-visible .company-overlay {
        opacity: 1;
    }
    .company-card:hover img,
    .company-card:focus-visible img {
        filter: grayscale(0.6) brightness(0.7);
    }
}
.company-card:focus-visible {
    outline: 2px solid var(--brand-blue, #2aa3e0);
    outline-offset: 3px;
}

/* ---------- Why Ensol ---------- */
.why {
    background: linear-gradient(160deg, #0a2a3d 0%, #0e3f5c 50%, #1a5a3a 110%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.why::before {
    content: '';
    position: absolute;
    width: 700px; height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(106,191,75,0.18) 0%, transparent 70%);
    top: -250px; right: -250px;
    pointer-events: none;
}

.why .eyebrow {
    background: rgba(255,255,255,0.08);
    color: #d8f0c0;
    border-color: rgba(255,255,255,0.22);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    position: relative;
}

.why-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    padding: 34px 26px;
    backdrop-filter: blur(6px);
    transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}
.why-card:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.07);
    border-color: rgba(106,191,75,0.5);
}

.why-icon {
    width: 52px; height: 52px;
    border-radius: 12px;
    background: rgba(106,191,75,0.18);
    color: #b6e57e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.why-icon i { width: 24px; height: 24px; }

.why-card h3 {
    font-family: var(--font-display);
    font-weight: 700;
    color: #fff;
    font-size: 1.12rem;
    margin: 0 0 8px;
    letter-spacing: 0.005em;
}
.why-card p {
    margin: 0;
    color: rgba(255,255,255,0.72);
    font-size: 0.95rem;
}

/* ---------- Contact ---------- */
.contact {
    background:
        linear-gradient(rgba(255,255,255,0.92), rgba(255,255,255,0.96)),
        url('assets/images/solar-blurred.png') right center / cover no-repeat;
    background-color: var(--bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: start;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 32px 0 0;
    display: grid;
    gap: 22px;
}
.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.contact-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: rgba(35, 141, 193, 0.10);
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-icon i { width: 20px; height: 20px; }
.contact-label {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--ink-500);
    margin-bottom: 2px;
}
.contact-list a { color: var(--ink-900); font-weight: 700; }
.contact-list a:hover { color: var(--blue); }
.contact-list address {
    font-style: normal;
    color: var(--ink-900);
    font-weight: 700;
}

.contact-form {
    background: #fff;
    border: 1px solid var(--ink-100);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.field { margin-bottom: 20px; }
.field label {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.84rem;
    color: var(--ink-900);
    margin-bottom: 8px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.field input,
.field textarea {
    width: 100%;
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 14px 16px;
    border: 1.5px solid var(--ink-100);
    border-radius: var(--radius-sm);
    background: var(--bg-soft);
    color: var(--ink-900);
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--blue);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(35,141,193,0.12);
}
.field.invalid input,
.field.invalid textarea {
    border-color: #dc2626;
    box-shadow: 0 0 0 4px rgba(220,38,38,0.10);
}

.field-error {
    display: block;
    margin-top: 6px;
    font-size: 0.82rem;
    color: #dc2626;
    min-height: 1.1em;
}

/* ---------- Footer ---------- */
.site-footer {
    background: #0a2a3d;
    color: rgba(255,255,255,0.7);
    padding-top: 70px;
    position: relative;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue) 0%, var(--green) 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
}

.footer-logo {
    height: 42px;
    width: auto;
    margin-bottom: 22px;
}
.footer-brand p {
    max-width: 340px;
    margin: 0;
    font-size: 0.95rem;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-weight: 700;
    color: #fff;
    font-size: 0.95rem;
    margin: 0 0 16px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
    font-size: 0.95rem;
}
.footer-col a {
    color: rgba(255,255,255,0.72);
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
    font-size: 0.85rem;
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.footer-tagline {
    color: var(--green);
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

/* ---------- Reveal animation ---------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero-bg { animation: none; }
    .scroll-cue { animation: none; }
    html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .about-grid { grid-template-columns: 1fr; gap: 50px; }
    .contact-grid { grid-template-columns: 1fr; gap: 50px; }
    .companies-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .section { padding: 90px 0; }
}

@media (max-width: 760px) {
    .primary-nav,
    .nav-wrap > .btn-cta { display: none; }
    .menu-toggle { display: inline-flex; }

    .hero { padding: 130px 0 90px; min-height: auto; }
    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-cta .btn { width: 100%; }
    .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
    .stat-num { font-size: 1.5rem; }

    .services-grid,
    .why-grid { grid-template-columns: 1fr; }
    .companies-grid { grid-template-columns: 1fr; }

    .about-points { grid-template-columns: 1fr; }

    .contact-form { padding: 28px; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom .container { justify-content: center; text-align: center; }

    .section { padding: 70px 0; }
    .section-head { margin-bottom: 44px; }

    .wave-divider { height: 40px; }
}

@media (max-width: 420px) {
    .container { padding: 0 20px; }
    .hero-stats { grid-template-columns: 1fr; }
}
