/* ==========================================================================
   SOLARINFA ENERGY PRIVATE LIMITED — Website Design System
   Palette is taken directly from the brand logo: deep forest wordmark,
   layered leaf greens and the warm cream background.
   ========================================================================== */

:root {
  --forest-950: #14231C;
  --forest-900: #1B2E25;
  --forest-800: #23392F;
  --forest-700: #2E4A3D;
  --forest-600: #3C5E4E;
  --leaf-600:   #4F8A3A;
  --leaf-500:   #6FA04E;
  --leaf-400:   #8CBE62;
  --leaf-300:   #B2D47E;
  --leaf-200:   #D3E7B0;
  --leaf-100:   #E9F2DC;
  --cream:      #F5F1EA;
  --paper:      #FBF9F4;
  --sand:       #ECE5D8;
  --sand-dark:  #DCD3C2;
  --sun:        #E3A93B;
  --ink:        #1B2A23;
  --body:       #4A5A52;
  --muted:      #7C8A82;
  --line:       rgba(27, 46, 37, .12);
  --line-light: rgba(245, 241, 234, .14);

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(20, 35, 28, .06), 0 2px 8px rgba(20, 35, 28, .05);
  --shadow: 0 10px 30px -12px rgba(20, 35, 28, .22);
  --shadow-lg: 0 30px 60px -24px rgba(20, 35, 28, .35);
  --ease: cubic-bezier(.22, .9, .24, 1);
  --header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.12; font-weight: 600; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--leaf-300); color: var(--forest-900); }
:focus-visible { outline: 2px solid var(--leaf-500); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 920px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typography ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "SOFT" 50, "opsz" 96;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.display em, .h-section em {
  font-style: italic;
  color: var(--leaf-600);
  font-weight: 400;
}
.on-dark .display em, .on-dark .h-section em { color: var(--leaf-300); }
.h-hero { font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1.02; }
.h-section {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "SOFT" 50, "opsz" 72;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  letter-spacing: -0.018em;
  line-height: 1.08;
}
.lead { font-size: 1.08rem; line-height: 1.75; color: var(--body); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--leaf-600);
}
.eyebrow::before {
  content: ""; width: 22px; height: 10px; flex-shrink: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 20'%3E%3Cpath d='M2 10C10 1 26 1 42 10C26 19 10 19 2 10Z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 20'%3E%3Cpath d='M2 10C10 1 26 1 42 10C26 19 10 19 2 10Z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.on-dark { color: rgba(245, 241, 234, .74); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark .display { color: var(--cream); }
.on-dark .eyebrow { color: var(--leaf-300); }
.on-dark .lead { color: rgba(245, 241, 234, .72); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--forest-800); --btn-fg: var(--cream);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: .92rem; letter-spacing: .01em; line-height: 1;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .35s var(--ease), border-color .35s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--leaf-500);
  transform: translateY(101%); border-radius: inherit;
  transition: transform .45s var(--ease);
}
.btn:hover::after { transform: translateY(0); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(46, 74, 61, .55); }
.btn .arrow { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-leaf { --btn-bg: var(--leaf-500); --btn-fg: #fff; }
.btn-leaf::after { background: var(--forest-800); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--forest-800); border-color: var(--forest-800); }
.btn-ghost:hover { color: #fff; border-color: var(--leaf-500); }
.btn-light { --btn-bg: var(--cream); --btn-fg: var(--forest-900); }
.btn-light:hover { color: #fff; }
.btn-outline-light { --btn-bg: transparent; --btn-fg: var(--cream); border-color: rgba(245, 241, 234, .4); }
.btn-outline-light::after { background: var(--cream); }
.btn-outline-light:hover { color: var(--forest-900); border-color: var(--cream); }
.btn-wa { --btn-bg: #1FA855; --btn-fg: #fff; }
.btn-wa::after { background: #178A45; }
.btn-sm { padding: 11px 18px; font-size: .84rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--forest-800);
  font-size: .92rem; background: linear-gradient(currentColor, currentColor) 0 100%/0 1.5px no-repeat;
  padding-bottom: 3px; transition: background-size .4s var(--ease), color .3s;
}
.link-arrow:hover { background-size: 100% 1.5px; color: var(--leaf-600); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translate(3px, -3px); }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 2000;
  display: grid; place-items: center;
  background: var(--cream);
  transition: clip-path 1s var(--ease), visibility 0s linear 1s;
  clip-path: inset(0 0 0 0);
}
.preloader.done { clip-path: inset(0 0 100% 0); visibility: hidden; }
.preloader-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.pl-ring { position: relative; width: 150px; height: 150px; }
.pl-ring svg { width: 100%; height: 100%; animation: plSpin 6s linear infinite; }
.pl-leaf { opacity: 0; transform-box: fill-box; transform-origin: center; animation: plLeaf 1.6s var(--ease) infinite; }
.pl-sprout {
  position: absolute; inset: 0; display: grid; place-items: center;
}
.pl-sprout svg { width: 54px; height: 54px; animation: none; }
.pl-sprout path { stroke-dasharray: 120; stroke-dashoffset: 120; animation: plDraw 1.4s .2s var(--ease) forwards; }
.pl-word {
  font-family: var(--font-sans); font-weight: 800; letter-spacing: .42em; font-size: .78rem;
  color: var(--forest-800); text-transform: uppercase; padding-left: .42em;
  opacity: 0; animation: plFade .8s .3s var(--ease) forwards;
}
.pl-bar { width: 160px; height: 2px; background: var(--sand-dark); border-radius: 2px; overflow: hidden; }
.pl-bar span { display: block; height: 100%; width: 0; background: var(--leaf-500); border-radius: 2px; transition: width .4s ease; }
@keyframes plSpin { to { transform: rotate(360deg); } }
@keyframes plLeaf { 0% { opacity: 0; transform: scale(.4); } 30% { opacity: 1; transform: scale(1); } 70% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(.6); } }
@keyframes plDraw { to { stroke-dashoffset: 0; } }
@keyframes plFade { to { opacity: 1; } }

/* ---------- Top bar & header ---------- */
.topbar {
  background: var(--forest-900); color: rgba(245, 241, 234, .72);
  font-size: .8rem; font-weight: 500;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 40px; }
.topbar-group { display: flex; align-items: center; gap: 26px; }
.topbar a:hover { color: var(--leaf-300); }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; }
.topbar-item svg { width: 14px; height: 14px; color: var(--leaf-300); }
.topbar-badge {
  display: inline-flex; align-items: center; gap: 7px; background: rgba(140, 190, 98, .16); color: var(--leaf-200);
  border: 1px solid rgba(140, 190, 98, .3); padding: 4px 12px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .04em;
}
.topbar-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--leaf-400); box-shadow: 0 0 0 3px rgba(140, 190, 98, .25); }

