/* =========================================================
   Obrezovanje.com — Matjaž Bratkovič s.p.
   Design system · Apple-inspired, fluid, motion-rich
   ========================================================= */

@font-face {
  font-family: "Jakarta";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(../fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2) format("woff2");
  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: "Jakarta";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(../fonts/plus-jakarta-sans-latin-wght-normal.woff2) format("woff2");
  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;
}

:root {
  /* Brand */
  --green-950: #01180f;
  --green-900: #022b1f;
  --green-800: #035940;   /* brand primary */
  --green-700: #0a6a4b;
  --green-600: #2a7d2e;   /* brand secondary */
  --green-500: #3f9a45;
  --green-100: #e7f0e9;
  --green-50:  #f3f7f2;
  --yellow:    #f2e206;   /* brand accent */
  --yellow-soft: #fff7a8;

  /* Neutrals */
  --ink: #0c1a13;
  --text: #45544c;
  --muted: #7c8a82;
  --line: rgba(12, 26, 19, 0.09);
  --bg: #ffffff;
  --surface: #f4f7f3;

  /* Type */
  --font: "Jakarta", "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Radii & shadows */
  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 32px;
  --r-xl: 44px;
  --shadow-sm: 0 1px 2px rgba(2, 43, 31, .06), 0 4px 14px rgba(2, 43, 31, .06);
  --shadow-md: 0 2px 6px rgba(2, 43, 31, .06), 0 18px 48px -12px rgba(2, 43, 31, .18);
  --shadow-lg: 0 30px 80px -20px rgba(2, 43, 31, .35);

  /* Motion — critically damped “spring” curves */
  --ease-out: cubic-bezier(.16, 1, .3, 1);       /* expo-out, settles like damping 1.0 */
  --ease-spring: cubic-bezier(.34, 1.36, .64, 1); /* slight overshoot, for momentum only */
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur-1: 160ms;
  --dur-2: 380ms;
  --dur-3: 700ms;
  --dur-4: 1100ms;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(88px, 12vw, 168px);
  --nav-h: 78px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 100px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0; color: var(--ink); font-weight: 700; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--yellow); color: var(--green-950); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 8px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 1000; background: var(--yellow); color: var(--green-950); padding: 10px 16px; border-radius: 12px; font-weight: 700; transition: top var(--dur-2) var(--ease-out); }
.skip-link:focus { top: 16px; }

