/* ============================================================
   Generis Clinic — generis.clinic
   Site satelit dedicat terapiei IV și glutationului perfuzabil.
   Paletă moștenită de la generis.ro: albastru #1B4F72, auriu #C9A84C.
   ============================================================ */

/* ─── Tokens ─────────────────────────────────────────────── */
:root {
  --blue:       #1B4F72;
  --blue-deep:  #10344b;
  --blue-soft:  #eaf1f6;
  --gold:       #C9A84C;
  --gold-soft:  #f6efdc;
  --cream:      #FAF7F1;
  --ink:        #16232c;
  --muted:      #5f7180;
  --line:       #e3e9ee;
  --white:      #ffffff;
  --wa:         #25D366;

  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;

  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;

  --sh-sm: 0 1px 2px rgba(16,52,75,.06), 0 2px 8px rgba(16,52,75,.05);
  --sh:    0 2px 6px rgba(16,52,75,.06), 0 12px 32px rgba(16,52,75,.08);
  --sh-lg: 0 8px 24px rgba(16,52,75,.10), 0 24px 60px rgba(16,52,75,.12);

  --wrap: 1140px;
  --gap:  clamp(24px, 4vw, 40px);
  --sect: clamp(56px, 8vw, 104px);
}

/* ─── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 96px;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
svg { flex: none; }

a { color: var(--blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold); }

ul, ol { padding: 0; list-style: none; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ─── Tipografie ─────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.18;
  color: var(--blue-deep);
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2rem, 4.6vw, 3.15rem); }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p { text-wrap: pretty; }

.lead {
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: var(--muted);
  line-height: 1.7;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--gold);
}
.eyebrow--center::before { display: none; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 12px 20px;
  background: var(--blue);
  color: #fff;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ─── Layout ─────────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
}

.section { padding-block: var(--sect); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--cream { background: var(--cream); }
.section--mist  { background: var(--blue-soft); }

.section__head {
  max-width: 660px;
  margin-bottom: clamp(32px, 4vw, 52px);
}
.section__head--center {
  margin-inline: auto;
  text-align: center;
}
.section__head p { margin-top: 14px; }

.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* ─── Butoane ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.2;
  text-align: center;
  border: 1.5px solid var(--gold);
  transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn:hover {
  background: #b9963c;
  border-color: #b9963c;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(201,168,76,.34);
}

.btn--ghost {
  background: transparent;
  color: var(--blue);
  border-color: rgba(27,79,114,.32);
}
.btn--ghost:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 8px 22px rgba(27,79,114,.24);
}

.btn--solid {
  background: var(--blue);
  border-color: var(--blue);
}
.btn--solid:hover { background: var(--blue-deep); border-color: var(--blue-deep); box-shadow: 0 8px 22px rgba(27,79,114,.3); }

.btn--wa { background: var(--wa); border-color: var(--wa); }
.btn--wa:hover { background: #1eb457; border-color: #1eb457; box-shadow: 0 8px 22px rgba(37,211,102,.32); }

.btn--sm { padding: 10px 20px; font-size: .875rem; }
.btn--lg { padding: 16px 34px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.section__head--center .btn-row { justify-content: center; }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--blue);
}
.textlink svg { transition: transform .2s ease; }
.textlink:hover svg { transform: translateX(4px); }

/* ─── Topbar ─────────────────────────────────────────────── */
.topbar {
  background: var(--blue-deep);
  color: rgba(255,255,255,.82);
  font-size: .8rem;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 38px;
  padding-block: 7px;
}
.topbar a { color: inherit; }
.topbar a:hover { color: var(--gold); }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; }
.topbar__item svg { opacity: .7; }

@media (max-width: 780px) {
  .topbar { display: none; }
}

/* ─── Header ─────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  /* Fundal opac, fără backdrop-filter: la 94% opacitate blur-ul nu se vedea,
     dar forța un repaint al zonei de sub header la fiecare scroll. */
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.header.is-stuck { box-shadow: 0 4px 20px rgba(16,52,75,.08); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

.brand { display: flex; flex-direction: column; gap: 3px; flex: none; }
/* Logo-ul are raport 196x115 — îl dimensionăm pe înălțime, nu pe lățime. */
.brand img { height: 40px; width: auto; }
.brand__tag {
  font-size: .58rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: 18px; }

.nav__list {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav__home { display: none; }
.nav__link {
  display: block;
  padding: 10px 12px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink);
  border-radius: var(--r-sm);
}
.nav__link:hover { color: var(--blue); background: var(--blue-soft); }
.nav__link.is-active { color: var(--blue); font-weight: 600; }

.nav__actions { display: flex; align-items: center; gap: 12px; }

.lang {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--muted);
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}
.lang:hover { border-color: var(--gold); color: var(--gold); }

