/* =====================================================================
   PREMIERE SOLAR & BATTERIES — Main Stylesheet
   Font: Onest · Developed by Melon Software Solutions
   ---------------------------------------------------------------------
   1.  Design tokens
   2.  Base / reset
   3.  Layout helpers & buttons
   4.  Header & navigation
   5.  Hero (solar array visual)
   6.  Solution strip
   7.  About
   8.  Solar solutions
   9.  Products
   10. Batteries
   11. Agriculture
   12. Water heater
   13. Projects & lightbox
   14. Why us
   15. Process timeline
   16. Partners
   17. Final CTA
   18. Contact & form
   19. Footer
   20. Floating buttons
   21. Reveal animation
   22. Responsive
   23. Reduced motion
   ===================================================================== */

/* ===================== 1. DESIGN TOKENS ===================== */
:root {
    --primary-dark: #071827;
    --secondary-dark: #0D2638;
    --panel-blue: #12344D;
    --charcoal: #1C242B;
    --solar-yellow: #F5B82E;
    --solar-gold: #FFC857;
    --white: #FFFFFF;
    --light-bg: #F5F7F8;
    --leaf: #3E9E6C;

    --ink: #0B1E2D;
    --muted: #55677A;
    --muted-light: #A9B8C6;
    --line: rgba(7, 24, 39, 0.10);
    --line-light: rgba(255, 255, 255, 0.12);

    --font-display: "Onest", "Segoe UI", Arial, sans-serif;
    --font-body: "Onest", "Segoe UI", Arial, sans-serif;

    /* type scale (≈ 1.25 ratio, fluid) */
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-md: 1.125rem;
    --fs-lg: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
    --fs-h3: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
    --fs-h2: clamp(1.9rem, 1.4rem + 2vw, 3.1rem);
    --fs-h1: clamp(2.6rem, 1.6rem + 4.6vw, 5.4rem);

    /* radius hierarchy: media > cards > controls */
    --r-media: 28px;
    --r-card: 18px;
    --r-ctrl: 12px;

    --container: 1240px;
    --gutter: clamp(1.1rem, 4vw, 2rem);
    --section-y: clamp(4.5rem, 9vw, 7.5rem);
    /* logo heights come from Admin → Logos (inline <style> in index.php) */
    --logo-header: 44px;
    --logo-footer: 44px;
    --header-h: max(76px, calc(var(--logo-header) + 24px));

    --shadow-card: 0 1px 0 rgba(7, 24, 39, 0.04), 0 18px 40px -24px rgba(7, 24, 39, 0.35);
    --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
}

/* ===================== 2. BASE ===================== */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 8px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: 1.65;
    color: var(--ink);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
address { font-style: normal; }

h1, h2, h3 {
    font-family: var(--font-display);
    line-height: 1.08;
    letter-spacing: -0.015em;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
    width: 1.25em;
    height: 1.25em;
    flex-shrink: 0;
    fill: none;
}

:focus-visible {
    outline: 3px solid var(--solar-gold);
    outline-offset: 3px;
    border-radius: 6px;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1000;
    padding: 0.7rem 1.1rem;
    background: var(--solar-yellow);
    color: var(--primary-dark);
    font-weight: 700;
    border-radius: var(--r-ctrl);
    transform: translateY(-160%);
    transition: transform 0.2s;
}
.skip-link:focus { transform: none; }

/* ===================== 3. LAYOUT HELPERS & BUTTONS ===================== */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section {
    position: relative;
    padding-block: var(--section-y);
}

.section--light { background: var(--light-bg); }
.section--dark {
    background: var(--primary-dark);
    color: var(--white);
    overflow: hidden;
}

/* curved transition: a dark section rises over the one before it */
.section--dark,
.agri,
.cta-band {
    border-radius: var(--r-media) var(--r-media) 0 0;
    margin-top: calc(var(--r-media) * -1);
}

/* subtle engineering grid used behind some dark sections */
.grid-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
}

.section-head {
    position: relative;
    max-width: 44rem;
    margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}
.section-head p {
    margin-top: 1rem;
    font-size: var(--fs-md);
    color: var(--muted);
    max-width: 36rem;
}
.section--dark .section-head p { color: var(--muted-light); }

.section-head--split {
    max-width: none;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
}
.section-head--split p { margin-top: 0; max-width: 26rem; }

.section-title {
    font-size: var(--fs-h2);
    font-weight: 780;
    max-width: 18ch;
}

.lead {
    font-size: var(--fs-lg);
    line-height: 1.55;
    color: var(--ink);
    margin-bottom: 1rem;
}

.small-note { font-size: var(--fs-sm); color: var(--muted); }

.text-link {
    color: var(--ink);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--solar-yellow);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

/* Buttons */
.btn {
    --btn-bg: transparent;
    --btn-fg: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 48px;
    padding: 0.75rem 1.5rem;
    border: 1.5px solid transparent;
    border-radius: 999px;
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-weight: 700;
    font-size: 0.975rem;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s;
}
.btn .icon { width: 1.2em; height: 1.2em; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--sm { min-height: 42px; padding: 0.55rem 1.15rem; font-size: 0.9rem; }
.btn--lg { min-height: 56px; padding: 0.9rem 1.9rem; font-size: 1.02rem; }
.btn--block { width: 100%; }

.btn--solar {
    --btn-bg: var(--solar-yellow);
    --btn-fg: var(--primary-dark);
    box-shadow: 0 10px 30px -12px rgba(245, 184, 46, 0.75);
}
/* light sweep on hover — the sun catching glass */
.btn--solar::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.7s var(--ease);
}
.btn--solar:hover { --btn-bg: var(--solar-gold); box-shadow: 0 16px 36px -12px rgba(245, 184, 46, 0.9); }
.btn--solar:hover::after { transform: translateX(120%); }

.btn--glass {
    --btn-bg: rgba(255, 255, 255, 0.08);
    --btn-fg: var(--white);
    border-color: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.btn--glass:hover { --btn-bg: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.5); }

.btn--dark {
    --btn-bg: var(--primary-dark);
    --btn-fg: var(--white);
}
.btn--dark:hover { --btn-bg: var(--secondary-dark); box-shadow: 0 14px 30px -14px rgba(7, 24, 39, 0.8); }

.btn--outline-light {
    --btn-fg: var(--white);
    border-color: rgba(255, 255, 255, 0.45);
}
.btn--outline-light:hover { border-color: var(--solar-gold); --btn-fg: var(--solar-gold); }

.check-list { display: grid; gap: 0.6rem; margin: 1.5rem 0 2rem; }
.check-list li {
    position: relative;
    padding-left: 1.9rem;
}
.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.3em;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 50%;
    background: var(--solar-yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23071827' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.check-list--dark li::before { background-color: var(--solar-yellow); }

.center-cta { text-align: center; margin-top: 3rem; }

/* Fallback when an image file is missing (added by JS) */
.img-missing {
    background:
        radial-gradient(circle at 70% 25%, rgba(245, 184, 46, 0.35), transparent 45%),
        linear-gradient(135deg, var(--secondary-dark), var(--panel-blue));
}
.img-missing img { opacity: 0; }

/* ===================== 4. HEADER & NAVIGATION ===================== */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    height: var(--header-h);
    color: var(--white);
    isolation: isolate;
    transition: height 0.35s;
}
/* The solid/blurred background lives on a pseudo-element so that
   backdrop-filter never traps the fixed mobile menu inside the header */
