/* ==========================================================================
   LAAM Solar Care — site styles (layered on Bootstrap 5.3)
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-ext-standard-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-standard-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url("../fonts/outfit-latin-800-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("../fonts/outfit-latin-600-normal.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --ink: #18201d;          /* deep charcoal, green undertone */
  --ink-2: #222c28;
  --forest: #0e4b3b;       /* brand green */
  --forest-2: #13604b;
  --leaf: #2f7d5b;
  --sun: #f4b63f;          /* warm yellow */
  --sun-2: #e9a521;
  --paper: #f4f5f0;        /* off-white */
  --paper-2: #eceee6;
  --stone: #d9ddd3;        /* hairlines */
  --mute: #5b6661;
  --mute-on-dark: #a9b3ad;
  --white: #fff;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wide: 118%;
  --xwide: 125%;

  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 10vw, 8.5rem);
  --radius-s: 4px;
  --radius-m: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --bs-body-font-family: var(--font);
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--paper);
  --bs-link-color-rgb: 14, 75, 59;
  --bs-link-hover-color-rgb: 19, 96, 75;
  --bs-border-color: var(--stone);
  --bs-focus-ring-color: rgba(244, 182, 63, .55);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
[id] { scroll-margin-top: 88px; }

h1, h2, h3, h4, .display {
  font-family: var(--font);
  color: inherit;
  text-wrap: balance;
}
h2, .h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.75rem);
  font-weight: 760;
  font-stretch: var(--wide);
  line-height: 1;
  letter-spacing: -.025em;
  margin-bottom: 1.25rem;
}
h3, .h3 {
  font-size: 1.3rem;
  font-weight: 700;
  font-stretch: 108%;
  line-height: 1.2;
  letter-spacing: -.01em;
}
p { text-wrap: pretty; }
.lead-text {
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  color: var(--mute);
  max-width: 38em;
}
.measure { max-width: 34em; }
a { text-underline-offset: .2em; }

::selection { background: var(--sun); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 2000;
  background: var(--sun); color: var(--ink); padding: .6rem 1rem;
  font-weight: 700; text-decoration: none; border-radius: var(--radius-s);
}
.skip-link:focus { top: 1rem; }

.icon { width: 1em; height: 1em; fill: currentColor; flex: none; vertical-align: -.125em; }

.container { --bs-gutter-x: calc(var(--gutter) * 2); max-width: 1360px; }

.section { padding-block: var(--section); }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

