/* Dr. Ramona Drilea — Cabinet Stomatologie Generală și Implantologie, Focșani
   Direcția „split stage”: o coloană de citit și o scenă fixă (fotografiile cabinetului, apoi planul implantului).
   Culorile vin de pe cartea de vizită a cabinetului: negru, auriu, ivoriu. */

@font-face { font-family: "Imbue"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../fonts/imbue-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Imbue"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../fonts/imbue-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Albert Sans"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../fonts/albert-sans-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Albert Sans"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../fonts/albert-sans-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Albert Sans"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(../fonts/albert-sans-italic-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Albert Sans"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(../fonts/albert-sans-italic-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #100f0d;          /* negrul cărții de vizită */
  --surface: #1c1b18;
  --ink: #ebe9e4;
  --muted: #aaa395;
  --accent: #c9a24e;      /* auriul literelor de pe carte */
  --accent-hover: #d9b766;
  --accent-ink: #100f0d;
  --paper: #e8e8e4;
  --paper-ink: #16150f;
  --paper-muted: #5c574c;
  --gold-cell: #b38c3a;
  --gold-cell-focus: #e0c47e;

  --font-display: "Imbue", "Bodoni 72", "Didot", Georgia, serif;
  --font-text: "Albert Sans", "Helvetica Neue", Arial, sans-serif;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(1.875rem, 1.62rem + 0.6vw, 2.25rem);
  --step-display: clamp(2.5rem, 1.2rem + 3.6vw, 4.5rem);

  --gap: 12px;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --edge: clamp(1.25rem, 4.6vw, 4.25rem);
  --gutter: clamp(1rem, 1.6vw, 1.75rem);
  --section: clamp(6rem, 11vw, 11rem);
  --radius: 0px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-reveal: 800ms;

  --zigzag: polygon(0 0, 100% 0, 100% calc(100% - 11px), 98.077% 100%, 96.154% calc(100% - 11px), 94.231% 100%, 92.308% calc(100% - 11px), 90.385% 100%, 88.462% calc(100% - 11px), 86.538% 100%, 84.615% calc(100% - 11px), 82.692% 100%, 80.769% calc(100% - 11px), 78.846% 100%, 76.923% calc(100% - 11px), 75.000% 100%, 73.077% calc(100% - 11px), 71.154% 100%, 69.231% calc(100% - 11px), 67.308% 100%, 65.385% calc(100% - 11px), 63.462% 100%, 61.538% calc(100% - 11px), 59.615% 100%, 57.692% calc(100% - 11px), 55.769% 100%, 53.846% calc(100% - 11px), 51.923% 100%, 50.000% calc(100% - 11px), 48.077% 100%, 46.154% calc(100% - 11px), 44.231% 100%, 42.308% calc(100% - 11px), 40.385% 100%, 38.462% calc(100% - 11px), 36.538% 100%, 34.615% calc(100% - 11px), 32.692% 100%, 30.769% calc(100% - 11px), 28.846% 100%, 26.923% calc(100% - 11px), 25.000% 100%, 23.077% calc(100% - 11px), 21.154% 100%, 19.231% calc(100% - 11px), 17.308% 100%, 15.385% calc(100% - 11px), 13.462% 100%, 11.538% calc(100% - 11px), 9.615% 100%, 7.692% calc(100% - 11px), 5.769% 100%, 3.846% calc(100% - 11px), 1.923% 100%, 0 calc(100% - 11px));
--scallop: polygon(0.000% 9.00px, 0.758% 4.50px, 1.515% 1.21px, 2.273% 0.00px, 3.030% 1.21px, 3.788% 4.50px, 4.545% 9.00px, 5.303% 4.50px, 6.061% 1.21px, 6.818% 0.00px, 7.576% 1.21px, 8.333% 4.50px, 9.091% 9.00px, 9.848% 4.50px, 10.606% 1.21px, 11.364% 0.00px, 12.121% 1.21px, 12.879% 4.50px, 13.636% 9.00px, 14.394% 4.50px, 15.152% 1.21px, 15.909% 0.00px, 16.667% 1.21px, 17.424% 4.50px, 18.182% 9.00px, 18.939% 4.50px, 19.697% 1.21px, 20.455% 0.00px, 21.212% 1.21px, 21.970% 4.50px, 22.727% 9.00px, 23.485% 4.50px, 24.242% 1.21px, 25.000% 0.00px, 25.758% 1.21px, 26.515% 4.50px, 27.273% 9.00px, 28.030% 4.50px, 28.788% 1.21px, 29.545% 0.00px, 30.303% 1.21px, 31.061% 4.50px, 31.818% 9.00px, 32.576% 4.50px, 33.333% 1.21px, 34.091% 0.00px, 34.848% 1.21px, 35.606% 4.50px, 36.364% 9.00px, 37.121% 4.50px, 37.879% 1.21px, 38.636% 0.00px, 39.394% 1.21px, 40.152% 4.50px, 40.909% 9.00px, 41.667% 4.50px, 42.424% 1.21px, 43.182% 0.00px, 43.939% 1.21px, 44.697% 4.50px, 45.455% 9.00px, 46.212% 4.50px, 46.970% 1.21px, 47.727% 0.00px, 48.485% 1.21px, 49.242% 4.50px, 50.000% 9.00px, 50.758% 4.50px, 51.515% 1.21px, 52.273% 0.00px, 53.030% 1.21px, 53.788% 4.50px, 54.545% 9.00px, 55.303% 4.50px, 56.061% 1.21px, 56.818% 0.00px, 57.576% 1.21px, 58.333% 4.50px, 59.091% 9.00px, 59.848% 4.50px, 60.606% 1.21px, 61.364% 0.00px, 62.121% 1.21px, 62.879% 4.50px, 63.636% 9.00px, 64.394% 4.50px, 65.152% 1.21px, 65.909% 0.00px, 66.667% 1.21px, 67.424% 4.50px, 68.182% 9.00px, 68.939% 4.50px, 69.697% 1.21px, 70.455% 0.00px, 71.212% 1.21px, 71.970% 4.50px, 72.727% 9.00px, 73.485% 4.50px, 74.242% 1.21px, 75.000% 0.00px, 75.758% 1.21px, 76.515% 4.50px, 77.273% 9.00px, 78.030% 4.50px, 78.788% 1.21px, 79.545% 0.00px, 80.303% 1.21px, 81.061% 4.50px, 81.818% 9.00px, 82.576% 4.50px, 83.333% 1.21px, 84.091% 0.00px, 84.848% 1.21px, 85.606% 4.50px, 86.364% 9.00px, 87.121% 4.50px, 87.879% 1.21px, 88.636% 0.00px, 89.394% 1.21px, 90.152% 4.50px, 90.909% 9.00px, 91.667% 4.50px, 92.424% 1.21px, 93.182% 0.00px, 93.939% 1.21px, 94.697% 4.50px, 95.455% 9.00px, 96.212% 4.50px, 96.970% 1.21px, 97.727% 0.00px, 98.485% 1.21px, 99.242% 4.50px, 100.000% 9.00px, 100.000% calc(100% - 9.00px), 99.242% calc(100% - 4.50px), 98.485% calc(100% - 1.21px), 97.727% calc(100% - 0.00px), 96.970% calc(100% - 1.21px), 96.212% calc(100% - 4.50px), 95.455% calc(100% - 9.00px), 94.697% calc(100% - 4.50px), 93.939% calc(100% - 1.21px), 93.182% calc(100% - 0.00px), 92.424% calc(100% - 1.21px), 91.667% calc(100% - 4.50px), 90.909% calc(100% - 9.00px), 90.152% calc(100% - 4.50px), 89.394% calc(100% - 1.21px), 88.636% calc(100% - 0.00px), 87.879% calc(100% - 1.21px), 87.121% calc(100% - 4.50px), 86.364% calc(100% - 9.00px), 85.606% calc(100% - 4.50px), 84.848% calc(100% - 1.21px), 84.091% calc(100% - 0.00px), 83.333% calc(100% - 1.21px), 82.576% calc(100% - 4.50px), 81.818% calc(100% - 9.00px), 81.061% calc(100% - 4.50px), 80.303% calc(100% - 1.21px), 79.545% calc(100% - 0.00px), 78.788% calc(100% - 1.21px), 78.030% calc(100% - 4.50px), 77.273% calc(100% - 9.00px), 76.515% calc(100% - 4.50px), 75.758% calc(100% - 1.21px), 75.000% calc(100% - 0.00px), 74.242% calc(100% - 1.21px), 73.485% calc(100% - 4.50px), 72.727% calc(100% - 9.00px), 71.970% calc(100% - 4.50px), 71.212% calc(100% - 1.21px), 70.455% calc(100% - 0.00px), 69.697% calc(100% - 1.21px), 68.939% calc(100% - 4.50px), 68.182% calc(100% - 9.00px), 67.424% calc(100% - 4.50px), 66.667% calc(100% - 1.21px), 65.909% calc(100% - 0.00px), 65.152% calc(100% - 1.21px), 64.394% calc(100% - 4.50px), 63.636% calc(100% - 9.00px), 62.879% calc(100% - 4.50px), 62.121% calc(100% - 1.21px), 61.364% calc(100% - 0.00px), 60.606% calc(100% - 1.21px), 59.848% calc(100% - 4.50px), 59.091% calc(100% - 9.00px), 58.333% calc(100% - 4.50px), 57.576% calc(100% - 1.21px), 56.818% calc(100% - 0.00px), 56.061% calc(100% - 1.21px), 55.303% calc(100% - 4.50px), 54.545% calc(100% - 9.00px), 53.788% calc(100% - 4.50px), 53.030% calc(100% - 1.21px), 52.273% calc(100% - 0.00px), 51.515% calc(100% - 1.21px), 50.758% calc(100% - 4.50px), 50.000% calc(100% - 9.00px), 49.242% calc(100% - 4.50px), 48.485% calc(100% - 1.21px), 47.727% calc(100% - 0.00px), 46.970% calc(100% - 1.21px), 46.212% calc(100% - 4.50px), 45.455% calc(100% - 9.00px), 44.697% calc(100% - 4.50px), 43.939% calc(100% - 1.21px), 43.182% calc(100% - 0.00px), 42.424% calc(100% - 1.21px), 41.667% calc(100% - 4.50px), 40.909% calc(100% - 9.00px), 40.152% calc(100% - 4.50px), 39.394% calc(100% - 1.21px), 38.636% calc(100% - 0.00px), 37.879% calc(100% - 1.21px), 37.121% calc(100% - 4.50px), 36.364% calc(100% - 9.00px), 35.606% calc(100% - 4.50px), 34.848% calc(100% - 1.21px), 34.091% calc(100% - 0.00px), 33.333% calc(100% - 1.21px), 32.576% calc(100% - 4.50px), 31.818% calc(100% - 9.00px), 31.061% calc(100% - 4.50px), 30.303% calc(100% - 1.21px), 29.545% calc(100% - 0.00px), 28.788% calc(100% - 1.21px), 28.030% calc(100% - 4.50px), 27.273% calc(100% - 9.00px), 26.515% calc(100% - 4.50px), 25.758% calc(100% - 1.21px), 25.000% calc(100% - 0.00px), 24.242% calc(100% - 1.21px), 23.485% calc(100% - 4.50px), 22.727% calc(100% - 9.00px), 21.970% calc(100% - 4.50px), 21.212% calc(100% - 1.21px), 20.455% calc(100% - 0.00px), 19.697% calc(100% - 1.21px), 18.939% calc(100% - 4.50px), 18.182% calc(100% - 9.00px), 17.424% calc(100% - 4.50px), 16.667% calc(100% - 1.21px), 15.909% calc(100% - 0.00px), 15.152% calc(100% - 1.21px), 14.394% calc(100% - 4.50px), 13.636% calc(100% - 9.00px), 12.879% calc(100% - 4.50px), 12.121% calc(100% - 1.21px), 11.364% calc(100% - 0.00px), 10.606% calc(100% - 1.21px), 9.848% calc(100% - 4.50px), 9.091% calc(100% - 9.00px), 8.333% calc(100% - 4.50px), 7.576% calc(100% - 1.21px), 6.818% calc(100% - 0.00px), 6.061% calc(100% - 1.21px), 5.303% calc(100% - 4.50px), 4.545% calc(100% - 9.00px), 3.788% calc(100% - 4.50px), 3.030% calc(100% - 1.21px), 2.273% calc(100% - 0.00px), 1.515% calc(100% - 1.21px), 0.758% calc(100% - 4.50px), 0.000% calc(100% - 9.00px));
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-text); font-size: var(--step-body); line-height: 1.55; letter-spacing: 0.005em; font-kerning: normal; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
table { border-collapse: separate; border-spacing: 0; }
th { font-weight: inherit; text-align: left; }
address { font-style: normal; }
:target { scroll-margin-top: 4.5rem; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- type ---------- */
h1, h2 { font-family: var(--font-display); font-weight: 400; font-optical-sizing: auto; text-transform: uppercase; text-wrap: balance; hyphens: none; }
.display { font-size: var(--step-display); line-height: 0.9; letter-spacing: 0.01em; }
.head { font-family: var(--font-display); font-weight: 400; font-optical-sizing: auto; font-size: var(--step-head); line-height: 0.98; letter-spacing: 0.015em; }
p { max-width: 62ch; text-wrap: pretty; }
p + p { margin-top: 0.9em; }
.small { font-size: var(--step-small); line-height: 1.45; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 30; padding: 10px 16px; background: var(--accent); color: var(--accent-ink); text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- controls ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: 0 1.6rem; background: var(--accent); color: var(--accent-ink); border-radius: var(--radius); font-weight: 500; text-decoration: none; white-space: nowrap; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.button:active { transform: scale(0.97); }
.button:focus-visible { outline-color: var(--ink); }
.button-small { min-height: 2.75rem; padding: 0 1.1rem; }
.button-ink { background: var(--accent-ink); color: var(--accent); }
.link { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.2em; text-decoration-thickness: 0.07em; transition: text-decoration-color var(--t-hover) ease; }
.link-plain { text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 0.07em; transition: color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: var(--accent-hover); }
  .button-ink:hover { background: #2a2824; }
  .link:hover { text-decoration-color: currentColor; }
  .link-plain:hover { color: var(--accent); }
}

/* ---------- phone bar ---------- */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 20; height: 3.5rem; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; background: var(--bg); transform: translateY(-100%); transition: transform 300ms var(--ease-out); }
.bar.is-on { transform: none; }
.bar-mark { font-family: var(--font-display); font-weight: 400; font-size: var(--step-lead); text-transform: uppercase; letter-spacing: 0.02em; color: var(--accent); text-decoration: none; }

/* ---------- the split ---------- */
.read > section { padding-inline: var(--pad); }
.stage { display: none; }
.phone-shot { margin-top: 48px; }
.phone-shot img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--surface); }
.phone-shot figcaption { margin-top: 10px; color: var(--muted); }