.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(7, 24, 39, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 var(--line-light), 0 10px 30px -18px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.35s;
}
.site-header.is-scrolled { --header-h: max(68px, calc(var(--logo-header) * 0.85 + 18px)); }
.site-header.is-scrolled::before { opacity: 1; }

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    flex-shrink: 0;
}
.brand-logo {
    width: auto;
    object-fit: contain;
    transition: height 0.35s var(--ease);
}
.site-header .brand-logo {
    height: var(--logo-header);
    max-width: min(26vw, calc(var(--logo-header) * 5));
}
.site-header.is-scrolled .brand-logo { height: calc(var(--logo-header) * 0.85); }
.site-footer .brand-logo {
    height: var(--logo-footer);
    max-width: min(80vw, calc(var(--logo-footer) * 5));
}
.brand-text {
    display: flex;
    flex-direction: column;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.08rem;
    line-height: 1.05;
    letter-spacing: -0.01em;
}
.brand-text small {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    color: var(--solar-gold);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.nav-link {
    position: relative;
    display: block;
    padding: 0.5rem 0.8rem;
    font-size: 0.94rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
    transition: color 0.2s;
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 0.8rem;
    right: 0.8rem;
    bottom: 0.15rem;
    height: 2px;
    background: var(--solar-yellow);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
}
.nav-link:hover,
.nav-link.is-active { color: var(--white); }
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }

.nav-mobile-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line-light);
    border-radius: var(--r-ctrl);
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
    position: relative;
}
.menu-toggle span {
    position: absolute;
    left: 12px;
    right: 12px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.2s, top 0.3s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 29px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ===================== 5. HERO ===================== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + 3rem) 0 7rem;
    color: var(--white);
    background: var(--primary-dark);
    overflow: hidden;
    isolation: isolate;
}

/* Hero image is set inline from Admin → Section Photos */
.hero-bg {
    position: absolute;
    inset: -4%;
    z-index: -3;
    background-color: var(--primary-dark);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    animation: heroDrift 28s ease-in-out infinite alternate;
}
@keyframes heroDrift {
    from { transform: scale(1) translate3d(0, 0, 0); }
    to   { transform: scale(1.06) translate3d(-1.5%, -1%, 0); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(7, 24, 39, 0.96) 0%, rgba(7, 24, 39, 0.82) 42%, rgba(7, 24, 39, 0.35) 100%),
        linear-gradient(0deg, rgba(7, 24, 39, 1) 0%, rgba(7, 24, 39, 0) 30%);
}

/* the rising sun behind the array */
.hero-sun {
    position: absolute;
    z-index: -1;
    width: min(62vw, 860px);
    aspect-ratio: 1;
    right: -12vw;
    top: -18%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 200, 87, 0.55) 0%, rgba(245, 184, 46, 0.22) 30%, rgba(245, 184, 46, 0.06) 55%, transparent 70%);
    animation: sunBreath 9s ease-in-out infinite;
}
@keyframes sunBreath {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.06); opacity: 1; }
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}
.hero-particles span {
    position: absolute;
    bottom: -10px;
    width: var(--s, 3px);
    height: var(--s, 3px);
    border-radius: 50%;
    background: var(--solar-gold);
    box-shadow: 0 0 10px 2px rgba(255, 200, 87, 0.6);
    opacity: 0;
    animation: rise var(--t, 14s) linear var(--delay, 0s) infinite;
}
@keyframes rise {
    0% { transform: translate3d(0, 0, 0); opacity: 0; }
    10% { opacity: 0.8; }
    80% { opacity: 0.5; }
    100% { transform: translate3d(var(--x, 20px), -90vh, 0); opacity: 0; }
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.4rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--solar-gold);
}
.hero-kicker::before {
    content: "";
    width: 34px;
    height: 2px;
    background: var(--solar-gold);
    border-radius: 2px;
}

.hero-title {
    font-size: 70px;
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.03em;
    max-width: 12ch;
    background: linear-gradient(180deg, #FFFFFF 55%, #FFE3A3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-text {
    margin-top: 1.5rem;
    max-width: 34rem;
    font-size: var(--fs-lg);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.8);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2.25rem;
}

.hero-trust {
    margin-top: 2rem;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.62);
}

/* text reveal on load */
.reveal-hero {
    opacity: 0;
    transform: translateY(22px);
    animation: heroIn 0.9s var(--ease) forwards;
    animation-delay: calc(0.15s + var(--d, 0) * 0.12s);
}
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* CSS solar array */
.hero-visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 420px;
    animation: heroIn 1.2s var(--ease) 0.5s both;
}
.array-stage {
    perspective: 1400px;
    width: min(100%, 520px);
    animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}
.array {
    position: relative;
    aspect-ratio: 1.55;
    padding: 10px;
    border-radius: 10px;
    background: linear-gradient(145deg, #C9D3DC, #7E8C99 60%, #5E6B77);
    transform: rotateX(52deg) rotateZ(-24deg) rotateY(6deg);
    transform-style: preserve-3d;
    box-shadow: 0 60px 80px -30px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.7);
    overflow: hidden;
}
.array-cells {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 4px;
    height: 100%;
}
.array-cells i {
    display: block;
    border-radius: 2px;
    background:
        linear-gradient(90deg, transparent 48%, rgba(180, 205, 230, 0.35) 49%, rgba(180, 205, 230, 0.35) 51%, transparent 52%),
        linear-gradient(0deg, transparent 48%, rgba(180, 205, 230, 0.2) 49%, rgba(180, 205, 230, 0.2) 51%, transparent 52%),
        linear-gradient(160deg, #1C4A73 0%, #0E2C49 55%, #081D33 100%);
}
.array-sweep {
    position: absolute;
    inset: -20%;
    background: linear-gradient(105deg, transparent 38%, rgba(255, 236, 190, 0.08) 44%, rgba(255, 236, 190, 0.55) 50%, rgba(255, 236, 190, 0.08) 56%, transparent 62%);
    animation: sweep 6.5s ease-in-out infinite;
    mix-blend-mode: screen;
}
@keyframes sweep {
    0% { transform: translateX(-60%); }
    55%, 100% { transform: translateX(60%); }
}
.array-shadow {
    width: 70%;
    height: 40px;
    margin: 30px auto 0;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.55), transparent 70%);
    filter: blur(6px);
}

.energy-readout {
    position: absolute;
    left: 6%;
    bottom: 8%;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 999px;
    background: rgba(13, 38, 56, 0.6);
    border: 1px solid var(--line-light);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.readout-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--leaf);
    box-shadow: 0 0 0 0 rgba(62, 158, 108, 0.7);
    animation: pulse 2.2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(62, 158, 108, 0.6); }
    70% { box-shadow: 0 0 0 10px rgba(62, 158, 108, 0); }
    100% { box-shadow: 0 0 0 0 rgba(62, 158, 108, 0); }
}

.hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 5.5rem;
    width: 26px;
    height: 42px;
    margin-left: -13px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 14px;
}
.hero-scroll span {
    position: absolute;
    left: 50%;
    top: 8px;
    width: 4px;
    height: 8px;
    margin-left: -2px;
    border-radius: 2px;
    background: var(--solar-gold);
    animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(14px); opacity: 0; }
}

/* ===================== 6. SOLUTION STRIP ===================== */
.strip {
    position: relative;
    z-index: 2;
    margin-top: -4rem;
    padding-bottom: calc(var(--r-media) + 2.5rem);
    background: linear-gradient(180deg, transparent 4rem, var(--light-bg) 4rem);
}
.strip-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    background: var(--white);
    border-radius: var(--r-card);
    box-shadow: 0 30px 60px -30px rgba(7, 24, 39, 0.45);
    overflow: hidden;
}
.strip-item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1.6rem 1.4rem;
    border-right: 1px solid var(--line);
    transition: background-color 0.3s;
}
.strip-item:last-child { border-right: 0; }
.strip-item:hover { background: #FFFBF0; }
.strip-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: var(--r-ctrl);
    background: rgba(245, 184, 46, 0.14);
    color: #B7800B;
    flex-shrink: 0;
}
.strip-icon--green { background: rgba(62, 158, 108, 0.14); color: var(--leaf); }
.strip-title {
    font-size: 1.02rem;
    font-weight: 750;
    margin-bottom: 0.2rem;
}
.strip-item p { font-size: 0.9rem; color: var(--muted); line-height: 1.45; }

/* ===================== 7. ABOUT ===================== */
.about { padding-top: 1rem; }
.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(2.5rem, 6vw, 5.5rem);
    align-items: center;
}
.about-media {
    position: relative;
    border-radius: var(--r-media);
    overflow: hidden;
    aspect-ratio: 4 / 4.8;
    background: var(--secondary-dark);
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
    position: absolute;
    left: 1.2rem;
    bottom: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.1rem;
    border-radius: 999px;
    background: rgba(7, 24, 39, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
}
.about-badge .icon { color: var(--solar-gold); }

.about-copy .section-title { margin-bottom: 1.5rem; }
.about-copy > p:not(.lead) { color: var(--muted); max-width: 38rem; }
.about-subtitle {
    margin: 2rem 0 0.9rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0;
}
.service-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2.25rem;
}
.service-chips li {
    padding: 0.45rem 0.95rem;
    font-size: 0.9rem;
    font-weight: 600;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
}

/* ===================== 8. SOLAR SOLUTIONS ===================== */
.solutions {
    background:
        radial-gradient(ellipse 60% 50% at 85% 0%, rgba(245, 184, 46, 0.12), transparent 60%),
        var(--primary-dark);
}
.solution-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.25rem, 3vw, 2rem);
}
.solution-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: var(--r-media);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--line-light);
    overflow: hidden;
    transition: transform 0.45s var(--ease), border-color 0.45s;
}
/* animated gradient border on hover */
.solution-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: conic-gradient(from var(--angle, 0deg), transparent 0 60%, var(--solar-gold) 75%, transparent 90%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
    z-index: 2;
}
.solution-card:hover { transform: translateY(-6px); }
.solution-card:hover::before { opacity: 1; animation: spinBorder 4s linear infinite; }
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spinBorder { to { --angle: 360deg; } }

.solution-media {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--secondary-dark);
}
.solution-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}
.solution-card:hover .solution-media img { transform: scale(1.05); }

.solution-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: clamp(1.5rem, 3vw, 2.4rem);
}
.solution-body > p { color: var(--muted-light); }
.solution-body .btn { align-self: flex-start; margin-top: auto; }
.solution-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-bottom: 1rem;
}
.solution-top h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 780; }
.solution-range {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.25rem, 1rem + 0.9vw, 1.7rem);
    color: var(--solar-gold);
    white-space: nowrap;
}
.solution-card .check-list li { color: rgba(255, 255, 255, 0.88); }

/* ===================== 9. PRODUCTS ===================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 1.25rem;
}
.product-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    overflow: hidden;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
    border-color: rgba(245, 184, 46, 0.55);
}
.product-media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--secondary-dark);
}
.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.product-card:hover .product-media img { transform: scale(1.06); }
.product-body {
    position: relative;
    padding: 1.9rem 1.4rem 1.5rem;
}
.product-icon {
    position: absolute;
    top: -24px;
    left: 1.4rem;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--primary-dark);
    color: var(--solar-gold);
    border: 3px solid var(--white);
    transition: background-color 0.3s, color 0.3s;
}
.product-card:hover .product-icon { background: var(--solar-yellow); color: var(--primary-dark); }
.product-body h3 { font-size: var(--fs-h3); font-weight: 750; margin-bottom: 0.45rem; }
.product-body p { font-size: 0.94rem; color: var(--muted); line-height: 1.55; }

.product-card--cta {
    justify-content: center;
    background: var(--primary-dark);
    color: var(--white);
    border-color: transparent;
    background-image: radial-gradient(circle at 100% 0%, rgba(245, 184, 46, 0.25), transparent 55%);
}
.product-card--cta .product-body { padding: 2rem 1.6rem; }
.product-card--cta p { color: var(--muted-light); margin-bottom: 1.5rem; }

/* ===================== 10. BATTERIES ===================== */
.batteries {
    background:
        radial-gradient(ellipse 50% 40% at 15% 100%, rgba(62, 158, 108, 0.14), transparent 60%),
        radial-gradient(ellipse 50% 40% at 90% 10%, rgba(245, 184, 46, 0.12), transparent 60%),
        var(--charcoal);
}
.battery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}
.battery-card {
    position: relative;
    padding: 1.2rem 1.2rem 1.6rem;
    border-radius: var(--r-card);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line-light);
    transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.battery-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 200, 87, 0.5);
    box-shadow: 0 0 0 1px rgba(255, 200, 87, 0.15), 0 20px 50px -20px rgba(245, 184, 46, 0.45);
}
.battery-media {
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    background: var(--secondary-dark);
    margin-bottom: 1.2rem;
}
.battery-media img { width: 100%; height: 100%; object-fit: cover; }
.battery-icon {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-bottom: 0.8rem;
    border-radius: 10px;
    background: rgba(245, 184, 46, 0.14);
    color: var(--solar-gold);
}
.battery-card h3 { font-size: var(--fs-h3); font-weight: 750; margin-bottom: 0.4rem; }
.battery-card p { color: var(--muted-light); font-size: 0.94rem; }
/* charge indicator that fills on hover */
.charge-bar {
    display: block;
    height: 6px;
    margin-top: 1.2rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}
.charge-bar i {
    display: block;
    height: 100%;
    width: 30%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--leaf), var(--solar-gold));
    transition: width 0.9s var(--ease);
}
/* battery "charging" loop once the card is on screen */
.battery-card.is-visible .charge-bar i {
    animation: charge 3.6s var(--ease) infinite;
    animation-delay: var(--rd, 0s);
}
@keyframes charge {
    0% { width: 12%; }
    70%, 100% { width: 100%; }
}

