/* =========================================================
   Creatrix — cea care creează
   ========================================================= */

:root {
  /* Brand */
  --ink: #2B1B12;
  --cream: #FFF6E8;
  --peach: #FACD92;
  --orange: #F89F29;
  --rust: #BE5223;
  --sage: #969F70;
  --forest: #2F3A24;
  --paper: #FFFDF8;

  /* Roluri */
  --bg: var(--cream);
  --text: var(--ink);
  --text-soft: #5A4536;
  --primary: var(--rust);
  --on-primary: var(--cream);
  --focus: var(--rust);

  /* Tipografie */
  --font-display: "Baloo 2", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spațiere */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px;

  --radius-s: 12px;
  --radius-m: 20px;
  --radius-l: 32px;

  --shadow-pop: 6px 6px 0 var(--ink);
  --shadow-pop-sm: 4px 4px 0 var(--ink);

  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);

  --container: 1160px;
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  margin: 0 0 var(--space-4);
  font-weight: 600;
  text-wrap: balance;
}

p { margin: 0 0 var(--space-4); text-wrap: pretty; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-4);
}
@media (min-width: 768px) { .container { padding-inline: var(--space-6); } }

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

.skip-link {
  position: absolute; left: var(--space-4); top: -60px; z-index: 100;
  background: var(--ink); color: var(--cream);
  padding: var(--space-3) var(--space-4); border-radius: var(--radius-s);
  font-weight: 700; text-decoration: none;
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: var(--space-3); }

/* ---------- Butoane ---------- */
.btn {
  --btn-bg: var(--primary);
  --btn-fg: var(--on-primary);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px;
  padding: 12px 26px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-pop-sm);
  transition: transform .25s var(--ease-spring), box-shadow .25s var(--ease-spring), background-color .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translate(-2px, -2px) rotate(-1.5deg); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); transition-duration: .08s; }

.btn-primary { --btn-bg: var(--rust); --btn-fg: var(--cream); }
.btn-ghost   { --btn-bg: var(--cream); --btn-fg: var(--ink); }
.btn-sun     { --btn-bg: var(--orange); --btn-fg: var(--ink); }
.btn-small   { min-height: 44px; padding: 8px 18px; font-size: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 2px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-bottom-color: var(--ink); }

.header-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
}
.brand { display: block; width: 150px; flex: none; transition: transform .3s var(--ease-spring); }
.brand:hover { transform: rotate(-3deg) scale(1.04); }

.site-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: var(--space-1);
}
.site-nav a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 0 14px;
  font-family: var(--font-display); font-weight: 500; font-size: 1.05rem;
  text-decoration: none;
  border-radius: 999px;
  transition: background-color .2s, transform .25s var(--ease-spring);
}
.site-nav a:not(.btn):hover { background: var(--peach); transform: rotate(-3deg); }
.site-nav li:last-child { margin-left: var(--space-2); }

.menu-toggle {
  display: none;
  width: 48px; height: 48px;
  border: 3px solid var(--ink); border-radius: 14px;
  background: var(--peach);
  cursor: pointer;
  padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  box-shadow: 3px 3px 0 var(--ink);
}
.menu-toggle span {
  width: 22px; height: 3px; background: var(--ink); border-radius: 3px;
  transition: transform .3s var(--ease-spring), opacity .2s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--cream);
    border-bottom: 3px solid var(--ink);
    padding: var(--space-4) var(--space-4) var(--space-6);
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform .4s var(--ease-out), visibility 0s .4s;
  }
  .site-nav.open { transform: none; visibility: visible; transition: transform .45s var(--ease-spring), visibility 0s; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: var(--space-1); }
  .site-nav a:not(.btn) { font-size: 1.3rem; padding: 0 var(--space-4); min-height: 52px; }
  .site-nav li:last-child { margin: var(--space-3) 0 0; }
  .site-nav .btn { width: 100%; min-height: 52px; }
}

/* ---------- Highlight (cuvânt subliniat) ---------- */
.mark {
  position: relative;
  white-space: nowrap;
  z-index: 0;
}
.mark::after {
  content: "";
  position: absolute; z-index: -1;
  left: -4px; right: -4px; bottom: .02em;
  height: .42em;
  background: var(--orange);
  border-radius: 999px;
  transform: scaleX(0) rotate(-1.5deg);
  transform-origin: left center;
  transition: transform .7s var(--ease-out) .25s;
}
.is-visible .mark::after, .mark.is-visible::after, .hero .mark::after { transform: scaleX(1) rotate(-1.5deg); }
.mark-cream::after { background: var(--cream); }

