/* =========================================================
   NEXTHERAPY — stiluri
   Paletă 60 / 30 / 10:
   60% Ivory Porcelain  #F1EADB (fundal)
   30% Jade Lacquer     #13453A (text, secțiuni închise)
   10% Scarlet Signal   #FF3A24 (accente, CTA)
   ========================================================= */

:root {
  --ivory: #F1EADB;
  --ivory-2: #E8DEC9;      /* ivory ușor mai închis pentru secțiuni alternante */
  --ivory-3: #FAF6EE;      /* carduri */
  --jade: #13453A;
  --jade-2: #0D332B;
  --jade-soft: rgba(19, 69, 58, .72);
  --scarlet: #FF3A24;
  --scarlet-2: #E52A15;
  --skin: #EBC7AC;
  --skin-line: #D9AE90;

  --polish: #13453A;       /* culoarea curentă a ojei (schimbată de paletă) */

  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --radius-lg: 32px;
  --shadow: 0 18px 40px -22px rgba(13, 51, 43, .45);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--jade);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--scarlet); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--jade); color: var(--ivory); padding: .6rem 1rem; border-radius: 8px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 28px; } }

.section { padding: 88px 0; }
@media (min-width: 1024px) { .section { padding: 120px 0; } }
.section-soft { background: var(--ivory-2); }
.section-dark { background: var(--jade); color: var(--ivory); }

