/* ==========================================================================
   Asociația Jucătorilor de Kendama - stiluri
   Paletă: negru, alb, accente de roșu
   ========================================================================== */

:root {
  --black: #0b0b0c;
  --ink: #141416;
  --ink-2: #1c1c1f;
  --ink-3: #26262b;
  --white: #ffffff;
  --paper: #f5f3ef;
  --paper-2: #ebe8e2;
  --line: #e0dcd4;
  --line-dark: rgba(255, 255, 255, 0.12);
  --text: #141416;
  --muted: #5d5d66;
  --muted-dark: #a4a4ae;
  /* Dark cherry accent with Romanian tricolor details. --accent fills (buttons, badges);
     --accent-ink is for text, icons and lines: dark cherry on light surfaces, a brighter
     saturated cherry on dark ones (a paler tint reads pink), white on cherry ones. */
  --ro-blue: #002b7f;
  --ro-yellow: #fcd116;
  --ro-red: #ce1126;
  --accent: #8f1024;
  --accent-light: #db1a35;
  --accent-dark: #6b0b1b;
  --accent-rgb: 143, 16, 36;
  --accent-soft: rgba(143, 16, 36, 0.1);
  --accent-ink: var(--accent);
  --tricolor: linear-gradient(90deg, var(--ro-blue) 0 33.34%, var(--ro-yellow) 33.34% 66.67%, var(--ro-red) 66.67%);

  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.06), 0 24px 60px rgba(0, 0, 0, 0.14);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); line-height: 1.05; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--white); }

.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: 16px; top: -100px; z-index: 1000;
  background: var(--accent); color: var(--white); padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 16px; }

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

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section--dark { background: var(--black); color: var(--white); }
.section--ink { background: var(--ink); color: var(--white); }
.section--white { background: var(--white); }
.section--accent { background: var(--accent); color: var(--white); }
.section--tight { padding: clamp(48px, 7vw, 80px) 0; }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-head--split > div { max-width: 680px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-ink);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 30px; height: 3px; border-radius: 2px; background: var(--tricolor); }
.section--accent .eyebrow { color: var(--white); }

.h-display {
  font-size: clamp(44px, 8.4vw, 112px);
  font-weight: 900; font-stretch: 82%; text-transform: uppercase; letter-spacing: -0.03em; line-height: 0.92;
}
.h1 { font-size: clamp(40px, 6.4vw, 80px); font-weight: 900; font-stretch: 85%; letter-spacing: -0.03em; line-height: 0.98; }
.h2 { font-size: clamp(34px, 4.8vw, 60px); font-weight: 900; font-stretch: 88%; letter-spacing: -0.025em; }
.h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; letter-spacing: -0.015em; line-height: 1.15; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--muted); }
.section--dark .lead, .section--ink .lead { color: var(--muted-dark); }
.text-accent { color: var(--accent-ink); }
.hl {
  position: relative; white-space: nowrap; color: var(--white); padding: 0 0.12em;
  background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 85% / 100% 0.86em;
}
.section-head .lead { margin-top: 20px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--black); --btn-fg: var(--white); --btn-bd: var(--btn-bg);
  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); border: 2px solid var(--btn-bd);
  font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease), background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.25s;
  white-space: nowrap;
}
.btn .icon { transition: transform 0.25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .icon--arrow { transform: translateX(4px); }
.btn--accent { --btn-bg: var(--accent); --btn-fg: var(--white); }
.btn--accent:hover { --btn-bg: var(--accent-dark); box-shadow: 0 10px 30px rgba(var(--accent-rgb), 0.35); }
.btn--white { --btn-bg: var(--white); --btn-fg: var(--black); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--black); --btn-bd: var(--black); }
.btn--outline:hover { --btn-bg: var(--black); --btn-fg: var(--white); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255, 255, 255, 0.4); }
.btn--outline-light:hover { --btn-bd: var(--white); --btn-bg: var(--white); --btn-fg: var(--black); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; color: var(--accent-ink);
}
.link-arrow .icon { transition: transform 0.25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  color: var(--white);
  transition: background-color 0.3s, box-shadow 0.3s, height 0.3s;
}
/* The blur lives on a pseudo-element: backdrop-filter on the header itself
   would trap the fixed mobile menu inside the header box. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  opacity: 0; transition: opacity 0.3s;
  background: rgba(11, 11, 12, 0.88);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line-dark);
}
.site-header.is-scrolled::before, .site-header--solid::before { opacity: 1; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { width: 54px; height: auto; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.brand-text strong { font-family: var(--font-display); font-weight: 900; font-stretch: 85%; font-size: 17px; letter-spacing: 0.01em; text-transform: uppercase; }
.brand-text span { font-size: 12px; color: var(--muted-dark); letter-spacing: 0.04em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 2px; }
.nav-link {
  display: block; padding: 10px 13px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s, background-color 0.2s;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--white); background: rgba(255, 255, 255, 0.08); }
.nav .btn { margin-left: 10px; }
.nav-toggle {
  display: none; width: 48px; height: 48px; border-radius: 50%;
  align-items: center; justify-content: center; color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}
.nav-toggle .icon { width: 24px; height: 24px; }

@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; position: relative; z-index: 2; }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
    background: var(--black);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
    overflow-y: auto;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link {
    font-family: var(--font-display); font-size: clamp(26px, 7vw, 38px); font-weight: 800; font-stretch: 88%;
    padding: 12px 0; border-radius: 0; border-bottom: 1px solid var(--line-dark); background: none !important;
  }
  .nav-link[aria-current="page"] { color: var(--accent-ink); }
  .nav .btn { margin: 28px 0 0; }
  .nav-open { overflow: hidden; }
}
@media (max-width: 420px) {
  .brand-text span { display: none; }
  .brand img { width: 46px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--black); color: var(--white);
  padding: calc(var(--header-h) + clamp(32px, 5vw, 72px)) 0 0;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  background:
    radial-gradient(60% 50% at 78% 40%, rgba(var(--accent-rgb), 0.28), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(255, 255, 255, 0.06), transparent 70%);
}
.grain::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px;
  padding: 8px 16px 8px 8px; border-radius: 999px; border: 1px solid var(--line-dark);
  font-size: 14px; color: var(--muted-dark); background: rgba(255, 255, 255, 0.04);
}
.hero-badge b { background: var(--accent); color: var(--white); border-radius: 999px; padding: 3px 10px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
@keyframes spin { to { transform: rotate(360deg); } }

.next-event {
  display: flex; align-items: center; gap: 16px; margin-top: 40px; max-width: 520px;
  padding: 14px 18px 14px 14px; border-radius: var(--radius); border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.04); transition: border-color 0.2s, background-color 0.2s;
}
.next-event:hover { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.07); }
.next-event[hidden] { display: none; }
.next-event__date {
  flex: none; width: 60px; height: 64px; border-radius: 12px; background: var(--white); color: var(--black);
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1;
}
.next-event__date strong { font-family: var(--font-display); font-size: 26px; font-weight: 900; }
.next-event__date span { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--accent-ink); margin-top: 4px; }
.next-event__body { min-width: 0; flex: 1; }
.next-event__body small { display: block; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); font-weight: 700; }
.next-event__body strong { display: block; font-family: var(--font-display); font-size: 18px; line-height: 1.25; }
.next-event__body span { font-size: 14px; color: var(--muted-dark); }
.next-event > .icon { color: var(--muted-dark); }

.page-hero {
  position: relative; overflow: hidden; isolation: isolate; background: var(--black); color: var(--white);
  padding: calc(var(--header-h) + clamp(56px, 8vw, 104px)) 0 clamp(56px, 8vw, 96px);
}
.page-hero::before {
  content: ""; position: absolute; z-index: -1; width: min(70vw, 720px); aspect-ratio: 1; right: -18%; top: -30%;
  border-radius: 50%; background: radial-gradient(circle, rgba(var(--accent-rgb), 0.35), transparent 65%);
}
.page-hero .lead { max-width: 640px; margin-top: 24px; color: rgba(255, 255, 255, 0.72); }
.breadcrumb { display: flex; gap: 8px; font-size: 14px; color: var(--muted-dark); margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--white); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.stat { background: var(--white); padding: clamp(24px, 3vw, 40px); }
.stat strong {
  display: block; font-family: var(--font-display); font-weight: 900; font-stretch: 85%;
  font-size: clamp(44px, 5.6vw, 72px); line-height: 1; letter-spacing: -0.03em;
}
.stat strong em { font-style: normal; color: var(--accent-ink); }
.stat > span { display: block; margin-top: 10px; color: var(--muted); font-size: 15px; }

/* ---------- About / pillars ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.about-copy p { color: var(--muted); font-size: 18px; }
.about-copy .h2 { margin-bottom: 28px; }
.quote-inline {
  margin: 32px 0 0; padding: 24px 28px; border-left: 4px solid var(--accent-ink); background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--font-display); font-size: 21px; font-weight: 700; line-height: 1.35;
}
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pillar {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s;
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pillar:nth-child(even) { margin-top: 32px; margin-bottom: -32px; }
.pillar__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--black); color: var(--white);
}
.pillar:nth-child(odd) .pillar__icon { background: var(--accent); }
.pillar__icon .icon { width: 26px; height: 26px; }
.pillar h3 { font-size: 21px; font-weight: 800; margin-bottom: 8px; }
.pillar p { font-size: 15px; color: var(--muted); line-height: 1.55; }

/* ---------- Steps / journey ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; position: relative; }
.step { position: relative; padding-top: 72px; }
.step::before {
  content: ""; position: absolute; top: 27px; left: 56px; right: -20px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px);
}
.step:last-child::before { display: none; }
.step__num {
  position: absolute; top: 0; left: 0; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--black); color: var(--white);
  font-family: var(--font-display); font-weight: 900; font-size: 22px;
}
.step:last-child .step__num { background: var(--accent); }
.step h3 { font-size: 24px; font-weight: 900; font-stretch: 88%; text-transform: uppercase; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 16px; }

/* ---------- Event cards ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.event-card {
  position: relative; display: flex; flex-direction: column; text-align: left;
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
  cursor: pointer;
}
.event-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.event-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); }
.event-card__media img, .event-card__media .ph { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.event-card:hover .event-card__media img, .event-card:hover .event-card__media .ph { transform: scale(1.06); }
.date-badge {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: var(--white); color: var(--black); border-radius: 14px; padding: 8px 12px; min-width: 64px;
  text-align: center; line-height: 1; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
.date-badge strong { display: block; font-family: var(--font-display); font-weight: 900; font-size: 26px; }
.date-badge span { display: block; margin-top: 4px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-ink); }
.type-tag {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  background: rgba(11, 11, 12, 0.72); color: var(--white); backdrop-filter: blur(6px);
  border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.02em;
}
.sample-tag {
  position: absolute; bottom: 14px; left: 16px; z-index: 2;
  background: var(--accent); color: var(--white); border-radius: 6px; padding: 3px 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.event-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.event-card__title { font-size: 22px; font-weight: 800; line-height: 1.2; margin-bottom: 14px; }
.meta-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 15px; }
.meta-list li { display: inline-flex; align-items: center; gap: 7px; }
.meta-list .icon { color: var(--accent-ink); }
.event-card__foot {
  margin-top: auto; padding-top: 20px; display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--line); margin-top: 20px;
}
.event-card__date { font-size: 14px; color: var(--muted); }
.event-card .link-arrow { font-size: 15px; }

/* Placeholder image */
.ph {
  position: relative; display: grid; place-items: center; width: 100%; height: 100%;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 14px, transparent 14px 28px),
    radial-gradient(circle at 70% 30%, rgba(var(--accent-rgb), 0.55), transparent 55%),
    var(--ink-2);
  color: rgba(255, 255, 255, 0.85); overflow: hidden;
}
.ph .ph__logo { position: static !important; width: 38% !important; max-width: 160px; height: auto !important; opacity: 0.55; object-fit: contain; transform: none !important; border-radius: 0 !important; }
.ph small {
  position: absolute; bottom: 14px; right: 16px; font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.5);
}