/* ===================== 11. AGRICULTURE ===================== */
.agri {
    position: relative;
    padding-block: calc(var(--section-y) + 1.5rem);
    color: var(--white);
    overflow: hidden;
    isolation: isolate;
    background: var(--primary-dark);
}
/* Agriculture image is set inline from Admin → Section Photos; overlay below */
.agri-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-color: var(--primary-dark);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.agri-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, rgba(7, 24, 39, 0.94) 0%, rgba(7, 24, 39, 0.78) 45%, rgba(7, 24, 39, 0.35) 100%),
        linear-gradient(0deg, rgba(20, 60, 40, 0.45), transparent 60%);
}
.agri-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}
.agri .lead { color: rgba(255, 255, 255, 0.85); margin-top: 1.25rem; }
.agri-uses {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1.5rem;
    margin: 1.75rem 0 2.25rem;
}
.agri-uses li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}
.agri-uses li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--leaf);
    transform: rotate(45deg);
    flex-shrink: 0;
}

.agri-capacity {
    padding: clamp(1.5rem, 3vw, 2.25rem);
    border-radius: var(--r-media);
    background: rgba(7, 24, 39, 0.55);
    border: 1px solid var(--line-light);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.agri-cap-title {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--solar-gold);
    margin-bottom: 1.2rem;
}
.hp-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}
.hp-card {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    padding: 1.4rem 0.5rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line-light);
    transition: background-color 0.3s, border-color 0.3s, transform 0.3s var(--ease), color 0.3s;
}
.hp-card strong {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem);
    line-height: 1;
}
.hp-card span { font-weight: 700; font-size: 0.9rem; color: var(--solar-gold); }
.hp-card:hover {
    transform: translateY(-4px);
    background: var(--solar-yellow);
    border-color: var(--solar-yellow);
    color: var(--primary-dark);
}
.hp-card:hover span { color: var(--primary-dark); }

/* ===================== 12. WATER HEATER ===================== */
.heater { padding-top: calc(var(--section-y) + 0.5rem); }
.heater-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: center;
}
.heater-copy .section-title { margin-bottom: 1.25rem; }
.lpd-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.7rem;
    margin-top: 1.75rem;
}
.lpd {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.1rem 0.4rem 1rem;
    border-radius: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s var(--ease);
}
/* warm "fill level" rising on hover */
.lpd::before {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 0;
    background: linear-gradient(0deg, rgba(245, 184, 46, 0.35), rgba(245, 184, 46, 0.08));
    transition: height 0.5s var(--ease);
}
.lpd:hover { transform: translateY(-3px); border-color: var(--solar-yellow); }
.lpd:hover::before { height: 100%; }
.lpd strong {
    position: relative;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.8rem);
    line-height: 1.1;
}
.lpd span { position: relative; font-size: 0.8rem; font-weight: 700; color: var(--muted); }
.heater-copy .small-note { margin-top: 0.6rem; }

.heater-media {
    border-radius: var(--r-media);
    overflow: hidden;
    aspect-ratio: 9 / 10;
    background: var(--secondary-dark);
    box-shadow: 0 40px 70px -40px rgba(7, 24, 39, 0.6);
}
.heater-media img { width: 100%; height: 100%; object-fit: cover; }

/* ===================== 13. PROJECTS & LIGHTBOX ===================== */
.projects { background: var(--secondary-dark); }
.projects .section-head p { color: var(--muted-light); }

.project-grid {
    columns: 3 280px;
    column-gap: 1.1rem;
}
.project-item {
    position: relative;
    display: block;
    width: 100%;
    margin: 0 0 1.1rem;
    padding: 0;
    border: 0;
    border-radius: var(--r-card);
    overflow: hidden;
    cursor: zoom-in;
    background: var(--primary-dark);
    break-inside: avoid;
    text-align: left;
    color: var(--white);
}
.project-item img {
    width: 100%;
    height: auto;
    transition: transform 0.7s var(--ease), filter 0.5s;
}
.project-item:nth-child(3n + 1) img { aspect-ratio: 4 / 5; object-fit: cover; }
.project-item:nth-child(3n + 2) img { aspect-ratio: 4 / 3; object-fit: cover; }
.project-item:nth-child(3n) img { aspect-ratio: 1; object-fit: cover; }

.project-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: linear-gradient(0deg, rgba(7, 24, 39, 0.7), rgba(7, 24, 39, 0.25));
    opacity: 0;
    transition: opacity 0.4s;
}
.project-view {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    background: var(--solar-yellow);
    color: var(--primary-dark);
    font-size: 0.9rem;
    font-weight: 700;
    transform: scale(0.9);
    transition: transform 0.35s var(--ease);
}
.project-item:hover img,
.project-item:focus-visible img { transform: scale(1.05); }
.project-item:hover .project-overlay,
.project-item:focus-visible .project-overlay { opacity: 1; }
.project-item:hover .project-view,
.project-item:focus-visible .project-view { transform: none; }

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: clamp(1rem, 3vw, 2.5rem);
    background: rgba(4, 13, 22, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s;
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lb-figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-height: 100%;
    min-width: 0;
}
.lb-figure img {
    max-width: 100%;
    max-height: calc(100vh - 9rem);
    max-height: calc(100svh - 9rem);
    width: auto;
    border-radius: 14px;
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8);
    transform: scale(0.97);
    transition: transform 0.4s var(--ease), opacity 0.25s;
}
.lightbox.is-open .lb-figure img { transform: none; }
.lb-figure img.is-swapping { opacity: 0; }
.lb-caption {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    width: 100%;
    margin-top: 1rem;
    color: var(--white);
}
.lb-counter {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    color: var(--muted-light);
    white-space: nowrap;
}
.lb-btn {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    cursor: pointer;
    transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.lb-btn:hover { background: var(--solar-yellow); color: var(--primary-dark); border-color: var(--solar-yellow); }
.lb-close {
    position: absolute;
    top: clamp(0.75rem, 2vw, 1.5rem);
    right: clamp(0.75rem, 2vw, 1.5rem);
    z-index: 2;
}

/* ===================== 14. WHY US ===================== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
    background: var(--white);
    border-radius: var(--r-card);
    overflow: hidden;
}
.why-card {
    position: relative;
    padding: clamp(1.6rem, 3vw, 2.4rem);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    transition: background-color 0.35s;
}
.why-card::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 3px;
    width: 0;
    background: var(--solar-yellow);
    transition: width 0.5s var(--ease);
}
.why-card:hover { background: #FFFCF4; }
.why-card:hover::after { width: 100%; }
.why-icon {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 1.3rem;
    border-radius: 14px;
    background: var(--primary-dark);
    color: var(--solar-gold);
}
.why-icon .icon { width: 1.45em; height: 1.45em; }
.why-card h3 { font-size: var(--fs-h3); font-weight: 750; margin-bottom: 0.5rem; }
.why-card p { color: var(--muted); }

/* ===================== 15. PROCESS TIMELINE ===================== */
.process { background: var(--primary-dark); }
.timeline {
    --progress: 0;
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1.5rem;
    counter-reset: none;
}
/* the "energy line" track + fill */
.timeline::before,
.timeline::after {
    content: "";
    position: absolute;
    top: 27px;
    left: 28px;
    /* end at the centre of the last step marker */
    right: calc((100% - 7.5rem) / 6 - 28px);
    height: 2px;
    border-radius: 2px;
}
.timeline::before { background: rgba(255, 255, 255, 0.12); }
.timeline::after {
    background: linear-gradient(90deg, var(--leaf), var(--solar-gold));
    box-shadow: 0 0 12px rgba(255, 200, 87, 0.7);
    transform: scaleX(var(--progress));
    transform-origin: left;
    transition: transform 1.8s var(--ease);
}
.timeline.is-charged { --progress: 1; }

.step { position: relative; z-index: 1; }
.step-num {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 1.3rem;
    border-radius: 50%;
    background: var(--secondary-dark);
    border: 2px solid rgba(255, 255, 255, 0.16);
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--muted-light);
    transition: background-color 0.4s, color 0.4s, border-color 0.4s, box-shadow 0.4s;
    transition-delay: calc(var(--i, 0) * 0.28s);
}
.timeline.is-charged .step-num {
    background: var(--solar-yellow);
    border-color: var(--solar-yellow);
    color: var(--primary-dark);
    box-shadow: 0 0 0 6px rgba(245, 184, 46, 0.16);
}
.step h3 { font-size: 1.12rem; font-weight: 750; margin-bottom: 0.4rem; }
.step p { color: var(--muted-light); font-size: 0.93rem; line-height: 1.55; }