.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(251, 249, 244, .86);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .35s, border-color .35s, background .35s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px -18px rgba(20, 35, 28, .4); background: rgba(251, 249, 244, .94); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; transition: height .35s var(--ease); }
.site-header.scrolled .nav { height: 72px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 70px; width: auto; transition: height .35s var(--ease); }
.site-header.scrolled .brand img { height: 58px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative; padding: 10px 14px; font-weight: 600; font-size: .92rem; color: var(--forest-700);
  border-radius: 999px; transition: color .25s, background .25s;
}
.nav-link:hover { color: var(--forest-900); background: rgba(46, 74, 61, .06); }
.nav-link.active { color: var(--forest-900); }
.nav-link.active::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: var(--leaf-500);
}
.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-phone { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--forest-800); font-size: .9rem; }
.nav-phone .ico { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--leaf-100); color: var(--leaf-600); transition: background .3s, color .3s; }
.nav-phone:hover .ico { background: var(--leaf-500); color: #fff; }
.nav-phone small { display: block; font-size: .68rem; font-weight: 600; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; line-height: 1.2; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--forest-800); border-radius: 2px; transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease); }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
body.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 880; background: var(--forest-900); color: var(--cream);
  padding: calc(var(--header-h) + 40px) 28px 32px; display: flex; flex-direction: column;
  clip-path: circle(0% at calc(100% - 48px) 42px); transition: clip-path .7s var(--ease); visibility: hidden;
}
body.menu-open .drawer { clip-path: circle(150% at calc(100% - 48px) 42px); visibility: visible; }
body.menu-open { overflow: hidden; }
body.menu-open .site-header { background: var(--paper); }
.drawer a.d-link {
  font-family: var(--font-display); font-size: 2.1rem; font-weight: 500; color: var(--cream);
  padding: 8px 0; border-bottom: 1px solid var(--line-light);
  display: flex; justify-content: space-between; align-items: center;
  opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .5s var(--ease), color .2s;
}
.drawer a.d-link:hover, .drawer a.d-link.active { color: var(--leaf-300); }
body.menu-open .drawer a.d-link { opacity: 1; transform: none; }
.drawer a.d-link span { font-family: var(--font-sans); font-size: .75rem; color: rgba(245, 241, 234, .4); letter-spacing: .1em; }
.drawer-foot { margin-top: auto; padding-top: 28px; display: grid; gap: 10px; font-size: .92rem; color: rgba(245, 241, 234, .7); }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.section-tight { padding: clamp(56px, 7vw, 88px) 0; }
.bg-paper { background: var(--paper); }
.bg-cream { background: var(--cream); }
.bg-forest { background: var(--forest-900); }
.bg-leaf-soft { background: var(--leaf-100); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(40px, 5vw, 64px); flex-wrap: wrap; }
.section-head .h-section { margin-top: 14px; max-width: 680px; }
.section-head p { max-width: 420px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head.center p { max-width: 600px; }

/* ---------- Reveal animations ---------- */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="zoom"] { transform: scale(.94); }
[data-reveal].in { opacity: 1; transform: none; }
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-words .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 70ms + .15s); }
.split-words.in .w > span { transform: none; }
.img-reveal { position: relative; overflow: hidden; }
.img-reveal::after { content: ""; position: absolute; inset: 0; background: var(--leaf-200); transform-origin: right; transition: transform 1.2s var(--ease); transition-delay: var(--d, .1s); }
.img-reveal.in::after { transform: scaleX(0); }
.img-reveal img { transform: scale(1.18); transition: transform 1.6s var(--ease); transition-delay: var(--d, .1s); }
.img-reveal.in img { transform: scale(1); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal], .split-words .w > span, .img-reveal img { transition: none !important; opacity: 1 !important; transform: none !important; }
  .img-reveal::after { display: none; }
  .marquee-track, .pl-ring svg, .hero-badge svg { animation: none !important; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--cream); overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 7vw, 100px); }
