/* Reumamed — foaie de stil unică */
:root {
  --ink: #11284c;          /* bleumarin din logo */
  --ink-soft: #3d5070;
  --muted: #5d6c82;
  --ground: #f4f7fa;
  --surface: #ffffff;
  --tint: #e8f1f1;         /* verde-apă foarte deschis */
  --line: #d9e1ea;
  --teal: #2f9696;         /* articulațiile din logo */
  --teal-ink: #1c6f70;     /* varianta pentru text/linkuri */
  --on-teal: #ffffff;
  --scan: #0d1b2e;         /* fundalul „ecranului de ecograf" */
  --scan-line: #7fd0cc;
  --shadow: 0 1px 2px rgba(17, 40, 76, .06), 0 8px 28px rgba(17, 40, 76, .07);
  --radius: 14px;
  --serif: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Figtree", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #e4ebf4; --ink-soft: #bac7d8; --muted: #93a3b8;
    --ground: #0b1524; --surface: #111f34; --tint: #12302f; --line: #22344d;
    --teal: #4fb8b4; --teal-ink: #78d0cb; --on-teal: #06201f;
    --scan: #060d18; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 28px rgba(0,0,0,.25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #e4ebf4; --ink-soft: #bac7d8; --muted: #93a3b8;
  --ground: #0b1524; --surface: #111f34; --tint: #12302f; --line: #22344d;
  --teal: #4fb8b4; --teal-ink: #78d0cb; --on-teal: #06201f;
  --scan: #060d18; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 28px rgba(0,0,0,.25);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-ink); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; text-wrap: balance; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--ground); padding: 8px 14px; z-index: 99; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow { font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-ink); }
.h-small { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; letter-spacing: .02em; }

/* butoane */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--teal); color: var(--on-teal); text-decoration: none;
  font: 600 1rem/1 var(--sans); padding: 15px 22px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { color: var(--on-teal); background: var(--teal-ink); transform: translateY(-1px); }
.btn-sm { padding: 10px 16px; font-size: .92rem; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: var(--surface); color: var(--ink); }

/* antet */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--ground) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 34px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font: 700 1.12rem/1 var(--sans); letter-spacing: .08em; }
.brand-text small { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: .96rem; padding: 8px 12px; border-radius: 8px; }
.nav a:not(.btn):hover, .nav a[aria-current] { color: var(--ink); background: var(--tint); }
.nav .btn { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; color: var(--ink); }
.burger, .burger::before, .burger::after { display: block; width: 22px; height: 2px; background: currentColor; margin: auto; position: relative; transition: transform .2s; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -7px; } .burger::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .burger { background: transparent; }
.nav-toggle[aria-expanded="true"] .burger::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger::after { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 10px var(--gutter) 18px; box-shadow: var(--shadow);
  }
  .nav:not(.open) { display: none; }
  .nav a:not(.btn) { padding: 12px; font-size: 1.05rem; }
  .nav .btn { margin: 8px 0 0; }
}

/* secțiuni */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-head { display: grid; gap: 14px; max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.band { background: var(--surface); border-block: 1px solid var(--line); }

/* hero */
.hero { padding-block: clamp(36px, 6vw, 80px) clamp(48px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 em { font-style: italic; color: var(--teal-ink); }
.hero .lede { font-size: 1.18rem; color: var(--ink-soft); max-width: 34em; margin-top: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; color: var(--muted); font-size: .95rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }

/* „ecranul de ecograf": fotografia în cadru de sector */
.scan {
  position: relative; background: var(--scan); border-radius: 22px; padding: 12px;
  box-shadow: 0 30px 60px -30px rgba(17, 40, 76, .55);
}
.scan img { border-radius: 12px; width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 30% 30%; }
.scan-hud {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font: 500 .72rem/1 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: .08em;
  color: var(--scan-line); padding: 10px 6px 2px; text-transform: uppercase;
}
.scan-hud .rec::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #e35d5d; margin-right: 7px; animation: blink 1.6s infinite; }
.scan-quote {
  position: absolute; left: -22px; bottom: 58px; max-width: 290px;
  background: var(--surface); color: var(--ink); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow);
  font: italic 400 1.08rem/1.35 var(--serif);
}
.scan-quote cite { display: block; margin-top: 8px; font: 600 .76rem/1 var(--sans); font-style: normal; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
@keyframes blink { 50% { opacity: .25; } }

/* diferențiator: consult + ecografie */
.same-visit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.same-visit > div { padding: 26px 26px 28px; display: grid; gap: 8px; align-content: start; }
.same-visit > div + div { border-left: 1px solid var(--line); }
.same-visit .step { font: 600 .78rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--teal-ink); }
.same-visit h3 { font-size: 1.25rem; }
.same-visit p { color: var(--muted); }

/* despre medic */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.about-photo img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; object-position: 32% 20%; width: 100%; }
.creds { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 24px; padding: 0; list-style: none; }
.creds li { background: var(--tint); color: var(--ink); border-radius: 999px; padding: 7px 14px; font-size: .9rem; font-weight: 500; }
.about-text { display: grid; gap: 16px; }
.about-text p { color: var(--ink-soft); }
.about-text blockquote { margin: 8px 0 0; padding-left: 18px; border-left: 2px solid var(--teal); font: italic 1.25rem/1.4 var(--serif); color: var(--ink); }
.conditions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 0; padding: 0; list-style: none; }
.conditions li { padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 500; }

