/* ==========================================================================
   TAKEZO.RO — Design System (aliniat vizual cu Combretin.ro)
   Asociația Takezo · Program Combretin
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand — natural green (Combretin) */
  --primary: #2D6A4F;        /* green-800 */
  --primary-600: #1B4332;    /* green-900 */
  --primary-700: #143027;
  --primary-050: #D8F3DC;    /* green-100 */
  --secondary: #40916C;      /* green-700 */
  --secondary-600: #2D6A4F;
  --secondary-050: #E8FAFA;  /* accent bg */
  --accent: #C6F4F3;         /* pale teal */
  --accent-600: #A0DCDA;
  --accent-ink: #16615D;

  /* Surfaces — warm neutrals */
  --bg: #FAFAF8;
  --bg-alt: #F5F0E8;         /* cream */
  --white: #FFFFFF;
  --ink: #1C1917;
  --ink-2: #57534E;
  --ink-3: #78716C;
  --line: #E8E3DC;
  --line-2: #D6D0C8;
  --dark: #0D2B1E;           /* green-950 */

  /* Effects */
  --radius: 24px;
  --radius-sm: 16px;
  --radius-lg: 36px;
  --radius-pill: 9999px;
  --shadow-sm: 0 2px 6px rgba(28,25,23,.07), 0 1px 2px rgba(28,25,23,.04);
  --shadow: 0 4px 16px rgba(28,25,23,.08), 0 1px 4px rgba(28,25,23,.05);
  --shadow-lg: 0 20px 60px rgba(28,25,23,.12);
  --glass-bg: rgba(255,255,255,.72);
  --glass-border: rgba(255,255,255,.55);
  --glass-blur: saturate(140%) blur(16px);

  /* Type */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-head: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --maxw: 1200px;
  --gap: clamp(1rem, 3vw, 2rem);

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #2D6A4F 0%, #40916C 60%, #52B788 130%);
  --grad-soft: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
ul { list-style: none; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--primary-050); color: var(--primary-700); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(2.25rem, 5.5vw, 4.25rem); }
h2 { font-size: clamp(1.875rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }
p { color: var(--ink-2); }
.lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--ink-2); line-height: 1.7; }
.muted { color: var(--ink-3); }
strong { font-weight: 700; color: var(--ink); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 2.5rem); }
.section { padding-block: clamp(4rem, 8vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--alt { background: var(--bg-alt); }
.section--ink { background: var(--dark); color: #fff; }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }
.section--ink p { color: rgba(255,255,255,.78); }
.center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head);
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary); background: var(--primary-050);
  padding: .4rem .9rem; border-radius: var(--radius-pill); margin-bottom: 1.1rem;
}
.eyebrow--teal { color: var(--accent-ink); background: var(--secondary-050); }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; }
.section-head p { margin-top: 1rem; }

.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; line-height: 1.2;
  padding: .9rem 1.7rem; border-radius: var(--radius-pill); border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .25s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap; text-align: center;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 20px rgba(45,106,79,.26); }
