/* Vitalmove — stil comun pentru toate paginile (se încarcă DUPĂ stilul inline al paginii).
   Valorile urmează design-system/vitalmove/MASTER.md. Folosește variabilele paginii (--forest, --ochre, ...). */

/* ---- Sticky funcțional ----
   `overflow-x:hidden` pe html ȘI pe body făcea din body un container de derulare, iar `position:sticky`
   (meniul de sus, bara de grupe) nu se mai lipea. `clip` blochează la fel scroll-ul orizontal, fără acest efect. */
html, body{ overflow-x:clip; }

/* ---- Accesibilitate: link „Sari la conținut” ---- */
.vm-skip{ position:absolute; left:12px; top:-60px; z-index:200; padding:10px 16px; background:var(--paper); color:var(--teal-deep); font-weight:600; border:2px solid var(--ochre-deep); border-radius:3px; text-decoration:none; transition:top .15s ease; }
.vm-skip:focus{ top:12px; }

/* ---- Ținte de atingere de 44 px pe mobil / touch ---- */
@media (max-width:860px), (pointer:coarse){
  .cta-btn{ min-height:44px; }
  .burger{ width:44px; height:44px; }
  .brand{ min-height:44px; display:inline-flex; align-items:center; }
  a.cb-v{ display:inline-block; padding:8px 0; }
  .foot-links a, .foot-social a{ display:inline-flex; align-items:center; min-height:44px; }
}