/* hero */
.hero { position: relative; padding-inline: 0 !important; }
.hero-shot { position: sticky; top: var(--gap); margin: var(--gap) var(--gap) 0; height: 56svh; z-index: 0; }
.hero-shot img { height: 100%; aspect-ratio: auto; object-position: 50% 30%; }
.hero-shot .shot-bar { position: absolute; left: 0; right: 0; bottom: 0; }
.shot-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 3.5rem; padding: 0 18px; background: var(--bg); color: var(--ink); font-size: var(--step-small); line-height: 1.3; }
.shot-bar a { text-decoration: none; }
.hero-sheet { position: relative; z-index: 1; background: var(--bg); padding: 28px var(--pad) 72px; text-align: center; }
.hero-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.hero-link { display: none; text-decoration: none; }
.wordmark { grid-column: 2; font-family: var(--font-display); font-weight: 400; font-optical-sizing: auto; font-size: var(--step-head); line-height: 1; text-transform: uppercase; letter-spacing: 0.03em; color: var(--accent); }
.hero-body { margin-top: 40px; }
.hero h1 { color: var(--accent); max-width: 20ch; margin-inline: auto; }
.lines .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.lines [data-line] { display: block; }
.hero-lead { max-width: 38ch; margin: 22px auto 0; }
.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 28px; }
.hero-actions .button { width: 100%; max-width: 22rem; }
.hero-proof { margin: 24px auto 0; }