.btn-primary:hover { background: var(--primary-600); transform: translateY(-2px); box-shadow: 0 8px 26px rgba(45,106,79,.34); }
.btn-teal { background: var(--secondary); color: #fff; box-shadow: 0 4px 20px rgba(64,145,108,.26); }
.btn-teal:hover { background: var(--primary); transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: var(--ink); box-shadow: 0 4px 20px rgba(160,220,218,.4); }
.btn-accent:hover { background: var(--accent-600); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.btn-lg { padding: 1.05rem 2.1rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-link { color: var(--primary); font-weight: 700; font-family: var(--font-head); display: inline-flex; align-items: center; gap: .4rem; }
.btn-link:hover { gap: .65rem; color: var(--primary-600); }
.btn-link svg { width: 1.1em; height: 1.1em; flex: none; transition: transform .2s; }

/* ---------- Cards ---------- */
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease;
}
.card-hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center;
  background: var(--primary-050); color: var(--primary); margin-bottom: 1.2rem;
}
.card-icon svg { width: 28px; height: 28px; }
.card-icon--teal { background: var(--secondary-050); color: var(--accent-ink); }
.card-icon--accent { background: var(--secondary-050); color: var(--accent-ink); }
.card h3 { margin-bottom: .6rem; }

/* Glass */
.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,250,248,.82);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 76px; }
.brand { display: flex; align-items: center; gap: .65rem; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.brand img { width: 42px; height: 42px; border-radius: 50%; }
.brand span small { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.nav-links { display: flex; align-items: center; gap: .35rem; }
.nav-links a { padding: .55rem .8rem; border-radius: var(--radius-pill); font-weight: 600; font-size: .95rem; color: var(--ink-2); transition: background .2s, color .2s; }
.nav-links a:hover, .nav-links a.active { background: var(--white); color: var(--primary); box-shadow: var(--shadow-sm); }
.nav-cta { display: flex; align-items: center; gap: .6rem; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; background: var(--white); box-shadow: var(--shadow-sm); align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content:''; display:block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; } .nav-toggle span::after { position: absolute; top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content:''; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(13,43,30,.86) 0%, rgba(13,43,30,.6) 45%, rgba(13,43,30,.28) 100%); }
.hero .container { position: relative; z-index: 2; padding-block: clamp(3rem, 10vh, 6rem); }
.hero-card { max-width: 640px; padding: clamp(1.8rem, 4vw, 3rem); }
.hero .hero-card.glass { background: rgba(13,43,30,.34); border-color: rgba(255,255,255,.16); }
.hero-card .eyebrow { background: rgba(255,255,255,.14); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero h1 { color: #fff; }
.hero p { color: rgba(255,255,255,.92); margin-top: 1.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2rem; color: rgba(255,255,255,.88); font-size: .9rem; font-weight: 600; }
.hero-badges span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-badges svg { width: 18px; height: 18px; color: var(--accent); }

/* page hero (inner pages) */
.page-hero { position: relative; padding-block: clamp(3rem, 8vw, 5.5rem); background: var(--grad-brand); color: #fff; overflow: hidden; }
.page-hero::before { content:''; position:absolute; right:-10%; top:-40%; width: 60%; height: 180%; background: radial-gradient(circle, rgba(198,244,243,.3), transparent 60%); }
.page-hero .container { position: relative; z-index: 1; max-width: 820px; }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.9); margin-top: 1rem; max-width: 640px; }
.breadcrumb { display: flex; gap: .5rem; font-size: .85rem; color: rgba(255,255,255,.72); margin-bottom: 1.2rem; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Metrics / Counters ---------- */
.metric { text-align: center; padding: clamp(1.4rem,3vw,2rem) 1rem; }
.metric .num { font-family: var(--font-head); font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.03em;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.metric .label { font-weight: 600; color: var(--ink-2); margin-top: .3rem; }

/* ---------- Stat row on dark ---------- */
.stat-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.stat-strip .metric .num { background: linear-gradient(135deg,#fff,#B7E4C7); -webkit-background-clip: text; background-clip: text; }
.stat-strip .label { color: rgba(255,255,255,.75); }

/* ---------- Image utilities ---------- */
.img-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.img-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.img-frame:hover img { transform: scale(1.04); }
.ratio-4-3 { aspect-ratio: 4/3; } .ratio-3-4 { aspect-ratio: 3/4; } .ratio-1 { aspect-ratio: 1; } .ratio-16-9 { aspect-ratio: 16/9; }
.img-tag { position: absolute; left: 1rem; bottom: 1rem; background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); padding: .5rem .9rem; border-radius: var(--radius-pill); font-size: .82rem; font-weight: 700; color: var(--ink); }

/* mosaic */
.mosaic { display: grid; grid-template-columns: repeat(2,1fr); grid-auto-rows: 1fr; gap: 1rem; }
.mosaic .img-frame:first-child { grid-row: span 2; }

/* ---------- Story cards ---------- */
.story { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 440px; display: flex; align-items: flex-end; box-shadow: var(--shadow); }
.story img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.story:hover img { transform: scale(1.05); }
.story::after { content:''; position:absolute; inset:0; background: linear-gradient(0deg, rgba(13,43,30,.92) 0%, rgba(13,43,30,.12) 60%, transparent 100%); }
.story-body { position: relative; z-index: 1; padding: clamp(1.4rem,3vw,2rem); color: #fff; }
.story-body h3 { color: #fff; margin-bottom: .4rem; min-height: 2.24em; }
.story-body p { color: rgba(255,255,255,.85); }
.story-tag { display: inline-block; font-family: var(--font-head); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--accent); color: var(--primary-700); padding: .3rem .7rem; border-radius: var(--radius-pill); margin-bottom: .8rem; }

/* ---------- Support cards (with image top) ---------- */
.support-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.support-card .ph { aspect-ratio: 16/10; overflow: hidden; }
.support-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.support-card:hover .ph img { transform: scale(1.06); }
.support-card .body { padding: 1.6rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.support-card .body .btn-link { margin-top: auto; }

/* ---------- Partners ---------- */
.logo-wall { display: grid; grid-template-columns: repeat(5,1fr); gap: 1rem; }
.logo-chip { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); height: 96px; display: grid; place-items: center; font-weight: 700; color: var(--ink-3); box-shadow: var(--shadow-sm); transition: .3s; }
.logo-chip:hover { color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--grad-brand); color: #fff; padding: clamp(2.5rem,6vw,4.5rem); text-align: center; }
.cta-band::before { content:''; position:absolute; left:-10%; bottom:-60%; width:50%; height:160%; background: radial-gradient(circle, rgba(198,244,243,.32), transparent 60%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; max-width: 780px; margin-inline: auto; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 620px; margin: 1rem auto 0; }
.cta-actions { display:flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2rem; }

/* ---------- Forms ---------- */
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .45rem; color: var(--ink); }
.field .hint { font-size: .82rem; color: var(--ink-3); margin-top: .35rem; }
.input, .textarea, .select {
  width: 100%; padding: .9rem 1.05rem; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm);
  background: var(--white); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-050); }
.textarea { min-height: 120px; resize: vertical; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--primary); flex: none; }

/* amount pills */
.amounts { display: grid; grid-template-columns: repeat(4,1fr); gap: .7rem; }
.amount {
  border: 2px solid var(--line-2); border-radius: var(--radius-sm); padding: 1.1rem .5rem; text-align: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; background: var(--white); color: var(--ink); transition: .2s;
}
.amount small { display:block; font-size: .7rem; font-weight: 600; color: var(--ink-3); margin-top: .2rem; }
.amount:hover { border-color: var(--primary); }
.amount.selected { border-color: var(--primary); background: var(--primary-050); color: var(--primary-700); }

/* toggle */
.toggle { display: inline-flex; background: var(--bg-alt); border-radius: var(--radius-pill); padding: .35rem; gap: .25rem; }
.toggle button { padding: .65rem 1.3rem; border-radius: var(--radius-pill); font-family: var(--font-head); font-weight: 700; color: var(--ink-2); transition: .2s; }
.toggle button.active { background: var(--white); color: var(--primary); box-shadow: var(--shadow-sm); }

/* ---------- Steps ---------- */
.steps { display: flex; gap: .5rem; margin-bottom: 2rem; }
.step-dot { flex: 1; }
.step-dot .bar { height: 6px; border-radius: 999px; background: var(--line-2); transition: .3s; }
.step-dot.active .bar, .step-dot.done .bar { background: var(--primary); }
.step-dot .lbl { font-size: .78rem; font-weight: 600; color: var(--ink-3); margin-top: .5rem; }
.step-dot.active .lbl { color: var(--primary); }
.step-pane { display: none; } .step-pane.active { display: block; animation: fade .4s ease; }

/* ---------- Accordion ---------- */
.acc-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); margin-bottom: .8rem; overflow: hidden; }
.acc-head { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 1.4rem; font-family: var(--font-head); font-weight: 700; text-align: left; color: var(--ink); }
.acc-head .ico { transition: transform .3s; color: var(--primary); flex: none; }
.acc-item.open .acc-head .ico { transform: rotate(45deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.acc-body .inner { padding: 0 1.4rem 1.3rem; color: var(--ink-2); }

/* ---------- Table (reports) ---------- */
.table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); }
.table th, .table td { padding: 1rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); }
.table th { background: var(--bg-alt); font-family: var(--font-head); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.table tr:last-child td { border-bottom: none; }
.table .doc { display: inline-flex; align-items: center; gap: .5rem; color: var(--primary); font-weight: 700; }

/* progress (allocation bars) */
.bar-item { margin-bottom: 1.1rem; }
.bar-item .top { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: .4rem; font-size: .95rem; }
.bar-track { height: 12px; background: var(--bg-alt); border-radius: 999px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; background: var(--grad-brand); width: 0; transition: width 1.2s cubic-bezier(.2,.7,.3,1); }

/* badge */
.badge { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-head); font-size: .8rem; font-weight: 700; padding: .35rem .8rem; border-radius: 999px; background: var(--primary-050); color: var(--primary); }
.badge--accent { background: var(--secondary-050); color: var(--accent-ink); }