/* ---------- Modal ---------- */
.modal {
  width: min(920px, calc(100vw - 24px)); max-height: calc(100dvh - 24px);
  padding: 0; border: 0; border-radius: var(--radius-lg); background: var(--white); color: var(--text);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.5); overflow: hidden;
}
.modal::backdrop { background: rgba(11, 11, 12, 0.78); backdrop-filter: blur(6px); }
.modal[open] { animation: modal-in 0.4s var(--ease); }
.modal[open]::backdrop { animation: fade-in 0.3s ease; }
@keyframes modal-in { from { opacity: 0; transform: translateY(24px) scale(0.98); } }
@keyframes fade-in { from { opacity: 0; } }
.modal__scroll { max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; }
.modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 5; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(11, 11, 12, 0.7); color: var(--white); backdrop-filter: blur(6px);
  transition: background-color 0.2s, transform 0.2s;
}
.modal__close:hover { background: var(--accent); transform: rotate(90deg); }
.modal__close .icon { width: 22px; height: 22px; }
.modal__media { position: relative; aspect-ratio: 16 / 9; background: var(--ink); }
.modal__media img, .modal__media .ph, .modal__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, 0.92); color: var(--black); box-shadow: var(--shadow);
}
.slider-btn:hover { background: var(--accent); color: var(--white); }
.slider-btn--prev { left: 14px; }
.slider-btn--next { right: 14px; }
.slider-dots { position: absolute; bottom: 14px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: 8px; }
.slider-dots button { width: 9px; height: 9px; border-radius: 99px; background: rgba(255, 255, 255, 0.5); transition: width 0.3s var(--ease), background-color 0.2s; }
.slider-dots button[aria-current="true"] { width: 26px; background: var(--white); }
.modal__thumbs { display: flex; gap: 8px; padding: 12px clamp(20px, 4vw, 40px) 0; overflow-x: auto; }
.modal__thumbs button { flex: none; width: 84px; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; opacity: 0.55; outline-offset: 2px; transition: opacity 0.2s; }
.modal__thumbs button[aria-current="true"], .modal__thumbs button:hover { opacity: 1; }
.modal__thumbs img, .modal__thumbs .ph { width: 100%; height: 100%; object-fit: cover; }
.modal__thumbs .ph .ph__logo { width: 60% !important; }
.modal__thumbs .ph small { display: none; }
.modal__thumb-video { display: grid; place-items: center; width: 100%; height: 100%; background: var(--accent); color: var(--white); }
.modal__body { padding: clamp(24px, 4vw, 40px); }
.modal__type { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 10px; }
.modal__title { font-size: clamp(28px, 4vw, 42px); font-weight: 900; font-stretch: 88%; margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: var(--paper); font-size: 14px; font-weight: 600;
}
.chip .icon { color: var(--accent-ink); }
.modal__text p { color: var(--muted); }
.modal__highlights { margin-top: 26px; padding: 22px 24px; background: var(--paper); border-radius: var(--radius); }
.modal__highlights h3 { font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; }
.check-list { list-style: none; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { color: var(--accent-ink); margin-top: 0.3em; }
.modal__cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
body.modal-open { overflow: hidden; }

/* ---------- Quote band ---------- */
.big-quote { text-align: center; max-width: 980px; margin: 0 auto; }
.big-quote blockquote {
  margin: 0; font-family: var(--font-display); font-weight: 900; font-stretch: 85%;
  font-size: clamp(30px, 4.6vw, 58px); line-height: 1.08; letter-spacing: -0.02em; text-transform: uppercase;
}
.big-quote figcaption { margin-top: 24px; font-size: 16px; opacity: 0.85; }

/* ---------- Support ---------- */
.support-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 20px; }
.support-card {
  border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); position: relative; overflow: hidden;
  background: var(--white); border: 1px solid var(--line);
}
.support-card--dark { background: var(--black); color: var(--white); border-color: var(--black); }
.support-card--dark p { color: var(--muted-dark); }
.support-card .big-num {
  font-family: var(--font-display); font-weight: 900; font-stretch: 80%; line-height: 0.85;
  font-size: clamp(96px, 14vw, 180px); color: var(--accent-ink); letter-spacing: -0.04em; margin-bottom: 8px;
}
.support-card .big-num sup { font-size: 0.4em; vertical-align: top; position: relative; top: 0.2em; }
.support-card h3 { font-size: clamp(26px, 3vw, 34px); font-weight: 900; font-stretch: 88%; margin-bottom: 14px; }
.support-card > p { color: var(--muted); }
.mini-steps { list-style: none; counter-reset: ms; display: grid; gap: 14px; margin: 26px 0; }
.mini-steps li { counter-increment: ms; display: flex; gap: 14px; align-items: flex-start; }
.mini-steps li::before {
  content: counter(ms); flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--white); font-family: var(--font-display); font-weight: 800; font-size: 14px; margin-top: 1px;
}
.support-card--dark .mini-steps li { color: rgba(255, 255, 255, 0.85); }
.copy-fields { display: grid; gap: 10px; margin: 24px 0; }
.copy-field {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 12px 12px 18px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line);
}
.support-card--dark .copy-field { background: var(--ink-2); border-color: var(--line-dark); }
.copy-field > div { min-width: 0; }
.copy-field small { display: block; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.support-card--dark .copy-field small { color: var(--muted-dark); }
.copy-field code { display: block; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; letter-spacing: 0.02em; }
.copy-btn {
  flex: none; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 10px;
  background: var(--black); color: var(--white); font-size: 13px; font-weight: 600; transition: background-color 0.2s;
}
.support-card--dark .copy-btn { background: var(--white); color: var(--black); }
.copy-btn:hover { background: var(--accent); color: var(--white); }
.copy-btn.is-copied { background: #16a34a; color: var(--white); }
.note { font-size: 14px; color: var(--muted); }
.support-card--dark .note { color: var(--muted-dark); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-list { list-style: none; display: grid; gap: 14px; margin-top: 36px; }
.contact-item {
  display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--radius);
  border: 1px solid var(--line-dark); background: rgba(255, 255, 255, 0.03); transition: border-color 0.2s, background-color 0.2s;
}
a.contact-item:hover { border-color: var(--accent-ink); background: rgba(var(--accent-rgb), 0.08); }
.contact-item__icon { flex: none; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: var(--white); }
.contact-item__icon .icon { width: 22px; height: 22px; }
.contact-item small { display: block; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-dark); }
.contact-item strong { display: block; font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }

/* ---------- Contact cards ---------- */
.form-card { background: var(--white); color: var(--text); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: 28px; font-weight: 900; font-stretch: 88%; margin-bottom: 6px; }
.form-card > p { color: var(--muted); margin-bottom: 22px; }
.form-card .note { margin: 16px 0 0; }
.topic-list { list-style: none; display: grid; gap: 10px; }
.topic-link {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px 14px 14px; border-radius: 14px;
  background: var(--paper); border: 1.5px solid var(--line); font-weight: 600;
  transition: border-color 0.2s, background-color 0.2s, transform 0.25s var(--ease);
}
.topic-link > span:nth-child(2) { flex: 1; }
.topic-link__icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--black); color: var(--white); flex: none; transition: background-color 0.2s; }
.topic-link > .icon { color: var(--muted); transition: transform 0.25s var(--ease), color 0.2s; }
.topic-link:hover { border-color: var(--accent-ink); background: var(--white); transform: translateX(4px); }
.topic-link:hover .topic-link__icon { background: var(--accent); }
.topic-link:hover > .icon { color: var(--accent-ink); transform: translateX(3px); }
.member-fields { margin-bottom: 26px; }
.member-actions { display: grid; gap: 10px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--white); padding: clamp(64px, 8vw, 96px) 0 32px; position: relative; overflow: hidden; }
.footer-cta {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  padding-bottom: clamp(40px, 6vw, 64px); margin-bottom: clamp(40px, 6vw, 64px); border-bottom: 1px solid var(--line-dark);
}
.footer-cta h2 { font-size: clamp(32px, 5vw, 64px); font-weight: 900; font-stretch: 82%; text-transform: uppercase; max-width: 760px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-brand img { width: 120px; margin-bottom: 18px; }
.footer-brand p { color: var(--muted-dark); font-size: 15px; max-width: 320px; }
.footer-col h3 { font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: rgba(255, 255, 255, 0.85); font-size: 15px; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent-ink); }
.legal-list { font-size: 14px; color: var(--muted-dark); display: grid; gap: 6px; }
.legal-list strong { color: var(--white); font-weight: 600; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-dark); color: var(--white); transition: background-color 0.2s, border-color 0.2s;
}
.socials a:hover { background: var(--accent); border-color: var(--accent); }
.socials a[hidden] { display: none; }
.footer-bottom {
  margin-top: clamp(48px, 6vw, 72px); padding-top: 24px; border-top: 1px solid var(--line-dark);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; color: var(--muted-dark);
}
.footer-bottom a:hover { color: var(--white); }
.footer-word {
  font-family: var(--font-display); font-weight: 900; font-stretch: 75%; text-transform: uppercase;
  font-size: clamp(72px, 19vw, 280px); line-height: 0.8; letter-spacing: -0.04em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.12);
  margin-top: clamp(32px, 5vw, 56px); text-align: center; user-select: none;
}