/* intro */
.intro { padding-block: 64px 112px; }
.intro-col { max-width: 21rem; }
.intro-first { font-weight: 500; }

/* lucrari */
.lucrari { padding-block: var(--section); }
.rows { max-width: 36rem; margin-top: 32px; }
.rows-group { color: var(--muted); margin-top: 40px; }
.rows-group:first-child { margin-top: 0; }
.rows-list { margin-top: 6px; }
.rows-list li { display: flex; flex-direction: column; gap: 2px; min-height: 2.75rem; padding-block: 8px; }
.rows-name { max-width: 30ch; }
.rows-value { font-size: var(--step-small); color: var(--muted); font-variant-numeric: tabular-nums; }
.rows-note { margin-top: 36px; color: var(--muted); max-width: 46ch; }

/* etape */
.etape { padding-block: var(--section); }
.etape-intro { display: grid; gap: 24px; margin-top: 20px; }
.clip { max-width: 15rem; }
.clip video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--surface); }
.clip figcaption { margin-top: 10px; color: var(--muted); }
.slip { width: 100%; max-width: 36rem; margin-top: 48px; padding: 4px clamp(16px, 4vw, 28px) 52px; background: var(--paper); color: var(--paper-ink); clip-path: var(--zigzag); font-variant-numeric: tabular-nums; }
.slip th { padding-top: 26px; }
.slip-step { font-weight: 600; text-align: left; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 3px; text-underline-offset: 0.3em; transition: text-decoration-color var(--t-hover) ease; }
.slip tbody.is-current .slip-step { text-decoration-color: currentColor; }
.slip td { padding-block: 6px; vertical-align: bottom; }
.slip td + td { width: 8.5rem; padding-left: 10px; text-align: right; font-size: var(--step-small); color: var(--paper-muted); line-height: 1.35; }
.slip-what { display: flex; align-items: baseline; gap: 8px; }
.slip-what::after { content: ""; flex: 1; min-width: 16px; border-bottom: 4px dotted currentColor; opacity: 0.35; transform: translateY(-4px); display: none; }
.slip-total td { background: var(--paper-ink); color: var(--paper); padding: 12px; }
.slip-total td + td { color: var(--paper); white-space: normal; }
.slip-end th { padding-bottom: 10px; }
.etape-lab { margin-top: 22px; color: var(--muted); max-width: 46ch; }

