/* =========================================================================
   Next Generation AI — nextgenerationai.ro / ai-kid.ro
   Un singur fisier CSS, folosit de versiunea RO (/) si EN (/en/).
   Zero JavaScript, zero dependinte externe.
   ========================================================================= */

/* ---------- 1. Reset ---------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body,
h1, h2, h3, h4, p, ul, ol, li, figure, blockquote, dl, dd {
  margin: 0;
  padding: 0;
}

ul[class] { list-style: none; }

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

a { color: inherit; }

/* ---------- 2. Tokens --------------------------------------------------- */

:root {
  color-scheme: light;

  --paper:        #fffbf5;
  --paper-2:      #fff3e6;
  --card:         #ffffff;

  --ink:          #1b1b2f;
  --ink-soft:     #55556e;

  --line:         #ebdfcf;
  --line-strong:  #1b1b2f;

  --coral:        #d2361b;   /* fundal de buton / element solid  */
  --coral-bright: #ff6b4a;   /* doar decorativ (ilustratii)      */
  --coral-tint:   #ffe6de;
  --coral-text:   #b93317;   /* text si linkuri pe fundal deschis */

  --teal:         #0b6f78;
  --teal-bright:  #17c3b2;
  --teal-tint:    #ddf2f1;

  --on-accent:    #ffffff;
  --focus:        #0b6f78;

  --dot:          rgba(27, 27, 47, .14);
  --sticker:      7px 7px 0 rgba(27, 27, 47, .07);
  --sticker-sm:   4px 4px 0 rgba(27, 27, 47, .07);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;

  --wrap: 1120px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --band-y: clamp(3.5rem, 8vw, 6.5rem);

  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-head: ui-rounded, "SF Pro Rounded", "Segoe UI Variable Display",
               "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto,
               "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;

    --paper:        #12131c;
    --paper-2:      #191b28;
    --card:         #1c1e2c;

    --ink:          #f3f0ea;
    --ink-soft:     #a8a8be;

    --line:         #303348;
    /* Conturul de 2px al controalelor (.btn--ghost, .lang, .final-cta).
       Minim 3:1 fata de fundal, cerut de WCAG 1.4.11 pentru elemente
       interactive: 4.57:1 pe --paper, 4.08:1 pe --card. */
    --line-strong:  #787d99;

    --coral:        #ff7a5c;
    --coral-bright: #ff7a5c;
    --coral-tint:   #35211d;
    --coral-text:   #ff9077;

    --teal:         #4fd8cb;
    --teal-bright:  #4fd8cb;
    --teal-tint:    #10312f;

    --on-accent:    #12131c;
    --focus:        #4fd8cb;

    --dot:          rgba(243, 240, 234, .12);
    --sticker:      7px 7px 0 rgba(0, 0, 0, .38);
    --sticker-sm:   4px 4px 0 rgba(0, 0, 0, .38);
  }
}

/* ---------- 3. Baza ----------------------------------------------------- */

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.15rem, 6vw, 3.85rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 1.6vw, 1.28rem); letter-spacing: -0.01em; }
h4 { font-size: 1rem; letter-spacing: 0; }

p { text-wrap: pretty; }

strong { font-weight: 700; }

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

/* Focus vizibil peste tot */
a:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

/* <main tabindex="-1"> e doar tinta pentru "Sari la continut": primeste focusul
   ca sa continue tabularea de acolo, dar nu e un control, deci nu deseneaza
   conturul de focus in jurul intregii pagini. */
main[tabindex]:focus,
main[tabindex]:focus-visible { outline: none; }

.skip {
  position: absolute;
  left: 0.75rem;
  top: -6rem;
  z-index: 999;
  padding: 0.7rem 1.1rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-weight: 700;
  text-decoration: none;
  transition: top .18s ease;
}
.skip:focus-visible { top: 0; }