/* ---------- Generic cards / features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.section--dark .feature, .section--ink .feature { background: var(--ink-2); border-color: var(--line-dark); }
.section--dark .feature p, .section--ink .feature p { color: var(--muted-dark); }
.feature .pillar__icon { margin-bottom: 18px; }
.feature h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.prose p { color: var(--muted); font-size: 18px; }
.section--dark .prose p { color: var(--muted-dark); }
.prose h2 { margin-bottom: 24px; }


/* Timeline */
.timeline { list-style: none; position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--line-dark); }
.timeline li { position: relative; padding: 0 0 36px 52px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 4px; top: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--black); border: 3px solid var(--accent-ink);
}
.timeline time { font-family: var(--font-display); font-weight: 900; font-size: 28px; color: var(--accent-ink); line-height: 1; display: block; margin-bottom: 8px; }
.timeline h3 { font-size: 21px; font-weight: 800; margin-bottom: 6px; }
.timeline p { color: var(--muted-dark); font-size: 16px; }

/* Tricks */
.tricks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trick { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.trick__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.trick h3 { font-size: 20px; font-weight: 800; }
.level { display: inline-flex; gap: 4px; }
.level i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.level i.on { background: var(--accent); }
.trick p { color: var(--muted); font-size: 15px; }
.trick small { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* Upcoming list */
.upcoming { display: grid; gap: 16px; }
.up-card {
  display: grid; grid-template-columns: 120px 1fr auto; gap: clamp(16px, 3vw, 32px); align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(18px, 3vw, 28px);
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.up-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.up-card__date {
  aspect-ratio: 1; border-radius: var(--radius); background: var(--black); color: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; text-align: center;
}
.up-card:first-child .up-card__date { background: var(--accent); }
.up-card__date strong { font-family: var(--font-display); font-weight: 900; font-size: 44px; }
.up-card__date span { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 6px; opacity: 0.85; }
.up-card__date em { font-style: normal; font-size: 12px; opacity: 0.6; margin-top: 4px; }
.up-card__type { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 6px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.up-card h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 900; font-stretch: 90%; margin-bottom: 10px; }
.up-card p { color: var(--muted); font-size: 15px; margin-top: 10px; max-width: 640px; }
.countdown { font-size: 12px; font-weight: 700; background: var(--accent-soft); color: var(--accent-ink); padding: 3px 10px; border-radius: 999px; letter-spacing: 0.04em; }
.empty-state { text-align: center; padding: 48px 24px; border: 2px dashed var(--line); border-radius: var(--radius-lg); color: var(--muted); }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter-btn {
  min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white);
  font-size: 14px; font-weight: 600; transition: all 0.2s;
}
.filter-btn:hover { border-color: var(--black); }
.filter-btn[aria-pressed="true"] { background: var(--black); border-color: var(--black); color: var(--white); }
.gallery { columns: 3 280px; column-gap: 16px; }
.gallery-item {
  display: block; width: 100%; margin: 0 0 16px; break-inside: avoid; border-radius: var(--radius); overflow: hidden;
  position: relative; background: var(--ink);
}
.gallery-item img, .gallery-item .ph { width: 100%; transition: transform 0.6s var(--ease); }
.gallery-item .ph { aspect-ratio: var(--ar, 4 / 3); }
.gallery-item:hover img, .gallery-item:hover .ph { transform: scale(1.04); }
.gallery-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; color: var(--white); font-size: 14px; text-align: left;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75)); opacity: 0; transform: translateY(8px); transition: all 0.3s var(--ease);
}
.gallery-item:hover figcaption, .gallery-item:focus-visible figcaption { opacity: 1; transform: none; }
.lightbox { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; padding: 0; border: 0; background: rgba(8, 8, 9, 0.96); color: var(--white); }
.lightbox::backdrop { background: rgba(8, 8, 9, 0.96); }
.lightbox__inner { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px 16px 24px; }
.lightbox__stage { width: min(1100px, 100%); flex: 1; min-height: 0; display: grid; place-items: center; }
.lightbox__stage img { max-height: 100%; max-width: 100%; object-fit: contain; border-radius: 12px; }
.lightbox__stage .ph { width: min(900px, 100%); aspect-ratio: 4 / 3; height: auto; border-radius: 12px; max-height: 100%; }
.lightbox__caption { margin-top: 16px; text-align: center; color: rgba(255, 255, 255, 0.8); font-size: 15px; }
.lightbox .modal__close { background: rgba(255, 255, 255, 0.1); }