.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--blue);
  white-space: nowrap;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--r-sm);
}
.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--blue);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav__link { padding: 10px 8px; font-size: .86rem; }
  .header__phone span { display: none; }
}

@media (max-width: 940px) {
  /* Butonul rămâne deasupra panoului, altfel „X"-ul de închidere e acoperit. */
  .burger { display: flex; position: relative; z-index: 2; }
  .nav__home { display: block; }
  .nav {
    z-index: 1;
    position: fixed;
    inset: 0 0 0 auto;
    width: min(340px, 86vw);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 92px 24px 40px;
    background: var(--white);
    box-shadow: var(--sh-lg);
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4, 0, .2, 1);
    overflow-y: auto;
  }
  .nav.is-open { transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link {
    padding: 14px 4px;
    font-size: 1rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .nav__link:hover { background: none; }
  .nav__actions {
    flex-wrap: wrap;
    margin-top: 24px;
  }
  .header__phone { font-size: 1rem; }
  .header__phone span { display: inline; }
  .nav__actions .btn { flex: 1 1 100%; }

  body.nav-open { overflow: hidden; }
  body.nav-open::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(16,52,75,.45);
  }
}

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  background:
    radial-gradient(1000px 460px at 88% -12%, rgba(201,168,76,.14), transparent 62%),
    linear-gradient(178deg, var(--cream) 0%, #fff 78%);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  align-items: center;
  gap: clamp(32px, 5vw, 68px);
  padding-block: clamp(48px, 7vw, 92px);
}
.hero h1 { margin-bottom: 20px; }
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero__media { position: relative; }
.hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
}

.hero__badge {
  position: absolute;
  left: -18px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px 14px 16px;
  background: #fff;
  border-radius: var(--r);
  box-shadow: var(--sh);
  max-width: 250px;
}
.hero__badge svg { color: var(--gold); }
.hero__badge strong { display: block; font-size: .92rem; color: var(--blue-deep); line-height: 1.3; }
.hero__badge span { font-size: .78rem; color: var(--muted); }

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 26px;
}
.hero__points li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--blue-deep);
}
.hero__points svg { color: var(--gold); }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .hero__media img { aspect-ratio: 16 / 10; }
  .hero__badge { left: 12px; bottom: -14px; }
}

/* ─── Page head (pagini interioare) ──────────────────────── */
.pagehead {
  background: linear-gradient(180deg, var(--blue-soft), #fff);
  padding-block: clamp(30px, 4vw, 52px) clamp(30px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}
.pagehead h1 { margin-bottom: 14px; max-width: 800px; }
.pagehead .lead { max-width: 720px; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: 16px;
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--gold); }
.crumbs span[aria-current] { color: var(--blue-deep); font-weight: 500; }
.crumbs .sep { opacity: .5; }

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 15px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--blue-deep);
}
.pill svg { color: var(--gold); }
.pill--gold { background: var(--gold-soft); border-color: rgba(201,168,76,.32); }

/* ─── Carduri ────────────────────────────────────────────── */
.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh);
  border-color: transparent;
}
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--blue-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.045); }

.card__body { display: flex; flex-direction: column; flex: 1; padding: 26px; gap: 12px; }
.card__body h3 a { color: inherit; }
.card__body p { color: var(--muted); font-size: .94rem; }
.card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.card__price { font-weight: 700; color: var(--blue-deep); font-size: .95rem; }