/* ===================== 16. PARTNERS ===================== */
.partners { padding-bottom: calc(var(--section-y) + var(--r-media)); }
.partners .section-head { margin-inline: auto; text-align: center; }
.partners .section-title { margin-inline: auto; }
.marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
    display: flex;
    gap: 1.25rem;
    width: max-content;
}
.marquee.is-animated .marquee-track { animation: marquee 36s linear infinite; }
.marquee.is-animated:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee.is-static .marquee-track {
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
}
.partner-logo {
    display: grid;
    place-items: center;
    width: 200px;
    height: 100px;
    padding: 1.2rem 1.6rem;
    border-radius: var(--r-card);
    background: var(--white);
    border: 1px solid var(--line);
}
.partner-logo img {
    max-height: 56px;
    width: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.6;
    transition: filter 0.35s, opacity 0.35s;
}
.partner-logo:hover img { filter: none; opacity: 1; }

/* ===================== 17. FINAL CTA ===================== */
.cta-band {
    position: relative;
    padding-block: clamp(5rem, 10vw, 8rem);
    color: var(--white);
    text-align: center;
    background: var(--primary-dark);
    overflow: hidden;
    isolation: isolate;
}
.cta-glow {
    position: absolute;
    z-index: -1;
    left: 50%;
    bottom: -60%;
    width: min(1100px, 150vw);
    aspect-ratio: 1;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 200, 87, 0.5) 0%, rgba(245, 184, 46, 0.18) 30%, transparent 60%);
}
.cta-title {
    font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    max-width: 16ch;
    margin-inline: auto;
}
.cta-inner > p {
    margin: 1.2rem auto 2.4rem;
    max-width: 32rem;
    font-size: var(--fs-lg);
    color: rgba(255, 255, 255, 0.8);
}
.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.9rem;
}

/* ===================== 18. CONTACT & FORM ===================== */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: start;
}
.contact-info .section-title { margin-bottom: 1rem; }
.contact-list { display: grid; gap: 1.3rem; margin: 2rem 0; }
.contact-row { display: flex; gap: 1rem; }
.contact-row div { display: flex; flex-direction: column; gap: 0.15rem; }
.contact-row strong { font-weight: 700; }
.contact-row span { color: var(--muted); }
.contact-row a {
    color: var(--ink);
    font-weight: 600;
    width: fit-content;
    border-bottom: 1.5px solid transparent;
    transition: border-color 0.2s, color 0.2s;
}
.contact-row a:hover { border-color: var(--solar-yellow); }
.contact-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: var(--r-ctrl);
    background: var(--primary-dark);
    color: var(--solar-gold);
    flex-shrink: 0;
}
.contact-icon--wa { background: #1FA855; color: var(--white); }

.map-box {
    aspect-ratio: 16 / 10;
    border-radius: var(--r-card);
    overflow: hidden;
    border: 1px solid var(--line);
    background:
        linear-gradient(rgba(7, 24, 39, 0.05) 1px, transparent 1px) 0 0 / 28px 28px,
        linear-gradient(90deg, rgba(7, 24, 39, 0.05) 1px, transparent 1px) 0 0 / 28px 28px,
        #EAEFF2;
}
.map-box iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
    padding: 1rem;
}
.map-placeholder .icon { width: 2.2rem; height: 2.2rem; color: #C08A10; }
.map-placeholder p { color: var(--muted); font-weight: 600; }

.enquiry {
    padding: clamp(1.6rem, 4vw, 2.75rem);
    border-radius: var(--r-media);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: 0 40px 80px -50px rgba(7, 24, 39, 0.5);
    scroll-margin-top: calc(var(--header-h) + 16px);
}
.enquiry-title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 780; }
.enquiry-sub { color: var(--muted); margin: 0.4rem 0 1.75rem; }