/* ---------- Secțiuni generice ---------- */
.section { position: relative; padding-block: var(--space-8); }
@media (min-width: 768px) { .section { padding-block: var(--space-9); } }

.section-head { text-align: center; max-width: 680px; margin: 0 auto var(--space-7); }
.section-title { font-size: clamp(2rem, 5vw, 3.2rem); }
.section-sub { color: var(--text-soft); font-size: 1.1rem; }

.eyebrow {
  display: inline-block;
  margin-bottom: var(--space-3);
  padding: 4px 14px;
  font-family: var(--font-display); font-weight: 600;
  font-size: .9rem; letter-spacing: .08em; text-transform: uppercase;
  background: var(--ink); color: var(--cream);
  border-radius: 999px;
  transform: rotate(-2deg);
}

.wave { line-height: 0; color: var(--wave); }
.wave svg { width: 100%; height: clamp(36px, 6vw, 80px); fill: currentColor; }
.wave-top { margin-bottom: -1px; }
.wave-bottom { margin-top: -1px; }

/* ---------- Reveal la scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px) scale(.97);
  transition: opacity .7s var(--ease-out), transform .8s var(--ease-spring);
  transition-delay: var(--delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - var(--header-h));
  display: grid; place-items: center;
  padding-block: var(--space-8) var(--space-9);
  text-align: center;
}
.hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }

.hero-logo {
  position: relative;
  width: min(820px, 92vw);
  margin-bottom: var(--space-6);
  animation: logo-in 1s var(--ease-spring) both;
}
.hero-logo img { width: 100%; }

/* Bulina de pe „i” — pozitionată exact peste locul ei din logo */
.logo-dot {
  position: absolute;
  left: 81.87%;
  top: 2.4%;
  width: 5.77%;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--dot, var(--ink));
  cursor: pointer;
  pointer-events: auto;
  transform-origin: 50% 100%;
  animation: dot-bounce 1.6s var(--ease-out) infinite;
  transition: background-color .3s;
}
.logo-dot.jump { animation: dot-jump 1s cubic-bezier(.3,.7,.4,1) 1; }

@keyframes dot-bounce {
  0%   { transform: translateY(0) scale(1.18, .82); }
  12%  { transform: translateY(-25%) scale(.92, 1.1); }
  45%  { transform: translateY(-120%) scale(1, 1); }
  50%  { transform: translateY(-125%) scale(1.02, .98); }
  88%  { transform: translateY(-8%) scale(.94, 1.08); }
  100% { transform: translateY(0) scale(1.18, .82); }
}
@keyframes dot-jump {
  0%   { transform: translateY(0) scale(1.3, .7); }
  15%  { transform: translateY(-40%) scale(.85, 1.2); }
  45%  { transform: translateY(-420%) rotate(180deg) scale(1.2); }
  75%  { transform: translateY(-30%) rotate(360deg) scale(.9, 1.1); }
  88%  { transform: translateY(0) scale(1.25, .75); }
  100% { transform: translateY(0) scale(1); }
}
@keyframes logo-in {
  from { opacity: 0; transform: scale(.85) rotate(-4deg); }
  to   { opacity: 1; transform: none; }
}

.hero-lead {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.7rem, 4.6vw, 3rem);
  line-height: 1.15;
  max-width: 18ch;
  margin-bottom: var(--space-4);
}
.hero-sub { max-width: 54ch; font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--text-soft); }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: center; margin-top: var(--space-3); }

.hero-hint {
  display: inline-flex; align-items: center; gap: var(--space-2);
  margin-top: var(--space-6);
  font-family: var(--font-display); font-weight: 500;
  color: var(--rust);
  transform: rotate(-2deg);
}
.hero-hint svg { width: 44px; height: 30px; transform: scaleX(-1) rotate(-30deg); }

/* Doodle-uri plutitoare */
.doodles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.doodle {
  position: absolute;
  left: var(--x); top: var(--y);
  width: var(--s); height: var(--s);
  color: var(--c);
  translate: var(--px, 0) var(--py, 0);
  transition: translate .6s var(--ease-out);
}
.doodle use { animation: float 6s ease-in-out infinite; animation-delay: var(--d); transform-box: fill-box; transform-origin: center; }
.doodle { animation: pop-in .8s var(--ease-spring) both; animation-delay: calc(.3s - var(--d) * .15); rotate: var(--r); }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50%      { transform: translateY(-14px) rotate(8deg); }
}
@keyframes pop-in {
  from { opacity: 0; scale: 0; }
  to   { opacity: 1; scale: 1; }
}