.hero::before {
  content: ""; position: absolute; width: 820px; height: 820px; right: -260px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(178, 212, 126, .45) 0%, rgba(178, 212, 126, 0) 65%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line); font-size: .8rem; font-weight: 600; color: var(--forest-700);
  box-shadow: var(--shadow-sm);
}
.hero-kicker b { background: var(--forest-800); color: var(--leaf-200); border-radius: 999px; padding: 4px 10px; font-size: .7rem; letter-spacing: .08em; }
.hero h1 { margin-top: 26px; }
.hero-sub { margin-top: 26px; max-width: 540px; font-size: 1.1rem; line-height: 1.75; }
.hero-ctas { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { margin-top: 52px; display: grid; grid-template-columns: repeat(3, 1fr); max-width: 560px; border-top: 1px solid var(--line); }
.hero-stat { padding: 20px 18px 0 0; }
.hero-stat + .hero-stat { padding-left: 20px; border-left: 1px solid var(--line); }
.hero-stat .num { font-family: var(--font-display); font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 500; color: var(--forest-900); line-height: 1; letter-spacing: -0.02em; }
.hero-stat .lbl { font-size: .78rem; color: var(--muted); margin-top: 8px; font-weight: 600; line-height: 1.4; }

.hero-visual { position: relative; padding: 0 0 30px 30px; }
.hero-frame {
  position: relative; aspect-ratio: 4 / 4.7; border-radius: 280px 280px 28px 28px; overflow: hidden;
  background: var(--forest-800); box-shadow: var(--shadow-lg);
}
.hero-frame img, .hero-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-frame .slide { opacity: 0; transform: scale(1.08); transition: opacity 1.4s ease, transform 7s linear; }
.hero-frame .slide.on { opacity: 1; transform: scale(1); }
.hero-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 35, 28, 0) 55%, rgba(20, 35, 28, .55)); pointer-events: none; }
.hero-dots { position: absolute; z-index: 3; bottom: 24px; right: 28px; display: flex; gap: 7px; }
.hero-dots button { width: 8px; height: 8px; border-radius: 99px; border: 0; padding: 0; background: rgba(255, 255, 255, .45); transition: width .4s var(--ease), background .3s; }
.hero-dots button.on { width: 26px; background: #fff; }
.hero-badge { position: absolute; z-index: 4; top: 30px; left: -6px; width: 128px; height: 128px; border-radius: 50%; background: var(--forest-900); display: grid; place-items: center; box-shadow: var(--shadow); }
.hero-badge svg.ring { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); animation: plSpin 18s linear infinite; }
.hero-badge svg.ring text { font-family: var(--font-sans); font-size: 10.4px; font-weight: 700; letter-spacing: 2.6px; fill: var(--leaf-200); text-transform: uppercase; }
.hero-badge .core { width: 46px; height: 46px; border-radius: 50%; background: var(--leaf-400); display: grid; place-items: center; color: var(--forest-900); }
.float-card {
  position: absolute; z-index: 4; background: rgba(251, 249, 244, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .7); border-radius: 18px; box-shadow: var(--shadow); padding: 16px 18px;
}
.float-card.fc-subsidy { left: 0; bottom: 0; display: flex; gap: 14px; align-items: center; animation: bob 6s ease-in-out infinite; }
.float-card.fc-gen { right: -18px; top: 46%; width: 210px; animation: bob 7s ease-in-out -2s infinite; }
.fc-ico { width: 46px; height: 46px; border-radius: 14px; background: var(--leaf-100); color: var(--leaf-600); display: grid; place-items: center; flex-shrink: 0; }
.fc-k { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.fc-v { font-family: var(--font-display); font-size: 1.5rem; color: var(--forest-900); line-height: 1.1; font-weight: 500; }
.fc-bars { display: flex; align-items: flex-end; gap: 3px; height: 38px; margin-top: 10px; }
.fc-bars i { flex: 1; border-radius: 3px 3px 1px 1px; background: linear-gradient(to top, var(--leaf-500), var(--leaf-300)); transform-origin: bottom; animation: grow 1.2s var(--ease) both; }
.fc-live { display: inline-flex; align-items: center; gap: 6px; font-size: .7rem; font-weight: 700; color: var(--leaf-600); letter-spacing: .08em; }
.fc-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--leaf-500); animation: pulse 1.8s infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes grow { from { transform: scaleY(0); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(111, 160, 78, .6); } 70% { box-shadow: 0 0 0 8px rgba(111, 160, 78, 0); } 100% { box-shadow: 0 0 0 0 rgba(111, 160, 78, 0); } }
.leaf-deco { position: absolute; pointer-events: none; color: var(--leaf-300); opacity: .7; }
.leaf-deco.l1 { width: 70px; top: 18%; left: 46%; transform: rotate(-30deg); animation: sway 8s ease-in-out infinite; }
.leaf-deco.l2 { width: 40px; bottom: 14%; left: 3%; color: var(--leaf-400); transform: rotate(40deg); animation: sway 9s ease-in-out -3s infinite; }
@keyframes sway { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 8px -12px; rotate: 12deg; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--forest-800); color: var(--cream); overflow: hidden; padding: 22px 0; position: relative; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--font-display); font-size: clamp(1.25rem, 2vw, 1.7rem); font-weight: 400; white-space: nowrap; }
.marquee-item svg { width: 22px; height: 22px; color: var(--leaf-400); }
.marquee-item:nth-child(even) { font-style: italic; color: var(--leaf-200); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About / Vision ---------- */
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.about-media { position: relative; }
.about-media .img-main { border-radius: var(--radius-lg); aspect-ratio: 4 / 5; overflow: hidden; }
.about-media .img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-media .img-sub { position: absolute; width: 46%; aspect-ratio: 1; right: -24px; bottom: -36px; border-radius: var(--radius); overflow: hidden; border: 8px solid var(--paper); box-shadow: var(--shadow); }
.about-media .img-sub img { width: 100%; height: 100%; object-fit: cover; }
.about-media .estd {
  position: absolute; left: -18px; top: 30px; background: var(--leaf-400); color: var(--forest-900);
  border-radius: 20px; padding: 18px 22px; box-shadow: var(--shadow);
}
.about-media .estd b { display: block; font-family: var(--font-display); font-size: 2.2rem; line-height: 1; font-weight: 500; }
.about-media .estd span { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 36px; }
.vm-card { position: relative; padding: 28px 26px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.vm-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.vm-card .vm-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--forest-800); color: var(--leaf-300); margin-bottom: 18px; }
.vm-card h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; margin-bottom: 10px; color: var(--ink); }
.vm-card p { font-size: .93rem; line-height: 1.7; color: var(--body); }
.vm-card.dark { background: var(--forest-800); border-color: var(--forest-800); }
.vm-card.dark h3 { color: var(--cream); }
.vm-card.dark p { color: rgba(245, 241, 234, .72); }
.vm-card.dark .vm-ico { background: var(--leaf-400); color: var(--forest-900); }
.check-list { display: grid; gap: 12px; margin-top: 26px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--forest-700); font-size: .96rem; }
.check-list li::before {
  content: ""; width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px; border-radius: 50%;
  background: var(--leaf-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234F8A3A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat;
}
.on-dark .check-list li { color: var(--cream); }
.on-dark .check-list li::before { background-color: rgba(140, 190, 98, .2); }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card {
  position: relative; display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius-lg);
  border: 1px solid var(--line); overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--forest-800); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc-card:hover .svc-media img { transform: scale(1.07); }
.svc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 35, 28, 0) 50%, rgba(20, 35, 28, .45)); }
.svc-tag { position: absolute; z-index: 2; top: 16px; left: 16px; background: rgba(251, 249, 244, .92); color: var(--forest-800); font-size: .72rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; letter-spacing: .03em; }
.svc-num { position: absolute; z-index: 2; top: 14px; right: 18px; font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: rgba(255, 255, 255, .85); }
.svc-icon { position: relative; z-index: 2; margin: -54px 0 18px; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--leaf-400); color: var(--forest-900); box-shadow: 0 10px 22px -8px rgba(20, 35, 28, .45); transition: transform .5s var(--ease), background .3s; }
.svc-card:hover .svc-icon { transform: rotate(-8deg) scale(1.06); background: var(--leaf-300); }
.svc-body { padding: 0 26px 26px; display: flex; flex-direction: column; flex: 1; }
.svc-body h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.42rem; line-height: 1.2; }
.svc-body p { margin-top: 12px; font-size: .93rem; line-height: 1.7; }
.svc-feats { margin: 18px 0 0; display: grid; gap: 8px; flex: 1; align-content: start; }
.svc-feats li { display: flex; gap: 10px; align-items: center; font-size: .86rem; font-weight: 600; color: var(--forest-700); }
.svc-feats li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--leaf-500); flex-shrink: 0; }
.svc-foot { margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: center; }

/* ---------- Calculator teaser band ---------- */
.calc-band { position: relative; overflow: hidden; border-radius: 36px; background: var(--forest-900); padding: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.calc-band::before { content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%; left: -200px; bottom: -320px; background: radial-gradient(circle, rgba(140, 190, 98, .3), transparent 65%); }
.calc-band > * { position: relative; }
.mini-calc { background: var(--paper); border-radius: 24px; padding: 28px; box-shadow: var(--shadow-lg); }
.mini-calc label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; color: var(--forest-800); font-size: .9rem; }
.mini-calc label output { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; color: var(--forest-900); }
.mini-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.mini-results div { background: var(--cream); border-radius: 14px; padding: 14px 12px; text-align: center; }
.mini-results b { display: block; font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; color: var(--forest-900); line-height: 1.15; }
.mini-results span { font-size: .68rem; font-weight: 700; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }

/* Range slider (shared) */
input[type=range].range {
  -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; margin: 16px 0 6px;
  background: linear-gradient(to right, var(--leaf-500) 0%, var(--leaf-500) var(--p, 50%), var(--sand) var(--p, 50%), var(--sand) 100%);
  outline: none;
}
input[type=range].range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--paper);
  border: 6px solid var(--forest-800); box-shadow: 0 4px 12px rgba(20, 35, 28, .3); cursor: grab; transition: transform .2s;
}
input[type=range].range::-webkit-slider-thumb:active { transform: scale(1.15); cursor: grabbing; }
input[type=range].range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 6px solid var(--forest-800); cursor: grab; }
.range-scale { display: flex; justify-content: space-between; font-size: .72rem; color: var(--muted); font-weight: 600; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; position: relative; }
.step { position: relative; padding: 0 26px 0 0; }
.step-line { position: absolute; top: 30px; left: 62px; right: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--leaf-300) 0 8px, transparent 8px 14px); }
.step:last-child .step-line { display: none; }
.step-num { position: relative; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: var(--forest-800); color: var(--leaf-200); font-family: var(--font-display); font-size: 1.35rem; font-style: italic; transition: background .4s, transform .5s var(--ease); }
.step:hover .step-num { background: var(--leaf-500); color: #fff; transform: scale(1.08); }
.step h3 { margin-top: 26px; font-family: var(--font-display); font-weight: 500; font-size: 1.32rem; }
.step p { margin-top: 10px; font-size: .92rem; }
.on-dark .step-num { background: var(--leaf-400); color: var(--forest-900); }
.on-dark .step-line { background: repeating-linear-gradient(90deg, rgba(178, 212, 126, .5) 0 8px, transparent 8px 14px); }

/* ---------- Projects ---------- */
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.proj-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 4.6; background: var(--forest-800); isolation: isolate; }
.proj-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); z-index: -2; }
.proj-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 35, 28, .05) 30%, rgba(20, 35, 28, .88)); transition: opacity .5s; }
.proj-card:hover img { transform: scale(1.08); }
.proj-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; color: var(--cream); }
.proj-cat { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--leaf-400); color: var(--forest-900); padding: 5px 11px; border-radius: 999px; }
.proj-info h3 { color: var(--cream); font-family: var(--font-display); font-weight: 500; font-size: 1.45rem; margin-top: 14px; }
.proj-meta { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 10px; font-size: .84rem; color: rgba(245, 241, 234, .8); font-weight: 500; }
.proj-meta span { display: inline-flex; gap: 6px; align-items: center; }
.proj-meta svg { width: 14px; height: 14px; color: var(--leaf-300); }
.proj-desc { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--ease), opacity .4s, margin .4s; font-size: .88rem; color: rgba(245, 241, 234, .78); }
.proj-card:hover .proj-desc { max-height: 120px; opacity: 1; margin-top: 12px; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.chip { border: 1.5px solid var(--line); background: var(--paper); color: var(--forest-700); padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: .86rem; transition: all .3s var(--ease); }
.chip:hover { border-color: var(--forest-700); }
.chip.on { background: var(--forest-800); color: var(--cream); border-color: var(--forest-800); }
.proj-card.hide, .g-item.hide { display: none; }

/* ---------- Gallery ---------- */
.g-masonry { columns: 4 240px; column-gap: 16px; }
.g-item { display: block; break-inside: avoid; margin-bottom: 16px; border-radius: var(--radius); overflow: hidden; position: relative; cursor: zoom-in; background: var(--sand); }
.g-item img { width: 100%; height: auto; transition: transform 1s var(--ease), filter .6s; }
.g-item:hover img { transform: scale(1.06); }
.g-item .g-cap { position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; background: linear-gradient(180deg, transparent, rgba(20, 35, 28, .85)); color: var(--cream); font-size: .86rem; font-weight: 600; transform: translateY(100%); transition: transform .5s var(--ease); }
.g-item .g-cap small { display: block; font-size: .7rem; color: var(--leaf-300); letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.g-item:hover .g-cap { transform: none; }
.g-strip { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 16px; }
.g-strip .g-item { margin: 0; height: 100%; }
.g-strip .g-item:first-child { grid-row: span 2; }
.g-strip .g-item img { height: 100%; object-fit: cover; }

.lightbox { position: fixed; inset: 0; z-index: 1500; background: rgba(15, 25, 20, .94); display: none; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox.open { display: flex; animation: plFade .3s ease; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lb-cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: var(--cream); font-size: .92rem; }
.lb-btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); color: #fff; display: grid; place-items: center; transition: background .3s; }
.lb-btn:hover { background: var(--leaf-500); border-color: var(--leaf-500); }
.lb-close { top: 18px; right: 18px; } .lb-prev { left: 14px; top: 50%; margin-top: -25px; } .lb-next { right: 14px; top: 50%; margin-top: -25px; }

/* ---------- Why / features ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-light); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-light); }
.feat { background: var(--forest-900); padding: 34px 28px; transition: background .4s; }
.feat:hover { background: var(--forest-800); }
.feat svg { width: 34px; height: 34px; color: var(--leaf-300); }
.feat h3 { margin-top: 22px; font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; color: var(--cream); }
.feat p { margin-top: 10px; font-size: .9rem; color: rgba(245, 241, 234, .66); }
.counter-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.counter { border-top: 1px solid var(--line-light); padding-top: 22px; }
.counter b { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.2rem, 4vw, 3.4rem); color: var(--cream); line-height: 1; letter-spacing: -0.02em; }
.counter b sup { font-size: .45em; color: var(--leaf-300); margin-left: 3px; vertical-align: super; }
.counter > span { display: block; margin-top: 10px; font-size: .86rem; color: rgba(245, 241, 234, .62); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 24px; transition: background .3s, border-color .3s, box-shadow .3s; }
.faq details[open] { background: #fff; border-color: transparent; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-weight: 700; color: var(--forest-900); font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 32px; height: 32px; border-radius: 50%; background: var(--leaf-100); position: relative; flex-shrink: 0; transition: background .3s, transform .4s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--forest-800); border-radius: 2px; transition: transform .4s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { background: var(--leaf-500); transform: rotate(180deg); }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: #fff; }
.faq details[open] summary i::after { transform: rotate(0deg); }
.faq .ans { padding: 0 0 22px; font-size: .95rem; line-height: 1.75; }
.faq .ans a { color: var(--leaf-600); font-weight: 700; text-decoration: underline; }

/* ---------- CTA block ---------- */
.cta-block { position: relative; overflow: hidden; border-radius: 36px; padding: clamp(44px, 6vw, 84px); background: var(--leaf-400); color: var(--forest-900); display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: center; }
.cta-block h2 { color: var(--forest-900); }
.cta-block h2 em { color: var(--forest-700); }
.cta-block .ring-deco { position: absolute; right: -90px; top: -90px; width: 340px; color: var(--forest-900); opacity: .1; animation: plSpin 50s linear infinite; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; position: relative; }
.cta-phone { font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 500; color: var(--forest-900); }
.cta-phone small { display: block; font-family: var(--font-sans); font-size: .74rem; letter-spacing: .14em; font-weight: 800; text-transform: uppercase; color: var(--forest-700); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; background: var(--forest-900); color: var(--cream); padding: clamp(80px, 10vw, 140px) 0 clamp(64px, 8vw, 100px); overflow: hidden; isolation: isolate; }
.page-hero .bg { position: absolute; inset: 0; z-index: -2; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; transform: scale(1.06); animation: slowzoom 18s ease-out forwards; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(20, 35, 28, .96) 25%, rgba(20, 35, 28, .55)); }
.page-hero h1 { color: var(--cream); margin-top: 18px; max-width: 820px; }
.page-hero p { margin-top: 20px; max-width: 600px; color: rgba(245, 241, 234, .75); font-size: 1.06rem; }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: .82rem; font-weight: 600; color: rgba(245, 241, 234, .6); }
.crumbs a:hover { color: var(--leaf-300); }
.crumbs span { color: var(--leaf-300); }
@keyframes slowzoom { to { transform: scale(1); } }