.enquiry-form { display: grid; gap: 1.1rem; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.field label { font-size: 0.9rem; font-weight: 700; }
.field label span { color: #C27C00; }
.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 50px;
    padding: 0.75rem 1rem;
    border: 1.5px solid #D5DDE3;
    border-radius: var(--r-ctrl);
    background: var(--light-bg);
    transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder,
.field textarea::placeholder { color: #8A99A6; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: #B8C5CE; }
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--solar-yellow);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(245, 184, 46, 0.2);
}
.field.has-error input,
.field.has-error select { border-color: #C2410C; background: #FFF7F3; }
.field-error { min-height: 0; font-size: 0.84rem; font-weight: 600; color: #B4380A; }
.field-error:empty { display: none; }

.select-wrap { position: relative; }
.select-wrap::after {
    content: "";
    position: absolute;
    right: 1rem;
    top: 50%;
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--muted);
    border-bottom: 2px solid var(--muted);
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
    transition: transform 0.25s;
}
.select-wrap:focus-within::after { transform: translateY(-30%) rotate(225deg); border-color: #C08A10; }
.select-wrap select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 2.6rem;
    cursor: pointer;
}
.select-wrap select.has-value { color: var(--ink); font-weight: 600; }

.form-status {
    padding: 1rem 1.1rem;
    border-radius: var(--r-ctrl);
    font-size: 0.94rem;
    line-height: 1.5;
}
.form-status.is-info { background: #FFF6DE; border: 1px solid #F3D48A; }
.form-status.is-success { background: #E8F5EE; border: 1px solid #A8D8BD; }
.form-status.is-error { background: #FDEDE7; border: 1px solid #F2B8A2; }
.form-status .btn { margin-top: 0.8rem; min-height: 44px; }

/* ===================== 19. FOOTER ===================== */
.site-footer {
    background: var(--primary-dark);
    color: var(--muted-light);
    padding-top: clamp(3.5rem, 7vw, 5rem);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr) 1.4fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
}
.footer-brand .brand { color: var(--white); margin-bottom: 1.2rem; }
.footer-brand p { font-size: 0.94rem; max-width: 22rem; }
.footer-col h3 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0;
    margin-bottom: 1.1rem;
}
.footer-col ul { display: grid; gap: 0.6rem; }
.footer-col a { font-size: 0.94rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--solar-gold); }
.footer-contact { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-contact h3 { margin-bottom: 0.45rem; }
.footer-contact p { font-size: 0.94rem; margin-bottom: 0.3rem; }
.footer-contact a { display: inline-flex; align-items: center; gap: 0.55rem; word-break: break-word; }
.footer-contact .icon { color: var(--solar-gold); width: 1.05em; height: 1.05em; }
.footer-bottom {
    border-top: 1px solid var(--line-light);
    padding: 1.4rem 0 calc(1.4rem + env(safe-area-inset-bottom, 0px));
    font-size: 0.88rem;
}
.footer-bottom .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
    padding-right: calc(var(--gutter) + 70px); /* keep clear of floating buttons */
}
.credit span { color: var(--solar-gold); font-weight: 600; }

/* ===================== 20. FLOATING BUTTONS ===================== */
.float-stack {
    position: fixed;
    right: clamp(0.9rem, 2vw, 1.5rem);
    bottom: calc(clamp(0.9rem, 2vw, 1.5rem) + env(safe-area-inset-bottom, 0px));
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
}
.float-btn {
    position: relative;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.45);
    transition: transform 0.3s var(--ease), opacity 0.3s, visibility 0.3s;
}
.float-btn .icon { width: 1.5em; height: 1.5em; }
.float-btn:hover { transform: scale(1.08); }
.float-btn--wa { background: #1FA855; color: var(--white); width: 60px; height: 60px; }
.float-btn--wa .icon { width: 1.8em; height: 1.8em; }
.float-btn--call { background: var(--solar-yellow); color: var(--primary-dark); }
.float-btn--top {
    width: 46px;
    height: 46px;
    background: var(--primary-dark);
    color: var(--white);
    border: 1px solid var(--line-light);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
}
.float-btn--top.is-visible { opacity: 1; visibility: visible; transform: none; }
.float-btn--top.is-visible:hover { transform: scale(1.08); }

/* tooltips */
.float-btn::before {
    content: attr(data-tip);
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    background: var(--primary-dark);
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translate(6px, -50%);
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
}
.float-btn:hover::before,
.float-btn:focus-visible::before { opacity: 1; transform: translate(0, -50%); }

/* ===================== 21. REVEAL ON SCROLL ===================== */
.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
    transition-delay: var(--rd, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }


/* ===================== 21b. SOLAR ANIMATIONS ===================== */
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Preloader: a sun rising over the horizon (only when JS runs) ---- */
.preloader { display: none; }
.js .preloader {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    background: var(--primary-dark);
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.js .preloader.is-done { opacity: 0; visibility: hidden; }
.preloader-sun {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle, #FFE2A0 0%, var(--solar-gold) 40%, var(--solar-yellow) 70%);
    box-shadow: 0 0 60px 10px rgba(255, 200, 87, 0.45);
    animation: sunRise 1.1s var(--ease) both;
}
.preloader-sun span {
    position: absolute;
    inset: -22px;
    border-radius: 50%;
    background: repeating-conic-gradient(rgba(255, 200, 87, 0.9) 0 5deg, transparent 5deg 30deg);
    -webkit-mask: radial-gradient(circle, transparent 0 60%, #000 62% 72%, transparent 74%);
    mask: radial-gradient(circle, transparent 0 60%, #000 62% 72%, transparent 74%);
    animation: spin 5s linear infinite;
}
.preloader-horizon {
    position: absolute;
    top: calc(50% + 44px);
    left: 50%;
    width: 180px;
    height: 2px;
    margin-left: -90px;
    background: linear-gradient(90deg, transparent, var(--solar-gold), transparent);
}
@keyframes sunRise {
    from { transform: translateY(40px) scale(0.8); opacity: 0; }
    to   { transform: none; opacity: 1; }
}

/* ---- Hero: slowly turning sun rays behind the glow ---- */
.hero-rays {
    position: absolute;
    z-index: -1;
    width: min(93vw, 1290px);
    aspect-ratio: 1;
    right: calc(-12vw - min(15.5vw, 215px));
    top: calc(-18% - min(15.5vw, 215px));
    border-radius: 50%;
    background: repeating-conic-gradient(rgba(255, 214, 130, 0.055) 0 4deg, transparent 4deg 15deg);
    -webkit-mask-image: radial-gradient(circle, #000 12%, transparent 62%);
    mask-image: radial-gradient(circle, #000 12%, transparent 62%);
    animation: spin 110s linear infinite;
    pointer-events: none;
}

/* ---- Hero: energy flowing from the panels to the battery ---- */
.energy-flow {
    position: absolute;
    left: 12%;
    top: 50%;
    width: 64%;
    height: 34%;
    overflow: visible;
    pointer-events: none;
}
.energy-flow path { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.flow-track { stroke: rgba(255, 255, 255, 0.12); }
.flow-dash {
    stroke: var(--solar-gold);
    stroke-dasharray: 4 14;
    filter: drop-shadow(0 0 4px rgba(255, 200, 87, 0.9));
    animation: flow 1.1s linear infinite;
}
@keyframes flow { to { stroke-dashoffset: -18; } }

.mini-battery {
    position: relative;
    width: 24px;
    height: 13px;
    padding: 1.5px;
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    border-radius: 3px;
    flex-shrink: 0;
}
.mini-battery::after {
    content: "";
    position: absolute;
    right: -5px;
    top: 3px;
    width: 2.5px;
    height: 4px;
    border-radius: 0 1px 1px 0;
    background: rgba(255, 255, 255, 0.85);
}
.mini-battery i {
    display: block;
    height: 100%;
    width: 15%;
    border-radius: 1px;
    background: var(--solar-yellow);
    animation: miniCharge 3s ease-in-out infinite;
}
@keyframes miniCharge {
    0% { width: 15%; background: var(--solar-yellow); }
    80%, 100% { width: 100%; background: var(--leaf); }
}

/* ---- A current of light running along the top edge of dark sections ---- */
.section--dark::before,
.agri::before,
.cta-band::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    height: 2px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, var(--solar-gold), transparent) no-repeat;
    background-size: 30% 100%;
    opacity: 0.75;
    animation: lineRun 7s linear infinite;
}
@keyframes lineRun {
    from { background-position: -45% 0; }
    to   { background-position: 145% 0; }
}

/* ---- Solution strip icons ---- */
.strip-icon { transition: background-color 0.3s, color 0.3s; }
.strip-item:hover .strip-icon { background: var(--solar-yellow); color: var(--primary-dark); }
.strip-item:first-child:hover .strip-icon .icon { animation: spin 5s linear infinite; }

/* ---- Agriculture: the sun crossing the sky ---- */
.sun-path {
    position: relative;
    height: 56px;
    margin-bottom: 0.75rem;
}
.sun-path svg { display: block; width: 100%; height: 100%; overflow: visible; }
.sun-path path {
    fill: none;
    stroke: rgba(255, 200, 87, 0.4);
    stroke-width: 1.5;
    stroke-dasharray: 2 6;
    vector-effect: non-scaling-stroke;
}
.sun-dot {
    position: absolute;
    left: 2%;
    top: 94%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border-radius: 50%;
    background: var(--solar-gold);
    box-shadow: 0 0 0 5px rgba(255, 200, 87, 0.18), 0 0 22px 5px rgba(255, 200, 87, 0.7);
    animation: sunArc 10s linear infinite;
}
@keyframes sunArc {
    0%     { left: 2%;  top: 94%; opacity: 0; }
    6%     { opacity: 1; }
    12.5%  { left: 14%; top: 61%; }
    25%    { left: 26%; top: 38%; }
    37.5%  { left: 38%; top: 23%; }
    50%    { left: 50%; top: 19%; }
    62.5%  { left: 62%; top: 23%; }
    75%    { left: 74%; top: 38%; }
    87.5%  { left: 86%; top: 61%; }
    94%    { opacity: 1; }
    100%   { left: 98%; top: 94%; opacity: 0; }
}

/* ---- Water heater: thermometer warming up ---- */
.heater-media { position: relative; }
.thermo-badge {
    position: absolute;
    left: 1.2rem;
    bottom: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 1.1rem;
    border-radius: 999px;
    background: rgba(7, 24, 39, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
}
.thermo {
    position: relative;
    width: 9px;
    height: 22px;
    border-radius: 6px;
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    overflow: hidden;
}
.thermo i {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 15%;
    background: linear-gradient(0deg, #E8572A, var(--solar-gold));
    animation: heatUp 3.5s ease-in-out infinite;
}
@keyframes heatUp {
    0% { height: 15%; }
    70%, 100% { height: 100%; }
}

/* ---- Final CTA: a large sun rising with slow rays ---- */
.cta-rays {
    position: absolute;
    z-index: -1;
    left: 50%;
    bottom: calc(-60% - min(200px, 25vw));
    width: min(1500px, 200vw);
    aspect-ratio: 1;
    margin-left: calc(min(1500px, 200vw) / -2);
    border-radius: 50%;
    background: repeating-conic-gradient(rgba(255, 214, 130, 0.06) 0 3deg, transparent 3deg 12deg);
    -webkit-mask-image: radial-gradient(circle, #000 15%, transparent 58%);
    mask-image: radial-gradient(circle, #000 15%, transparent 58%);
    animation: spin 140s linear infinite;
    pointer-events: none;
}

.project-item[hidden] { display: none; }
.project-empty { color: var(--muted-light); }


/* ---- Services: segments, subsidy, service cards ---- */
.solution-ctas { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: auto; padding-top: 0.5rem; }
.solution-body .solution-ctas .btn { align-self: auto; margin-top: 0; }
.segment-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 1.25rem 0 0.25rem;
}
.segment-list li {
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--line-light);
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.86rem;
    font-weight: 600;
}
.segment-list li.is-highlight { border-color: rgba(255, 200, 87, 0.6); color: var(--solar-gold); }

.subsidy {
    position: relative;
    margin: 1.25rem 0 1.5rem;
    padding: 1.1rem 1.2rem;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(245, 184, 46, 0.16), rgba(62, 158, 108, 0.12));
    border: 1px solid rgba(255, 200, 87, 0.35);
    overflow: hidden;
}
.subsidy::after { /* soft light sweep */
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 35%, rgba(255, 236, 190, 0.12) 50%, transparent 65%);
    transform: translateX(-100%);
    animation: subsidySweep 5s ease-in-out infinite;
    pointer-events: none;
}
@keyframes subsidySweep { 60%, 100% { transform: translateX(100%); } }
.subsidy-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--solar-gold);
    margin-bottom: 0.75rem;
}
.subsidy-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 0;
}
.subsidy-grid div {
    padding: 0.7rem 0.9rem;
    border-radius: 10px;
    background: rgba(7, 24, 39, 0.45);
}
.subsidy-grid dt { font-size: 0.82rem; color: var(--muted-light); font-weight: 600; }
.subsidy-grid dd {
    margin: 0.15rem 0 0;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.2rem, 1rem + 0.8vw, 1.55rem);
    color: var(--white);
    line-height: 1.2;
}
.subsidy-note { margin-top: 0.7rem; font-size: 0.8rem; color: var(--muted-light); }

.services-subhead {
    position: relative;
    margin: clamp(3rem, 6vw, 4.5rem) 0 1.5rem;
    font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem);
    font-weight: 750;
}
.service-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}
.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.6rem 1.5rem 1.4rem;
    border-radius: var(--r-card);
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--line-light);
    overflow: hidden;
    transition: transform 0.35s var(--ease), border-color 0.35s, background-color 0.35s;
}
.service-card::before { /* sun glow that rises on hover */
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 200, 87, 0.28), transparent 65%);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.45s, transform 0.45s var(--ease);
}
.service-card:hover { transform: translateY(-5px); border-color: rgba(255, 200, 87, 0.5); background: rgba(255, 255, 255, 0.07); }
.service-card:hover::before { opacity: 1; transform: none; }
.service-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 0.5rem;
    border-radius: 14px;
    background: rgba(245, 184, 46, 0.15);
    color: var(--solar-gold);
    transition: background-color 0.3s, color 0.3s;
}
.service-icon--green { background: rgba(62, 158, 108, 0.18); color: #6BCB97; }
.service-card:hover .service-icon { background: var(--solar-yellow); color: var(--primary-dark); }
.service-card h4 { margin: 0; font-size: var(--fs-h3); font-weight: 750; line-height: 1.2; }
.service-card p { color: var(--muted-light); font-size: 0.94rem; }
.service-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.2rem 0; }
.service-tags li {
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.88rem;
    font-weight: 600;
}
.service-more {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: auto;
    padding-top: 0.6rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--solar-gold);
}
.service-more .icon { width: 1em; height: 1em; transition: transform 0.3s var(--ease); }
.service-card:hover .service-more .icon { transform: translateX(4px); }