/* servicii */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 12px; align-content: start; }
.service svg { width: 40px; height: 40px; color: var(--teal); }
.service p { color: var(--muted); }
.service ul { margin: 4px 0 0; padding-left: 18px; color: var(--ink-soft); font-size: .96rem; }
.services-foot { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* imagine lată */
.wide-photo { position: relative; border-radius: var(--radius); overflow: hidden; }
.wide-photo img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; }
.wide-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 28px 22px; color: #fff; background: linear-gradient(transparent, rgba(6, 14, 26, .82)); font: italic 400 clamp(1.1rem, 2.4vw, 1.6rem)/1.3 var(--serif); }

/* articole */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 12px; transition: border-color .15s, transform .15s; }
.post-card:hover { border-color: var(--teal); transform: translateY(-2px); color: var(--ink); }
.post-card p { color: var(--muted); font-size: .98rem; flex: 1; }
.post-card .more { color: var(--teal-ink); font-weight: 600; font-size: .95rem; }
.tag { align-self: flex-start; font: 600 .72rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--teal-ink); background: var(--tint); padding: 6px 10px; border-radius: 6px; }

/* programare */
.booking { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-list { display: grid; gap: 18px; margin-top: 26px; }
.contact-list div { display: grid; gap: 2px; }
.contact-list dt { font: 600 .76rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-list dd { margin: 0; font-size: 1.12rem; font-weight: 500; }
.contact-list a { color: var(--ink); }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); display: grid; gap: 16px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .92rem; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; color: var(--ink); background: var(--ground);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); }
.field textarea { min-height: 120px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--ink-soft); }
.check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--teal); flex: none; }
.hp { position: absolute; left: -5000px; }
.form-status { font-weight: 500; }
.form-status.ok { color: var(--teal-ink); }
.form-status.err { color: #c0392b; }

/* tarife */
.price-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.price-table th, .price-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table thead th { font: 600 .76rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: var(--ground); }
.price-table td:last-child, .price-table th:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }
.price-table td small { display: block; color: var(--muted); font-size: .9rem; margin-top: 3px; }
.price-table tr:last-child td { border-bottom: 0; }
.tbd { color: var(--muted); font-weight: 500; font-style: italic; }
.table-wrap { overflow-x: auto; margin-bottom: 36px; }
.table-wrap h2 { margin-bottom: 16px; font-size: 1.6rem; }
.note { background: var(--tint); border-radius: var(--radius); padding: 22px 24px; display: grid; gap: 8px; }