.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--scarlet); margin-bottom: .9rem;
}
.section-dark .eyebrow { color: var(--scarlet); }
.section-title { font-size: clamp(2.1rem, 5vw, 3.4rem); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-lead { color: var(--jade-soft); font-size: 1.05rem; }
.section-dark .section-lead { color: rgba(241, 234, 219, .75); }

/* ---------- Butoane („lac care se umple” la hover) ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .8rem 1.6rem;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; font-size: 1rem; letter-spacing: .02em; text-decoration: none;
  transition: color .35s var(--ease), border-color .35s var(--ease), transform .25s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleY(0); transform-origin: bottom;
  border-radius: inherit;
  transition: transform .45s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleY(1); }
.btn:active { transform: scale(.97); }

.btn-accent { background: var(--scarlet); color: #fff; }
.btn-accent::before { background: var(--jade); }

.btn-outline { border-color: var(--jade); color: var(--jade); }
.btn-outline::before { background: var(--jade); }
.btn-outline:hover, .btn-outline:focus-visible { color: var(--ivory); }

.btn-outline-light { border-color: var(--ivory); color: var(--ivory); }
.btn-outline-light::before { background: var(--ivory); }
.btn-outline-light:hover, .btn-outline-light:focus-visible { color: var(--jade); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.logo-mark {
  width: 18px; height: 26px; border-radius: 9px 9px 6px 6px;
  background: var(--scarlet);
  box-shadow: inset 3px -3px 0 rgba(255,255,255,.25);
}
.logo-text { font-family: var(--font-serif); font-size: 1.55rem; font-weight: 700; letter-spacing: .08em; }
.logo-text em { font-style: normal; font-weight: 500; }
.logo-by {
  font-family: "Great Vibes", "Brush Script MT", cursive; font-size: 1.45rem; line-height: 1;
  color: var(--scarlet); margin-left: -.1rem; transform: translateY(.35rem);
}
@media (max-width: 380px) { .logo-text { font-size: 1.3rem; } .logo-by { font-size: 1.2rem; } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .4s var(--ease), height .4s var(--ease), box-shadow .4s var(--ease), color .4s;
}
.site-header.scrolled {
  --header-h: 62px;
  height: 62px;
  background: var(--jade); color: var(--ivory);
  box-shadow: 0 10px 30px -18px rgba(0,0,0,.5);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; padding: 0 11px; background: none; border: 0; z-index: 110;
}
.nav-toggle span {
  display: block; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .35s var(--ease), opacity .25s;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav {
  position: fixed; inset: 0; z-index: 105;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
  background: var(--jade); color: var(--ivory);
  clip-path: circle(0 at calc(100% - 38px) 38px);
  transition: clip-path .6s var(--ease);
  visibility: hidden;
}
.nav-open .nav { clip-path: circle(150% at calc(100% - 38px) 38px); visibility: visible; }
.nav-open .site-header { color: var(--ivory); }
.nav ul { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.nav a:not(.btn) {
  font-family: var(--font-serif); font-size: 2rem; text-decoration: none; position: relative;
}

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .nav {
    position: static; flex-direction: row; gap: 2rem;
    background: none; color: inherit; clip-path: none; visibility: visible;
  }
  .nav ul { flex-direction: row; gap: 1.8rem; }
  .nav a:not(.btn) { font-family: var(--font-sans); font-size: .95rem; font-weight: 500; }
  .nav a:not(.btn)::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
    background: var(--scarlet); transform: scaleX(0); transform-origin: right;
    transition: transform .35s var(--ease);
  }
  .nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
  .nav-cta { min-height: 42px; padding: .55rem 1.25rem; font-size: .9rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 32px) 0 64px;
}
.hero-grid { display: grid; gap: 48px; align-items: center; position: relative; z-index: 1; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.1fr .9fr; } }

.hero-title { font-size: clamp(2.8rem, 8.5vw, 5.6rem); font-weight: 600; letter-spacing: -.01em; }
.hero-lead { font-size: 1.12rem; max-width: 520px; color: var(--jade-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero-visual { position: relative; justify-self: center; width: min(100%, 420px); }
.hero-arch {
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  background:
    radial-gradient(120% 80% at 30% 10%, rgba(255,255,255,.14), transparent 60%),
    linear-gradient(160deg, #1b5a4c, var(--jade) 55%, var(--jade-2));
  display: grid; place-items: center;
  box-shadow: var(--shadow);
}
.hero-bottle { width: 52%; animation: bottle-float 6s ease-in-out infinite; }
.hero-bottle .cap { fill: var(--jade-2); }
.hero-bottle .neck { fill: #0a2822; }
.hero-bottle .glass { fill: rgba(241,234,219,.22); stroke: rgba(241,234,219,.5); stroke-width: 2; }
.hero-bottle .polish { fill: var(--scarlet); }
.hero-badge {
  position: absolute; left: -8px; bottom: 28px;
  background: var(--ivory-3); color: var(--jade);
  border-radius: 50%; width: 118px; height: 118px;
  display: grid; place-content: center; text-align: center;
  font-size: .78rem; line-height: 1.25; letter-spacing: .04em;
  box-shadow: var(--shadow);
  animation: badge-spin 18s linear infinite;
}
.hero-badge strong { font-family: var(--font-serif); font-size: 1.7rem; color: var(--scarlet); }

@keyframes bottle-float {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-14px) rotate(3deg); }
}
@keyframes badge-spin {
  0%, 100% { transform: rotate(-8deg); }
  50% { transform: rotate(8deg); }
}

/* picături de ojă care plutesc */
.hero-drops { position: absolute; inset: 0; pointer-events: none; }
.drop { position: absolute; width: 40px; fill: var(--scarlet); opacity: .9; animation: drop-float 9s ease-in-out infinite; }
.drop.d1 { top: 18%; left: 6%;  width: 22px; animation-delay: -1s; }
.drop.d2 { top: 70%; left: 44%; width: 16px; fill: var(--jade); opacity: .5; animation-delay: -3s; }
.drop.d3 { top: 14%; right: 8%; width: 30px; fill: var(--jade); opacity: .25; animation-duration: 11s; }
.drop.d4 { bottom: 8%; right: 30%; width: 20px; animation-delay: -5s; animation-duration: 12s; }
.drop.d5 { top: 44%; left: 52%; width: 12px; opacity: .6; animation-delay: -7s; }
@keyframes drop-float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(10px, -22px) rotate(8deg); }
  66% { transform: translate(-8px, 12px) rotate(-6deg); }
}

/* titlu literă cu literă */
.js .hero-title .char {
  display: inline-block; opacity: 0;
  transform: translateY(.45em) rotate(4deg);
  animation: char-in .7s var(--ease) forwards;
  animation-delay: calc(var(--i) * 28ms + 150ms);
}
.hero-title .word { display: inline-block; white-space: nowrap; }
@keyframes char-in { to { opacity: 1; transform: none; } }

