/* =========================================================
   Dr. Carabulea — Cabinet stomatologic, Botoșani
   Paletă: smalț · verde-pin · roz „gingie”
   ========================================================= */
:root {
  --enamel: #faf8f4;
  --enamel-2: #f1ede5;
  --white: #ffffff;

  --pine: #12302b;
  --pine-2: #1b443d;
  --green: #22675a;
  --green-ink: #174e44;
  --mint: #dcede6;
  --mint-2: #c4e0d5;

  --gum: #e7a496;
  --gum-ink: #b0503f;
  --gum-soft: #f7e1da;
  --gold: #a47a24;

  --ink: #14231f;
  --ink-2: #3d4b47;
  --muted: #6a7773;
  --line: rgba(20, 35, 31, .12);
  --line-soft: rgba(20, 35, 31, .07);

  --on-pine: #eef5f2;
  --on-pine-2: rgba(238, 245, 242, .66);
  --pine-line: rgba(238, 245, 242, .12);

  --display: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  --text: 'Figtree', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --rail: clamp(340px, 29vw, 420px);
  --bar: 64px;
  --pad: clamp(16px, 5vw, 80px);
  --r-lg: 28px;
  --r: 18px;
  --r-sm: 12px;
  --ease: cubic-bezier(.22, .7, .2, 1);
  --shadow: 0 1px 2px rgba(20, 35, 31, .05), 0 16px 36px -18px rgba(20, 35, 31, .22);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--enamel);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--gum-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 8px; }

.skip {
  position: fixed; left: 16px; top: -80px; z-index: 300;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
  transition: top .2s;
}
.skip:focus { top: 12px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ic {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- butoane ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: 15.5px; letter-spacing: .005em; white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn .ic { width: 18px; height: 18px; stroke-width: 2; }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-ink); }
.btn-gum { background: var(--gum); color: var(--pine); }
.btn-gum:hover { background: #efb7aa; transform: translateY(-1px); }
.btn-line { border: 1.5px solid var(--line); color: var(--ink); }
.btn-line:hover { border-color: var(--green); color: var(--green); }
.btn-ghost { border: 1.5px solid rgba(238, 245, 242, .24); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-block { width: 100%; }

.link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--green);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size .3s var(--ease);
}
.link:hover { background-size: 100% 1.5px; }
.link .ic { width: 17px; height: 17px; stroke-width: 2; }

/* ---------- marcă ---------- */
.brand { display: flex; align-items: center; gap: 12px; }
.mark { width: 44px; height: 44px; flex: none; }
.mk-bg { fill: var(--mk-bg, var(--mint)); }
.mk-fg { fill: none; stroke: var(--mk-fg, var(--pine)); stroke-width: 5.8; stroke-linejoin: round; }
.brand b {
  display: block; font-family: var(--display); font-weight: 600;
  font-size: 21px; letter-spacing: -.03em; line-height: 1.05; color: #fff;
}
.brand i {
  display: block; margin-top: 4px; font-style: normal;
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--on-pine-2);
}