/* Partners */
.partner-tier { margin-bottom: 40px; }
.partner-tier h3 { font-size: 13px; font-family: var(--font-body); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.partner-tier h3::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.logo-grid--principal { grid-template-columns: 1fr; }
.logo-grid--oficial { grid-template-columns: repeat(2, 1fr); }
.logo-tile {
  display: grid; place-items: center; min-height: 120px; padding: 24px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); transition: border-color 0.2s, box-shadow 0.3s;
}
.logo-grid--principal .logo-tile { min-height: 180px; }
.logo-tile img { max-height: 72px; width: auto; filter: grayscale(1); opacity: 0.8; transition: filter 0.3s, opacity 0.3s; }
.logo-tile:hover img { filter: none; opacity: 1; }
a.logo-tile:hover { border-color: var(--black); box-shadow: var(--shadow); }
.logo-tile--empty { border: 2px dashed var(--line); background: transparent; color: var(--muted); font-weight: 600; font-size: 15px; text-align: center; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.tier { display: flex; flex-direction: column; border-radius: var(--radius-lg); padding: 32px; background: var(--ink-2); border: 1px solid var(--line-dark); }
.tier--featured { background: var(--accent); border-color: var(--accent); }
.tier small { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.75; }
.tier h3 { font-size: 30px; font-weight: 900; font-stretch: 88%; margin: 8px 0 20px; }
.tier .check-list { font-size: 15px; color: rgba(255, 255, 255, 0.85); margin-bottom: 28px; }
.tier--featured .check-list .icon { color: var(--white); }
.tier .btn { margin-top: auto; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 24px; font-family: var(--font-display); font-weight: 800; font-size: 19px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); font-size: 22px; transition: transform 0.3s var(--ease), background-color 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent); color: var(--white); }
.faq details > div { padding: 0 24px 22px; color: var(--muted); }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 300; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--black); color: var(--white); padding: 12px 20px; border-radius: 999px; font-size: 15px; font-weight: 500;
  box-shadow: var(--shadow-lg); transition: all 0.3s var(--ease); display: flex; align-items: center; gap: 10px;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast .icon { color: #4ade80; }

/* Prose page (privacy) */
.legal-prose { max-width: 780px; }
.legal-prose h2 { font-size: 26px; font-weight: 800; margin: 40px 0 12px; }
.legal-prose p, .legal-prose li { color: var(--muted); }
.legal-prose ul { padding-left: 20px; display: grid; gap: 6px; margin-bottom: 1em; }
.legal-prose a { color: var(--accent-ink); text-decoration: underline; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .step:nth-child(2)::before { display: none; }
  .tricks { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .tiers { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hero-grid, .about-grid, .contact-grid, .support-grid, .split { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .up-card { grid-template-columns: 96px 1fr; }
  .up-card__action { grid-column: 1 / -1; }
  .up-card__date strong { font-size: 34px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .cards-grid, .tricks, .feature-grid, .pillars, .form-grid, .footer-grid, .logo-grid--oficial { grid-template-columns: 1fr; }
  .pillar:nth-child(even) { margin: 0; }
  .steps { grid-template-columns: 1fr; }
  .step::before { display: none; }
  .btn-row .btn { flex: 1 1 100%; }
  .modal { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
  .modal__scroll { max-height: 100dvh; }
  .copy-field { flex-wrap: wrap; }
  .footer-cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Additions ---------- */
@media (max-width: 1180px) {
  .brand { position: relative; z-index: 2; }
}
.brand-text strong, .brand-text span, .nav-link { white-space: nowrap; }
.facts { grid-template-columns: repeat(2, 1fr); }
.facts .stat strong { font-size: clamp(36px, 4.4vw, 56px); }
.info-box { margin-top: 28px; padding: 22px 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); display: grid; gap: 12px; }
.info-box p { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--muted); margin: 0; }
.info-box .icon { color: var(--accent-ink); margin-top: 0.25em; }
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { max-width: 720px; }
.cta-band p { margin-top: 14px; max-width: 620px; opacity: 0.9; }
[hidden] { display: none !important; }
.section--dark .step p { color: var(--muted-dark); }
.hero-badge b { white-space: nowrap; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero-court {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 72% 45%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 70% at 72% 45%, #000 10%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: clamp(24px, 4vw, 56px); }
.hero-title {
  font-weight: 900; font-stretch: 80%; text-transform: uppercase;
  font-size: clamp(32px, 4.9vw, 68px); line-height: 1; letter-spacing: -0.02em;
}
.hero-title__line { display: block; white-space: nowrap; }
.hero-box {
  display: inline-block; background: var(--accent); color: var(--white); padding: 0 0.14em; margin: 0.04em 0 0.04em 0.1em;
  border-radius: 8px; transform: rotate(-2.5deg); box-shadow: 5px 5px 0 var(--ro-yellow);
}
.hero-strike { position: relative; display: inline-block; margin-left: 0.1em; color: rgba(255, 255, 255, 0.5); }
.hero-strike::after {
  content: ""; position: absolute; left: -2%; right: -2%; top: 50%; height: 0.12em; border-radius: 6px;
  background: var(--accent); transform: rotate(-5deg) scaleX(0); transform-origin: left center;
  animation: strike 0.7s 0.9s var(--ease) forwards;
}
@keyframes strike { to { transform: rotate(-5deg) scaleX(1); } }
.hero .lead { max-width: 520px; margin: 24px 0 30px; font-size: clamp(16px, 1.35vw, 18px); line-height: 1.7; color: rgba(255, 255, 255, 0.78); }
.hero .lead strong { color: var(--white); }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; font-size: 14px; color: rgba(255, 255, 255, 0.72); }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .icon { color: var(--accent-ink); }
.hero .next-event { margin-top: 28px; }

.hero-stage { position: relative; width: 100%; max-width: 540px; aspect-ratio: 1 / 1.05; justify-self: center; }
.hero-stage__disc {
  position: absolute; left: 17%; top: 14%; width: 66%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #c8344d, var(--accent) 46%, #3d0610 100%);
  box-shadow: inset -24px -34px 70px rgba(0, 0, 0, 0.38), 0 40px 140px rgba(var(--accent-rgb), 0.45);
  animation: disc-pulse 6s ease-in-out infinite;
}
.hero-stage__disc::after {
  content: ""; position: absolute; left: 16%; top: 10%; width: 26%; height: 14%; border-radius: 50%;
  background: rgba(255, 255, 255, 0.28); filter: blur(6px); transform: rotate(-28deg);
}
@keyframes disc-pulse { 50% { transform: scale(1.03); } }
.hero-stage__ring {
  position: absolute; left: 3%; top: 1%; width: 94%; aspect-ratio: 1; border-radius: 50%;
  border: 1.5px dashed rgba(255, 255, 255, 0.16); animation: spin 90s linear infinite;
}
.hero-stage__ring::after {
  content: ""; position: absolute; top: 9%; left: 13%; width: 18px; height: 18px; border-radius: 50%;
  background: var(--white); box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.12), 0 0 30px rgba(255, 255, 255, 0.6);
}
.hero-logo {
  position: absolute; left: 10%; top: 47.5%; width: 80%; height: auto; transform: translateY(-52%);
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.55));
  animation: logo-float 6s ease-in-out infinite;
}
@keyframes logo-float { 0%, 100% { transform: translateY(-52%); } 50% { transform: translateY(calc(-52% - 14px)); } }

.trick-chip {
  position: absolute; left: var(--x); top: var(--y); z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  background: var(--white); color: var(--black); white-space: nowrap;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(12px, 1vw, 14px); letter-spacing: 0.02em;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  animation: chip-float 6s ease-in-out infinite; animation-delay: var(--f, 0s);
}
.trick-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.trick-chip--accent { background: var(--accent); color: var(--white); }
.trick-chip--accent::before { background: var(--white); }
.trick-chip--dark { background: var(--ink-3); color: var(--white); border: 1px solid var(--line-dark); }
@keyframes chip-float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(2deg); } }

/* Crossed bands */
.marquee { overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee__item {
  display: flex; align-items: center; gap: 24px; padding: 14px 12px;
  font-family: var(--font-display); font-weight: 900; font-stretch: 80%; font-size: clamp(18px, 2.3vw, 26px);
  text-transform: uppercase; letter-spacing: 0.01em; white-space: nowrap;
}
.marquee__item::after { content: "●"; font-size: 0.5em; opacity: 0.85; }
@keyframes marquee { to { transform: translateX(-50%); } }
.hero-bands { position: relative; height: clamp(130px, 14vw, 180px); margin-top: clamp(32px, 5vw, 64px); }
.hero-bands .marquee { position: absolute; left: -3%; right: -3%; }
.marquee--accent { top: 14%; z-index: 2; background: var(--accent); color: var(--white); transform: rotate(-3deg); border-block: 3px solid var(--black); }
.marquee--yellow { top: 34%; z-index: 1; background: var(--ro-yellow); color: var(--black); transform: rotate(2.5deg); }
.marquee--yellow .marquee__track { animation-direction: reverse; animation-duration: 42s; }
.marquee--yellow .marquee__item::after { color: var(--accent-ink); opacity: 1; }

/* ==========================================================================
   Ce urmărim - bento
   ========================================================================== */
.goals-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(270px, auto); gap: 16px; }
.goal-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  padding: clamp(24px, 2.4vw, 32px); border-radius: var(--radius-lg);
  background: var(--ink-2); border: 1px solid var(--line-dark);
  transition: transform 0.4s var(--ease), border-color 0.3s;
}
.goal-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--accent-rgb), 0.25), transparent 60%);
}
.goal-card:hover { transform: translateY(-6px); border-color: rgba(var(--accent-rgb), 0.6); }
.goal-card:hover::before { opacity: 1; }
.goal-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.goal-card__num {
  font-family: var(--font-display); font-weight: 900; font-stretch: 80%; font-size: 56px; line-height: 0.8;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.45); transition: color 0.3s, -webkit-text-stroke-color 0.3s;
}
.goal-card:hover .goal-card__num { color: var(--accent-ink); -webkit-text-stroke-color: var(--accent-ink); }
.goal-card__icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.07); color: var(--white); transition: background-color 0.3s, transform 0.4s var(--ease);
}
.goal-card__icon .icon { width: 22px; height: 22px; }
.goal-card:hover .goal-card__icon { background: var(--accent); transform: rotate(-8deg) scale(1.08); }
.goal-card h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 900; font-stretch: 88%; text-transform: uppercase; letter-spacing: -0.01em; margin-bottom: 10px; }
.goal-card p { color: var(--muted-dark); font-size: 15px; line-height: 1.55; }
.goal-card__chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.goal-card__chips li { font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-dark); color: rgba(255, 255, 255, 0.82); }

.goal-card--main { grid-column: span 2; grid-row: span 2; background: var(--accent); border-color: var(--accent); }
.goal-card--main::before { background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.2), transparent 60%); }
.goal-card--main:hover { border-color: var(--accent-light); }
.goal-card--main .goal-card__num { font-size: clamp(96px, 11vw, 160px); -webkit-text-stroke: 2px rgba(255, 255, 255, 0.75); }
.goal-card--main:hover .goal-card__num { color: var(--white); -webkit-text-stroke-color: var(--white); }
.goal-card--main h3 { font-size: clamp(36px, 4.6vw, 66px); line-height: 0.95; margin-bottom: 18px; }
.goal-card--main p { color: rgba(255, 255, 255, 0.9); font-size: 17px; max-width: 440px; }
.goal-card__tag { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; background: rgba(0, 0, 0, 0.25); padding: 7px 13px; border-radius: 999px; }
.goal-card__watermark {
  position: absolute; right: -6%; top: 50%; transform: translateY(-50%); z-index: -1; pointer-events: none;
  font-family: var(--font-display); font-weight: 900; font-stretch: 75%; font-size: clamp(180px, 22vw, 320px); line-height: 0.8;
  color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, 0.16);
}

