﻿/* ==========================================================================
   Gunjula â€” Plastics for school fees
   Design system + components. No external fonts or assets.
   ========================================================================== */

/* ---------------------------------------------------------------- tokens */
:root {
  --bg: #f6f4ee;
  --bg-2: #efece3;
  --surface: #ffffff;
  --surface-2: #fbfaf6;
  --ink: #0c1a13;
  --ink-2: #27362e;
  --muted: #58685f;
  --line: #e3e0d5;
  --line-strong: #cfccbf;

  --brand: #0b5d3b;
  --brand-700: #07432a;
  --brand-900: #04140c;
  --brand-300: #8ec4a9;
  --brand-100: #e3f0e8;

  --accent: #e98a12;
  --accent-600: #c9720a;
  --accent-100: #fdf1dd;

  --lime: #739913;
  --blue: #1b6f9e;
  --blue-100: #e4f1f7;
  --danger: #b43a2b;
  --ok: #1c7a4d;

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(9, 30, 20, .06), 0 2px 8px rgba(9, 30, 20, .05);
  --shadow-md: 0 8px 24px rgba(9, 30, 20, .08), 0 2px 6px rgba(9, 30, 20, .05);
  --shadow-lg: 0 24px 60px rgba(4, 20, 12, .18);

  --ff: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --ff-serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;

  --container: 1180px;
  --gutter: clamp(18px, 4vw, 40px);
  --section-y: clamp(56px, 8vw, 104px);

  --ease: cubic-bezier(.22, .68, .28, 1);
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ff);
  font-size: 1rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--brand); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--brand-700); }

h1, h2, h3, h4, h5 {
  margin: 0 0 .5em;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.022em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.15rem, 5vw, 3.9rem); line-height: 1.03; letter-spacing: -.03em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.08rem, 1.6vw, 1.28rem); }
h4 { font-size: 1rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }

ul, ol { margin: 0 0 1em; padding-left: 1.15em; }
li { margin-bottom: .4em; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 70%, white);
  outline-offset: 2px;
  border-radius: 6px;
}
::selection { background: var(--accent); color: #1b1204; }

/* ------------------------------------------------------------- utilities */
.container { width: min(100% - (var(--gutter) * 2), var(--container)); margin-inline: auto; }
.container-narrow { width: min(100% - (var(--gutter) * 2), 820px); margin-inline: auto; }

.section { padding-block: var(--section-y); }
.section-sm { padding-block: clamp(36px, 5vw, 64px); }
.section-tight-top { padding-top: 0; }
.section-alt { background: var(--surface-2); border-block: 1px solid var(--line); }
.section-dark { background: var(--brand-900); color: #eaf2ec; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lead, .section-dark .muted { color: #b9c9bf; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  margin: 0 0 1rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }
.section-dark .eyebrow { color: var(--accent); }

.lead { font-size: clamp(1.02rem, 1.35vw, 1.16rem); color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.tiny { font-size: .78rem; }
.center { text-align: center; }
.center .lead, .center .eyebrow { margin-inline: auto; }
.stack > * + * { margin-top: var(--stack-gap, 1rem); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0 !important; }
.nowrap { white-space: nowrap; }
.serif { font-family: var(--ff-serif); font-style: italic; font-weight: 400; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -70px; z-index: 200;
  background: var(--ink); color: #fff; padding: .75rem 1.1rem; border-radius: 10px;
  font-weight: 700; text-decoration: none; transition: top .18s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

.grid { display: grid; gap: clamp(18px, 2.6vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }

/* --------------------------------------------------------------- buttons */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .78rem 1.35rem;
  border: 1.5px solid var(--btn-bd); border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font: inherit; font-weight: 700; font-size: .95rem; line-height: 1.1;
  text-decoration: none; cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); color: var(--btn-fg); background: color-mix(in srgb, var(--btn-bg) 88%, black); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn-accent { --btn-bg: var(--accent); --btn-fg: #22160a; }
.btn-accent:hover { --btn-bg: var(--accent-600); color: #fff; }
.btn-ghost { --btn-bg: transparent; --btn-fg: #eaf2ec; --btn-bd: rgba(255, 255, 255, .28); box-shadow: none; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); box-shadow: none; }
.btn-outline:hover { background: var(--surface); border-color: var(--brand); color: var(--brand); }
.btn-sm { min-height: 38px; padding: .45rem .9rem; font-size: .84rem; }
.btn-lg { min-height: 54px; padding: .95rem 1.7rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-link { padding: 0; border: 0; background: none; color: var(--brand); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.text-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; text-decoration: none; color: var(--brand); }
.text-link .icon { transition: transform .18s var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }
.section-dark .text-link { color: var(--accent); }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(9, 30, 20, .06); background: color-mix(in srgb, var(--bg) 94%, transparent); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); min-width: 0; }
.brand-mark {
  display: grid; place-items: center; flex: none;
  width: 54px; height: 40px; padding: 4px 5px;
  border-radius: 12px;
  background: radial-gradient(120% 120% at 20% 0%, #0d2a1b, #04140c 70%);
  box-shadow: 0 2px 10px rgba(4, 20, 12, .22), 0 0 0 1px rgba(255, 255, 255, .06) inset;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-text strong { font-size: 1.16rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.brand-text small { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

.nav { display: flex; align-items: center; gap: clamp(.5rem, 2vw, 1.6rem); }
.nav-list { display: flex; align-items: center; gap: .2rem; margin: 0; padding: 0; list-style: none; }
.nav-list li { margin: 0; }
.nav-list a {
  display: inline-block; padding: .5rem .8rem; border-radius: 999px;
  font-size: .93rem; font-weight: 600; color: var(--ink-2); text-decoration: none;
  transition: background .16s var(--ease), color .16s var(--ease);
}
.nav-list a:hover { background: rgba(11, 93, 59, .08); color: var(--brand-700); }
.nav-list a.is-active { color: var(--brand-700); background: var(--brand-100); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink);
  cursor: pointer; padding: 0; place-items: center;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle::before { content: ""; width: 20px; height: 2px; background: currentColor; border-radius: 2px; box-shadow: 0 6px 0 currentColor, 0 -6px 0 currentColor; }
.nav-open .nav-toggle::before { width: 18px; height: 2px; box-shadow: none; transform: rotate(45deg); }
.nav-open .nav-toggle::after { content: ""; position: absolute; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transform: rotate(-45deg); }
.nav-toggle { position: relative; }
.nav-toggle::after { transition: transform .16s var(--ease); }

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 520px at 82% -8%, rgba(115, 153, 19, .38), transparent 62%),
    radial-gradient(820px 520px at 2% 108%, rgba(27, 111, 158, .32), transparent 62%),
    radial-gradient(600px 400px at 60% 40%, rgba(233, 138, 18, .10), transparent 70%),
    linear-gradient(180deg, #04140c 0%, #061d13 58%, #04140c 100%);
  color: #eef4ef;
  padding-block: clamp(40px, 6vw, 84px) clamp(56px, 7vw, 104px);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .10) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 10%, transparent 75%);
}
.hero > * { position: relative; z-index: 1; }
.hero-inner { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: clamp(30px, 5vw, 70px); }
.hero-title { color: #fff; margin-bottom: 1.2rem; }
.hero-title em { font-family: var(--ff-serif); font-style: italic; font-weight: 400; color: #ffc266; letter-spacing: -.01em; }
.hero-lead { color: #c5d3c9; font-size: clamp(1.02rem, 1.5vw, 1.2rem); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.9rem; }
.hero-note { display: flex; flex-wrap: wrap; gap: 1.1rem; margin-top: 1.9rem; padding: 0; list-style: none; }
.hero-note li { display: flex; align-items: center; gap: .45rem; margin: 0; font-size: .86rem; color: #a9bbb0; }
.hero-note .icon { color: var(--accent); width: 1.05em; height: 1.05em; }

.hero-art { position: relative; display: grid; place-items: center; min-height: 320px; }
.hero-art::before {
  content: ""; position: absolute; inset: -6% -2%; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(142, 196, 169, .22), transparent 62%);
  filter: blur(8px);
}
.hero-art::after {
  content: ""; position: absolute; inset: 8% 6%; border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, .14);
}
.hero-emblem {
  position: relative; width: min(560px, 100%); height: auto;
  filter: drop-shadow(0 26px 44px rgba(0, 0, 0, .55)) saturate(1.06);
  animation: floaty 9s ease-in-out infinite;
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero-chip {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: .6rem;
  padding: .7rem .95rem; border-radius: 14px;
  background: rgba(9, 32, 20, .78);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 16px 30px rgba(0, 0, 0, .35);
  backdrop-filter: blur(8px);
  font-size: .82rem; color: #dcebe1; line-height: 1.25;
}
.hero-chip strong { display: block; color: #fff; font-size: .95rem; letter-spacing: -.01em; }
.hero-chip .icon { color: var(--accent); }
.hero-chip-1 { left: -2%; bottom: 14%; }
.hero-chip-2 { right: -1%; top: 12%; }

/* ----------------------------------------------------------------- stats */
.stats-strip { position: relative; margin-top: -1px; background: var(--brand-900); color: #fff; border-top: 1px solid rgba(255, 255, 255, .08); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding-block: clamp(22px, 3vw, 34px); }
.stat { padding: .35rem clamp(10px, 2vw, 26px); border-left: 1px solid rgba(255, 255, 255, .12); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-value { font-size: clamp(1.5rem, 2.6vw, 2.15rem); font-weight: 800; letter-spacing: -.03em; color: #fff; line-height: 1.05; }
.stat-label { display: block; margin-top: .35rem; font-size: .8rem; color: #9fb4a7; letter-spacing: .02em; }

/* ----------------------------------------------------------------- cards */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(20px, 2.4vw, 30px);
  box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
  position: relative;
}
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card-icon {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1.1rem;
  border-radius: 14px; background: var(--brand-100); color: var(--brand-700);
}
.card-icon .icon { width: 26px; height: 26px; }
.card-icon.accent { background: var(--accent-100); color: var(--accent-600); }
.card-icon.blue { background: var(--blue-100); color: var(--blue); }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); font-size: .95rem; }
.card-foot { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px dashed var(--line); }
.card-num { position: absolute; top: 18px; right: 22px; font-family: var(--ff-serif); font-style: italic; font-size: 1.1rem; color: var(--line-strong); }

/* ----------------------------------------------------------------- steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); counter-reset: step; }
.step { position: relative; padding: clamp(18px, 2vw, 24px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step-num {
  display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: .9rem;
  border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; font-size: .9rem;
}
.step:nth-child(2) .step-num { background: var(--blue); }
.step:nth-child(3) .step-num { background: var(--lime); }
.step:nth-child(4) .step-num { background: var(--accent); color: #22160a; }
.step h3 { font-size: 1.02rem; margin-bottom: .35rem; }
.step p { font-size: .9rem; color: var(--muted); margin: 0; }

/* --------------------------------------------------------------- students */
.student-card { display: flex; flex-direction: column; gap: .9rem; }
.student-head { display: flex; align-items: center; gap: .9rem; }
.avatar {
  display: grid; place-items: center; flex: none;
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--blue) 100%);
  color: #fff; font-weight: 800; letter-spacing: .02em; font-size: .95rem;
  box-shadow: 0 3px 10px rgba(11, 93, 59, .25);
}
.avatar.lime { background: linear-gradient(135deg, var(--lime), var(--brand)); }
.avatar.amber { background: linear-gradient(135deg, var(--accent), var(--accent-600)); color: #22160a; }
.avatar.blue { background: linear-gradient(135deg, var(--blue), #0b3c58); }
.student-name { font-weight: 700; line-height: 1.2; }
.student-meta { font-size: .8rem; color: var(--muted); }
.student-story { font-size: .88rem; color: var(--muted); margin: 0; }

.progress { position: relative; height: 8px; border-radius: 999px; background: var(--bg-2); overflow: hidden; }
.progress-bar { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--lime), var(--brand)); transition: width .6s var(--ease); }
.progress-bar.accent { background: linear-gradient(90deg, var(--accent), var(--accent-600)); }
.progress-meta { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); margin-top: .45rem; }
.progress-meta strong { color: var(--ink); }

.pill {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .28rem .62rem; border-radius: 999px;
  font-size: .74rem; font-weight: 700; letter-spacing: .01em;
  background: var(--brand-100); color: var(--brand-700); white-space: nowrap;
}
.pill .icon { width: .95em; height: .95em; }
.pill-ok { background: #e2f2e9; color: #14603c; }
.pill-warn { background: var(--accent-100); color: #8a5205; }
.pill-info { background: var(--blue-100); color: #10547a; }
.pill-neutral { background: var(--bg-2); color: var(--muted); }

/* ------------------------------------------------------ quote & partners */
.quote { max-width: 880px; margin-inline: auto; text-align: center; }
.quote p { font-family: var(--ff-serif); font-size: clamp(1.25rem, 2.5vw, 1.85rem); line-height: 1.35; color: var(--ink); }
.quote footer { margin-top: 1.2rem; font-size: .88rem; color: var(--muted); }
.quote footer strong { color: var(--ink); }

.partners { display: flex; flex-wrap: wrap; gap: .75rem 1.6rem; align-items: center; justify-content: center; }
.partner { font-size: .84rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8b978f; }

/* ------------------------------------------------------------------- cta */
.cta-band {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(30px, 5vw, 64px);
  background:
    radial-gradient(700px 300px at 85% 0%, rgba(233, 138, 18, .28), transparent 60%),
    radial-gradient(600px 340px at 10% 120%, rgba(115, 153, 19, .35), transparent 62%),
    linear-gradient(160deg, #062016, #04140c 70%);
  color: #eef4ef;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; max-width: 20ch; }
.cta-band p { color: #b9c9bf; max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: #04120b; color: #a9bbb0; padding-block: clamp(42px, 6vw, 72px) 28px; margin-top: var(--section-y); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(24px, 4vw, 48px); }
.footer-brand .brand { color: #fff; }
.footer-brand .brand-text small { color: #77907f; }
.footer-brand p { margin-top: 1rem; font-size: .9rem; max-width: 34ch; color: #93a89b; }
.footer-col h3, .footer-col h4 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .9rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .5rem; }
.footer-col a { color: #a9bbb0; text-decoration: none; font-size: .92rem; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; gap: .55rem; align-items: flex-start; font-size: .9rem; }
.footer-contact .icon { width: 1.05em; height: 1.05em; margin-top: .2em; color: var(--lime); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  margin-top: clamp(28px, 4vw, 48px); padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .8rem; color: #7f9587;
}
.social { display: flex; gap: .5rem; }
.social a {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255, 255, 255, .06); color: #cfe0d5; text-decoration: none;
}
.social a:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.social .icon { width: 18px; height: 18px; }

/* ------------------------------------------------------------ page header */
.page-head {
  position: relative; overflow: hidden;
  padding-block: clamp(38px, 5vw, 68px) clamp(30px, 4vw, 52px);
  background:
    radial-gradient(760px 340px at 88% -20%, rgba(115, 153, 19, .34), transparent 62%),
    radial-gradient(600px 320px at 0% 120%, rgba(27, 111, 158, .3), transparent 62%),
    linear-gradient(180deg, #04140c, #061c12);
  color: #eef4ef;
}
.page-head h1 { color: #fff; margin-bottom: .6rem; font-size: clamp(1.9rem, 4vw, 3.1rem); }
.page-head .lead { color: #bccdc2; }
.breadcrumb { display: flex; gap: .45rem; align-items: center; font-size: .8rem; color: #8fa597; margin-bottom: 1rem; padding: 0; list-style: none; }
.breadcrumb li { margin: 0; }
.breadcrumb a { color: #b9c9bf; text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb .icon { width: .9em; height: .9em; opacity: .6; }
.page-head-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 2rem; align-items: end; }

/* ------------------------------------------------------------------ forms */
.form { display: grid; gap: clamp(18px, 2.2vw, 26px); }
.fieldset { border: 0; margin: 0; padding: 0; }
.fieldset > legend, .form-legend { padding: 0; margin-bottom: .9rem; font-weight: 800; font-size: 1.02rem; letter-spacing: -.01em; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .4rem; min-width: 0; }
.label { font-size: .86rem; font-weight: 700; color: var(--ink-2); }
.label .opt { font-weight: 500; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: .72rem .9rem;
  border: 1.5px solid var(--line-strong); border-radius: 12px;
  background: var(--surface); color: var(--ink);
  font: inherit; font-size: .95rem;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease), background .16s var(--ease);
}
.textarea { min-height: 118px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: #98a49b; }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent);
}
.select {
  appearance: none; padding-right: 2.4rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
}
.hint { font-size: .78rem; color: var(--muted); }
.has-error .input, .has-error .select, .has-error .textarea { border-color: var(--danger); background: #fff7f6; }
.error-text { font-size: .78rem; font-weight: 600; color: var(--danger); margin: 0; }

.checkbox, .radio { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--ink-2); cursor: pointer; }
.checkbox input, .radio input { width: 19px; height: 19px; margin: .15rem 0 0; accent-color: var(--brand); flex: none; }

.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .6rem; }
.choice {
  position: relative; display: flex; gap: .65rem; align-items: flex-start;
  padding: .85rem .95rem; border: 1.5px solid var(--line-strong); border-radius: 14px;
  background: var(--surface); cursor: pointer;
  transition: border-color .16s var(--ease), background .16s var(--ease), box-shadow .16s var(--ease);
}
.choice:hover { border-color: var(--brand-300); }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice-body { display: grid; gap: .1rem; }
.choice strong { font-size: .9rem; }
.choice small { font-size: .76rem; color: var(--muted); }
.choice.is-selected { border-color: var(--brand); background: var(--brand-100); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 12%, transparent); }
.choice:has(input:focus-visible) { outline: 3px solid color-mix(in srgb, var(--accent) 70%, white); outline-offset: 2px; }

.amount-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); gap: .6rem; }
.amount {
  position: relative; display: grid; gap: .1rem; text-align: left;
  padding: .75rem .85rem; border: 1.5px solid var(--line-strong); border-radius: 14px;
  background: var(--surface); cursor: pointer; font: inherit; color: var(--ink);
  transition: border-color .16s var(--ease), background .16s var(--ease), transform .16s var(--ease);
}
.amount strong { font-size: .96rem; letter-spacing: -.01em; }
.amount small { font-size: .72rem; color: var(--muted); }
.amount:hover { border-color: var(--brand-300); transform: translateY(-1px); }
.amount.is-selected { border-color: var(--brand); background: var(--brand-100); }
.amount.is-selected strong { color: var(--brand-700); }

.field-inline { display: flex; gap: .6rem; align-items: stretch; }
.field-inline .input { flex: 1; }
.prefix {
  display: grid; place-items: center; padding: 0 .8rem; border-radius: 12px;
  background: var(--bg-2); border: 1.5px solid var(--line-strong); border-right: 0;
  border-top-right-radius: 0; border-bottom-right-radius: 0;
  font-size: .82rem; font-weight: 700; color: var(--muted);
}
.field-inline .input { border-top-left-radius: 0; border-bottom-left-radius: 0; }

.form-note {
  display: flex; gap: .7rem; padding: .9rem 1rem; border-radius: 14px;
  background: var(--accent-100); border: 1px solid #f3ddb4; color: #6d4a10; font-size: .85rem;
}
.form-note .icon { color: var(--accent-600); flex: none; margin-top: .15em; }

/* ---------------------------------------------------------------- panels */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 2.4vw, 28px); box-shadow: var(--shadow-sm); }
.panel-title { display: flex; align-items: center; gap: .5rem; font-size: .82rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.panel-sticky { position: sticky; top: 92px; }

.impact-list { display: grid; gap: .85rem; margin: 0; padding: 0; list-style: none; }
.impact-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin: 0; padding-bottom: .8rem; border-bottom: 1px dashed var(--line); }
.impact-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.impact-list dt { font-size: .86rem; color: var(--muted); }
.impact-list dd { margin: 0; font-weight: 800; font-size: 1.06rem; letter-spacing: -.01em; text-align: right; }
.impact-hero {
  border-radius: var(--radius); padding: 1.2rem 1.3rem; margin-bottom: 1.2rem;
  background: linear-gradient(150deg, #06251a, #04140c);
  color: #fff; border: 1px solid rgba(255, 255, 255, .08);
}
.impact-hero .label { color: #9fb4a7; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.impact-hero .big { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin: .25rem 0 .1rem; color: #ffc266; }
.impact-hero .sub { font-size: .82rem; color: #b9c9bf; }

.meter { height: 9px; border-radius: 999px; background: var(--bg-2); overflow: hidden; margin-top: .8rem; }
.meter > span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--lime), var(--brand)); transition: width .5s var(--ease); }

/* --------------------------------------------------------------- calculator */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(18px, 3vw, 34px); align-items: stretch; }
.calc-form { display: grid; gap: 1rem; }
.calc-results { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; align-content: start; }
.calc-tile { padding: 1rem; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.calc-tile .label { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.calc-tile .value { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 800; letter-spacing: -.02em; margin-top: .15rem; }
.calc-tile.highlight { background: linear-gradient(150deg, #06251a, #04140c); border-color: transparent; }
.calc-tile.highlight .label { color: #9fb4a7; }
.calc-tile.highlight .value { color: #ffc266; }

/* ----------------------------------------------------------------- tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.table { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 640px; }
.table caption { text-align: left; padding: 1rem 1.1rem .2rem; font-weight: 800; }
.table th, .table td { padding: .78rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table th { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); font-weight: 800; white-space: nowrap; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: #fcfbf7; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.badge { display: inline-flex; align-items: center; gap: .3rem; padding: .22rem .55rem; border-radius: 999px; font-size: .72rem; font-weight: 700; white-space: nowrap; }
.badge-ok { background: #e2f2e9; color: #14603c; }
.badge-warn { background: var(--accent-100); color: #8a5205; }
.badge-info { background: var(--blue-100); color: #10547a; }
.badge-neutral { background: var(--bg-2); color: var(--muted); }

/* -------------------------------------------------------------- dashboard */
.kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.kpi { padding: 1.1rem 1.2rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.kpi-label { display: flex; align-items: center; gap: .4rem; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.kpi-label .icon { width: 1em; height: 1em; color: var(--brand); }
.kpi-value { font-size: clamp(1.25rem, 2vw, 1.7rem); font-weight: 800; letter-spacing: -.03em; margin-top: .3rem; line-height: 1.05; }
.kpi-sub { font-size: .74rem; color: var(--muted); margin-top: .2rem; }
.kpi.accent .kpi-value { color: var(--accent-600); }

.chart-grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: 1.2rem; }
.chart-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; box-shadow: var(--shadow-sm); }
.chart-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .8rem; }
.chart-head h2, .chart-head h3 { margin: 0; font-size: 1rem; }
.chart-head .muted { font-size: .78rem; }
.chart-canvas { width: 100%; height: 240px; display: block; }
.legend { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; margin-top: .9rem; font-size: .8rem; color: var(--muted); }
.legend-item { display: flex; align-items: center; gap: .45rem; }
.legend-dot { width: 10px; height: 10px; border-radius: 3px; flex: none; }

.filters { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-bottom: 1rem; }
.filters .input, .filters .select { min-height: 42px; font-size: .86rem; }
.filters .field { min-width: 160px; }
.segmented { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); }
.segmented button { border: 0; background: none; font: inherit; font-size: .82rem; font-weight: 700; color: var(--muted); padding: .4rem .8rem; border-radius: 999px; cursor: pointer; }
.segmented button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }

/* ------------------------------------------------------------------ modal */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 1.2rem; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4, 16, 10, .62); backdrop-filter: blur(3px); opacity: 0; transition: opacity .2s var(--ease); }
.modal.is-open .modal-backdrop { opacity: 1; }
.modal-card {
  position: relative; z-index: 1; width: min(560px, 100%); max-height: min(86vh, 860px); overflow: auto;
  background: var(--surface); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--shadow-lg);
  transform: translateY(10px) scale(.98); opacity: 0;
  transition: transform .22s var(--ease), opacity .22s var(--ease);
}
.modal-wide { width: min(760px, 100%); }
.modal.is-open .modal-card { transform: none; opacity: 1; }
.modal-close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface); border-radius: 50%; cursor: pointer; color: var(--muted); }
.modal-close:hover { background: var(--bg-2); color: var(--ink); }
.modal-close .icon { width: 18px; height: 18px; }
.modal h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); padding-right: 2rem; }

.success-mark { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: #e2f2e9; color: #14603c; margin-bottom: 1rem; }
.success-mark .icon { width: 30px; height: 30px; stroke-width: 2.4; }

.receipt { border: 1px dashed var(--line-strong); border-radius: 16px; padding: 1.1rem 1.2rem; margin: 1.2rem 0; background: var(--surface-2); }
.receipt-head { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; padding-bottom: .8rem; border-bottom: 1px dashed var(--line-strong); margin-bottom: .8rem; }
.receipt-head strong { font-size: 1.02rem; }
.receipt-row { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; font-size: .88rem; }
.receipt-row span:first-child { color: var(--muted); }
.receipt-row strong { font-variant-numeric: tabular-nums; }
.receipt-total { border-top: 1px dashed var(--line-strong); margin-top: .6rem; padding-top: .7rem; font-size: 1rem; }

/* ----------------------------------------------------------------- toasts */
.toasts { position: fixed; z-index: 400; right: 16px; bottom: 16px; display: grid; gap: .55rem; max-width: min(360px, calc(100vw - 32px)); }
.toast {
  display: flex; align-items: flex-start; gap: .6rem;
  padding: .85rem 1rem; border-radius: 14px;
  background: #0b2417; color: #eaf2ec; border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: var(--shadow-lg); font-size: .88rem;
  transform: translateY(12px); opacity: 0; transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.toast.is-in { transform: none; opacity: 1; }
.toast .icon { color: #7fd3a4; margin-top: .1em; }
.toast-err { background: #2a1310; }
.toast-err .icon { color: #ff9c8a; }

/* -------------------------------------------------------------- page bits */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: clamp(24px, 3vw, 40px); flex-wrap: wrap; }
.section-head h2 { margin-bottom: .3rem; }
.section-head .lead { margin-bottom: 0; }

.timeline { position: relative; display: grid; gap: 1.2rem; margin: 0; padding: 0 0 0 1.6rem; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 6px; top: .4rem; bottom: .4rem; width: 2px; background: linear-gradient(var(--brand-300), var(--line)); border-radius: 2px; }
.timeline li { position: relative; margin: 0; }
.timeline li::before { content: ""; position: absolute; left: -1.6rem; top: .45rem; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 3px solid var(--brand); }
.timeline .year { font-size: .78rem; font-weight: 800; letter-spacing: .1em; color: var(--accent-600); }
.timeline h3 { font-size: 1.02rem; margin: .1rem 0 .2rem; }
.timeline p { font-size: .9rem; color: var(--muted); margin: 0; }

.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
.team-card { text-align: center; padding: 1.4rem 1.1rem; }
.team-card .avatar { width: 68px; height: 68px; margin: 0 auto .8rem; font-size: 1.1rem; }
.team-card h3 { font-size: 1rem; margin-bottom: .1rem; }
.team-card .role { font-size: .8rem; font-weight: 700; color: var(--accent-600); letter-spacing: .04em; text-transform: uppercase; margin-bottom: .5rem; }
.team-card p { font-size: .85rem; color: var(--muted); margin: 0; }

.hubs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.hub { display: grid; gap: .35rem; }
.hub h3 { font-size: 1rem; margin-bottom: .1rem; }
.hub .row { display: flex; gap: .5rem; align-items: flex-start; font-size: .86rem; color: var(--muted); }
.hub .row .icon { width: 1em; height: 1em; margin-top: .25em; color: var(--brand); flex: none; }

.accept-list { display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; margin: 0; list-style: none; }
.accept-list li { margin: 0; }
.accept-list .pill { padding: .4rem .7rem; font-size: .78rem; }

.faq { display: grid; gap: .7rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: .2rem .2rem; }
.faq summary { list-style: none; cursor: pointer; padding: .95rem 1.1rem; font-weight: 700; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s var(--ease); color: var(--muted); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .faq-body { padding: 0 1.1rem 1rem; color: var(--muted); font-size: .92rem; }

.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.info-item { display: flex; gap: .7rem; align-items: flex-start; }
.info-item .icon { color: var(--brand); margin-top: .15em; }
.info-item strong { display: block; font-size: .86rem; }
.info-item span { font-size: .88rem; color: var(--muted); }

.notice { display: flex; gap: .7rem; align-items: flex-start; padding: .85rem 1rem; border-radius: 14px; background: var(--blue-100); border: 1px solid #cfe6f1; color: #124a68; font-size: .85rem; }
.notice .icon { color: var(--blue); flex: none; margin-top: .15em; }

.empty { padding: 2.4rem 1rem; text-align: center; color: var(--muted); font-size: .9rem; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-col.newsletter { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; min-height: 240px; }
  .hero-emblem { width: min(430px, 88%); }
  .hero-chip-1 { left: 0; bottom: 0; }
  .hero-chip-2 { right: 0; top: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chart-grid { grid-template-columns: 1fr; }
  .page-head-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: grid; }
  .nav {
    position: fixed; inset: 72px 0 auto; z-index: 99;
    display: none; flex-direction: column; align-items: stretch; gap: .4rem;
    padding: 1rem var(--gutter) 1.4rem;
    background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(4, 20, 12, .12);
  }
  .nav-open .nav { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: .15rem; }
  .nav-list a { display: block; padding: .8rem .9rem; font-size: 1rem; }
  .nav-cta { margin-top: .5rem; width: 100%; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 0; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .split { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc { grid-template-columns: 1fr; }
  .hubs { grid-template-columns: 1fr; }
  .panel-sticky { position: static; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .grid-2, .grid-3, .grid-4, .steps, .team-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .calc-results { grid-template-columns: 1fr 1fr; }
  .hero-note { gap: .6rem 1rem; }
  .brand-text small { display: none; }
  .section-head { align-items: flex-start; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: .9rem; }
  .stat:first-child { border-top: 0; padding-top: 0; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpi { padding: .85rem .9rem; }
  .calc-results { grid-template-columns: 1fr; }
  .btn-lg { width: 100%; }
}

/* ------------------------------------------------------------------ print */
@media print {
  @page { margin: 18mm; }
  body { background: #fff; }
  body > *:not(.modal) { display: none !important; }
  .modal { position: static !important; display: block !important; padding: 0 !important; }
  .modal-backdrop, .modal-close, .modal-actions { display: none !important; }
  .receipt-wrap > .eyebrow, .receipt-wrap > h2, .receipt-wrap > .lead, .receipt-wrap > .hint { display: none !important; }
  .modal-card { position: static; width: 100% !important; max-width: none; padding: 0; border: 0; box-shadow: none; transform: none !important; opacity: 1 !important; }
  .receipt { position: static; width: 100%; border: 1px solid #999; background: #fff; break-inside: avoid; }
  .no-print { display: none !important; }
}

/* ---------------------------------------------------------------- additions */
.steps { list-style: none; padding: 0; margin: 0; }
.impact-list li dt, .impact-list li dd { margin: 0; }
.footer-contact { margin: 1.2rem 0 0; padding: 0; list-style: none; }
.newsletter-form { display: flex; gap: .5rem; margin-top: .8rem; }
.newsletter-form .input { min-height: 42px; font-size: .88rem; }
.footer-contact li { align-items: flex-start; }
.items-end { align-items: flex-end; }
.list-plain { list-style: none; margin: 0; padding: 0; }
.list-plain li { margin: 0; }
.card-dark { background: linear-gradient(160deg, #06251a, #04140c); border-color: transparent; color: #eaf2ec; padding: clamp(24px, 3vw, 36px); }
.card-dark h3, .card-dark h2 { color: #fff; }
.card-dark .impact-list li { border-color: rgba(255, 255, 255, .14); }
.card-dark .impact-list dt { color: #a9bbb0; }
.card-dark .impact-list dd { color: #ffc266; }
.card-dark .eyebrow { color: var(--accent); }
.mt-1 { margin-top: 1rem; }
.mt-15 { margin-top: 1.5rem; }
.w-100 { width: 100%; }
.gap-sm { gap: .5rem; }
.tint { background: var(--surface-2); border-radius: var(--radius); border: 1px solid var(--line); padding: 1rem 1.15rem; }
.split-row + .split-row { margin-top: 1.1rem; }
.split-row .between { font-size: .9rem; }
.split-row .progress { margin-top: .45rem; height: 7px; }
.split-row .tiny { margin: .35rem 0 0; }

/* ---------------------------------------------------------- donate / receipt */
.donate-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.donate-layout .form > .card { padding: clamp(20px, 2.4vw, 28px); }
.h3 { font-size: clamp(1.08rem, 1.5vw, 1.24rem); letter-spacing: -.015em; }
.page-head-facts { display: grid; gap: .75rem; align-self: end; }
.page-head-facts li { display: flex; gap: .65rem; align-items: flex-start; font-size: .84rem; color: #bccdc2; }
.page-head-facts .icon { color: var(--accent); margin-top: 2px; flex: none; }
.page-head-facts strong { display: block; color: #fff; font-size: .9rem; font-weight: 700; }
.receipt-wrap h2 { margin-bottom: .3rem; }
.receipt-wrap .lead { margin-bottom: 0; }
.modal-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.btn.is-loading { opacity: .8; pointer-events: none; }
.btn.is-loading::after { content: ""; width: 15px; height: 15px; margin-left: .5rem; display: inline-block; border-radius: 50%; border: 2px solid rgba(0, 0, 0, .22); border-top-color: currentColor; animation: btn-spin .7s linear infinite; }
@keyframes btn-spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) { .donate-layout { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .btn.is-loading::after { animation-duration: 3s; } }

/* ------------------------------------------------------------ recycle page */
.range { width: 100%; margin-top: .7rem; accent-color: var(--brand); cursor: pointer; }
.booking-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: clamp(20px, 3vw, 34px); align-items: start; }
.booking-layout .form > * { min-width: 0; }
.hub-card h3 { font-size: 1.02rem; }
.hub-meta { display: grid; gap: .5rem; margin: .9rem 0; font-size: .87rem; color: var(--ink-2); }
.hub-meta li { display: flex; gap: .55rem; align-items: flex-start; }
.hub-meta .icon { width: 17px; height: 17px; color: var(--muted); flex: none; margin-top: 2px; }
.hub-meta a { color: var(--ink-2); text-decoration: none; }
.hub-meta a:hover { color: var(--brand); text-decoration: underline; }
.btn-link { border: 0; background: none; padding: 0; font: inherit; cursor: pointer; }
.checklist { display: grid; gap: .85rem; margin: 0; padding: 0; list-style: none; }
.checklist li { display: flex; gap: .65rem; align-items: flex-start; font-size: .9rem; color: var(--ink-2); }
.checklist li .icon { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--brand); }
.checklist strong { color: var(--ink); }
.timeline-mini { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.timeline-mini li { position: relative; padding: 0 0 1.15rem 2rem; font-size: .88rem; }
.timeline-mini li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: -1px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; font-weight: 800; background: var(--brand-100); color: var(--brand-700); }
.timeline-mini li:not(:last-child)::after { content: ""; position: absolute; left: 10.5px; top: 24px; bottom: 0; width: 1px; background: var(--line-strong); }
.timeline-mini li:last-child { padding-bottom: 0; }
.timeline-mini strong { display: block; color: var(--ink); font-size: .92rem; }
.timeline-mini span { color: var(--muted); }
.type-card { font-size: .9rem; }
@media (max-width: 980px) { .booking-layout { grid-template-columns: 1fr; } }
[hidden] { display: none !important; }

/* ------------------------------------------------------- dashboard charts */
.section-tight { padding-block: clamp(28px, 4vw, 48px); }
.bars { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(3px, .6vw, 8px); height: 210px; margin: .6rem 0 0; }
.bar-col { display: flex; flex-direction: column; height: 100%; gap: .35rem; min-width: 0; }
.bar-track { flex: 1; display: flex; align-items: flex-end; }
.bar { width: 100%; min-height: 3px; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--lime), var(--brand)); transition: height .45s var(--ease); }
.bars.is-plastic .bar { background: linear-gradient(180deg, #8ec9e8, var(--blue)); }
.bar-col:hover .bar { filter: brightness(1.07); }
.bar-label { font-size: .64rem; letter-spacing: .02em; color: var(--muted); text-align: center; white-space: nowrap; overflow: hidden; }
.chart-foot { margin-top: .9rem; padding-top: .8rem; border-top: 1px dashed var(--line); gap: .5rem; }
.donut-wrap { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: center; }
.donut { width: 152px; height: 152px; }
.donut svg { width: 100%; height: 100%; display: block; }
.donut-legend { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; font-size: .82rem; }
.donut-legend li { display: flex; align-items: center; gap: .5rem; }
.donut-legend .dot { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.donut-legend .amt { margin-left: auto; color: var(--muted); font-size: .78rem; font-variant-numeric: tabular-nums; }
.btn-danger { --btn-bg: var(--danger); --btn-fg: #fff; --btn-bd: var(--danger); }
.btn-danger:hover { background: #a92f20; border-color: #a92f20; }
@media (max-width: 560px) {
  .donut-wrap { grid-template-columns: 1fr; justify-items: center; }
  .donut-legend { width: 100%; }
  .bar-label { font-size: .55rem; }
}

/* --------------------------------------------------------------- about page */
.contact-list { display: grid; gap: .95rem; margin: 0; padding: 0; list-style: none; }
.contact-list li { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; }
.contact-list .icon { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--brand); }
.contact-list strong { display: block; color: var(--ink); font-size: .92rem; }
.contact-list span { color: var(--muted); }
.partner-card { display: flex; flex-direction: column; gap: .5rem; padding: 1.15rem 1.2rem; }
.partner-card h3 { font-size: .95rem; margin: 0; line-height: 1.3; }
[id] { scroll-margin-top: 90px; }

/* ------------------------------------------------- quick contact (call/wa) */
.quick-contact {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 70;
}
.qc-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  box-shadow: 0 10px 24px -10px rgba(4, 20, 12, .6);
  transition: transform .18s ease, box-shadow .18s ease;
}
.qc-btn .icon { width: 23px; height: 23px; }
.qc-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(4, 20, 12, .65); }
.qc-btn:focus-visible { outline: 3px solid var(--brand-300); outline-offset: 2px; }
.qc-wa { background: #25d366; color: #062e1b; }
.qc-call { background: var(--brand); color: #fff; }
.qc-tip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(4px);
  background: var(--brand-900);
  color: #fff;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .01em;
  padding: 7px 10px;
  border-radius: 9px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.qc-btn:hover .qc-tip,
.qc-btn:focus-visible .qc-tip { opacity: 1; transform: translateY(-50%) translateX(0); }
.footer-contact a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .22); }
.footer-contact a:hover { color: #fff; border-color: var(--lime); }
.contact-list a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.contact-list a:hover { color: var(--brand); border-color: var(--brand); }
.toasts { bottom: calc(16px + 128px); }
@media (max-width: 520px) {
  .quick-contact { right: 12px; bottom: 12px; }
  .qc-btn { width: 48px; height: 48px; }
  .qc-tip { display: none; }
  .toasts { bottom: calc(12px + 114px); }
}
@media print { .quick-contact { display: none !important; } }