/* ---------- status program ---------- */
.status {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; line-height: 1.3;
  background: rgba(238, 245, 242, .08); color: var(--on-pine);
}
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: #9fb0ab; flex: none; }
.status.is-open .dot { background: #5fd39e; animation: pulse 2.4s infinite; }
.status.is-closed .dot { background: var(--gum); }
.status-light { background: var(--white); color: var(--ink); border: 1px solid var(--line-soft); }
.status-light.is-open .dot { background: #1f9d68; }
.status-light.is-closed .dot { background: var(--gum-ink); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(95, 211, 158, .55); }
  70% { box-shadow: 0 0 0 8px rgba(95, 211, 158, 0); }
  100% { box-shadow: 0 0 0 0 rgba(95, 211, 158, 0); }
}

/* =========================================================
   PANOUL LATERAL (desktop) / BARA DE SUS (mobil)
   ========================================================= */
.rail {
  position: fixed; left: 0; top: 0; bottom: 0; z-index: 50;
  width: var(--rail);
  display: flex; flex-direction: column;
  padding: 30px 36px 30px;
  background: var(--pine); color: var(--on-pine);
  overflow: hidden;
}
.rail-deco {
  position: absolute; right: -90px; bottom: -70px; width: 330px;
  color: rgba(238, 245, 242, .045); pointer-events: none;
}
.rail-deco path { fill: none; stroke: currentColor; stroke-width: 1.2; }
.rail-top { position: relative; display: flex; align-items: center; justify-content: space-between; }
.rail-mob { display: none; }
.rail-body {
  position: relative;
  flex: 1; min-height: 0; margin-top: 36px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 26px;
  overflow-y: auto; scrollbar-width: none;
}
.rail-body::-webkit-scrollbar { display: none; }
.rail-phone {
  display: block; margin-top: 18px;
  font-family: var(--display); font-weight: 600; line-height: 1;
  font-size: clamp(1.9rem, 2.5vw, 2.35rem); letter-spacing: -.035em;
  transition: color .2s;
}
.rail-phone:hover { color: var(--gum); }
.rail-addr { margin-top: 12px; font-size: 14.5px; line-height: 1.55; color: var(--on-pine-2); }
.rail-nav { display: grid; }
.rail-nav a {
  position: relative; display: flex; align-items: baseline; gap: 14px;
  padding: 7px 0; font-size: 15.5px; color: var(--on-pine-2);
  transition: color .2s;
}
.rail-nav a span {
  width: 22px; font-size: 11.5px; font-weight: 600; letter-spacing: .06em;
  font-variant-numeric: tabular-nums; color: rgba(238, 245, 242, .38);
  transition: color .2s;
}
.rail-nav a::before {
  content: ""; position: absolute; left: -36px; top: 50%;
  width: 0; height: 2px; background: var(--gum);
  transition: width .35s var(--ease);
}
.rail-nav a:hover, .rail-nav a.is-active { color: #fff; }
.rail-nav a.is-active span { color: var(--gum); }
.rail-nav a.is-active::before { width: 24px; }
.rail-cta { display: grid; gap: 10px; }

@media (max-height: 800px) and (min-width: 1080px) {
  .rail { padding-top: 24px; padding-bottom: 24px; }
  .rail-body { margin-top: 26px; gap: 20px; }
  .rail-nav a { padding: 4px 0; }
}

.main { margin-left: var(--rail); container-type: inline-size; container-name: main; }

/* ---------- mobil: panoul devine bară + meniu ---------- */
@media (max-width: 1079px) {
  html { scroll-padding-top: calc(var(--bar) + 16px); }
  .rail {
    position: sticky; top: 0; bottom: auto; width: auto; height: var(--bar);
    padding: 0 16px; flex-direction: row; align-items: center;
    background: transparent; color: var(--ink); overflow: visible;
  }
  .rail::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: rgba(250, 248, 244, .9);
    -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
    border-bottom: 1px solid var(--line-soft);
  }
  .rail.open::before { background: var(--pine); border-color: var(--pine-line); }
  .rail-top { width: 100%; }
  .rail .mark { width: 38px; height: 38px; --mk-bg: var(--green); --mk-fg: #fff; }
  .rail .brand b { color: var(--ink); font-size: 19px; }
  .rail .brand i { color: var(--muted); font-size: 10px; }
  .rail.open .brand b { color: #fff; }
  .rail.open .brand i { color: var(--on-pine-2); }
  .rail-deco { display: none; }
  .rail-mob { display: flex; gap: 8px; }
  .icon-btn {
    position: relative; width: 44px; height: 44px; border-radius: 50%;
    display: grid; place-items: center;
    border: 1px solid var(--line); background: var(--white); color: var(--green-ink);
  }
  .icon-btn .ic { width: 20px; height: 20px; }
  .menu-btn span {
    position: absolute; left: 13px; right: 13px; height: 1.6px; border-radius: 2px;
    background: var(--ink); transition: transform .3s var(--ease);
  }
  .menu-btn span:nth-child(1) { top: 18px; }
  .menu-btn span:nth-child(2) { top: 24px; }
  .rail.open .icon-btn { background: transparent; border-color: var(--pine-line); color: #fff; }
  .rail.open .menu-btn span { background: #fff; }
  .rail.open .menu-btn span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
  .rail.open .menu-btn span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

  .rail-body {
    position: fixed; top: var(--bar); left: 0; right: 0; bottom: 0;
    margin: 0; padding: 28px 20px calc(28px + env(safe-area-inset-bottom));
    justify-content: flex-start; gap: 34px;
    background: var(--pine); color: var(--on-pine);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s, visibility .3s, transform .35s var(--ease);
  }
  .rail.open .rail-body { opacity: 1; visibility: visible; transform: none; }
  .rail-info { order: 2; }
  .rail-nav { order: 1; }
  .rail-cta { order: 3; }
  .rail-nav a {
    padding: 11px 0; border-bottom: 1px solid var(--pine-line);
    font-family: var(--display); font-weight: 500; font-size: 1.55rem; letter-spacing: -.02em;
    color: #fff;
  }
  .rail-nav a::before { display: none; }
  .rail-phone { font-size: 2rem; }
  .main { margin-left: 0; }
}

/* =========================================================
   TIPOGRAFIE DE SECȚIUNE
   ========================================================= */
.sec { position: relative; padding: clamp(80px, 10vw, 136px) var(--pad); }
.sec-alt { background: var(--enamel-2); }
.sec-dark { background: #183d36; color: var(--on-pine); }
.wrap { max-width: 1060px; margin-inline: auto; }
.sec-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 60px); }
.kicker {
  display: flex; align-items: center; gap: 12px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--green);
}
.kicker .no {
  display: inline-grid; place-items: center; min-width: 36px; height: 24px; padding: 0 9px;
  border-radius: 999px; background: var(--gum-soft); color: var(--gum-ink);
  font-size: 12px; letter-spacing: .04em;
}
.sec-dark .kicker { color: var(--mint-2); }
.sec-dark .kicker .no { background: rgba(231, 164, 150, .16); color: var(--gum); }
.h2 {
  margin-top: 18px;
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  font-size: clamp(2.1rem, 5.6cqi, 3.7rem);
  line-height: 1.02; letter-spacing: -.04em;
  text-wrap: balance;
}
.lead {
  margin-top: 20px; max-width: 58ch;
  font-size: clamp(1.06rem, 1.3vw, 1.2rem); line-height: 1.6; color: var(--ink-2);
}
.sec-dark .lead { color: var(--on-pine-2); }

/* =========================================================
   HERO + ODONTOGRAMĂ
   ========================================================= */
.hero {
  display: flex; align-items: center;
  min-height: min(100vh, 940px);
  padding: clamp(48px, 7vw, 96px) var(--pad) clamp(64px, 8vw, 104px);
}
.hero-grid {
  width: 100%; max-width: 1180px; margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px); align-items: center;
}
.display {
  margin-top: 22px;
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.7rem, 5.2vw, 5.2rem);
  font-size: clamp(2.6rem, 7.2cqi, 5.6rem);
  line-height: .98; letter-spacing: -.05em;
  text-wrap: balance;
}
.display mark {
  color: inherit; padding: 0 .04em; margin: 0 -.04em;
  background: linear-gradient(var(--gum-soft), var(--gum-soft)) 0 88% / 100% .32em no-repeat;
}
.js .display mark { background-size: 0 .32em; animation: marker 1s var(--ease) .5s forwards; }
@keyframes marker { to { background-size: 100% .32em; } }
.hero .lead { margin-top: 26px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.proof {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: repeat(3, minmax(0, max-content)); gap: 18px clamp(28px, 5cqi, 64px);
  padding-top: 28px; border-top: 1px solid var(--line);
}
.proof li { display: grid; gap: 2px; }
.proof b {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--display); font-weight: 600; font-size: 1.45rem; letter-spacing: -.03em; line-height: 1.2;
}
.proof li > span { font-size: 13.5px; color: var(--muted); }
.stars { display: inline-flex; gap: 1px; color: #e0a23a; }
.stars .ic { width: 15px; height: 15px; fill: currentColor; stroke: none; }

.m-info { display: none; }

.hero-arch { position: relative; }
.arch-wrap { position: relative; max-width: 540px; margin-inline: auto; aspect-ratio: 1; container: arch / inline-size; }
.arch-svg { width: 100%; height: 100%; overflow: visible; }
.gum { fill: none; stroke: var(--gum-soft); stroke-width: 66; stroke-linecap: round; stroke-linejoin: round; }
.t { cursor: pointer; }
.t .cr { fill: #fff; stroke: var(--green-ink); stroke-width: 1.5; transition: fill .25s, stroke .25s; }
.t .fs { fill: none; stroke: #a5b8b1; stroke-width: 1.1; stroke-linecap: round; transition: stroke .25s; }
.t:hover .cr, .t.on .cr { fill: var(--green); stroke: var(--green-ink); }
.t:hover .fs, .t.on .fs { stroke: rgba(255, 255, 255, .55); }
.fdi { font: 600 11px var(--text); fill: #9aa6a2; text-anchor: middle; transition: fill .25s; }
.fdi.on { fill: var(--green-ink); }
.js .t .cr { animation: scan 1.1s var(--ease) backwards; animation-delay: calc(var(--i) * 50ms + .4s); }
@keyframes scan { 0% { fill: #fff; } 35% { fill: var(--mint-2); } 100% { fill: #fff; } }

.arch-label {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 58%; text-align: center; pointer-events: none;
}
.al-num {
  display: block; font-family: var(--display); font-weight: 600; line-height: 1;
  font-size: clamp(2rem, 13cqi, 4.4rem); letter-spacing: -.05em; color: var(--green-ink);
}
.al-name { display: block; margin-top: 8px; font-weight: 700; font-size: clamp(12.5px, 3.1cqi, 15px); line-height: 1.3; }
.al-fact { display: block; margin-top: 6px; font-size: clamp(11.5px, 2.75cqi, 13.5px); line-height: 1.42; color: var(--muted); }
.arch-label.swap .al-num, .arch-label.swap .al-name, .arch-label.swap .al-fact { animation: fadeUp .35s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.hero-arch figcaption {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 10px; font-size: 13px; color: var(--muted);
}
.hero-arch figcaption .ic { width: 16px; height: 16px; }

@container main (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px; }
}
@container main (max-width: 720px) {
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-arch { max-width: 500px; width: 100%; margin-inline: auto; }
}
@media (max-width: 1079px) {
  .m-info {
    display: grid; gap: 12px; margin-top: 30px;
    padding: 18px 20px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line-soft);
    font-size: 15px; color: var(--ink-2);
  }
  .m-info .status { justify-self: start; }
  .m-info p { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
  .m-info .ic { width: 20px; height: 20px; color: var(--green); margin-top: 1px; }
}

/* =========================================================
   ACORDEON (întrebări)
   ========================================================= */
.pm {
  position: relative; width: 38px; height: 38px; border-radius: 50%; flex: none;
  border: 1.5px solid var(--line); transition: background .3s, border-color .3s, color .3s;
}
.pm::before, .pm::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.8px; border-radius: 2px;
  background: currentColor; transform: translate(-50%, -50%); transition: transform .3s var(--ease);
}
.pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-item.open .pm { background: var(--pine); border-color: var(--pine); color: #fff; }
.acc-item.open .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.js .acc-panel { height: 0; overflow: hidden; transition: height .45s var(--ease); }

/* =========================================================
   PROGRAMARE (bilet)
   ========================================================= */
.ticket-wrap { filter: drop-shadow(0 18px 28px rgba(20, 35, 31, .12)); }
.ticket {
  --cut: 150px;
  display: grid; grid-template-columns: var(--cut) minmax(0, 1fr);
  border-radius: var(--r-lg); background: var(--white);
  -webkit-mask:
    radial-gradient(circle at var(--cut) 0, #0000 15px, #000 15.5px) top / 100% 51% no-repeat,
    radial-gradient(circle at var(--cut) 100%, #0000 15px, #000 15.5px) bottom / 100% 51% no-repeat;
          mask:
    radial-gradient(circle at var(--cut) 0, #0000 15px, #000 15.5px) top / 100% 51% no-repeat,
    radial-gradient(circle at var(--cut) 100%, #0000 15px, #000 15.5px) bottom / 100% 51% no-repeat;
}
.stub {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 20px;
  padding: 30px 16px; border-radius: var(--r-lg) 0 0 var(--r-lg);
  background: var(--pine); color: var(--on-pine); text-align: center;
}
.stub-v {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--display); font-weight: 600; font-size: 1.6rem; letter-spacing: -.02em;
}
.stub small { display: block; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-pine-2); }
.stub b { display: block; font-family: var(--display); font-weight: 600; font-size: 1.15rem; letter-spacing: -.02em; margin-top: 2px; }
.stub .mark { width: 40px; height: 40px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-left: 2px dashed var(--line); }
.steps li { padding: clamp(24px, 3vw, 36px) clamp(20px, 2.4vw, 30px); }
.steps li + li { border-left: 1px solid var(--line-soft); }
.st-n {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--mint); color: var(--green-ink); font-weight: 700; font-size: 14px;
}
.steps h3 { margin-top: 22px; font-family: var(--display); font-weight: 600; font-size: 1.3rem; letter-spacing: -.025em; line-height: 1.2; }
.steps p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.steps a.tel { font-weight: 700; color: var(--green-ink); white-space: nowrap; }
@container main (max-width: 1200px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:nth-child(3) { border-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
}
@container main (max-width: 600px) {
  .ticket {
    --cut: 96px;
    grid-template-columns: 1fr; grid-template-rows: var(--cut) auto;
    -webkit-mask:
      radial-gradient(circle at 0 var(--cut), #0000 15px, #000 15.5px) left / 51% 100% no-repeat,
      radial-gradient(circle at 100% var(--cut), #0000 15px, #000 15.5px) right / 51% 100% no-repeat;
            mask:
      radial-gradient(circle at 0 var(--cut), #0000 15px, #000 15.5px) left / 51% 100% no-repeat,
      radial-gradient(circle at 100% var(--cut), #0000 15px, #000 15.5px) right / 51% 100% no-repeat;
  }
  .stub { flex-direction: row; border-radius: var(--r-lg) var(--r-lg) 0 0; padding: 0 24px; text-align: left; }
  .stub-v { writing-mode: horizontal-tb; transform: none; font-size: 1.45rem; }
  .stub .mark { display: none; }
  .steps { grid-template-columns: 1fr; border-left: 0; border-top: 2px dashed var(--line); }
  .steps li + li { border-left: 0; border-top: 1px solid var(--line-soft); }
}

/* =========================================================
   PACIENȚII
   ========================================================= */
.big-quote {
  max-width: 24ch; margin-top: 26px;
  font-family: var(--display); font-weight: 500; line-height: 1.12; letter-spacing: -.035em;
  font-size: clamp(1.9rem, 4.2vw, 3.3rem);
  font-size: clamp(1.8rem, 5.4cqi, 3.5rem);
  color: var(--on-pine-2); text-wrap: balance;
}
.big-quote em {
  font-style: normal; color: #fff;
  background: linear-gradient(var(--gum), var(--gum)) 0 96% / 100% .09em no-repeat;
}
.js .big-quote em { background-size: 0 .09em; transition: background-size 1s var(--ease); }
.js .big-quote.in em { background-size: 100% .09em; }
.js .big-quote.in em:nth-of-type(2) { transition-delay: .2s; }
.js .big-quote.in em:nth-of-type(3) { transition-delay: .4s; }
.js .big-quote.in em:nth-of-type(4) { transition-delay: .6s; }
.rate-row {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center;
  margin-top: clamp(48px, 6vw, 76px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--pine-line);
}
.rate b {
  font-family: var(--display); font-weight: 600; line-height: .9; letter-spacing: -.06em;
  font-size: clamp(4.6rem, 12cqi, 7.4rem); color: #fff;
}
.rate .of { font-family: var(--display); font-size: 1.5rem; color: var(--on-pine-2); margin-left: 4px; }
.rate .stars { margin-top: 12px; }
.rate .stars .ic { width: 20px; height: 20px; }
.rate small { display: block; max-width: 26ch; margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--on-pine-2); }
.rate .link { margin-top: 16px; color: var(--gum); }
.themes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.theme { padding: 20px 22px; border-radius: var(--r); background: rgba(238, 245, 242, .05); border: 1px solid var(--pine-line); }
.theme b { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; color: #fff; }
.theme b .ic { width: 20px; height: 20px; color: var(--gum); }
.theme p { margin-top: 6px; font-size: 14.5px; line-height: 1.5; color: var(--on-pine-2); }
.src { margin-top: 28px; font-size: 13.5px; line-height: 1.5; color: var(--on-pine-2); max-width: 70ch; }
@container main (max-width: 760px) {
  .rate-row { grid-template-columns: 1fr; }
  .themes { grid-template-columns: 1fr; }
}

/* =========================================================
   CABINETUL + DISTINCȚII
   ========================================================= */
.cab { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 16px; }
.doc {
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  padding: clamp(28px, 4vw, 44px); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow);
}
.mono {
  position: relative; width: 112px; aspect-ratio: 1; border-radius: 34%;
  display: grid; place-items: center; background: var(--mint);
  font-family: var(--display); font-weight: 600; font-size: 2.5rem; letter-spacing: -.05em; color: var(--green-ink);
}
.mono::after {
  content: ""; position: absolute; right: -6px; bottom: -6px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--gum); border: 5px solid var(--white);
}
.doc-role { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gum-ink); }
.doc h3 { margin-top: 6px; font-family: var(--display); font-weight: 600; font-size: clamp(1.7rem, 3.4cqi, 2.3rem); letter-spacing: -.035em; line-height: 1.08; }
.doc p { margin-top: 12px; color: var(--ink-2); }
.feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.feat { padding: 22px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line-soft); }
.feat .ib {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  background: var(--gum-soft); color: var(--gum-ink);
}
.feat .ib .ic { width: 22px; height: 22px; }
.feat b { display: block; margin-top: 16px; font-weight: 700; line-height: 1.3; }
.feat span { display: block; margin-top: 4px; font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.awards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.award {
  display: flex; gap: 20px; align-items: center;
  padding: 22px 26px; border-radius: var(--r); border: 1.5px solid rgba(164, 122, 36, .28);
  background: linear-gradient(135deg, rgba(255, 248, 230, .7), rgba(255, 255, 255, .4));
}
.badge { width: 60px; height: 60px; flex: none; color: var(--gold); }
.b-ring { fill: none; stroke: currentColor; stroke-width: 2; }
.b-ring2 { fill: none; stroke: currentColor; stroke-width: 1; stroke-dasharray: 2 3; opacity: .7; }
.b-star { fill: currentColor; }
.b-rib { fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.awards .award { flex-direction: column; align-items: flex-start; gap: 18px; padding: 26px; }
@container main (max-width: 860px) {
  .awards { grid-template-columns: 1fr; }
  .awards .award { flex-direction: row; align-items: center; gap: 20px; }
}
.award .yrs { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.award b { display: block; margin-top: 2px; font-family: var(--display); font-weight: 600; font-size: 1.35rem; letter-spacing: -.025em; line-height: 1.2; }
.award p { margin-top: 4px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
@container main (max-width: 900px) { .cab { grid-template-columns: 1fr; } }
@container main (max-width: 600px) {
  .feats, .awards { grid-template-columns: 1fr; }
  .feats { gap: 10px; }
  .feat { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 14px; align-items: center; padding: 18px; }
  .feat .ib { grid-row: span 2; }
  .feat b { margin-top: 0; }
  .feat span { margin-top: 0; }
  .award { align-items: flex-start; padding: 22px; }
  .badge { width: 50px; height: 50px; }
}

/* =========================================================
   ÎNTREBĂRI
   ========================================================= */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq .sec-head { position: sticky; top: 40px; margin: 0; }
.faq .h2 { font-size: clamp(2rem, 4.2cqi, 3rem); }
.faq .sec-head .link { margin-top: 26px; }
.q-list { border-top: 1px solid var(--line); }
.q-item { border-bottom: 1px solid var(--line); }
.q-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; text-align: left;
  font-family: var(--display); font-weight: 600; line-height: 1.3; letter-spacing: -.02em;
  font-size: clamp(1.1rem, 2.2cqi, 1.32rem);
}
.q-btn:hover { color: var(--green); }
.q-body p { padding: 0 56px 24px 0; color: var(--ink-2); }
.q-body a { color: var(--green); font-weight: 700; }
@container main (max-width: 860px) {
  .faq { grid-template-columns: 1fr; }
  .faq .sec-head { position: static; }
  .q-body p { padding-right: 0; }
}

/* =========================================================
   CONTACT
   ========================================================= */
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.card { padding: 24px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line-soft); }
.card-dark { background: var(--pine); color: var(--on-pine); border: 0; }
.card .lbl { font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.card-dark .lbl { color: var(--on-pine-2); }
.card .big { display: block; margin-top: 6px; font-family: var(--display); font-weight: 600; line-height: 1.1; letter-spacing: -.035em; font-size: clamp(1.6rem, 3.2cqi, 2rem); }
.card-dark .big:hover { color: var(--gum); }
.card p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.card-dark p { color: var(--on-pine-2); }
.card .btn { margin-top: 18px; }
.card .links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; }
.card .status { margin-top: 12px; }
.hours { width: 100%; margin-top: 14px; border-collapse: collapse; font-size: 14.5px; }
.hours td { padding: 6px 0; border-bottom: 1px dashed var(--line); }
.hours tr:last-child td { border-bottom: 0; }
.hours td + td { text-align: right; font-variant-numeric: tabular-nums; }
.hours .cl { color: var(--muted); }
.hours tr.today td { color: var(--green-ink); font-weight: 700; }
.hours tr.today td:first-child::after { content: " · azi"; font-weight: 600; color: var(--gum-ink); }

.map {
  position: relative; margin-top: 16px; overflow: hidden;
  border-radius: var(--r-lg); border: 1px solid var(--line-soft); background: #e7ece6;
  height: clamp(320px, 38cqi, 440px);
}
.map-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 24px; text-align: center;
}
.pin {
  position: relative; width: 52px; height: 52px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: var(--green); box-shadow: 0 14px 24px -10px rgba(23, 78, 68, .6);
}
.pin::after { content: ""; position: absolute; inset: 16px; border-radius: 50%; background: #fff; }
.map-ph p {
  max-width: 40ch; padding: 8px 14px; border-radius: 12px;
  background: rgba(250, 248, 244, .92); font-size: 14px; line-height: 1.45; color: var(--ink-2);
}
.map-ph p b { color: var(--ink); }
.map-act { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.map-act .btn { min-height: 46px; font-size: 14.5px; }
.map-act .btn-line { background: rgba(250, 248, 244, .92); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@container main (max-width: 860px) { .cards3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cards3 .card:first-child { grid-column: 1 / -1; } }
@container main (max-width: 560px) { .cards3 { grid-template-columns: 1fr; } .map { height: 460px; } }

/* =========================================================
   SUBSOL + BARĂ MOBILĂ
   ========================================================= */
.foot { padding: 52px var(--pad) 40px; background: var(--pine); color: var(--on-pine-2); font-size: 14.5px; }
.foot-in { max-width: 1060px; margin-inline: auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; }
.foot-meta { display: grid; gap: 4px; }
.foot-meta a:hover { color: #fff; }
.foot-legal {
  width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  padding-top: 24px; border-top: 1px solid var(--pine-line); font-size: 13px;
}
.foot-legal a { text-decoration: underline; text-underline-offset: 2px; }
.foot-legal a:hover { color: #fff; }

.mbar { display: none; }
@media (max-width: 1079px) {
  .mbar {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 7px; padding: 7px;
    border-radius: 999px; background: rgba(18, 48, 43, .95);
    box-shadow: 0 18px 40px -12px rgba(20, 35, 31, .5);
    transform: translateY(160%); transition: transform .45s var(--ease);
  }
  .mbar.show { transform: none; }
  .mbar .btn { min-height: 48px; padding: 0 14px; font-size: 15px; }
  .foot { padding-bottom: 116px; }
}

/* ---------- apariții la scroll ---------- */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv.d1 { transition-delay: .08s; }
.js .rv.d2 { transition-delay: .16s; }
.js .rv.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
  .js .display mark { background-size: 100% .32em; }
  .js .big-quote em { background-size: 100% .09em; }
}

/* =========================================================
   PAGINI SIMPLE (confidențialitate, 404)
   ========================================================= */
.plain-bar {
  position: sticky; top: 0; z-index: 20; height: var(--bar);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 var(--pad);
  background: rgba(250, 248, 244, .92); border-bottom: 1px solid var(--line-soft);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.plain-bar .mark { width: 38px; height: 38px; --mk-bg: var(--green); --mk-fg: #fff; }
.plain-bar .brand b { color: var(--ink); font-size: 19px; }
.plain-bar .brand i { color: var(--muted); font-size: 10px; }
.plain-bar .btn { min-height: 44px; padding: 0 18px; font-size: 14.5px; }
.legal { max-width: 760px; margin-inline: auto; padding: clamp(48px, 8vw, 96px) var(--pad) clamp(64px, 9vw, 120px); container-type: inline-size; }
.legal .display { font-size: clamp(2.4rem, 7vw, 4rem); }
.legal .upd { margin-top: 16px; font-size: 14px; color: var(--muted); }
.legal h2 { margin-top: 44px; font-family: var(--display); font-weight: 600; font-size: 1.5rem; letter-spacing: -.03em; line-height: 1.2; }
.legal p, .legal li { color: var(--ink-2); }
.legal p { margin-top: 12px; }
.legal ul { margin-top: 12px; display: grid; gap: 8px; }
.legal li { position: relative; padding-left: 22px; }
.legal li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--gum); }
.legal a { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.lost {
  min-height: calc(100svh - var(--bar)); display: grid; place-items: center; text-align: center;
  padding: 48px var(--pad); container-type: inline-size;
}
.lost .mark { width: 72px; height: 72px; margin: 0 auto; }
.lost .display { margin-top: 26px; }
.lost .lead { margin-inline: auto; }
.lost .actions { justify-content: center; }

/* =========================================================
   AJUSTĂRI RESPONSIVE
   ========================================================= */

/* hero – dovezi și butoane compacte pe ecrane înguste */
@container main (max-width: 560px) {
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; padding-top: 24px; }
  .proof li:last-child { grid-column: 1 / -1; }
  .proof b { flex-wrap: wrap; gap: 2px 8px; font-size: 1.3rem; }
  .actions .btn { flex: 1 1 100%; }
  .m-info { margin-top: 24px; }
}

/* fișa dentară – pe desene mici, eticheta are mai mult loc */
@container arch (max-width: 360px) {
  .arch-label { width: 64%; }
  .al-name { margin-top: 5px; }
  .al-fact { margin-top: 4px; line-height: 1.36; }
}

/* bilet „Prima vizită” – pașii pe rânduri compacte */
@container main (max-width: 600px) {
  .steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 16px; align-items: start; padding: 22px 20px; }
  .st-n { grid-row: span 2; }
  .steps h3 { margin-top: 7px; }
  .steps p { margin-top: 6px; }
}

/* premii – pe telefoane foarte înguste, insigna deasupra */
@container main (max-width: 380px) {
  .awards .award { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* butoane – textul trece pe al doilea rând în loc să iasă din ecran */
@media (max-width: 480px) {
  .btn { white-space: normal; text-align: center; line-height: 1.25; padding: 12px 20px; }
  .card .btn { width: 100%; }
  .mbar .btn { white-space: nowrap; padding: 0 12px; }
}

/* bara de sus – subtitlul siglei rămâne pe un rând */
@media (max-width: 1079px) {
  .rail .brand i { white-space: nowrap; }
}
@media (max-width: 359px) {
  .rail .brand i { display: none; }
  .icon-btn { width: 42px; height: 42px; }
}

/* telefon în landscape – meniul încape fără să fie nevoie de scroll */
@media (max-width: 1079px) and (max-height: 500px) {
  .rail-body { gap: 20px; padding-top: 16px; }
  .rail-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
  .rail-nav a { padding: 8px 0; font-size: 1.15rem; }
  .rail-info .status, .rail-addr { display: none; }
  .rail-phone { margin-top: 0; font-size: 1.6rem; }
}

/* ecrane foarte late – conținutul folosește mai mult din spațiu */
@media (min-width: 1800px) {
  .wrap { max-width: 1180px; }
  .hero-grid { max-width: 1320px; }
  .arch-wrap { max-width: 600px; }
}