/* ---------- Typography ---------- */
.display {
  font-size: clamp(2.6rem, 6.4vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.038em;
  font-weight: 800;
}
.display em { font-style: normal; font-weight: 300; }
.h2 {
  font-size: clamp(2rem, 4.3vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.032em;
  font-weight: 750;
}
.h3 {
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 700;
}
.lead {
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  line-height: 1.5;
  letter-spacing: -0.008em;
  color: var(--text);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(242, 226, 6, .22);
}
.text-balance { text-wrap: balance; }
.text-pretty { text-wrap: pretty; }
.muted { color: var(--muted); }

/* ---------- Layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), 880px); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.section--tint { background: var(--surface); }
.section--dark { background: var(--green-900); color: rgba(255,255,255,.72); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: 22px; }
.grid-2 { display: grid; gap: clamp(32px, 6vw, 96px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 960px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--green-800);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 650;
  font-size: 1rem;
  letter-spacing: -0.005em;
  white-space: nowrap;
  isolation: isolate;
  overflow: hidden;
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out);
  will-change: transform;
  -webkit-tap-highlight-color: transparent;
}
.btn::before { /* liquid fill on hover */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--btn-fill, var(--green-600));
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 520ms var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: scale(.965); transition-duration: 90ms; }
.btn .btn__icon { width: 18px; height: 18px; transition: transform var(--dur-2) var(--ease-out); }
.btn:hover .btn__icon { transform: translateX(4px); }
.btn--accent { --btn-bg: var(--yellow); --btn-fg: var(--green-950); --btn-fill: #fff; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--green-900); --btn-fill: var(--yellow); }
.btn--ghost { --btn-bg: rgba(255,255,255,.12); --btn-fg: #fff; --btn-fill: rgba(255,255,255,.22); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--green-800); --btn-fill: var(--green-800); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--outline:hover { color: #fff; }
.btn--lg { min-height: 60px; padding: 0 32px; font-size: 1.0625rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 650; color: var(--green-800);
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1.5px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size var(--dur-3) var(--ease-out), gap var(--dur-2) var(--ease-out);
}
.link-arrow:hover { background-size: 100% 1.5px; gap: 12px; }
.link-arrow svg { width: 16px; height: 16px; }

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 200;
  background: linear-gradient(90deg, var(--yellow), #b8e34a);
  transform-origin: 0 50%;
  transform: scaleX(var(--scroll, 0));
  pointer-events: none;
}

/* ---------- Navigation (floating glass) ---------- */
.nav {
  position: fixed;
  top: 14px; left: 50%;
  z-index: 100;
  width: min(100% - 24px, 1280px);
  transform: translate(-50%, 0);
  transition: transform 600ms var(--ease-out), top 600ms var(--ease-out);
}
.nav.is-hidden { transform: translate(-50%, calc(-100% - 24px)); }
.nav__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: var(--nav-h);
  padding: 0 10px 0 22px;
  border-radius: 999px;
  background: rgba(2, 36, 26, .55);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 0 0 1px rgba(255,255,255,.08), 0 10px 40px -10px rgba(1, 24, 15, .45);
  transition: background-color var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out);
}
.nav.is-scrolled .nav__bar { background: rgba(2, 36, 26, .78); }
.nav__logo { display: flex; align-items: center; height: 100%; flex-shrink: 0; }
.nav__logo img { height: 60px; width: auto; transition: transform var(--dur-2) var(--ease-out); }
.nav__logo:hover img { transform: scale(1.04); }
.nav__logo-fallback { color: #fff; font-weight: 800; letter-spacing: -0.02em; }
.nav__menu { display: none; align-items: center; gap: 2px; }
.nav__link {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  height: 42px; padding: 0 16px;
  border-radius: 999px;
  color: rgba(255,255,255,.82);
  font-size: .9375rem; font-weight: 550;
  transition: color var(--dur-2) var(--ease-out), background-color var(--dur-2) var(--ease-out);
}
.nav__link:hover, .nav__link[aria-expanded="true"] { color: #fff; background: rgba(255,255,255,.09); }
.nav__link.is-active { color: #fff; }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; border-radius: 50%;
  background: var(--yellow); transform: translateX(-50%);
}
.nav__link svg { width: 12px; height: 12px; transition: transform var(--dur-2) var(--ease-out); }
.nav__item--has-dd:hover .nav__link svg, .nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__cta { display: none; }
.nav__cta .btn { min-height: 44px; padding: 0 20px; font-size: .9375rem; }
@media (min-width: 1024px) {
  .nav__menu, .nav__cta { display: flex; }
  .nav__burger { display: none !important; }
}

/* Dropdown — materializes from its trigger */
.nav__item { position: relative; }
.dd {
  position: absolute; top: calc(100% + 14px); left: 50%;
  width: 340px;
  padding: 10px;
  border-radius: 24px;
  background: rgba(2, 36, 26, .95);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 0 0 1px rgba(255,255,255,.08), var(--shadow-lg);
  transform-origin: 50% 0;
  transform: translate(-50%, -6px) scale(.96);
  opacity: 0; visibility: hidden;
  filter: blur(6px);
  transition: opacity 260ms var(--ease-out), transform 420ms var(--ease-out), filter 420ms var(--ease-out), visibility 0s linear 420ms;
}
.dd::before { content: ""; position: absolute; inset: -16px 0 auto 0; height: 16px; } /* hover bridge */
.nav__item--has-dd:hover .dd, .nav__item--has-dd:focus-within .dd, .nav__item--has-dd.is-open .dd {
  opacity: 1; visibility: visible; filter: blur(0);
  transform: translate(-50%, 0) scale(1);
  transition: opacity 260ms var(--ease-out), transform 520ms var(--ease-out), filter 420ms var(--ease-out), visibility 0s;
}
.dd a {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px; border-radius: 16px;
  color: rgba(255,255,255,.85); font-size: .9375rem; font-weight: 550;
  transition: background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out);
}
.dd a:hover { background: rgba(255,255,255,.08); color: #fff; }
.dd a:active { transform: scale(.98); }
.dd__ico {
  display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 12px; background: rgba(242, 226, 6, .12); color: var(--yellow);
}
.dd__ico svg { width: 18px; height: 18px; }
.dd a.is-active { background: rgba(255,255,255,.1); color: #fff; }

/* Burger */
.nav__burger {
  position: relative; width: 48px; height: 48px; border-radius: 50%;
  background: var(--yellow);
  display: grid; place-items: center;
  transition: transform var(--dur-2) var(--ease-out);
}
.nav__burger:active { transform: scale(.92); }
.nav__burger span {
  position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: var(--green-950);
  transition: transform 500ms var(--ease-out), opacity var(--dur-2) var(--ease-out);
}
.nav__burger span:nth-child(1) { transform: translateY(-5px); }
.nav__burger span:nth-child(2) { transform: translateY(5px); }
.nav-open .nav__burger span:nth-child(1) { transform: rotate(45deg); }
.nav-open .nav__burger span:nth-child(2) { transform: rotate(-45deg); }

/* Mobile sheet */
.sheet {
  position: fixed; inset: 0; z-index: 90;
  padding: calc(var(--nav-h) + 44px) var(--gutter) 32px;
  background: rgba(1, 24, 15, .86);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  display: flex; flex-direction: column;
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  clip-path: circle(0 at calc(100% - 44px) 46px);
  transition: clip-path 700ms var(--ease-in-out), opacity 300ms var(--ease-out), visibility 0s linear 700ms;
}
.nav-open .sheet {
  opacity: 1; visibility: visible;
  clip-path: circle(150vmax at calc(100% - 44px) 46px);
  transition: clip-path 800ms var(--ease-out), opacity 200ms var(--ease-out), visibility 0s;
}
.sheet__list > li { overflow: hidden; }
.sheet__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
  font-size: clamp(1.75rem, 7vw, 2.5rem); font-weight: 750; letter-spacing: -0.03em; line-height: 1.1;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transform: translateY(100%);
  transition: transform 700ms var(--ease-out), color var(--dur-2);
  transition-delay: calc(var(--i, 0) * 50ms + 120ms);
}
.sheet__link.is-active { color: var(--yellow); }
.nav-open .sheet__link { transform: translateY(0); }
.sheet__sub { padding: 8px 0 14px 4px; display: grid; gap: 2px; }
.sheet__sub a {
  display: block; padding: 8px 0; color: rgba(255,255,255,.72); font-size: 1.0625rem; font-weight: 550;
  opacity: 0; transform: translateY(12px);
  transition: opacity 500ms var(--ease-out), transform 600ms var(--ease-out), color var(--dur-2);
  transition-delay: calc(var(--i, 0) * 40ms + 260ms);
}
.sheet__sub a.is-active { color: var(--yellow); }
.nav-open .sheet__sub a { opacity: 1; transform: none; }
.sheet__foot {
  margin-top: auto; padding-top: 32px; display: grid; gap: 12px;
  opacity: 0; transform: translateY(16px);
  transition: opacity 500ms var(--ease-out) 400ms, transform 600ms var(--ease-out) 400ms;
}
.nav-open .sheet__foot { opacity: 1; transform: none; }
.sheet__foot .btn { width: 100%; }
.sheet__meta { color: rgba(255,255,255,.55); font-size: .9375rem; text-align: center; }
body.nav-open { overflow: hidden; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  background: var(--green-950);
}
.hero__sticky {
  position: relative;
  height: 100vh; height: 100svh; min-height: 640px;
  display: grid; place-items: center;
  overflow: hidden;
}
.hero__media {
  --p: 0;
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 70% 10%, #2a7d2e 0%, #035940 45%, #01180f 100%);
}
.hero__img {
  position: absolute; left: 0; right: 0; top: -8%;
  width: 100%; max-width: none; height: 116%;
  object-fit: cover;
  transform: translateY(calc(var(--p) * 22%)) scale(calc(1 + var(--p) * .06));
  animation: heroZoom 2.4s var(--ease-out) both;
  will-change: transform;
}
@keyframes heroZoom { from { scale: 1.12; filter: blur(8px); } to { scale: 1; filter: blur(0); } }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(1,24,15,.55) 0%, rgba(1,24,15,.25) 40%, rgba(1,24,15,.78) 100%),
    radial-gradient(80% 60% at 50% 45%, rgba(3,89,64,.25), transparent 70%);
}
.hero__content {
  --p: 0;
  position: relative; z-index: 2;
  text-align: center; color: #fff;
  padding: calc(var(--nav-h) + 40px) var(--gutter) 60px;
  max-width: 1100px;
  opacity: calc(1 - var(--p) * 1.1);
  transform: translateY(calc(var(--p) * 90px));
}
.hero__content .display { color: #fff; }
.hero__content .display em { color: rgba(255,255,255,.9); }
.hero__content .display strong { font-weight: 800; color: #fff; }
.hero__content .display strong:last-child { color: var(--yellow); }
.hero__lead { margin: 28px auto 0; max-width: 720px; color: rgba(255,255,255,.82); font-size: clamp(1.0625rem, 1.5vw, 1.3125rem); line-height: 1.55; }
.hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero__chips {
  margin-top: 56px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 12px; border-radius: 999px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
  color: #fff; font-size: .875rem; font-weight: 600; letter-spacing: .005em;
}
.chip svg { width: 18px; height: 18px; color: var(--yellow); }
.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; z-index: 3;
  width: 26px; height: 42px; border-radius: 20px;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.5);
  transform: translateX(-50%);
  opacity: calc(1 - var(--p, 0) * 4);
}
.hero__scroll::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 4px; background: #fff;
  transform: translateX(-50%);
  animation: scrollDot 1.8s var(--ease-in-out) infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 14px); } }