/* plan (drawing) */
.plan { margin: 0 calc(var(--pad) * -1) 56px; padding: 20px var(--pad) 22px; background: var(--paper); color: var(--paper-ink); display: grid; gap: 14px; }
.plan-head { display: flex; justify-content: space-between; gap: 16px; font-size: var(--step-small); }
.plan-step { font-weight: 600; }
.plan-art { position: relative; width: 100%; aspect-ratio: 600 / 640; margin-inline: auto; background: #0c0c0b; }
.plan-art svg { width: 100%; height: 100%; }
.plan-labels li { position: absolute; left: var(--x); top: var(--y); max-width: 9.5rem; color: var(--ink); font-size: var(--step-small); line-height: 1.25; opacity: 0; transition: opacity 400ms ease; }
.plan-steps { display: flex; flex-wrap: wrap; gap: 6px; }
.plan-steps button { min-height: 2.75rem; padding: 0 12px; background: #d8d8d3; color: var(--paper-ink); font-size: var(--step-small); transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.plan-steps button:active { transform: scale(0.97); }
.plan-steps button[aria-pressed="true"] { background: var(--paper-ink); color: var(--paper); }
.plan-caption { min-height: 3em; }
.plan-note { color: var(--paper-muted); }

.plan .p-plan, .plan .p-guide, .plan .p-implant, .plan .p-prov, .plan .p-newbone, .plan .p-final, .plan .p-leaders path { opacity: 0; transition: opacity 600ms ease; }
.plan .p-implant-move { transform: translateY(-232px); transition: transform 1300ms var(--ease-in-out); }
.plan[data-step="2"] .p-plan, .plan[data-step="2"] .p-guide { opacity: 1; }
.plan[data-step="3"] .p-plan { opacity: 0.5; }
.plan[data-step="3"] .p-guide, .plan[data-step="3"] .p-implant { opacity: 1; }
.plan[data-step="3"] .p-prov { opacity: 1; transition-delay: 1100ms; }
.plan[data-step="4"] .p-implant, .plan[data-step="4"] .p-prov, .plan[data-step="4"] .p-newbone { opacity: 1; }
.plan[data-step="5"] .p-implant, .plan[data-step="5"] .p-newbone, .plan[data-step="5"] .p-final { opacity: 1; }
.plan[data-step="3"] .p-implant-move, .plan[data-step="4"] .p-implant-move, .plan[data-step="5"] .p-implant-move { transform: none; }
.plan[data-step="1"] .l-1, .plan[data-step="2"] .l-2, .plan[data-step="3"] .l-3, .plan[data-step="4"] .l-4, .plan[data-step="5"] .l-5 { opacity: 1; }

/* medic */
.medic { padding-block: var(--section); }
.letter { max-width: 32.5rem; margin-inline: auto; }
.letter-face { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; margin-bottom: 28px; background: var(--surface); }
.letter-sign { margin-top: 30px; font-size: var(--step-lead); font-style: italic; line-height: 1.2; }
.letter-role { margin-top: 8px; color: var(--muted); }
.formare { max-width: 32.5rem; margin: 72px auto 0; display: grid; gap: 18px; }
.formare div { display: grid; grid-template-columns: 4.5rem 1fr; gap: 16px; align-items: baseline; }
.formare dt { color: var(--muted); font-size: var(--step-small); font-variant-numeric: tabular-nums; }

/* ---------- full-width chapters ---------- */
.tratamente, .recenzii { padding: var(--section) var(--gap); display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
.tratamente { background: var(--surface); }
.menu { padding: 44px 22px 56px; background: var(--paper); color: var(--paper-ink); clip-path: var(--scallop); }
.menu h2 { text-align: center; margin-bottom: 36px; }
.menu-table { width: 100%; }
.menu-table tbody + tbody .menu-group th { padding-top: 40px; }
.menu-group th { padding-bottom: 6px; font-size: var(--step-lead); font-weight: 600; line-height: 1.2; }
.menu-table th[scope="row"], .menu-table td { padding-top: 16px; vertical-align: top; }
.menu-table th[scope="row"] { width: 100%; }
.menu-name { display: flex; align-items: baseline; gap: 8px; }
.menu-name::after { content: ""; flex: 1; min-width: 14px; border-bottom: 4px dotted currentColor; opacity: 0.3; transform: translateY(-5px); }
.menu-plain .menu-name::after { display: none; }
.menu-desc { display: block; max-width: 34ch; margin-top: 2px; font-size: var(--step-small); color: var(--paper-muted); line-height: 1.4; }
.menu-table td { padding-left: 6px; text-align: right; white-space: nowrap; font-size: var(--step-small); color: var(--paper-muted); line-height: 1.9; }
.menu-foot { margin-top: 32px; color: var(--paper-muted); text-align: center; margin-inline: auto; }
.tratamente-shot img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--bg); }
.tratamente-shot figcaption { margin-top: 10px; color: var(--muted); }

.recenzii-portrait { width: 72%; }
.recenzii-portrait img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 30% 40%; background: var(--surface); }
.recenzii-quote blockquote p { font-size: var(--step-lead); line-height: 1.3; max-width: 34ch; }
.recenzii-who { margin-top: 28px; color: var(--muted); }
.recenzii-small { width: 44%; margin-left: auto; }
.recenzii-small img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--surface); }
.nota-figure { display: flex; align-items: baseline; gap: 12px; }
.nota-figure .head { color: var(--accent); font-size: var(--step-display); line-height: 0.9; }
.nota p + p { margin-top: 10px; }
.nota-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.cuvinte-table { width: 100%; max-width: 30rem; font-variant-numeric: tabular-nums; }
.cuvinte-table caption { text-align: left; color: var(--muted); padding-bottom: 12px; }
.cuvinte-table th, .cuvinte-table td { padding-block: 7px; }
.cuvinte-table td { text-align: right; padding-left: 16px; }
.citate { display: grid; gap: 36px; }
.citate-who { margin-top: 10px; color: var(--muted); font-size: var(--step-small); }