/* ---------- Buttons ---------- */
.btn {
  --bs-btn-font-weight: 650;
  --bs-btn-padding-x: 1.35rem;
  --bs-btn-padding-y: .8rem;
  --bs-btn-border-radius: var(--radius-s);
  --bs-btn-font-size: 1rem;
  font-stretch: 105%;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-sun {
  --bs-btn-bg: var(--sun); --bs-btn-color: var(--ink); --bs-btn-border-color: var(--sun);
  --bs-btn-hover-bg: #ffc95c; --bs-btn-hover-color: var(--ink); --bs-btn-hover-border-color: #ffc95c;
  --bs-btn-active-bg: var(--sun-2); --bs-btn-active-color: var(--ink); --bs-btn-active-border-color: var(--sun-2);
  --bs-btn-disabled-bg: var(--sun); --bs-btn-disabled-border-color: var(--sun); --bs-btn-disabled-color: var(--ink);
}
.btn-forest {
  --bs-btn-bg: var(--forest); --bs-btn-color: #fff; --bs-btn-border-color: var(--forest);
  --bs-btn-hover-bg: var(--forest-2); --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: var(--forest-2);
  --bs-btn-active-bg: #0a3a2d; --bs-btn-active-color: #fff;
  --bs-btn-disabled-bg: var(--forest); --bs-btn-disabled-border-color: var(--forest);
}
.btn-ghost-light {
  --bs-btn-color: #fff; --bs-btn-border-color: rgba(255,255,255,.55);
  --bs-btn-hover-bg: #fff; --bs-btn-hover-color: var(--ink); --bs-btn-hover-border-color: #fff;
  --bs-btn-active-bg: #fff; --bs-btn-active-color: var(--ink);
}
.btn-ghost {
  --bs-btn-color: var(--ink); --bs-btn-border-color: var(--stone);
  --bs-btn-hover-bg: var(--ink); --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: var(--ink);
  --bs-btn-active-bg: var(--ink); --bs-btn-active-color: #fff;
}
.text-link {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 650; color: var(--forest); text-decoration: none;
  border-bottom: 1.5px solid currentColor; padding-bottom: .1rem;
}
.text-link:hover { color: var(--forest-2); }
.text-link .icon { transition: transform .2s var(--ease); }
.text-link:hover .icon { transform: translate(2px, -2px); }

/* ---------- Brand (LAAM Solar Care logo) ---------- */
.brand { display: inline-flex; align-items: center; gap: .625rem; text-decoration: none; color: inherit; }
.brand-mark {
  width: 40px; height: 40px; flex: none; border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.brand:hover .brand-mark { transform: rotate(12deg); }
.brand-word { display: block; line-height: 1; }
.brand-name {
  display: block; font-family: "Outfit", var(--font); font-weight: 800; font-stretch: normal;
  font-size: 1.125rem; line-height: 1.75rem; letter-spacing: -.025em; color: #fff;
}
.brand-sub {
  display: block; font-family: "Outfit", var(--font); font-weight: 600; font-stretch: normal;
  font-size: 11px; line-height: 1; letter-spacing: .2em; text-transform: uppercase; color: #FCD34D;
}
/* Light backgrounds: charcoal name, deep-green tagline */
.site-nav.is-solid .brand-name { color: #111827; }
.site-nav.is-solid .brand-sub { color: #064E3B; }
@media (prefers-reduced-motion: reduce) { .brand:hover .brand-mark { transform: none; } }

/* ---------- Navigation ---------- */
.site-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 1030;
  color: #fff;
  transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease), padding .3s var(--ease);
  padding-block: 1.1rem;
}
.site-nav.is-solid {
  background: rgba(244, 245, 240, .94);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--stone);
  padding-block: .7rem;
}
.site-nav .nav-links { gap: clamp(1rem, 2.2vw, 2.1rem); }
.site-nav .nav-links a {
  color: inherit; text-decoration: none; font-weight: 550; font-size: .97rem;
  position: relative; padding-block: .4rem;
}
.site-nav .nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.site-nav .nav-links a:hover::after,
.site-nav .nav-links a[aria-current="true"]::after { transform: scaleX(1); }
.nav-toggle {
  background: none; border: 1px solid currentColor; color: inherit;
  width: 46px; height: 46px; border-radius: var(--radius-s);
  display: inline-grid; place-items: center; font-size: 1.4rem;
}
.offcanvas.nav-sheet { background: var(--ink); color: #fff; --bs-offcanvas-width: min(420px, 100vw); }
.nav-sheet .offcanvas-header { padding: 1.1rem var(--gutter); }
.nav-sheet .offcanvas-body { padding: 1rem var(--gutter) 2rem; display: flex; flex-direction: column; }
.nav-sheet .sheet-links a {
  display: block; color: #fff; text-decoration: none;
  font-size: 1.9rem; font-weight: 750; font-stretch: var(--wide); letter-spacing: -.02em;
  padding-block: .55rem; border-bottom: 1px solid rgba(255,255,255,.1);
}
.nav-sheet .sheet-links a:hover { color: var(--sun); }
.nav-sheet .btn-close { filter: invert(1); opacity: .85; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; background: var(--ink); overflow: hidden;
}
@supports (min-height: 100svh) { .hero { min-height: 100svh; } }
.hero-media, .hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero-media { z-index: -2; }
.hero-media img { object-fit: cover; object-position: 62% 40%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(16, 24, 21, .86) 0%, rgba(16, 24, 21, .62) 38%, rgba(16, 24, 21, .08) 70%),
    linear-gradient(0deg, rgba(16, 24, 21, .9) 0%, rgba(16, 24, 21, 0) 42%),
    linear-gradient(180deg, rgba(16, 24, 21, .55) 0%, rgba(16, 24, 21, 0) 22%);
}
.hero-inner { padding-top: 9rem; padding-bottom: clamp(2.5rem, 6vh, 4.5rem); }
.hero h1 {
  font-size: clamp(2.6rem, 6.8vw, 6.4rem);
  font-weight: 820;
  font-stretch: var(--xwide);
  line-height: .93;
  letter-spacing: -.035em;
  margin: 0 0 1.6rem;
  max-width: 11.5em;
}
.hero h1 .line { display: block; }
.hero h1 .line + .line { color: var(--sun); }
.hero-lead {
  font-size: clamp(1.08rem, 1.45vw, 1.3rem);
  line-height: 1.55; color: rgba(255,255,255,.88);
  max-width: 34em; margin-bottom: 2.2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-actions .btn { --bs-btn-padding-y: .95rem; --bs-btn-padding-x: 1.6rem; }

.hero-facts {
  border-top: 1px solid rgba(255,255,255,.18);
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.hero-facts li {
  padding: 1.15rem 1.25rem 1.35rem 0; font-size: .95rem; color: rgba(255,255,255,.82);
  display: flex; gap: .6rem; align-items: center;
}
.hero-facts li + li { padding-left: 1.25rem; border-left: 1px solid rgba(255,255,255,.18); }
.hero-facts .icon { color: var(--sun); font-size: 1.05rem; }


.hero-reveal > * { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
.hero-reveal > *:nth-child(1) { animation-delay: .1s; }
.hero-reveal > *:nth-child(2) { animation-delay: .22s; }
.hero-reveal > *:nth-child(3) { animation-delay: .34s; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .hero-reveal > * { animation: none; opacity: 1; transform: none; }
}

/* ---------- About / at a glance ---------- */
.statement {
  font-size: clamp(1.6rem, 3vw, 2.55rem);
  font-weight: 650; font-stretch: 110%;
  line-height: 1.16; letter-spacing: -.02em;
  margin-bottom: 1.6rem;
}
.glance { margin: 0; border-top: 1px solid var(--ink); }
.glance-row {
  display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem;
  padding: 1.05rem 0; border-bottom: 1px solid var(--stone);
}
.glance dt { font-weight: 650; font-size: .95rem; }
.glance dd { margin: 0; color: var(--mute); }
.glance-title { font-size: 1rem; font-weight: 700; margin-bottom: .8rem; }

/* ---------- Services bento ---------- */
.bento {
  display: grid; gap: clamp(.75rem, 1.4vw, 1.1rem);
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(180px, auto);
}
.tile {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-m); background: var(--ink); color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 300px;
}
.tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transition: transform .9s var(--ease);
}
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(16,24,21,0) 18%, rgba(16,24,21,.35) 45%, rgba(16,24,21,.9) 100%);
}
.tile:hover img { transform: scale(1.035); }
.tile-body { padding: clamp(1.25rem, 2.4vw, 2rem); max-width: 34rem; }
.tile h3 { font-size: clamp(1.25rem, 1.9vw, 1.6rem); margin-bottom: .45rem; }
.tile p { color: rgba(255,255,255,.84); margin-bottom: .9rem; font-size: 1rem; }
.tile .tile-link {
  color: #fff; font-weight: 650; text-decoration: none;
  display: inline-flex; align-items: center; gap: .45rem; font-size: .95rem;
}
.tile .tile-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.tile .tile-link .icon { color: var(--sun); transition: transform .2s var(--ease); }
.tile:hover .tile-link .icon { transform: translate(2px, -2px); }
.tile:focus-within { outline: 3px solid var(--sun); outline-offset: 3px; }
.tile .tile-link:focus-visible { outline: none; }