/* Card serviciu — varianta mare de pe homepage */
.svc {
  display: grid;
  grid-template-columns: 1fr;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.svc__media { aspect-ratio: 16 / 9; overflow: hidden; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; }

/* Panou grafic folosit în locul fotografiilor de stoc. Când clinica are
   fotografii reale din sala de perfuzii, acestea îl pot înlocui. */
.svc__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  aspect-ratio: 16 / 7;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.svc__panel span {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: .01em;
  text-align: center;
  padding-inline: 20px;
}
.svc__panel::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(circle at 22% 26%, rgba(255,255,255,.18) 0 1.5px, transparent 2px),
    radial-gradient(circle at 68% 62%, rgba(255,255,255,.14) 0 1.5px, transparent 2px);
  background-size: 46px 46px, 62px 62px;
}
.svc__panel--gsh { background: linear-gradient(135deg, #1B4F72 0%, #2d7a9e 100%); }
.svc__panel--iv  { background: linear-gradient(135deg, #10344b 0%, #1B4F72 55%, #3f7f6d 100%); }
.svc__panel svg { opacity: .9; }
.svc__body { padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; gap: 14px; }
.svc__body p { color: var(--muted); }
.svc__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  padding: 5px 12px;
  background: var(--blue-soft);
  color: var(--blue);
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 600;
}

/* Feature (icon + text) */
.feature {
  padding: 28px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: box-shadow .25s ease, transform .25s ease;
}
.feature:hover { box-shadow: var(--sh-sm); transform: translateY(-3px); }
.feature__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--gold-soft);
  color: var(--gold);
}
.feature h3 { font-size: 1.08rem; margin-bottom: 8px; }
.feature p { font-size: .92rem; color: var(--muted); }

/* Pași */
.steps { counter-reset: step; display: grid; gap: 4px; }
.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: 0; }
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.5;
}
.step h3 { font-size: 1.05rem; margin-bottom: 5px; }
.step p { color: var(--muted); font-size: .94rem; }

/* Statistici */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.stat { background: #fff; padding: 28px 20px; text-align: center; }
.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--blue);
  line-height: 1.1;
}
.stat span { font-size: .82rem; color: var(--muted); }

@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Split (imagine + text) ─────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}
.split--narrow { grid-template-columns: .85fr 1.15fr; }
/* Bara laterală are lățime fixă, ca tabelele din conținut să respire. */
.split--aside { grid-template-columns: 320px minmax(0, 1fr); align-items: start; }
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--r-lg);
  box-shadow: var(--sh);
}
.split__media--wide img { aspect-ratio: 4 / 3; }

@media (max-width: 860px) {
  .split, .split--narrow, .split--aside { grid-template-columns: 1fr; }
  .split__media img { aspect-ratio: 16 / 11; object-position: center 22%; }
}

/* ─── Listă cu bife ──────────────────────────────────────── */
.checks { display: grid; gap: 12px; margin-top: 22px; }
.checks li {
  position: relative;
  padding-left: 34px;
  font-size: .96rem;
}
.checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .3em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9A84C' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ─── Prose (conținut editat din admin) ──────────────────── */
.prose { font-size: 1.02rem; line-height: 1.78; color: #2b3b47; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 {
  margin-top: 2em;
  margin-bottom: .7em;
  padding-top: 1.1em;
  border-top: 1px solid var(--line);
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
}
.prose > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { margin-top: 1.6em; margin-bottom: .5em; }
.prose strong { color: var(--blue-deep); font-weight: 600; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* Marcatorii folosesc position/padding, NU grid: elementele <li> din conținutul
   editat în admin amestecă text și tag-uri inline, iar grid ar transforma
   fiecare fragment de text într-o celulă separată. */
.prose ul, .prose ol { margin-left: 0; display: grid; gap: 10px; }

.prose ul li {
  position: relative;
  padding-left: 32px;
}
.prose ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .42em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9A84C' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.prose ol { counter-reset: n; }
.prose ol li {
  counter-increment: n;
  position: relative;
  padding-left: 38px;
}
.prose ol li::before {
  content: counter(n);
  position: absolute;
  left: 0;
  top: .2em;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: .78rem;
  font-weight: 700;
}

.prose blockquote {
  padding: 20px 24px;
  border-left: 3px solid var(--gold);
  background: var(--cream);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-style: italic;
  color: var(--blue-deep);
}

.prose img { border-radius: var(--r); margin-block: 1.6em; }

/* Tabele venite din editorul de conținut (clasele Bootstrap din DB) */
.prose .table-responsive,
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-block: 1.6em;
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.prose table, table.table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: .92rem;
  background: #fff;
}
.prose thead th, table.table thead th {
  background: var(--blue-soft) !important;
  color: var(--blue) !important;
  font-weight: 700;
  text-align: left;
  font-size: .8rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 14px 16px;
  white-space: nowrap;
}
.prose td, .prose th, table.table td, table.table th {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.prose tbody tr:last-child td, table.table tbody tr:last-child td { border-bottom: 0; }
.prose tbody tr:hover, table.table tbody tr:hover { background: #fbfcfd; }

/* Casetele „alert" din conținutul editat în admin */
.prose .alert, .alert {
  padding: 20px 24px !important;
  background: var(--cream) !important;
  border: 0;
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--r) var(--r) 0 !important;
  font-size: .95rem;
}
.prose .alert strong, .alert strong { color: var(--blue) !important; }

/* Neutralizează utilitarele Bootstrap rămase în conținutul din DB */
.prose .mt-3 { margin-top: 1rem; } .prose .mt-4 { margin-top: 1.5rem; }
.prose .mb-4 { margin-bottom: 1.5rem; } .prose .my-3 { margin-block: 1rem; }
.prose .p-4 { padding: 1.5rem; } .prose .border-0 { border: 0; }
.prose .rounded-3 { border-radius: var(--r); }

/* ─── FAQ ────────────────────────────────────────────────── */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.faq__item[open] { box-shadow: var(--sh-sm); border-color: rgba(201,168,76,.4); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--blue-deep);
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: '';
  flex: none;
  width: 22px;
  height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B4F72' stroke-width='2' stroke-linecap='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .25s ease;
}
.faq__item[open] .faq__q::after { transform: rotate(45deg); }
.faq__q:hover { color: var(--blue); }
.faq__a {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.75;
}