/* programare (gold field) */
.programare { background: var(--accent); color: var(--accent-ink); padding-block: 48px var(--section); }
.programare ::selection { background: var(--accent-ink); color: var(--accent); }
.programare :focus-visible { outline-color: var(--accent-ink); }
.banda { overflow: hidden; }
.banda-track { display: flex; gap: 8px; width: max-content; padding-inline: var(--gap); }
.banda-track li { flex: none; }
.banda-track img { height: 110px; width: auto; background: var(--gold-cell); }
.programare-body { padding-inline: var(--edge); }
.programare h2 { margin-top: 64px; }
.cells { display: grid; gap: 8px; margin-top: 36px; }
.cell-input, .cell-send { width: 100%; min-height: 3.75rem; padding: 0 16px; border: 0; border-radius: var(--radius); background: var(--gold-cell); color: var(--accent-ink); font-size: var(--step-body); text-align: center; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.cell-input::placeholder { color: var(--accent-ink); opacity: 0.78; }
.cell-input:focus { background: var(--gold-cell-focus); outline: 0; }
.cell-input:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.cell-send { background: var(--accent-ink); color: var(--accent); font-weight: 500; }
.cell-send:active { transform: scale(0.98); }
.cell-note { margin-top: 8px; max-width: 34ch; }
.cell-note a { font-weight: 500; }
.facts { display: grid; gap: 28px; margin-top: 64px; }
.facts-key { font-weight: 600; }
.facts p + p { margin-top: 6px; }
.facts .link-plain + .link-plain { margin-left: 18px; }
.harta { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.harta iframe { width: 100%; height: 26rem; border: 0; display: block; background: var(--gold-cell); }
.programare .link-plain:hover { color: inherit; text-decoration-thickness: 2px; }

/* footer */
.final { position: relative; min-height: 88svh; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; color: var(--ink); background: var(--bg); }
.final-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; filter: brightness(0.42); }
.final-top, .final-bottom { position: relative; padding-inline: var(--edge); }
.final-top { padding-top: 32px; display: grid; gap: 28px; }
.final-links { display: grid; gap: 6px; }
.final-links a { text-decoration-color: transparent; }
.final-bottom { padding-bottom: 28px; }
.final-mark { width: 100%; height: auto; color: var(--paper); }
.final-legal { margin-top: 18px; max-width: 70ch; }

/* ---------- tablet ---------- */
@media (min-width: 40em) {
  .slip td + td { width: 11rem; }
  .slip-what::after { display: block; }
  .phone-shot:not(.hero-shot) { max-width: 30rem; }
  .etape > .plan .plan-art { max-width: 32rem; }
  .rows-list li { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 24px; }
  .rows-name { max-width: 32ch; }
  .rows-value { flex: none; max-width: 22ch; text-align: right; }
  .etape-intro { grid-template-columns: minmax(0, 1fr) 12rem; align-items: start; gap: 32px; }
  .clip { max-width: none; }
  .cells { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cell-input, .cell-send { min-height: 6rem; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .citate { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); }
  .banda-track img { height: 150px; }
  .final-top { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .final-links { grid-column: 1 / span 4; }
  .final-contact { grid-column: 9 / span 4; }
}

/* ---------- desktop: the split stage ---------- */
@media (min-width: 64em) {
  .bar { display: none; }
  .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); padding: var(--gap); }
  .stage { display: block; position: sticky; top: var(--gap); height: calc(100svh - 2 * var(--gap)); align-self: start; overflow: hidden; background: var(--surface); }
  .shot { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity 1600ms var(--ease-soft), visibility 0s linear 1600ms; }
  .shot.is-on { opacity: 1; visibility: visible; transition: opacity 1600ms var(--ease-soft), visibility 0s; }
  .shot img { width: 100%; height: 100%; object-fit: cover; background: var(--surface); }
  .shot .shot-bar { position: absolute; left: 0; right: 0; bottom: 0; }
  .shot[data-shot="operatie"] img { object-position: 50% 32%; }
  .shot[data-shot="portret"] img { object-position: 76% 40%; }
  .shot[data-shot="lucrare"] img { object-position: 50% 24%; }
  .shot-plan { background: var(--paper); display: flex; flex-direction: column; justify-content: center; }
  .shot-plan .plan { margin: 0; height: 100%; padding: 28px 36px 24px; align-content: center; }
  .shot-plan .plan-art { width: min(100%, calc((100svh - 2 * var(--gap) - 290px) * 0.9375)); }

  .phone-shot { display: none; }
  .hero { min-height: calc(100svh - 2 * var(--gap)); display: flex; flex-direction: column; }
  .hero-sheet { flex: 1; padding: 24px var(--pad) 0; display: flex; flex-direction: column; }
  .hero-top { min-height: 3rem; }
  .hero-link { display: inline; justify-self: start; }
  .hero-link:last-child { justify-self: end; }
  .hero-link { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.2em; text-decoration-thickness: 0.07em; transition: text-decoration-color var(--t-hover) ease; }
  .hero-link:hover { text-decoration-color: currentColor; }
  .hero-body { margin-top: 22svh; }
  .hero-actions .button { width: auto; }
  .intro { padding-block: 64px 160px; }
  .etape .plan { margin-inline: 0; }

  .tratamente, .recenzii { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 0; padding-inline: var(--edge); align-items: start; }
  .menu { grid-column: 1 / span 6; padding: 60px 48px 68px; }
  .tratamente-shot { grid-column: 8 / span 5; margin-top: 60px; position: sticky; top: 48px; }

  .recenzii-portrait { grid-column: 2 / span 4; grid-row: 1 / span 2; width: auto; }
  .recenzii-quote { grid-column: 6 / span 7; grid-row: 1; margin-top: 120px; }
  .recenzii-quote blockquote p { font-size: var(--step-head); line-height: 1.22; max-width: 44ch; }
  .recenzii-small { grid-column: 10 / span 2; grid-row: 2; width: auto; margin-top: 96px; }
  .nota { grid-column: 2 / span 4; grid-row: 3; margin-top: 160px; }
  .cuvinte { grid-column: 7 / span 5; grid-row: 3; margin-top: 160px; }
  .citate { grid-column: 2 / span 10; grid-row: 4; margin-top: 120px; column-gap: calc(var(--gutter) * 3); row-gap: 48px; }

  .programare { min-height: 80svh; }
  .final { min-height: 100svh; }
}

@media (min-width: 64em) and (max-height: 46em) {
  .hero-body { margin-top: 14svh; }
}

/* ---------- confidențialitate, 404 ---------- */
.legal-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px var(--pad); }
.legal { max-width: 46rem; margin-inline: auto; padding: 56px var(--pad) var(--section); }
.legal h1 { margin-bottom: 22px; }
.legal h2 { margin: 48px 0 12px; font-size: var(--step-lead); line-height: 1.15; }
.legal ul { list-style: disc; padding-left: 1.2em; max-width: 62ch; }
.legal li + li { margin-top: 10px; }
.legal-foot { padding: 32px var(--pad) 48px; color: var(--muted); max-width: 46rem; margin-inline: auto; }
.legal-404 { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.legal-404 .bar-mark { margin-bottom: 40px; }
.legal-404-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }

/* ---------- motion (content stays visible without JavaScript) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] { opacity: 0; transform: translateY(18px); animation: rise var(--t-reveal) var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 260ms); }
  .js .lines [data-line] { transform: translateY(105%); animation: line 900ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 110ms + 120ms); }
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js [data-reveal-list] > * { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
  .js [data-reveal-list].is-in > * { opacity: 1; transform: none; }
  .js .shot.is-on img { animation: drift 16s var(--ease-soft) both; }
  .banda.is-moving { overflow: hidden; }
  .banda.is-moving .banda-track { animation: marquee var(--marquee, 70s) linear infinite; }
  .banda.is-moving:hover .banda-track, .banda.is-moving:focus-within .banda-track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .banda-track { flex-wrap: wrap; width: auto; }
  .banda-track li:nth-child(n+9) { display: none; }
  .shot, .shot.is-on { transition: none; }
  .plan .p-implant-move { transition: none; }
  .plan * { transition-delay: 0s !important; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes line { to { transform: none; } }
@keyframes drift { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes marquee { to { transform: translateX(-50%); } }