@media (max-width: 640px) {
  .doodle { width: calc(var(--s) * .6); height: calc(var(--s) * .6); }
  .doodle:nth-child(5), .doodle:nth-child(7) { display: none; }
}

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  background: var(--orange);
  border-block: 3px solid var(--ink);
  overflow: hidden;
  transform: rotate(-1.5deg);
  margin-inline: -20px;
  position: relative; z-index: 3;
}
.marquee-track {
  display: flex; align-items: center; gap: var(--space-5);
  width: max-content;
  padding-block: var(--space-3);
  animation: marquee 30s linear infinite;
}
.marquee span {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  white-space: nowrap;
}
.marquee svg { width: 28px; height: 28px; color: var(--ink); flex: none; }
.marquee svg:nth-of-type(odd) { color: var(--cream); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   DESPRE
   ========================================================= */
.about-grid {
  display: grid; gap: var(--space-7);
  align-items: center;
}
@media (min-width: 860px) { .about-grid { grid-template-columns: 1fr 1.1fr; gap: var(--space-8); } }

.about-art { position: relative; max-width: 440px; margin-inline: auto; width: 100%; }
.blob {
  aspect-ratio: 1;
  background: var(--peach);
  border: 3px solid var(--ink);
  border-radius: 58% 42% 48% 52% / 46% 56% 44% 54%;
  box-shadow: 10px 10px 0 var(--sage);
  display: grid; place-items: center;
  overflow: hidden;
  animation: morph 12s ease-in-out infinite;
}
.blob img { width: 100%; height: 100%; object-fit: cover; }
.mascot { width: 72%; }
.mascot-rays { transform-origin: 100px 100px; animation: spin 24s linear infinite; }
.mascot-eyes { transform-origin: 100px 92px; animation: blink 5s infinite; }

@keyframes morph {
  0%, 100% { border-radius: 58% 42% 48% 52% / 46% 56% 44% 54%; }
  33%      { border-radius: 44% 56% 60% 40% / 56% 42% 58% 44%; }
  66%      { border-radius: 52% 48% 38% 62% / 40% 60% 40% 60%; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }

.about-sticker { position: absolute; animation: float 5s ease-in-out infinite; }
.about-sticker.s1 { width: 78px; height: 78px; top: -14px; right: 2%; color: var(--rust); }
.about-sticker.s2 { width: 56px; height: 56px; bottom: 6%; left: -10px; color: var(--orange); animation-delay: -1.5s; }
.about-sticker.s3 { width: 96px; height: 50px; bottom: -18px; right: 14%; color: var(--forest); animation-delay: -3s; }

.about-text { font-size: 1.12rem; }
.about-text .section-title { text-align: left; }

.chips { list-style: none; padding: 0; margin: var(--space-5) 0 0; display: flex; flex-wrap: wrap; gap: var(--space-3); }
.chips li {
  padding: 8px 18px;
  background: var(--c);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  font-family: var(--font-display); font-weight: 500;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .3s var(--ease-spring);
}
.chips li:nth-child(odd) { transform: rotate(-2deg); }
.chips li:nth-child(even) { transform: rotate(2deg); }
.chips li:hover { transform: rotate(0) scale(1.08); }

/* =========================================================
   CE CREEZ
   ========================================================= */
.services { background: var(--peach); }
.cards {
  display: grid; gap: var(--space-5);
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card {
  position: relative;
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: var(--radius-l);
  padding: var(--space-6) var(--space-5) var(--space-5);
  box-shadow: var(--shadow-pop);
}
.card.done { transition: transform .35s var(--ease-spring), box-shadow .35s var(--ease-spring), opacity .7s; transition-delay: 0s; }
.card:hover { transform: translate(-3px, -6px) rotate(-1.5deg); box-shadow: 10px 12px 0 var(--ink); }
.card:nth-child(even):hover { transform: translate(-3px, -6px) rotate(1.5deg); }

.card-icon {
  width: 72px; height: 72px;
  display: grid; place-items: center;
  background: var(--c);
  color: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
  margin-bottom: var(--space-5);
  transition: transform .5s var(--ease-spring), border-radius .5s;
}
.card-icon svg { width: 40px; height: 40px; }
.card:hover .card-icon { transform: rotate(-12deg) scale(1.1); border-radius: 50%; }
.card h3 { font-size: 1.45rem; margin-bottom: var(--space-2); }
.card p { color: var(--text-soft); margin: 0; }

/* =========================================================
   COLOREAZĂ
   ========================================================= */
.coloring-grid { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 900px) { .coloring-grid { grid-template-columns: .9fr 1.1fr; } }
.coloring-text .section-title { text-align: left; }
.coloring-text > p { font-size: 1.12rem; color: var(--text-soft); }

.palette {
  display: flex; flex-wrap: wrap; gap: var(--space-3);
  margin: var(--space-5) 0;
}
.swatch {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  background: var(--sw);
  color: var(--ink);
  cursor: pointer;
  display: grid; place-items: center;
  padding: 0;
  transition: transform .3s var(--ease-spring), box-shadow .3s var(--ease-spring);
}
.swatch svg { width: 22px; height: 22px; }
.swatch:hover { transform: translateY(-4px) scale(1.08); }
.swatch[aria-pressed="true"] {
  transform: translateY(-6px) scale(1.12);
  box-shadow: 0 0 0 4px var(--cream), 0 0 0 7px var(--ink);
}

.coloring-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

.canvas-wrap {
  position: relative;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: var(--radius-l);
  padding: var(--space-3);
  box-shadow: 10px 10px 0 var(--orange);
  transform: rotate(1.2deg);
}
.coloring-svg { width: 100%; height: auto; cursor: pointer; touch-action: manipulation; }
.coloring-svg .fill {
  fill: var(--paper);
  stroke: var(--ink);
  stroke-width: 3;
  stroke-linejoin: round;
  transition: fill .35s ease;
}
.coloring-svg .fill:hover { filter: brightness(.95); }
.coloring-svg .fill:focus-visible { outline: none; stroke: var(--rust); stroke-width: 5; }
.coloring-svg .fill.splash { animation: splash .45s var(--ease-spring); transform-box: fill-box; transform-origin: center; }
@keyframes splash { 0% { transform: scale(1); } 40% { transform: scale(1.06); } 100% { transform: scale(1); } }

.canvas-note {
  position: absolute; left: 50%; bottom: -18px;
  translate: -50% 0;
  margin: 0;
  background: var(--ink); color: var(--cream);
  font-family: var(--font-display); font-size: .95rem;
  padding: 4px 14px; border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
}
.canvas-note.show { opacity: 1; }

/* =========================================================
   GALERIE
   ========================================================= */
.gallery { background: var(--sage); }
.gallery .section-sub { color: var(--ink); }

.gallery-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: var(--space-5);
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 200px;
}
@media (min-width: 860px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; }
  .tile.tall { grid-row: span 2; }
  .tile.wide { grid-column: span 2; }
}
@media (max-width: 859px) {
  .tile.tall { grid-row: span 2; }
  .tile.wide { grid-column: span 2; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .tile.tall, .tile.wide { grid-row: auto; grid-column: auto; }
}

.tile figure {
  position: relative; margin: 0; height: 100%;
  background: var(--bg);
  border: 3px solid var(--ink);
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-pop);
  transition: transform .4s var(--ease-spring), box-shadow .4s var(--ease-spring);
}
.tile:nth-child(odd) figure  { transform: rotate(-1deg); }
.tile:nth-child(even) figure { transform: rotate(1deg); }
.tile figure:hover { transform: rotate(0) scale(1.03); box-shadow: 10px 10px 0 var(--ink); }

.art { position: absolute; inset: 0; display: grid; place-items: center; }
.art svg { width: 50%; height: 50%; color: var(--c); transition: transform .6s var(--ease-spring); }
.art .art-2 {
  position: absolute; width: 30%; height: 30%;
  right: 10%; top: 10%;
  color: var(--c2);
}
.tile figure:hover .art svg:first-child { transform: rotate(-15deg) scale(1.15); }
.tile figure:hover .art .art-2 { transform: translate(-10px, 10px) rotate(20deg) scale(1.2); }
.tile.wide .art svg:first-child { width: 34%; }
.tile.wide .art .art-2 { width: 22%; left: 12%; right: auto; top: auto; bottom: 14%; }

.tile figcaption {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  background: var(--cream);
  border: 2.5px solid var(--ink);
  border-radius: 14px;
  padding: 8px 14px;
  display: flex; flex-direction: column; line-height: 1.3;
  transform: translateY(calc(100% + 16px));
  transition: transform .45s var(--ease-spring);
}
.tile figcaption strong { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }
.tile figcaption span { font-size: .9rem; color: var(--text-soft); }
.tile figure:hover figcaption, .tile figure:focus-within figcaption { transform: none; }
@media (hover: none) { .tile figcaption { transform: none; } }

/* =========================================================
   ATELIERE
   ========================================================= */
.ws-list { display: grid; gap: var(--space-5); max-width: 860px; margin-inline: auto; }
.ws {
  position: relative;
  display: flex; align-items: center; gap: var(--space-5);
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: var(--radius-l);
  padding: var(--space-5);
  box-shadow: var(--shadow-pop);
  overflow: hidden;
}
.ws.done { transition: transform .35s var(--ease-spring), box-shadow .35s var(--ease-spring), opacity .7s; transition-delay: 0s; }
.ws:hover { transform: translateX(8px) rotate(-.6deg); }
.ws-age {
  flex: none;
  width: 96px; height: 96px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--c);
  border: 3px solid var(--ink);
  border-radius: 50%;
  font-family: var(--font-display); font-weight: 600; line-height: 1;
  color: var(--ink);
  transition: transform .5s var(--ease-spring);
}
.ws:hover .ws-age { transform: rotate(-14deg) scale(1.06); }
.ws-age span { font-size: 1.65rem; }
.ws-body h3 { font-size: 1.5rem; margin-bottom: var(--space-1); }
.ws-body p { margin: 0; color: var(--text-soft); }
.ws-doodle {
  position: absolute; right: -20px; bottom: -24px;
  width: 120px; height: 120px;
  color: var(--c); opacity: .25;
  transition: transform .6s var(--ease-spring);
}
.ws:hover .ws-doodle { transform: rotate(25deg) scale(1.2); }
.ws-cta { text-align: center; margin-top: var(--space-7); }