/* ---------- Founder quote ---------- */
.quote-card { position: relative; background: var(--forest-800); border-radius: 36px; padding: clamp(36px, 6vw, 72px); color: var(--cream); display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; overflow: hidden; }
.quote-mark { font-family: var(--font-display); font-size: 9rem; line-height: .7; color: var(--leaf-400); font-style: italic; }
.quote-card blockquote { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.3rem, 2.2vw, 1.85rem); line-height: 1.45; color: var(--cream); }
.quote-by { margin-top: 30px; display: flex; align-items: center; gap: 16px; }
.quote-by .av { width: 54px; height: 54px; border-radius: 50%; background: var(--leaf-400); color: var(--forest-900); display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; }
.quote-by b { display: block; color: var(--cream); font-size: 1.05rem; }
.quote-by span { font-size: .86rem; color: rgba(245, 241, 234, .6); }

/* ---------- Values ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value { padding: 32px 28px; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s; }
.value:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.value .n { font-family: var(--font-display); font-style: italic; color: var(--leaf-500); font-size: 1.1rem; }
.value h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; margin-top: 14px; }
.value p { margin-top: 10px; font-size: .93rem; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: 30px; padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .82rem; font-weight: 700; color: var(--forest-800); margin-bottom: 8px; }
.input, .select, .textarea {
  width: 100%; border: 1.5px solid var(--sand-dark); background: var(--paper); border-radius: 14px; padding: 14px 16px;
  font: inherit; font-size: .95rem; color: var(--ink); transition: border-color .25s, box-shadow .25s, background .25s;
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--leaf-500); background: #fff; box-shadow: 0 0 0 4px rgba(111, 160, 78, .15); }
.select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E4A3D' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 42px; }
.textarea { resize: vertical; min-height: 120px; }
.alert { border-radius: 14px; padding: 14px 18px; font-size: .9rem; font-weight: 600; margin-bottom: 20px; }
.alert-error { background: #FDECEC; color: #9B2C2C; border: 1px solid #F6CACA; }
.alert-ok { background: var(--leaf-100); color: var(--forest-800); border: 1px solid var(--leaf-200); }
.form-note { font-size: .78rem; color: var(--muted); text-align: center; margin-top: 12px; }

.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; }
.info-card { background: var(--forest-900); border-radius: 30px; padding: clamp(28px, 4vw, 40px); color: rgba(245, 241, 234, .75); }
.info-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-light); }
.info-row:last-of-type { border-bottom: 0; }
.info-row .ic { width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0; display: grid; place-items: center; background: rgba(140, 190, 98, .16); color: var(--leaf-300); }
.info-row small { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(245, 241, 234, .45); }
.info-row b { display: block; color: var(--cream); font-size: 1.02rem; margin-top: 3px; word-break: break-word; }
.map-wrap { margin-top: 28px; border-radius: 30px; overflow: hidden; border: 1px solid var(--line); height: 380px; background: var(--sand); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: saturate(.75) contrast(1.02); }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-950); color: rgba(245, 241, 234, .62); position: relative; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1.1fr; gap: 48px; padding: 88px 0 56px; }
.footer-logo { height: 128px; width: auto; }
.footer-about { margin-top: 22px; font-size: .92rem; line-height: 1.75; max-width: 340px; }
.f-title { color: var(--cream); font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 22px; }
.f-links { display: grid; gap: 12px; font-size: .93rem; }
.f-links a { transition: color .25s, padding .3s var(--ease); }
.f-links a:hover { color: var(--leaf-300); padding-left: 6px; }
.f-contact { display: grid; gap: 16px; font-size: .93rem; }
.f-contact div { display: flex; gap: 12px; align-items: flex-start; }
.f-contact svg { width: 18px; height: 18px; color: var(--leaf-400); flex-shrink: 0; margin-top: 3px; }
.f-contact b { color: var(--cream); font-weight: 600; }
.socials { display: flex; gap: 10px; margin-top: 26px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-light); display: grid; place-items: center; color: var(--cream); transition: all .3s var(--ease); }
.socials a:hover { background: var(--leaf-500); border-color: var(--leaf-500); transform: translateY(-3px); }
.footer-word { font-family: var(--font-display); font-weight: 500; font-size: clamp(4rem, 15vw, 13rem); line-height: .8; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1px rgba(178, 212, 126, .18); text-align: center; user-select: none; white-space: nowrap; margin-bottom: 18px; }
.footer-bottom { border-top: 1px solid var(--line-light); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; }
.footer-bottom a:hover { color: var(--leaf-300); }

/* ---------- Floating actions ---------- */
.fab-wa { position: fixed; right: 22px; bottom: 22px; z-index: 800; width: 60px; height: 60px; border-radius: 50%; background: #1FA855; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(31, 168, 85, .7); transition: transform .35s var(--ease); }
.fab-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1FA855; animation: ripple 2.4s infinite; }
.fab-wa:hover { transform: scale(1.08) rotate(-6deg); }
@keyframes ripple { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
.to-top { position: fixed; right: 30px; bottom: 96px; z-index: 790; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--forest-800); color: var(--cream); display: grid; place-items: center; opacity: 0; transform: translateY(14px); pointer-events: none; transition: all .4s var(--ease); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--leaf-500); }

/* ==========================================================================
   CALCULATOR PAGE
   ========================================================================== */