/* ---------- 4. Layout --------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.band {
  padding-block: var(--band-y);
  position: relative;
}

section[id] { scroll-margin-top: 6.5rem; }

.band--tint { background: var(--paper-2); }

.band--ink {
  --ink: #f7f3ec;
  --ink-soft: #b9b7cc;
  --paper: #1b1b2f;
  --card: #26283a;
  --line: #393c52;
  /* Aceeasi regula ca in tema dark: conturul de 2px trebuie sa ramana peste
     3:1 (WCAG 1.4.11). Pe fundalul benzii da 4.17:1 pe tema deschisa (#1b1b2f)
     si 4.76:1 pe tema intunecata (#0d0e16). Azi niciun control cu contur de
     2px (.btn--ghost, .lang, .final-cta) nu sta in banda asta, dar daca muti
     unul aici, valoarea trebuie sa treaca pragul — nu o cobori. */
  --line-strong: #787d99;
  --coral: #ff7a5c;
  --coral-bright: #ff7a5c;
  --coral-text: #ff9077;
  --coral-tint: #3a231f;
  --teal: #4fd8cb;
  --teal-bright: #4fd8cb;
  --teal-tint: #16342f;
  --on-accent: #1b1b2f;
  --focus: #4fd8cb;
  --dot: rgba(247, 243, 236, .12);
  --sticker: 7px 7px 0 rgba(0, 0, 0, .30);
  --sticker-sm: 4px 4px 0 rgba(0, 0, 0, .30);
  background: #1b1b2f;
  color: var(--ink);
}

@media (prefers-color-scheme: dark) {
  .band--ink { background: #0d0e16; --paper: #0d0e16; }
}

.band--teal {
  background: var(--teal-tint);
}

.band-head { max-width: 44ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.band-head p { color: var(--ink-soft); margin-top: 0.85rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 3px;
  border-radius: 3px;
  background: var(--coral-bright);
}

.lead {
  font-size: clamp(1.06rem, 1.9vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 56ch;
}

.grid {
  display: grid;
  gap: clamp(1rem, 2.2vw, 1.6rem);
}
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }

/* ---------- 5. Header --------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.4rem;
  padding-block: 0.7rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.02rem;
  line-height: 1.1;
  margin-right: auto;
}
.brand svg { width: 2.15rem; height: 2.15rem; flex: none; }
.brand span { display: block; }
.brand small {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
}

.site-nav { order: 3; width: 100%; }
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  list-style: none;
  padding-block: 0.35rem 0.15rem;
}
.site-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 0.2rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--ink); border-bottom-color: var(--coral-bright); }

.lang {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  border: 2px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.15rem;
  font-size: 0.8rem;
  font-weight: 800;
  font-family: var(--font-head);
  letter-spacing: 0.04em;
}
.lang a,
.lang span {
  display: inline-block;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  text-decoration: none;
  line-height: 1.4;
}
.lang [aria-current="true"] {
  background: var(--ink);
  color: var(--paper);
}
.lang a:hover { background: var(--coral-tint); color: var(--coral-text); }

@media (min-width: 62rem) {
  .site-nav { order: 0; width: auto; margin-inline-start: auto; }
  .site-nav ul { gap: 1.5rem; padding-block: 0; }
  .brand { margin-right: 1.5rem; }
  .header-inner { flex-wrap: nowrap; padding-block: 0.85rem; }
}

/* ---------- 6. Butoane -------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.btn svg { width: 1.05em; height: 1.05em; flex: none; }

.btn--primary {
  background: var(--coral);
  color: var(--on-accent);
  box-shadow: var(--sticker-sm);
}
.btn--primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 rgba(27, 27, 47, .16);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translate(-2px, -2px);
}

.btn--teal {
  background: var(--teal);
  color: var(--on-accent);
  box-shadow: var(--sticker-sm);
}
.btn--teal:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 rgba(27, 27, 47, .16);
}

@media (prefers-color-scheme: dark) {
  .btn--primary:hover,
  .btn--teal:hover { box-shadow: 7px 7px 0 rgba(0, 0, 0, .45); }
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.9rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: var(--coral-text);
  text-decoration: none;
  border-bottom: 2px solid var(--coral-tint);
  padding-bottom: 2px;
}
.link-arrow svg { width: 0.95em; height: 0.95em; }
.link-arrow:hover { border-bottom-color: currentColor; }

/* ---------- 7. Hero ----------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3.5rem, 8vw, 6rem);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--dot) 1.4px, transparent 1.5px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
  pointer-events: none;
}

.hero .wrap { position: relative; }

.hero-grid {
  display: grid;
  gap: clamp(2.2rem, 5vw, 3.5rem);
  align-items: center;
}

@media (min-width: 60rem) {
  .hero-grid { grid-template-columns: 1.08fr 0.92fr; }
}

.hero h1 .brandline {
  display: block;
  font-size: clamp(0.8rem, 1.5vw, 0.92rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.95rem;
}
.hero h1 em {
  display: block;
  font-style: normal;
  color: var(--coral-text);
}

.hero .lead { margin-top: 1.3rem; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--coral-tint);
  color: var(--coral-text);
  font-weight: 700;
  font-size: 0.86rem;
  line-height: 1.35;
  padding: 0.42rem 0.95rem 0.42rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}
.pill .dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--coral-bright);
  flex: none;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin-top: 2.1rem;
  padding-top: 1.4rem;
  border-top: 1px dashed var(--line);
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--ink-soft);
  list-style: none;
}
.hero-facts li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-facts li::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 2px;
  background: var(--teal-bright);
  transform: rotate(45deg);
  flex: none;
}

.hero-art {
  width: 100%;
  max-width: 30rem;
  margin-inline: auto;
}

/* ---------- 8. Carduri -------------------------------------------------- */

.card {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.35rem, 2.4vw, 1.8rem);
  box-shadow: var(--sticker);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.card h3 { margin-top: 0.2rem; }
.card p { color: var(--ink-soft); }

.card--flat { box-shadow: none; }

.icon-badge {
  width: 3rem;
  height: 3rem;
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  flex: none;
  background: var(--teal-tint);
  color: var(--teal);
}
.icon-badge svg { width: 1.55rem; height: 1.55rem; }
.icon-badge--coral { background: var(--coral-tint); color: var(--coral-text); }

.ico { fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.ico-f { fill: currentColor; stroke: none; }

/* Carduri de curs */
.course {
  position: relative;
  overflow: hidden;
}
.course .age {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--on-accent);
  background: var(--ink);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  align-self: flex-start;
}
.course--1 .age { background: var(--coral); }
.course--2 .age { background: var(--teal); }
.course--3 .age { background: var(--ink); color: var(--paper); }

.course ul {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  margin-top: 0.2rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.course ul li {
  position: relative;
  padding-left: 1.55rem;
}
.course ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 3px;
  background: var(--teal-bright);
}

.course .meta {
  margin-top: auto;
  padding-top: 1.05rem;
  border-top: 1px dashed var(--line);
  font-size: 0.88rem;
  color: var(--ink-soft);
  display: grid;
  gap: 0.3rem;
}
.course .meta b { color: var(--ink); font-weight: 700; }
.course .cta { margin-top: 1rem; }

/* Pasi */
.steps {
  counter-reset: step;
  list-style: none;
  display: grid;
  gap: clamp(1rem, 2.2vw, 1.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-top: 3.4rem;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--on-accent);
  background: var(--coral);
}
.steps li::after {
  content: "";
  position: absolute;
  top: 1.24rem;
  left: 3.1rem;
  right: -1rem;
  height: 3px;
  border-radius: 3px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px);
}
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: 0.45rem; }
.steps p { color: var(--ink-soft); font-size: 0.98rem; }