.t-res  { grid-column: 1 / span 5; grid-row: span 2; min-height: 560px; }
.t-com  { grid-column: 6 / span 7; }
.t-farm { grid-column: 6 / span 4; }
.t-agri { grid-column: 10 / span 3; }
.t-prop { grid-column: 1 / span 7; }
.t-main { grid-column: 8 / span 5; }
.t-com, .t-prop { min-height: 330px; }

.sectors {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 3rem; align-items: center;
  padding-top: 1.8rem; border-top: 1px solid var(--stone);
}
.sectors p { margin: 0; color: var(--mute); max-width: 52em; }
.sectors strong { color: var(--ink); font-weight: 650; }

/* ---------- Why (dark) ---------- */
.dark { background: var(--ink); color: #fff; }
.dark .lead-text, .dark .muted { color: var(--mute-on-dark); }
.build-up {
  list-style: none; padding: 0; margin: 0 0 1rem;
  display: flex; flex-wrap: wrap; gap: .1rem .9rem;
  font-size: clamp(1.45rem, 2.6vw, 2.2rem); font-weight: 700; font-stretch: var(--wide);
  letter-spacing: -.02em; line-height: 1.25;
}
.build-up li { color: #fff; }
.build-up li:not(:last-child)::after { content: "/"; color: var(--forest-2); margin-left: .9rem; font-weight: 400; }
.note { font-size: .95rem; color: var(--mute-on-dark); max-width: 36em; }

.benefits { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid rgba(255,255,255,.14); }
.benefit { padding: 1.8rem 1.8rem 1.8rem 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.benefit:nth-child(even) { padding-left: 1.8rem; border-left: 1px solid rgba(255,255,255,.14); }
.benefit .icon { font-size: 1.6rem; color: var(--sun); margin-bottom: 1rem; }
.benefit h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.benefit p { color: var(--mute-on-dark); margin: 0; font-size: 1rem; }

.kit { margin-top: clamp(4rem, 8vw, 6.5rem); }
.kit-figure { position: relative; margin: 0; border-radius: var(--radius-m); overflow: hidden; aspect-ratio: 4 / 3.1; }
.kit-figure img { width: 100%; height: 100%; object-fit: cover; }
.kit-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }
.kit-list li { display: grid; grid-template-columns: 1.6rem 1fr; gap: .8rem; padding: 1.15rem 0; border-top: 1px solid rgba(255,255,255,.14); }
.kit-list .icon { font-size: 1.3rem; color: var(--sun); margin-top: .15rem; }
.kit-list strong { display: block; font-weight: 650; margin-bottom: .2rem; }
.kit-list span { color: var(--mute-on-dark); font-size: .95rem; line-height: 1.5; display: block; }

/* ---------- Process ---------- */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 1.6rem;
  counter-reset: step;
}
.step { position: relative; padding-top: 4.3rem; counter-increment: step; }
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  width: 3rem; height: 3rem; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700; font-size: .95rem; font-stretch: 112%;
  background: var(--paper); border: 1.5px solid var(--forest); color: var(--forest);
  z-index: 1;
}
.step::after {
  content: ""; position: absolute; top: 1.5rem; left: 3rem; right: -1.6rem; height: 1.5px;
  background: repeating-linear-gradient(90deg, var(--forest) 0 6px, transparent 6px 12px); opacity: .5;
}
.step:last-child::after { display: none; }
.step:last-child::before { background: var(--forest); color: #fff; }
.step h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.step p { color: var(--mute); font-size: .98rem; margin: 0; }

.process-band {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; align-items: stretch;
  border-radius: var(--radius-m); overflow: hidden; background: var(--forest); color: #fff;
}
.process-band figure { margin: 0; min-height: 300px; }
.process-band img { width: 100%; height: 100%; object-fit: cover; }
.process-band .band-body { padding: clamp(1.75rem, 4vw, 3.25rem); align-self: center; }
.process-band h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-stretch: var(--wide); margin-bottom: .8rem; }
.process-band p { color: rgba(255,255,255,.82); }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--stone); border-radius: var(--radius-m); overflow: hidden; background: var(--white); }
.plan { padding: clamp(1.75rem, 3vw, 2.5rem); display: flex; flex-direction: column; }
.plan + .plan { border-left: 1px solid var(--stone); }
.plan.is-featured { background: var(--forest); color: #fff; border-color: var(--forest); }
.plan-tag {
  align-self: flex-start; font-size: .82rem; font-weight: 650;
  background: var(--sun); color: var(--ink); padding: .25rem .65rem; border-radius: 99px; margin-bottom: 1rem;
}
.plan-tag.is-quiet { background: var(--paper-2); color: var(--ink); }
.plan h3 { font-size: 1.55rem; font-stretch: var(--wide); margin-bottom: .5rem; }
.plan .plan-for { color: var(--mute); margin-bottom: 1.4rem; min-height: 3.2em; }
.plan.is-featured .plan-for { color: rgba(255,255,255,.8); }
.plan .price { font-weight: 700; font-size: 1.05rem; padding-bottom: 1.1rem; margin-bottom: 1.1rem; border-bottom: 1px solid var(--stone); }
.plan.is-featured .price { border-color: rgba(255,255,255,.2); }
.plan ul { list-style: none; padding: 0; margin: 0 0 2rem; flex: 1; }
.plan li { display: flex; gap: .6rem; padding: .35rem 0; }
.plan li .icon { color: var(--leaf); margin-top: .3rem; }
.plan.is-featured li .icon { color: var(--sun); }

/* ---------- Showcase ---------- */
.gallery {
  display: grid; gap: clamp(.75rem, 1.4vw, 1.1rem);
  grid-template-columns: repeat(12, 1fr);
}
.shot { position: relative; margin: 0; border-radius: var(--radius-m); overflow: hidden; background: var(--paper-2); }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot figcaption {
  position: absolute; left: .75rem; bottom: .75rem;
  background: rgba(244,245,240,.94); color: var(--ink);
  font-size: .85rem; font-weight: 600; padding: .35rem .7rem; border-radius: var(--radius-s);
}
.g-a { grid-column: 1 / span 8; aspect-ratio: 16 / 8.4; }
.g-b { grid-column: 9 / span 4; grid-row: span 2; }
.g-c { grid-column: 1 / span 4; aspect-ratio: 4 / 3.4; }
.g-d { grid-column: 5 / span 4; aspect-ratio: 4 / 3.4; }
.g-e { grid-column: 1 / span 5; aspect-ratio: 4 / 3; }
.g-f { grid-column: 6 / span 7; aspect-ratio: 16 / 9.15; }
.gallery-note { font-size: .92rem; color: var(--mute); margin-top: 1.25rem; }

/* ---------- Before / after ---------- */
.compare {
  position: relative; border-radius: var(--radius-m); overflow: hidden;
  aspect-ratio: 1264 / 848; background: var(--ink); user-select: none; touch-action: pan-y;
  --pos: 50%;
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare .compare-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px;
  background: #fff; pointer-events: none; box-shadow: 0 0 0 1px rgba(0,0,0,.08);
}
.compare-handle span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--ink);
  display: grid; place-items: center; box-shadow: 0 6px 24px rgba(0,0,0,.25);
}
.compare-handle .icon { font-size: 1.1rem; }
.compare-label {
  position: absolute; top: 1rem; padding: .3rem .7rem; border-radius: var(--radius-s);
  font-size: .85rem; font-weight: 650; pointer-events: none;
}
.compare-label.is-before { left: 1rem; background: rgba(24,32,29,.78); color: #fff; }
.compare-label.is-after { right: 1rem; background: var(--sun); color: var(--ink); }
.compare input[type="range"] {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; pointer-events: none;
}
.compare { cursor: ew-resize; }
.compare:has(input:focus-visible) { outline: 3px solid var(--sun); outline-offset: 3px; }

/* ---------- Locations ---------- */
.areas { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2vw, 1.5rem); }
.area { background: var(--white); border: 1px solid var(--stone); border-radius: var(--radius-m); padding: clamp(1.6rem, 3vw, 2.5rem); display: flex; flex-direction: column; }
.area h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-stretch: var(--xwide); font-weight: 800; letter-spacing: -.03em; margin-bottom: .3rem; }
.area .area-sub { color: var(--mute); margin-bottom: 1.6rem; }
.area h4 { font-size: .95rem; font-weight: 700; margin: 0 0 .7rem; }
.place-list { list-style: none; padding: 0; margin: 0 0 1.6rem; columns: 3 9rem; column-gap: 1.5rem; }
.place-list li { padding: .22rem 0; break-inside: avoid; color: var(--ink-2); font-size: .98rem; }
.area .btn { margin-top: auto; align-self: flex-start; }