.calc-shell { display: grid; grid-template-columns: 420px 1fr; gap: 26px; align-items: start; }
.calc-panel { background: #fff; border-radius: 30px; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 30px; position: sticky; top: 96px; }
.calc-panel h2 { font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; }
.calc-step { padding: 22px 0; border-bottom: 1px dashed var(--line); }
.calc-step:last-child { border-bottom: 0; padding-bottom: 0; }
.calc-step .lbl { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 700; color: var(--forest-800); font-size: .9rem; }
.calc-step .lbl .k { display: inline-flex; align-items: center; gap: 10px; }
.calc-step .lbl .k i { font-style: normal; width: 24px; height: 24px; border-radius: 50%; background: var(--forest-800); color: var(--leaf-200); display: grid; place-items: center; font-size: .72rem; font-weight: 800; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: var(--cream); padding: 5px; border-radius: 16px; margin-top: 14px; }
.seg button { border: 0; background: transparent; padding: 11px 6px; border-radius: 12px; font-weight: 700; font-size: .82rem; color: var(--forest-700); display: flex; flex-direction: column; align-items: center; gap: 5px; transition: all .3s var(--ease); }
.seg button svg { width: 20px; height: 20px; }
.seg button.on { background: var(--forest-800); color: var(--cream); box-shadow: 0 6px 14px -6px rgba(20, 35, 28, .5); }
.seg.seg-2 { grid-template-columns: 1fr 1fr; }
.seg.seg-2 button { flex-direction: row; justify-content: center; padding: 9px 6px; }
.num-input { display: flex; align-items: center; border: 1.5px solid var(--sand-dark); border-radius: 12px; overflow: hidden; background: var(--paper); }
.num-input span { padding: 0 12px; font-weight: 700; color: var(--muted); font-size: .9rem; }
.num-input input { width: 100%; border: 0; background: transparent; padding: 10px 12px 10px 0; font: inherit; font-weight: 800; color: var(--forest-900); font-size: 1rem; text-align: right; outline: none; }
.num-input:focus-within { border-color: var(--leaf-500); box-shadow: 0 0 0 4px rgba(111, 160, 78, .15); }
.num-input.sm { width: 132px; }
.calc-hint { font-size: .76rem; color: var(--muted); margin-top: 8px; }
.toggle-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; font-size: .86rem; font-weight: 600; color: var(--forest-700); }
.switch { position: relative; width: 46px; height: 26px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: var(--sand-dark); transition: background .3s; cursor: pointer; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform .3s var(--ease); }
.switch input:checked + span { background: var(--leaf-500); }
.switch input:checked + span::after { transform: translateX(20px); }