/* Split-text reveal */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .wi { display: inline-block; transform: translateY(105%); transition: transform 1100ms var(--ease-out); transition-delay: calc(var(--wi, 0) * 60ms + var(--split-delay, 0ms)); }
.split.is-in .wi { transform: translateY(0); }

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  position: relative;
  min-height: clamp(460px, 68vh, 680px);
  display: flex; align-items: flex-end;
  padding: calc(var(--nav-h) + 80px) 0 clamp(56px, 7vw, 96px);
  color: #fff;
  overflow: hidden;
  background: radial-gradient(120% 90% at 80% 0%, #2a7d2e 0%, #035940 40%, #01180f 100%);
  isolation: isolate;
}
.page-hero__img {
  position: absolute; inset: -10% 0 0 0; z-index: -2;
  width: 100%; height: 120%; object-fit: cover;
  transform: translateY(calc(var(--py, 0) * 1px)) scale(1.05);
  animation: heroZoom 2s var(--ease-out) both;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(1,24,15,.55), rgba(1,24,15,.35) 40%, rgba(1,24,15,.85));
}
.page-hero .display { color: #fff; font-size: clamp(2.6rem, 7vw, 5.4rem); max-width: 14ch; }
.page-hero .lead { color: rgba(255,255,255,.8); margin-top: 20px; max-width: 620px; }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; font-size: .875rem; font-weight: 600; color: rgba(255,255,255,.7); }
.crumbs a { color: rgba(255,255,255,.7); transition: color var(--dur-2); }
.crumbs a:hover { color: var(--yellow); }
.crumbs svg { width: 12px; height: 12px; opacity: .6; }
.crumbs [aria-current] { color: #fff; }

/* ---------- Scroll-scrubbed statement ---------- */
.statement { font-size: clamp(1.75rem, 3.8vw, 3.25rem); line-height: 1.18; letter-spacing: -0.03em; font-weight: 700; color: var(--ink); }
.statement .sw { opacity: .14; transition: opacity 240ms linear; }
.statement .sw.on { opacity: 1; }
.no-js .statement .sw, .reduced .statement .sw { opacity: 1; }

/* ---------- Service cards (bento) ---------- */
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 720px) and (max-width: 1079px) {
  .bento > :nth-child(5) { grid-column: 1 / -1; width: calc(50% - 8px); justify-self: center; }
}
@media (min-width: 1080px) {
  .bento { grid-template-columns: repeat(6, 1fr); gap: 20px; }
  .bento > * { grid-column: span 2; }
  .bento > :nth-child(4) { grid-column: 2 / span 2; }
  .bento > :nth-child(5) { grid-column: 4 / span 2; }
}
.card {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  aspect-ratio: 427 / 470;
  min-height: 380px;
  padding: clamp(24px, 3vw, 32px);
  border-radius: var(--r-lg);
  overflow: hidden;
  color: #fff;
  isolation: isolate;
  background: radial-gradient(140% 100% at 0% 0%, #2a7d2e, #035940 55%, #022b1f);
  transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform 700ms var(--ease-out), box-shadow 700ms var(--ease-out);
  box-shadow: var(--shadow-sm);
  -webkit-tap-highlight-color: transparent;
}
.card:hover { box-shadow: var(--shadow-lg); }
.card:active { transform: perspective(1200px) scale(.985); transition-duration: 120ms; }
.card__img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
  transition: transform 1400ms var(--ease-out), filter 900ms var(--ease-out);
}
.card:hover .card__img { transform: scale(1.14); }
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(1,24,15,.6) 0%, rgba(1,24,15,0) 30%, rgba(1,24,15,.12) 42%, rgba(1,24,15,.62) 66%, rgba(1,24,15,.94) 100%);
  transition: opacity 700ms var(--ease-out);
}
.card::after { /* glare following the pointer */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255,255,255,.16), transparent 45%);
  opacity: 0; transition: opacity 500ms var(--ease-out);
}
.card:hover::after { opacity: 1; }
.card__num { position: absolute; top: clamp(24px, 3vw, 32px); left: clamp(24px, 3vw, 36px); font-size: .8125rem; font-weight: 700; letter-spacing: .12em; color: rgba(255,255,255,.85); text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.card__go {
  position: absolute; top: clamp(18px, 2.6vw, 26px); right: clamp(18px, 2.6vw, 26px);
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(1,24,15,.28);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
  transition: background-color 500ms var(--ease-out), transform 700ms var(--ease-spring), color 500ms;
}
.card__go svg { width: 18px; height: 18px; transform: rotate(-45deg); transition: transform 600ms var(--ease-out); }
.card:hover .card__go { background: var(--yellow); color: var(--green-950); transform: scale(1.08); }
.card:hover .card__go svg { transform: rotate(0deg); }
.card__title { color: #fff; font-size: clamp(1.35rem, 1.8vw, 1.65rem); line-height: 1.1; letter-spacing: -0.025em; font-weight: 750; transform: translateZ(40px); }
.card__text {
  margin-top: 12px; color: rgba(255,255,255,.78); font-size: .98rem; line-height: 1.55; max-width: 52ch;
  transform: translateZ(30px);
}


/* ---------- Why us ---------- */
.why__media { position: relative; min-height: 560px; }
.why__img {
  position: absolute; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md);
  background: linear-gradient(160deg, #2a7d2e, #035940);
}
.why__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15) translateY(calc(var(--py, 0) * 1px)); }
.why__img--a { inset: 0 26% 16% 0; }
.why__img--b { inset: 56% 0 2% 30%; border: 8px solid var(--bg); border-radius: calc(var(--r-lg) + 8px); }
.section--tint .why__img--b { border-color: var(--surface); }
.why__deco {
  position: absolute; z-index: 2; right: -4%; top: -9%;
  width: clamp(140px, 17vw, 230px);
  transform: translateY(calc(var(--py, 0) * 1px)) rotate(4deg);
  filter: drop-shadow(0 24px 30px rgba(2, 43, 31, .22));
  pointer-events: none;
}
.why__deco img { width: 100%; height: auto; animation: sway 7s var(--ease-in-out) infinite alternate; transform-origin: 50% 100%; }
@keyframes sway { from { rotate: -1.5deg; } to { rotate: 1.5deg; } }
.why__badge {
  position: absolute; left: 6%; bottom: 4%; z-index: 3;
  display: flex; align-items: center; gap: 14px;
  padding: 18px 24px 18px 18px;
  border-radius: 26px;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), var(--shadow-md);
}
.why__badge-num { font-size: 3rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: var(--green-800); font-variant-numeric: tabular-nums; }
.why__badge-num sup { font-size: 1.5rem; color: var(--green-600); vertical-align: super; margin-left: 2px; }
.why__badge-label { font-weight: 650; color: var(--ink); line-height: 1.25; font-size: .9375rem; }
.feature-list { display: grid; gap: 14px; margin-top: 40px; }
.feature {
  display: grid; grid-template-columns: auto 1fr; gap: 18px;
  padding: 24px; border-radius: var(--r-md);
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 600ms var(--ease-out), box-shadow 600ms var(--ease-out);
}
.section--tint .feature { background: #fff; }
.feature:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px transparent, var(--shadow-md); }
.feature__ico {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--green-100); color: var(--green-800);
  transition: transform 700ms var(--ease-spring), background-color 500ms;
}
.feature:hover .feature__ico { transform: rotate(-8deg) scale(1.08); background: var(--yellow); }
.feature__ico svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.1875rem; letter-spacing: -0.015em; margin-bottom: 6px; }
.feature p { font-size: .98rem; }