@media (max-width: 540px) {
  .ws { flex-direction: column; align-items: flex-start; }
  .ws-age { width: 80px; height: 80px; }
}

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding-top: 0; }
.faq-inner { max-width: 820px; }
.faq-list { display: grid; gap: var(--space-4); }
.faq details {
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-pop-sm);
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  min-height: 56px;
  padding: var(--space-4) var(--space-5);
  font-family: var(--font-display); font-weight: 600; font-size: 1.18rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 2.5px solid var(--ink); border-radius: 50%;
  background: var(--peach);
  font-size: 1.4rem; line-height: 1;
  transition: transform .4s var(--ease-spring), background-color .2s;
}
.faq details[open] summary::after { transform: rotate(135deg); background: var(--orange); }
.faq details p { padding: 0 var(--space-5) var(--space-5); margin: 0; color: var(--text-soft); }
.faq details[open] p { animation: drop .4s var(--ease-out); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { background: var(--forest); color: var(--cream); }
.contact .eyebrow { background: var(--orange); color: var(--ink); }
.contact-grid { display: grid; gap: var(--space-7); align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); } }
.contact-text .section-title { text-align: left; }
.contact-text > p { font-size: 1.12rem; opacity: .92; }
.contact .mark::after { background: var(--rust); }

.socials { list-style: none; padding: 0; margin: var(--space-5) 0 0; display: flex; gap: var(--space-3); }
.socials a {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: var(--cream); color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 16px;
  box-shadow: 4px 4px 0 var(--orange);
  transition: transform .3s var(--ease-spring);
}
.socials a:hover { transform: translateY(-4px) rotate(-8deg); }
.socials svg { width: 24px; height: 24px; }