.calc-out { display: grid; gap: 22px; }
.res-hero { position: relative; overflow: hidden; background: var(--forest-900); border-radius: 30px; padding: clamp(26px, 4vw, 40px); color: var(--cream); display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; }
.res-hero::before { content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; right: -160px; top: -200px; background: radial-gradient(circle, rgba(140, 190, 98, .28), transparent 65%); }
.res-hero > * { position: relative; }
.res-hero .k { font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--leaf-300); }
.res-big { font-family: var(--font-display); font-weight: 500; font-size: clamp(3.4rem, 7vw, 5.6rem); line-height: .95; letter-spacing: -0.03em; color: var(--cream); margin-top: 10px; }
.res-big small { font-size: .35em; letter-spacing: 0; color: var(--leaf-300); margin-left: 6px; }
.res-sub { margin-top: 14px; color: rgba(245, 241, 234, .72); font-size: .95rem; }
.res-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.res-chips span { background: rgba(245, 241, 234, .08); border: 1px solid var(--line-light); padding: 7px 13px; border-radius: 999px; font-size: .8rem; font-weight: 600; color: var(--cream); }
.res-chips b { color: var(--leaf-300); }
.gauge { position: relative; width: 100%; max-width: 250px; margin: 0 auto; aspect-ratio: 1; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge .track { stroke: rgba(245, 241, 234, .1); }
.gauge .bar { stroke: url(#gGrad); stroke-linecap: round; transition: stroke-dashoffset 1s var(--ease); }
.gauge .center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.gauge .center b { display: block; font-family: var(--font-display); font-size: 2.8rem; font-weight: 500; color: var(--cream); line-height: 1; }
.gauge .center span { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(245, 241, 234, .6); }

.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px; transition: transform .4s var(--ease), box-shadow .4s; }
.kpi:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.kpi .ki { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--leaf-100); color: var(--leaf-600); }
.kpi .ki svg { width: 19px; height: 19px; }
.kpi b { display: block; font-family: var(--font-display); font-size: 1.55rem; font-weight: 500; color: var(--forest-900); margin-top: 14px; line-height: 1.1; letter-spacing: -0.01em; }
.kpi span { font-size: .78rem; color: var(--muted); font-weight: 600; }
.kpi.accent { background: var(--leaf-400); border-color: var(--leaf-400); }
.kpi.accent .ki { background: rgba(20, 35, 28, .1); color: var(--forest-900); }
.kpi.accent span { color: var(--forest-800); }

.card { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: clamp(22px, 3vw, 30px); }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.card-head h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; }
.card-head p { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.legend { display: flex; gap: 16px; font-size: .78rem; font-weight: 700; color: var(--forest-700); flex-wrap: wrap; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; }
.chart-box { position: relative; width: 100%; }
.chart-box svg { width: 100%; height: auto; overflow: visible; }
.chart-tip { position: absolute; pointer-events: none; background: var(--forest-900); color: var(--cream); font-size: .78rem; padding: 9px 12px; border-radius: 10px; white-space: nowrap; opacity: 0; transform: translate(-50%, -110%); transition: opacity .2s; box-shadow: var(--shadow); }
.chart-tip b { color: var(--leaf-300); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.bill-compare { display: grid; gap: 18px; margin-top: 6px; }
.bc-row .bc-top { display: flex; justify-content: space-between; font-size: .86rem; font-weight: 700; color: var(--forest-800); margin-bottom: 8px; }
.bc-track { height: 16px; border-radius: 99px; background: var(--cream); overflow: hidden; }
.bc-fill { height: 100%; border-radius: 99px; transition: width 1s var(--ease); }
.bc-fill.before { background: linear-gradient(90deg, #D98A6B, #C8644A); }
.bc-fill.after { background: linear-gradient(90deg, var(--leaf-400), var(--leaf-600)); }
.bc-save { margin-top: 8px; padding: 16px 18px; border-radius: 16px; background: var(--leaf-100); display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 700; color: var(--forest-800); font-size: .9rem; }
.bc-save b { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; color: var(--forest-900); }
.breakdown { width: 100%; border-collapse: collapse; font-size: .9rem; }
.breakdown td { padding: 12px 0; border-bottom: 1px dashed var(--line); }
.breakdown td:last-child { text-align: right; font-weight: 800; color: var(--forest-900); font-variant-numeric: tabular-nums; }
.breakdown tr.total td { border-bottom: 0; padding-top: 16px; font-size: 1.02rem; }
.breakdown tr.total td:last-child { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; }
.breakdown tr.sub td:last-child { color: var(--leaf-600); }
.emi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.emi-res { display: grid; gap: 12px; }
.emi-res .main { background: var(--forest-900); color: var(--cream); border-radius: 20px; padding: 22px; }
.emi-res .main span { font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--leaf-300); }
.emi-res .main b { display: block; font-family: var(--font-display); font-size: 2.4rem; font-weight: 500; line-height: 1.1; margin-top: 6px; }
.emi-res .row { display: flex; justify-content: space-between; font-size: .88rem; padding: 10px 2px; border-bottom: 1px dashed var(--line); }
.emi-res .row b { color: var(--forest-900); font-variant-numeric: tabular-nums; }
.verdict { margin-top: 6px; padding: 14px 16px; border-radius: 14px; font-size: .86rem; font-weight: 600; display: flex; gap: 10px; align-items: flex-start; }
.verdict.good { background: var(--leaf-100); color: var(--forest-800); }
.verdict.warn { background: #FFF4DF; color: #7A5410; }
.verdict svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.calc-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.assume { font-size: .84rem; }
.assume summary { cursor: pointer; font-weight: 700; color: var(--forest-800); list-style: none; display: flex; align-items: center; gap: 8px; }
.assume summary::-webkit-details-marker { display: none; }
.assume ul { margin-top: 14px; display: grid; gap: 8px; padding-left: 18px; list-style: disc; color: var(--body); }
.lead-strip { background: var(--forest-900); color: rgba(245, 241, 234, .72); border-radius: 26px; padding: clamp(22px, 3vw, 32px); display: grid; grid-template-columns: 1fr; gap: 18px; }
.lead-strip h3 { color: var(--cream); }
.lead-strip .input { background: rgba(245, 241, 234, .96); }
.lead-strip form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; }
.card.flex-col { display: flex; flex-direction: column; }
.card.flex-col .chart-box { flex: 1; display: flex; align-items: flex-end; }
.flash-num { animation: flash .6s var(--ease); }
@keyframes flash { 0% { opacity: .35; transform: translateY(6px); } 100% { opacity: 1; transform: none; } }

/* ---------- Print (calculator report) ---------- */
@media print {
  .topbar, .site-header, .site-footer, .fab-wa, .to-top, .preloader, .page-hero, .calc-panel .no-print, .calc-actions, .lead-strip, .drawer { display: none !important; }
  body { background: #fff; }
  .calc-shell { grid-template-columns: 1fr; }
  .calc-panel { position: static; box-shadow: none; }
  .res-hero, .emi-res .main { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .section { padding: 20px 0; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .nav-phone small, .nav-phone .txt { display: none; }
  .nav-link { padding: 10px 11px; }
  .calc-shell { grid-template-columns: 380px 1fr; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  :root { --header-h: 76px; }
  .nav-links, .nav-actions .btn, .nav-phone { display: none; }
  .burger { display: block; }
  .topbar-group.hide-md { display: none; }
  .hero-grid, .about-grid, .calc-band, .cta-block, .contact-grid, .calc-shell, .lead-strip { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .svc-grid, .proj-grid, .values { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .step:nth-child(2) .step-line { display: none; }
  .feat-grid, .counter-row { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .calc-panel { position: static; }
  .about-media { max-width: 560px; margin: 0 auto 30px; }
  .quote-card { grid-template-columns: 1fr; }
  .quote-mark { font-size: 6rem; }
}
@media (max-width: 720px) {
  .topbar { display: none; }
  .container { padding: 0 18px; }
  .brand img { height: 50px; }
  .site-header.scrolled .brand img { height: 46px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .hero-stat { padding-right: 8px; } .hero-stat + .hero-stat { padding-left: 12px; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .hero-visual { padding: 0 0 26px 0; }
  .hero-badge { width: 100px; height: 100px; left: -4px; top: 14px; }
  .hero-badge svg.ring text { font-size: 9.8px; letter-spacing: 1.8px; }
  .float-card.fc-gen { right: -6px; width: 180px; padding: 12px 14px; }
  .float-card.fc-subsidy { left: -4px; padding: 12px 14px; }
  .svc-grid, .proj-grid, .values, .vm-grid, .feat-grid, .two-col, .emi-grid, .form-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .step-line { display: none; }
  .counter-row { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; padding-top: 64px; }
  .g-strip { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 160px 160px; }
  .g-strip .g-item:first-child { grid-column: span 2; grid-row: auto; }
  .g-masonry { columns: 2 140px; column-gap: 10px; }
  .g-item { margin-bottom: 10px; }
  .res-hero { grid-template-columns: 1fr; }
  .gauge { max-width: 200px; }
  .kpi-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kpi { padding: 16px; } .kpi b { font-size: 1.3rem; }
  .lead-strip form { grid-template-columns: 1fr; }
  .mini-results b { font-size: 1.1rem; }
  .about-media .img-sub { right: -6px; }
  .about-media .estd { left: -6px; }
  .lightbox { padding: 60px 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; margin: 0; }
  .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); }
  .lb-cap { bottom: 76px; }
  .calc-panel { padding: 22px; border-radius: 24px; }
  .seg button { font-size: .76rem; }
  .fab-wa { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  .to-top { right: 21px; bottom: 82px; }
}

/* ---------- Services page: index + detailed rows ---------- */
.svc-index { position: sticky; top: 72px; z-index: 50; background: rgba(245, 241, 234, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.svc-index .container { display: flex; gap: 6px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: none; }
.svc-index .container::-webkit-scrollbar { display: none; }
.svc-index a { flex-shrink: 0; padding: 9px 16px; border-radius: 999px; font-size: .84rem; font-weight: 700; color: var(--forest-700); white-space: nowrap; transition: background .25s, color .25s; }
.svc-index a span { font-family: var(--font-display); font-style: italic; color: var(--leaf-500); margin-right: 8px; font-weight: 500; }
.svc-index a:hover { background: var(--forest-800); color: var(--cream); }
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; padding: clamp(40px, 5vw, 64px) 0; scroll-margin-top: 150px; }
.svc-row + .svc-row { border-top: 1px solid var(--line); }
.svc-row.flip .svc-row-media { order: 2; }
.svc-row-media { border-radius: var(--radius-lg); aspect-ratio: 5 / 4; background: var(--sand); }
.svc-row-media img { width: 100%; height: 100%; object-fit: cover; }
.svc-row-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.svc-row-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--forest-800); color: var(--leaf-300); }
.svc-row-num { font-family: var(--font-display); font-style: italic; font-size: 1.3rem; color: var(--leaf-500); }
.svc-row-tag { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--leaf-100); color: var(--leaf-600); padding: 6px 12px; border-radius: 999px; }
@media (max-width: 860px) {
  .svc-row { grid-template-columns: 1fr; }
  .svc-row.flip .svc-row-media { order: 0; }
}
@media print { [data-reveal], .split-words .w > span { opacity: 1 !important; transform: none !important; } }

/* ==========================================================================
   HOMEPAGE HERO - full-screen background video (exactly 100vh)
   ========================================================================== */
.hero-full { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--forest-900); color: var(--cream); isolation: isolate; display: flex; flex-direction: column; }
.hf-media { position: absolute; inset: 0; z-index: -2; }
.hf-media video, .hf-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hf-slide { opacity: 0; transform: scale(1.08); transition: opacity 1.6s ease, transform 8s linear; }
.hf-slide.on { opacity: 1; transform: scale(1); }
/* Light shade: only enough on the left/bottom to keep text readable, the video stays bright */
.hf-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(20, 35, 28, .58) 0%, rgba(20, 35, 28, .32) 38%, rgba(20, 35, 28, .06) 68%, rgba(20, 35, 28, 0) 100%),
    linear-gradient(180deg, rgba(20, 35, 28, .38) 0%, rgba(20, 35, 28, 0) 22%, rgba(20, 35, 28, 0) 70%, rgba(20, 35, 28, .45) 100%); }
.hf-inner { flex: 1; display: flex; align-items: center; padding-top: calc(var(--header-h) + 40px); padding-bottom: 120px; }
.hf-copy { max-width: 600px; }
.hf-kicker { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(251, 249, 244, .14); border: 1px solid rgba(251, 249, 244, .25); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: .76rem; font-weight: 600; color: var(--cream); }
.hf-kicker b { background: var(--leaf-400); color: var(--forest-900); border-radius: 999px; padding: 3px 9px; font-size: .66rem; letter-spacing: .08em; }
.hero-full .hf-title { margin-top: 20px; color: #fff; font-size: clamp(2rem, 3.8vw, 3.25rem); line-height: 1.06; text-shadow: 0 2px 24px rgba(10, 20, 15, .35); }
.hero-full .hf-title em { color: var(--leaf-300); }
.hf-sub { margin-top: 18px; max-width: 500px; font-size: 1rem; line-height: 1.7; color: rgba(255, 255, 255, .88); text-shadow: 0 1px 12px rgba(10, 20, 15, .35); }
.hf-ctas { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.hf-ctas .btn { padding: 14px 22px; }
.hf-bottom { position: absolute; left: 0; right: 0; bottom: 0; padding-bottom: 26px; }
.hf-bottom-in { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.hf-stats { display: flex; border-radius: 18px; background: rgba(251, 249, 244, .12); border: 1px solid rgba(251, 249, 244, .2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); overflow: hidden; }
.hf-stat { padding: 14px 24px; }
.hf-stat + .hf-stat { border-left: 1px solid rgba(251, 249, 244, .18); }
.hf-stat b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.45rem; line-height: 1; color: #fff; }
.hf-stat > span { display: block; margin-top: 6px; font-size: .72rem; font-weight: 600; color: rgba(255, 255, 255, .75); letter-spacing: .02em; }
.hf-controls { display: flex; align-items: center; gap: 14px; }
.hf-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(251, 249, 244, .14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; display: grid; place-items: center; transition: background .3s; }
.hf-btn:hover { background: var(--leaf-500); border-color: var(--leaf-500); }
.hf-btn .i-play { display: none; } .hf-btn.paused .i-play { display: block; } .hf-btn.paused .i-pause { display: none; }
.hf-dots { display: flex; gap: 7px; }
.hf-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: rgba(255, 255, 255, .5); transition: width .4s var(--ease), background .3s; }
.hf-dots button.on { width: 26px; background: #fff; }
.hf-scroll { width: 26px; height: 42px; border: 1.5px solid rgba(255, 255, 255, .6); border-radius: 14px; display: flex; justify-content: center; padding-top: 8px; }
.hf-scroll span { width: 3px; height: 8px; border-radius: 3px; background: #fff; animation: hfScroll 1.8s ease-in-out infinite; }
@keyframes hfScroll { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* Transparent header over the hero (homepage only) */
.brand .logo-light { display: none; }
body.home .topbar { position: absolute; top: 0; left: 0; right: 0; z-index: 902; background: rgba(20, 35, 28, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
body.home .site-header { position: fixed; left: 0; right: 0; top: 40px; transition: top .35s var(--ease), background .35s, box-shadow .35s, border-color .35s; }
body.home .site-header:not(.scrolled) { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.home .site-header.scrolled { top: 0; }
body.home .site-header:not(.scrolled) .logo-dark { display: none; }
body.home .site-header:not(.scrolled) .logo-light { display: block; }
body.home .site-header:not(.scrolled) .nav-link { color: rgba(255, 255, 255, .9); }
body.home .site-header:not(.scrolled) .nav-link:hover, body.home .site-header:not(.scrolled) .nav-link.active { color: #fff; background: rgba(255, 255, 255, .1); }
body.home .site-header:not(.scrolled) .nav-link.active::after { background: var(--leaf-300); }
body.home .site-header:not(.scrolled) .nav-phone { color: #fff; }
body.home .site-header:not(.scrolled) .nav-phone small { color: rgba(255, 255, 255, .7); }
body.home .site-header:not(.scrolled) .nav-phone .ico { background: rgba(255, 255, 255, .14); color: #fff; }
body.home .site-header:not(.scrolled) .btn { --btn-bg: var(--cream); --btn-fg: var(--forest-900); }
body.home .site-header:not(.scrolled) .btn:hover { color: #fff; }
body.home .site-header:not(.scrolled) .burger { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); }
body.home .site-header:not(.scrolled) .burger span { background: #fff; }
body.home.menu-open .site-header { background: var(--paper); }
body.home.menu-open .site-header .logo-dark { display: block; }
body.home.menu-open .site-header .logo-light { display: none; }
body.home.menu-open .site-header .burger span { background: var(--forest-800); }

@media (max-width: 1024px) {
  .hf-inner { padding-bottom: 150px; }
}
@media (max-width: 720px) {
  body.home .site-header { top: 0; }
  .hero-full { min-height: 600px; }
  .hf-media video, .hf-media img { object-position: 60% center; }
  .hf-shade { background: linear-gradient(180deg, rgba(20, 35, 28, .45) 0%, rgba(20, 35, 28, .22) 30%, rgba(20, 35, 28, .4) 55%, rgba(20, 35, 28, .62) 100%); }
  .hf-inner { align-items: flex-end; padding-bottom: 130px; }
  .hero-full .hf-title { font-size: clamp(1.85rem, 8vw, 2.3rem); }
  .hf-sub { font-size: .93rem; margin-top: 14px; }
  .hf-ctas { margin-top: 22px; }
  .hf-ctas .btn { flex: 1 1 auto; padding: 13px 16px; font-size: .86rem; }
  .hf-bottom { padding-bottom: 16px; }
  .hf-stats { width: 100%; }
  .hf-stat { flex: 1; padding: 11px 12px; }
  .hf-stat b { font-size: 1.12rem; }
  .hf-stat > span { font-size: .64rem; }
  .hf-bottom-in { padding-right: 82px; }
  .hero-full .hf-title, .hf-sub { text-shadow: 0 2px 18px rgba(10, 20, 15, .6); }
  .hf-controls { display: none; }
}
@media (max-height: 640px) and (min-width: 721px) {
  .hf-inner { padding-bottom: 100px; }
  .hero-full .hf-title { font-size: clamp(1.8rem, 3vw, 2.5rem); }
  .hf-sub { display: none; }
}
.hf-fade { opacity: 0; transform: translateY(18px); }
body.loaded .hf-fade { animation: hfIn .9s var(--ease) var(--d, 0s) forwards; }
@keyframes hfIn { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hf-fade { opacity: 1; transform: none; animation: none !important; } }