@media (max-width: 47.99rem) {
  .steps li::after { display: none; }
}

/* Liste cu bifa */
.checks { display: grid; gap: 0.9rem; list-style: none; }
.checks li { position: relative; padding-left: 2.35rem; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--teal-tint);
}
.checks li::after {
  content: "";
  position: absolute;
  left: 0.53rem;
  top: 0.44em;
  width: 0.4rem;
  height: 0.72rem;
  border: solid var(--teal);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(42deg);
}
.checks b { display: block; font-weight: 700; }
.checks span { color: var(--ink-soft); font-size: 0.97rem; }

/* Panou split (promisiuni / ilustratie) */
.split {
  display: grid;
  gap: clamp(2rem, 4vw, 3.2rem);
  align-items: center;
}
@media (min-width: 58rem) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--art-first > *:first-child { order: 2; }
}

.art-frame {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(1.2rem, 3vw, 2rem);
  box-shadow: var(--sticker);
}

/* ---------- 9. FAQ ------------------------------------------------------ */

.faq { display: grid; gap: 0.8rem; max-width: 48rem; }

.faq details {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.faq details[open] { border-color: var(--teal); }

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.05rem 3.2rem 1.05rem 1.25rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.03rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 1.3rem;
  top: 1.42rem;
  width: 0.7rem;
  height: 0.7rem;
  border: solid var(--teal);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
  transition: transform .18s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 1.62rem; }