/* pagini de text */
.page-head { padding-block: clamp(40px, 6vw, 72px) clamp(24px, 3vw, 36px); display: grid; gap: 14px; }
.page-head p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; max-width: 42em; }
.legal { max-width: 780px; padding-bottom: 80px; }
.legal h2 { font-size: 1.45rem; margin: 36px 0 12px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal p + p { margin-top: 12px; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: .95rem; }
.legal td, .legal th { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; vertical-align: top; }

/* articol */
.article-head { padding-block: clamp(32px, 5vw, 64px) 32px; display: grid; gap: 16px; }
.article-head > * { max-width: 880px; }
.crumbs { display: flex; gap: 8px; font-size: .9rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.article-head .lede { font-size: 1.22rem; color: var(--ink-soft); font-family: var(--serif); line-height: 1.5; }
.byline { display: flex; gap: 12px; align-items: center; font-size: .9rem; color: var(--muted); padding-top: 16px; border-top: 1px solid var(--line); }
.byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 35% 15%; }
.byline strong { color: var(--ink); }
.article-grid { display: grid; grid-template-columns: 250px minmax(0, 720px); gap: clamp(28px, 5vw, 72px); padding-bottom: 40px; }
.toc { position: sticky; top: 96px; align-self: start; font-size: .92rem; }
.toc-h { font: 600 .76rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; color: var(--ink-soft); text-decoration: none; margin-left: -1px; border-left: 2px solid transparent; line-height: 1.35; }
.toc a:hover, .toc a.active { color: var(--ink); border-left-color: var(--teal); }
.prose { font-size: 1.08rem; min-width: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.55rem, 3vw, 2rem); margin-top: 2em; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; font-size: 1.28rem; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--teal); }
.prose strong { font-weight: 600; }
.prose .callout { background: var(--tint); border-radius: 12px; padding: 18px 22px; }
.prose .callout p + p { margin-top: .6em; }
.prose .alert { border: 1.5px solid #d97b5b; border-radius: 12px; padding: 18px 22px; }
.prose .alert strong:first-child { color: #b5532f; }
.prose table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.prose .tscroll { overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--surface); font-weight: 600; }
.prose figure { margin: 1.6em 0; }
.prose figure img { border-radius: 12px; }
.prose figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--ink-soft); }
.cta-box { background: var(--ink); color: var(--ground); border-radius: var(--radius); padding: 28px; display: grid; gap: 12px; margin-top: 2.4em !important; }
.cta-box .cta-title { font: 500 1.5rem/1.2 var(--serif); }
.cta-box p { color: color-mix(in srgb, var(--ground) 82%, transparent); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.cta-box .btn-ghost { color: var(--ground); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--ground) 40%, transparent); }
.cta-box .btn-ghost:hover { background: transparent; color: var(--ground); }
.sources { font-size: .9rem; color: var(--muted); }
.sources ol { padding-left: 1.2em; }
.sources a { color: var(--muted); word-break: break-word; }
.disclaimer { font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }
.related { padding-bottom: 72px; display: grid; gap: 16px; }
.rel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rel-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px; display: flex; flex-direction: column; gap: 10px; color: var(--ink); text-decoration: none; }
.rel-card:hover { border-color: var(--teal); color: var(--ink); }
.rel-card strong { font-family: var(--serif); font-weight: 500; font-size: 1.1rem; line-height: 1.3; }

/* recenzii */
.review-cta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.review-cta > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 12px; align-content: start; }
.stars { color: #e0a526; letter-spacing: 3px; font-size: 1.3rem; }

/* subsol */
.site-footer { background: var(--scan); color: #c7d3e2; padding-top: 56px; font-size: .95rem; }
.site-footer a { color: #e7eef7; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 36px; }
.foot-brand { font: 700 1.1rem/1 var(--sans); letter-spacing: .1em; color: #fff; margin-bottom: 12px; }
.foot-h { font: 600 .74rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #7fd0cc; margin-bottom: 12px; }
.site-footer address { font-style: normal; }
.foot-legal { border-top: 1px solid rgba(255,255,255,.1); padding-block: 18px calc(18px + env(safe-area-inset-bottom, 0px)); font-size: .84rem; color: #8ea0b6; }
.call-fab {
  display: none; position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  background: var(--teal); color: var(--on-teal); border-radius: 999px; padding: 13px 18px; text-decoration: none;
  font-weight: 600; align-items: center; gap: 8px; box-shadow: 0 10px 30px -8px rgba(17,40,76,.5);
}
.call-fab:hover { color: var(--on-teal); }

/* responsiv */
@media (max-width: 940px) {
  .hero-grid, .about-grid, .booking, .article-grid { grid-template-columns: 1fr; }
  .scan-quote { left: 12px; bottom: 50px; max-width: 250px; font-size: 1rem; }
  .services, .posts, .rel-grid { grid-template-columns: 1fr 1fr; }
  .same-visit { grid-template-columns: 1fr; }
  .same-visit > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .toc { position: static; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
  .about-photo img { aspect-ratio: 4 / 3; }
  .call-fab { display: inline-flex; }
  .wide-photo img { aspect-ratio: 16 / 9; }
}
@media (max-width: 620px) {
  body { font-size: 16.5px; }
  .services, .posts, .rel-grid, .review-cta, .form-row, .conditions, .foot-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .price-table th, .price-table td { padding: 12px 14px; }
  .scan-quote { position: static; max-width: none; margin-top: 12px; box-shadow: none; background: transparent; color: #dfe8f2; padding: 6px 6px 4px; }
  .scan-quote cite { color: #8ea0b6; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .call-fab, .toc, .cta-box, .related { display: none !important; }
}
