/* VinoLa — pagina de prezentare.
   Regulile vizuale sunt în DESIGN.md. Culorile de mai jos sunt singurele. */

:root {
  --paper: #FFFCF5;
  --ink: #1B2150;
  --ink-soft: #4A4F7A;
  --ink-line: rgba(27, 33, 80, .16);
  --tomato: #EE4B2B;
  --tomato-deep: #C73A1C;
  --tomato-end: #CF3B1B;   /* fundalul final: text crem la 4.7:1 */
  --butter: #FFC93C;
  --butter-soft: #FFE8A3;
  --cobalt: #2440C8;

  --f-display: 'Corben', 'Cooper Black', Georgia, serif;
  --f-body: 'Figtree', ui-sans-serif, system-ui, sans-serif;
  --f-hand: 'Kalam', 'Bradley Hand', cursive;

  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 48px);
  --sec: clamp(84px, 11vw, 150px);

  --r-paper: 5px;
  --r-photo: 14px;

  --shadow-paper: 0 1px 0 rgba(27, 33, 80, .06), 0 18px 34px -16px rgba(27, 33, 80, .38);
  --spring: cubic-bezier(.34, 1.45, .64, 1);
  --out: cubic-bezier(.2, .8, .2, 1);

  --logo-blank: var(--tomato);
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.125rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

h2 {
  font: 700 clamp(2.4rem, 5.4vw, 4.4rem)/1.18 var(--f-display);
  letter-spacing: -.015em;
  text-wrap: balance;
}
h3 { font: 700 1.6rem/1.15 var(--f-display); }

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

.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.hand { font-family: var(--f-hand); font-weight: 700; }
.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 {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--r-paper);
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