/* ---------- Straturile unei manichiuri ---------- */
.layers { background: var(--ivory-2); position: relative; }
.layers-sticky { padding: 88px 0; }
.layers-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) {
  .layers-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  /* modul legat de scroll: secțiune înaltă, conținut lipit de ecran */
  .layers.is-scroll .layers-track { height: 320vh; }
  .layers.is-scroll .layers-sticky {
    position: sticky; top: 0; height: 100vh;
    display: flex; align-items: center; padding: var(--header-h) 0 0;
  }
  .layers.is-scroll .layers-visual { width: min(100%, 320px, calc((100vh - 170px) / 1.9)); }
}

.layer-steps { display: grid; gap: 14px; margin-top: 28px; counter-reset: s; }
.layer-steps li {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 16px 18px; border-radius: var(--radius);
  background: transparent;
  opacity: .45;
  transition: opacity .5s var(--ease), background-color .5s var(--ease), transform .5s var(--ease);
}
.layer-steps li.active { opacity: 1; background: var(--ivory-3); transform: translateX(6px); box-shadow: var(--shadow); }
.layer-steps h3 { font-size: 1.45rem; margin-bottom: .15em; }
.layer-steps p { margin: 0; color: var(--jade-soft); font-size: .95rem; }
.step-num {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 2px solid var(--jade); font-weight: 700; font-size: .85rem;
  transition: background-color .4s, color .4s, border-color .4s;
}
.layer-steps li.active .step-num { background: var(--scarlet); border-color: var(--scarlet); color: #fff; }

.layers-visual { justify-self: center; width: min(100%, 360px); }
/* pe mobil: titlu → unghia → pași, ca animația să fie văzută înainte de listă */
@media (max-width: 1023px) {
  .layers-grid { gap: 0; }
  .layers-copy { display: contents; }
  .layers-copy .eyebrow, .layers-copy .section-title { order: -1; }
  .layers-visual { width: min(70%, 240px); margin: 12px auto 8px; }
  .layer-steps { order: 1; }
  .drop.d1, .drop.d5 { display: none; }
}
.nail-svg {
  width: 100%; height: auto;
  /* degetul se estompează jos, pensula intră de sus */
  -webkit-mask-image: linear-gradient(transparent 0, #000 8%, #000 80%, transparent 100%);
  mask-image: linear-gradient(transparent 0, #000 8%, #000 80%, transparent 100%);
}
.nail-svg .skin { fill: var(--skin); }
.nail-svg .skin-line { fill: none; stroke: var(--skin-line); stroke-width: 3; stroke-linecap: round; }
.nail-natural { fill: #F4D3C6; stroke: #E5B9A8; stroke-width: 2; }
.lunula { fill: none; stroke: rgba(255,255,255,.7); stroke-width: 6; stroke-linecap: round; }
.nail-polish { fill: var(--polish); transition: fill .6s var(--ease); }
.gloss { fill: none; stroke: #fff; stroke-width: 9; stroke-linecap: round; opacity: .55; }
.layer-prep { transition: opacity .3s; }

.shine { opacity: 0; }
.shine.run { animation: shine-sweep 1.3s var(--ease) forwards; }
@keyframes shine-sweep {
  0% { opacity: 1; transform: translateX(0); }
  100% { opacity: 1; transform: translateX(300px); }
}

.brush { transition: opacity .3s; opacity: 0; }
.brush-handle { fill: var(--jade-2); }
.brush-tip { fill: var(--polish); transition: fill .6s var(--ease); }

/* ---------- Servicii ---------- */
.services-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: var(--ivory-3);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid rgba(19,69,58,.08);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.service-card h3 { font-size: 1.75rem; }
.service-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--jade); display: grid; place-items: center; margin-bottom: 18px;
  transition: background-color .4s, transform .6s var(--ease);
}
.service-card:hover .service-icon { background: var(--scarlet); transform: rotate(-12deg); }
.service-icon svg { width: 28px; fill: none; stroke: var(--ivory); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

.price-list li {
  display: grid; grid-template-columns: 1fr auto; column-gap: 10px;
  padding: 11px 0; border-bottom: 1px dashed rgba(19,69,58,.2); font-size: .95rem;
}
.price-list li:last-child { border-bottom: 0; }
.price-list .dur { grid-column: 1; font-size: .8rem; color: var(--jade-soft); }
.price-list .price { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-weight: 700; white-space: nowrap; }

/* ---------- Paletă culori ---------- */
.palette-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .palette-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
/* pe mobil: titlu → poza → sticluțe, ca schimbarea de culoare să fie vizibilă */
@media (max-width: 1023px) {
  .palette-grid { gap: 28px; }
  .palette-copy { display: contents; }
  .palette-copy > header { order: -1; }
  .bottles { order: 1; margin: 0 auto; width: 100%; }
}

.bottles {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 12px; margin-top: 32px; max-width: 440px;
  padding: 18px 14px 22px; border-radius: var(--radius-lg);
  background: rgba(241,234,219,.1); border: 1px solid rgba(241,234,219,.14);
}
.bottle {
  position: relative; background: none; border: 0; padding: 0;
  height: 96px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  transition: transform .4s var(--ease);
}
/* capac */
.bottle::before {
  content: ""; width: 22px; height: 34px; border-radius: 5px 5px 2px 2px;
  background: linear-gradient(90deg, #0a2822, #1c4d42 40%, #0a2822);
  border: 1px solid rgba(241,234,219,.25);
}
/* sticlă */
.bottle::after {
  content: ""; width: 48px; height: 52px; border-radius: 14px 14px 16px 16px;
  background:
    linear-gradient(100deg, rgba(255,255,255,.45) 0 12%, transparent 13% 100%),
    var(--c);
  border: 2px solid rgba(241,234,219,.35);
  box-shadow: inset 0 -6px 0 rgba(0,0,0,.12);
  transition: box-shadow .3s, border-color .3s;
}
.bottle:hover { transform: translateY(-6px) rotate(-4deg); }
.bottle[aria-checked="true"] { transform: translateY(-10px); }
.bottle[aria-checked="true"]::after { border-color: var(--scarlet); box-shadow: 0 0 0 4px rgba(255,58,36,.35), inset 0 -6px 0 rgba(0,0,0,.12); }
.bottle:focus-visible { outline-offset: 6px; }

.hand-wrap {
  justify-self: center; width: min(100%, 540px); text-align: center;
  background:
    radial-gradient(120% 90% at 50% 0%, #FBF7EF, var(--ivory) 60%, var(--ivory-2));
  border-radius: var(--radius-lg);
  padding: 40px 22px 22px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.5);
  color: var(--jade);
}
.hand-wrap .color-name { margin-top: 10px; }
.hand-wrap .color-dot { border-color: var(--jade); }
/* evantai de unghii de probă */
.fan-svg { width: 100%; height: auto; overflow: visible; }
.swatch {
  transform: rotate(var(--a));
  transition: transform 1.1s var(--ease);
  transition-delay: calc(var(--i) * 45ms);
}
.js .hand-wrap:not(.in) .swatch { transform: rotate(0deg); }   /* evantaiul se deschide la apariție */
.stick { fill: rgba(255,255,255,.55); stroke: rgba(19,69,58,.22); stroke-width: 1; }
.nail-fill {
  fill: var(--polish);
  transition: fill .55s ease;
  transition-delay: calc(var(--i) * 55ms);                      /* culoarea trece ca un val */
}
.spec { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; opacity: .8; }
.spec-core { fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; opacity: .95; }
.spec-2 { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; opacity: .35; }
.rim { fill: none; stroke: rgba(0,0,0,.2); stroke-width: 1; }
.ring { fill: none; stroke: url(#ringGrad); stroke-width: 6; }
.ring-shine { fill: none; stroke: #fff; stroke-width: 1.2; opacity: .6; stroke-dasharray: 18 90; }
.fan-svg.pop .tip { animation: tip-lift .75s var(--ease) both; animation-delay: calc(var(--i) * 55ms); }
@keyframes tip-lift { 45% { transform: translateY(-16px); } }

.color-name {
  display: inline-flex; align-items: center; gap: .6rem; margin-top: 18px;
  font-family: var(--font-serif); font-size: 1.6rem;
}
.color-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--polish); border: 2px solid var(--ivory); transition: background-color .6s; }

/* ---------- Galerie ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; grid-auto-rows: 180px; grid-auto-flow: dense; }
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 16px; } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; } }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }

.g-item { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; }
.g-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; overflow: hidden; }
.g-open img, .g-open .ph { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.g-item:hover .g-open img, .g-item:hover .g-open .ph { transform: scale(1.07); }
.g-item figcaption {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(241,234,219,.92); color: var(--jade);
  padding: .3rem .8rem; border-radius: 999px; font-size: .8rem; font-weight: 600;
  transform: translateY(8px); opacity: 0; transition: transform .4s var(--ease), opacity .4s;
  pointer-events: none;
}
.g-item:hover figcaption, .g-open:focus-visible + figcaption { transform: none; opacity: 1; }
@media (hover: none) { .g-item figcaption { transform: none; opacity: 1; } }

/* placeholder-e pentru poze (unghii desenate din CSS) */
.ph {
  --a: var(--jade); --b: var(--scarlet);
  background:
    radial-gradient(14px 22px at 22% 46%, var(--a) 98%, transparent) ,
    radial-gradient(15px 24px at 40% 38%, var(--a) 98%, transparent),
    radial-gradient(15px 24px at 58% 36%, var(--a) 98%, transparent),
    radial-gradient(14px 22px at 76% 42%, var(--a) 98%, transparent),
    linear-gradient(160deg, var(--skin) 0%, #e0b597 100%);
  position: relative;
}
.ph::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.18), transparent 50%, rgba(0,0,0,.12));
}
.ph-french { background:
    radial-gradient(14px 8px at 22% calc(46% - 15px), var(--b) 98%, transparent),
    radial-gradient(15px 8px at 40% calc(38% - 17px), var(--b) 98%, transparent),
    radial-gradient(15px 8px at 58% calc(36% - 17px), var(--b) 98%, transparent),
    radial-gradient(14px 8px at 76% calc(42% - 15px), var(--b) 98%, transparent),
    radial-gradient(14px 22px at 22% 46%, var(--a) 98%, transparent),
    radial-gradient(15px 24px at 40% 38%, var(--a) 98%, transparent),
    radial-gradient(15px 24px at 58% 36%, var(--a) 98%, transparent),
    radial-gradient(14px 22px at 76% 42%, var(--a) 98%, transparent),
    linear-gradient(160deg, var(--skin), #e0b597);
}
.ph-dots { background:
    radial-gradient(3px 3px at 40% 34%, var(--b) 98%, transparent),
    radial-gradient(3px 3px at 58% 32%, var(--b) 98%, transparent),
    radial-gradient(3px 3px at 22% 42%, var(--b) 98%, transparent),
    radial-gradient(3px 3px at 76% 38%, var(--b) 98%, transparent),
    radial-gradient(14px 22px at 22% 46%, var(--a) 98%, transparent),
    radial-gradient(15px 24px at 40% 38%, var(--a) 98%, transparent),
    radial-gradient(15px 24px at 58% 36%, var(--a) 98%, transparent),
    radial-gradient(14px 22px at 76% 42%, var(--a) 98%, transparent),
    linear-gradient(160deg, var(--skin), #e0b597);
}
.ph-ombre, .ph-chrome { background:
    radial-gradient(14px 22px at 22% 46%, var(--a) 98%, transparent),
    radial-gradient(15px 24px at 40% 38%, var(--a) 98%, transparent),
    radial-gradient(15px 24px at 58% 36%, var(--a) 98%, transparent),
    radial-gradient(14px 22px at 76% 42%, var(--a) 98%, transparent),
    linear-gradient(160deg, var(--b), var(--skin) 70%);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(13, 51, 43, .92);
  display: grid; place-items: center; padding: 16px;
  opacity: 0; transition: opacity .35s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.open { opacity: 1; }
.lb-content { margin: 0; width: min(92vw, 820px); height: min(80vh, 640px); border-radius: var(--radius-lg); overflow: hidden; transform: scale(.92); transition: transform .45s var(--ease); position: relative; }
.lightbox.open .lb-content { transform: none; }
.lb-content img, .lb-content .ph { width: 100%; height: 100%; object-fit: contain; }
.lb-content figcaption { position: absolute; left: 16px; bottom: 16px; background: var(--ivory); color: var(--jade); padding: .4rem 1rem; border-radius: 999px; font-weight: 600; }
.lb-close {
  position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: var(--scarlet); color: #fff; font-size: 1.8rem; line-height: 1;
}

/* ---------- Despre / echipa ---------- */
.about-copy { max-width: 720px; }
.about-copy p { font-size: 1.05rem; color: var(--jade-soft); }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 32px; }
.about-stats li { border-top: 2px solid var(--jade); padding-top: 14px; }
.about-stats strong { display: block; font-family: var(--font-serif); font-size: clamp(2rem, 6vw, 3rem); line-height: 1; color: var(--jade); }
.about-stats strong::after { content: "+"; color: var(--scarlet); }
.about-stats span { font-size: .85rem; color: var(--jade-soft); }

.team-title { font-size: 2rem; margin-top: 72px; }
.team-grid { display: grid; gap: 20px; margin-top: 24px; }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.team-card {
  background: var(--ivory-3); border-radius: var(--radius-lg); padding: 28px; text-align: center;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.avatar {
  width: 112px; height: 112px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-serif); font-size: 2.6rem; color: var(--ivory);
  background: linear-gradient(150deg, #1d5c4e, var(--jade));
  border: 4px solid var(--ivory); box-shadow: 0 0 0 2px var(--jade);
}
.team-card h4 { font-size: 1.5rem; margin-bottom: .2em; }
.team-card p { margin: 0; color: var(--jade-soft); font-size: .9rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1.1fr; align-items: stretch; } }
.contact-list li { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid rgba(241,234,219,.18); }
.contact-list .label { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(241,234,219,.6); }
.contact-list a { text-decoration: none; border-bottom: 1px solid var(--scarlet); justify-self: start; }
.hours { width: 100%; border-collapse: collapse; margin-top: 28px; }
.hours caption { text-align: left; font-family: var(--font-serif); font-size: 1.6rem; margin-bottom: 8px; }
.hours th, .hours td { padding: 8px 0; text-align: left; font-weight: 400; border-bottom: 1px dashed rgba(241,234,219,.18); }
.hours td { text-align: right; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.map { border-radius: var(--radius-lg); overflow: hidden; min-height: 360px; background: var(--jade-2); }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; filter: grayscale(.4) contrast(1.05); }

/* ---------- Footer ---------- */
.site-footer { background: var(--jade-2); color: var(--ivory); padding: 40px 0 96px; }
.footer-inner { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
@media (min-width: 1024px) { .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; } .site-footer { padding-bottom: 40px; } }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer nav a { text-decoration: none; opacity: .8; transition: opacity .3s, color .3s; }
.site-footer nav a:hover { opacity: 1; color: var(--scarlet); }
.copy { margin: 0; font-size: .85rem; opacity: .65; }

/* ---------- Buton flotant WhatsApp ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--scarlet); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 28px -10px rgba(255,58,36,.7);
  transition: transform .3s var(--ease), background-color .3s;
}
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--scarlet);
  animation: pulse 2.4s ease-out infinite;
}
.wa-float:hover { transform: scale(1.08); background: var(--jade); }
.wa-float svg { width: 30px; fill: currentColor; }
@keyframes pulse {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* ---------- Reveal la scroll ---------- */
.js .reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js .reveal.in { opacity: 1; transform: none; }

/* paleta: sticluțele apar în cascadă */
.js .bottles .bottle { opacity: 0; transform: translateY(24px) scale(.9); }
.js .bottles.in .bottle {
  opacity: 1; transform: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: calc(var(--i) * 70ms);
}
.js .bottles.in .bottle:hover { transform: translateY(-6px) rotate(-4deg); transition-delay: 0s; }
.js .bottles.in .bottle[aria-checked="true"] { transform: translateY(-10px); }

/* ---------- 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; }
  .js .reveal, .js .bottles .bottle, .js .hero-title .char { opacity: 1 !important; transform: none !important; }
  .wa-float::before { display: none; }
}