.contact-form {
  background: var(--cream); color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: var(--radius-l);
  padding: var(--space-6) var(--space-5);
  box-shadow: 10px 10px 0 var(--orange);
}
@media (min-width: 600px) { .contact-form { padding: var(--space-6); } }
.field { margin-bottom: var(--space-4); }
.field label {
  display: block; margin-bottom: 6px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
}
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  font: inherit; font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: 14px;
  transition: box-shadow .2s, border-color .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  box-shadow: 4px 4px 0 var(--orange);
}
.field [aria-invalid="true"] { border-color: var(--rust); box-shadow: 4px 4px 0 var(--rust); }
.error { margin: 6px 0 0; color: var(--rust); font-weight: 700; font-size: .92rem; min-height: 0; }
.error:empty { display: none; }
.contact-form .btn { width: 100%; margin-top: var(--space-2); }
.form-status { margin: var(--space-4) 0 0; font-weight: 700; text-align: center; }
.form-status:empty { display: none; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--forest);
  color: var(--cream);
  padding-block: var(--space-7) var(--space-6);
  border-top: 2px dashed color-mix(in srgb, var(--cream) 30%, transparent);
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: var(--space-5); text-align: center; }
.footer-logo { width: 220px; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-1) var(--space-2); }
.site-footer nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  text-decoration: none; font-family: var(--font-display); font-weight: 500;
  border-radius: 999px;
  transition: background-color .2s, color .2s;
}
.site-footer nav a:hover { background: var(--orange); color: var(--ink); }
.copy { margin: 0; opacity: .8; font-size: .95rem; }
.site-footer :focus-visible { outline-color: var(--orange); }
.contact :focus-visible { outline-color: var(--orange); }
.contact-form :focus-visible { outline-color: var(--rust); }