/* list checks */
.checklist { display: grid; gap: .8rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink-2); }
.checklist svg { flex: none; width: 22px; height: 22px; color: var(--secondary); margin-top: .15rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: rgba(255,255,255,.72); padding-block: clamp(3rem,6vw,4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2rem; }
.site-footer h4 { color: #fff; font-family: var(--font-head); font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1.1rem; }
.site-footer a { color: rgba(255,255,255,.72); transition: color .2s; line-height: 2; }
.site-footer a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: .65rem; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; margin-bottom: 1rem; }
.footer-brand img { width: 44px; height: 44px; border-radius: 50%; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .85rem; }
.footer-soc { display: flex; gap: .6rem; }
.footer-soc a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.footer-soc a:hover { background: var(--primary); }
.footer-soc svg { width: 18px; height: 18px; }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 200; max-width: 560px; margin-inline: auto;
  padding: 1.3rem 1.5rem; transform: translateY(180%); transition: transform .5s cubic-bezier(.2,.8,.3,1);
}
.cookie.show { transform: translateY(0); }
.cookie p { font-size: .9rem; margin-bottom: 1rem; }
.cookie-actions { display: flex; gap: .7rem; flex-wrap: wrap; }

/* ---------- Payment modal / states ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 1.2rem; background: rgba(13,43,30,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal.show { display: flex; animation: fade .3s ease; }
.modal-card { background: #fff; border-radius: var(--radius); max-width: 440px; width: 100%; padding: 2.4rem 2rem; text-align: center; box-shadow: var(--shadow-lg); }
.spinner { width: 54px; height: 54px; border-radius: 50%; border: 5px solid var(--primary-050); border-top-color: var(--primary); margin: 0 auto 1.4rem; animation: spin 1s linear infinite; }
.state-ico { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 1.2rem; }
.state-ico.ok { background: var(--primary-050); color: var(--primary); }
.state-ico.err { background: #fde8e8; color: #d64545; }
.state-ico svg { width: 32px; height: 32px; }

/* ---------- Animations ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto; } .reveal { opacity: 1; transform: none; } }

/* ---------- Utilities ---------- */
.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2rem}
.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.5rem}
.flex{display:flex}.wrap{flex-wrap:wrap}.gap{gap:1rem}.gap-sm{gap:.5rem}.aic{align-items:center}.jcc{justify-content:center}.jcsb{justify-content:space-between}
.pill { display:inline-flex; align-items:center; gap:.5rem; background:var(--white); border:1px solid var(--line); padding:.5rem 1rem; border-radius:999px; font-weight:600; font-size:.9rem; box-shadow:var(--shadow-sm); }
.divider { height:1px; background:var(--line); margin-block: 2rem; }
.text-prose { max-width: 760px; } .text-prose p { margin-bottom: 1.1rem; } .text-prose h2 { margin-top: 2.2rem; margin-bottom: .8rem; } .text-prose h3 { margin-top: 1.6rem; margin-bottom: .6rem; } .text-prose ul.dotted { list-style: disc; padding-left: 1.3rem; } .text-prose ul.dotted li { margin-bottom: .5rem; color: var(--ink-2); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .logo-wall { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-strip { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 820px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch;
    background: rgba(250,250,248,.97); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
    padding: 1rem; gap: .25rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-130%); transition: transform .35s ease; z-index: 90;
  }
  .nav-open .nav-links { display: flex; transform: translateY(0); }
  .nav-links a { padding: .9rem 1rem; }
  .split { grid-template-columns: 1fr; }
  .split.rev > *:first-child { order: 2; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .amounts { grid-template-columns: repeat(2,1fr); }
  .row-2 { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .logo-wall { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr; } .mosaic .img-frame:first-child { grid-row: auto; }
  .hero { min-height: 86vh; }
  .steps .lbl { display: none; }
}