/* ---------- Kinetic band ---------- */
.band { padding-block: clamp(40px, 5vw, 72px); overflow: hidden; background: var(--bg); }
.band__row {
  display: flex; gap: 28px; white-space: nowrap; width: max-content;
  font-size: clamp(1.75rem, 4.2vw, 3.75rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.1;
  color: var(--ink);
  transform: translate3d(var(--x, 0px), 0, 0);
  will-change: transform;
}
.band__row + .band__row { margin-top: 6px; }
.band__row span { display: inline-flex; align-items: center; gap: 28px; }
.band__row span::after { content: ""; width: .32em; height: .32em; border-radius: 50%; background: var(--yellow); display: inline-block; }
.band__row--outline { color: transparent; -webkit-text-stroke: 1.5px rgba(3, 89, 64, .45); }

/* ---------- Process steps ---------- */
.steps-wrap { display: grid; gap: clamp(40px, 6vw, 96px); }
@media (min-width: 960px) {
  .steps-wrap { grid-template-columns: 5fr 7fr; }
  .steps-head { position: sticky; top: 140px; align-self: start; }
}
.steps { position: relative; padding-left: 36px; }
.steps__list { display: grid; gap: 20px; list-style: none; margin: 0; padding: 0; }
.steps__rail, .steps__fill { position: absolute; left: 11px; top: 24px; bottom: 24px; width: 2px; border-radius: 2px; }
.steps__rail { background: var(--line); }
.steps__fill { background: linear-gradient(var(--green-600), var(--yellow)); transform-origin: 50% 0; transform: scaleY(var(--p, 0)); }
.step {
  position: relative;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--r-lg);
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 700ms var(--ease-out), transform 700ms var(--ease-out), background-color 700ms var(--ease-out);
}
.section--tint .step { background: #fff; }
.step::before {
  content: ""; position: absolute; left: -32px; top: 40px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg); box-shadow: 0 0 0 2px var(--line);
  transition: background-color 500ms var(--ease-out), box-shadow 500ms var(--ease-out), transform 700ms var(--ease-spring);
}
.step.is-active { box-shadow: var(--shadow-md); transform: translateX(6px); }
.step.is-active::before { background: var(--yellow); box-shadow: 0 0 0 5px rgba(242,226,6,.3); transform: scale(1.2); }
.step__num {
  display: inline-grid; place-items: center;
  min-width: 44px; height: 44px; padding: 0 12px; border-radius: 14px;
  background: var(--green-100); color: var(--green-800); font-weight: 800; font-size: 1.0625rem;
  margin-bottom: 18px;
  transition: background-color 500ms, color 500ms;
}
.step.is-active .step__num { background: var(--green-800); color: #fff; }
.step h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); letter-spacing: -0.02em; margin-bottom: 8px; }