/* =========================================================
   Confetti la click
   ========================================================= */
.confetti {
  position: fixed; z-index: 200;
  pointer-events: none;
  width: 12px; height: 12px;
  margin: -6px 0 0 -6px;
}
.confetti svg { width: 100%; height: 100%; }

/* =========================================================
   Mișcare redusă
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* =========================================================
   Magazin: carduri cu link, sticker personalizat, pași
   ========================================================= */
.card { display: flex; flex-direction: column; }
.card p { flex: 1; }
.card-link {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px;
  margin-top: var(--space-3);
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  color: var(--rust);
  text-decoration: none;
}
.card-link span { transition: transform .3s var(--ease-spring); }
.card-link:hover span { transform: translateX(6px); }
.card-link:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Sticker-ul care se personalizează */
.about-art { display: grid; place-items: center; }
.about-art > .blob { grid-area: 1 / 1; width: 100%; }
.sticker {
  grid-area: 1 / 1;
  position: relative; z-index: 1;
  margin: 0;
  width: 66%;
  aspect-ratio: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--paper);
  border-radius: 32%;
  box-shadow: 0 0 0 10px #fff, 0 0 0 13px var(--ink), 10px 14px 0 13px rgba(43, 27, 18, .18);
  transform: rotate(-7deg);
  transition: transform .5s var(--ease-spring);
}
.sticker:hover { transform: rotate(-2deg) scale(1.04); }
.sticker .mascot { width: 62%; margin-top: -6%; }
.sticker-name {
  max-width: 88%;
  margin-top: -4%;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.9rem, 6vw, 2.8rem);
  line-height: 1;
  color: var(--name-color, var(--rust));
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: color .3s;
}
.sticker-name.bump { animation: bump .4s var(--ease-spring); }
@keyframes bump { 40% { transform: scale(1.15) rotate(-3deg); } }

.name-try {
  margin: var(--space-5) 0;
  padding: var(--space-5);
  background: var(--peach);
  border: 3px solid var(--ink);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-pop-sm);
}
.name-try label {
  display: block; margin-bottom: var(--space-2);
  font-family: var(--font-display); font-weight: 600; font-size: 1.1rem;
}
.name-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.name-row input {
  flex: 1 1 180px;
  min-height: 50px;
  padding: 10px 16px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.2rem;
  color: var(--ink);
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: 14px;
}
.name-row input:focus { outline: none; box-shadow: 4px 4px 0 var(--rust); }
.sticker-colors { display: flex; gap: var(--space-2); }
.dot {
  width: 44px; height: 44px; padding: 0;
  border-radius: 50%;
  border: 3px solid var(--ink);
  background: var(--sw);
  cursor: pointer;
  transition: transform .3s var(--ease-spring), box-shadow .3s;
}
.dot:hover { transform: scale(1.1); }
.dot[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--peach), 0 0 0 6px var(--ink); transform: scale(1.08); }
.name-help { margin: var(--space-3) 0 0; font-size: .92rem; color: var(--text-soft); }

/* Pașii comenzii (listă ordonată) */
ol.ws-list { list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; }
.ws-age span { font-size: 2.2rem; }