/* ─── Tabel prețuri ──────────────────────────────────────── */
.pricing {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: .95rem;
}
.pricing thead th {
  background: var(--blue);
  color: #fff;
  text-align: left;
  font-size: .76rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 15px 20px;
  white-space: nowrap;
}
.pricing td { padding: 18px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.pricing tbody tr:last-child td { border-bottom: 0; }
.pricing tbody tr:hover { background: #fbfcfd; }
.pricing__name { font-weight: 600; color: var(--blue-deep); white-space: nowrap; }
.pricing__desc { color: var(--muted); font-size: .9rem; }
.pricing__price { font-weight: 700; color: var(--blue); white-space: nowrap; text-align: right; }
.pricing__dur { color: var(--muted); white-space: nowrap; font-size: .9rem; }

.table-card {
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--sh-sm);
}
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll .pricing { min-width: 620px; }

/* ─── Card medic ─────────────────────────────────────────── */
.doc {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
  padding: clamp(24px, 3.5vw, 40px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}
.doc__photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
  box-shadow: var(--sh);
}
.doc__role {
  font-size: .84rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .04em;
  margin-bottom: 10px;
}
.doc h2, .doc h3 { margin-bottom: 12px; }
.doc p { color: var(--muted); }

@media (max-width: 700px) {
  .doc { grid-template-columns: 1fr; text-align: center; }
  .doc__photo { max-width: 200px; margin-inline: auto; }
  .doc .btn-row { justify-content: center; }
}

/* Program medic */
.schedule { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.schedule li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 18px;
  background: #fff;
  font-size: .92rem;
}
.schedule li span:first-child { color: var(--muted); }
.schedule li span:last-child { font-weight: 600; color: var(--blue-deep); }

/* ─── CTA band ───────────────────────────────────────────── */
.cta {
  position: relative;
  background:
    radial-gradient(700px 320px at 15% 0%, rgba(201,168,76,.22), transparent 60%),
    var(--blue-deep);
  color: #fff;
  overflow: hidden;
}
.cta__inner {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  padding-block: clamp(48px, 6vw, 76px);
}
.cta h2 { color: #fff; margin-bottom: 14px; }
.cta p { color: rgba(255,255,255,.78); }
.cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.cta .btn--ghost:hover { background: #fff; color: var(--blue-deep); border-color: #fff; }

.cta__box {
  padding: 28px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r);
}
.cta__box ul { display: grid; gap: 14px; }
.cta__box li { display: flex; align-items: center; gap: 13px; font-size: .94rem; }
.cta__box li svg { color: var(--gold); }
.cta__box a { color: #fff; font-weight: 600; }
.cta__box a:hover { color: var(--gold); }

@media (max-width: 860px) {
  .cta__inner { grid-template-columns: 1fr; }
}

/* ─── Contact ────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.info-list { display: grid; gap: 4px; }
.info-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.info-list li:last-child { border-bottom: 0; }
.info-list__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--blue-soft);
  color: var(--blue);
}
.info-list strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); margin-bottom: 3px; font-weight: 600; }
.info-list a, .info-list span { color: var(--blue-deep); font-weight: 500; }
.info-list a:hover { color: var(--gold); }

.form {
  padding: clamp(24px, 3.5vw, 36px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: .84rem; font-weight: 600; color: var(--blue-deep); }
.field label .req { color: #c0392b; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 15px;
  font: inherit;
  font-size: .95rem;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,.16);
}
.field .err { font-size: .82rem; color: #c0392b; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #c0392b; }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }

.notice {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--r-sm);
  font-size: .93rem;
  margin-bottom: 22px;
}
.notice--ok { background: #e9f7ef; color: #1d6b40; border: 1px solid #bfe6cf; }
.notice--err { background: #fdecea; color: #8c2a20; border: 1px solid #f5c6c2; }

.form__consent { font-size: .8rem; color: var(--muted); margin-top: 14px; }

.map {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--r);
  box-shadow: var(--sh-sm);
}

/* ─── Blog ───────────────────────────────────────────────── */
.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-size: .82rem;
  color: var(--muted);
}
.post-meta .dot { opacity: .45; }

.article { max-width: 760px; margin-inline: auto; }
.article__cover {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: var(--r-lg);
  margin-bottom: clamp(28px, 4vw, 44px);
  box-shadow: var(--sh);
}

.pager { display: flex; justify-content: center; gap: 8px; margin-top: 44px; flex-wrap: wrap; }
.pager a, .pager span {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding-inline: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: .9rem;
  font-weight: 600;
  color: var(--blue-deep);
}
.pager a:hover { border-color: var(--gold); color: var(--gold); }
.pager .is-current { background: var(--blue); border-color: var(--blue); color: #fff; }

.empty {
  padding: 56px 24px;
  text-align: center;
  background: var(--cream);
  border-radius: var(--r);
  color: var(--muted);
}

/* ─── Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--blue-deep);
  color: rgba(255,255,255,.72);
  font-size: .92rem;
  padding-top: clamp(48px, 6vw, 72px);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.35fr;
  gap: clamp(28px, 4vw, 48px);
  padding-bottom: 44px;
}
@media (max-width: 940px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__col--brand img { height: 40px; width: auto; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: .95; }
.footer__col--brand p { font-size: .9rem; line-height: 1.7; }

.footer__title {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer ul { display: grid; gap: 11px; }
.footer a { color: rgba(255,255,255,.78); }
.footer a:hover { color: var(--gold); }

.footer__contact li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; line-height: 1.55; }
.footer__contact svg { color: var(--gold); margin-top: 3px; }

.footer__parent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 11px 18px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  font-size: .84rem;
}
.footer__parent:hover { border-color: var(--gold); }
.footer__parent strong { color: #fff; }

.footer .btn--wa { margin-top: 20px; color: #fff; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-block: 22px;
  border-top: 1px solid rgba(255,255,255,.11);
  font-size: .82rem;
}
.footer__legal { display: flex; gap: 18px; }
.footer__legal a { font-size: .78rem; color: rgba(255,255,255,.5); }

.footer__disclaimer {
  padding-bottom: 30px;
  font-size: .76rem;
  line-height: 1.65;
  color: rgba(255,255,255,.58);
  max-width: 860px;
}

/* ─── Bară mobilă de contact ─────────────────────────────── */
.mobile-bar { display: none; }

@media (max-width: 780px) {
  .mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--line);
    box-shadow: 0 -4px 20px rgba(16,52,75,.14);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar__item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 15px 10px;
    font-weight: 600;
    font-size: .92rem;
    color: #fff;
  }
  .mobile-bar__item--call { background: var(--blue); }
  .mobile-bar__item--wa   { background: var(--wa); }
  .mobile-bar__item:hover { color: #fff; }

  body { padding-bottom: 62px; }
  .footer { padding-bottom: 8px; }
}

/* ─── Utilitare ──────────────────────────────────────────── */
.mt-0  { margin-top: 0; }
.mt-2  { margin-top: 22px; }
.mt-3  { margin-top: 34px; }
.mb-2  { margin-bottom: 22px; }
.center { text-align: center; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ─── Print ──────────────────────────────────────────────── */
@media print {
  .header, .topbar, .footer, .mobile-bar, .cta, .btn-row { display: none !important; }
  body { padding: 0; }
  .section { padding-block: 16px; }
}