/* ---- Hero subsidy pill ---- */
.hero-subsidy {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem 0.7rem;
    margin-bottom: 1.3rem;
    padding: 0.35rem 1rem 0.35rem 0.35rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 200, 87, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    transition: border-color 0.3s, background-color 0.3s;
}
.hero-subsidy:hover { border-color: var(--solar-gold); background: rgba(255, 255, 255, 0.13); }
.hero-subsidy-tag {
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: var(--solar-yellow);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.82rem;
}
.hero-kicker { display: flex; }

/* ===================== 22. RESPONSIVE ===================== */
@media (max-width: 1280px) {
    .nav-link { padding-inline: 0.6rem; font-size: 0.9rem; }
    .nav-link::after { left: 0.6rem; right: 0.6rem; }
    .strip-item { padding: 1.4rem 1.1rem; }
}

@media (max-width: 1100px) {
    .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-contact { grid-column: span 1; }
    .battery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .strip-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .strip-item:nth-child(3) { border-right: 0; }
    .strip-item:nth-child(-n + 3) { border-bottom: 1px solid var(--line); }
}

/* Tablet & mobile navigation */
@media (max-width: 1024px) {
    /* tablets & phones: header logo capped at 56px */
    :root { --header-h: max(70px, calc(min(var(--logo-header), 56px) + 20px)); }
    .site-header.is-scrolled { --header-h: max(66px, calc(min(var(--logo-header), 56px) * 0.9 + 16px)); }
    .site-header .brand-logo { height: min(var(--logo-header), 56px); max-width: 55vw; }
    .site-header.is-scrolled .brand-logo { height: calc(min(var(--logo-header), 56px) * 0.9); }

    .menu-toggle { display: block; position: relative; z-index: 2; }
    .header-quote { display: none; }

    .main-nav {
        position: fixed;
        inset: 0;
        z-index: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: calc(var(--header-h) + 1.5rem) var(--gutter) calc(2rem + env(safe-area-inset-bottom, 0px));
        background:
            radial-gradient(circle at 100% 0%, rgba(245, 184, 46, 0.18), transparent 50%),
            var(--primary-dark);
        clip-path: circle(0 at calc(100% - 44px) 36px);
        visibility: hidden;
        transition: clip-path 0.6s var(--ease), visibility 0s linear 0.6s;
        overflow-y: auto;
    }
    .main-nav.is-open {
        clip-path: circle(150% at calc(100% - 44px) 36px);
        visibility: visible;
        transition: clip-path 0.6s var(--ease), visibility 0s;
    }
    .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav-list li {
        opacity: 0;
        transform: translateY(14px);
        transition: opacity 0.4s, transform 0.4s var(--ease);
    }
    .main-nav.is-open .nav-list li { opacity: 1; transform: none; }
    .main-nav.is-open .nav-list li:nth-child(1) { transition-delay: 0.12s; }
    .main-nav.is-open .nav-list li:nth-child(2) { transition-delay: 0.16s; }
    .main-nav.is-open .nav-list li:nth-child(3) { transition-delay: 0.2s; }
    .main-nav.is-open .nav-list li:nth-child(4) { transition-delay: 0.24s; }
    .main-nav.is-open .nav-list li:nth-child(5) { transition-delay: 0.28s; }
    .main-nav.is-open .nav-list li:nth-child(6) { transition-delay: 0.32s; }
    .main-nav.is-open .nav-list li:nth-child(7) { transition-delay: 0.36s; }
    .nav-link {
        padding: 0.85rem 0;
        font-family: var(--font-display);
        font-weight: 750;
        font-size: clamp(1.4rem, 5vw, 1.9rem);
        border-bottom: 1px solid var(--line-light);
    }
    .nav-link::after { display: none; }
    .nav-link.is-active { color: var(--solar-gold); }

    .nav-mobile-extra {
        display: grid;
        gap: 1rem;
        margin-top: 2rem;
    }
    .nav-mobile-phone {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        font-weight: 600;
        color: var(--muted-light);
    }

    .hero-inner { grid-template-columns: 1fr; }
    .hero-copy { max-width: 42rem; }
    .hero-visual { min-height: 320px; max-width: 520px; width: 100%; justify-self: center; }
    .hero-sun { right: -30vw; top: 30%; width: 110vw; }
    .hero-rays { width: 165vw; right: -57.5vw; top: calc(30% - 27.5vw); }
    .hero-scroll { display: none; }

    .about-grid,
    .agri-inner,
    .heater-grid,
    .contact-grid { grid-template-columns: 1fr; }
    .about-media { aspect-ratio: 16 / 11; }
    .heater-media { aspect-ratio: 16 / 11; order: -1; }

    .timeline {
        grid-template-columns: 1fr;
        gap: 0;
        max-width: 36rem;
    }
    .timeline::before,
    .timeline::after {
        top: 28px;
        bottom: 28px;
        left: 27px;
        right: auto;
        width: 2px;
        height: auto;
    }
    .timeline::after { transform: scaleY(var(--progress)); transform-origin: top; }
    .step {
        display: grid;
        grid-template-columns: 56px 1fr;
        column-gap: 1.25rem;
        padding-bottom: 2rem;
    }
    .step:last-child { padding-bottom: 0; }
    .step-num { grid-row: span 2; margin-bottom: 0; }
    .step h3 { align-self: end; padding-top: 0.4rem; }

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

@media (max-width: 768px) {
    .section-head--split { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .solution-grid { grid-template-columns: 1fr; }
    .strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .strip-item { border-bottom: 1px solid var(--line); }
    .strip-item:nth-child(3) { border-right: 1px solid var(--line); }
    .strip-item:nth-child(2n) { border-right: 0; }
    .strip-item:last-child { grid-column: 1 / -1; border-bottom: 0; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-contact { grid-column: 1 / -1; }
    .project-grid { columns: 2 220px; }
}

@media (max-width: 600px) {
    .field-row { grid-template-columns: 1fr; }
    .service-grid { grid-template-columns: 1fr; }
    .subsidy-grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
    .hero-subsidy { border-radius: 16px; padding: 0.45rem 0.9rem 0.5rem 0.45rem; }
    .why-grid { grid-template-columns: 1fr; }
    .battery-grid { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
    .battery-card { padding: 0.8rem 0.8rem 1.1rem; }
    .battery-card p { font-size: 0.86rem; }
    .lpd-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .agri-uses { grid-template-columns: 1fr; }
    .project-grid { columns: 1; }
    .partner-logo { width: 160px; height: 84px; }

    .lightbox {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr auto;
        align-content: center;
    }
    .lb-figure { grid-column: 1 / -1; grid-row: 1; }
    .lb-prev { grid-row: 2; justify-self: end; }
    .lb-next { grid-row: 2; justify-self: start; }
    .lb-figure img { max-height: calc(100svh - 14rem); }
}

@media (max-width: 480px) {
    :root { --r-media: 22px; }
    .brand-text { font-size: 0.98rem; }
    /* phones: header logo capped at 48px, footer at 90px */
    :root { --header-h: max(66px, calc(min(var(--logo-header), 48px) + 18px)); }
    .site-header .brand-logo { height: min(var(--logo-header), 48px); max-width: 52vw; }
    .site-header.is-scrolled .brand-logo { height: min(var(--logo-header), 44px); }
    .site-footer .brand-logo { height: min(var(--logo-footer), 90px); }
    .hero { padding-bottom: 6rem; }
    .hero-cta .btn { width: 100%; }
    .hero-visual { min-height: 250px; }
    .energy-readout { left: 0; bottom: 2%; font-size: 0.78rem; }
    .energy-flow { left: 8%; width: 70%; top: 48%; height: 36%; }
    .thermo-badge { left: 0.8rem; bottom: 0.8rem; font-size: 0.82rem; }
    .strip-grid { grid-template-columns: 1fr; }
    .strip-item,
    .strip-item:nth-child(3),
    .strip-item:nth-child(2n) { border-right: 0; }
    .strip-item:last-child { grid-column: auto; }
    .cta-buttons .btn { width: 100%; }
    .battery-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .float-btn--wa { width: 56px; height: 56px; }
    .float-btn { width: 50px; height: 50px; }
    .float-btn::before { display: none; }
}

@media (min-width: 1600px) {
    :root { --container: 1360px; }
}

/* ===================== 23. REDUCED MOTION ===================== */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0s !important;
    }
    .hero-particles { display: none; }
    .js .reveal { opacity: 1; transform: none; }
    .marquee.is-animated .marquee-track { animation: none; }
}
