/* ==========================================================
   SOLNEX Energy Solution – Homepage styles (white theme)
   Brand: Forest Green #164E3B | Solar Blue #0B53D1 | Solar Orange #F97316
          Warm Cream #F8F5E9 (accent only) | Dark Text #17324D
   Headings: Forest Green #164E3B
   Fonts: Montserrat (headings), Poppins (body), Allura (script accent)
   ========================================================== */

:root {
  --green: #164E3B;
  --green-dark: #0E3A2B;
  --blue: #0B53D1;
  --orange: #F97316;
  --orange-dark: #D9600A;
  --cream: #F8F5E9;
  --white: #FFFFFF;
  --soft: #F6F9F7;           /* very light tint for alternate sections */
  --text: #17324D;
  --muted: #4A6178;
  --border: rgba(22, 78, 59, 0.12);
  --shadow: 0 8px 28px rgba(23, 50, 77, 0.07);
  --shadow-hover: 0 22px 50px rgba(23, 50, 77, 0.16);
  --radius: 22px;
  --radius-sm: 12px;
  --header-h: 78px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font-head: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Poppins", "Segoe UI", Arial, sans-serif;
  --font-script: "Allura", "Brush Script MT", cursive;

  /* Heading colors: all forest green */
  --head-red: #164E3B;
  --head-red-dark: #164E3B;
  --head-yellow: #164E3B;
  --head-gold: #164E3B;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.7;
  color: var(--text); background: var(--white); overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; } /* so .btn / flex rules never override the hidden attribute */

h1, h2, h3 { font-family: var(--font-head); color: var(--head-red); line-height: 1.15; margin: 0 0 .6em; font-weight: 800; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.8rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; font-weight: 700; }
/* Card / step titles */
.card h3, .step h3, .t-item h3, .elig h3, .flow-node h3 { color: var(--head-red-dark); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--blue); }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--green); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* Scroll progress bar */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 250; background: linear-gradient(90deg, var(--orange), var(--blue)); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Kicker ---------- */
.kicker {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .75rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--head-red);
  margin-bottom: 12px; position: relative; padding-left: 34px;
}
.kicker::before { content: ""; position: absolute; left: 0; top: 50%; width: 24px; height: 2px; background: linear-gradient(90deg, var(--head-red), var(--head-yellow)); }
.section-head:not(.left) .kicker { padding-left: 0; }
.section-head:not(.left) .kicker::before { display: none; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 28px;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  text-decoration: none; text-align: center; border: 2px solid transparent; border-radius: 999px; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s;
}
/* shine sweep on hover */
.btn::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg); transition: left .6s var(--ease);
}
.btn:hover::after { left: 130%; }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px) scale(.98); }

