/* ==========================================================================
   RSPS – Reliable Solar Power Solution
   Mobile-first, no build step. Sections:
   1 Tokens · 2 Base · 3 Buttons · 4 Header & drawer · 5 Hero · 6 Ribbon
   7 Section scaffolding · 8 Systems · 9 Services · 10 Residential
   11 Why solar · 12 Subsidy · 13 About · 14 Credentials · 15 Brands
   16 Contact & form · 17 Footer · 18 Mobile CTA · 19 Motion
   ========================================================================== */

/* 1 · Tokens ------------------------------------------------------------- */
:root {
  --forest-950: #04241B;
  --forest-900: #073527;
  --forest-800: #0B4A36;
  --forest-700: #0F6046;
  --emerald-600: #12805B;
  --emerald-500: #18A06E;
  --emerald-400: #3CC08D;
  --emerald-100: #DCF1E6;
  --emerald-50:  #EEF8F2;
  --gold-600: #A86F00;
  --gold-500: #E5A11C;
  --gold-400: #F3B940;
  --gold-300: #F8D27E;
  --gold-100: #FDF0CF;
  --navy-900: #0B1D3A;
  --ink:   #0E1C17;
  --ink-2: #2F4037;
  --muted: #566860;
  --line:  #E1E9E3;
  --bg:      #FFFFFF;
  --bg-soft: #F4F8F5;
  --wa:      #0F8043;
  --wa-dark: #0B6B37;

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', 'Helvetica Neue', Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;
  --header-h: 68px;
  --section-y: clamp(72px, 9vw, 128px);
  --radius: 24px;
  --focus: #0F6046;

  --shadow-sm: 0 1px 2px rgba(6, 35, 26, .05), 0 6px 18px -8px rgba(6, 35, 26, .12);
  --shadow-md: 0 2px 4px rgba(6, 35, 26, .04), 0 22px 44px -22px rgba(6, 35, 26, .28);
  --shadow-lg: 0 40px 80px -32px rgba(6, 35, 26, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 992px) { :root { --header-h: 80px; } }

/* 2 · Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; overflow-x: clip;
  font-family: var(--font); font-size: 1rem; line-height: 1.65;
  color: var(--ink-2); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { color: var(--ink); text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: calc(var(--header-h) + 8px); }
#home { scroll-margin-top: 0; }
::selection { background: var(--gold-300); color: var(--forest-950); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.hero, .section--forest, .site-footer, .drawer, .info, .service--cta { --focus: var(--gold-400); }

.container { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }

.skip-link {
  position: fixed; left: 12px; top: -80px; z-index: 200;
  background: var(--forest-900); color: #fff; padding: .8rem 1.1rem; border-radius: 12px; font-weight: 700;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* 3 · Buttons ------------------------------------------------------------ */
.btn {
  --btn-bg: var(--forest-800); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .55rem 1.4rem; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  font-weight: 700; font-size: .97rem; line-height: 1.2; text-align: center; white-space: normal;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s, color .25s;
  -webkit-tap-highlight-color: transparent;
}
.btn .icon { width: 1.2em; height: 1.2em; transition: transform .25s var(--ease); }
.btn:hover .icon:last-child:not(.icon--fill) { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--sm { min-height: 44px; padding: .45rem 1.1rem; font-size: .9rem; }
.btn--lg { min-height: 56px; padding: .7rem 1.8rem; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--primary { box-shadow: 0 12px 26px -12px rgba(7, 53, 39, .7); }
.btn--primary:hover { --btn-bg: var(--forest-700); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(7, 53, 39, .7); }

.btn--gold { --btn-bg: linear-gradient(180deg, #F9CF6C 0%, #EBA820 100%); --btn-fg: #2A1B00; box-shadow: 0 14px 30px -12px rgba(229, 161, 28, .75), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(229, 161, 28, .85), inset 0 1px 0 rgba(255, 255, 255, .5); }

.btn--whatsapp { --btn-bg: var(--wa); --btn-bd: rgba(255, 255, 255, .16); box-shadow: 0 12px 26px -12px rgba(15, 128, 67, .75); }
.btn--whatsapp:hover { --btn-bg: var(--wa-dark); transform: translateY(-2px); }

.btn--glass { --btn-bg: rgba(255, 255, 255, .1); --btn-bd: rgba(255, 255, 255, .38); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn--glass:hover { --btn-bg: rgba(255, 255, 255, .2); transform: translateY(-2px); }

.btn--light { --btn-bg: #fff; --btn-fg: var(--forest-900); }
.btn--light:hover { --btn-bg: var(--gold-100); transform: translateY(-2px); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--forest-800); --btn-bd: #C7D6CC; }
.btn--ghost:hover { --btn-bg: var(--emerald-50); }
.btn--ghost-light { --btn-bg: transparent; --btn-bd: rgba(255, 255, 255, .3); }
.btn--ghost-light:hover { --btn-bg: rgba(255, 255, 255, .1); }

.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--forest-700); min-height: 44px; }
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow:hover { color: var(--emerald-600); }

/* 4 · Header & drawer ---------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 90; color: #fff;
  background: rgba(4, 36, 27, .3);
  -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  transition: background-color .35s, box-shadow .35s, color .35s, border-color .35s;
}
.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  border-bottom-color: rgba(6, 35, 26, .07);
  box-shadow: 0 10px 34px -16px rgba(6, 35, 26, .25);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: .7rem; min-width: 0; }
.brand__mark {
  --mh: 46px;
  display: grid; place-items: center; flex: none;
  height: var(--mh); padding: 4px 8px; background: #fff; border-radius: 14px;
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .35); transition: box-shadow .35s;
}
.brand__mark img { height: calc(var(--mh) - 8px); width: auto; }
.is-scrolled .brand__mark { box-shadow: 0 0 0 1px var(--line); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand__text strong { font-size: .95rem; font-weight: 800; letter-spacing: -.01em; }
.brand__text span { font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-300); transition: color .35s; }
.is-scrolled .brand__text span { color: var(--emerald-600); }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: .15rem; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 .95rem;
  font-size: .92rem; font-weight: 600; color: rgba(255, 255, 255, .86); border-radius: 999px;
  transition: color .25s, background-color .25s;
}
.nav__link::after {
  content: ""; position: absolute; left: 50%; bottom: 6px; width: 18px; height: 3px; border-radius: 3px;
  background: var(--gold-400); transform: translateX(-50%) scaleX(0); transition: transform .3s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: #fff; }
.nav__link.is-active::after { transform: translateX(-50%) scaleX(1); }
.is-scrolled .nav__link { color: var(--ink-2); }
.is-scrolled .nav__link:hover, .is-scrolled .nav__link.is-active { color: var(--forest-800); }
.is-scrolled .nav__link::after { background: var(--emerald-500); }

.header__actions { display: flex; align-items: center; gap: .6rem; }
.header__cta { display: none; }
.menu-btn {
  display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border-radius: 14px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28); color: inherit;
  transition: background-color .25s, border-color .25s;
}
.is-scrolled .menu-btn { background: var(--bg-soft); border-color: var(--line); }
.menu-btn__bars { position: relative; width: 20px; height: 14px; }
.menu-btn__bars i { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease); }
.menu-btn__bars i:nth-child(1) { top: 0; }
.menu-btn__bars i:nth-child(2) { top: 6px; }
.menu-btn__bars i:nth-child(3) { top: 12px; }

@media (min-width: 640px) { .header__cta { display: inline-flex; } .brand__text strong { font-size: 1.02rem; } }
@media (min-width: 992px) {
  .nav { display: block; }
  .menu-btn { display: none; }
  .brand__mark { --mh: 54px; }
  .brand__text strong { font-size: 1.1rem; }
}
@media (min-width: 992px) and (max-width: 1119px) { .nav__link { padding: 0 .7rem; font-size: .88rem; } .brand__text span { letter-spacing: .1em; } }

/* Drawer */
.drawer { position: fixed; inset: 0; z-index: 120; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(2, 16, 11, .6); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; transition: opacity .35s; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(90vw, 400px);
  display: flex; flex-direction: column; overflow-y: auto; color: #fff;
  padding: 1.1rem 1.4rem calc(1.4rem + env(safe-area-inset-bottom));
  background: radial-gradient(500px 300px at 100% 0, rgba(243, 185, 64, .18), transparent 60%), linear-gradient(170deg, var(--forest-800), var(--forest-950));
  box-shadow: -30px 0 60px -20px rgba(0, 0, 0, .5);
  transform: translateX(100%); transition: transform .4s var(--ease);
}
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; min-height: 48px; }
.drawer__title { font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-300); }
.drawer__close { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; padding: 0; }
.drawer__close .icon { width: 22px; height: 22px; }
.drawer__list { margin-top: .75rem; }
.drawer__link {
  display: flex; align-items: center; justify-content: space-between; min-height: 60px; padding: .4rem .1rem;
  font-size: 1.35rem; font-weight: 700; letter-spacing: -.01em; border-bottom: 1px solid rgba(255, 255, 255, .09);
  opacity: 0; transform: translateX(16px);
}
.drawer__link .icon { color: var(--gold-400); }
.drawer.is-open .drawer__link { opacity: 1; transform: none; transition: opacity .45s var(--ease) calc(.08s * var(--i) + .12s), transform .45s var(--ease) calc(.08s * var(--i) + .12s); }
.drawer__foot { margin-top: auto; padding-top: 1.75rem; display: grid; gap: .7rem; }
.drawer__note { margin-top: .4rem; text-align: center; font-size: .8rem; color: rgba(255, 255, 255, .55); }

body.is-locked { overflow: hidden; }
body.menu-open .menu-btn__bars i:nth-child(1) { top: 6px; transform: rotate(45deg); }
body.menu-open .menu-btn__bars i:nth-child(2) { opacity: 0; }
body.menu-open .menu-btn__bars i:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* 5 · Hero --------------------------------------------------------------- */
.hero {
  --field-h: clamp(130px, min(20vw, 25svh), 280px);
  --sun-x: 68%;
  position: relative; isolation: isolate; overflow: hidden; color: #fff; background: #04241B;
  min-height: min(100svh, 940px);
  padding-top: calc(var(--header-h) + clamp(24px, 3.4vw, 48px));
  padding-bottom: calc(var(--field-h) * .82 + clamp(24px, 2.6vw, 36px));
  display: flex; align-items: center;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg::before { /* sky */
  content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: calc(var(--field-h) - 2px);
  background: linear-gradient(180deg, #03180F 0%, #05291D 26%, #0A4433 52%, #16694A 74%, #4E9A62 90%, #D9B457 100%);
}
.hero__glow {
  position: absolute; left: var(--sun-x); bottom: var(--field-h); width: min(120vw, 1100px); aspect-ratio: 1; transform: translate(-50%, 42%);
  background: radial-gradient(circle, rgba(243, 185, 64, .34) 0%, rgba(243, 185, 64, .12) 34%, transparent 66%);
}
.hero__sun {
  --size: clamp(110px, 16vw, 230px);
  position: absolute; left: var(--sun-x); bottom: calc(var(--field-h) - var(--size) * .42); width: var(--size); height: var(--size); transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #FFF8DE 0%, #FCE29B 36%, #F5C04A 68%, #E9A722 100%);
  box-shadow: 0 0 50px 14px rgba(248, 210, 126, .55), 0 0 160px 70px rgba(243, 185, 64, .28);
  animation: sun-pulse 7s ease-in-out infinite;
}
.hero__field {
  position: absolute; left: 0; right: 0; bottom: 0; height: var(--field-h); overflow: hidden;
  perspective: 340px; perspective-origin: var(--sun-x) -25%; background: #071B36;
}
.hero__plane {
  position: absolute; left: 50%; top: 0; width: 280%; height: 380%; margin-left: -140%;
  transform-origin: 50% 0; transform: rotateX(70deg);
  background-image:
    linear-gradient(90deg, rgba(205, 222, 248, .55) 0, rgba(205, 222, 248, .55) 3px, transparent 3px),
    linear-gradient(90deg, rgba(150, 190, 255, .2) 1px, transparent 1px),
    linear-gradient(180deg, rgba(150, 190, 255, .2) 1px, transparent 1px),
    linear-gradient(180deg, transparent 0, transparent calc(100% - 14px), rgba(2, 10, 22, .96) calc(100% - 14px)),
    linear-gradient(115deg, #2C62BE 0%, #153878 38%, #1F4FA2 60%, #0D2B69 100%);
  background-size: 288px 100%, 48px 100%, 100% 48px, 100% 240px, 100% 100%;
}
.hero__field::after { /* horizon sheen + depth fade */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 34% 90% at var(--sun-x) 0, rgba(255, 224, 140, .78), rgba(255, 224, 140, 0) 70%),
    linear-gradient(180deg, rgba(233, 182, 70, .55) 0, rgba(233, 182, 70, 0) 22%, rgba(3, 20, 14, 0) 45%, rgba(3, 20, 14, .78) 100%);
}
.hero__shade { position: absolute; inset: 0; background: linear-gradient(95deg, rgba(3, 24, 15, .68) 0%, rgba(3, 24, 15, .28) 46%, rgba(3, 24, 15, 0) 72%); }

.hero__inner { display: grid; gap: 2rem; align-items: center; width: min(100% - 2 * var(--gutter), var(--maxw)); }
.hero__copy { max-width: 50rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1rem; font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--emerald-600); }
.eyebrow--light { color: var(--gold-300); }
.hero .eyebrow { padding: .45rem .9rem; border-radius: 999px; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); margin-bottom: 1.1rem; }
.hero .eyebrow .icon { width: 1.15em; height: 1.15em; }

.hero__title { font-size: clamp(2.05rem, 1rem + 4.4vw, 3.85rem); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; color: #fff; text-wrap: balance; }
.hero__line { display: block; }
.hero__line--accent { background: linear-gradient(92deg, #FDE7AE 0%, #F6C453 55%, #EBA820 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; padding-bottom: .08em; }
.hero__lead { margin-top: 1.25rem; font-size: clamp(1.05rem, .95rem + .6vw, 1.35rem); line-height: 1.45; font-weight: 600; color: #fff; max-width: 36rem; }
.hero__text { margin-top: .9rem; max-width: 34rem; font-size: clamp(.98rem, .93rem + .25vw, 1.08rem); color: rgba(255, 255, 255, .8); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero__actions .btn { flex: 1 1 15rem; }
@media (min-width: 640px) { .hero__actions .btn { flex: 0 0 auto; } }
.hero__checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem 1rem; margin-top: 1.6rem; }
.hero__checks li { display: flex; align-items: center; gap: .6rem; font-size: .88rem; font-weight: 600; line-height: 1.3; color: rgba(255, 255, 255, .92); }
.hero__checks .icon { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--gold-400); color: var(--forest-950); stroke-width: 2.6; }
@media (min-width: 720px) { .hero__checks { grid-template-columns: repeat(2, max-content); gap: .75rem 2.5rem; } }

.hero__card {
  display: none; justify-self: end; width: min(100%, 330px); padding: 1.6rem; border-radius: 26px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05));
  border: 1px solid rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.hero__card-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 1rem; border-radius: 14px; background: linear-gradient(180deg, #F9CF6C, #EBA820); color: #2A1B00; }
.hero__card-icon .icon { width: 24px; height: 24px; }
.hero__card-kicker { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-300); }
.hero__card-title { margin-top: .5rem; font-size: 1.25rem; line-height: 1.25; font-weight: 800; color: #fff; letter-spacing: -.01em; }
.hero__card-text { margin-top: .6rem; font-size: .9rem; color: rgba(255, 255, 255, .78); }
.hero__card-link { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; min-height: 44px; font-weight: 700; font-size: .92rem; color: var(--gold-300); }
.hero__card-link .icon { transition: transform .25s var(--ease); }
.hero__card-link:hover .icon { transform: translateX(4px); }
@media (min-width: 992px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr) 330px; gap: 3rem; }
  .hero__card { display: block; }
  .hero { --sun-x: 63%; }
}
@media (max-width: 991px) { .hero__shade { background: linear-gradient(180deg, rgba(3, 24, 15, .35), rgba(3, 24, 15, .1)); } }
@media (max-width: 599px) { .hero { --sun-x: 78%; } }
@keyframes sun-pulse { 0%, 100% { box-shadow: 0 0 50px 14px rgba(248, 210, 126, .55), 0 0 160px 70px rgba(243, 185, 64, .28); } 50% { box-shadow: 0 0 64px 20px rgba(248, 210, 126, .7), 0 0 190px 90px rgba(243, 185, 64, .36); } }

/* 6 · Credential ribbon -------------------------------------------------- */
.ribbon { position: relative; z-index: 5; margin-top: calc(-1 * clamp(40px, 5vw, 60px)); }
.ribbon__list { display: grid; grid-template-columns: 1fr; background: #fff; border-radius: 26px; padding: .5rem; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(6, 35, 26, .05); }
.ribbon__item { display: flex; align-items: center; gap: .9rem; padding: .9rem 1rem; min-width: 0; }
.ribbon__item + .ribbon__item { border-top: 1px solid var(--line); }
.ribbon__icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--emerald-50); color: var(--emerald-600); }
.ribbon__icon .icon { width: 22px; height: 22px; }
.ribbon__item div { min-width: 0; }
.ribbon__item strong { display: block; font-size: .98rem; line-height: 1.25; color: var(--ink); }
.ribbon__item span:not(.ribbon__icon) { display: block; margin-top: .1rem; font-size: .8rem; line-height: 1.35; color: var(--muted); overflow-wrap: anywhere; }
@media (min-width: 600px) {
  .ribbon__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ribbon__item + .ribbon__item { border-top: 0; }
  .ribbon__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .ribbon__item:nth-child(even) { border-left: 1px solid var(--line); }
}
@media (min-width: 1040px) {
  .ribbon__list { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: .7rem; }
  .ribbon__item { padding: 1rem 1.25rem; }
  .ribbon__item:nth-child(n+3) { border-top: 0; }
  .ribbon__item + .ribbon__item { border-left: 1px solid var(--line); }
}

/* 7 · Section scaffolding ------------------------------------------------ */
.section { position: relative; padding-block: var(--section-y); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--soft { background: var(--bg-soft); }
.section--tint { background: linear-gradient(180deg, var(--bg-soft) 0%, #EAF3EE 100%); }
.section__head { max-width: 47rem; margin-bottom: clamp(36px, 5vw, 64px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section__title { font-size: clamp(1.75rem, 1.1rem + 2.8vw, 3.05rem); font-weight: 800; line-height: 1.1; letter-spacing: -.028em; }
.section__lead { margin-top: 1rem; font-size: clamp(1rem, .95rem + .3vw, 1.125rem); color: var(--muted); }
.section .eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--gold-500); }
.section__head--center .eyebrow::after { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--gold-500); }
.section--forest .eyebrow::before { background: var(--gold-400); }
.fine { margin-top: 1.75rem; font-size: .84rem; line-height: 1.55; color: var(--muted); text-align: center; }

/* 8 · Systems ------------------------------------------------------------ */
.systems { display: grid; gap: 1.25rem; max-width: 640px; margin-inline: auto; }
.system {
  display: flex; flex-direction: column; padding: clamp(1.25rem, 2.6vw, 1.75rem); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.system:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #BFDCCB; }
.flow { --dot: 46px; --pad-x: .9rem; --pad-t: 1.1rem; position: relative; display: flex; align-items: flex-start; justify-content: space-between; height: 104px; padding: var(--pad-t) var(--pad-x) 0; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--emerald-50), #fff); color: var(--emerald-600); }
.flow::before { content: ""; position: absolute; left: calc(var(--pad-x) + var(--dot) / 2); right: calc(var(--pad-x) + var(--dot) / 2); top: calc(var(--pad-t) + var(--dot) / 2 - 1px); height: 2px; background: repeating-linear-gradient(90deg, var(--emerald-400) 0 5px, transparent 5px 10px); background-size: 10px 2px; animation: flow-dash 1.1s linear infinite; }
.flow__node { position: relative; display: flex; flex-direction: column; align-items: center; gap: .4rem; width: var(--dot); }
.flow__dot { display: grid; place-items: center; width: var(--dot); height: var(--dot); border-radius: 50%; background: #fff; border: 1px solid #CFE5D8; box-shadow: 0 8px 16px -8px rgba(15, 96, 70, .5); }
.flow__dot .icon { width: calc(var(--dot) * .48); height: calc(var(--dot) * .48); }
.flow__node:first-child .flow__dot { background: var(--gold-100); border-color: #F1DDA8; color: var(--gold-600); }
.flow__node small { font-size: .68rem; font-weight: 700; letter-spacing: .01em; line-height: 1; white-space: nowrap; color: var(--muted); }
.flow--5 { --dot: 38px; --pad-x: .75rem; }
.flow--5 .flow__node small { font-size: .62rem; }
.system__tag { margin-top: 1.4rem; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600); }
.system__title { margin-top: .35rem; font-size: 1.75rem; font-weight: 800; letter-spacing: -.02em; }
.system__text { margin-top: .7rem; font-size: .96rem; color: var(--muted); }
.system__best { display: grid; gap: .6rem; margin: 1.2rem 0 1.4rem; padding-top: 1.2rem; border-top: 1px dashed #D3E0D8; }
.system__best li { display: flex; gap: .65rem; align-items: flex-start; font-size: .9rem; line-height: 1.5; color: var(--ink-2); }
.system__best .icon { width: 20px; height: 20px; margin-top: .05rem; padding: 3px; border-radius: 50%; background: var(--emerald-100); color: var(--forest-700); stroke-width: 2.6; }
.system .link-arrow { margin-top: auto; }
@media (min-width: 940px) { .systems { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; gap: 1.5rem; } }

/* 9 · Services ----------------------------------------------------------- */
.services { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.service {
  position: relative; display: flex; flex-direction: column; padding: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: 22px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.service:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #BBDCC9; }
.service__icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 1.1rem; border-radius: 16px; background: var(--emerald-50); color: var(--emerald-600); transition: background-color .3s, color .3s, transform .3s var(--ease); }
.service__icon .icon { width: 26px; height: 26px; }
.service:hover .service__icon { background: linear-gradient(140deg, var(--forest-700), var(--forest-900)); color: var(--gold-300); transform: rotate(-4deg); }
.service__title { font-size: 1.08rem; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.service__text { margin-top: .5rem; font-size: .92rem; line-height: 1.6; color: var(--muted); }
.service__link { display: inline-flex; align-items: center; gap: .45rem; margin-top: auto; padding-top: 1.1rem; min-height: 44px; font-size: .9rem; font-weight: 700; color: var(--forest-700); }
.service__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.service__link .icon { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.service:hover .service__link .icon { transform: translateX(4px); }
.service--cta { justify-content: center; align-items: flex-start; color: #fff; border-color: transparent; background: radial-gradient(360px 200px at 100% 0, rgba(243, 185, 64, .28), transparent 65%), linear-gradient(155deg, var(--forest-700), var(--forest-950)); }
.service--cta .service__title { color: #fff; }
.service--cta .service__text { color: rgba(255, 255, 255, .78); margin-bottom: 1.2rem; }
.service--cta .service__icon { background: rgba(255, 255, 255, .12); color: var(--gold-300); }
.service--cta:hover .service__icon { background: rgba(255, 255, 255, .2); }
.service--cta .btn { position: relative; z-index: 1; }
/* Compact icon-left cards on phones */
@media (max-width: 579px) {
  .service { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 1rem; align-items: start; padding: 1.15rem 1.1rem; border-radius: 20px; }
  .service__icon { grid-row: 1 / span 3; width: 52px; height: 52px; margin: 0; }
  .service__link { padding-top: .35rem; min-height: 44px; justify-self: start; }
  .service--cta .btn { justify-self: start; }
  .service--cta .service__text { margin-bottom: .9rem; }
}
@media (min-width: 580px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .services { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; } }
@media (min-width: 1180px) { .services { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* 10 · Residential ------------------------------------------------------- */
.residential { display: grid; gap: clamp(2.5rem, 6vw, 4rem); align-items: center; }
.steps { position: relative; margin: 2rem 0 2.25rem; }
.step { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 1.1rem; padding-bottom: 1.6rem; }
.step:last-child { padding-bottom: 0; }
.step:not(:last-child)::before { content: ""; position: absolute; left: 25px; top: 56px; bottom: 6px; width: 2px; background: repeating-linear-gradient(180deg, #B5D3C2 0 5px, transparent 5px 10px); }
.step__num { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; font-size: .98rem; font-weight: 800; letter-spacing: .02em; color: #fff; background: linear-gradient(140deg, var(--emerald-600), var(--forest-800)); box-shadow: 0 10px 22px -10px rgba(7, 53, 39, .8), 0 0 0 5px var(--emerald-50); }
.step__title { padding-top: .2rem; font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; }
.step__text { margin-top: .3rem; font-size: .95rem; color: var(--muted); }
.scene { position: relative; overflow: hidden; border-radius: 30px; aspect-ratio: 480 / 540; box-shadow: var(--shadow-lg); background: var(--forest-900); isolation: isolate; }
.scene__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene__chip { position: absolute; left: 16px; display: inline-flex; align-items: center; gap: .5rem; max-width: calc(100% - 32px); padding: .5rem .9rem; border-radius: 999px; font-size: .78rem; font-weight: 700; line-height: 1.3; color: #fff; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.scene__chip .icon { width: 1.25em; height: 1.25em; color: var(--gold-300); }
.scene__chip--top { top: 16px; }
.scene__chip--bottom { bottom: 16px; }
@media (min-width: 992px) { .residential { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); } .scene__chip { left: 22px; } .scene__chip--top { top: 22px; } .scene__chip--bottom { bottom: 22px; } }

/* 11 · Why solar --------------------------------------------------------- */
.benefits { display: grid; gap: 1rem; }
.benefit { padding: 1.75rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.benefit:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.benefit__icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 1.3rem; border-radius: 18px; color: var(--gold-300); background: linear-gradient(145deg, var(--forest-700), var(--forest-950)); box-shadow: 0 14px 24px -12px rgba(7, 53, 39, .7); }
.benefit__icon .icon { width: 28px; height: 28px; }
.benefit__title { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
.benefit__text { margin-top: .55rem; font-size: .94rem; color: var(--muted); }
@media (max-width: 619px) {
  .benefit { display: grid; grid-template-columns: 54px minmax(0, 1fr); column-gap: 1rem; padding: 1.25rem 1.15rem; }
  .benefit__icon { grid-row: 1 / span 2; width: 54px; height: 54px; margin: 0; border-radius: 16px; }
  .benefit__title { align-self: center; }
  .benefit__text { grid-column: 2; margin-top: .3rem; }
}
@media (min-width: 620px) { .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .benefits { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; } }

/* 12 · Subsidy ----------------------------------------------------------- */
.section--forest { color: #fff; overflow: hidden; background: linear-gradient(165deg, var(--forest-800) 0%, var(--forest-900) 40%, var(--forest-950) 100%); }
.section--forest::before { content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000, transparent 75%); }
.subsidy__glow { position: absolute; top: -20%; right: -10%; width: min(70vw, 760px); aspect-ratio: 1; pointer-events: none; background: radial-gradient(circle, rgba(243, 185, 64, .26), transparent 62%); }
.subsidy { position: relative; }
.section--forest .section__title { color: #fff; }
.section--forest .section__lead { color: rgba(255, 255, 255, .78); }
.section--forest .section__lead strong { color: #fff; font-weight: 700; }
.tiers { display: grid; gap: 1rem; }
.tier { container-type: inline-size; padding: clamp(1.4rem, 3vw, 1.9rem); border-radius: var(--radius); background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform .35s var(--ease), border-color .35s; }
.tier:hover { transform: translateY(-5px); border-color: rgba(248, 210, 126, .55); }
.tier--featured { border-color: rgba(243, 185, 64, .6); background: linear-gradient(160deg, rgba(243, 185, 64, .16), rgba(255, 255, 255, .04)); box-shadow: 0 30px 60px -30px rgba(243, 185, 64, .35); }
.tier__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .3rem 1rem; padding-bottom: 1.1rem; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.tier__size { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem); font-weight: 800; letter-spacing: -.025em; color: #fff; }
.tier__kind { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-300); }
.tier__rows { margin-top: .5rem; }
.tier__rows > div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px dashed rgba(255, 255, 255, .15); }
.tier__rows dt { font-size: .92rem; color: rgba(255, 255, 255, .75); }
.tier__rows dd { font-size: 1.08rem; font-weight: 700; color: #fff; white-space: nowrap; }
.tier__total { margin-top: 1.25rem; }
.tier__total span { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-300); }
.tier__total strong { display: block; margin-top: .2rem; white-space: nowrap; font-size: clamp(1.9rem, 1.5rem + 2.4vw, 3rem); font-size: clamp(1.75rem, 15cqi, 3rem); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; background: linear-gradient(92deg, #FDE7AE, #F3B940 70%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.subsidy__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; margin-top: clamp(1.75rem, 4vw, 2.75rem); }
.subsidy__notes { flex: 1 1 22rem; max-width: 46rem; display: grid; gap: .8rem; }
.subsidy__disclaimer { display: flex; gap: .8rem; align-items: flex-start; padding: 1rem 1.15rem; border-radius: 16px; font-size: .9rem; line-height: 1.55; color: rgba(255, 255, 255, .9); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-left: 3px solid var(--gold-400); }
.subsidy__disclaimer .icon { flex: none; margin-top: .1rem; color: var(--gold-400); }
.subsidy__aside { font-size: .84rem; line-height: 1.55; color: rgba(255, 255, 255, .62); padding-left: .25rem; }
.subsidy__foot .btn { flex: 0 1 auto; }
@media (max-width: 639px) { .subsidy__foot .btn { width: 100%; } }
@media (min-width: 860px) { .tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }

/* 13 · About / Why RSPS -------------------------------------------------- */
.why { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.why__intro .btn { margin-top: 1.75rem; }
.why__list { border-bottom: 1px solid var(--line); }
.why__item { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; padding: 1.4rem .25rem; border-top: 1px solid var(--line); transition: background-color .3s, padding .3s var(--ease); }
.why__item:hover { background: linear-gradient(90deg, var(--emerald-50), transparent); padding-left: .9rem; }
.why__num { min-width: 2.6rem; font-size: 1.7rem; font-weight: 800; line-height: 1.1; letter-spacing: -.03em; background: linear-gradient(140deg, var(--emerald-500), var(--forest-800)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.why__title { font-size: 1.1rem; font-weight: 700; letter-spacing: -.01em; }
.why__text { margin-top: .25rem; font-size: .94rem; color: var(--muted); }
@media (min-width: 992px) {
  .why { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 5rem; }
  .why__intro { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* 14 · Credentials ------------------------------------------------------- */
.creds { display: grid; gap: clamp(1.75rem, 4vw, 3rem); align-items: start; }
.cert { max-width: 420px; margin-inline: auto; width: 100%; }
.cert__frame { display: block; padding: 10px; background: #fff; border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow-md); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.cert__frame img { width: 100%; height: auto; border-radius: 12px; }
.cert__frame:hover { transform: translateY(-4px) rotate(0); box-shadow: var(--shadow-lg); }
.cert__cap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1rem; margin-top: 1rem; font-size: .84rem; }
.cert__cap span { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--ink); }
.cert__cap span .icon { color: var(--emerald-600); }
.cert__cap a { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; font-weight: 700; color: var(--forest-700); }
.cert__cap a:hover { color: var(--emerald-600); text-decoration: underline; text-underline-offset: 3px; }
.cred-list { display: grid; gap: .8rem; }
.cred { display: flex; gap: 1rem; padding: 1.1rem 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: 20px; transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.cred:hover { border-color: #BBDCC9; box-shadow: var(--shadow-sm); transform: translateX(4px); }
.cred__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(145deg, var(--forest-700), var(--forest-900)); color: var(--gold-300); }
.cred__icon .icon { width: 24px; height: 24px; }
.cred > div { min-width: 0; }
.cred__title { font-size: 1.02rem; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.cred__l1 { margin-top: .2rem; font-size: .9rem; font-weight: 600; color: var(--forest-700); overflow-wrap: anywhere; }
.cred__l2 { margin-top: .1rem; font-size: .82rem; line-height: 1.45; color: var(--muted); overflow-wrap: anywhere; }
@media (min-width: 992px) {
  .creds { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); }
  .cert { margin-inline: 0; position: sticky; top: calc(var(--header-h) + 24px); }
  .cert__frame { transform: rotate(-1.6deg); }
}

/* 15 · Brands ------------------------------------------------------------ */
.brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.brand-tile { flex: 0 1 calc((100% - 1rem) / 2); display: grid; place-items: center; height: 116px; padding: 1rem 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: 20px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.brand-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #BBDCC9; }
.brand-tile img { width: auto; height: auto; max-width: 100%; max-height: 72px; object-fit: contain; }
@media (min-width: 640px) { .brand-tile { flex-basis: calc((100% - 2rem) / 3); height: 128px; } }
@media (min-width: 980px) { .brand-tile { flex-basis: calc((100% - 4rem) / 5); } .brands { gap: 1rem; } }

/* 16 · Contact & form ---------------------------------------------------- */
.section--contact { background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.contact { display: grid; gap: 1.5rem; align-items: start; }
.form-card { padding: clamp(1.25rem, 3.2vw, 2.4rem); background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-md); }
.form__grid { display: grid; gap: 1.15rem; }
.field { min-width: 0; }
.field label, .field legend { display: block; margin-bottom: .45rem; padding: 0; font-size: .9rem; font-weight: 700; color: var(--ink); }
.req { color: #B4231A; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.field input[type="text"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 52px; padding: .75rem 1rem; border-radius: 14px; border: 1.5px solid #C6D5CB; background: #fff; font-size: 1rem; line-height: 1.4; color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background-color .2s; -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8A9A91; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9DB7A7; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--emerald-500); box-shadow: 0 0 0 4px rgba(24, 160, 110, .18); }
.field [aria-invalid="true"] { border-color: #C0392B; background: #FFF8F7; }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(192, 57, 43, .16); }
.field__error { display: flex; align-items: flex-start; gap: .4rem; margin-top: .45rem; font-size: .84rem; font-weight: 600; line-height: 1.4; color: #B4231A; }
.field__error::before { content: ""; flex: none; width: 15px; height: 15px; margin-top: .1rem; border-radius: 50%; background: #B4231A; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 100 16A8 8 0 008 0zm-.9 4h1.8v5H7.1V4zm0 6.4h1.8v1.8H7.1v-1.8z'/%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 16 16'%3E%3Cpath d='M8 0a8 8 0 100 16A8 8 0 008 0zm-.9 4h1.8v5H7.1V4zm0 6.4h1.8v1.8H7.1v-1.8z'/%3E%3C/svg%3E") center / contain no-repeat; }
.select { position: relative; }
.select select { padding-right: 2.8rem; cursor: pointer; }
.select__chev { position: absolute; right: 1rem; top: 50%; width: 18px; height: 18px; transform: translateY(-50%) rotate(90deg); color: var(--muted); pointer-events: none; }
.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 1.15rem; border-radius: 999px; border: 1.5px solid #C6D5CB; background: #fff; font-size: .93rem; font-weight: 600; color: var(--ink-2); transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s; }
.chip:hover span { border-color: var(--emerald-500); }
.chip input:checked + span { background: var(--forest-800); border-color: var(--forest-800); color: #fff; box-shadow: 0 8px 18px -10px rgba(7, 53, 39, .8); }
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }
.choice.is-invalid .chip span { border-color: #C0392B; }
.form__submit { margin-top: 1.6rem; }
.form__note { margin-top: .9rem; text-align: center; font-size: .82rem; color: var(--muted); }
.form__result { margin-top: 1.4rem; padding: 1.25rem; border-radius: 20px; background: var(--emerald-50); border: 1px solid #BFDFCE; }
.form__result:focus { outline: 0; }
.form__result-title { display: flex; align-items: center; gap: .6rem; font-size: 1.05rem; font-weight: 800; color: var(--forest-800); }
.form__result-title .icon { width: 26px; height: 26px; color: var(--emerald-600); }
.form__result-text { margin-top: .4rem; font-size: .92rem; color: var(--ink-2); }
.form__preview { margin: 1rem 0 0; padding: .9rem 1rem; max-height: 230px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--font); font-size: .84rem; line-height: 1.55; color: #12261D; background: #E4F8D3; border-radius: 4px 16px 16px 16px; border: 1px solid #CDE9B8; }
.form__result-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }

.info { padding: clamp(1.5rem, 3.2vw, 2.4rem); color: #fff; border-radius: 28px; background: radial-gradient(420px 260px at 100% 0, rgba(243, 185, 64, .22), transparent 65%), linear-gradient(160deg, var(--forest-700), var(--forest-950)); box-shadow: var(--shadow-lg); }
.info__title { font-size: 1.4rem; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.info__list { display: grid; gap: 1.3rem; margin-top: 1.5rem; }
.info__list li { display: flex; gap: 1rem; min-width: 0; }
.info__icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .1); color: var(--gold-300); }
.info__list li > div { display: flex; flex-direction: column; min-width: 0; }
.info__label { margin-bottom: .2rem; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-300); }
.info__list a:not(.info__map) { display: inline-flex; align-items: center; min-height: 44px; font-size: 1.04rem; font-weight: 600; color: #fff; overflow-wrap: anywhere; }
.info__list a[href^="mailto:"] { font-size: clamp(.9rem, .78rem + .5vw, 1.04rem); }
.info__list a:not(.info__map):hover { color: var(--gold-300); }
.info address { font-size: .95rem; line-height: 1.6; color: rgba(255, 255, 255, .85); }
.info__map { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; font-size: .86rem; font-weight: 700; color: var(--gold-300); }
.info__map:hover { text-decoration: underline; text-underline-offset: 3px; }
.info__actions { display: grid; gap: .65rem; margin-top: 1.75rem; padding-top: 1.6rem; border-top: 1px solid rgba(255, 255, 255, .14); }
@media (min-width: 640px) { .form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .field--full { grid-column: 1 / -1; } }
@media (min-width: 992px) { .contact { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 2rem; } }

/* 17 · Footer ------------------------------------------------------------ */
.site-footer { color: rgba(255, 255, 255, .72); background: radial-gradient(700px 320px at 0 0, rgba(15, 96, 70, .35), transparent 70%), var(--forest-950); padding: clamp(56px, 7vw, 88px) 0 1.5rem; font-size: .93rem; }
.footer__top { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
.footer__logo { display: inline-grid; place-items: center; width: 92px; padding: 9px 10px; background: #fff; border-radius: 18px; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .6); }
.footer__logo img { width: 100%; height: auto; }
.footer__name { margin-top: 1.2rem; font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em; color: #fff; }
.footer__tag { margin: .5rem 0 1.4rem; max-width: 24rem; }
.footer__h { margin-bottom: 1rem; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-300); }
.footer__col ul { display: grid; gap: 0; }
.footer__col a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; transition: color .2s, transform .2s var(--ease); }
.footer__col a:not(.btn):hover { color: #fff; transform: translateX(3px); }
.footer__contact li { display: flex; gap: .75rem; align-items: flex-start; padding: .35rem 0; }
.footer__contact .icon { flex: none; margin-top: .3rem; color: var(--gold-400); }
.footer__contact li > span { min-width: 0; overflow-wrap: anywhere; }
.footer__contact a:not(.btn) { min-height: 44px; }
.footer__contact address { line-height: 1.6; }
.footer__contact address strong { display: block; color: #fff; font-weight: 700; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .84rem; color: rgba(255, 255, 255, .58); }
@media (min-width: 640px) { .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .footer__top { grid-template-columns: 1.3fr .7fr .8fr 1.3fr; gap: 3rem; } }
@media (max-width: 767px) { .site-footer { padding-bottom: calc(1.5rem + 76px + env(safe-area-inset-bottom)); } }

/* 18 · Mobile fixed CTA (mobile only) ------------------------------------ */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem;
  padding: .6rem max(.75rem, env(safe-area-inset-left)) calc(.6rem + env(safe-area-inset-bottom)) max(.75rem, env(safe-area-inset-right));
  background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  border-top: 1px solid rgba(6, 35, 26, .08); box-shadow: 0 -12px 30px -14px rgba(6, 35, 26, .3);
}
.mobile-cta__btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 50px; border-radius: 15px; font-size: 1rem; font-weight: 800; color: #fff; -webkit-tap-highlight-color: transparent; transition: transform .2s var(--ease), background-color .2s; }
.mobile-cta__btn:active { transform: scale(.97); }
.mobile-cta__btn--call { background: linear-gradient(180deg, var(--forest-700), var(--forest-900)); }
.mobile-cta__btn--wa { background: var(--wa); }
@media (min-width: 768px) { .mobile-cta { display: none; } }

/* 19 · Motion ------------------------------------------------------------ */
/* Reveals use the independent `translate` property so they never fight with hover `transform`s. */
.js .reveal { opacity: 0; translate: 0 24px; }
.js .reveal.is-in { opacity: 1; translate: 0 0; transition: opacity .8s var(--ease) var(--d, 0ms), translate .8s var(--ease) var(--d, 0ms); }
.js .reveal.is-done { transition: opacity .3s, translate .3s, transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s, background-color .3s, padding .3s var(--ease); }
/* Hero content animates in with pure CSS, so above-the-fold text never waits for JavaScript. */
.js .hero .reveal { opacity: 1; translate: 0 0; animation: hero-rise .9s var(--ease) var(--d, 0ms) both; }
@keyframes hero-rise { from { opacity: 0; translate: 0 24px; } }
@keyframes flow-dash { to { background-position: 10px 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .reveal.is-in { opacity: 1; translate: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* 20 · 404 page ---------------------------------------------------------- */
.notfound { min-height: 78svh; display: flex; align-items: center; padding-top: calc(var(--header-h) + var(--section-y)); }
.notfound__inner { position: relative; max-width: 44rem; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
