/* Andra Dent, Slobozia. Culorile vin de pe clădire: antracitul copertinei, auriul literelor, marmura albă din hol.
   Singura formă a paginii e arcada din sala de tratament (oglinda din marmură și panoul auriu cu citatul). */

@font-face { font-family: "League Spartan"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/spartan-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: "League Spartan"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/spartan-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: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("../fonts/figtree-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: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("../fonts/figtree-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 {
  --soot: #17181b;
  --canopy: #2d2f34;
  --canopy-2: #3b3e44;
  --marble: #f2f1ee;
  --white: #ffffff;
  --gold: #c9a35b;
  --gold-hover: #d6b46f;
  --gold-2: #dcc390;
  --gold-3: #e6d3ab;
  --ink: #17181b;
  --muted: #54565c;
  --muted-dark: #b0b2b7;

  --m: clamp(16px, 3vw, 40px);
  --gap: clamp(120px, 12vw, 190px);

  --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.05rem + 0.7vw, 1.75rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(5.25rem, 10vw, 10.5rem);

  --display: "League Spartan", "Futura", "Avenir Next", system-ui, sans-serif;
  --text: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { background: var(--marble); color: var(--ink); font: 400 var(--step-body)/1.5 var(--text); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
ul { list-style: none; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.04em; line-height: .92; }
h2 { font-size: var(--step-head); }
h3 { font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1.05; }
h4 { font: 600 var(--step-body)/1.3 var(--text); }
.lead { font-size: var(--step-lead); line-height: 1.35; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--gold); color: var(--ink); padding: 12px 18px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* Forma paginii: arcada. Raza mare se reduce singură la jumătate din lățime, deci vârful e un semicerc. */
.arch { border-radius: 9999px 9999px 0 0; overflow: hidden; }
.arch img, .arch video { display: block; width: 100%; height: 100%; object-fit: cover; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 30px;
  border-radius: 28px 28px 0 0; font: 600 var(--step-body)/1 var(--text); text-decoration: none; cursor: pointer; border: 0;
  transition: transform .25s var(--ease), background-color .25s var(--ease); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-hover); transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn-small { min-height: 44px; padding: 0 22px; border-radius: 22px 22px 0 0; }

.text-link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; transition: color .2s; }
.text-link:hover { color: var(--muted); }

/* Bara fixă, după primul ecran */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 50; height: 64px; display: flex; align-items: center; gap: 32px;
  padding: 0 var(--m); background: var(--soot); color: var(--white); transform: translateY(-101%); transition: transform .35s var(--ease); }
.bar.is-on { transform: none; }
.bar-mark { font: 700 1.5rem/1 var(--display); letter-spacing: -0.04em; color: var(--gold); text-decoration: none; padding-top: 4px; }
.bar-links { display: flex; gap: 28px; margin-left: auto; }
.bar-links a { text-decoration: none; transition: color .2s; }
.bar-links a:hover { color: var(--gold); }

/* Primul ecran: copertina (auriu pe antracit) și teancul de dosare */
.hero { background: var(--soot); color: var(--white); overflow: hidden; }
.hero-top { position: relative; min-height: 51svh; padding: 22px var(--m) 72px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-sign { font-size: var(--step-body); }
.hero-phone { position: absolute; top: 22px; right: var(--m); color: var(--gold); font-weight: 600; text-decoration: none; }
.hero-phone:hover { text-decoration: underline; text-underline-offset: 5px; }
.hero-title { font-size: var(--step-display); line-height: .88; color: var(--gold); margin-top: clamp(40px, 8svh, 92px); white-space: nowrap; }
.hero-sub { max-width: 44ch; margin-top: 26px; font-size: var(--step-lead); line-height: 1.35; text-wrap: balance; }

.folders { display: block; width: 86vw; margin: 0 auto; }
.folder { position: relative; display: block; height: 64px; text-decoration: none; }
.folder .tab { position: absolute; bottom: 100%; height: 40px; padding: 2px 24px 0; display: flex; align-items: center;
  border-radius: 20px 20px 0 0; background: inherit; color: inherit; font-weight: 600; font-size: var(--step-body); text-decoration: none; white-space: nowrap;
  transition: height .25s var(--ease); }
a.folder:hover .tab, .folder .tab:hover { height: 48px; }
.f1 { background: var(--canopy-2); color: var(--white); } .f1 .tab { left: 4%; }
.f2 { background: var(--marble); color: var(--ink); } .f2 .tab { left: 25%; }
.f3 { background: var(--gold); color: var(--ink); } .f3 .tab { left: 46%; }
.f4 { background: var(--white); color: var(--ink); } .f4 .tab { left: 67%; }
.f5 { height: 74svh; min-height: 440px; background: var(--canopy); color: var(--white); overflow: visible; }
.f5 .tab { right: 4%; background: var(--canopy); }
.front-photo { position: absolute; inset: 0; overflow: hidden; display: block; }
.front-photo img { width: 100%; height: calc(100% + 80px); margin-top: -80px; object-fit: cover; transform: scale(1.04); animation: drift 26s ease-in-out infinite alternate; }
@keyframes drift { to { transform: scale(1.13) translate(-1.6%, -1.2%); } }
.front-actions { position: absolute; top: 32px; left: 32px; display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.status-chip { display: flex; align-items: center; min-height: 56px; padding: 0 22px; background: var(--soot); color: var(--white); }

/* Clinica: panou antracit */
.about { padding: var(--gap) 20px 0; }
.about-panel { position: relative; overflow: hidden; background: var(--canopy); color: var(--white);
  display: grid; grid-template-columns: 58% 1fr; padding: 56px 56px 0; min-height: 100svh; }
.about-title { grid-column: 1; max-width: 12ch; }
.about-photo { grid-column: 1; align-self: end; width: 38vw; aspect-ratio: 4 / 5; margin-top: 64px; margin-bottom: calc(-0.2 * 38vw * 1.25); }
.about-text { grid-column: 2; grid-row: 1 / 3; display: flex; flex-direction: column; align-items: flex-start; gap: 64px; padding-left: 8%; max-width: 420px; }
.about-block h3 { margin-bottom: 14px; }
.about-block p { color: var(--white); }

/* Tratamente */
.list { padding: var(--gap) var(--m) var(--gap); }
.list-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; }
.list-head h2 { grid-column: 1 / 6; }
.list-head .lead { grid-column: 7 / 12; max-width: 40ch; }
.cat-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 96px 0 40px; }
.cat-count { color: var(--muted); white-space: nowrap; }
.items { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; row-gap: 36px; }
.items li { display: flex; gap: 20px; }
.arch-dot { flex: 0 0 auto; width: 18px; height: 24px; margin-top: 2px; background: var(--gold); border-radius: 9px 9px 0 0; transition: transform .3s var(--ease); }
.items li:hover .arch-dot { transform: translateY(-4px); }
.items p { color: var(--muted); max-width: 42ch; margin-top: 4px; }

/* Implanturi: câmp auriu, placa pătrată în arcadă */
.showcase { background: var(--gold); color: var(--ink); min-height: 88svh; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr auto; }
.sc-tabs { grid-column: 2; grid-row: 1; display: flex; flex-wrap: wrap; gap: 6px; padding: 56px 56px 0 40px; }
.sc-tab { height: 48px; padding: 0 22px; border: 0; border-radius: 24px 24px 0 0; background: var(--gold-2); color: var(--ink); font-weight: 600; cursor: pointer;
  transition: background-color .24s var(--ease), color .24s var(--ease); }
.sc-tab:hover { background: var(--gold-3); }
.sc-tab.is-active { background: var(--soot); color: var(--gold); }
.sc-panel { display: contents; }
.sc-plate { grid-column: 1; grid-row: 1 / 4; align-self: center; justify-self: center; width: calc(100% - 80px); max-width: 720px; aspect-ratio: 1; margin: 40px; background: var(--soot); transition: opacity .24s linear; }
.sc-text { grid-column: 2; grid-row: 2; align-self: center; padding: 48px 56px 48px 40px; transition: opacity .24s linear; }
.sc-text h2 { margin-bottom: 28px; }
.sc-text p { max-width: 38ch; }
.sc-text .sc-src { margin-top: 20px; font-size: var(--step-small); }
.js .sc-panel:not(.is-active) > * { opacity: 0; visibility: hidden; }
.sc-actions { grid-column: 2; grid-row: 3; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 56px 56px 40px; }
.cell { min-height: 72px; display: flex; align-items: center; justify-content: center; padding: 0 16px; border-radius: 36px 36px 0 0; font-weight: 600; text-decoration: none; text-align: center;
  transition: transform .25s var(--ease), background-color .25s var(--ease); }
.cell:hover { transform: translateY(-3px); }
.cell-ink { background: var(--soot); color: var(--white); }
.cell-soft { background: var(--gold-2); color: var(--ink); }
.cell-soft:hover { background: var(--gold-3); }
html:not(.js) .showcase { display: block; padding-bottom: 40px; }
html:not(.js) .sc-tabs { display: none; }
html:not(.js) .sc-panel { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
html:not(.js) .sc-actions { padding: 0 40px; }

/* Cabinetul: perete de plăci */
.gallery { background: var(--white); padding: var(--gap) 8px; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tile { position: relative; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.tile-word { font: 700 var(--step-head)/.9 var(--display); letter-spacing: -0.04em; padding-top: .08em; }
.tile-cap { position: absolute; left: 12px; right: 12px; bottom: 18px; text-align: center; font-size: var(--step-small); line-height: 1.3; }
.t-soot { background: var(--soot); color: var(--gold); } .t-soot .tile-cap { color: var(--muted-dark); }
.t-marble { background: var(--marble); color: var(--ink); } .t-marble .tile-cap { color: var(--muted); }
.t-gold { background: var(--gold); color: var(--ink); }
.t-canopy { background: var(--canopy); color: var(--white); } .t-canopy .tile-cap { color: var(--muted-dark); }
.t-photo { background: var(--marble); }
.t-photo .tile-cap { color: var(--muted); }
.t-photo figure { position: absolute; top: 8%; bottom: 19%; left: 13%; right: 13%; }
.t-photo img { transition: transform .8s var(--ease); }
.t-photo:hover img { transform: scale(1.05); }

/* Recenzii */
.reviews { background: var(--marble); padding-bottom: var(--gap); }
.t-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding: var(--gap) var(--m) 0; }
.t-portrait { grid-column: 2 / 6; grid-row: 1 / 3; aspect-ratio: 3 / 4; }
.t-quote { grid-column: 7 / 13; grid-row: 1; margin-top: 120px; }
.t-quote blockquote p { font-size: var(--step-lead); line-height: 1.28; max-width: 34ch; }
.t-who { margin-top: 32px; color: var(--muted); }
.t-small { grid-column: 10 / 12; grid-row: 2; align-self: start; aspect-ratio: 1; margin-top: 96px; }
.t-caption { grid-column: 2 / 9; grid-row: 3; margin-top: 18px; font-size: var(--step-small); color: var(--muted); }

.score { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; padding: 140px var(--m) 0; }
.score-main { grid-column: 2 / 6; }
.score-num { font: 700 var(--step-display)/.82 var(--display); letter-spacing: -0.05em; }
.score-txt { margin-top: 14px; }
.dist { grid-column: 7 / 12; display: grid; gap: 8px; }
.dist > div { display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 12px; }
.dist dt { font-size: var(--step-small); color: var(--muted); }
.dist dd { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.dist-bar { display: block; height: 14px; width: calc(var(--n) / 38 * (100% - 40px)); background: var(--gold); border-radius: 7px 7px 0 0; }
.words { grid-column: 2 / 11; margin-top: 64px; font-size: var(--step-lead); line-height: 1.35; max-width: 44ch; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 64px 48px; padding: 96px var(--m) 0 calc(var(--m) + (100% - 2 * var(--m)) / 12); }
.quotes blockquote p { max-width: 36ch; }
.q-who { margin-top: 14px; color: var(--muted); font-size: var(--step-small); }
.reviews-links { display: flex; flex-wrap: wrap; gap: 32px; padding: 64px var(--m) 0 calc(var(--m) + (100% - 2 * var(--m)) / 12); }

/* Programare: cuponul */
.contact { background: var(--soot); color: var(--white); padding: var(--gap) var(--m); }
.coupon { position: relative; width: calc(100% * 10 / 12); margin: 0 auto; display: grid; grid-template-columns: 46% auto 1fr; background: var(--gold); color: var(--ink); }
.coupon::before, .coupon::after { content: ""; position: absolute; left: calc(46% - 14px); width: 28px; height: 28px; border-radius: 50%; background: var(--soot); }
.coupon::before { top: -14px; } .coupon::after { bottom: -14px; }
.coupon-left { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 52px 48px; }
.coupon-left h2 { max-width: 9ch; }
.coupon-left p { max-width: 34ch; }
.perforation { display: flex; flex-direction: column; justify-content: space-between; align-items: center; width: 5px; padding: 30px 0; margin-left: -2px; }
.perforation i { display: block; width: 5px; height: 5px; border-radius: 50%; background: var(--soot); }
.coupon-right { display: flex; flex-direction: column; gap: 10px; padding: 48px; }
.slot { min-height: 52px; display: flex; align-items: center; padding: 10px 18px; background: var(--gold-2); color: var(--ink); text-decoration: none; transition: background-color .2s; }
a.slot:hover { background: var(--gold-3); }
.slot-status { font-weight: 600; }
.slot-bar { min-height: 56px; margin-top: 6px; display: flex; align-items: center; justify-content: center; border-radius: 28px 28px 0 0; background: var(--soot); color: var(--white); font-weight: 600; text-decoration: none; transition: transform .25s var(--ease); }
.slot-bar:hover { transform: translateY(-2px); }

.visit { width: calc(100% * 10 / 12); margin: 140px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; }
.hours h3 { margin-bottom: 20px; color: var(--gold); }
.hours table { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: 9px 0; text-align: left; font-weight: 400; }
.hours td { text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--gold); font-weight: 600; }
.hours tr.is-today th::after { content: " · azi"; }
.hours-note { margin-top: 28px; max-width: 34ch; color: var(--muted-dark); }
.hours .text-link { display: inline-block; margin-top: 16px; }
.hours .text-link:hover { color: var(--gold); }
.map-wrap { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.map-wrap .map-note { align-self: stretch; max-width: 640px; margin-left: auto; }
.map { position: relative; width: 100%; max-width: 640px; aspect-ratio: 1; justify-self: end; background: var(--canopy); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-btn { position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); }
.map-btn:hover { transform: translateX(-50%) translateY(-2px); }
.map-note { font-size: var(--step-small); color: var(--muted-dark); }

/* Subsolul: numele, construit din blocuri */
.footer { background: var(--soot); color: var(--white); padding: 0 var(--m) 32px; }
.mark { display: flex; align-items: flex-end; gap: 4px; height: 34svh; min-height: 220px; }
.mark span { flex: 1 1 0; height: var(--h); display: flex; align-items: center; justify-content: center; font: 700 clamp(3rem, 9vw, 9.5rem)/1 var(--display); color: var(--soot); padding-top: .1em; }
.mark span:nth-of-type(4n+1) { background: var(--gold); }
.mark span:nth-of-type(4n+2) { background: var(--marble); }
.mark span:nth-of-type(4n+3) { background: var(--gold-2); }
.mark span:nth-of-type(4n) { background: var(--white); }
.mark .mark-gap { flex: 0 0 3vw; background: none !important; }
.foot-cols { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; margin-top: 56px; }
.foot-col { grid-column: span 2; display: flex; flex-direction: column; gap: 10px; }
.foot-col a, .foot-contact a { text-decoration: none; transition: color .2s; }
.foot-col a:hover, .foot-contact a:hover { color: var(--gold); }
.foot-contact { grid-column: 8 / 13; display: flex; flex-direction: column; gap: 10px; }
.foot-last { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 64px; font-size: var(--step-small); color: var(--muted-dark); }

/* Intrări în scenă */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .sc-panel:not(.is-active) > [data-reveal] { opacity: 0; }

@media (max-width: 1100px) {
  .bar-links { display: none; }
  .bar .btn { margin-left: auto; }
  .about-panel { grid-template-columns: 1fr 1fr; }
  .about-photo { width: 42vw; margin-bottom: calc(-0.2 * 42vw * 1.25); }
  .about-text { padding-left: 32px; }
  .quotes { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .about { padding: var(--gap) 16px 0; }
  .about-panel { display: flex; flex-direction: column; padding: 48px 36px 0; min-height: 0; }
  .about-title { max-width: 14ch; }
  .about-text { padding: 0; margin-top: 40px; gap: 40px; max-width: 560px; }
  .about-photo { order: 3; align-self: center; width: min(86vw, 560px); margin-top: 56px; margin-bottom: calc(-0.25 * min(86vw, 560px) * 1.25); }
  .list-head h2, .list-head .lead { grid-column: 1 / -1; }
  .items { grid-template-columns: 1fr; row-gap: 28px; }
  .showcase { grid-template-columns: 1fr; grid-template-rows: auto auto auto auto; min-height: 0; }
  .sc-plate { grid-column: 1; grid-row: 1; width: calc(100% - 32px); margin: 16px 16px 0; }
  .sc-tabs { grid-column: 1; grid-row: 2; padding: 28px 16px 0; }
  .sc-text { grid-column: 1; grid-row: 3; padding: 28px 16px 32px; align-self: start; }
  .sc-actions { grid-column: 1; grid-row: 4; grid-template-columns: 1fr; padding: 0 16px 24px; }
  .cell { min-height: 60px; }
  html:not(.js) .sc-panel { grid-template-columns: 1fr; }
  .t-portrait { grid-column: 1 / 10; grid-row: 1; }
  .t-quote { grid-column: 1 / -1; grid-row: 2; margin-top: 32px; }
  .t-small { grid-column: 7 / 13; grid-row: 3; margin-top: 48px; }
  .t-caption { grid-column: 1 / -1; grid-row: 4; }
  .score-main, .dist, .words { grid-column: 1 / -1; }
  .dist { margin-top: 40px; }
  .quotes, .reviews-links { padding-left: var(--m); }
  .coupon { width: 100%; grid-template-columns: 1fr; }
  .coupon::before, .coupon::after { top: calc(var(--cut, 50%) - 14px); bottom: auto; left: -14px; }
  .coupon::after { left: auto; right: -14px; }
  .perforation { flex-direction: row; width: auto; height: 5px; padding: 0 26px; margin: 0; }
  .coupon-left { padding: 36px 24px 32px; gap: 20px; }
  .coupon-right { padding: 32px 24px 28px; }
  .visit { width: 100%; grid-template-columns: 1fr; margin-top: 96px; }
  .map { justify-self: stretch; max-width: none; }
  .foot-col { grid-column: span 6; }
  .foot-contact { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .about { padding: 96px 10px 0; }
  .about-panel { padding: 36px 22px 0; }
  .about-photo { width: 86vw; margin-bottom: calc(-0.25 * 86vw * 1.25); }
  .hero-top { min-height: 48svh; padding-top: 18px; padding-bottom: 56px; }
  .hero-sign { font-size: var(--step-small); }
  .hero-phone { position: static; margin-top: 6px; }
  .hero-title { font-size: 17vw; margin-top: 40px; }
  .hero-sub { font-size: var(--step-body); max-width: 34ch; margin-top: 20px; }
  .folders { width: 100%; }
  .folder { height: 52px; }
  .folder .tab { height: 34px; padding: 2px 16px 0; font-size: 15px; }
  a.folder:hover .tab, .folder .tab:hover { height: 38px; }
  .f1 .tab { left: 4%; } .f2 .tab { left: 50%; transform: translateX(-50%); } .f3 .tab { left: auto; right: 4%; }
  .f4 .tab { left: 4%; } .f5 .tab { right: 4%; }
  .f5 { height: 70svh; min-height: 420px; }
  .front-actions { top: 16px; left: 16px; right: 16px; flex-direction: column; }
  .front-actions .btn { width: 100%; }
  .status-chip { min-height: 48px; }
  .cat-head { flex-direction: column; gap: 6px; margin: 72px 0 28px; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 6px; }
  .gallery { padding-left: 6px; padding-right: 6px; }
  .tile-cap { bottom: 10px; left: 8px; right: 8px; }
  .t-photo figure { top: 7%; bottom: 24%; left: 10%; right: 10%; }
  .quotes { grid-template-columns: 1fr; gap: 40px; }
  .mark { display: grid; grid-template-columns: repeat(5, 1fr); grid-auto-rows: 30vw; height: auto; min-height: 0; align-items: end; }
  .mark span { height: var(--h); font-size: 15vw; }
  .mark .mark-gap { display: none; }
  .foot-last { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .front-photo img { animation: none; transform: none; }
  .js [data-reveal] { transform: none; transition: opacity .3s linear; }
  .btn, .cell, .slot-bar, .arch-dot, .t-photo img, .folder .tab { transition: none; }
}

/* Confidențialitate și 404 */
.page-legal, .page-404 { background: var(--marble); }
.legal-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px var(--m); background: var(--soot); }
.legal { max-width: 68ch; margin: 0 auto; padding: 96px var(--m) 80px; }
.legal h1 { font-size: var(--step-head); margin-bottom: 24px; }
.legal h2 { font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1.1; margin: 48px 0 14px; }
.legal p + p { margin-top: 14px; }
.legal ul { list-style: none; display: grid; gap: 12px; }
.legal li { padding-left: 30px; position: relative; }
.legal li::before { content: ""; position: absolute; left: 0; top: .3em; width: 14px; height: 18px; background: var(--gold); border-radius: 7px 7px 0 0; }
.legal a, .legal-foot a { text-underline-offset: 4px; }
.legal-foot { padding: 32px var(--m) 48px; font-size: var(--step-small); color: var(--muted); max-width: calc(68ch + 2 * var(--m)); margin: 0 auto; }
.page-404 { min-height: 100svh; display: grid; place-items: center; background: var(--soot); color: var(--white); }
.nf { padding: 48px var(--m); text-align: center; display: grid; justify-items: center; gap: 20px; }
.nf-mark { font: 700 var(--step-lead)/1 var(--display); color: var(--gold); letter-spacing: -0.04em; }
.nf h1 { font-size: var(--step-head); }
.nf-actions { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: center; margin-top: 12px; }
.page-404 .text-link:hover { color: var(--gold); }