.sec-head { max-width: 46rem; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head p { margin-top: 18px; font-size: 1.25rem; color: var(--ink-soft); max-width: 38rem; }


/* ───────── Butoane ─────────
   Butonul principal e un bilet: două semicercuri decupate în lateral și o
   linie punctată spre capăt, ca la cotor. */
.btn-ticket {
  --notch: 9px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1em 2.1em 1em 1.7em;
  background:
    radial-gradient(circle, var(--paper) 1.2px, transparent 1.6px) calc(100% - 1.05em) 50% / 4px 7px repeat-y,
    var(--tomato-deep);
  color: var(--paper);
  font: 700 1.05rem/1 var(--f-body);
  letter-spacing: .01em;
  text-decoration: none;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  -webkit-mask:
    radial-gradient(circle var(--notch) at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle var(--notch) at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
          mask:
    radial-gradient(circle var(--notch) at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle var(--notch) at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
  transition: transform .25s var(--spring), background-color .2s;
}
.btn-ticket:hover { transform: translateY(-2px) rotate(-1.5deg); }
.btn-ticket:active { transform: translateY(1px); }
.btn-sm { font-size: .95rem; padding: .8em 1.8em .8em 1.4em; --notch: 7px; }

/* legătura secundară: subliniere ondulată, desenată */
.link-wave {
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='6' viewBox='0 0 20 6'%3E%3Cpath d='M0 3c2.5 0 2.5-2 5-2s2.5 2 5 2 2.5-2 5-2 2.5 2 5 2' fill='none' stroke='%23C73A1C' stroke-width='1.6'/%3E%3C/svg%3E");
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  padding-bottom: 7px;
  background: var(--wave) 0 100% / 20px 6px repeat-x;
  transition: background-position .6s linear, color .2s;
}
.link-wave:hover { background-position: 40px 100%; color: var(--tomato-deep); }

.scribble-arrow { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }


/* ───────── Copertina ─────────
   Dungi roșu/hârtie, cu marginea de jos în festoane. Umbra de sub ea
   o desparte de fundal acolo unde dunga are culoarea hârtiei. */
.awning {
  --w: clamp(34px, 4vw, 56px);
  --r: calc(var(--w) / 2);
  --stripes: repeating-linear-gradient(90deg, var(--tomato) 0 var(--w), var(--paper) var(--w) calc(2 * var(--w)));
  position: relative; z-index: 39;
  filter: drop-shadow(0 4px 0 rgba(27, 33, 80, .13));
  transform-origin: top;
}
/* masca taie și umbra, deci umbra stă pe părinte */
.awning > i {
  display: block;
  height: calc(var(--r) + clamp(14px, 1.6vw, 22px));
  background: linear-gradient(rgba(27, 33, 80, .2), transparent 7px), var(--stripes);
  -webkit-mask:
    linear-gradient(#000 0 0) top / 100% calc(100% - var(--r)) no-repeat,
    radial-gradient(var(--r) at 50% 0, #000 98%, #0000) bottom / var(--w) var(--r) repeat-x;
          mask:
    linear-gradient(#000 0 0) top / 100% calc(100% - var(--r)) no-repeat,
    radial-gradient(var(--r) at 50% 0, #000 98%, #0000) bottom / var(--w) var(--r) repeat-x;
}


/* ───────── Antet ───────── */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: var(--paper);
  transition: box-shadow .3s;
}
.nav.is-stuck { box-shadow: 0 2px 0 var(--ink); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: block; color: var(--ink); }
.brand .logo { width: clamp(118px, 12vw, 148px); height: auto; }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav-links a:not(.btn-ticket) {
  font-weight: 600; font-size: 1rem; text-decoration: none;
  padding-block: 6px;
  background: linear-gradient(var(--tomato), var(--tomato)) 0 100% / 0 2px no-repeat;
  transition: background-size .3s var(--out);
}
.nav-links a:not(.btn-ticket):hover { background-size: 100% 2px; }
.burger { display: none; }

@media (max-width: 900px) {
  .burger {
    display: grid; place-content: center; gap: 7px;
    width: 48px; height: 48px; border: 0; background: none; cursor: pointer; margin-right: -8px;
  }
  .burger span { display: block; width: 26px; height: 3px; border-radius: 3px; background: var(--ink); transition: transform .3s var(--out); }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(5px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-5px) rotate(-45deg); }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gut) 28px;
    background: var(--paper);
    box-shadow: 0 2px 0 var(--ink);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--out), visibility 0s .25s;
  }
  .nav-links.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s var(--out); }
  .nav-links a:not(.btn-ticket) {
    font: 700 1.6rem/1.2 var(--f-display); padding: 14px 0;
    border-bottom: 1px solid var(--ink-line); background: none;
  }
  .nav-links .btn-ticket { margin-top: 22px; align-self: flex-start; font-size: 1.05rem; }
}


/* ───────── Erou ───────── */
.hero { padding-top: clamp(24px, min(5vw, 6vh), 64px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-title { font-family: var(--f-display); font-weight: 700; }
.ht-lead {
  display: block;
  font-size: clamp(4.1rem, min(9.2vw, 15.5vh), 8.6rem);
  line-height: .9;
  letter-spacing: -.025em;
}
/* golul din invitație: linia roșie din logo, cu cuvântul scris peste ea */
.ht-blank {
  position: relative;
  display: inline-block;
  min-width: 3.6em;
  margin-top: .02em;
  padding: 0 .12em;
  font-family: var(--f-hand);
  font-weight: 700;
  font-size: clamp(3.3rem, min(7.3vw, 12.4vh), 6.9rem);
  line-height: 1.2;
  color: var(--tomato);
  white-space: nowrap;
  transition: width .5s var(--out);
}
.ht-blank::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: .2em;
  height: max(6px, .075em);
  border-radius: 99px;
  background: var(--tomato);
  transform-origin: left;
}
.ht-word { display: inline-block; clip-path: inset(-30% -8% -30% -8%); }
.ht-word.is-writing { animation: write .95s cubic-bezier(.55, .1, .35, 1) both; }
.ht-word.is-erasing { animation: erase .32s ease-in both; }
@keyframes write { from { clip-path: inset(-30% 100% -30% -8%); } to { clip-path: inset(-30% -8% -30% -8%); } }
@keyframes erase { to { clip-path: inset(-30% -8% -30% 100%); } }

.lede { margin-top: clamp(22px, 3vw, 34px); max-width: 34rem; font-size: clamp(1.1rem, 1.35vw, 1.25rem); color: var(--ink-soft); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; margin-top: 34px; }
.hero-note {
  display: flex; align-items: flex-start; gap: 6px;
  margin-top: 14px; margin-left: 30px;
  font-size: 1.35rem; line-height: 1.2; color: var(--tomato-deep);
  transform: rotate(-2deg);
}
.hero-note .scribble-arrow { width: 46px; flex: none; margin-top: -8px; }

.hero-art { position: relative; padding: 24px 0 40px; }
.plate {
  position: absolute; z-index: 0;
  width: 122%; aspect-ratio: 1; left: 50%; top: 50%;
  translate: -50% -50%;
  border-radius: 50%;
  background: var(--butter);
  box-shadow: inset 0 0 0 clamp(14px, 2vw, 24px) #FFD35E;
}
.stack { position: relative; z-index: 1; width: min(100%, 440px, 56vh); aspect-ratio: 4 / 5; margin-left: auto; margin-right: 4%; }
.stack img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  border: clamp(6px, .8vw, 10px) solid var(--paper);
  border-radius: var(--r-photo);
  box-shadow: var(--shadow-paper);
  transform: rotate(var(--rot, -3deg));
  opacity: 0;
}
.stack img:nth-of-type(1) { --rot: -3deg; }
.stack img:nth-of-type(2) { --rot: 2.5deg; }
.stack img:nth-of-type(3) { --rot: -1.5deg; }
.stack img:nth-of-type(4) { --rot: 3.5deg; }
.stack img:nth-of-type(5) { --rot: -2.5deg; }
.stack img:nth-of-type(6) { --rot: 1.5deg; }
.stack img:nth-of-type(7) { --rot: -4deg; }
.stack img.was-on { opacity: 1; z-index: 1; }
.stack img.is-on { opacity: 1; z-index: 2; }
.stack img.is-dropping { animation: drop .75s var(--spring) both; }
@keyframes drop {
  from { opacity: 0; transform: translate(40px, -46px) rotate(calc(var(--rot) + 9deg)) scale(1.04); }
  to { opacity: 1; transform: rotate(var(--rot)); }
}

/* cartonașul „Rezervat” de pe masă */
.tent {
  position: absolute; z-index: 3;
  left: -2%; bottom: 8%;
  width: clamp(196px, 46%, 244px);
  background: var(--paper);
  border-radius: var(--r-paper);
  box-shadow: var(--shadow-paper);
  transform: rotate(-5deg);
  overflow: hidden;
}
.tent-head {
  background: var(--tomato);
  color: var(--paper);
  font: 700 1.45rem/1 var(--f-display);
  text-align: center;
  padding: 13px 12px 12px;
  border-bottom: 2px dashed rgba(255, 249, 238, .6);
}
.tent-body { padding: 14px 18px 16px; transform-origin: top; }
.tent-body.is-swapping { animation: flip .5s var(--out) both; }
@keyframes flip { from { transform: rotateX(80deg); opacity: 0; } to { transform: none; opacity: 1; } }
.tent-what { font: 700 1.2rem/1.2 var(--f-display); }
.tent-when, .tent-who { font-size: .98rem; line-height: 1.4; color: var(--ink-soft); font-weight: 500; }
.tent-when { margin-top: 6px; }

/* intrarea regizată: copertina coboară, titlul intră, cuvântul se scrie */
.js .awning { transform: scaleY(0); }
.awning--end.is-in { transform: none; transition: transform .8s var(--spring); }
.js .ht-lead { opacity: 0; transform: translateX(-24px) rotate(-2deg); }
.js .ht-blank::after { transform: scaleX(0); }
.js .ht-word { clip-path: inset(-30% 100% -30% -8%); }
.js .hero-art .stack img.is-on { opacity: 0; }
.js .tent { opacity: 0; transform: rotate(-5deg) translateY(24px) scale(.9); }
.is-ready .awning:not(.awning--end) { transform: none; transition: transform .8s var(--spring); }
.is-ready .ht-lead { opacity: 1; transform: none; transition: opacity .5s .2s, transform .7s .2s var(--spring); }
.is-ready .ht-blank::after { transform: none; transition: transform .55s .55s var(--out); }
.is-ready .hero-art .stack img.is-on { opacity: 1; animation: drop .8s .35s var(--spring) both; }
.is-ready .tent { opacity: 1; transform: rotate(-5deg); transition: opacity .3s 1s, transform .6s 1s var(--spring); }

/* clienți */
.clients {
  margin-top: clamp(56px, 8vw, 96px);
  padding-top: 26px;
  border-top: 2px solid var(--ink);
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 24px; align-items: center;
}
.clients-title { font: 700 1.3rem/1.25 var(--f-display); letter-spacing: 0; max-width: 12em; }
.clients-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.clients-list a {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 16px 8px 12px;
  border-radius: var(--r-paper);
  text-decoration: none;
  transition: background-color .2s, transform .3s var(--spring);
}
.clients-list img { height: 64px; width: auto; max-width: 100%; object-fit: contain; }
.clients-list img.wide { height: 40px; margin-block: 12px; }
.clients-list span { font-size: .8rem; color: var(--ink-soft); text-align: center; overflow-wrap: anywhere; }
.clients-list a:hover { background: var(--butter-soft); transform: rotate(-1.5deg); }
.clients-list a:hover span { color: var(--tomato-deep); }


/* ───────── Vineri, 20:40 ───────── */
.friday { padding-block: var(--sec); }
.friday-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.scene { position: relative; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-paper); }
.scene h3 { margin: 18px 0 10px; font-size: 1.9rem; }
.scene p { color: var(--ink-soft); }
.scene--before { border: 2px dashed var(--ink-line); }
.scene--after { background: var(--butter-soft); margin-top: clamp(0px, 7vw, 96px); }
.scene-art { position: relative; }
.scene-art > img { width: min(100%, 300px); }
.scene--after .scene-art > img { width: min(100%, 360px); }
.ring {
  position: absolute; top: 4px; right: 0;
  display: flex; align-items: center; gap: 8px;
  color: var(--tomato);
  font-size: 1.6rem;
}
.ring svg { width: 34px; fill: var(--tomato); transform-origin: 50% 60%; }
.ring.is-ringing svg { animation: ring 1.6s ease-in-out infinite; }
@keyframes ring {
  0%, 45%, 100% { transform: rotate(0); }
  5%, 15%, 25%, 35% { transform: rotate(-14deg); }
  10%, 20%, 30%, 40% { transform: rotate(14deg); }
}
.inbox { margin-top: 22px; display: grid; gap: 8px; }
.inbox li {
  display: flex; align-items: baseline; gap: 14px;
  padding: 11px 16px;
  background: var(--paper);
  border-radius: var(--r-paper);
  font-size: 1rem; font-weight: 500;
  box-shadow: 0 1px 0 rgba(27, 33, 80, .08);
}
.inbox-t { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--tomato-deep); }
.js .inbox li { opacity: 0; transform: translateX(28px); }
.inbox.is-in li { opacity: 1; transform: none; transition: opacity .4s, transform .6s var(--spring); }
.inbox.is-in li:nth-child(2) { transition-delay: .45s; }
.inbox.is-in li:nth-child(3) { transition-delay: .9s; }


