/* B2O — site public. Paletă: gri (suprafața) → albastru (adâncul). */
:root {
  --ink: #0B1520;
  --deep: #0B2038;
  --deep-2: #0E2A47;
  --blue: #1D6FE0;
  --blue-2: #3D8CF0;
  --sky: #6EC1FF;
  --foam: #EAF2F8;
  --g1: #F3F5F7;
  --g2: #E3E7EB;
  --g3: #C3CAD1;
  --g4: #8A96A2;
  --g5: #4A5662;
  --gold-1: #FFF2C4; --gold-2: #E5B94E; --gold-3: #9C6E12;
  --silver-1: #FFFFFF; --silver-2: #BCD3E6; --silver-3: #5E7A94;
  --bronze-1: #FFD9B8; --bronze-2: #C9844E; --bronze-3: #7A4316;
  --radius: 22px;
  --display: 'Unbounded', 'Arial Black', system-ui, sans-serif;
  --text: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --water: 0; /* 0..1, setat din JS la scroll */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--text);
  color: var(--ink);
  background: var(--g1);
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0; letter-spacing: -.02em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  font: 700 12px/1 var(--text);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 14px;
}

/* ---------- Butoane ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  border-radius: 999px; border: 0;
  font: 700 15px/1 var(--text);
  text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 30px -10px rgba(29, 111, 224, .7); }
.btn-primary:hover { background: var(--blue-2); }
.btn-line { background: transparent; color: var(--deep); box-shadow: inset 0 0 0 2px currentColor; }
.btn-line:hover { background: rgba(11, 32, 56, .06); }
.btn-line.light { color: #fff; }
.btn-line.light:hover { background: rgba(255, 255, 255, .1); }
.btn-ghost { background: rgba(255, 255, 255, .7); color: var(--deep); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); min-height: 44px; padding: 0 18px; }
.btn-wa { background: #1FA855; color: #fff; }
.btn-wa:hover { background: #22B95E; }

/* ---------- Header ---------- */
.top {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 12px max(16px, calc((100% - 1180px) / 2));
  transition: background .35s, box-shadow .35s, padding .35s;
}
.top.scrolled { background: rgba(243, 245, 247, .82); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 rgba(11, 21, 32, .08); padding-block: 8px; }
.top.on-deep { background: rgba(11, 32, 56, .72); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.top.on-deep .nav a { color: #fff; }
.brand-logo { display: block; position: relative; width: 84px; aspect-ratio: 562 / 308; }
.brand-logo img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .35s; }
.brand-logo .l-light { opacity: 0; }
.top.on-deep .l-light { opacity: 1; }
.top.on-deep .l-dark { opacity: 0; }
.nav { display: flex; gap: 6px; margin-left: auto; position: relative; }
/* Indicator animat: conturul alunecă la secțiunea curentă */
.nav-ind {
  position: absolute; top: 0; left: 0; height: 100%; width: 0;
  border-radius: 999px; pointer-events: none;
  border: 2px solid var(--blue);
  box-shadow: 0 0 0 4px rgba(29, 111, 224, .12), 0 6px 18px -6px rgba(29, 111, 224, .6);
  opacity: 0;
  transform: translateX(var(--x, 0));
  transition: transform .55s var(--ease), width .55s var(--ease), opacity .35s, border-color .35s, box-shadow .35s;
}
.nav-ind.on { opacity: 1; }
.nav-ind.pulse { animation: indPulse .6s var(--ease); }
@keyframes indPulse { 40% { box-shadow: 0 0 0 9px rgba(29, 111, 224, .18), 0 6px 18px -6px rgba(29, 111, 224, .6); } }
.top.on-deep .nav-ind { border-color: var(--sky); box-shadow: 0 0 0 4px rgba(110, 193, 255, .15), 0 0 22px -4px rgba(110, 193, 255, .7); }
.nav a.active { color: var(--blue); }
.top.on-deep .nav a.active { color: #fff; }
.nav a { position: relative; z-index: 1; transition: color .3s; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 14px; border-radius: 999px; color: var(--deep); transition: background .2s; }
.nav a:hover { background: rgba(29, 111, 224, .1); }
.call-top span { white-space: nowrap; }
@media (max-width: 860px) {
  .nav { display: none; }
  .call-top { margin-left: auto; }
}
@media (max-width: 420px) { .call-top span { display: none; } .call-top { width: 44px; padding: 0; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 120px 0 0;
  background:
    radial-gradient(120% 70% at 80% 0%, #FFFFFF 0%, transparent 60%),
    linear-gradient(180deg, var(--g1), var(--g2));
  overflow: hidden;
  isolation: isolate;
}
.hero-sky { width: min(1180px, 100% - 32px); margin-inline: auto; }
.hero-stage {
  position: relative;
  align-self: end;
  margin-top: 28px;
  --wl: calc(62% - var(--water) * 58%); /* linia apei urcă peste titlu */
}
.hero-title {
  font-size: clamp(46px, 10.4vw, 156px);
  font-weight: 800;
  line-height: .94;
  letter-spacing: -.045em;
  color: var(--deep);
  width: min(1180px, 100% - 32px);
  margin-inline: auto;
  position: relative;
  z-index: 1;
  padding-bottom: .12em;
}
.hero-title .line { display: block; }
.hero-title .accent { color: var(--blue); }
.hero-stage > .hero-title { clip-path: inset(0 0 calc(100% - var(--wl)) 0); }
.hero-under {
  position: absolute; inset: 0; z-index: 2;
  clip-path: inset(var(--wl) 0 0 0);
  pointer-events: none;
}
.hero-title.under { color: rgba(255, 255, 255, .92); filter: url(#refract); transform: translateY(.04em) scaleY(1.02); }
.hero-title.under .accent { color: var(--sky); }
.hero-water {
  position: absolute; left: 0; right: 0; bottom: -2px; z-index: 1;
  top: var(--wl);
  background:
    radial-gradient(60% 120% at 30% 0%, rgba(110, 193, 255, .45), transparent 70%),
    linear-gradient(180deg, var(--blue) 0%, var(--deep-2) 70%, var(--deep) 100%);
}
.waterline {
  position: absolute; left: 0; width: 200%; height: 46px; z-index: 3;
  top: calc(var(--wl) - 30px);
  animation: drift 14s linear infinite;
}
.wl-back { fill: rgba(110, 193, 255, .55); }
.wl-front { fill: var(--blue); animation: drift 9s linear infinite reverse; transform-origin: left; }
@keyframes drift { to { transform: translateX(-50%); } }
.hero-foot {
  position: relative; z-index: 4;
  background: var(--deep);
  color: #fff;
  padding: 26px 0 64px;
}
.hero-foot > * { width: min(1180px, 100% - 32px); margin-inline: auto; }
.lead { font-size: clamp(17px, 2vw, 21px); max-width: 34ch; margin-top: 0; margin-bottom: 26px; color: #D6E6F5; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn-line { color: #fff; }
.filters { position: absolute; }
@media (max-width: 700px) {
  .hero { min-height: 0; padding-top: 104px; }
  .hero-stage { margin-top: 56px; }
}

/* ---------- Secțiunea "sub apă" (instructori) ---------- */
.deep {
  position: relative;
  background: linear-gradient(180deg, var(--deep) 0%, var(--deep-2) 45%, #12406B 100%);
  color: #fff;
  padding: 72px 0 96px;
  overflow: hidden;
  isolation: isolate;
}
.caustics {
  position: absolute; inset: -20%; z-index: -1; opacity: .22;
  background:
    radial-gradient(closest-side, rgba(110, 193, 255, .9), transparent) 0 0 / 220px 160px,
    radial-gradient(closest-side, rgba(255, 255, 255, .6), transparent) 110px 80px / 260px 190px;
  filter: blur(18px);
  animation: caustics 22s ease-in-out infinite alternate;
}
@keyframes caustics { to { transform: translate3d(6%, 4%, 0) rotate(4deg) scale(1.08); } }
.sec-head { margin-bottom: 36px; max-width: 720px; }
.sec-head h2 { font-size: clamp(34px, 5.4vw, 64px); font-weight: 800; }
.sec-head.light .eyebrow { color: var(--sky); }
.sec-sub { color: var(--g5); font-size: 17px; margin: 14px 0 0; }
.light .sec-sub { color: #B9CEE2; }
.legend { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: #CFE0F0; margin-bottom: 8px; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.medal-mini { width: 22px; height: 22px; border-radius: 50%; display: inline-block; box-shadow: 0 0 0 2px rgba(255, 255, 255, .25); }
.medal-mini[data-kind="init"] { background: radial-gradient(circle at 35% 30%, #fff, var(--silver-2) 55%, var(--silver-3)); }
.medal-mini[data-kind="perf"] { background: radial-gradient(circle at 35% 30%, var(--gold-1), var(--gold-2) 55%, var(--gold-3)); }

/* Carusel */
.carousel {
  position: relative;
  height: clamp(560px, 74vw, 660px);
  perspective: 1600px;
  touch-action: pan-y;
  user-select: none; -webkit-user-select: none;
  cursor: grab;
  outline: none;
}
.carousel.dragging { cursor: grabbing; }
.ring { position: absolute; inset: 0; transform-style: preserve-3d; }
.card {
  --w: clamp(270px, 30vw, 360px);
  position: absolute; left: 50%; top: 24px;
  width: var(--w); margin-left: calc(var(--w) / -2);
  border-radius: 28px;
  padding: 12px 12px 20px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .06));
  border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .45);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}
.card .photo {
  position: relative;
  border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--g3);
}
.card .photo img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.card .photo::after { /* reflexie de sticlă */
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, .28) 0%, transparent 32%);
  mix-blend-mode: screen; pointer-events: none;
}
.card .medals { position: absolute; right: 10px; top: 10px; display: flex; gap: 6px; }
.card .meta { padding: 16px 8px 0; }
.card h3 { font-size: 23px; font-weight: 700; letter-spacing: -.02em; }
.card .age { color: #C5D8EA; font-size: 15px; margin: 6px 0 14px; }
.card .groups { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.chip { font-size: 12.5px; font-weight: 700; padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #E6F1FB; }
.card .btn { width: 100%; }
.card:not(.is-center) .btn { pointer-events: none; }
.medal { width: 54px; height: 64px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35)); }
.car-btn {
  position: absolute; top: 44%; z-index: 5;
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: #fff; cursor: pointer; display: grid; place-items: center;
  transition: background .2s;
}
.car-btn:hover { background: rgba(255, 255, 255, .24); }
.car-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.car-btn.prev { left: max(16px, calc(50% - 560px)); }
.car-btn.next { right: max(16px, calc(50% - 560px)); }
@media (max-width: 700px) { .car-btn { top: auto; bottom: 0; } .car-btn.prev { left: calc(50% - 64px); } .car-btn.next { right: calc(50% - 64px); } .carousel { height: 640px; } }
.car-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.car-dots i { width: 8px; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .3); transition: width .3s var(--ease), background .3s; }
.car-dots i.on { width: 26px; background: var(--sky); }

/* ---------- Servicii: culoare ---------- */
.lanes-sec { position: relative; background: var(--g1); }
.lanes-sec.pinned { height: 260vh; }
.lanes-sticky { padding: 88px 0 64px; }
.lanes-sec.pinned .lanes-sticky { position: sticky; top: 0; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 72px 0 32px; }
.lanes { list-style: none; margin: 0; padding: 0; border-block: 3px solid var(--g3); }
.lane {
  --p: 0; /* progresul culoarului 0..1 */
  position: relative;
  min-height: 116px;
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px max(16px, calc((100% - 1180px) / 2));
  background: linear-gradient(90deg, rgba(29, 111, 224, calc(.04 + var(--p) * .1)), rgba(110, 193, 255, calc(var(--p) * .16)));
  overflow: hidden;
}
.lane + .lane::before { /* frânghia dintre culoare */
  content: ''; position: absolute; left: 0; right: 0; top: -4px; height: 8px;
  background: repeating-linear-gradient(90deg, var(--blue) 0 14px, #fff 14px 22px, var(--g3) 22px 36px, #fff 36px 44px);
  border-radius: 4px;
  transform: translateX(calc(var(--rope, 0) * -44px));
  box-shadow: 0 2px 4px rgba(11, 21, 32, .12);
}
.lane-no { font: 800 54px/1 var(--display); color: transparent; -webkit-text-stroke: 2px var(--g3); transition: -webkit-text-stroke-color .4s; }
.lane.on .lane-no { -webkit-text-stroke-color: var(--blue); }
.lane-name { font: 700 clamp(20px, 2.6vw, 30px)/1.1 var(--display); color: var(--deep); }
.lane-desc { color: var(--g5); margin: 6px 0 0; max-width: 52ch; }
.lane-price { text-align: right; white-space: nowrap; }
.lane-price b { font: 800 clamp(30px, 4.4vw, 52px)/1 var(--display); color: var(--blue); letter-spacing: -.03em; }
.lane-price small { display: block; color: var(--g4); font-size: 14px; margin-top: 4px; }
.swimmer {
  position: absolute; top: 50%; left: 0; width: 64px; height: 26px; margin-top: -13px;
  transform: translateX(calc(var(--p) * (100vw - 80px)));
  opacity: calc(var(--p) * 4 - .2);
  pointer-events: none; z-index: 0;
}
.swimmer path { fill: none; stroke: rgba(29, 111, 224, .35); stroke-width: 3; stroke-linecap: round; }
.lane > :not(.swimmer) { position: relative; z-index: 1; }
.lane-text, .lane-price { transition: opacity .6s var(--ease), transform .6s var(--ease); }
.lanes-sec.pinned .lane:not(.on) .lane-text, .lanes-sec.pinned .lane:not(.on) .lane-price { opacity: .28; transform: translateX(-12px); }
@media (max-width: 700px) {
  .lane { grid-template-columns: 52px 1fr; gap: 6px 14px; padding-block: 22px; }
  .lane-no { font-size: 38px; grid-row: span 2; align-self: start; }
  .lane-price { text-align: left; grid-column: 2; }
}

/* ---------- Galerie ---------- */
.gallery-sec { padding: 96px 0; background: linear-gradient(180deg, var(--g1), var(--g2)); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery figure {
  margin: 0; position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 3 / 4; background: var(--g3);
  box-shadow: 0 18px 40px -22px rgba(11, 32, 56, .5);
}
.gallery figure:nth-child(even) { transform: translateY(28px); }
.gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 1.4s ease, transform 8s linear; }
.gallery img.out { opacity: 0; }
.gallery img.in { transform: scale(1.06); }
.gallery .ph {
  position: absolute; inset: 0; display: grid; place-items: end start; padding: 18px;
  color: #fff; font-weight: 700;
  background:
    radial-gradient(closest-side, rgba(255, 255, 255, .35), transparent) 20% 30% / 70% 50% no-repeat,
    linear-gradient(160deg, var(--sky), var(--blue) 50%, var(--deep-2));
}
.gal-timer { height: 3px; background: var(--g3); border-radius: 3px; margin-top: 56px; overflow: hidden; max-width: 240px; }
.gal-timer span { display: block; height: 100%; width: 100%; background: var(--blue); transform-origin: left; transform: scaleX(0); }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); } .gallery figure:nth-child(4) { display: none; } }
@media (max-width: 560px) { .gallery { grid-template-columns: repeat(2, 1fr); } .gallery figure:nth-child(n+4) { display: none; } .gallery figure:nth-child(3) { grid-column: span 2; aspect-ratio: 16/10; transform: none; } }

/* ---------- Concursuri ---------- */
.comp-sec { padding: 96px 0 110px; background: var(--g2); }
.comp-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 40px; }
@media (max-width: 900px) { .comp-grid { grid-template-columns: 1fr; } }
.comp-h { font-size: 15px; font-family: var(--text); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--g5); margin-bottom: 16px; }
.upcoming, .past { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.up {
  display: grid; grid-template-columns: 84px 1fr; gap: 18px; align-items: center;
  background: #fff; border-radius: var(--radius); padding: 16px;
  box-shadow: 0 1px 0 rgba(11, 21, 32, .06);
}
.date-block { background: var(--deep); color: #fff; border-radius: 16px; text-align: center; padding: 12px 0; }
.date-block b { display: block; font: 800 30px/1 var(--display); }
.date-block span { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--sky); font-weight: 700; }
.up h4, .res h4 { margin: 0 0 4px; font: 700 18px/1.2 var(--display); color: var(--deep); }
.up p, .res p { margin: 0; color: var(--g5); font-size: 15px; }
.res {
  background: linear-gradient(150deg, var(--deep), var(--deep-2));
  color: #fff; border-radius: 26px; padding: 22px 22px 18px;
  display: grid; gap: 18px;
}
.res h4 { color: #fff; }
.res p { color: #B9CEE2; }
.podium { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; align-items: end; }
.pod { text-align: center; }
.pod .num { font: 800 clamp(26px, 3.4vw, 38px)/1 var(--display); display: block; margin-top: 8px; }
.pod small { color: #9FB8CF; font-size: 12px; font-weight: 600; }
.pod svg { width: 56px; height: 76px; margin: 0 auto; display: block; transform-origin: 50% 0; }
.res.seen .pod svg { animation: swing 1.6s var(--ease) both; }
.res.seen .pod:nth-child(2) svg { animation-delay: .12s; }
.res.seen .pod:nth-child(3) svg { animation-delay: .24s; }
@keyframes swing {
  0% { transform: translateY(-40px) rotate(-14deg); opacity: 0; }
  40% { transform: translateY(0) rotate(9deg); opacity: 1; }
  65% { transform: rotate(-5deg); }
  85% { transform: rotate(2deg); }
  100% { transform: rotate(0); }
}
.pod.total .ring-total {
  width: 56px; height: 56px; margin: 10px auto 10px; border-radius: 50%;
  border: 3px solid var(--sky); display: grid; place-items: center;
}
.pod.total .ring-total svg { width: 26px; height: 26px; animation: none !important; }
.empty-note { color: var(--g5); background: rgba(255, 255, 255, .6); border-radius: 18px; padding: 18px; }

/* ---------- Contact / Footer ---------- */
.contact {
  background: radial-gradient(80% 120% at 50% 0%, var(--blue), var(--deep) 70%);
  color: #fff; padding: 110px 0; text-align: center;
}
.contact-inner { display: grid; justify-items: center; gap: 18px; }
.contact h2 { font-size: clamp(40px, 7vw, 92px); font-weight: 800; }
.contact p { color: #CFE0F0; font-size: 18px; max-width: 46ch; margin: 0 0 8px; }
.foot { background: var(--ink); color: #9FB1C2; padding: 34px 0 calc(34px + env(safe-area-inset-bottom)); font-size: 14px; }
.foot-inner { display: flex; flex-wrap: wrap; gap: 18px 40px; justify-content: space-between; }
.foot strong { color: #fff; font-family: var(--display); }
.foot a { color: #fff; text-decoration: none; }
.foot .muted { color: #6F8396; }

/* ---------- Dialog programare ---------- */
.book {
  width: min(560px, 100% - 24px); max-height: calc(100svh - 24px);
  border: 0; border-radius: 28px; padding: 0;
  background: #fff; color: var(--ink);
  box-shadow: 0 40px 80px -20px rgba(11, 21, 32, .6);
}
.book::backdrop { background: rgba(11, 21, 32, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.book[open] { animation: pop .45s var(--ease); }
@keyframes pop { from { transform: translateY(24px) scale(.97); opacity: 0; } }
.book-inner { padding: 26px 22px 22px; position: relative; }
.x { position: absolute; right: 14px; top: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--g1); font-size: 24px; cursor: pointer; color: var(--g5); }
.book-who { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; min-height: 8px; }
.book-who img { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; }
.book-who b { font-family: var(--display); font-size: 16px; }
.book h2 { font-size: 26px; margin-bottom: 16px; padding-right: 40px; }
.choice { border: 0; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.opt { display: flex; gap: 12px; align-items: flex-start; border: 2px solid var(--g2); border-radius: 18px; padding: 14px; cursor: pointer; transition: border-color .2s, background .2s; }
.opt:has(input:checked) { border-color: var(--blue); background: #F2F7FE; }
.opt input { margin-top: 4px; accent-color: var(--blue); width: 18px; height: 18px; flex: none; }
.opt-body { display: grid; gap: 4px; }
.opt strong { font-size: 16px; }
.opt-desc { color: var(--g5); font-size: 14px; }
.tag { justify-self: start; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--blue); padding: 4px 8px; border-radius: 6px; }
.details { display: grid; grid-template-columns: 1fr 1.5fr 1.1fr; gap: 10px; margin-bottom: 12px; }
@media (max-width: 520px) { .details { grid-template-columns: 1fr 1fr; } .details label:nth-child(2) { grid-column: span 2; order: 3; } }
.details label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--g5); }
.details input, .details select { font: 500 15px var(--text); padding: 11px 12px; border-radius: 12px; border: 1.5px solid var(--g3); background: #fff; color: var(--ink); min-width: 0; }
.preview { font-size: 14px; color: var(--g5); margin-bottom: 14px; }
.preview summary { cursor: pointer; font-weight: 700; color: var(--blue); }
.preview p { background: #E7F7EC; border-radius: 14px 14px 14px 4px; padding: 12px 14px; color: #133; white-space: pre-line; }
.book-actions { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.fine { font-size: 12.5px; color: var(--g4); margin: 12px 0 0; text-align: center; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.seen { opacity: 1; transform: none; }

/* ---------- Instructori: cerc 3D condus de scroll ---------- */
.deep { padding: 0; overflow: visible; overflow-x: clip; }
.ins-pin { position: relative; }
.ins-pin.on { height: calc(100svh + var(--n, 7) * 55svh); }
.ins-sticky {
  position: relative; min-height: 100svh; padding: 84px 0 28px;
  display: flex; flex-direction: column; justify-content: center; overflow: hidden; isolation: isolate;
}
.ins-pin.on .ins-sticky { position: sticky; top: 0; height: 100svh; }
.ins-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; position: relative; z-index: 3; }
.ins-top .sec-head { margin-bottom: 0; }
.ins-top .sec-head h2 { font-size: clamp(30px, 4.6vw, 56px); }
.ins-side { display: grid; justify-items: end; gap: 8px; }
.legend { margin: 0; }
.ins-count { margin: 0; font: 700 14px/1 var(--text); color: #9FB8CF; letter-spacing: .1em; }
.ins-count b { font: 800 34px/1 var(--display); color: #fff; letter-spacing: -.02em; }
.seal-mini { width: 26px; height: 26px; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .3)); }
.ins-name {
  position: absolute; left: 0; right: 0; top: 50%; z-index: 0;
  text-align: center; pointer-events: none; white-space: nowrap;
  font: 800 clamp(90px, 21vw, 300px)/1 var(--display); letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(110, 193, 255, .16);
  transform: translateY(-38%);
}
.ins-name.show { animation: nameIn .9s var(--ease) both; }
@keyframes nameIn { from { opacity: 0; letter-spacing: .02em; filter: blur(6px); } }

.carousel {
  position: relative; z-index: 2;
  height: clamp(430px, 64svh, 600px);
  perspective: 1500px; perspective-origin: 50% 40%;
  margin-top: 8px;
}
.ring {
  position: absolute; left: 50%; top: 48%; width: 0; height: 0;
  transform-style: preserve-3d; will-change: transform;
}
.card {
  --w: clamp(208px, min(25vw, 36svh), 300px);
  left: 0; top: 0; margin: 0;
  width: var(--w);
  translate: -50% -50%;
  padding: 10px 10px 16px;
  backface-visibility: hidden;
  transition: box-shadow .4s;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .45), 0 0 calc(var(--focus, 0) * 60px) calc(var(--focus, 0) * -6px) rgba(110, 193, 255, .55);
}
.card .photo { aspect-ratio: 1 / 1.08; border-radius: 18px; }
.card .meta { padding: 12px 6px 0; }
.card h3 { font-size: clamp(18px, 1.7vw, 21px); }
.card .age { margin: 4px 0 12px; font-size: 14px; }
.card .medals { gap: 4px; right: 8px; top: 8px; }
.seal { width: 50px; height: 50px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35)); }
.card .btn { min-height: 44px; font-size: 14px; opacity: calc(.35 + var(--focus, 0) * .65); }
.orbit {
  position: absolute; left: 50%; top: calc(48% + var(--floor, 240px));
  width: 900px; height: auto; aspect-ratio: 1;
  transform-origin: 50% 50%;
  pointer-events: none; z-index: -1;
}
.car-btn { top: 46%; }
.ins-hint { text-align: center; color: #7E9AB5; font-size: 13px; margin: 10px 0 0; position: relative; z-index: 3; }
.car-dots { margin-top: 10px; position: relative; z-index: 3; }
@media (max-width: 700px) {
  .ins-sticky { padding-top: 76px; }
  .ins-side { justify-items: start; }
  .ins-count b { font-size: 26px; }
  .carousel { height: min(62svh, 520px); }
  .car-btn { top: auto; bottom: -6px; }
  .seal { width: 42px; height: 42px; }
}
@media (max-height: 700px) { .ins-hint, .legend { display: none; } }

/* ---------- Mișcare redusă ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-title.under { filter: none; }
  .lanes-sec.pinned { height: auto; }
  .gallery img.in { transform: none; }
}