/* ---------- FAQ ---------- */
.faq .accordion {
  --bs-accordion-bg: transparent;
  --bs-accordion-border-color: var(--stone);
  --bs-accordion-border-radius: 0;
  --bs-accordion-inner-border-radius: 0;
  --bs-accordion-btn-padding-x: 0;
  --bs-accordion-btn-padding-y: 1.35rem;
  --bs-accordion-body-padding-x: 0;
  --bs-accordion-body-padding-y: 0;
  --bs-accordion-active-bg: transparent;
  --bs-accordion-active-color: var(--ink);
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-btn-icon-width: 1.1rem;
  border-top: 1px solid var(--ink);
}
.faq .accordion-item { border-left: 0; border-right: 0; border-top: 0; }
.faq .accordion-button { font-size: 1.12rem; font-weight: 650; color: var(--ink); gap: 1rem; }
.faq .accordion-button:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.faq .accordion-body p { color: var(--mute); padding-bottom: 1.4rem; margin: 0; max-width: 40em; }
.ask-box { border-top: 1px solid var(--ink); padding-top: 1.4rem; margin-top: 2rem; }
.ask-box p { color: var(--mute); }

/* ---------- Quote / closing ---------- */
.closing { position: relative; isolation: isolate; color: #fff; overflow: hidden; }
.closing-media, .closing-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.closing-media { z-index: -2; }
.closing-media img { object-fit: cover; object-position: center 60%; }
.closing::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(14, 33, 26, .92) 0%, rgba(14, 33, 26, .78) 45%, rgba(14, 33, 26, .55) 100%);
}
.closing h2 {
  font-size: clamp(2.4rem, 4.4vw, 4.1rem); font-weight: 820; font-stretch: var(--xwide);
  line-height: .95; letter-spacing: -.035em; margin-bottom: 1.6rem;
}
.closing .lead-text { color: rgba(255,255,255,.84); }
.direct { list-style: none; padding: 0; margin: 2.2rem 0 0; border-top: 1px solid rgba(255,255,255,.2); }
.direct li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1.2rem; padding: 1.05rem 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.direct .who { font-weight: 650; }
.direct .who small { display: block; font-weight: 400; color: rgba(255,255,255,.7); font-size: .9rem; }
.direct .ways { display: flex; gap: .5rem; flex-wrap: wrap; }
.chip-link {
  display: inline-flex; align-items: center; gap: .45rem;
  color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: .45rem .8rem; border: 1px solid rgba(255,255,255,.35); border-radius: 99px;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.chip-link:hover { background: #fff; color: var(--ink); border-color: #fff; }
.chip-link .icon { color: var(--sun); }
.chip-link:hover .icon { color: var(--forest); }

/* Form panel */
.quote-panel {
  background: var(--paper); color: var(--ink);
  border-radius: var(--radius-m); padding: clamp(1.5rem, 3vw, 2.4rem);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.55);
}
.quote-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .7rem; }
.quote-top h3 { font-size: 1.35rem; font-stretch: var(--wide); margin: 0; }
.quote-count { font-size: .9rem; color: var(--mute); white-space: nowrap; }
.quote-progress { height: 4px; background: var(--paper-2); border-radius: 99px; overflow: hidden; margin-bottom: 1.8rem; }
.quote-progress span { display: block; height: 100%; width: 16.66%; background: var(--forest); transition: width .4s var(--ease); }