.goal-card--light { background: var(--white); color: var(--black); border-color: var(--white); }
.goal-card--light p { color: var(--muted); }
.goal-card--light .goal-card__num { -webkit-text-stroke-color: rgba(0, 0, 0, 0.3); }
.goal-card--light .goal-card__icon { background: var(--paper); color: var(--black); }
.goal-card--light:hover .goal-card__icon { color: var(--white); }
.goal-card--light .goal-card__chips li { border-color: var(--line); color: var(--text); }
.goal-card--light::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--accent-rgb), 0.12), transparent 60%); }

/* ==========================================================================
   Drumul unui jucător - levels + stairs
   ========================================================================== */
.journey-section { overflow: hidden; }
.journey { --g: 16px; }
.journey__levels { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--g); }
.lvl {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  padding: 30px 24px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.lvl:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.lvl::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: var(--tricolor) 0 0 / 0% 100% no-repeat, var(--paper-2);
  transition: background-size 1s var(--ease);
}
.lvl:nth-child(1) { --xp: 25%; --xd: 0.2s; }
.lvl:nth-child(2) { --xp: 50%; --xd: 0.4s; }
.lvl:nth-child(3) { --xp: 75%; --xd: 0.6s; }
.lvl:nth-child(4) { --xp: 100%; --xd: 0.8s; }
.journey.is-in .lvl::before { background-size: var(--xp) 100%, auto; transition-delay: var(--xd); }
.lvl__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 22px; }
.lvl__badge {
  font-family: var(--font-display); font-weight: 900; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--black); color: var(--white); padding: 6px 12px; border-radius: 8px; white-space: nowrap;
}
.lvl__rank { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); text-align: right; }
.lvl h3 { font-size: 30px; font-weight: 900; font-stretch: 85%; text-transform: uppercase; margin-bottom: 10px; }
.lvl p { color: var(--muted); font-size: 15px; line-height: 1.55; margin-bottom: 20px; }
.lvl__unlock { margin-top: auto; padding: 14px 16px; border-radius: 14px; background: var(--paper); border: 1.5px dashed var(--line); }
.lvl__unlock small { display: flex; gap: 6px; align-items: center; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 4px; }
.lvl__unlock strong { font-family: var(--font-display); font-size: 16px; font-weight: 800; line-height: 1.3; display: block; }
.lvl--final { background: var(--black); color: var(--white); border-color: var(--black); }
.lvl--final::before { background-color: rgba(255, 255, 255, 0.12); }
.lvl--final p { color: var(--muted-dark); }
.lvl--final .lvl__badge { background: var(--accent); }
.lvl--final .lvl__rank { color: var(--accent-ink); }
.lvl--final .lvl__unlock { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.22); }

.stairs {
  --c0: calc((100% - 3 * var(--g)) * 0.125);
  --c1: calc((100% - 3 * var(--g)) * 0.375 + var(--g));
  --c2: calc((100% - 3 * var(--g)) * 0.625 + var(--g) * 2);
  --c3: calc((100% - 3 * var(--g)) * 0.875 + var(--g) * 3);
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--g); align-items: end;
  height: 300px; margin-top: 24px;
}
.stair {
  position: relative; height: calc(var(--h) * 1px); border-radius: 18px 18px 0 0; background: var(--ink); color: var(--white);
  display: flex; align-items: flex-end; justify-content: space-between; padding: 0 20px 12px;
  transform-origin: bottom; transform: scaleY(0); transition: transform 0.8s var(--ease);
}
.stair:nth-child(2) { transition-delay: 0.15s; }
.stair:nth-child(3) { transition-delay: 0.3s; }
.stair:nth-child(4) { transition-delay: 0.45s; }
.journey.is-in .stair { transform: scaleY(1); }
.stair b { font-family: var(--font-display); font-weight: 900; font-stretch: 80%; font-size: 32px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.55); }
.stair--final { background: var(--accent); }
.stair--final b { -webkit-text-stroke-color: var(--white); }
.stair .icon { width: 26px; height: 26px; margin-bottom: 4px; fill: var(--white); }
.stairs__tama {
  position: absolute; left: var(--c0); bottom: 56px; width: 34px; height: 34px; margin-left: -17px; border-radius: 50%; opacity: 0;
  background:
    linear-gradient(165deg, transparent 43%, rgba(255, 255, 255, 0.92) 43% 57%, transparent 57%),
    radial-gradient(circle at 35% 30%, #f0505f, var(--ro-red) 50%, #6e0612);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.25);
}
.journey.is-in .stairs__tama { animation: hop 6s 1.2s infinite; }
@keyframes hop {
  0% { left: var(--c0); bottom: 56px; opacity: 0; }
  4% { left: var(--c0); bottom: 56px; opacity: 1; animation-timing-function: ease-out; }
  12% { left: calc((var(--c0) + var(--c1)) / 2); bottom: 170px; animation-timing-function: ease-in; }
  20% { left: var(--c1); bottom: 104px; }
  26% { left: var(--c1); bottom: 104px; animation-timing-function: ease-out; }
  34% { left: calc((var(--c1) + var(--c2)) / 2); bottom: 218px; animation-timing-function: ease-in; }
  42% { left: var(--c2); bottom: 152px; }
  48% { left: var(--c2); bottom: 152px; animation-timing-function: ease-out; }
  56% { left: calc((var(--c2) + var(--c3)) / 2); bottom: 266px; animation-timing-function: ease-in; }
  64% { left: var(--c3); bottom: 200px; }
  70% { left: var(--c3); bottom: 200px; animation-timing-function: ease-out; }
  75% { left: var(--c3); bottom: 240px; animation-timing-function: ease-in; }
  80% { left: var(--c3); bottom: 200px; }
  92% { left: var(--c3); bottom: 200px; opacity: 1; }
  100% { left: var(--c3); bottom: 200px; opacity: 0; }
}

/* ---------- Responsive (redesigned sections) ---------- */
@media (max-width: 1080px) {
  .goals-bento { grid-template-columns: repeat(2, 1fr); }
  .goal-card--main { grid-row: span 1; }
  .journey__levels { grid-template-columns: repeat(2, 1fr); }
  .stairs { display: none; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stage { max-width: 440px; margin-top: 8px; }
  .marquee--yellow { top: 40%; }
}
@media (max-width: 640px) {
  .goals-bento, .journey__levels { grid-template-columns: 1fr; }
  .goal-card--main { grid-column: span 1; }
  .goals-bento { grid-auto-rows: auto; }
  .hero-stage { max-width: 360px; }
  .trick-chip { padding: 7px 12px; }
  .hero-box { box-shadow: 4px 4px 0 var(--ro-yellow); }
  .hero-trust { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-strike::after { transform: rotate(-5deg) scaleX(1); }
  .stair { transform: none; }
  .stairs__tama { opacity: 1; left: var(--c3); bottom: 200px; }
}
#obiective .section-head--split > div { max-width: 620px; }
#obiective .section-head--split { align-items: flex-end; }
#drum .section-head { max-width: none; }
.journey-lead { font-size: clamp(15px, 1.25vw, 17px); }
@media (min-width: 760px) { .journey-lead { white-space: nowrap; } }
h1, h2, h3, blockquote { text-wrap: balance; }

/* ==========================================================================
   De ce kendama?
   ========================================================================== */
.why-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.why-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.why-intro .lead { margin-top: 20px; }

.versus { margin-top: 32px; border-radius: var(--radius-lg); background: var(--black); color: var(--white); overflow: hidden; box-shadow: var(--shadow-lg); }
.versus__row {
  display: grid; grid-template-columns: 0.9fr 1.1fr 1.1fr; gap: 12px; align-items: center;
  padding: 14px 22px; border-top: 1px solid var(--line-dark); font-size: 14px; line-height: 1.4;
}
.versus__row > span:first-child { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-dark); }
.versus__head { border-top: 0; background: var(--ink-2); padding-top: 16px; padding-bottom: 16px; }
.versus__head span { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 900; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
.versus__bad { color: rgba(255, 255, 255, 0.5); }
.versus__good { color: var(--white); font-weight: 600; }
.versus__head .versus__good { color: var(--accent-ink); }
.versus__head .versus__bad .icon { color: rgba(255, 255, 255, 0.4); }
.versus__row:not(.versus__head):hover { background: rgba(255, 255, 255, 0.03); }

.why-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-card {
  padding: 26px 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.3s;
}
.why-card:hover { transform: translateY(-5px); background: var(--white); box-shadow: var(--shadow-lg); }
.why-card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.why-card__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--black); color: var(--white); transition: background-color 0.3s, transform 0.4s var(--ease); }
.why-card:nth-child(4n + 1) .why-card__icon, .why-card:nth-child(4n + 4) .why-card__icon { background: var(--accent); }
.why-card__icon .icon { width: 24px; height: 24px; }
.why-card:hover .why-card__icon { transform: rotate(-8deg) scale(1.06); }
.why-card__num { font-family: var(--font-display); font-weight: 900; font-size: 15px; color: var(--muted); opacity: 0.6; }
.why-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.why-card p { font-size: 15px; line-height: 1.6; color: var(--muted); }

.why-school {
  margin-top: clamp(48px, 6vw, 80px); padding: clamp(28px, 4vw, 52px); border-radius: var(--radius-lg);
  background: var(--accent); color: var(--white);
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  position: relative; overflow: hidden; isolation: isolate;
}
.why-school::after {
  content: ""; position: absolute; z-index: -1; right: -8%; top: -40%; width: 46%; aspect-ratio: 1; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.18);
}
.why-school .eyebrow { color: var(--white); }
.why-school h3 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 900; font-stretch: 85%; text-transform: uppercase; line-height: 1; }
.why-school__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.why-school__list li { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--radius); background: rgba(0, 0, 0, 0.16); }
.why-school__list .icon { width: 22px; height: 22px; margin-top: 2px; flex: none; }
.why-school__list strong { display: block; font-family: var(--font-display); font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.why-school__list span { display: block; font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, 0.88); }