/* ---------- CTA (dark, spotlight) ---------- */
.cta {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-xl);
  padding: clamp(56px, 8vw, 120px) clamp(28px, 6vw, 96px);
  background: var(--green-900);
  color: rgba(255,255,255,.78);
  text-align: center;
}
.cta__img { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; opacity: .42; transform: scale(1.1) translateY(calc(var(--py, 0) * 1px)); }
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(180deg, rgba(2,43,31,.55), rgba(1,24,15,.92));
}
.cta::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(600px circle at var(--mx) var(--my), rgba(242,226,6,.16), transparent 50%);
  transition: opacity 600ms;
}
.cta .eyebrow, .section--dark .eyebrow, .side-cta .eyebrow { color: var(--yellow); }
.cta h2 { color: #fff; max-width: 18ch; margin-inline: auto; }
.cta p { max-width: 640px; margin: 24px auto 0; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); }
.cta .btn-row { justify-content: center; margin-top: 40px; }

/* ---------- FAQ accordion ---------- */
.faq-wrap { display: grid; gap: clamp(40px, 6vw, 96px); }
@media (min-width: 960px) { .faq-wrap { grid-template-columns: 5fr 7fr; } .faq-aside { position: sticky; top: 140px; align-self: start; } }
.faq-aside .lead { margin-top: 22px; }
.ask-card {
  margin-top: 36px; padding: 28px; border-radius: var(--r-lg);
  background: var(--green-900); color: rgba(255,255,255,.75);
  position: relative; overflow: hidden; isolation: isolate;
}
.ask-card::before { content: ""; position: absolute; width: 260px; height: 260px; right: -80px; top: -80px; border-radius: 50%; background: radial-gradient(circle, rgba(242,226,6,.28), transparent 70%); z-index: -1; }
.ask-card h3 { color: #fff; font-size: 1.375rem; letter-spacing: -0.02em; margin-bottom: 10px; }
.ask-card .btn { margin-top: 22px; }
.faq { display: grid; gap: 12px; }
.faq__item {
  border-radius: var(--r-md);
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 600ms var(--ease-out), background-color 600ms var(--ease-out);
}
.section--tint .faq__item { background: #fff; }
.faq__item.is-open { box-shadow: inset 0 0 0 1px transparent, var(--shadow-md); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 24px 24px 28px; text-align: left;
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); font-weight: 650; letter-spacing: -0.012em; color: var(--ink);
  border-radius: var(--r-md);
  transition: color var(--dur-2);
}
.faq__q:hover { color: var(--green-800); }
.faq__icon {
  position: relative; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  background: var(--green-100);
  transition: background-color 500ms var(--ease-out), transform 700ms var(--ease-out);
}
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; border-radius: 2px;
  background: var(--green-800); transform: translate(-50%, -50%);
  transition: transform 600ms var(--ease-out), background-color 500ms;
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item.is-open .faq__icon { background: var(--green-800); transform: rotate(180deg); }
.faq__item.is-open .faq__icon::before, .faq__item.is-open .faq__icon::after { background: #fff; }
.faq__item.is-open .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 600ms var(--ease-out); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p {
  padding: 0 28px 26px; max-width: 64ch;
  opacity: 0; transform: translateY(-8px);
  transition: opacity 400ms var(--ease-out), transform 600ms var(--ease-out);
}
.faq__item.is-open .faq__a p { opacity: 1; transform: none; transition-delay: 80ms; }

/* ---------- Service detail layout ---------- */
.detail { display: grid; gap: clamp(40px, 5vw, 72px); }
@media (min-width: 1024px) { .detail { grid-template-columns: 340px 1fr; } .detail__aside { position: sticky; top: 110px; align-self: start; } }
.side-nav { padding: 12px; border-radius: var(--r-lg); background: var(--surface); }
.side-nav h2 { font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 12px 14px 10px; font-weight: 700; }
.side-nav a {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; border-radius: 16px;
  font-weight: 600; color: var(--ink);
  transition: background-color var(--dur-2) var(--ease-out), color var(--dur-2), transform var(--dur-2) var(--ease-out);
}
.side-nav a svg { width: 16px; height: 16px; opacity: 0; transform: translateX(-6px); transition: opacity var(--dur-2), transform var(--dur-2) var(--ease-out); }
.side-nav a:hover { background: #fff; }
.side-nav a:hover svg { opacity: 1; transform: none; }
.side-nav a:active { transform: scale(.98); }
.side-nav a.is-active { background: var(--green-800); color: #fff; }
.side-nav a.is-active svg { opacity: 1; transform: none; color: var(--yellow); }
.side-cta {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: 16px; padding: 32px 28px; border-radius: var(--r-lg);
  background: var(--green-900); color: rgba(255,255,255,.75);
}
.side-cta img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.side-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(2,43,31,.4), rgba(1,24,15,.92)); }
.side-cta h3 { color: #fff; font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 10px; }
.side-cta .tel { display: block; margin-top: 18px; color: var(--yellow); font-weight: 750; font-size: 1.25rem; letter-spacing: -0.01em; }
.side-cta .btn { margin-top: 18px; width: 100%; }

.prose h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 24px; }
.prose > * + h2 { margin-top: clamp(56px, 7vw, 88px); }
.prose p { font-size: 1.0625rem; line-height: 1.75; }
.prose p:first-of-type { font-size: clamp(1.125rem, 1.4vw, 1.3rem); line-height: 1.6; color: var(--ink); }
.intro-grid { display: grid; gap: clamp(28px, 4vw, 48px); align-items: start; }
@media (min-width: 760px) { .intro-grid { grid-template-columns: 1fr minmax(240px, 34%); } .intro-grid .media { position: sticky; top: 110px; } }
.media {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  aspect-ratio: 372 / 500; margin: 0;
  background: linear-gradient(160deg, #2a7d2e, #035940);
}
.media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12) translateY(calc(var(--py, 0) * 1px)); }
.reasons { display: grid; gap: 16px; }
@media (min-width: 720px) { .reasons { grid-template-columns: 1fr 1fr; } }
.reason {
  padding: 30px; border-radius: var(--r-lg); background: var(--surface);
  transition: transform 600ms var(--ease-out), box-shadow 600ms var(--ease-out), background-color 600ms;
}
.reason:hover { transform: translateY(-4px); background: #fff; box-shadow: var(--shadow-md); }
.reason__n { font-size: 3rem; font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: var(--green-600); margin-bottom: 18px; opacity: .9; }
.reason h3 { font-size: 1.25rem; letter-spacing: -0.02em; margin-bottom: 10px; }
.checks { display: grid; gap: 12px; }
.checks li {
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start;
  padding: 20px 22px; border-radius: 18px;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 500ms var(--ease-out), transform 500ms var(--ease-out);
}
.checks li:hover { box-shadow: inset 0 0 0 1px rgba(3,89,64,.3); transform: translateX(4px); }
.checks .ck { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--green-800); color: var(--yellow); margin-top: 1px; }
.checks .ck svg { width: 15px; height: 15px; }
.checks strong { color: var(--ink); font-weight: 700; }

/* ---------- About ---------- */
.about-media { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-media figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(160deg, #2a7d2e, #035940); aspect-ratio: 3 / 4; }
.about-media figure:nth-child(2) { margin-top: 72px; }
.about-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14) translateY(calc(var(--py, 0) * 1px)); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; }
.stat { padding: 20px; border-radius: var(--r-md); background: var(--surface); }
.stat b { display: block; font-size: clamp(1.75rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.04em; color: var(--green-800); line-height: 1; font-variant-numeric: tabular-nums; }
.stat > span { display: block; margin-top: 8px; font-size: .875rem; font-weight: 600; color: var(--text); line-height: 1.3; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 5fr 7fr; } }
.info-cards { display: grid; gap: 12px; }
.info {
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center;
  padding: 22px; border-radius: var(--r-md); background: var(--surface);
  transition: transform 500ms var(--ease-out), background-color 500ms, box-shadow 500ms;
}
a.info:hover { transform: translateY(-3px); background: #fff; box-shadow: var(--shadow-md); }
a.info:active { transform: scale(.985); }
.info__ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--green-800); color: var(--yellow); }
.info__ico svg { width: 22px; height: 22px; }
.info small { display: block; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.info strong { display: block; color: var(--ink); font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.01em; line-height: 1.4; }

.form-card {
  padding: clamp(28px, 4vw, 48px); border-radius: var(--r-xl);
  background: #fff; box-shadow: var(--shadow-md), inset 0 0 0 1px var(--line);
}
.form-card h2 { margin-bottom: 8px; }
.form-grid { display: grid; gap: 14px; margin-top: 32px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { position: relative; }
.field input, .field textarea {
  width: 100%;
  padding: 26px 18px 10px;
  border: 0; border-radius: 16px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1.5px transparent;
  font-size: 1rem; color: var(--ink);
  transition: box-shadow var(--dur-2) var(--ease-out), background-color var(--dur-2) var(--ease-out);
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 160px; resize: vertical; }
.field label {
  position: absolute; left: 18px; top: 18px;
  font-size: 1rem; color: var(--muted); font-weight: 500;
  pointer-events: none; transform-origin: 0 0;
  transition: transform 420ms var(--ease-out), color var(--dur-2);
}
.field input:focus, .field textarea:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 1.5px var(--green-600), 0 0 0 5px rgba(42,125,46,.12); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.76); color: var(--green-700); font-weight: 650; }
.field.is-invalid input, .field.is-invalid textarea { box-shadow: inset 0 0 0 1.5px #d64545; background: #fff7f7; }
.field .err { display: block; max-height: 0; overflow: hidden; color: #c23a3a; font-size: .8125rem; font-weight: 600; padding-left: 6px; transition: max-height 400ms var(--ease-out), margin 400ms var(--ease-out); }
.field.is-invalid .err { max-height: 40px; margin-top: 6px; }
.field.shake { animation: shake 420ms var(--ease-out); }
@keyframes shake { 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.consent { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 18px; border-radius: 16px; background: var(--surface); font-size: .875rem; line-height: 1.55; cursor: pointer; }
.consent a { color: var(--green-800); font-weight: 650; text-decoration: underline; text-underline-offset: 2px; }
.check { position: relative; width: 24px; height: 24px; margin-top: 1px; }
.check input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.check span {
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px;
  background: #fff; box-shadow: inset 0 0 0 1.5px rgba(12,26,19,.25);
  transition: background-color 300ms var(--ease-out), box-shadow 300ms var(--ease-out), transform 400ms var(--ease-spring);
}
.check svg { width: 14px; height: 14px; color: var(--yellow); stroke-dasharray: 32; stroke-dashoffset: 32; transition: stroke-dashoffset 400ms var(--ease-out) 80ms; }
.check input:checked + span { background: var(--green-800); box-shadow: none; transform: scale(1.06); }
.check input:checked + span svg { stroke-dashoffset: 0; }
.check input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.consent .err { color: #c23a3a; font-weight: 600; margin-top: 6px; }
.consent .err:empty { display: none !important; }
.consent.is-invalid { box-shadow: inset 0 0 0 1.5px #d64545; background: #fff7f7; }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.form-foot .btn { min-width: 200px; }
.recaptcha-note { font-size: .75rem; color: var(--muted); line-height: 1.5; max-width: 360px; }
.recaptcha-note a { text-decoration: underline; }
.grecaptcha-badge { visibility: hidden !important; } /* allowed when the notice text is shown in the form */
.btn.is-loading { pointer-events: none; }
.btn.is-loading .btn__label { opacity: 0; }
.btn .spinner { position: absolute; width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff; opacity: 0; animation: spin 800ms linear infinite; transition: opacity 200ms; }
.btn.is-loading .spinner { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status { display: none; }
.form-success {
  text-align: center; padding: clamp(40px, 6vw, 72px) 20px;
}
.form-success .tick { width: 88px; height: 88px; margin: 0 auto 24px; border-radius: 50%; background: var(--green-800); display: grid; place-items: center; color: var(--yellow); transform: scale(0); animation: pop 700ms var(--ease-spring) 100ms forwards; }
.form-success .tick svg { width: 40px; height: 40px; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 600ms var(--ease-out) 500ms forwards; }
@keyframes pop { to { transform: scale(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

.map {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  aspect-ratio: 16 / 7; min-height: 340px;
  background: radial-gradient(120% 120% at 20% 0%, #2a7d2e, #035940 50%, #022b1f);
  color: #fff;
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85); }
.map__gate { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 32px; }
.map__gate p { max-width: 460px; margin: 12px auto 22px; color: rgba(255,255,255,.75); font-size: .9375rem; }
.map__pin { width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; background: var(--yellow); color: var(--green-950); display: grid; place-items: center; animation: bob 2.4s var(--ease-in-out) infinite; }
.map__pin svg { width: 28px; height: 28px; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ---------- Footer ---------- */
.footer {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--green-950); color: rgba(255,255,255,.62);
  padding: clamp(80px, 10vw, 128px) 0 32px;
  font-size: .9375rem;
}
.footer__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .12; }
.footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 60% at 10% 0%, rgba(42,125,46,.35), transparent 70%); }
.footer__top { display: grid; gap: 48px; }
@media (min-width: 900px) { .footer__top { grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; } }
@media (min-width: 640px) and (max-width: 899px) { .footer__top { grid-template-columns: 1fr 1fr; } }
.footer__brand img { height: 64px; width: auto; margin-bottom: 22px; }
.footer__brand p { max-width: 34ch; }
.footer h2 { font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; font-weight: 700; }
.footer li + li { margin-top: 10px; }
.footer a { transition: color var(--dur-2); }
.footer a:hover { color: var(--yellow); }
.footer__contact a, .footer__contact span { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--yellow); }
.footer__big {
  margin: clamp(64px, 9vw, 120px) 0 36px;
  font-size: clamp(3rem, 11.5vw, 11rem); font-weight: 800; letter-spacing: -0.055em; line-height: .9;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.14);
  white-space: nowrap; user-select: none;
  background: linear-gradient(90deg, rgba(255,255,255,.0), rgba(242,226,6,.55), rgba(255,255,255,0)) no-repeat;
  background-size: 40% 100%;
  background-position: var(--sx, -40%) 0;
  -webkit-background-clip: text; background-clip: text;
}
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: .8125rem;
}
.views { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 12px 6px 10px; border-radius: 999px; background: rgba(255,255,255,.06); color: rgba(255,255,255,.7); opacity: 0; transform: translateY(6px); transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out); }
.views.is-in { opacity: 1; transform: none; }
.views svg { width: 16px; height: 16px; color: var(--yellow); }
.views b { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* ---------- Floating actions ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(2, 36, 26, .78);
  backdrop-filter: blur(16px) saturate(180%); -webkit-backdrop-filter: blur(16px) saturate(180%);
  color: #fff; box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none;
  transition: opacity 400ms var(--ease-out), transform 600ms var(--ease-out);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:active { transform: scale(.9); }
.to-top svg.arrow { width: 18px; height: 18px; }
.to-top svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top .ring circle { fill: none; stroke: var(--yellow); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 150.8; stroke-dashoffset: calc(150.8 - 150.8 * var(--scroll, 0)); }
.call-fab {
  position: fixed; left: 20px; bottom: 20px; z-index: 80;
  display: inline-flex; align-items: center; gap: 10px;
  height: 54px; padding: 0 20px 0 8px; border-radius: 999px;
  background: var(--yellow); color: var(--green-950); font-weight: 750; box-shadow: var(--shadow-md);
  transform: translateY(120px); transition: transform 700ms var(--ease-out);
}
.call-fab.is-visible { transform: none; }
.call-fab span.ring { width: 40px; height: 40px; border-radius: 50%; background: var(--green-900); color: var(--yellow); display: grid; place-items: center; position: relative; }
.call-fab span.ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(2,43,31,.5); animation: pulse 2.2s var(--ease-out) infinite; }
.call-fab svg { width: 18px; height: 18px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(2,43,31,.45); } 70%, 100% { box-shadow: 0 0 0 14px rgba(2,43,31,0); } }
@media (min-width: 1024px) { .call-fab { display: none; } }

/* ---------- Cookie consent ---------- */
.cc {
  position: fixed; left: 50%; bottom: 16px; z-index: 300;
  width: min(100% - 24px, 560px);
  padding: 24px; border-radius: 28px;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 0 0 1px rgba(12,26,19,.06), 0 30px 80px -20px rgba(1,24,15,.45);
  color: var(--text); font-size: .9375rem; line-height: 1.55;
  transform: translate(-50%, 24px) scale(.96); opacity: 0; filter: blur(8px); visibility: hidden;
  transition: transform 600ms var(--ease-out), opacity 400ms var(--ease-out), filter 500ms var(--ease-out), visibility 0s linear 600ms;
}
.cc.is-open { transform: translate(-50%, 0) scale(1); opacity: 1; filter: blur(0); visibility: visible; transition: transform 700ms var(--ease-out), opacity 400ms var(--ease-out), filter 500ms var(--ease-out), visibility 0s; }
.cc h2 { font-size: 1.125rem; letter-spacing: -0.015em; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.cc h2 svg { width: 22px; height: 22px; color: var(--green-600); }
.cc a { color: var(--green-800); font-weight: 650; text-decoration: underline; text-underline-offset: 2px; }
.cc__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cc__actions .btn { min-height: 44px; padding: 0 18px; font-size: .9063rem; flex: 1 1 auto; }
.cc__prefs { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 500ms var(--ease-out); }
.cc.show-prefs .cc__prefs { grid-template-rows: 1fr; }
.cc__prefs > div { overflow: hidden; }
.cc__opt { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.cc__opt:first-child { margin-top: 14px; }
.cc__opt strong { display: block; color: var(--ink); font-size: .9375rem; }
.cc__opt span { font-size: .8125rem; color: var(--muted); }
.switch { position: relative; flex-shrink: 0; width: 50px; height: 30px; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch input:disabled { cursor: not-allowed; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: rgba(12,26,19,.16); transition: background-color 300ms var(--ease-out); }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform 500ms var(--ease-spring), width 200ms var(--ease-out); }
.switch input:active + span::after { width: 28px; }
.switch input:checked + span { background: var(--green-600); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:checked:active + span::after { transform: translateX(16px); }
.switch input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; top: 20px; left: 50%; z-index: 400;
  display: flex; align-items: center; gap: 12px;
  width: max-content; max-width: calc(100vw - 32px);
  padding: 14px 20px 14px 14px; border-radius: 24px;
  background: rgba(2,36,26,.94); color: #fff; font-weight: 600; font-size: .9375rem;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
  transform: translate(-50%, -140%); transition: transform 700ms var(--ease-spring);
}
.toast.is-open { transform: translate(-50%, 0); }
.toast i { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--green-950); font-style: normal; }
.toast.is-error i { background: #ff6b6b; color: #fff; }

/* ---------- Legal page ---------- */
.legal h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); letter-spacing: -0.02em; margin: 48px 0 14px; }
.legal h3 { font-size: 1.125rem; margin: 28px 0 10px; }
.legal ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.legal li + li { margin-top: 6px; }
.legal a { color: var(--green-800); text-decoration: underline; text-underline-offset: 2px; }
.legal table { width: 100%; border-collapse: collapse; font-size: .9375rem; margin: 12px 0 20px; }
.legal th, .legal td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { color: var(--ink); background: var(--surface); }

/* ---------- 404 ---------- */
.nf { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter) 80px; background: radial-gradient(100% 80% at 50% 0%, #2a7d2e, #035940 45%, #01180f); color: rgba(255,255,255,.75); }
.nf__code { font-size: clamp(7rem, 26vw, 18rem); font-weight: 800; letter-spacing: -0.07em; line-height: .85; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.35); }
.nf h1 { color: #fff; margin: 12px 0 14px; }
.nf .btn-row { justify-content: center; margin-top: 32px; }

/* ---------- Reveal system ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  filter: blur(8px);
  transition: opacity 1000ms var(--ease-out), transform 1200ms var(--ease-out), filter 1000ms var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal="left"] { transform: translate3d(-48px, 0, 0); }
.js [data-reveal="right"] { transform: translate3d(48px, 0, 0); }
.js [data-reveal="scale"] { transform: scale(.92); }
.js [data-reveal="clip"] { opacity: 1; filter: none; transform: none; }
.js [data-reveal="clip"] > * { clip-path: inset(100% 0 0 0); transition: clip-path 1400ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: blur(0); }
.js [data-reveal="clip"].is-in > * { clip-path: inset(0 0 0 0); }

/* Cross-document page transitions (Chrome, Edge, Safari 18+) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut 380ms var(--ease-in-out) both; }
::view-transition-new(root) { animation: vtIn 620ms var(--ease-out) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-12px) scale(.99); filter: blur(4px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } }
.nav { view-transition-name: site-nav; }

/* ---------- Accessibility preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-reveal="clip"] > * { transform: none !important; filter: none !important; clip-path: none !important; transition: opacity 300ms ease !important; }
  .split .wi { transform: none !important; transition: none !important; }
  .hero__media, .hero__content { --p: 0 !important; }
  .card, .card:hover { transform: none !important; }
  .band__row { transform: none !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav__bar, .dd, .sheet, .cc, .to-top, .chip, .btn--ghost, .why__badge, .toast { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav__bar, .dd, .sheet, .to-top, .toast { background: var(--green-900); }
  .cc, .why__badge { background: #fff; }
}
@media (prefers-contrast: more) {
  .nav__bar { background: var(--green-950); box-shadow: 0 0 0 2px #fff; }
  .feature, .step, .faq__item { box-shadow: inset 0 0 0 2px var(--ink); }
}

/* Utilities */
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 24px; }
.mt-3 { margin-top: 40px; }
.center { text-align: center; }
.hide-sm { display: none; }
@media (min-width: 720px) { .hide-sm { display: initial; } }

/* ---------- reCAPTCHA consent gate (inside form) ---------- */
.captcha-gate {
  grid-column: 1 / -1;
  padding: 22px; border-radius: 18px;
  background: var(--green-900); color: rgba(255,255,255,.8); font-size: .9375rem;
  opacity: 0; transform: translateY(8px) scale(.98);
  transition: opacity 400ms var(--ease-out), transform 600ms var(--ease-out);
}
.captcha-gate.is-in { opacity: 1; transform: none; }
.captcha-gate strong { color: #fff; display: block; margin-bottom: 6px; }
.captcha-gate a { color: var(--yellow); text-decoration: underline; }
.captcha-gate .btn-row { margin-top: 16px; }
.captcha-gate .btn { min-height: 44px; padding: 0 18px; font-size: .9375rem; }
[hidden] { display: none !important; }
