/* Smalț – clinică stomatologică: curat, luminos, bleumarin + aqua */
:root {
  --bg: #ffffff;
  --bg-alt: #f2f7fb;
  --surface: #ffffff;
  --ink: #0f2742;
  --ink-2: #3b5068;
  --muted: #6b7d90;
  --line: #e2e9f0;
  --line-2: #c8d5e2;
  --navy: #12355b;
  --navy-2: #0b2440;
  --aqua: #22a6b3;
  --aqua-soft: #e0f4f6;
  --sun: #f2b84b;
  --ok: #1d7a4f;
  --err: #b42318;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1180px;
  --radius: 12px;
  --header-h: 76px;
  --shadow: 0 1px 2px rgba(15, 39, 66, .06), 0 14px 34px -18px rgba(15, 39, 66, .25);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -.015em; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
::selection { background: var(--aqua); color: #fff; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr-only:focus { position: fixed; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
.ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section.alt { background: var(--bg-alt); }
.label { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--aqua); margin-bottom: 10px; }
.label.ok { color: var(--ok); }
.lead { font-size: 1.12rem; color: var(--ink-2); }
.note { font-size: .9rem; color: var(--muted); }
.link { color: var(--aqua); text-decoration: underline; text-underline-offset: 2px; }
.more { font-weight: 600; color: var(--aqua); }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head p { color: var(--ink-2); margin: 0; }

/* Demo + bara de sus */
.demo-bar { background: var(--sun); color: #3d2a00; font-size: .82rem; text-align: center; padding: 7px 16px; line-height: 1.4; }
.topbar { background: var(--navy-2); color: #c6d5e6; font-size: .85rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 6px 24px; padding: 8px 0; }
.topbar a:hover { color: #fff; }
.topbar .tb-hours { margin-left: auto; }
@media (max-width: 760px) { .topbar .tb-addr, .topbar .tb-hours { display: none; } .topbar .wrap { justify-content: center; } }

/* Butoane */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 10px; border: 2px solid var(--aqua); background: var(--aqua); color: #fff;
  font-weight: 700; font-size: .95rem; line-height: 1.1; cursor: pointer; transition: background .2s, color .2s, border-color .2s; text-align: center;
}
.btn:hover { background: #1b8f9a; border-color: #1b8f9a; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn:disabled:hover { background: var(--aqua); border-color: var(--aqua); }
.btn-line { background: transparent; color: var(--navy); border-color: var(--line-2); }
.btn-line:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover { background: var(--aqua-soft); border-color: var(--aqua-soft); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn-sm { padding: 9px 16px; font-size: .86rem; }

/* Antet */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.header.scrolled { box-shadow: 0 8px 24px -18px rgba(15, 39, 66, .45); }
.header > .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: #fff; }
.logo-mark .ico { width: 26px; height: 26px; stroke-width: 1.8; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text b { font-size: 1.45rem; color: var(--navy); letter-spacing: -.02em; }
.logo-text small { font-size: .74rem; color: var(--muted); letter-spacing: .04em; }
.nav { display: flex; align-items: center; gap: 20px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav li { position: relative; }
.nav li > a { display: block; padding: 10px 12px; border-radius: 8px; font-weight: 600; font-size: .95rem; color: var(--ink-2); }
.nav li > a:hover, .nav a[aria-current="page"], .nav a.active { color: var(--navy); background: var(--bg-alt); }
.nav .has-sub > a::after { content: ''; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.sub-toggle { display: none; }
.nav .sub { position: absolute; top: 100%; left: 0; min-width: 210px; display: none; flex-direction: column; gap: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.nav .sub a { display: block; padding: 9px 12px; border-radius: 8px; font-weight: 500; }
.nav .sub a:hover, .nav .sub a[aria-current="page"] { background: var(--aqua-soft); color: var(--navy); }
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub, .nav .has-sub.open .sub { display: flex; }
.menu-btn { display: none; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; padding: 9px 16px; font-weight: 700; color: var(--navy); }
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 12px; padding: 12px 16px 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(15, 39, 66, .35); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  body.menu-open .nav { display: flex; }
  .nav ul { flex-direction: column; }
  .nav li > a { font-size: 1.05rem; padding: 12px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .has-sub > a::after { display: none; }
  .sub-toggle { display: grid; place-items: center; position: absolute; right: 0; top: 4px; width: 42px; height: 42px; border: 0; background: var(--bg-alt); border-radius: 8px; cursor: pointer; }
  .sub-toggle::before { content: ''; width: 8px; height: 8px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
  .has-sub.open .sub-toggle::before { transform: translateY(2px) rotate(-135deg); }
  .nav .sub { position: static; display: none; box-shadow: none; border: 0; padding: 4px 0 8px 12px; }
  .nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub { display: none; }
  .nav .has-sub.open .sub { display: flex; }
}

/* Carusel */
.hero { background: linear-gradient(135deg, var(--navy) 0%, #1a4d7c 60%, #1d6a8a 100%); color: #fff; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: center; min-height: 440px; padding: clamp(40px, 6vw, 72px) 0; }
.slides { display: grid; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .6s, transform .6s, visibility .6s; }
.slide.on { opacity: 1; visibility: visible; transform: none; }
.slide-title { font-size: clamp(2rem, 4.4vw, 3.3rem); max-width: 18ch; }
.slide p { font-size: 1.15rem; color: #d3e1ef; max-width: 46ch; margin-bottom: 28px; }
.dots { grid-area: 2 / 1; display: flex; gap: 8px; margin-top: 28px; }
.dots button { width: 34px; height: 6px; border-radius: 3px; border: 0; padding: 0; background: rgba(255, 255, 255, .3); cursor: pointer; transition: background .2s, width .2s; }
.dots button[aria-current] { background: #fff; width: 52px; }
.hero-art svg { width: min(100%, 360px); margin-inline: auto; }
.hero-art .h1 { fill: rgba(255, 255, 255, .06); }
.hero-art .h2 { fill: rgba(255, 255, 255, .08); }
.hero-art .h3 { fill: #fff; }
.hero-art .h4 { fill: none; stroke: var(--aqua-soft); stroke-width: 7; stroke-linecap: round; }
.hero-art .h5 { fill: var(--sun); }
@media (max-width: 820px) { .hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; } .hero-art { display: none; } }

/* Pagini interioare */
.page-hero { background: linear-gradient(135deg, var(--navy) 0%, #1a4d7c 100%); color: #fff; padding: clamp(36px, 6vw, 64px) 0; }
.page-hero h1 { display: flex; align-items: center; gap: 14px; margin-bottom: .3em; }
.page-hero p { color: #d3e1ef; max-width: 60ch; margin: 0; font-size: 1.08rem; }
.page-hero.slim { padding: 32px 0; }
.hero-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: rgba(255, 255, 255, .12); flex: none; }
.hero-ico .ico { width: 32px; height: 32px; }
.crumbs { font-size: .85rem; color: #a9c0d6; margin-bottom: 14px; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: minmax(0, 1fr); } }
.prose h2 { margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-2); }
.checks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before { content: ''; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--aqua-soft); }
.checks li::after { content: ''; position: absolute; left: 7px; top: 7px; width: 8px; height: 5px; border-left: 2px solid var(--aqua); border-bottom: 2px solid var(--aqua); transform: rotate(-45deg); }
.book-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.book-list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); }
.book-list span { display: flex; flex-direction: column; }
.book-list small { color: var(--muted); }
.side-links { background: var(--bg-alt); border-radius: 16px; padding: 22px; position: sticky; top: calc(var(--header-h) + 20px); }
.side-links h3 { font-size: 1rem; margin-top: 4px; }
.side-links > a { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line-2); font-weight: 600; }
.side-links > a:hover { color: var(--aqua); }
.side-links h3 + .doc-list, .side-links .doc-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; font-size: .94rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { padding: 7px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .88rem; font-weight: 600; }
.chips a:hover { border-color: var(--aqua); color: var(--aqua); }
@media (max-width: 860px) { .side-links { position: static; } }

/* Prima pagină */
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.intro-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); }
.info-card h3 { margin-bottom: 6px; }
.phone-big { display: block; margin-top: 16px; font-size: 1.5rem; font-weight: 800; color: var(--navy); }
.open-now { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 700; color: var(--ok); margin: 0 0 12px; }
.open-now::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(29, 122, 79, .15); }
.open-now.closed { color: #b54708; }
.open-now.closed::before { box-shadow: 0 0 0 4px #fdecd8; }
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px dashed var(--line-2); font-size: .95rem; }
.hours li:last-child { border-bottom: 0; }
.hours li b { font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .intro-grid { grid-template-columns: minmax(0, 1fr); } }

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pillar { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.pillar .ico { width: 48px; height: 48px; padding: 11px; border-radius: 12px; background: var(--aqua-soft); color: var(--aqua); margin-bottom: 16px; }
.pillar p { color: var(--ink-2); }
@media (max-width: 860px) { .pillars { grid-template-columns: minmax(0, 1fr); } }

.spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.spec-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.spec-card:hover { border-color: var(--aqua); box-shadow: var(--shadow); transform: translateY(-2px); }
.spec-card .ico { width: 46px; height: 46px; padding: 10px; border-radius: 12px; background: var(--navy); color: #fff; margin-bottom: 16px; }
.spec-card p { color: var(--ink-2); font-size: .95rem; flex: 1; }
.spec-wide { margin-top: 18px; }

.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.value { background: #fff; border-radius: 14px; padding: 22px; border-top: 4px solid var(--aqua); }
.value p { color: var(--ink-2); margin: 0; font-size: .95rem; }
@media (max-width: 900px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .values { grid-template-columns: minmax(0, 1fr); } }

/* Întrebări */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 18px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--aqua-soft); color: var(--aqua); display: grid; place-items: center; font-size: 1.1rem; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 18px 16px; margin: 0; color: var(--ink-2); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } }

/* Echipa */
.doctors { display: grid; gap: 20px; }
.doctor { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.avatar { display: grid; place-items: center; width: 120px; height: 120px; border-radius: 50%; background: linear-gradient(135deg, var(--aqua-soft), #cfe1f2); color: var(--navy); font-size: 2.4rem; font-weight: 800; }
.doctor h3 { font-size: 1.4rem; margin-bottom: 2px; }
.doctor .role { color: var(--aqua); font-weight: 700; margin-bottom: 10px; }
.doctor p { color: var(--ink-2); }
.doctor .areas { font-size: .94rem; }
@media (max-width: 600px) { .doctor { grid-template-columns: minmax(0, 1fr); } .avatar { width: 84px; height: 84px; font-size: 1.7rem; } }

/* Tarife */
.price-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; position: sticky; top: var(--header-h); z-index: 5; background: #fff; padding: 10px 0; }
.price-nav a { padding: 7px 13px; border-radius: 999px; background: var(--bg-alt); font-size: .86rem; font-weight: 600; color: var(--navy); }
.price-nav a:hover { background: var(--aqua); color: #fff; }
.prices { columns: 2 420px; column-gap: 24px; }
.price-group { break-inside: avoid; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px 8px; margin: 0 0 24px; }
.price-group h3 { color: var(--navy); font-size: 1.08rem; padding-bottom: 8px; border-bottom: 2px solid var(--aqua-soft); }
.price-group table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.price-group td { padding: 8px 0; border-bottom: 1px dashed var(--line); vertical-align: top; color: var(--ink-2); }
.price-group td + td { text-align: right; font-weight: 700; color: var(--ink); white-space: nowrap; padding-left: 16px; }
.price-group tr:last-child td { border-bottom: 0; }
@media (max-width: 520px) { .price-group td + td { white-space: normal; } }

/* Programare */
.booking { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.booking-side { position: sticky; top: calc(var(--header-h) + 20px); }
.booking-side h2 { font-size: 1.3rem; }
.summary { margin: 0 0 16px; background: var(--bg-alt); border-radius: 14px; padding: 6px 18px; font-size: .94rem; }
.summary div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.summary div:last-child { border-bottom: 0; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; text-align: right; font-weight: 700; }
.summary .total dd { color: var(--navy); font-size: 1.15rem; }
.summary:empty { display: none; }
.booking-form { border: 1px solid var(--line); border-radius: 18px; padding: 4px clamp(16px, 3vw, 28px); box-shadow: var(--shadow); }
.step { border-top: 1px solid var(--line); padding: 22px 0 24px; transition: opacity .2s; }
.step:first-child { border-top: 0; }
.step-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.step-head .n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: .9rem; flex: none; }
.step-head h3 { margin: 0; }
.step.locked { opacity: .4; pointer-events: none; }
.svc-group { margin-bottom: 16px; }
.svc-group > small, .slot-group > small { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.options { display: grid; gap: 8px; }
.options.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.options.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: flex; flex-direction: column; justify-content: center; gap: 2px; height: 100%; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 10px; background: #fff; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.opt span.center { align-items: center; text-align: center; font-weight: 600; }
.opt span b { font-weight: 600; line-height: 1.3; }
.opt span small { color: var(--muted); font-size: .82rem; }
.opt span:hover { border-color: var(--aqua); }
.opt input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.opt input:checked + span small, .opt input:checked + span em { color: #b9cde2; }
.opt input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.opt input:disabled + span { cursor: not-allowed; background: var(--bg-alt); border-style: dashed; color: var(--muted); }
@media (max-width: 700px) { .options.cols-2 { grid-template-columns: minmax(0, 1fr); } .options.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.day { flex: none; width: 70px; scroll-snap-align: start; }
.day span { align-items: center; text-align: center; padding: 9px 4px; line-height: 1.25; gap: 0; }
.day b { font-size: 1.4rem; font-weight: 800; }
.day small, .day em { font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-style: normal; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.slots .opt span { align-items: center; padding: 10px 4px; font-variant-numeric: tabular-nums; font-weight: 600; }
.slot-group { margin-bottom: 14px; }
.empty-note { padding: 14px 16px; border: 1.5px dashed var(--line-2); color: var(--muted); border-radius: 10px; margin: 0; }
.form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 560px) { .form-row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 6px; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.field input, .field textarea, .field select { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 10px; background: #fff; }
.field textarea { min-height: 80px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--aqua); box-shadow: 0 0 0 4px var(--aqua-soft); }
.field.invalid input, .field.invalid select { border-color: var(--err); }
.field .err { font-size: .8rem; color: var(--err); }
.field .err:empty { display: none; }
.hp { position: absolute; left: -9999px; }
.status { display: none; padding: 12px 16px; border-radius: 10px; font-size: .94rem; }
.status.error { display: block; background: #fdecea; color: var(--err); }
.form-note { font-size: .82rem; color: var(--muted); margin: 0; }
.done { border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.done:focus { outline: none; }
.done .summary { margin: 18px 0 22px; }
.done .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
@media (max-width: 900px) { .booking { grid-template-columns: minmax(0, 1fr); } .booking-side { position: static; order: 2; } }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.contact-list { border: 1px solid var(--line); border-radius: 18px; padding: 6px 22px; }
.contact-list > * { display: flex; flex-direction: column; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list > :last-child { border-bottom: 0; }
.contact-list small { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-list span { font-size: 1.15rem; font-weight: 700; overflow-wrap: anywhere; }
.contact-list a:hover span { color: var(--aqua); }
.contact .info-card .btn { margin-top: 18px; width: 100%; }
.map { grid-column: 1 / -1; min-height: 360px; border-radius: 18px; overflow: hidden; background: var(--bg-alt); }
.map iframe { width: 100%; min-height: 360px; border: 0; }
.map .consent-placeholder { min-height: 360px; }
@media (max-width: 760px) { .contact { grid-template-columns: minmax(0, 1fr); } }

/* Bandă programare + subsol */
.cta-band { background: var(--aqua); color: #fff; padding: 36px 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.cta-band h2 { margin: 0 0 4px; font-size: 1.6rem; }
.cta-band p { margin: 0; color: #e6f8fa; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.footer { background: var(--navy-2); color: #b7c8da; padding: 48px 0 24px; font-size: .94rem; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer a:hover { color: #fff; }
.footer .more { color: #7fd6df; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-contact { margin-bottom: 14px; }
.footer .hours li { border-color: rgba(255, 255, 255, .15); }
.footer .hours b { color: #fff; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; font-size: .86rem; }
.footer-row a { text-decoration: underline; text-underline-offset: 2px; }
.footer-source { padding-top: 10px; font-size: .8rem; color: #8ea4bb; }
.footer-source a { text-decoration: underline; }
@media (max-width: 860px) { .footer-cols { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* Buton fix pe mobil */
.sticky-cta { display: none; }
@media (max-width: 820px) {
  .sticky-cta { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; gap: 8px; transition: transform .3s; }
  .sticky-cta .btn { flex: 1; box-shadow: 0 10px 30px rgba(15, 39, 66, .3); }
  .sticky-cta .btn-line { background: #fff; flex: 0 0 auto; }
  .sticky-cta.hide, body[data-page="programare"] .sticky-cta { transform: translateY(140%); }
  body { padding-bottom: 76px; }
}

/* Animații (doar cu JavaScript; fără JS conținutul e vizibil) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Admin */
.admin-page .header { position: static; }
.admin-top { display: flex; align-items: center; gap: 16px; font-weight: 600; }
.admin { padding: 36px 0 80px; }
.admin-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; justify-content: space-between; margin-bottom: 24px; }
.admin-bar h1 { font-size: 1.8rem; margin: 0; }
.admin-bar .group { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.admin input[type=date] { padding: 8px 12px; border: 1.5px solid var(--line-2); border-radius: 10px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.stats div { background: var(--bg-alt); border-radius: var(--radius); padding: 16px; }
.stats b { display: block; font-size: 1.7rem; color: var(--navy); }
.stats small { color: var(--muted); }
@media (max-width: 640px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.agenda { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.agenda-col { background: var(--bg-alt); border-radius: var(--radius); padding: 16px; min-height: 220px; }
.agenda-col h3 { display: flex; justify-content: space-between; font-size: 1.05rem; }
.agenda-col h3 small { color: var(--muted); font-weight: 400; }
.appt { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--aqua); border-radius: 10px; padding: 12px; margin-bottom: 8px; font-size: .88rem; }
.appt.cancelled { opacity: .5; border-left-color: var(--line-2); text-decoration: line-through; }
.appt .meta { color: var(--muted); }
.appt a { color: var(--aqua); }
.appt .tag { display: inline-block; background: var(--aqua-soft); color: var(--navy); font-size: .75rem; font-weight: 700; padding: 1px 8px; border-radius: 999px; }
.appt button { margin-top: 6px; background: none; border: 0; padding: 0; color: var(--err); cursor: pointer; font-size: .82rem; text-decoration: underline; }
@media (max-width: 900px) { .agenda { grid-template-columns: minmax(0, 1fr); } }
.login { max-width: 380px; margin: 8vh auto 0; }

/* Consimțământ cookie-uri și pagini legale */
:root { --consent-bg: #ffffff; --consent-fg: #0f2742; --consent-muted: #6b7d90; --consent-line: #e2e9f0; --consent-accent: #12355b; --consent-accent-fg: #ffffff; --consent-radius: 14px; }
.legal { max-width: 820px; }
.legal p, .legal li, .legal td { color: var(--ink-2); }
.legal a { color: var(--aqua); text-decoration: underline; }
.legal code { font-size: .88em; background: var(--bg-alt); padding: 1px 6px; border-radius: 4px; }