.q-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.q-step[hidden] { display: none; }
.q-step legend { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 700; font-stretch: 110%; letter-spacing: -.01em; margin-bottom: 1.2rem; float: none; line-height: 1.2; }
.q-step .q-hint { color: var(--mute); font-size: .95rem; margin-top: -.6rem; margin-bottom: 1.2rem; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice label {
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  padding: .95rem 1rem; border: 1.5px solid var(--stone); border-radius: var(--radius-s);
  background: var(--white); font-weight: 600; cursor: pointer; min-height: 3.4rem;
  transition: border-color .15s var(--ease), background-color .15s var(--ease);
}
.choice label::after {
  content: ""; width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 1.5px solid var(--stone); flex: none;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.choice input:hover + label { border-color: var(--mute); }
.choice input:checked + label { border-color: var(--forest); background: #eef4ef; }
.choice input:checked + label::after { border-color: var(--forest); box-shadow: inset 0 0 0 4px #eef4ef, inset 0 0 0 9px var(--forest); }
.choice input:focus-visible + label { outline: 3px solid var(--sun); outline-offset: 2px; }

.q-error { color: #b42318; font-size: .92rem; font-weight: 550; margin-top: .9rem; display: flex; gap: .45rem; align-items: center; }
.q-error[hidden] { display: none; }

.quote-panel .form-label { font-weight: 600; font-size: .95rem; margin-bottom: .35rem; }
.quote-panel .form-label .opt { font-weight: 400; color: var(--mute); }
.quote-panel .form-control, .quote-panel .form-select {
  border: 1.5px solid var(--stone); border-radius: var(--radius-s); padding: .7rem .85rem; background-color: var(--white);
}
.quote-panel .form-control:focus, .quote-panel .form-select:focus { border-color: var(--forest); box-shadow: 0 0 0 .2rem rgba(14,75,59,.15); }
.quote-panel .form-control.is-invalid, .quote-panel .form-select.is-invalid { border-color: #b42318; }
.quote-panel .invalid-feedback { color: #b42318; }
.quote-panel .form-text { color: var(--mute); }
.quote-panel .form-check-input:checked { background-color: var(--forest); border-color: var(--forest); }
.quote-panel .form-check-label { font-size: .93rem; color: var(--mute); }

.q-nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.8rem; }
.q-back { background: none; border: 0; color: var(--ink); font-weight: 600; display: inline-flex; align-items: center; gap: .45rem; padding: .5rem 0; }
.q-back:disabled { visibility: hidden; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.q-result { text-align: left; }
.q-result[hidden] { display: none; }
.q-result .result-icon { font-size: 2.4rem; color: var(--forest); margin-bottom: .8rem; }
.q-result.is-error .result-icon { color: #b42318; }
.q-result h3 { font-size: 1.5rem; font-stretch: var(--wide); margin-bottom: .6rem; }
.q-result p { color: var(--mute); }
.q-result .ref { font-weight: 650; color: var(--ink); }
.spinner-border-sm { --bs-spinner-border-width: .15em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #fff; padding-top: clamp(3.5rem, 7vw, 5.5rem); }
.site-footer .slogan { color: #fff; font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 750; font-stretch: var(--wide); letter-spacing: -.02em; line-height: 1.1; margin: 1.6rem 0 1rem; max-width: 14em; }
.site-footer p { color: var(--mute-on-dark); }
.foot-col h3 { font-size: .95rem; font-weight: 700; margin-bottom: 1rem; color: #fff; }
.foot-col ul { list-style: none; padding: 0; margin: 0; }
.foot-col li { padding: .28rem 0; }
.foot-col a { color: var(--mute-on-dark); text-decoration: none; }
.foot-col a:hover { color: #fff; text-decoration: underline; }
.foot-contact a { display: inline-flex; align-items: center; gap: .5rem; }
.foot-contact .icon { color: var(--sun); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: clamp(2.5rem, 5vw, 4rem); padding-block: 1.6rem; font-size: .9rem; color: var(--mute-on-dark); }
.foot-bottom a { color: var(--mute-on-dark); }
.foot-bottom a:hover { color: #fff; }

/* ---------- Mobile action bar ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1025;
  display: none; grid-template-columns: 1fr 1fr 1.25fr;
  background: var(--ink); border-top: 1px solid rgba(255,255,255,.1);
  padding: .5rem .5rem calc(.5rem + env(safe-area-inset-bottom));
  gap: .5rem;
  transform: translateY(110%); transition: transform .35s var(--ease);
}
.action-bar.is-visible { transform: none; }
.action-bar .btn { width: 100%; --bs-btn-padding-y: .75rem; --bs-btn-font-size: .95rem; }
.action-bar .dropdown-menu { --bs-dropdown-link-active-bg: var(--forest); min-width: 15rem; }
.action-bar .dropdown-item { padding: .7rem 1rem; display: flex; justify-content: space-between; gap: 1rem; }
.action-bar .dropdown-item small { color: var(--mute); }
.btn-bar { --bs-btn-color: #fff; --bs-btn-border-color: rgba(255,255,255,.25); --bs-btn-hover-bg: rgba(255,255,255,.1); --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: rgba(255,255,255,.4); --bs-btn-active-bg: rgba(255,255,255,.15); --bs-btn-active-color: #fff; }
.btn-bar .icon { color: var(--sun); }
.dropdown-toggle.btn-bar::after { display: none; }

/* ---------- Legal pages ---------- */
.page-head { background: var(--ink); color: #fff; padding: 9rem 0 3.5rem; }
.page-head h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 820; font-stretch: var(--xwide); letter-spacing: -.03em; line-height: 1; }
.legal { max-width: 46rem; padding-block: clamp(3rem, 6vw, 5rem); }
.legal h2 { font-size: 1.45rem; font-stretch: 110%; margin-top: 2.4rem; margin-bottom: .7rem; }
.legal p, .legal li { color: var(--ink-2); }
.draft-note { background: #fff6e1; border: 1px solid #f1d38f; border-radius: var(--radius-s); padding: 1rem 1.2rem; font-size: .95rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem 1.6rem; }
  .step:nth-child(3)::after { display: none; }
  .t-res { grid-column: 1 / span 6; }
  .t-com { grid-column: 7 / span 6; }
  .t-farm { grid-column: 7 / span 3; }
  .t-agri { grid-column: 10 / span 3; }
}

@media (max-width: 991.98px) {
  [id] { scroll-margin-top: 76px; }
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .hero-facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-facts li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.18); }
  .bento { grid-template-columns: 1fr 1fr; }
  .t-res, .t-com, .t-farm, .t-agri, .t-prop, .t-main { grid-column: auto; grid-row: auto; min-height: 340px; }
  .t-res { grid-row: span 2; min-height: 0; }
  .t-com { grid-column: 1 / -1; order: -1; }
  .sectors { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .benefit:nth-child(even) { padding-left: 0; border-left: 0; }
  .plans { grid-template-columns: 1fr; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--stone); }
  .plan .plan-for { min-height: 0; }
  .process-band { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .g-a, .g-f { grid-column: 1 / -1; }
  .g-b { grid-column: auto; grid-row: span 2; }
  .g-c, .g-d, .g-e { grid-column: auto; }
  .areas { grid-template-columns: 1fr; }
  .action-bar { display: grid; }
  body { padding-bottom: 76px; }
}

@media (max-width: 767.98px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { padding: 0 0 2rem 4.2rem; min-height: 3rem; }
  .step::after { top: 3rem; bottom: 0; left: 1.5rem; right: auto; width: 1.5px; height: auto; background: repeating-linear-gradient(180deg, var(--forest) 0 6px, transparent 6px 12px); display: block; }
  .step:nth-child(3)::after { display: block; }
  .step:last-child::after { display: none; }
  .kit-list { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .g-a, .g-b, .g-c, .g-d, .g-e, .g-f { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
  .glance-row { grid-template-columns: 1fr; gap: .2rem; }
}

@media (max-width: 575.98px) {
  body { font-size: 1rem; }
  .hero-inner { padding-top: 7.5rem; }
  .hero-actions .btn { width: 100%; }
  .hero-facts li { font-size: .88rem; padding-right: .5rem; }
  .hero-facts li + li { padding-left: .9rem; }
  .hero-facts li:nth-child(3) { padding-left: 0; }
  .bento { grid-template-columns: 1fr; }
  .t-res, .t-com { grid-column: auto; grid-row: auto; min-height: 380px; }
  .t-res { min-height: 460px; }
  .choices { grid-template-columns: 1fr; }
  .direct li { flex-direction: column; align-items: flex-start; }
}

/* Keep large row gutters inside the container padding on small screens */
.row.g-5, .row.g-4 { --bs-gutter-x: min(3rem, calc(var(--gutter) * 2)); }
.foot-contact a { overflow-wrap: anywhere; }

/* Closing grid: headline + contacts beside the form on desktop, form straight after the headline on mobile */
.closing-grid {
  display: grid; gap: 0 clamp(2rem, 6vw, 6rem);
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  grid-template-areas: "head form" "direct form";
  align-items: start;
}
.closing-head { grid-area: head; }
.closing-direct { grid-area: direct; }
.closing-form { grid-area: form; }
@media (max-width: 991.98px) {
  .closing-grid { grid-template-columns: 1fr; grid-template-areas: "head" "form" "direct"; }
  .closing-form { margin-top: .5rem; }
  .hero::before {
    background:
      linear-gradient(0deg, rgba(16, 24, 21, .94) 0%, rgba(16, 24, 21, .72) 45%, rgba(16, 24, 21, .35) 75%, rgba(16, 24, 21, .55) 100%);
  }
  .place-list { columns: 2 7rem; }
}
.action-bar .btn { white-space: nowrap; --bs-btn-padding-x: .6rem; }

/* Footer office addresses */
.foot-addresses { margin-top: 1.4rem; display: grid; gap: 1rem; }
.foot-address {
  display: grid; grid-template-columns: 1rem 1fr; gap: .5rem;
  margin: 0; font-style: normal; font-size: .95rem; line-height: 1.5; color: var(--mute-on-dark);
}
.foot-address .icon { color: var(--sun); margin-top: .25rem; }
.foot-address strong { display: block; color: #fff; font-weight: 600; }