@media (max-width: 900px) {
  .why-grid, .why-school { grid-template-columns: 1fr; }
  .why-intro { position: static; }
}
@media (max-width: 640px) {
  .why-cards, .why-school__list { grid-template-columns: 1fr; }
  .versus__row { grid-template-columns: 0.8fr 1fr 1fr; gap: 10px; padding: 12px 14px; font-size: 13px; }
  .versus__row > span:first-child { font-size: 10px; letter-spacing: 0.08em; }
  .versus__head span { font-size: 12px; gap: 5px; }
}

/* ==========================================================================
   Documente printabile (acord concurs, tabel, formular 230)
   ========================================================================== */
.doc-section { padding-top: clamp(32px, 5vw, 56px); }
.doc-sheet {
  max-width: 820px; margin: 0 auto; background: #fff; color: #111; border-radius: 6px;
  padding: clamp(20px, 4vw, 48px); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06), 0 30px 80px rgba(0, 0, 0, 0.12);
  font-size: 14px; line-height: 1.5;
}
.doc-sheet--landscape { max-width: 1120px; }
.doc-head { display: flex; align-items: center; gap: 14px; padding-bottom: 12px; border-bottom: 2px solid #111; }
.doc-head img { width: 54px; height: auto; flex: none; }
.doc-head strong { display: block; font-family: var(--font-display); font-weight: 900; font-size: 15px; letter-spacing: 0.02em; }
.doc-head span { display: block; font-size: 11.5px; color: #555; }
.doc-page { margin-left: auto; font-size: 12px; white-space: nowrap; }
.doc-title { font-family: var(--font-display); font-weight: 900; font-stretch: 90%; font-size: clamp(18px, 2.4vw, 22px); text-transform: uppercase; text-align: center; letter-spacing: 0.01em; line-height: 1.2; margin: 18px 0 8px; }
.doc-block { margin-top: 18px; break-inside: avoid; }
.doc-block h3 { font-family: var(--font-display); font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; padding: 5px 8px; background: #f1efea; border-left: 4px solid var(--accent-ink); margin-bottom: 8px; }
.doc-block h3 small { text-transform: none; font-weight: 600; letter-spacing: 0; color: #555; }
.doc-block--highlight { padding: 10px 12px 12px; border: 1.5px solid #111; border-radius: 4px; }
.doc-block--highlight h3 { background: none; border-left: 0; padding: 0 0 4px; }
.doc-grid { display: grid; gap: 4px 22px; }
.doc-grid--2 { grid-template-columns: 1fr 1fr; }
.doc-grid--4 { grid-template-columns: 2fr 1fr 1.4fr 1.4fr; margin-top: 8px; }
.doc-line { position: relative; display: flex; align-items: flex-end; gap: 10px; min-height: 34px; border-bottom: 1px solid #777; padding-bottom: 3px; }
.doc-line > span { font-size: 11.5px; color: #444; white-space: nowrap; }
.doc-line--wide { grid-column: 1 / -1; }
.doc-line--blank { min-height: 28px; }
.doc-choice { font-style: normal; font-size: 12px; display: inline-flex; align-items: center; gap: 4px; }
.doc-text { margin: 0 0 6px; }
.doc-small { font-size: 11.5px; color: #444; line-height: 1.5; margin: 6px 0 0; }
.doc-checks { list-style: none; display: grid; gap: 7px; }
.doc-checks li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; align-items: start; }
.box { display: inline-block; width: 13px; height: 13px; border: 1.5px solid #111; border-radius: 2px; flex: none; margin-top: 3px; vertical-align: -2px; position: relative; }
.box--checked::after { content: ""; position: absolute; left: 3px; top: -1px; width: 4px; height: 8px; border: solid #111; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.doc-sign { display: grid; grid-template-columns: 0.6fr 1fr 1fr; gap: 22px; margin-top: 26px; }
.doc-sign .doc-line { min-height: 48px; }
.doc-foot { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 22px; padding-top: 8px; border-top: 1px dashed #999; font-size: 11px; color: #555; }
.doc-disclaimer { max-width: 820px; margin: 18px auto 0; font-size: 14px; color: var(--muted); text-align: center; }
.doc-disclaimer a { color: var(--accent-ink); text-decoration: underline; }
.section--tight .doc-disclaimer { margin-top: 28px; }

.doc-table-wrap { overflow-x: auto; margin-top: 14px; }
.doc-table { width: 100%; min-width: 900px; border-collapse: collapse; font-size: 11.5px; }
.doc-table th, .doc-table td { border: 1px solid #333; padding: 4px 6px; text-align: left; vertical-align: middle; }
.doc-table th { background: #f1efea; font-weight: 700; font-size: 10.5px; line-height: 1.25; }
.doc-table td { height: 30px; }
.doc-table .num { width: 32px; text-align: center; }
.doc-table .choice { white-space: nowrap; font-size: 10px; }
.doc-table .choice .box { width: 11px; height: 11px; margin: 0 2px 0 4px; vertical-align: -1px; }

/* Formular 230 */
.doc-sheet--f230 { font-size: 13px; }
.f230-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding-bottom: 12px; border-bottom: 2px solid #111; }
.f230-head strong { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 8px; border: 1.5px solid #111; margin-bottom: 8px; }
.f230-head h2 { font-family: var(--font-body); font-size: clamp(15px, 2vw, 18px); font-weight: 700; letter-spacing: 0; line-height: 1.3; text-transform: uppercase; max-width: 520px; }
.f230-year { display: flex; align-items: center; gap: 8px; font-weight: 700; flex: none; }
.f230-cells { display: inline-block; height: 26px; width: calc(var(--n) * 20px); background: repeating-linear-gradient(90deg, #111 0 1.5px, transparent 1.5px 20px); border: 1.5px solid #111; border-left: 0; font-style: normal; }
.f230-sec { margin-top: 16px; border: 1.5px solid #111; padding: 10px 12px 12px; break-inside: avoid; }
.f230-sec h3 { font-family: var(--font-body); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 6px; }
.f230-sec h3 small { text-transform: none; font-weight: 400; color: #555; }
.f230-row { display: flex; gap: 10px; flex-wrap: wrap; }
.f230-field { display: flex; flex-direction: column; justify-content: space-between; gap: 4px; min-height: 42px; padding: 4px 0 3px; border-bottom: 1px solid #777; min-width: 70px; }
.f230-field > span { font-size: 10.5px; color: #444; }
.f230-field--grow { flex: 1 1 160px; }
.f230-field b { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 14px; letter-spacing: 0.04em; }
.f230-field--filled { background: #fbf0f2; padding-left: 6px; padding-right: 6px; border-bottom-color: var(--accent-ink); }
.f230-field .f230-cells { margin-top: 4px; }
.f230-opt { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0; }
.f230-sign { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 22px; }
.f230-sign .f230-field { min-height: 56px; }
.f230-anaf { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 18px; padding: 8px 10px; border: 1px dashed #777; font-size: 11px; color: #444; }
.f230-note { margin: 12px 0 0; font-size: 11px; color: #444; }

@media (max-width: 640px) {
  .doc-grid--2, .doc-grid--4, .doc-sign, .f230-sign { grid-template-columns: 1fr; }
  .f230-head { flex-direction: column; }
  .f230-cells { max-width: 100%; }
}

/* ==========================================================================
   Print
   ========================================================================== */
@media print {
  @page { size: A4; margin: 12mm; }
  html, body { background: #fff !important; color: #111 !important; font-size: 11pt; }
  .site-header, .site-footer, .skip-link, .no-print, .toast { display: none !important; }
  .section, .doc-section { padding: 0 !important; background: #fff !important; }
  .container { max-width: none; padding: 0; }
  .doc-sheet { max-width: none; box-shadow: none; border-radius: 0; padding: 0; }
  .doc-table-wrap { overflow: visible; }
  .doc-table { min-width: 0; }
  .f230-field--filled { background: none; }
  .reveal { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  a { color: inherit; text-decoration: none; }
  .doc-block h3, .doc-table th { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.doc-head > div { min-width: 0; }
@media (max-width: 640px) { .doc-head { flex-wrap: wrap; } .doc-page { margin-left: 0; } }

/* Termeni, tabel simplificat, butoane de printare */
.print-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0 auto 24px; max-width: 820px; }
.doc-sheet + .print-bar { margin: 24px auto 0; }
.doc-callout { margin-top: 16px; padding: 12px 14px; border: 2px solid var(--accent-ink); border-radius: 4px; background: #fbf0f2; font-size: 13.5px; line-height: 1.55; }
.doc-callout__title { display: block; font-family: var(--font-display); font-size: 15px; margin-bottom: 2px; }
.doc-list { margin: 0; padding-left: 18px; display: grid; gap: 5px; }
.doc-list li { padding-left: 2px; }
.doc-table { min-width: 0; }
.doc-table--signup td { height: 32px; }
.doc-table--signup th:nth-child(2) { width: 44%; }
.doc-table--signup th:nth-child(3) { width: 18%; }
.doc-table--parents th:first-child { width: 64px; }
.doc-table--parents th:nth-child(2), .doc-table--parents th:nth-child(3) { width: 30%; }
.doc-parents { margin-top: 22px; break-inside: avoid; }
.steps--center .step { text-align: center; }
.steps--center .step__num { left: 50%; transform: translateX(-50%); }
.steps--center .step::before { left: calc(50% + 40px); right: calc(40px - 50% - 20px); }
.steps--center .step p { max-width: 260px; margin-left: auto; margin-right: auto; }
@media print {
  .doc-callout { background: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ==========================================================================
   Evenimente reale: fotografii verticale, video, co-organizatori
   ========================================================================== */
.event-card__media img { object-position: center 35%; }
.video-tag {
  position: absolute; bottom: 14px; right: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px 5px 8px; border-radius: 999px; background: rgba(11, 11, 12, 0.72); color: var(--white);
  font-size: 12px; font-weight: 600; backdrop-filter: blur(6px);
}
.video-tag .icon { width: 12px; height: 12px; fill: currentColor; }
.event-card__coorg { display: flex; align-items: center; gap: 7px; margin: 10px 0 0; font-size: 13.5px; color: var(--muted); }
.event-card__coorg .icon { color: var(--accent-ink); width: 15px; height: 15px; }

.modal__media { aspect-ratio: 4 / 3; max-height: 66vh; width: 100%; overflow: hidden; background: #000; }
.slide__bg { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(28px) brightness(0.55); }
.modal__media .slide__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: transparent; }
.modal__thumb-mp4 { position: relative; display: block; width: 100%; height: 100%; }
.modal__thumb-mp4 img { width: 100%; height: 100%; object-fit: cover; }
.modal__thumb-play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, 0.35); color: var(--white); }
.modal__thumb-play .icon { width: 18px; height: 18px; fill: currentColor; }
.modal__thumbs button { flex: none; width: 64px; aspect-ratio: 3 / 4; }

.logo-grid--principal .logo-tile { min-height: 160px; }
.logo-grid--industrie, .logo-grid--comercial { grid-template-columns: repeat(3, 1fr); }
.logo-grid--asociatii { grid-template-columns: repeat(3, 1fr); }
.logo-tile { position: relative; }
.logo-tile--name { background: var(--white); border: 1px solid var(--line); }
.logo-tile__name { font-family: var(--font-display); font-weight: 900; font-stretch: 88%; font-size: clamp(18px, 2vw, 24px); text-transform: uppercase; letter-spacing: -0.01em; text-align: center; line-height: 1.1; }
.logo-grid--principal .logo-tile__name { font-size: clamp(30px, 4vw, 48px); color: var(--accent-ink); }
.logo-tile__ext { position: absolute; top: 14px; right: 14px; color: var(--muted); width: 16px; height: 16px; transition: color 0.2s; }
a.logo-tile:hover .logo-tile__ext { color: var(--accent-ink); }

@media (max-width: 900px) {
  .logo-grid--industrie, .logo-grid--comercial, .logo-grid--asociatii { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .modal__media { aspect-ratio: 3 / 4; max-height: 62vh; }
  .logo-grid--industrie, .logo-grid--comercial, .logo-grid--asociatii { grid-template-columns: 1fr; }
}

/* Evenimente viitoare: interval de date și eveniment secret */
.up-card__date--range strong { font-size: 30px; letter-spacing: -0.02em; }
.next-event__date--range strong { font-size: 18px; }
.up-card__date--secret, .up-card--secret .up-card__date { background: var(--accent); }
.up-card__date--secret strong { font-size: 56px; }
.next-event__date--secret strong { color: var(--accent-ink); font-size: 30px; }
.up-card--secret { background: var(--black); color: var(--white); border-color: var(--black); }
.up-card--secret p, .up-card--secret .meta-list { color: var(--muted-dark); }
.up-card--secret .countdown { background: rgba(255, 255, 255, 0.1); color: var(--white); }
.up-card__cats { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.up-card__cats li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.up-card__cats .icon { width: 14px; height: 14px; color: var(--accent-ink); }

/* ==========================================================================
   Scrollbars
   Page: thin red thumb on a near-black track, matching the dark sections.
   Inner scroll areas (pop-ups, thumbnails, tables): light and discreet,
   turning red on hover.
   ========================================================================== */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb {
  background: var(--accent); border-radius: 999px;
  border: 3px solid var(--black); background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background-color: #ff2b34; }
::-webkit-scrollbar-thumb:active { background-color: var(--accent-dark); }
::-webkit-scrollbar-corner { background: var(--black); }

.modal__scroll::-webkit-scrollbar,
.modal__thumbs::-webkit-scrollbar,
.doc-table-wrap::-webkit-scrollbar,
.table-wrap::-webkit-scrollbar { width: 10px; height: 8px; }
.modal__scroll::-webkit-scrollbar-track,
.modal__thumbs::-webkit-scrollbar-track,
.doc-table-wrap::-webkit-scrollbar-track,
.table-wrap::-webkit-scrollbar-track { background: transparent; }
.modal__scroll::-webkit-scrollbar-thumb,
.modal__thumbs::-webkit-scrollbar-thumb,
.doc-table-wrap::-webkit-scrollbar-thumb,
.table-wrap::-webkit-scrollbar-thumb { background-color: #cfc9bf; border: 2px solid transparent; border-radius: 999px; background-clip: padding-box; }
.modal__scroll::-webkit-scrollbar-thumb:hover,
.modal__thumbs::-webkit-scrollbar-thumb:hover,
.doc-table-wrap::-webkit-scrollbar-thumb:hover,
.table-wrap::-webkit-scrollbar-thumb:hover { background-color: var(--accent); }
.nav::-webkit-scrollbar-track { background: var(--black); }

/* Firefox has no ::-webkit-scrollbar; use the standard properties there only,
   because Chrome ignores the custom styles above once these are set. */
@supports (-moz-appearance: none) {
  html { scrollbar-color: var(--accent-ink) var(--black); scrollbar-width: thin; }
  .modal__scroll, .modal__thumbs, .doc-table-wrap, .table-wrap { scrollbar-color: #cfc9bf transparent; scrollbar-width: thin; }
}

/* Înscriere la fața locului */
.onsite { display: grid; gap: 6px; max-width: 260px; padding: 14px 16px; border-radius: 14px; background: var(--accent-soft); border: 1.5px solid rgba(var(--accent-rgb), 0.25); }
.onsite__label { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--accent-ink); }
.onsite__text { font-size: 13.5px; line-height: 1.45; color: var(--text); }
.onsite .link-arrow { font-size: 13.5px; }
@media (max-width: 900px) { .onsite { max-width: none; } }

/* Galerie: videoclipuri */
.gallery-item--video img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.gallery-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--white); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s var(--ease), background-color 0.2s;
}
.gallery-play .icon { width: 26px; height: 26px; fill: currentColor; margin-left: 3px; }
.gallery-item--video:hover .gallery-play { transform: translate(-50%, -50%) scale(1.1); background: var(--accent-dark); }
.gallery-video-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px 4px 8px; border-radius: 999px; background: rgba(11, 11, 12, 0.72); color: var(--white); font-size: 12px; font-weight: 600;
}
.gallery-video-tag .icon { width: 11px; height: 11px; fill: currentColor; }
.gallery-item--video figcaption { opacity: 1; transform: none; }
.lightbox__video { max-width: 100%; max-height: 100%; border-radius: 12px; background: #000; }

/* Sigle parteneri: în culori, mai mari, fundal închis pentru siglele albe */
.logo-tile img { max-height: 84px; max-width: 100%; width: auto; height: auto; object-fit: contain; filter: none; opacity: 1; transition: transform 0.3s var(--ease); }
.logo-tile:hover img { transform: scale(1.04); }
.logo-grid--principal .logo-tile img { max-height: 130px; }
.logo-tile--dark { background: var(--black); border-color: var(--black); }
.logo-tile--dark .logo-tile__ext { color: var(--muted-dark); }
.lead-oneline { font-size: clamp(15px, 1.3vw, 18px); }
@media (min-width: 760px) { .lead-oneline { white-space: nowrap; } }

/* Devino membru: doar telefonic */
.steps--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1080px) and (min-width: 641px) { .steps--3 .step:nth-child(2)::before { display: block; } }
@media (max-width: 640px) { .steps--3 { grid-template-columns: 1fr; } }
.call-card { text-align: center; display: grid; justify-items: center; gap: 12px; }
.call-card__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--white); box-shadow: 0 0 0 8px var(--accent-soft); }
.call-card__icon .icon { width: 28px; height: 28px; }
.call-card h3 { margin: 6px 0 0; }
.call-card__number { font-family: var(--font-display); font-weight: 900; font-stretch: 85%; font-size: clamp(36px, 5vw, 52px); letter-spacing: -0.01em; line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.call-card__number:hover { color: var(--accent-ink); }
.call-card > p { color: var(--muted); margin: 0 0 6px; max-width: 32ch; }

/* Galerie: pe telefon, filtrele devin o listă derulantă */
.filter-select-wrap { display: none; }
@media (max-width: 640px) {
  .filters { margin-bottom: 24px; }
  .filters .filter-btn { display: none; }
  .filter-select-wrap { display: block; width: 100%; position: relative; }
  .filter-select-wrap label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
  .filter-select {
    width: 100%; min-height: 52px; padding: 0 48px 0 18px; border-radius: 14px; border: 1.5px solid var(--black);
    background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238f1024' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center / 20px;
    font: 600 16px/1 var(--font-body); color: var(--text); appearance: none; -webkit-appearance: none;
  }
  .filter-select:focus { outline: none; box-shadow: 0 0 0 4px var(--accent-soft); border-color: var(--accent-ink); }
}

/* ==========================================================================
   Devino membru: Coming soon / în construcție
   ========================================================================== */
.soon {
  position: relative; overflow: hidden; isolation: isolate; background: var(--black); color: var(--white);
  min-height: min(100vh, 900px); display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 56px) 0 56px;
}
.soon::before {
  content: ""; position: absolute; z-index: -1; width: min(80vw, 760px); aspect-ratio: 1; left: 50%; top: 50%;
  transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(var(--accent-rgb), 0.32), transparent 65%);
}
.soon__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.soon__inner .breadcrumb { justify-content: center; }
.soon__badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-dark);
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85);
}
.soon__badge .icon { color: var(--accent-ink); }
.soon__title {
  margin-top: 22px; font-weight: 900; font-stretch: 80%; text-transform: uppercase; letter-spacing: -0.03em; line-height: 0.95;
  font-size: clamp(52px, 10vw, 128px);
}
.soon__lead { max-width: 560px; margin: 22px auto 0; color: rgba(255, 255, 255, 0.75); }
.soon__progress {
  width: min(420px, 100%); height: 10px; margin-top: 34px; border-radius: 999px; overflow: hidden;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 10px, transparent 10px 20px), rgba(255, 255, 255, 0.06);
}
.soon__bar { display: block; height: 100%; width: 38%; border-radius: inherit; background: var(--tricolor); animation: soon-load 2.4s var(--ease) infinite; }
@keyframes soon-load { 0% { transform: translateX(-110%); } 100% { transform: translateX(290%); } }
.soon__actions { justify-content: center; margin-top: 34px; }
.soon__note { margin-top: 20px; font-size: 14px; color: var(--muted-dark); max-width: 460px; }

.soon__tape { position: absolute; left: -4%; right: -4%; z-index: 1; overflow: hidden; border-block: 3px solid var(--black);
  background: repeating-linear-gradient(135deg, var(--ro-yellow) 0 22px, var(--black) 22px 44px); }
.soon__tape--top { top: calc(var(--header-h) + 8px); transform: rotate(-2.5deg); }
.soon__tape--bottom { bottom: 22px; transform: rotate(2deg); }
.soon__tape-track { display: flex; gap: 28px; width: max-content; padding: 8px 0; animation: marquee 30s linear infinite; }
.soon__tape--bottom .soon__tape-track { animation-direction: reverse; }
.soon__tape-track span {
  padding: 4px 14px; border-radius: 4px; background: var(--black); color: var(--white);
  font-family: var(--font-display); font-weight: 900; font-stretch: 85%; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
}
@media (max-width: 640px) {
  .soon { padding-top: calc(var(--header-h) + 72px); padding-bottom: 80px; }
  .soon__actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .soon__bar { animation: none; width: 60%; } }

@media (max-width: 640px) { .btn { white-space: normal; text-align: center; line-height: 1.25; padding-block: 10px; } }

/* ---------- Mobile hardening ---------- */
.split > *, .hero-grid > *, .about-grid > *, .contact-grid > *, .support-grid > * { min-width: 0; }
.stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .stat strong { font-size: clamp(34px, 11vw, 44px); } }
@media (max-width: 400px) {
  .feature-grid--2 { grid-template-columns: 1fr; }
  .stat { padding: 20px 16px; }
}

/* Touch screens have no real hover: a tap would leave cards lifted or zoomed. */
@media (hover: none) {
  .btn:hover, .pillar:hover, .event-card:hover, .feature:hover, .up-card:hover, .goal-card:hover, .lvl:hover,
  .why-card:hover, .topic-link:hover, .modal__close:hover { transform: none; }
  .btn:hover .icon--arrow, .link-arrow:hover .icon, .topic-link:hover > .icon,
  .goal-card:hover .goal-card__icon, .why-card:hover .why-card__icon,
  .event-card:hover .event-card__media img, .event-card:hover .event-card__media .ph,
  .gallery-item:hover img, .gallery-item:hover .ph, .logo-tile:hover img { transform: none; }
  .gallery-item--video:hover .gallery-play { transform: translate(-50%, -50%); }
}
@media (max-width: 640px) {
  .goal-card--main .goal-card__num { font-size: 72px; }
  .goal-card__top { flex-wrap: wrap; }
  .goal-card__tag { white-space: nowrap; }
  .nav .btn { min-height: 52px; font-size: 16px; }
}
/* Sticky only while the two columns sit side by side; stacked, it would slide under the content. */
.prose--sticky { position: sticky; top: calc(var(--header-h) + 32px); }
@media (max-width: 900px) { .prose--sticky { position: static; } }
/* Upcoming events on phones: the date becomes a compact strip above the title. */
@media (max-width: 640px) {
  .up-card { grid-template-columns: 1fr; gap: 14px; align-items: start; }
  .up-card__date {
    aspect-ratio: auto; justify-self: start; flex-direction: row; align-items: baseline; gap: 8px;
    padding: 10px 16px; border-radius: 14px;
  }
  .up-card__date strong, .up-card__date--range strong, .up-card__date--secret strong { font-size: 28px; }
  .up-card__date span, .up-card__date em { margin-top: 0; }
}
.section--ink .prose p, .section--ink .step p { color: var(--muted-dark); }
@media (max-width: 640px) { .modal__cta .btn { flex: 1 1 100%; } }
/* Partners: the main partner always spans the row; on phones the rest sit two per row. */
.logo-grid.logo-grid--principal { grid-template-columns: 1fr; }
@media (max-width: 640px) {
  .logo-grid--industrie, .logo-grid--comercial, .logo-grid--asociatii { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .logo-grid--industrie .logo-tile, .logo-grid--comercial .logo-tile, .logo-grid--asociatii .logo-tile { min-height: 104px; padding: 18px 14px; }
  .logo-grid--industrie .logo-tile img, .logo-grid--comercial .logo-tile img, .logo-grid--asociatii .logo-tile img { max-height: 60px; }
  .logo-tile__ext { top: 10px; right: 10px; width: 14px; height: 14px; }
}
@media (max-width: 640px) {
  .onsite .link-arrow { padding-block: 8px; margin-block: -8px; }
}
/* "Pe scurt" facts box: two columns even where .stats uses four. */
.stats.facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ==========================================================================
   Romanian tricolor details
   ========================================================================== */
/* Dark surfaces: text, icons and lines use the brighter cherry so they stay readable. */
.section--dark, .section--ink, .section--accent, .hero, .page-hero, .site-header, .site-footer, .soon,
.goal-card, .lvl--final, .tier, .versus, .why-school, .support-card--dark, .up-card--secret, .lightbox, .toast {
  --accent-ink: var(--accent-light);
}
/* Cherry surfaces: details in white. */
.section--accent, .goal-card--main, .why-school, .tier--featured { --accent-ink: var(--white); }
/* Light cards that sit on dark sections keep blue details. */
.goal-card--light, .form-card, .next-event__date, .date-badge, .modal, .logo-tile:not(.logo-tile--dark) {
  --accent-ink: var(--accent);
}
.section--accent .eyebrow::before, .goal-card--main .eyebrow::before, .why-school .eyebrow::before { background: var(--ro-yellow); }
.hero-strike::after { background: var(--tricolor); }
.marquee--accent .marquee__item::after { color: var(--ro-yellow); opacity: 1; }
.marquee--yellow .marquee__item::after { color: var(--accent); }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--tricolor); }
.support-card--dark p { color: var(--muted-dark); }
/* Small phones: smaller trick chips, and the right-hand ones anchor to the right edge so they stay on screen. */
@media (max-width: 400px) {
  .trick-chip { font-size: 11px; padding: 6px 10px; gap: 6px; }
  .trick-chip--end { left: auto; right: var(--r, 0%); }
}
/* Small phones: the association name must not run under the menu button. */
@media (max-width: 360px) {
  .header-inner { gap: 12px; }
  .brand { gap: 10px; }
  .brand img { width: 40px; }
  .brand-text strong { font-size: 14px; }
}