.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 24px rgba(249,115,22,.30); }
.btn-primary:hover { background: var(--orange-dark); box-shadow: 0 16px 34px rgba(249,115,22,.42); }
.btn-outline { background: #fff; color: var(--green); border-color: var(--green); }
.btn-outline:hover { background: var(--green); color: #fff; box-shadow: 0 14px 30px rgba(22,78,59,.25); }
.btn-light { background: #fff; color: var(--green); border-color: var(--green); }
.btn-light:hover { background: var(--green); color: #fff; }
.btn-whatsapp { background: var(--green); color: #fff; box-shadow: 0 10px 24px rgba(22,78,59,.25); }
.btn-whatsapp:hover { background: var(--green-dark); box-shadow: 0 16px 34px rgba(22,78,59,.38); }
.btn-block { width: 100%; margin-top: 6px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 1.6rem 0 0; }
.btn-row.center { justify-content: center; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 200; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.site-header.scrolled { border-bottom-color: var(--border); box-shadow: 0 8px 30px rgba(23,50,77,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; transition: transform .3s var(--ease); }
.brand:hover { transform: scale(1.03); }
.brand img { width: 64px; height: auto; }
.brand-text { font-family: var(--font-head); font-weight: 700; font-size: .68rem; letter-spacing: .28em; color: var(--green); }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav ul { display: flex; gap: 28px; }
.main-nav a:not(.btn) { position: relative; font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--text); text-decoration: none; padding: 8px 2px; }
.main-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--orange); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.main-nav a:not(.btn):hover, .main-nav a[aria-current="page"] { color: var(--green); }
.main-nav a:not(.btn):hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.main-nav a.active:not(.btn) { color: var(--green); }
.main-nav a.active:not(.btn)::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { min-height: 44px; padding: 10px 22px; font-size: .88rem; }

.menu-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--border); border-radius: 12px; background: #fff; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-toggle .bar { width: 22px; height: 2.5px; background: var(--green); border-radius: 2px; transition: transform .25s, opacity .25s; }
.menu-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Image frames (your photos go in these) ---------- */
.img-frame {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background:
    repeating-linear-gradient(45deg, rgba(22,78,59,.05) 0 12px, rgba(22,78,59,.09) 12px 24px);
  border: 1px solid var(--border);
}
/* Label visible only until a real image loads on top of it */
.img-frame::before {
  content: attr(data-label); position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: .85rem; letter-spacing: .06em; color: var(--green); opacity: .55; text-align: center; padding: 16px;
}
.img-frame img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; background: #fff; transition: transform .9s var(--ease); }
/* hide broken-image icon: JS adds .img-missing when an image fails to load */
.img-frame img.img-missing { opacity: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(44px, 7vw, 96px) 0 clamp(36px, 5vw, 64px); overflow: hidden; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; pointer-events: none; z-index: 0; }
.hero-glow-1 { width: 380px; height: 380px; background: rgba(34,197,130,.20); top: -120px; right: -60px; animation: float 9s ease-in-out infinite; }
.hero-glow-2 { width: 340px; height: 340px; background: rgba(11,83,209,.14); bottom: -140px; left: -80px; animation: float 11s ease-in-out infinite reverse; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.eyebrow { font-family: var(--font-head); font-weight: 700; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 1.2rem; }
/* Highlighted word in the hero headline */
.accent { color: var(--head-gold); position: relative; white-space: nowrap; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 54ch; }
.script-accent { font-family: var(--font-script); font-size: 2.2rem; color: var(--green); margin: 1.6rem 0 0; line-height: 1; }

.hero-visual { position: relative; }
.hero-frame { aspect-ratio: 5 / 4; border-radius: 30px; box-shadow: var(--shadow-hover); }
.hero-visual:hover .hero-frame img { transform: scale(1.05); }
.sun-ring { position: absolute; width: 150px; height: 150px; top: -34px; right: -26px; border-radius: 50%; border: 2px dashed rgba(249,115,22,.55); animation: spin 28s linear infinite; z-index: 0; }
.sun-ring::after { content: ""; position: absolute; inset: 28px; border-radius: 50%; background: radial-gradient(circle, rgba(249,115,22,.30), rgba(249,115,22,0) 70%); }
.chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 10px 18px; font-family: var(--font-head); font-weight: 700; font-size: .82rem; color: var(--green); box-shadow: var(--shadow-hover); }
.chip .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(249,115,22,.6); animation: pulse 2s infinite; }
.chip .dot-blue { background: var(--blue); }
.chip-1 { left: -18px; bottom: 38px; animation: float 6s ease-in-out infinite; }
.chip-2 { right: 18px; bottom: -18px; animation: float 7s ease-in-out infinite reverse; }

/* ---------- Marquee ---------- */
.marquee { background: var(--green); color: #fff; overflow: hidden; padding: 16px 0; }
.marquee-track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 32s linear infinite; font-family: var(--font-head); font-weight: 700; font-size: .95rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track i { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); flex: none; }

/* ---------- Enquiry ---------- */
.enquiry-section { padding: clamp(50px, 7vw, 90px) 0; background: var(--white); }
.enquiry-card {
  display: grid; grid-template-columns: .8fr 1.3fr; gap: clamp(24px, 4vw, 56px);
  background: #fff; border: 1px solid var(--border); border-radius: 30px;
  padding: clamp(24px, 4vw, 52px); box-shadow: var(--shadow-hover);
  border-top: 5px solid var(--orange);
}
.enquiry-intro p { color: var(--muted); }
.check-list { margin-top: 1.4rem; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 32px; font-size: .95rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; min-width: 0; }
.field-full { grid-column: 1 / -1; }
label { font-weight: 500; font-size: .9rem; margin-bottom: 6px; }
.req { color: #C0392B; }
.opt { color: var(--muted); font-weight: 400; font-size: .8rem; }

input[type="text"], input[type="tel"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); padding: 12px 14px; background: #fff;
  border: 1.5px solid rgba(23,50,77,.22); border-radius: var(--radius-sm);
  transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
input:hover, select:hover, textarea:hover { border-color: rgba(11,83,209,.5); }
textarea { resize: vertical; min-height: 84px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11,83,209,.16); transform: translateY(-1px); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #C0392B; background: #FFF6F5; animation: shake .35s; }
.field-error { color: #B03024; font-size: .82rem; margin: 6px 0 0; }
.field-error:empty { display: none; }

.consent { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 10px; }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--green); flex: none; }
.consent label { flex: 1; margin: 0; font-size: .85rem; font-weight: 400; color: var(--muted); }
.consent .field-error { flex-basis: 100%; }

.form-status { margin-top: 14px; font-size: .92rem; font-weight: 500; }
.form-status.error { color: #B03024; }
.form-status.ok { color: var(--green); }
.form-fallback { margin-top: 14px; padding: 16px; background: #FFF7ED; border: 1px solid #FDBA74; border-radius: var(--radius-sm); }
.form-fallback p { font-size: .9rem; }
.form-fallback textarea { font-size: .85rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(60px, 8vw, 104px) 0; background: #fff; }
.section-head { max-width: 700px; margin: 0 auto clamp(30px, 5vw, 54px); text-align: center; }
.section-head.left { text-align: left; margin-left: 0; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.card-grid { display: grid; gap: 26px; }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: rgba(249,115,22,.45); }

.icon-card { padding: 32px 26px; position: relative; overflow: hidden; }
.icon-card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--orange), var(--blue)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.icon-card:hover::before { transform: scaleX(1); }
.icon { width: 64px; height: 64px; border-radius: 18px; background: var(--soft); color: var(--green); display: grid; place-items: center; margin-bottom: 20px; border: 1px solid var(--border); transition: background .35s, color .35s, transform .45s var(--ease); }
.icon svg { width: 32px; height: 32px; }
.icon-card:hover .icon { background: var(--green); color: #fff; transform: rotate(-8deg) scale(1.08); }
.icon-card p { color: var(--muted); margin: 0; font-size: .95rem; }

.solutions { background: var(--soft); }
.solutions .card { overflow: hidden; display: flex; flex-direction: column; }
.card-frame { aspect-ratio: 10 / 7; border-radius: 0; border: 0; border-bottom: 1px solid var(--border); }
.solution-card:hover .card-frame img { transform: scale(1.08); }
.card-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--muted); font-size: .95rem; flex: 1; }
.card-body .btn { align-self: flex-start; margin-top: 6px; }

/* ---------- How it works ---------- */
.how-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.tall-frame { aspect-ratio: 9 / 11; border-radius: 30px; box-shadow: var(--shadow-hover); }
.how-media:hover .tall-frame img { transform: scale(1.05); }
.steps { display: grid; gap: 18px; position: relative; }
.step { display: flex; gap: 20px; align-items: flex-start; padding: 22px 24px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.step:hover { transform: translateX(8px); box-shadow: var(--shadow-hover); border-color: rgba(249,115,22,.45); }
.step-num { flex: none; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: var(--cream); font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--orange-dark); transition: background .35s, color .35s; }
.step:hover .step-num { background: var(--orange); color: #fff; }
.step h3 { margin-bottom: .25em; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Calculator ---------- */
.calc { padding-top: 10px; }
.calc-card { background: var(--green); color: #fff; border-radius: 30px; padding: clamp(26px, 4vw, 56px); display: grid; gap: 24px; position: relative; overflow: hidden; }
.calc-card::after { content: ""; position: absolute; right: -90px; top: -90px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(249,115,22,.35), rgba(249,115,22,0) 70%); pointer-events: none; }
.calc-card > * { position: relative; z-index: 1; }
.calc-card h2 { color: #fff; } /* white: sits on dark green */
.calc-intro p { color: rgba(255,255,255,.85); max-width: 60ch; }
.badge { display: inline-block; background: rgba(249,115,22,.18); color: #FFD2A8; border: 1px solid rgba(249,115,22,.5); border-radius: 999px; padding: 4px 14px; font-size: .78rem; font-weight: 600; margin-bottom: 14px; }
.calc-form { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 16px; align-items: end; }
.calc-form label { color: #fff; }
.calc-result { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius-sm); padding: 18px 20px; animation: rise .5s var(--ease); }
.calc-result p { margin: 0 0 .5em; }
.calc-result ul { list-style: disc; padding-left: 20px; display: grid; gap: 4px; }
.disclaimer { font-size: .85rem; color: rgba(255,255,255,.82); margin: 0; border-left: 3px solid var(--orange); padding-left: 14px; }
.calc-card > .btn { justify-self: start; }


/* ---------- Floating WhatsApp ---------- */
.float-wa { position: fixed; right: 20px; bottom: 20px; z-index: 180; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #fff; box-shadow: 0 12px 30px rgba(22,78,59,.4); transition: transform .3s var(--ease), background .3s; }
.float-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--green); animation: ring 2.4s ease-out infinite; }
.float-wa:hover { transform: scale(1.1) rotate(-6deg); background: var(--orange); }
.float-wa:hover::before { border-color: var(--orange); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green); color: #E7F0EA; padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.footer-brand img { background: #fff; border-radius: 16px; padding: 10px 14px; width: 150px; height: auto; margin-bottom: 14px; }
.footer-brand p { color: #CFE3D7; }
.site-footer h3 { color: #fff; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; } /* white: sits on dark green */
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #E7F0EA; text-decoration: none; display: inline-block; transition: transform .25s var(--ease), color .25s; }
.site-footer a:hover { color: #fff; transform: translateX(5px); }
.footer-bottom { margin-top: 36px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.15); font-size: .85rem; color: #BFD6C8; }
.footer-bottom p { margin: 0; }

/* ---------- Animations ---------- */
@keyframes float   { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes spin    { to { transform: rotate(360deg); } }
@keyframes pulse   { 70% { box-shadow: 0 0 0 10px rgba(249,115,22,0); } 100% { box-shadow: 0 0 0 0 rgba(249,115,22,0); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes ring    { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes shake   { 20%,60% { transform: translateX(-4px); } 40%,80% { transform: translateX(4px); } }
@keyframes rise    { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes introUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes introIn { from { opacity: 0; transform: translateX(40px) scale(.96); } to { opacity: 1; transform: none; } }

/* Hero entrance: runs on page load, one after another */
.intro { opacity: 0; animation: introUp .8s var(--ease) forwards; }
.hero-copy > :nth-child(1) { animation-delay: .05s; }
.hero-copy > :nth-child(2) { animation-delay: .18s; }
.hero-copy > :nth-child(3) { animation-delay: .32s; }
.hero-copy > :nth-child(4) { animation-delay: .46s; }
.hero-copy > :nth-child(5) { animation-delay: .6s; }
.intro-visual { opacity: 0; animation: introIn 1s var(--ease) .25s forwards; }

/* Scroll reveal (class added by JS, so content stays visible without JS) */
.js .reveal, .js .reveal-left, .js .reveal-right, .js .reveal-zoom { opacity: 0; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal { transform: translateY(30px); }
.js .reveal-left { transform: translateX(-40px); }
.js .reveal-right { transform: translateX(40px); }
.js .reveal-zoom { transform: translateY(26px) scale(.93); }
.js .reveal.visible, .js .reveal-left.visible, .js .reveal-right.visible, .js .reveal-zoom.visible { opacity: 1; transform: none; }
.subsidy-grid > .reveal-zoom:nth-child(2) { transition-delay: .15s; }
.subsidy-grid > .reveal-zoom:nth-child(3) { transition-delay: .3s; }
/* stagger cards in a grid */
.card-grid > .reveal:nth-child(2), .steps > .reveal:nth-child(2) { transition-delay: .12s; }
.card-grid > .reveal:nth-child(3), .steps > .reveal:nth-child(3) { transition-delay: .24s; }
.card-grid > .reveal:nth-child(4), .steps > .reveal:nth-child(4) { transition-delay: .36s; }

/* ---------- Subsidy ---------- */
.subsidy { position: relative; overflow: hidden; }
.subsidy .container { position: relative; z-index: 1; }
.sun-rays { position: absolute; top: -280px; right: -280px; width: 600px; height: 600px; border-radius: 50%; pointer-events: none;
  background: repeating-conic-gradient(rgba(249,115,22,.13) 0 6deg, transparent 6deg 18deg);
  -webkit-mask-image: radial-gradient(circle, #000 15%, transparent 68%); mask-image: radial-gradient(circle, #000 15%, transparent 68%);
  animation: spin 70s linear infinite; }
.subsidy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.subsidy-card { position: relative; overflow: hidden; padding: 34px 28px 30px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s, opacity .8s var(--ease); }
.subsidy-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: rgba(249,115,22,.45); }
.sub-size { font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--blue); margin: 0 0 8px; }
.sub-amount { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1.1; color: var(--green); margin: 0; font-variant-numeric: tabular-nums; }
.sub-note { color: var(--muted); font-size: .92rem; margin: 10px 0 20px; min-height: 3em; }
.meter { height: 10px; border-radius: 999px; background: var(--soft); border: 1px solid var(--border); overflow: hidden; }
.meter span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--orange), var(--blue)); transform-origin: left; transition: transform 1.5s var(--ease) .4s; }
.meter .m1 { width: 38%; } .meter .m2 { width: 77%; } .meter .m3 { width: 100%; }
.js .subsidy-card:not(.visible) .meter span { transform: scaleX(0); }
.subsidy-card.best { border-top: 5px solid var(--orange); animation: glow 3.2s ease-in-out infinite; }
.ribbon { position: absolute; top: 16px; right: 16px; padding: 4px 12px; border-radius: 999px; background: var(--orange); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .72rem; }
.usage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.usage li { padding: 16px 20px; background: var(--soft); border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: .9rem; color: var(--muted); transition: transform .35s var(--ease), border-color .35s; }
.usage li:hover { transform: translateY(-4px); border-color: rgba(249,115,22,.45); }
.usage strong { display: block; font-family: var(--font-head); color: var(--green); margin-bottom: 2px; }
.fine-print { max-width: 82ch; margin: 26px 0 0; padding-left: 14px; border-left: 3px solid var(--orange); font-size: .85rem; color: var(--muted); }

/* ---------- PM Surya Ghar ---------- */
.pm { background: var(--soft); }
.pm-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.pm-panel { position: sticky; top: calc(var(--header-h) + 24px); background: var(--green); color: #fff; border-radius: 30px; padding: clamp(26px, 4vw, 46px); overflow: hidden; }
.pm-panel::after { content: ""; position: absolute; right: -90px; bottom: -90px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(249,115,22,.35), rgba(249,115,22,0) 70%); pointer-events: none; animation: float 8s ease-in-out infinite; }
.pm-panel > * { position: relative; z-index: 1; }
.pm-panel h2 { color: #fff; } /* white: sits on dark green */
.pm-panel p { color: rgba(255,255,255,.86); }
.pm-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.pm-stats li { padding: 16px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-sm); transition: transform .35s var(--ease), background .35s; }
.pm-stats li:hover { transform: translateY(-5px); background: rgba(255,255,255,.17); }
.pm-stats strong { display: block; font-family: var(--font-head); font-size: 1.35rem; line-height: 1.25; color: #fff; font-variant-numeric: tabular-nums; }
.pm-stats span { font-size: .8rem; color: rgba(255,255,255,.82); }
.pm-stats strong span { font-size: inherit; color: inherit; }

.timeline { position: relative; display: grid; gap: 18px; padding-left: 36px; margin-bottom: 28px; --p: 1; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 15px; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; }
.timeline::before { background: var(--border); }
.timeline::after { background: linear-gradient(var(--orange), var(--blue)); transform-origin: top; transform: scaleY(var(--p)); }
.t-item { padding: 18px 22px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; overflow: visible; }
.t-item:hover { transform: translateX(8px); box-shadow: var(--shadow-hover); border-color: rgba(249,115,22,.45); }
.t-item::before { content: ""; position: absolute; left: -29px; top: 22px; z-index: 1; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--border); transition: background .5s .3s, border-color .5s .3s; }
.t-item.visible::before { background: var(--orange); border-color: #fff; box-shadow: 0 0 0 3px var(--orange); animation: pulse 2s 1; }
.t-item h3 { margin-bottom: .2em; }
.t-item p { margin: 0; color: var(--muted); font-size: .95rem; }
.elig { padding: 22px 24px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.elig h3 { margin-bottom: .2em; }
.elig .check-list { margin-top: 14px; }

/* ---------- Extra motion ---------- */
@keyframes shimmer { to { background-position: -200% center; } }
@keyframes glow    { 0%,100% { box-shadow: var(--shadow); } 50% { box-shadow: 0 14px 44px rgba(249,115,22,.30); } }
@keyframes wiggle  { 0%,88%,100% { transform: rotate(0); } 91% { transform: rotate(-14deg); } 94% { transform: rotate(12deg); } 97% { transform: rotate(-8deg); } }
@keyframes ripple  { to { transform: scale(28); opacity: 0; } }

/* Green shimmer on the highlighted hero word */
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .accent { background: linear-gradient(90deg, #164E3B, #2E8B6A, #164E3B); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: shimmer 5s linear infinite; }
}
.float-wa svg { animation: wiggle 7s ease-in-out 3s infinite; }
.hero-frame { transform: perspective(900px) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transition: transform .25s var(--ease); will-change: transform; }
.js .reveal .kicker::before { transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease) .3s; }
.js .reveal.visible .kicker::before { transform: none; }
.js .icon-card .icon svg :is(path, circle) { stroke-dasharray: 200; stroke-dashoffset: 200; transition: stroke-dashoffset 1.4s var(--ease) .3s; }
.js .icon-card.visible .icon svg :is(path, circle) { stroke-dashoffset: 0; }
/* cursor spotlight on cards (position set by JS) */
.card, .t-item { position: relative; }
.card::after, .subsidy-card::after, .t-item::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(249,115,22,.12), transparent 65%); }
.card:hover::after, .subsidy-card:hover::after, .t-item:hover::after { opacity: 1; }
/* click ripple on buttons */
.ripple { position: absolute; z-index: -1; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: currentColor; opacity: .25; pointer-events: none; transform: scale(0); animation: ripple .65s ease-out forwards; }


/* ---------- Solar touches (hero, tracker, flow) ---------- */
@keyframes wordUp { to { transform: none; } }
@keyframes glint  { 0% { transform: translateX(-130%); } 45%, 100% { transform: translateX(130%); } }
@keyframes bar    { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
@keyframes dash   { to { background-position: 32px 0; } }
@keyframes dashY  { to { background-position: 0 32px; } }
@keyframes travel { from { left: 0; } to { left: calc(100% - 12px); } }
@keyframes sunpulse { 0%,100% { box-shadow: 0 0 0 0 rgba(249,115,22,.5), 0 0 18px 4px rgba(249,115,22,.55); } 50% { box-shadow: 0 0 0 9px rgba(249,115,22,0), 0 0 30px 8px rgba(249,115,22,.7); } }
@keyframes drift  { to { background-position: 56px 56px, 56px 56px; } }

/* Hero: dawn sky, parallax sun, glinting panel, live output */
.hero { background: linear-gradient(180deg, #EAF7F1 0%, #fff 72%); }
.hero-sun { position: absolute; top: -230px; right: -230px; width: 640px; height: 640px; z-index: 0; pointer-events: none; translate: 0 calc(var(--sy, 0) * .28px); }
.hero-sun::after { content: ""; position: absolute; inset: 28%; border-radius: 50%; background: radial-gradient(circle, #FFD08A 0%, rgba(249,115,22,.55) 45%, rgba(249,115,22,0) 70%); animation: sunpulse 4s ease-in-out infinite; }
.hero-sun .sun-rays { inset: 0; top: 0; right: 0; width: 100%; height: 100%; animation-duration: 50s; }
.hero-visual { translate: 0 calc(var(--sy, 0) * -.05px); }
.hero-copy { translate: 0 calc(var(--sy, 0) * .08px); }
.panel-grid { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; border-radius: inherit;
  background: linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px) 0 0 / 16.666% 25%, linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px) 0 0 / 16.666% 25%; }
.panel-grid::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.6) 50%, transparent 62%); animation: glint 5.5s ease-in-out 1.4s infinite; }
.energy-card { position: absolute; z-index: 3; top: 26px; left: -26px; display: grid; grid-template-columns: auto auto; gap: 2px 14px; align-items: center; padding: 12px 18px; background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-hover); animation: float 7s ease-in-out infinite; }
.e-label { grid-column: 1 / -1; font-size: .68rem; font-weight: 600; color: var(--muted); }
.e-val { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--green); font-variant-numeric: tabular-nums; }
.e-val b { font-weight: 800; }
.e-bars { display: flex; align-items: flex-end; gap: 3px; height: 26px; }
.e-bars i { width: 5px; height: 100%; border-radius: 3px; background: linear-gradient(var(--orange), var(--blue)); transform-origin: bottom; animation: bar 1.8s ease-in-out infinite; }
.e-bars i:nth-child(2) { animation-delay: .2s; } .e-bars i:nth-child(3) { animation-delay: .4s; } .e-bars i:nth-child(4) { animation-delay: .6s; } .e-bars i:nth-child(5) { animation-delay: .8s; }

/* Headline words rise one by one (words are wrapped by JS) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.js .wi { display: inline-block; transform: translateY(115%); animation: wordUp .85s var(--ease) forwards; animation-delay: calc(.25s + var(--i, 0) * .09s); }
.js .accent.wi { animation: wordUp .85s var(--ease) forwards, shimmer 5s linear infinite; animation-delay: calc(.25s + var(--i, 0) * .09s), 0s; }

/* Sun tracker: a small sun travels down the right edge as you scroll */
.sun-track { position: fixed; right: 16px; top: 50%; z-index: 150; width: 2px; height: 38vh; translate: 0 -50%; border-radius: 2px; background: linear-gradient(var(--orange), rgba(11,83,209,.35)); opacity: .55; pointer-events: none; }
.sun-dot { position: absolute; left: -9px; top: calc(var(--p, 0) * 100%); width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FFE3B0, var(--orange)); animation: sunpulse 3s ease-in-out infinite; }

/* Energy flow */
.flow { background: var(--soft); }
.flow-row { display: flex; align-items: stretch; justify-content: center; gap: 0; }
.flow-node { flex: 1 1 0; text-align: center; padding: 28px 20px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.flow-node .icon { margin: 0 auto 16px; }
.flow-node p { color: var(--muted); font-size: .92rem; margin: 0; }
.flow-node:hover .icon { background: var(--green); color: #fff; transform: rotate(-8deg) scale(1.08); }
.flow-line { flex: 0 0 72px; align-self: center; position: relative; height: 4px; border-radius: 4px; background: repeating-linear-gradient(90deg, var(--orange) 0 8px, transparent 8px 16px); background-size: 32px 4px; animation: dash .9s linear infinite; }
.flow-line::after { content: ""; position: absolute; top: -4px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 14px 3px rgba(249,115,22,.7); animation: travel 2.2s ease-in-out infinite; }

/* PV-cell grid behind "Why SOLNEX", final CTA sun */
.why { position: relative; overflow: hidden; }
.why::before { content: ""; position: absolute; inset: 0; pointer-events: none; animation: drift 24s linear infinite;
  background: linear-gradient(rgba(11,83,209,.07) 1px, transparent 1px) 0 0 / 56px 56px, linear-gradient(90deg, rgba(11,83,209,.07) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: linear-gradient(#000, transparent 75%); mask-image: linear-gradient(#000, transparent 75%); }
.why .container { position: relative; z-index: 1; }
.img-frame img[data-parallax] { height: 120%; top: -10%; translate: 0 var(--py, 0px); }

/* ==========================================================
   ENHANCED MOTION
   (all of it is switched off or calmed by prefers-reduced-motion)
   ========================================================== */

/* ----- Values marquee: JS-driven, draggable, with scroll boost ----- */
.marquee { position: relative; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; z-index: 2; width: clamp(40px, 8vw, 120px); pointer-events: none; }
.marquee::before { left: 0;  background: linear-gradient(90deg,  var(--green), rgba(22,78,59,0)); }
.marquee::after  { right: 0; background: linear-gradient(270deg, var(--green), rgba(22,78,59,0)); }
.js .marquee { cursor: grab; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.js .marquee.dragging { cursor: grabbing; }
.js .marquee-track { animation: none; will-change: transform; }       /* JS moves it instead of CSS */
.marquee-track span { transition: color .3s, text-shadow .3s, transform .35s var(--ease); }
.marquee-track span:hover { color: #FFD2A8; text-shadow: 0 0 18px rgba(249,115,22,.75); transform: scale(1.06); }
.marquee-track i { animation: pulse 2.4s infinite; }
.marquee-track i:nth-of-type(2n) { animation-delay: .8s; }
.marquee-track i:nth-of-type(3n) { animation-delay: 1.6s; }
.marquee-toggle { position: absolute; right: clamp(10px, 2vw, 22px); top: 50%; translate: 0 -50%; z-index: 3; width: 34px; height: 34px; padding: 0; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.55); background: rgba(14,58,43,.9); cursor: pointer; display: grid; place-items: center; transition: background .25s, border-color .25s, transform .25s var(--ease); }
.marquee-toggle:hover { background: var(--orange); border-color: var(--orange); transform: scale(1.1); }
.marquee-toggle::before { content: ""; box-sizing: content-box; width: 3px; height: 12px; border-left: 3.5px solid #fff; border-right: 3.5px solid #fff; }   /* pause icon */
.marquee-toggle[aria-pressed="true"]::before { width: 0; height: 0; border-right: 0; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; } /* play icon */

/* ----- Hero: floating sun motes + pointer parallax ----- */
@keyframes spark { 0% { transform: translate(0, 0) scale(.5); opacity: 0; } 15% { opacity: .9; } 100% { transform: translate(var(--dx, 20px), -75vh) scale(1.1); opacity: 0; } }
.hero-sparks { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-sparks i { position: absolute; bottom: -14px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%; opacity: 0;
  background: radial-gradient(circle, #D6FBE8 0%, rgba(34,197,130,.5) 45%, rgba(34,197,130,0) 72%); animation: spark var(--d) linear var(--dl) infinite; }
.hero-glow-1 { translate: calc(var(--px, 0) * -50px) calc(var(--py, 0) * -40px); transition: translate .8s var(--ease); }
.hero-glow-2 { translate: calc(var(--px, 0) * 60px)  calc(var(--py, 0) * 40px);  transition: translate .8s var(--ease); }
.sun-ring    { translate: calc(var(--px, 0) * 22px)  calc(var(--py, 0) * 22px);  transition: translate .6s var(--ease); }
.chip-1      { translate: calc(var(--px, 0) * -26px) calc(var(--py, 0) * -18px); transition: translate .6s var(--ease); }
.chip-2      { translate: calc(var(--px, 0) * 30px)  calc(var(--py, 0) * 20px);  transition: translate .6s var(--ease); }
.energy-card { translate: calc(var(--px, 0) * -22px) calc(var(--py, 0) * 16px);  transition: translate .6s var(--ease); }

/* Script tagline is "written" from left to right */
@keyframes writeIn { from { clip-path: inset(-20% 100% -20% 0); } to { clip-path: inset(-20% 0 -20% 0); } }
.script-accent.intro { animation: introUp .8s var(--ease) forwards, writeIn 1.7s cubic-bezier(.65,.05,.36,1) both; }

/* ----- Scroll reveal gets a soft focus-pull ----- */
.js .reveal, .js .reveal-left, .js .reveal-right, .js .reveal-zoom { filter: blur(6px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); }
.js .reveal.visible, .js .reveal-left.visible, .js .reveal-right.visible, .js .reveal-zoom.visible { filter: none; }
.flow-row > .reveal:nth-child(3) { transition-delay: .15s; }
.flow-row > .reveal:nth-child(5) { transition-delay: .3s; }
.flow-row > .reveal:nth-child(7) { transition-delay: .45s; }

/* Heading accent bar draws itself */
.section-head h2::after { content: ""; display: block; width: 64px; height: 4px; margin: 14px auto 0; border-radius: 4px; background: linear-gradient(90deg, var(--head-red), var(--head-yellow)); transform-origin: center; transition: transform .9s var(--ease) .35s; }
.section-head.left h2::after { margin-left: 0; transform-origin: left; }
.js .section-head:not(.visible) h2::after { transform: scaleX(0); }

/* Step numbers pop in */
@keyframes numPop { from { transform: scale(.4) rotate(-24deg); opacity: 0; } to { transform: none; opacity: 1; } }
.js .step.visible .step-num { animation: numPop .7s var(--ease) .25s both; }

/* ----- 3D tilt on cards (angles set by JS), magnetic buttons ----- */
.card:hover, .subsidy-card:hover { transform: perspective(900px) translateY(-8px) rotateX(var(--trx, 0deg)) rotateY(var(--try, 0deg)); }
.btn { translate: var(--tx, 0px) var(--ty, 0px);
  transition: transform .3s var(--ease), translate .2s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s; }

/* ----- Header slides away while reading down, returns on scroll up ----- */
.site-header { transition: box-shadow .3s, border-color .3s, transform .45s var(--ease); }
.site-header.hide { transform: translateY(-100%); }

/* ----- WhatsApp button pops in ----- */
@keyframes popIn { from { transform: scale(0) rotate(-120deg); opacity: 0; } to { transform: none; opacity: 1; } }
.float-wa { animation: popIn .8s var(--ease) 1.4s backwards; }

/* ==========================================================
   HERO UPGRADE: aurora light, sun arc, glowing frame, polish
   ========================================================== */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes ang      { to { --ang: 360deg; } }
@keyframes aurora   { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(8vw,6vh) scale(1.15); } 66% { transform: translate(-6vw,10vh) scale(.92); } }
@keyframes arcflow  { to { stroke-dashoffset: -60; } }
@keyframes ctaGlow  { 0%,100% { box-shadow: 0 10px 24px rgba(249,115,22,.30), 0 0 0 0 rgba(249,115,22,.45); } 50% { box-shadow: 0 14px 32px rgba(249,115,22,.45), 0 0 0 12px rgba(249,115,22,0); } }
@keyframes cueDrop  { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }
@keyframes chipIn   { from { opacity: 0; scale: .6; } to { opacity: 1; scale: 1; } }
@keyframes eyeShine { to { background-position: -200% center; } }

/* Moving aurora + pointer-following light behind everything */
.hero::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(520px circle at calc(50% + var(--px, 0) * 100%) calc(45% + var(--py, 0) * 100%), rgba(120,215,175,.26), transparent 62%); }
.hero::after { content: ""; position: absolute; width: 46vw; height: 46vw; max-width: 620px; max-height: 620px; left: 18%; top: 8%; z-index: 0; pointer-events: none; border-radius: 50%;
  background: radial-gradient(circle, rgba(22,78,59,.10), rgba(11,83,209,.06) 50%, transparent 70%); filter: blur(30px); animation: aurora 22s ease-in-out infinite; }

/* Sun arcs across the hero like a day path */
.sun-arc { position: absolute; left: 0; bottom: 0; width: 100%; height: 78%; z-index: 0; pointer-events: none; overflow: visible; }
.arc-line { stroke-dasharray: 3 14; animation: arcflow 3s linear infinite; }
.arc-sun { fill: #F97316; filter: drop-shadow(0 0 10px rgba(249,115,22,.9)) drop-shadow(0 0 26px rgba(251,191,36,.7)); }

/* Eyebrow: light sweeps across the text */
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .eyebrow { background: linear-gradient(90deg, var(--blue) 0 38%, #7FB0FF 50%, var(--blue) 62% 100%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: introUp .8s var(--ease) .05s forwards, eyeShine 6s linear 1s infinite; }
}

/* Image frame: glowing, orbiting gradient edge */
.hero-frame::after { content: ""; position: absolute; inset: 0; z-index: 4; border-radius: inherit; padding: 2.5px; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent 0 62%, #22C58A 78%, #7FD6FF 88%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: ang 6s linear infinite; }
.hero-visual::before { content: ""; position: absolute; inset: 6% 4% -4%; z-index: -1; border-radius: 40px; background: conic-gradient(from var(--ang), rgba(34,197,130,.35), rgba(11,83,209,.28), rgba(34,197,130,.35)); filter: blur(46px); opacity: .55; animation: ang 12s linear infinite; }

/* Placeholder (no photo yet) becomes a rich solar-panel look */
.hero-frame.no-img { background: linear-gradient(135deg, #0A3250 0%, #164E3B 55%, #0B53D1 120%); border-color: rgba(255,255,255,.25); }
.hero-frame.no-img::before { color: #fff; opacity: .75; }
.hero-frame.no-img .panel-grid { background: linear-gradient(rgba(255,255,255,.22) 1px, transparent 1px) 0 0 / 16.666% 25%, linear-gradient(90deg, rgba(255,255,255,.22) 1px, transparent 1px) 0 0 / 16.666% 25%; }

/* Ring gets an orbiting sun */
.sun-ring::before { content: ""; position: absolute; top: -6px; left: calc(50% - 6px); width: 12px; height: 12px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 14px 4px rgba(249,115,22,.7); }

/* Chips and card arrive with a pop, then float */
.energy-card, .chip-1, .chip-2 { animation: chipIn .7s var(--ease) backwards, float 7s ease-in-out 1s infinite; }
.energy-card { animation-delay: 1.1s, 1.8s; }
.chip-1 { animation-delay: 1.3s, 2s; }
.chip-2 { animation-delay: 1.5s, 2.2s; animation-direction: normal, reverse; }

/* Main button breathes */
.hero .btn-primary { animation: introUp .8s var(--ease) .46s forwards, ctaGlow 3.2s ease-in-out 1.6s infinite; }

/* Scroll cue */
.scroll-cue { position: absolute; left: 50%; bottom: 14px; translate: -50% 0; z-index: 2; width: 26px; height: 42px; border: 2px solid rgba(22,78,59,.45); border-radius: 16px; display: block; transition: border-color .3s; }
.scroll-cue:hover { border-color: var(--orange); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--orange); animation: cueDrop 1.8s ease-in-out infinite; }
@media (max-width: 860px) { .scroll-cue { display: none; } .sun-arc { height: 55%; } }

@media (prefers-reduced-motion: reduce) {
  .hero::after, .hero-visual::before { animation: none !important; }
  .sun-arc { display: none; }
  .energy-card, .chip-1, .chip-2, .hero .btn-primary, .eyebrow { opacity: 1 !important; }
}

/* ==========================================================
   ANIMATED BACKDROP BEHIND THE HERO IMAGE
   ========================================================== */
@keyframes ringWave { 0% { transform: scale(.78); opacity: .6; } 100% { transform: scale(1.32); opacity: 0; } }
@keyframes orbitCW  { to { transform: rotate(360deg); } }
@keyframes orbitCCW { to { transform: rotate(-360deg); } }
@keyframes tileFloat { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-16px) rotate(4deg); } }
@keyframes boltBob  { 0%,100% { transform: translateY(0) scale(1); opacity: .9; } 50% { transform: translateY(-12px) scale(1.2); opacity: 1; } }
@keyframes twinkle  { 0%,100% { transform: scale(.3) rotate(0); opacity: .2; } 50% { transform: scale(1.1) rotate(45deg); opacity: 1; } }
@keyframes orbDrift { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(24px,-20px) scale(1.18); } }

.hv-back { position: absolute; inset: -9% -10%; z-index: 0; pointer-events: none; translate: calc(var(--px, 0) * -18px) calc(var(--py, 0) * -14px); transition: translate .6s var(--ease); }
.hv-back svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hv-orb { position: absolute; border-radius: 50%; filter: blur(34px); animation: orbDrift 10s ease-in-out infinite; }
.hv-orb-a { width: 46%; height: 46%; left: -4%; top: -2%; background: radial-gradient(circle, rgba(34,197,130,.5), transparent 70%); }
.hv-orb-b { width: 50%; height: 50%; right: -6%; bottom: -4%; background: radial-gradient(circle, rgba(11,83,209,.38), transparent 70%); animation-delay: -5s; }
.hv-back .pr { fill: none; stroke: #22C58A; stroke-width: 1.6; transform-box: fill-box; transform-origin: center; animation: ringWave 6s ease-out infinite; }
.hv-back .pr2 { animation-delay: 2s; stroke: #0B53D1; }
.hv-back .pr3 { animation-delay: 4s; }
.hv-back .orbit { transform-origin: 300px 260px; }
.hv-back .o1 { animation: orbitCW 42s linear infinite; }
.hv-back .o2 { animation: orbitCCW 58s linear infinite; }
.hv-back .flow { fill: none; stroke: #F97316; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 5 9; opacity: .7; animation: arcflow 1.4s linear infinite; }
.hv-back .eflow { fill: #FFC24A; filter: drop-shadow(0 0 6px rgba(249,115,22,.95)); }
.hv-back .tile { transform-box: fill-box; transform-origin: center; animation: tileFloat 6s ease-in-out infinite; filter: drop-shadow(0 8px 10px rgba(11,83,209,.28)); }
.hv-back .t2 { animation-delay: -1.5s; } .hv-back .t3 { animation-delay: -3s; } .hv-back .t4 { animation-delay: -4.5s; } .hv-back .t5 { animation-delay: -2s; animation-duration: 7s; }
.hv-back .bolt { transform-box: fill-box; transform-origin: center; animation: boltBob 3.2s ease-in-out infinite; filter: drop-shadow(0 0 6px rgba(249,115,22,.7)); }
.hv-back .b2 { animation-delay: -1s; } .hv-back .b3 { animation-delay: -2s; }
.hv-back .twk { transform-box: fill-box; transform-origin: center; animation: twinkle 3s ease-in-out infinite; }
.hv-back .s2 { animation-delay: -.6s; } .hv-back .s3 { animation-delay: -1.2s; } .hv-back .s4 { animation-delay: -1.8s; } .hv-back .s5 { animation-delay: -2.4s; }
@media (max-width: 860px) { .hv-back { inset: -4% -4%; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .card-grid.four { grid-template-columns: repeat(2, 1fr); }
  .enquiry-card { grid-template-columns: 1fr; }
  .calc-form { grid-template-columns: 1fr 1fr; }
  .calc-form .btn { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .menu-toggle { display: flex; }
  .main-nav { position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 18px; background: #fff; padding: 22px 20px 26px; border-bottom: 1px solid var(--border); box-shadow: 0 16px 30px rgba(23,50,77,.1); display: none; }
  .main-nav.open { display: flex; animation: rise .3s var(--ease); }
  .main-nav ul { flex-direction: column; gap: 6px; }
  .main-nav a:not(.btn) { display: block; padding: 12px 4px; font-size: 1rem; }
  .nav-cta { width: 100%; }
  .hero-grid, .how-grid { grid-template-columns: 1fr; }
  .hero-frame { aspect-ratio: 4 / 3; }
  .tall-frame { aspect-ratio: 4 / 3; }
  .card-grid.three, .subsidy-grid, .usage, .pm-grid { grid-template-columns: 1fr; }
  .flow-row { flex-direction: column; }
  .flow-line { flex-basis: 44px; width: 4px; height: auto; background: repeating-linear-gradient(var(--orange) 0 8px, transparent 8px 16px); background-size: 4px 32px; animation-name: dashY; }
  .flow-line::after { display: none; }
  .hero-sun { width: 420px; height: 420px; top: -150px; right: -150px; }
  .energy-card { left: 8px; top: 14px; }
  .pm-panel { position: static; }
  .footer-grid { grid-template-columns: 1fr; }
  .chip-1 { left: 8px; }
  .sun-ring { right: -6px; width: 110px; height: 110px; }
}
@media (max-width: 600px) {
  .form-grid, .calc-form { grid-template-columns: 1fr; }
  .card-grid.four { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .brand-text { font-size: .6rem; letter-spacing: .2em; }
  .brand img { width: 54px; }
  .accent { white-space: normal; }
  .float-wa { right: 14px; bottom: 14px; width: 54px; height: 54px; }
  .step { padding: 18px; }
  .pm-stats { grid-template-columns: 1fr; }
}

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .intro, .intro-visual, .js .reveal, .js .reveal-left, .js .reveal-right, .js .reveal-zoom { opacity: 1 !important; transform: none !important; }
  .hero-frame { transform: none !important; }
  .js .wi { transform: none !important; }
  .hero-sun, .hero-visual, .hero-copy { translate: none !important; }
  .hero-sparks { display: none; }
  .js .reveal, .js .reveal-left, .js .reveal-right, .js .reveal-zoom { filter: none !important; }
  .script-accent.intro { clip-path: none !important; }
  .float-wa { animation: none !important; }
}
@media (max-width: 1100px) { .sun-track { display: none; } }

/* ==========================================================
   CLASSY FULL-IMAGE HERO
   Paste this at the VERY END of style.css (after everything else).
   Same palette: Forest Green #164E3B | Orange #F97316 | Blue #0B53D1
   ========================================================== */

.hero.hero-classy {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(580px, 88vh, 820px);
  display: flex; align-items: center;
  padding: clamp(80px, 10vw, 130px) 0 clamp(80px, 9vw, 120px);
  background: var(--green-dark);
}
/* remove the old aurora / pointer light layers */
.hero.hero-classy::before,
.hero.hero-classy::after { display: none; }

/* ----- Background photo + slow cinematic zoom ----- */
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 70% center;
  transform: scale(1.04); animation: heroZoom 22s ease-in-out infinite alternate;
}
@keyframes heroZoom { to { transform: scale(1.12); } }

/* ----- Dark green overlay: strong on the left for text, clear on the right ----- */
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10,45,33,.94) 0%, rgba(14,58,43,.82) 36%, rgba(22,78,59,.40) 68%, rgba(22,78,59,.12) 100%),
    linear-gradient(180deg, rgba(10,45,33,.35) 0%, transparent 30%, rgba(10,45,33,.55) 100%);
}

.hero-content { position: relative; width: min(1180px, 100% - 40px); }
.hero.hero-classy .hero-copy { max-width: 640px; translate: none; }

/* ----- Text colours for a dark background ----- */
.hero.hero-classy .eyebrow {
  background: none; -webkit-text-fill-color: currentColor;
  color: #9FE3C4; font-size: .74rem; letter-spacing: .2em;
  display: inline-block; padding-left: 38px; position: relative; margin-bottom: 1.4rem;
  animation: introUp .8s var(--ease) .05s forwards;
}
.hero.hero-classy .eyebrow::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 28px; height: 2px; background: var(--orange);
}
.hero.hero-classy h1 {
  color: #fff; font-size: clamp(2.4rem, 5.4vw, 4.1rem); line-height: 1.08;
  margin-bottom: .5em; text-shadow: 0 4px 30px rgba(0,0,0,.25);
}
.hero.hero-classy .accent {
  background: linear-gradient(90deg, #7FE0B2, #3FBF8A, #7FE0B2); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero.hero-classy .lead {
  color: rgba(255,255,255,.88); font-size: 1.12rem; max-width: 46ch; margin-bottom: 0;
}
.hero.hero-classy .btn-row { margin-top: 2.2rem; gap: 16px; }

/* Ghost (outline) button for dark backgrounds */
.btn-ghost {
  background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.75);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: #fff; color: var(--green); border-color: #fff; box-shadow: 0 14px 30px rgba(0,0,0,.25); }

/* ----- One glass card, bottom right ----- */
.hero.hero-classy .energy-card {
  top: auto; left: auto; right: 0; bottom: -20px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0,0,0,.28); color: #fff;
  translate: none;
}
.hero.hero-classy .e-label { color: rgba(255,255,255,.85); }
.hero.hero-classy .e-val { color: #fff; }

/* ----- Scroll cue on dark ----- */
.hero.hero-classy .scroll-cue { border-color: rgba(255,255,255,.6); }

/* card hides on narrower screens so it never overlaps the text */
@media (max-width: 1000px) { .hero.hero-classy .solar-card { display: none; } }

/* ----- Mobile ----- */
@media (max-width: 860px) {
  .hero.hero-classy { min-height: 620px; align-items: flex-end; padding: 110px 0 90px; }
  .hero-bg img { object-position: 62% center; }
  .hero-overlay {
    background: linear-gradient(180deg, rgba(10,45,33,.55) 0%, rgba(14,58,43,.82) 45%, rgba(10,45,33,.95) 100%);
  }
  .hero.hero-classy .solar-card { display: none; }
}
@media (max-width: 600px) {
  .hero.hero-classy .btn-row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg img { animation: none !important; transform: none !important; }
}

/* ==========================================================
   SOLAR CARD + GOLDEN MOTES (hero v2)
   ========================================================== */
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(63,191,138,.7); } 100% { box-shadow: 0 0 0 9px rgba(63,191,138,0); } }
@keyframes scDraw { to { stroke-dashoffset: 0; } }
@keyframes scFade { to { opacity: 1; } }
@keyframes scGlow { 0%,100% { opacity: .45; transform: scale(1); } 50% { opacity: .8; transform: scale(1.12); } }

/* heading: each phrase on its own line */
.hero.hero-classy h1 .ln { display: block; }

/* lighter overlay on the right so the photo feels brighter and richer */
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10,45,33,.93) 0%, rgba(14,58,43,.78) 34%, rgba(22,78,59,.26) 66%, rgba(22,78,59,.04) 100%),
    linear-gradient(180deg, rgba(10,45,33,.28) 0%, transparent 28%, rgba(10,45,33,.45) 100%);
}

/* golden motes rising through the hero */
.hero-classy .hero-sparks i { background: radial-gradient(circle, #FFE3B0 0%, rgba(249,115,22,.45) 45%, rgba(249,115,22,0) 72%); }

/* ----- the card ----- */
.solar-card {
  position: absolute; right: 0; bottom: -26px; width: 296px; padding: 16px 18px 12px;
  border-radius: 22px; color: #fff; isolation: isolate;
  background: linear-gradient(160deg, rgba(255,255,255,.20), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.22);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 26px 60px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.35);
  animation: chipIn .8s var(--ease) 1.1s backwards, float 7s ease-in-out 2s infinite;
}
.solar-card::before { /* warm glow behind the card */
  content: ""; position: absolute; inset: -30px; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,.35), transparent 65%); filter: blur(24px);
  animation: scGlow 4.5s ease-in-out infinite; pointer-events: none;
}
.solar-card::after { /* orbiting light on the border */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent 0 70%, #FBBF24 84%, #F97316 92%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: ang 5s linear infinite;
}
.sc-top { display: flex; align-items: center; gap: 9px; font-size: .72rem; font-weight: 600; color: rgba(255,255,255,.9); letter-spacing: .02em; }
.sc-top i { width: 8px; height: 8px; border-radius: 50%; background: #3FBF8A; animation: livePulse 1.8s ease-out infinite; flex: none; }
.sc-main { display: flex; align-items: baseline; gap: 6px; margin: 6px 0 4px; }
.sc-val { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; text-shadow: 0 0 26px rgba(251,191,36,.45); }
.sc-unit { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: #9FE3C4; }
.sc-chart { display: block; width: 100%; height: 66px; overflow: visible; }
.sc-base { stroke: rgba(255,255,255,.22); stroke-width: 1; stroke-dasharray: 2 5; }
.sc-area { fill: url(#sc-fill); }
.sc-line { fill: none; stroke: url(#sc-stroke); stroke-width: 2.8; stroke-linecap: round; }
.sc-dot { fill: #fff; opacity: 0; filter: drop-shadow(0 0 6px rgba(251,191,36,.95)) drop-shadow(0 0 14px rgba(249,115,22,.9)); }
.sc-time { display: flex; justify-content: space-between; margin-top: 2px; font-size: .62rem; font-weight: 600; letter-spacing: .06em; color: rgba(255,255,255,.7); }

@media (max-width: 1000px) { .solar-card { display: none; } }

/* hero photo drifts slightly with the pointer (--px/--py are set by script.js) */
.hero-classy .hero-bg { translate: calc(var(--px, 0) * -16px) calc(var(--py, 0) * -10px); transition: translate .7s var(--ease); }
@media (prefers-reduced-motion: reduce) { .hero-classy .hero-bg { translate: none; } }

/* solar card v3 extras */
@keyframes scPing { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3.4); opacity: 0; } }
.sc-ghost { fill: none; stroke: rgba(255,255,255,.28); stroke-width: 1.6; stroke-dasharray: 2 5; stroke-linecap: round; }
.sc-guide { stroke: rgba(251,191,36,.55); stroke-width: 1; stroke-dasharray: 2 3; }
.sc-ping { fill: none; stroke: #FBBF24; stroke-width: 1.6; transform-box: fill-box; transform-origin: center; animation: scPing 1.8s ease-out infinite; opacity: 0; }
.sc-clock { margin-left: auto; font-variant-numeric: tabular-nums; font-weight: 700; color: #FBBF24; }

/* ==========================================================
   HERO v4: sun rays, light sweep over the panels, pointer spotlight,
   and a calm-motion mode (small in-card motion stays on when the
   system asks for reduced motion; big movement stays off).
   ========================================================== */
.hero-classy .hero-bg { overflow: hidden; }
/* light sweeps across the solar panels every few seconds */
.hero-classy .hero-bg::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255,236,200,.26) 50%, transparent 62%);
  transform: translateX(-130%); animation: glint 7.5s ease-in-out 2.2s infinite;
}
/* warm spotlight that follows the pointer (--px/--py come from script.js) */
.hero-classy .hero-overlay::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(460px circle at calc(50% + var(--px, 0) * 100%) calc(50% + var(--py, 0) * 100%), rgba(255,206,130,.17), transparent 62%);
}
/* sun in the top-right corner: soft glow + slowly turning rays */
.hero-classy .hero-sun { z-index: 0; mix-blend-mode: screen; opacity: .85; top: -260px; right: -260px; }
.hero-classy .hero-sun::after {
  inset: 0; border-radius: 50%; box-shadow: none;
  background: radial-gradient(circle, rgba(255,214,150,.60) 0%, rgba(249,115,22,.20) 32%, transparent 62%);
  animation: scGlow 6s ease-in-out infinite;
}
.hero-classy .hero-sun .sun-rays { background: repeating-conic-gradient(rgba(255,190,110,.16) 0 5deg, transparent 5deg 15deg); }
@media (max-width: 860px) { .hero-classy .hero-sun { width: 360px; height: 360px; top: -140px; right: -140px; } }

@media (prefers-reduced-motion: reduce) {
  .sc-top i { animation: livePulse 1.8s ease-out infinite !important; }
  .sc-ping { animation: scPing 1.8s ease-out infinite !important; }
  .solar-card::after { animation: ang 6s linear infinite !important; }
  .solar-card::before { animation: scGlow 4.5s ease-in-out infinite !important; }
  .hero-classy .hero-sun::after { animation: scGlow 6s ease-in-out infinite !important; }
  .hero-classy .hero-sun .sun-rays { animation: spin 120s linear infinite !important; }
}

/* ---------- Customer reviews section ---------- */
.reviews { background: var(--soft); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.review-card {
  display: flex; flex-direction: column; gap: 18px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.review-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.rv-head { display: flex; align-items: center; gap: 16px; }
.rv-avatar { flex: 0 0 76px; width: 76px; height: 76px; border-radius: 50%; border: 3px solid var(--orange); box-shadow: 0 0 0 4px rgba(249,115,22,.14); }
.rv-avatar::before { font-size: .6rem; padding: 4px; }
.rv-who h3 { font-size: 1.05rem; margin: 0 0 2px; }
.rv-who p { margin: 0; font-size: .88rem; color: var(--muted); }
.rv-stars { color: var(--orange); font-size: 1.05rem; letter-spacing: 2px; margin-top: 4px; line-height: 1; }
.rv-text { position: relative; margin: 0; padding: 4px 0 0 0; flex: 1 1 auto; }
.rv-text::before { content: "\201C"; position: absolute; top: -18px; left: -4px; font-family: var(--font-head); font-size: 3.6rem; font-weight: 800; color: var(--orange); opacity: .25; line-height: 1; }
.rv-text p { position: relative; margin: 0; color: var(--text); font-size: .98rem; font-style: italic; }
.rv-work { margin: 0; }
.rv-work-frame { aspect-ratio: 10 / 7; border-radius: var(--radius-sm); }
.rv-work-frame img { transition: transform .6s var(--ease); }
.review-card:hover .rv-work-frame img { transform: scale(1.05); }
.rv-work figcaption { margin-top: 8px; font-size: .82rem; font-weight: 600; color: var(--green); letter-spacing: .03em; }
.reviews-grid > .reveal:nth-child(2) { transition-delay: .12s; }
.reviews-grid > .reveal:nth-child(3) { transition-delay: .24s; }
@media (max-width: 980px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .reviews-grid { grid-template-columns: 1fr; } .review-card { padding: 20px; } }