/* ───────── Calendare reale ─────────
   Secțiunea poartă culorile clientului ales. */
.demo {
  --b-bg: #2b2c86; --b-fg: #fffbf5; --b-hi: #f08a5d; --b-tab: #fae6d2; --b-tab-fg: #2b2c86;
  background: var(--b-bg);
  color: var(--b-fg);
  padding-block: var(--sec);
  transition: background-color .6s var(--out), color .6s;
}
.demo[data-brand="nook"]    { --b-bg: #5C5D3B; --b-fg: #FAF8F2; --b-hi: #FFE4CB; --b-tab: #FFE4CB; --b-tab-fg: #4a4b2f; }
.demo[data-brand="cheffa"]  { --b-bg: #15120e; --b-fg: #faf7f1; --b-hi: #e0cf9f; --b-tab: #e0cf9f; --b-tab-fg: #15120e; }
.demo[data-brand="czechin"] { --b-bg: #124734; --b-fg: #faf6ec; --b-hi: #e2c275; --b-tab: #e8dcc2; --b-tab-fg: #124734; }
.demo :focus-visible { outline-color: var(--b-hi); }

.demo-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.demo-copy > p { margin-top: 20px; font-size: 1.2rem; opacity: .86; max-width: 32rem; }
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.tabs button {
  padding: 11px 20px;
  border: 2px solid currentColor;
  border-radius: 99px;
  background: transparent;
  font-weight: 700; font-size: 1rem;
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, transform .3s var(--spring);
}
.tabs button:hover { transform: translateY(-2px); }
.tabs button[aria-selected="true"] { background: var(--b-tab); border-color: var(--b-tab); color: var(--b-tab-fg); }

.facts { margin-top: 30px; padding-top: 22px; border-top: 1px solid color-mix(in srgb, currentColor 30%, transparent); max-width: 30rem; }
.facts-name { font: 700 1.5rem/1.2 var(--f-display); }
.facts ul { margin: 12px 0 18px; display: grid; gap: 4px; }
.facts li { display: flex; gap: 10px; opacity: .9; }
.facts li::before { content: ''; flex: none; width: 8px; height: 8px; margin-top: .62em; border-radius: 50%; background: var(--b-hi); }
.facts .link-wave {
  color: inherit;
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='6' viewBox='0 0 20 6'%3E%3Cpath d='M0 3c2.5 0 2.5-2 5-2s2.5 2 5 2 2.5-2 5-2 2.5 2 5 2' fill='none' stroke='%23FFFCF5' stroke-width='1.6'/%3E%3C/svg%3E");
}
.facts .link-wave:hover { color: var(--b-hi); }
.facts.is-swapping { animation: fadeSwap .45s var(--out) both; }
@keyframes fadeSwap { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.demo-fine { margin-top: 26px; font-size: .9rem; opacity: .7; }

.demo-stage { position: relative; display: flex; justify-content: center; }
.phone {
  --pw: min(336px, 78vw);
  padding: 11px;
  border-radius: 46px;
  background: var(--b-fg);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .18), 0 40px 60px -30px rgba(0, 0, 0, .6);
  transform: rotate(2deg);
  transition: background-color .6s;
}
.phone-screen {
  position: relative;
  width: var(--pw);
  aspect-ratio: 390 / 760;
  border-radius: 36px;
  overflow: hidden;
  background: color-mix(in srgb, var(--b-bg) 12%, #fff);
}
.phone-screen iframe {
  position: absolute; top: 0; left: 0;
  width: 390px; height: 760px; border: 0;
  transform-origin: 0 0;
  transform: scale(var(--s, .86));
  opacity: 0;
  transition: opacity .4s;
}
.phone-screen iframe.is-loaded { opacity: 1; }
.demo-note {
  position: absolute; left: -36px; top: 7%;
  color: var(--b-hi);
  font-size: 1.35rem; line-height: 1.15;
  transform: rotate(-6deg);
}
.demo-note .scribble-arrow { width: 74px; margin: 6px 0 0 60px; }


/* ───────── Trei pași ───────── */
.route { background: var(--butter); padding-block: var(--sec); overflow: hidden; }
.route .sec-head p { color: var(--ink); opacity: .78; }
.route-map { position: relative; }
.route-path { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
#route-dots { fill: none; stroke: var(--ink); stroke-width: 3.4; stroke-linecap: round; stroke-dasharray: 0 13; }
#route-reveal { fill: none; stroke: #fff; stroke-width: 14; stroke-linecap: round; }
.route-runner {
  position: absolute; z-index: 1;
  width: clamp(130px, 15vw, 200px);
  right: 0; top: -150px;
  transform: scaleX(-1);
}
.stops { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 60px); }
.stop:nth-child(2) { margin-top: clamp(0px, 10vw, 150px); }
.stop:nth-child(3) { margin-top: clamp(0px, 3vw, 44px); }
.pin {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--tomato-deep);
  color: var(--paper);
  font: 700 1.5rem/1 var(--f-display);
  box-shadow: 0 0 0 5px var(--butter), 0 0 0 7px var(--ink);
}
/* textul acoperă drumul: punctele trec pe sub el, ca pe sub pozele pașilor */
.stop h3, .stop p { position: relative; width: fit-content; background: var(--butter); box-shadow: 0 0 0 6px var(--butter); }
.stop h3 { margin-top: 20px; font-size: 1.85rem; }
.stop p { margin-top: 8px; max-width: 22rem; }
.stop-shot { display: block; margin-top: 22px; max-width: 340px; }
.stop-shot img { filter: drop-shadow(0 22px 26px rgba(27, 33, 80, .22)); }
.stop:nth-child(1) .stop-shot { transform: rotate(-2deg); }
.stop:nth-child(2) .stop-shot { transform: rotate(1.5deg); }
.stop:nth-child(3) .stop-shot { transform: rotate(-1deg); }

.route-end {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: auto auto minmax(0, 26rem); align-items: center; gap: 20px;
  width: fit-content; margin: clamp(48px, 7vw, 96px) 0 0 auto;
}
.route-end > img { width: clamp(120px, 12vw, 170px); }
.pin--end { background: var(--ink); }
.pin--end svg { width: 26px; fill: none; stroke: var(--butter); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.route-end-h { font: 700 clamp(1.8rem, 3vw, 2.4rem)/1.1 var(--f-display); margin-bottom: 8px; white-space: nowrap; }


/* ───────── Pentru cine ───────── */
.who { padding-block: var(--sec); }
.who-row {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 80px); align-items: center;
}
.who-row + .who-row { margin-top: clamp(72px, 10vw, 130px); }
.who-row--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.who-row--flip .who-photo { order: 2; }
.who-photo { position: relative; }
.who-photo > img:first-child {
  width: 100%; aspect-ratio: 7 / 5; object-fit: cover;
  border-radius: var(--r-photo);
}
.tag {
  position: absolute; left: clamp(14px, 3vw, 32px); bottom: -26px;
  display: flex; align-items: baseline; gap: .35em;
  padding: 12px 22px 14px;
  background: var(--paper);
  border-radius: var(--r-paper);
  box-shadow: var(--shadow-paper);
  font: 700 1.35rem/1 var(--f-display);
  transform: rotate(-3deg);
}
.who-row--flip .tag { left: auto; right: clamp(14px, 3vw, 32px); transform: rotate(2.5deg); }
.tag b {
  font-size: 1.9rem; line-height: 1; color: var(--tomato);
  padding: 0 .15em;
  background: linear-gradient(var(--tomato), var(--tomato)) 0 92% / 100% 3px no-repeat;
}
.who-doodle { position: absolute; width: clamp(140px, 15vw, 210px); top: -70px; right: -30px; }
.who-row--flip .who-doodle { right: auto; left: -40px; top: -80px; }
.who-kind { font-weight: 700; color: var(--tomato-deep); }
.who-text h3 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin: 6px 0 14px; }
.who-text > p:not(.who-kind) { color: var(--ink-soft); }
.ticks { margin-top: 18px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; }
.ticks li::before {
  content: ''; flex: none; width: 22px; height: 22px; margin-top: .15em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 13c2 1 4 3 5 6 3-6 6-10 11-14' fill='none' stroke='%23EE4B2B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}


/* ───────── Banda de fotografii ───────── */
.reel { padding: clamp(24px, 4vw, 40px) 0 var(--sec); overflow: hidden; }
.reel h2 { max-width: 16em; margin-bottom: clamp(36px, 5vw, 60px); }
.reel-row { transform: rotate(-2deg); margin-inline: -40px; }
.reel-row + .reel-row { margin-top: 16px; }
.reel-track { display: flex; gap: 16px; width: max-content; animation: reel 70s linear infinite; }
.reel-row--rev .reel-track { animation-direction: reverse; animation-duration: 80s; }
.reel-row:hover .reel-track { animation-play-state: paused; }
.reel-track img {
  height: clamp(190px, 21vw, 300px); width: auto; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--r-photo);
  flex: none;
}
@keyframes reel { to { transform: translateX(-50%); } }


/* ───────── Prețuri ───────── */
.prices { background: var(--cobalt); color: var(--paper); padding-block: var(--sec); overflow-x: clip; }
.prices-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.prices-intro { position: sticky; top: 120px; }
.prices-intro p { margin-top: 20px; font-size: 1.2rem; max-width: 26rem; opacity: .92; }
.prices-doodle {
  width: clamp(200px, 22vw, 300px);
  margin-top: 40px;
  padding: 26px 30px 18px;
  background: var(--paper);
  border-radius: 50%;
  aspect-ratio: 1; object-fit: contain;
  box-shadow: inset 0 0 0 12px var(--butter-soft);
}

.menu {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--r-paper);
  padding: clamp(32px, 5vw, 60px) clamp(22px, 5vw, 60px) clamp(34px, 4vw, 50px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55);
  outline: 1.5px solid var(--ink); outline-offset: -12px;
  text-align: center;
}
.menu-title { font: 700 clamp(2.6rem, 5vw, 3.6rem)/1 var(--f-display); display: flex; align-items: center; justify-content: center; gap: 18px; }
.menu-title::before, .menu-title::after { content: ''; width: 46px; height: 3px; border-radius: 3px; background: var(--tomato); }
.menu-sub { margin-top: 10px; color: var(--ink-soft); font-weight: 500; }
.dish { position: relative; text-align: left; margin-top: 34px; }
.dish-h { display: flex; align-items: baseline; gap: 12px; font-size: clamp(1.4rem, 2.4vw, 1.75rem); line-height: 1.28; }
.dish-h i { flex: 1; min-width: 20px; border-bottom: 3px dotted var(--ink-soft); translate: 0 -.3em; }
.dish-p { white-space: nowrap; }
.dish-for { margin-top: 4px; font-weight: 700; color: var(--tomato-deep); font-size: 1rem; }
.dish-d { margin-top: 6px; color: var(--ink-soft); font-size: 1.02rem; max-width: 34rem; }
.dish--house .dish-d { max-width: 29rem; }
.dish--house { margin-inline: -18px; padding: 20px 18px 22px; background: var(--butter-soft); border-radius: var(--r-paper); }
.dish--side { padding-top: 26px; border-top: 1px dashed var(--ink-line); }
.dish--side .dish-h { font-size: 1.15rem; }
.menu-foot { margin: 30px 0 26px; font-size: .95rem; color: var(--ink-soft); }