/* ---- Buton „Sună” în antet: vizibil la toate lățimile (culori fixe, contrast bun pe fundalul închis) ---- */
.nav-actions{ display:flex; align-items:center; gap:12px; }
.nav-call{ display:inline-flex; align-items:center; justify-content:center; flex:none; width:44px; height:44px; border-radius:50%; background:#F7907B; color:#0A3A3F; font-weight:700; font-size:14.5px; text-decoration:none; border:1px solid #F7907B; transition:background .2s ease; }
.nav-call:hover{ background:#F58C7A; }
@media (max-width:860px){
  .nav-actions{ margin-left:auto; margin-right:2px; }
  header .brand{ font-size:min(17px,4vw); }
}
/* Laptop pe jumătate de ecran / tabletă pe orizontal: meniul complet nu încape, folosim burger + apel */
@media (min-width:861px) and (max-width:1090px){
  header .nav-links, header .nav-actions .cta-btn{ display:none; }
  header .burger{ display:block; width:44px; height:44px; }
  .nav-actions{ margin-left:auto; margin-right:2px; }
}

/* ---- Mișcare (js/vm-motion.js): titluri dintr-o mască, ilustrații desenate ---- */
.vm-w{ display:inline-block; overflow:hidden; vertical-align:top; padding:.14em 0 .18em; margin:-.14em 0 -.18em; }
.vm-wi{ display:inline-block; will-change:transform; }
.vm-js [data-vm-split]{ visibility:hidden; animation: vmShow 0s linear 2.5s forwards; }
@keyframes vmShow{ to{ visibility:visible; } }

/* ---- Banda finală: mesaj + card de contact, cercuri concentrice ---- */
.cta-band{ position:relative; overflow:hidden; display:grid; grid-template-columns:1.15fr .85fr; gap:48px; align-items:center; text-align:left; padding:58px 52px; }
.cta-band .cb-copy, .cta-band .cb-card{ position:relative; z-index:1; }
.cta-band .eyebrow{ justify-content:flex-start; }
.cta-band p{ margin-left:0; margin-right:0; }
.cta-band .btns{ justify-content:flex-start; }
.cb-rings{ position:absolute; right:-110px; top:50%; transform:translateY(-50%); width:520px; height:520px; fill:none; stroke:var(--ochre); stroke-width:1; opacity:.28; pointer-events:none; }
.cb-card{ list-style:none; margin:0; padding:6px 26px; background:rgba(243,248,247,.06); border:1px solid rgba(243,248,247,.16); border-radius:4px; backdrop-filter:blur(2px); }
.cb-card li{ padding:17px 0; border-bottom:1px solid rgba(243,248,247,.14); display:flex; flex-direction:column; gap:3px; }
.cb-card li:last-child{ border-bottom:0; }
.cb-k{ font-family:'IBM Plex Mono',monospace; font-size:11.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--ochre); }
.cb-v{ font-family:'Spectral',Georgia,serif; font-size:22px; font-weight:600; color:var(--on-forest); text-decoration:none; line-height:1.25; }
a.cb-v{ width:fit-content; background:linear-gradient(var(--ochre),var(--ochre)) 0 100%/0 1px no-repeat; transition:background-size .35s ease, color .25s ease; }
a.cb-v:hover, a.cb-v:focus-visible{ background-size:100% 1px; color:var(--ochre); }
.cb-s{ font-size:13.5px; color:var(--on-forest-soft); }
.cb-card li .cb-v + .cb-v{ margin-top:6px; }
@media (max-width:860px){
  .cta-band{ grid-template-columns:1fr; gap:32px; padding:42px 24px; }
  .cb-rings{ width:380px; height:380px; right:-130px; top:-70px; transform:none; opacity:.2; }
}

/* Focus vizibil pentru tastatură, pe tot site-ul */
:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid var(--ochre,#F7907B);outline-offset:3px;border-radius:4px}

/* Program în cardul de contact: aceeași structură ca în pagina Contact (zi stânga, ore dreapta) */
.cb-hours{ display:flex; flex-direction:column; margin-top:4px; }
.cb-row{ display:flex; align-items:baseline; justify-content:space-between; gap:14px; padding:9px 0; border-bottom:1px solid rgba(243,248,247,.14); }
.cb-row:first-child{ border-top:1px solid rgba(243,248,247,.14); }
.cb-day{ font-family:'Spectral',Georgia,serif; font-size:19px; font-weight:600; line-height:1.3; color:var(--on-forest); }
.cb-time{ font-family:'IBM Plex Mono',monospace; font-size:14.5px; letter-spacing:.02em; color:var(--ochre); white-space:nowrap; font-variant-numeric:tabular-nums; }
.cb-hours + .cb-s{ margin-top:8px; line-height:1.5; }
@media (max-width:480px){ .cb-row{ flex-direction:column; gap:1px; } }


/* Logo B (2026-11-04): lockup orizontal în loc de pastilă + text */
.brand img.brand-mark{ width:auto; height:24px; border-radius:0; box-shadow:none; flex-shrink:0; }
@media (max-width:420px){ .brand img.brand-mark{ height:20px; } }

/* ---- Titluri: interlinie strânsă (altfel moștenesc 1.6 din body și titlurile pe 2 rânduri par rupte) ---- */
h1,h2{ line-height:1.2; }
h3{ line-height:1.3; }

/* ---- Mobil: fără spațiu mort între antet și primul titlu ---- */
@media (max-width:760px){
  html body .hero, html body .page-hero, html body .cond-hero{ padding-top:26px; }
  html body .hero{ padding-bottom:36px; }
  html body .hero-grid{ gap:24px; }
  html body footer .foot-links{ row-gap:0; column-gap:20px; }
}


/* ---- Footer (2026-11-12): un rând cu telefonul, programul și zonele, ca pagina să nu se termine în gol ---- */
.foot-info{ list-style:none; margin:0 0 30px; padding:0 0 28px; display:grid; grid-template-columns:repeat(4,auto); justify-content:space-between; gap:18px 32px; border-bottom:1px solid rgba(255,255,255,.08); }
.foot-info li{ display:flex; flex-direction:column; gap:5px; }
.foot-info li > :last-child{ font-family:'Spectral',Georgia,serif; font-size:19px; font-weight:600; line-height:1.25; color:var(--on-forest,#F3F8F7); }
.foot-info a{ width:fit-content; background:linear-gradient(var(--ochre,#F7907B),var(--ochre,#F7907B)) 0 100%/0 1px no-repeat; transition:background-size .35s ease, color .25s ease; }
.foot-info a:hover, .foot-info a:focus-visible{ background-size:100% 1px; color:var(--ochre,#F7907B); }
@media (max-width:760px){
  .foot-info{ grid-template-columns:1fr 1fr; justify-content:stretch; gap:20px 16px; margin-bottom:22px; padding-bottom:22px; }
  .foot-info li > :last-child{ font-size:17px; }
  .foot-info a{ display:inline-flex; align-items:center; min-height:44px; margin:-10px 0; }
}

/* ---- Banner de cookie-uri pe telefon: compact, ca să nu acopere o treime din primul ecran ---- */
@media (max-width:600px){
  .cookie-banner{ padding:12px 16px 14px; gap:10px; justify-content:stretch; }
  .cookie-banner p{ font-size:12.5px; line-height:1.45; max-width:none; }
  .cookie-actions{ width:100%; gap:8px; }
  .cookie-actions button{ flex:1; padding:10px 12px; min-height:44px; }
  .whatsapp-float.raised{ bottom:168px; }
}

/* ---- Titlurile din primul ecran: vizibile imediat (vezi js/vm-motion.js) ---- */
.vm-js .hero [data-vm-split], .vm-js .page-hero [data-vm-split], .vm-js .booking-card [data-vm-split]{ visibility:visible; animation:none; }

/* ---- Poze WebP (tools/webp.py): <picture> nu creează o cutie proprie, deci aranjarea rămâne cea a <img> ---- */
picture{ display:contents; }
picture > source{ display:none; }   /* altfel, cu display:contents, <source> devine un element gol în grilă/flex */

/* ---- Intrarea primului ecran (2026-11-13): doar CSS, pornește imediat, nu depinde de scripturi.
   Fără opacitate 0 (altfel PageSpeed numără textul ca „nepictat”): urcă 16 px și se luminează de la 0,35. ---- */
@keyframes vmRise{ from{ opacity:.35; transform:translateY(16px); } to{ opacity:1; transform:none; } }
.page-hero > .wrap > *, .hero .hv2-copy > *, .booking-card > *{ animation:vmRise .8s cubic-bezier(.2,.7,.2,1) both; }
.page-hero > .wrap > :nth-child(2), .hero .hv2-copy > :nth-child(2), .booking-card > :nth-child(2){ animation-delay:.07s; }
.page-hero > .wrap > :nth-child(3), .hero .hv2-copy > :nth-child(3), .booking-card > :nth-child(3){ animation-delay:.14s; }
.page-hero > .wrap > :nth-child(4), .hero .hv2-copy > :nth-child(4), .booking-card > :nth-child(4){ animation-delay:.21s; }
.page-hero > .wrap > :nth-child(n+5), .hero .hv2-copy > :nth-child(n+5), .booking-card > :nth-child(n+5){ animation-delay:.28s; }
@media (prefers-reduced-motion: reduce){ .page-hero > .wrap > *, .hero .hv2-copy > *, .booking-card > *{ animation:none; } }