.faq summary:hover { background: var(--teal-tint); }
.faq .answer { padding: 0 1.25rem 1.25rem; color: var(--ink-soft); }
.faq .answer p + p { margin-top: 0.7rem; }

/* ---------- 10. Sectiuni audienta (trainer / scoli) --------------------- */

.audience-grid {
  display: grid;
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: start;
}
@media (min-width: 58rem) {
  .audience-grid { grid-template-columns: 0.95fr 1.05fr; }
}

.feature-list { display: grid; gap: 1.15rem; list-style: none; }
.feature-list li {
  display: flex;
  gap: 0.95rem;
  align-items: flex-start;
}
.feature-list .icon-badge { width: 2.5rem; height: 2.5rem; border-radius: 10px; }
.feature-list .icon-badge svg { width: 1.3rem; height: 1.3rem; }
.feature-list li > span + span { display: block; }
.feature-list b {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}
.feature-list b + span {
  display: block;
  margin-top: 0.15rem;
  color: var(--ink-soft);
  font-size: 0.97rem;
  line-height: 1.55;
}

.note {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 1.1rem;
}

/* ---------- 11. CTA final ---------------------------------------------- */

.final-cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  border: 2px solid var(--line-strong);
  background: var(--card);
  padding: clamp(1.8rem, 5vw, 3.4rem);
  box-shadow: var(--sticker);
  text-align: center;
}
.final-cta .lead { margin-inline: auto; }
.final-cta .btn-row { justify-content: center; }
.final-cta .mail {
  display: inline-block;
  margin-top: 1.6rem;
  font-weight: 700;
  color: var(--coral-text);
  word-break: break-word;
}

/* ---------- 12. Footer -------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 2.6rem 3rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--ink);
}
.footer-brand svg { width: 1.75rem; height: 1.75rem; }
.site-footer a { color: var(--ink-soft); }
.site-footer a:hover { color: var(--coral-text); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  list-style: none;
}
.footer-domains {
  width: 100%;
  font-size: 0.85rem;
  opacity: 0.9;
  border-top: 1px dashed var(--line);
  padding-top: 1.1rem;
}

/* ---------- 13. Ilustratii SVG ----------------------------------------- */

.il-card   { fill: var(--card); }
.il-paper  { fill: var(--paper); }
.il-ink    { fill: var(--ink); }
.il-coral  { fill: var(--coral-bright); }
.il-coralt { fill: var(--coral-tint); }
.il-teal   { fill: var(--teal-bright); }
.il-tealt  { fill: var(--teal-tint); }
.il-line   { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.il-line-c { fill: none; stroke: var(--coral-bright); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.il-line-t { fill: none; stroke: var(--teal-bright); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.il-stroke { stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }

/* grosimi de linie — declarate dupa .il-* ca sa aiba prioritate */
.sw-4 { stroke-width: 4; }
.sw-7 { stroke-width: 7; }
.sw-9 { stroke-width: 9; }

.il-text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 40px;
  text-anchor: middle;
  dominant-baseline: central;
}

/* Sigla */
.lg-bg   { fill: var(--coral); }
.lg-line { fill: none; stroke: var(--on-accent); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }
.lg-node { fill: var(--teal-bright); }
.lg-node2{ fill: var(--on-accent); }

/* ---------- 14. Utilitare ---------------------------------------------- */

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 1.8rem; }
.center { text-align: center; }

/* ---------- 15. Preferinte utilizator ---------------------------------- */

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

@media print {
  .site-header, .hero::before { display: none; }
  body { background: #fff; color: #000; }
  .card, .final-cta { box-shadow: none; }
}

/* ==========================================================================
   Pagina 404 — layout neutru, mosteneste culorile temei de pe body
   ========================================================================== */
.nf { min-height: 68vh; display: flex; flex-direction: column; align-items: center;
      justify-content: center; text-align: center; gap: 1rem; padding: 4rem 1.25rem; }
.nf-code { font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin: 0; }
.nf h1 { font-size: clamp(1.75rem, 5vw, 2.75rem); margin: 0; max-width: 20ch; }
.nf p { max-width: 48ch; margin: 0; }
.nf-en { opacity: .72; font-size: .9375rem; }
.nf-links { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: center; margin-top: 1.25rem; }