.stamp {
  position: absolute; right: max(-62px, calc(12px - var(--gut))); bottom: -46px;
  width: 124px; color: var(--tomato);
  transform: rotate(-14deg);
  pointer-events: none;
}
.stamp circle { fill: none; stroke: currentColor; stroke-width: 3; }
.stamp text { fill: currentColor; font: 700 11.2px var(--f-body); letter-spacing: .06em; }
.stamp-star { fill: currentColor; }
.js .stamp { opacity: 0; transform: rotate(-30deg) scale(1.9); }
.is-in > .stamp { opacity: .92; transform: rotate(-14deg) scale(1); transition: opacity .15s, transform .45s cubic-bezier(.5, 0, .4, 1.4); }


/* ───────── Întrebări ───────── */
.faq { padding-block: var(--sec); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.faq-intro img { width: clamp(180px, 22vw, 290px); margin-top: 30px; }
.faq-list { border-bottom: 2px solid var(--ink); }
.faq-list details { border-top: 2px solid var(--ink); }
.faq-list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0;
  font: 700 clamp(1.15rem, 1.8vw, 1.35rem)/1.38 var(--f-display);
  cursor: pointer; list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ''; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background:
    linear-gradient(var(--paper), var(--paper)) center / 12px 2.5px no-repeat,
    linear-gradient(var(--paper), var(--paper)) center / 2.5px 12px no-repeat,
    var(--tomato-deep);
  transition: transform .35s var(--spring);
}
.faq-list details[open] summary::after { transform: rotate(135deg); }
.faq-list summary:hover { color: var(--tomato-deep); }
.faq-list details > div { padding: 0 48px 24px 0; color: var(--ink-soft); }
.faq-list details::details-content { block-size: 0; overflow: hidden; transition: block-size .35s var(--out), content-visibility .35s allow-discrete; }
.faq-list details[open]::details-content { block-size: auto; }


/* ───────── Vino la noi ───────── */
.end { position: relative; background: var(--tomato-end); color: var(--paper); padding-bottom: var(--sec); overflow: hidden; }
.awning--end {
  z-index: 1;
  --stripes: repeating-linear-gradient(90deg, var(--paper) 0 var(--w), var(--butter) var(--w) calc(2 * var(--w)));
  filter: drop-shadow(0 5px 0 rgba(27, 33, 80, .2));
}
.end-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 80px); align-items: center; padding-top: clamp(56px, 8vw, 110px); }
.end h2 { font-size: clamp(3.6rem, 9vw, 8rem); line-height: .92; letter-spacing: -.025em; }
.end-copy p { margin-top: 26px; font-size: 1.3rem; max-width: 28rem; }
.end-doodle {
  width: clamp(170px, 18vw, 240px); margin-top: 36px;
  padding: 18px;
  background: var(--paper); border-radius: 50%; aspect-ratio: 1; object-fit: contain;
}
.end-art { position: relative; padding: 30px 0 10px; }
.postcard {
  width: 78%; margin-left: auto;
  aspect-ratio: 3 / 2; object-fit: cover;
  border: 10px solid var(--paper);
  border-radius: var(--r-photo);
  box-shadow: 0 30px 50px -26px rgba(27, 33, 80, .6);
  transform: rotate(4deg);
}
.invite {
  position: relative; z-index: 1;
  width: min(100%, 440px);
  margin-top: -120px;
  padding: 30px 32px 28px;
  background: var(--paper); color: var(--ink);
  border-radius: var(--r-paper);
  box-shadow: 0 30px 50px -24px rgba(27, 33, 80, .6);
  transform: rotate(-2.5deg);
}
.invite::before {
  content: ''; position: absolute; inset: 10px;
  border: 1.5px solid var(--tomato); border-radius: 3px; pointer-events: none;
}
.invite-head { font: 700 2rem/1 var(--f-display); text-align: center; }
.invite-fields { margin: 20px 0 26px; display: grid; gap: 12px; }
.invite-fields > div { display: grid; grid-template-columns: 7.4em 1fr; align-items: baseline; gap: 10px; }
.invite-fields dt { font-size: .92rem; font-weight: 600; color: var(--ink-soft); }
.invite-fields dd {
  font-size: 1.35rem; line-height: 1.25; color: var(--ink);
  padding-bottom: 2px;
  border-bottom: 2px dotted var(--ink-line);
}
.js .invite-fields dd { clip-path: inset(-20% 100% -20% 0); }
.invite.is-in .invite-fields dd { clip-path: inset(-20% 0 -20% 0); transition: clip-path .8s cubic-bezier(.55, .1, .35, 1); }
.invite.is-in .invite-fields > div:nth-child(2) dd { transition-delay: .6s; }
.invite.is-in .invite-fields > div:nth-child(3) dd { transition-delay: 1.2s; }
.invite.is-in .invite-fields > div:nth-child(4) dd { transition-delay: 1.8s; }
.invite .btn-ticket { width: 100%; }
.invite-mail { margin-top: 12px; text-align: center; font-size: .95rem; color: var(--ink-soft); user-select: all; }


/* ───────── Subsol ───────── */
.foot { background: var(--ink); color: var(--paper); padding: clamp(56px, 7vw, 88px) 0 40px; --logo-blank: var(--butter); }
.foot-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); gap: 40px; }
.foot .logo { width: 170px; color: var(--paper); }
.foot-brand p { margin-top: 16px; max-width: 22rem; opacity: .8; font-size: 1rem; }
.foot-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; align-content: start; }
.foot-nav a { text-decoration: none; font-weight: 500; opacity: .9; }
.foot-nav a:hover { color: var(--butter); opacity: 1; }
.foot-small { font-size: .88rem; opacity: .7; display: grid; gap: 10px; align-content: start; }
.foot-small a { text-decoration-color: var(--butter); }


/* ───────── Ecrane mici ───────── */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; width: 88%; margin: 16px auto 0; padding-bottom: 20px; }
  .stack { margin-inline: auto; }
  .clients { grid-template-columns: 1fr; }
  .clients-title { max-width: none; }
  .demo-grid, .prices-grid, .faq-grid, .end-grid { grid-template-columns: 1fr; }
  .prices-intro { position: static; }
  .prices-doodle { display: none; }
  .demo-note { display: none; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .friday-grid { grid-template-columns: 1fr; }
  .scene--after { margin-top: 0; }
  .who-row, .who-row--flip { grid-template-columns: 1fr; gap: 50px; }
  .who-row--flip .who-photo { order: 0; }
  .who-doodle { width: 120px; top: -56px; right: -6px; }
  .who-row--flip .who-doodle { left: auto; right: -6px; top: -60px; }
  .stops { grid-template-columns: 1fr; gap: 56px; padding-left: 0; }
  .stop:nth-child(n) { margin-top: 0; }
  .stop { display: grid; grid-template-columns: 52px 1fr; column-gap: 18px; }
  .stop .pin { grid-row: 1 / span 3; }
  .stop h3 { margin-top: 8px; }
  .stop-shot { max-width: 280px; }
  .route-runner { display: none; }
  .route-end { grid-template-columns: 52px 1fr; margin: 56px 0 0; width: auto; column-gap: 18px; }
  .route-end > img { grid-column: 2; grid-row: 1; width: 130px; }
  .route-end > div { grid-column: 2; }
  .route-end .pin { grid-row: 1 / span 2; align-self: start; }
  .route-end-h { white-space: normal; }
  .clients-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stamp { bottom: -44px; width: 96px; }
  .invite { margin-top: -60px; }
  .postcard { width: 88%; }
}
@media (max-width: 520px) {
  body { font-size: 1.0625rem; }
  .hero-note { margin-left: 0; }
  .foot-in { grid-template-columns: 1fr; }
  .menu { outline-offset: -8px; }
  .dish--house { margin-inline: -10px; padding-inline: 10px; }
  .invite { padding: 26px 22px 24px; }
  .invite-fields > div { grid-template-columns: 1fr; gap: 0; }
  .invite-fields dt { padding-bottom: 0; }
}

/* Mișcare redusă: totul pe loc și vizibil de la început. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .awning, .js .ht-lead, .js .ht-blank::after, .js .tent, .js .stamp, .js .inbox li { opacity: 1; transform: none; }
  .js .ht-word, .js .invite-fields dd { clip-path: none; }
  .js .hero-art .stack img.is-on { opacity: 1; }
  .js .tent { transform: rotate(-5deg); }
  .js .stamp { transform: rotate(-14deg); opacity: .92; }
  .reel-row { overflow-x: auto; }
}
