/* ============================================================
   Acumedica — palette derived from the brand logo
     primary  = brand navy   (#184890, the lockup blue)
     light    = brand cyan   (#60c0d8, the lighter half of the mark)
     accent   = warm peach   (split-complementary of the navy)
     bg       = soft cream   (warm neutral, keeps a calm clinic feel)
   ============================================================ */

:root {
  --bg: #f8f5ee;
  --bg-soft: #eaf1f6;
  --bg-card: #ffffff;

  --primary:       #184890;
  --primary-dark:  #0e2e63;
  --primary-light: #60c0d8;
  --primary-tint:  #d6e9f1;

  --accent:        #e08a5a;
  --accent-dark:   #c46e42;
  --accent-soft:   #f6dccb;

  --gold: #d4a574;

  --text:        #0f2c4a;
  --text-soft:   #3c536e;
  --text-muted:  #6a7e93;

  --border:      #e0d9c9;
  --border-soft: #ecebe4;

  --shadow-sm: 0 2px 8px rgba(14, 46, 99, 0.06);
  --shadow:    0 8px 28px rgba(14, 46, 99, 0.10);
  --shadow-lg: 0 20px 50px rgba(14, 46, 99, 0.16);

  --radius: 14px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --container: 1200px;
  --header-h: 86px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, .display {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.15;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 500; }
h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); font-weight: 500; }
h4 { font-size: 1.25rem; font-weight: 600; }

p { color: var(--text-soft); }

a { color: var(--primary-dark); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--accent); }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-sm { padding: clamp(48px, 6vw, 80px) 0; }

.eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid currentColor;
}

.lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-soft);
  max-width: 62ch;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border-color: var(--primary-dark);
}
.btn-outline:hover {
  background: var(--primary-dark);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  padding: 10px 18px;
}
.btn-ghost:hover { color: var(--accent); }

.btn .arrow { transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header / Nav ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  line-height: 0;
}
.brand-logo {
  height: 46px;
  width: auto;
  display: block;
  transition: opacity 0.2s ease;
}
.brand:hover .brand-logo { opacity: 0.85; }
@media (max-width: 720px) {
  .brand-logo { height: 38px; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  transition: all 0.2s ease;
}
.nav-links a:hover { color: var(--accent); background: var(--bg-soft); }
.nav-links a.active { color: var(--primary-dark); background: var(--bg-soft); }

/* ---------- Submenu (desktop dropdown / mobile accordion) ---------- */
.has-submenu { position: relative; }
.has-submenu > .submenu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.has-submenu > .submenu-trigger .caret {
  width: 10px;
  height: 6px;
  transition: transform 0.25s ease;
  opacity: 0.7;
}

.submenu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  min-width: 240px;
  list-style: none;
  margin: 0;
  padding: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 60;
}
.submenu::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-right: 0;
  border-bottom: 0;
}
.submenu li { width: 100%; }
.submenu a {
  display: block;
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.submenu a:hover { background: var(--bg-soft); color: var(--primary-dark); }
.submenu li:first-child a {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.submenu li:first-child {
  padding-bottom: 6px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--border-soft);
}
.submenu li:first-child a:hover { color: var(--primary-dark); }

/* Desktop dropdown: keep the centering transform away from the mobile accordion. */
@media (min-width: 721px) {
  .has-submenu:hover > .submenu,
  .has-submenu:focus-within > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
  .has-submenu:hover > .submenu-trigger .caret,
  .has-submenu:focus-within > .submenu-trigger .caret {
    transform: rotate(180deg);
    opacity: 1;
  }
}
.has-submenu.open > .submenu-trigger .caret {
  transform: rotate(180deg);
  opacity: 1;
}

/* footer sub-links (visual indent) */
.footer-sub a {
  padding-left: 14px;
  font-size: 0.92rem;
  opacity: 0.85;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta-mobile { display: none; }

.lang-switch {
  display: inline-flex;
  background: var(--bg-soft);
  border-radius: 999px;
  padding: 4px;
  font-size: 0.78rem;
  font-weight: 600;
}
.lang-switch button,
.lang-switch a,
.lang-switch span {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-family: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}
.lang-switch a:hover { color: var(--primary-dark); }
.lang-switch button.active,
.lang-switch span.active {
  background: var(--primary-dark);
  color: #fff;
  cursor: default;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 44px;
  height: 44px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: all 0.3s ease;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(60px, 8vw, 100px) 0 clamp(80px, 10vw, 140px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 10%, rgba(96, 192, 216, 0.22), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(224, 138, 90, 0.16), transparent 55%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.hero-content h1 {
  margin-bottom: 24px;
}
.hero-content h1 em {
  font-style: italic;
  color: var(--accent);
}
.hero-content .lead { margin-bottom: 36px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-soft);
}
.hero-meta-item svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
  flex-shrink: 0;
}
.hero-meta-item strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}

.hero-visual {
  position: relative;
  /* Raportul trebuie sa coincida cu width/height de pe <img> din front-page.php
     (800x1000). Altfel rezervarea de spatiu din HTML si cutia CSS se contrazic
     si apare CLS pe desktop. */
  aspect-ratio: 4 / 5;
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--bg-soft);
  /* Rezerva spatiul chiar daca aspect-ratio e ignorat de un browser vechi. */
  min-height: 0;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Blocheaza dimensiunea: nu lasa imaginile sa impinga layoutul la decode. */
  display: block;
}
/* ---------- Section heading ---------- */
.section-head {
  max-width: 720px;
  margin: 0 auto clamp(40px, 6vw, 70px);
  text-align: center;
}
.section-head.left {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}
.section-head h2 { margin-bottom: 18px; }
.section-head .lead { margin-left: auto; margin-right: auto; }
.section-head.left .lead { margin-left: 0; }

/* ---------- Cards / grid ---------- */
.grid {
  display: grid;
  gap: 28px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--border);
}

.service-card {
  display: flex;
  flex-direction: column;
}
.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--bg-soft);
  color: var(--primary-dark);
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}
.service-icon svg { width: 32px; height: 32px; }
.service-card:hover .service-icon {
  background: var(--primary-dark);
  color: #fff;
  transform: rotate(-4deg);
}
.service-card h3 { margin-bottom: 14px; }
.service-card p { margin-bottom: 22px; flex: 1; }
.service-card .more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-dark);
}
.service-card .more:hover { color: var(--accent); }

/* ---------- Doctor section ---------- */
.doctor {
  background: var(--bg-soft);
  border-radius: var(--radius-xl);
  padding: clamp(36px, 5vw, 64px);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 5vw, 60px);
  align-items: center;
}
.doctor-img {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.doctor-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.doctor-content h2 { margin-bottom: 8px; }
.doctor-role {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 22px;
  display: block;
}
.doctor-content p { margin-bottom: 18px; }
.doctor-creds {
  list-style: none;
  margin: 24px 0 30px;
  display: grid;
  gap: 12px;
}
.doctor-creds li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text-soft);
  font-size: 0.95rem;
}
.doctor-creds li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- Why us ---------- */
.feature {
  text-align: center;
  padding: 28px 16px;
}
.feature-num {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.2rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
}
.feature h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}
.feature p { font-size: 0.95rem; }

/* ---------- Locations preview ---------- */
.locations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.location-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm, 0 4px 14px rgba(10, 30, 60, 0.06));
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.location-card:hover {
  box-shadow: 0 14px 32px rgba(10, 30, 60, 0.12);
  transform: translateY(-2px);
}
.location-map {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--bg-soft);
}
.location-map iframe,
.location-map .map-consent,
.map-wrap .map-consent {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.map-wrap { position: relative; }
.map-consent {
  background: linear-gradient(160deg, var(--bg-soft) 0%, #dfe8f0 100%);
  color: var(--text);
}
.map-consent iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.map-consent-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
}
.map-consent-placeholder p {
  max-width: 36ch;
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}
.map-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.field-hint {
  display: block;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-muted);
  margin: 4px 0 8px;
  line-height: 1.45;
}
.form-consent-intro {
  font-size: 0.88rem;
  color: var(--text-soft);
  margin: 8px 0 14px;
}
.form-consent-intro a { font-weight: 600; }
.wpcf7-acceptance,
label.checkbox {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--text-soft);
  margin-bottom: 12px;
  cursor: pointer;
}
.wpcf7-acceptance input,
.checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-dark);
  margin-top: 2px;
  flex-shrink: 0;
}
.location-meta {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.location-meta .eyebrow { margin-bottom: 6px; }
.location-meta h3 { margin: 0 0 4px; }
.location-meta p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }
.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.btn-sm {
  padding: 8px 14px;
  font-size: 0.86rem;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 70px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(96, 192, 216, 0.30), transparent 55%),
              radial-gradient(circle at 15% 90%, rgba(224, 138, 90, 0.22), transparent 55%);
}
.cta-banner > * { position: relative; }
.cta-banner h2 { color: #fff; margin-bottom: 18px; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 30px; max-width: 56ch; margin-left: auto; margin-right: auto; }
.cta-banner .btn-primary { background: #fff; color: var(--primary-dark); }
.cta-banner .btn-primary:hover { background: var(--accent); color: #fff; }
.cta-banner .btn-outline { color: #fff; border-color: rgba(255,255,255,0.5); }
.cta-banner .btn-outline:hover { background: #fff; color: var(--primary-dark); border-color: #fff; }

/* ---------- Footer ---------- */
.footer {
  background: #0c2548;
  background-image: linear-gradient(180deg, #0c2548 0%, #081a35 100%);
  color: #aebed3;
  padding: 80px 0 32px;
  margin-top: 80px;
}
.footer a { color: #c7d6ea; }
.footer a:hover { color: #fff; }
.footer h4 {
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 28px;
}
.footer-brand .brand {
  display: inline-block;
  background: #fff;
  padding: 12px 18px;
  border-radius: 14px;
}
.footer-brand .brand-logo { height: 40px; }
.footer-brand p {
  margin-top: 22px;
  color: #aebed3;
  font-size: 0.94rem;
  line-height: 1.7;
}
.footer-links { list-style: none; display: grid; gap: 12px; font-size: 0.94rem; }
.footer-contact { font-size: 0.94rem; line-height: 1.85; }
.footer-contact strong { color: #fff; display: block; margin-top: 14px; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 500; margin-bottom: 4px; }
.footer-contact strong:first-child { margin-top: 0; }
.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 28px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 22px;
  font-size: 0.82rem;
  color: #7d92ad;
}
.legal-info {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  align-items: center;
}
.legal-info strong { color: #c7d6ea; font-weight: 600; letter-spacing: 0.04em; }
.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.legal-links a {
  color: #aebed3;
  font-weight: 500;
  border-bottom: 1px dotted rgba(199, 214, 234, 0.3);
  padding-bottom: 1px;
}
.legal-links a:hover { color: #fff; border-bottom-color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: #5b6f8a;
}
.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  display: grid;
  place-items: center;
  color: #c7d6ea;
  transition: all 0.2s ease;
}
.socials a:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }

/* ---------- Page header (sub-pages) ---------- */
.page-header {
  position: relative;
  padding: clamp(80px, 10vw, 130px) 0 clamp(60px, 7vw, 90px);
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  text-align: center;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center top, rgba(96, 192, 216, 0.18), transparent 60%);
  pointer-events: none;
}
.page-header > * { position: relative; }
.page-header h1 { margin-bottom: 18px; }
.page-header .lead { margin-left: auto; margin-right: auto; }

/* ---------- Service FAQ ---------- */
.container.narrow { max-width: 760px; }
.service-faq .section-head { margin-bottom: 28px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 52px 18px 22px;
  font-weight: 600;
  color: var(--text);
  position: relative;
  line-height: 1.45;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item[open] summary { color: var(--primary-dark); }
.faq-item p {
  padding: 0 22px 20px;
  color: var(--text-soft);
  margin: 0;
  max-width: none;
}

.crumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}
.crumbs a { color: var(--text-muted); }
.crumbs a:hover { color: var(--accent); }

/* ---------- Service detail blocks ---------- */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
  margin-bottom: clamp(60px, 8vw, 100px);
}
.service-block:last-child { margin-bottom: 0; }
.service-block.reverse { direction: rtl; }
.service-block.reverse > * { direction: ltr; }
.service-block-img {
  aspect-ratio: 5/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.service-block-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-block h2 { margin-bottom: 16px; }
.service-block .eyebrow { color: var(--accent); }

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.tag {
  background: var(--bg-soft);
  color: var(--text);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
}

.cond-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  margin-top: 20px;
}
.cond-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--text-soft);
  padding: 6px 0;
}
.cond-list li::before {
  content: "•";
  color: var(--accent);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
}

/* ---------- Form ---------- */
.form-wrap {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 56px);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-soft);
  max-width: 760px;
  margin: 0 auto;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}
.field label .req { color: var(--accent); }
.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  transition: all 0.2s ease;
  width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(91,122,94,0.12);
}
.checkbox {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--text-soft);
  cursor: pointer;
}
.checkbox input { width: 18px; height: 18px; accent-color: var(--primary-dark); margin-top: 2px; flex-shrink: 0; }

.form-status {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 0.9rem;
  display: none;
}
.form-status.ok { display: block; background: var(--primary-tint); color: var(--primary-dark); border: 1px solid var(--primary-light); }
.form-status.err { display: block; background: var(--accent-soft); color: var(--accent-dark); border: 1px solid var(--accent); }

/* ---------- Contact info cards ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-cards { display: grid; gap: 20px; }
.contact-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 28px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
}
.contact-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--bg-soft);
  color: var(--primary-dark);
  display: grid;
  place-items: center;
}
.contact-card-icon svg { width: 26px; height: 26px; }
.contact-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.contact-card p, .contact-card a {
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.6;
}
.contact-card a { font-weight: 500; }
.contact-card a:hover { color: var(--accent); }

.maps-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.contact-card-hours { position: sticky; top: calc(var(--header-h) + 24px); }

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
  background: var(--bg-soft);
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 0 14px;
  margin-bottom: 8px;
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}
.map-title h3 {
  font-size: 1.5rem;
  margin: 0;
  transition: color 0.2s ease;
}
.map-title-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.map-title-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}
.map-title:hover h3 { color: var(--accent); }
.map-title:hover .map-title-link { color: var(--accent); }
.map-title:hover .map-title-link svg { transform: translate(2px, -2px); }

@media (max-width: 520px) {
  .map-title { flex-direction: column; align-items: flex-start; gap: 4px; }
  .map-title-link { font-size: 0.78rem; }
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}
.hours-table tr { border-bottom: 1px solid var(--border-soft); }
.hours-table tr:last-child { border-bottom: 0; }
.hours-table td {
  padding: 12px 0;
  font-size: 0.95rem;
}
.hours-table td:first-child { color: var(--text); font-weight: 500; }
.hours-table td:last-child { text-align: right; color: var(--text-soft); }

/* Numele cabinetului deasupra fiecarui tabel de program. Cele doua cabinete au
   programe diferite, deci eticheta e obligatorie ca sa nu se confunde. */
.hours-clinic,
.location-hours-title {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  font-weight: 600;
}
.hours-clinic { margin: 18px 0 4px; }
.hours-clinic:first-of-type { margin-top: 10px; }
.location-hours-title { margin: 18px 0 2px; }

.hours-note {
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}
/* Cele doua precizari sunt paragrafe separate, dar tin impreuna: al doilea sta
   mai aproape decat distanta obisnuita fata de tabelul de program. */
.hours-note + .hours-note { margin-top: 8px; }

/* ---------- Blog ---------- */
/* Layout complet al grid-ului de blog — definit curat aici. */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 30px;
}

.blog-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--border);
}

.blog-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.blog-img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-soft);
}
.blog-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-img img { transform: scale(1.05); }

.blog-img.blog-video { position: relative; }
.blog-img.blog-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.blog-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 24px 26px 26px;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  margin: 0 0 14px;
  line-height: 1.5;
}
.blog-meta a { color: inherit; text-decoration: none; }
.blog-meta a:hover { color: var(--primary-dark); }
.blog-meta .dot { color: var(--accent); }

.blog-card__title,
.blog-card h3 {
  font-family: var(--font-serif, Georgia, serif);
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--text);
  font-weight: 600;
  margin: 0 0 10px;
}
.blog-card__title a {
  color: inherit;
  text-decoration: none;
}
.blog-card__title a:hover { color: var(--primary-dark); }

.blog-card__excerpt,
.blog-card p {
  font-size: 0.94rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0 0 18px;
  flex: 1 1 auto;
}

.blog-card .more {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-dark);
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin-top: auto;
  text-decoration: none;
}
.blog-card .more:hover { color: var(--accent); }
.blog-card .more .arrow { transition: transform 0.25s ease; }
.blog-card .more:hover .arrow { transform: translateX(3px); }

/* ---------- About page ---------- */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.about-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.value-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--bg-soft);
  color: var(--primary-dark);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.value-icon svg { width: 26px; height: 26px; }
.value h4 { font-size: 1.15rem; margin-bottom: 8px; font-family: 'Cormorant Garamond', serif; font-weight: 600; }

/* ---------- Honeypot (anti-spam) ---------- */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* ---------- Condition cards (acupuncture page) ---------- */
.cond-grid { gap: 24px; }
.cond-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.cond-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
}
.cond-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
}
.cond-icon svg { width: 22px; height: 22px; }
.cond-card h4 {
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  margin: 0;
}
.cond-card ul {
  list-style: none;
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text-soft);
  margin: 0;
}
.cond-card ul li {
  position: relative;
  padding-left: 14px;
}
.cond-card ul li::before {
  content: "·";
  position: absolute;
  left: 2px;
  top: -3px;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.2rem;
}
.cond-card .more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--primary-dark);
  margin-top: 6px;
  transition: color 0.2s ease;
}
.cond-card .more:hover { color: var(--accent); }
.cond-card-feature {
  border-color: var(--primary-light);
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--primary-tint) 130%);
}
.cond-card-feature .cond-icon {
  background: var(--primary);
  color: #fff;
}

/* ---------- Collapsible info section ---------- */
.info-details {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  transition: box-shadow 0.25s ease;
}
.info-details[open] { box-shadow: var(--shadow-sm); }
.info-details summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  outline: none;
}
.info-details summary::-webkit-details-marker { display: none; }
.info-details summary > .eyebrow { grid-column: 1; }
.info-details summary > h3 { grid-column: 1; }
.info-details summary > .info-toggle {
  grid-row: 1 / span 2;
  grid-column: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--primary-dark);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.3s ease, background 0.2s ease;
}
.info-details[open] summary > .info-toggle {
  transform: rotate(45deg);
  background: var(--primary);
  color: #fff;
}
.info-details .info-body {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--border-soft);
  display: grid;
  gap: 14px;
}
.info-details .info-body p { color: var(--text-soft); line-height: 1.75; }

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
}
.testimonial::before {
  content: """;
  position: absolute;
  top: -24px;
  left: 24px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  color: var(--accent);
  line-height: 1;
}
.testimonial p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--text);
  font-style: italic;
  margin-bottom: 22px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--primary-dark);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 0.95rem;
}
.testimonial-author strong { display: block; font-size: 0.95rem; color: var(--text); }
.testimonial-author span { font-size: 0.82rem; color: var(--text-muted); }

/* ---------- Animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.in-view { opacity: 1; transform: translateY(0); }
.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero .container { grid-template-columns: 1fr; gap: 50px; }
  .doctor { grid-template-columns: 1fr; }
  .doctor-img { max-width: 380px; }
  .service-block, .service-block.reverse { grid-template-columns: 1fr; direction: ltr; }
  .grid-3, .grid-4, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card-hours { position: static; }
  .maps-row { grid-template-columns: 1fr; gap: 28px; }
  .about-intro { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --header-h: 72px; }
  .nav-links {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 8px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
  }
  .nav-links.open { transform: translateY(0); overflow-y: auto; max-height: calc(100vh - var(--header-h)); }
  .nav-links a { padding: 14px 18px; font-size: 1rem; }

  /* Submenu becomes inline accordion on mobile */
  .has-submenu { position: static; }
  .has-submenu > .submenu-trigger {
    justify-content: space-between;
    width: 100%;
  }
  .has-submenu > .submenu-trigger .caret {
    width: 12px;
    height: 8px;
  }
  .submenu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0 0 6px 12px;
    margin: 4px 0 6px;
    border-left: 2px solid var(--border);
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease, padding 0.28s ease, margin 0.28s ease;
  }
  .submenu::before { display: none; }
  .has-submenu.open > .submenu {
    max-height: 400px;
    padding: 6px 0 6px 12px;
  }
  .submenu a {
    padding: 10px 14px;
    font-size: 0.95rem;
  }
  .submenu li:first-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
  .submenu li:first-child a {
    font-size: 0.72rem;
    padding-bottom: 4px;
  }
  .menu-toggle { display: flex; }
  .nav-actions > .btn-primary { display: none; }
  .nav-links .nav-cta-mobile {
    display: block;
    margin-top: 14px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
  }
  .nav-links .nav-cta-mobile a.btn-primary {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 22px;
    background: var(--primary-dark);
    color: #fff;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
  }
  .nav-links .nav-cta-mobile a.btn-primary:hover {
    background: var(--accent);
    color: #fff;
  }
  .grid-2, .grid-3, .grid-4, .blog-grid, .locations { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cond-list { grid-template-columns: 1fr; }
  .brand-name span { display: none; }
}

/* ---------- Utilities ---------- */
.bg-soft { background: var(--bg-soft); }
.bg-card { background: var(--bg-card); }
.divider { height: 1px; background: var(--border); margin: 30px 0; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }

/* ============================================================
   Cookie Consent — banner + modal
   ============================================================ */
/* The user-agent rule [hidden]{display:none} loses to author rules
   like .cc-modal{display:flex}. Override explicitly so toggling
   el.hidden in JS actually works. */
.cc-banner[hidden],
.cc-modal[hidden] { display: none !important; }

.cc-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9990;
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg, 16px);
  box-shadow: 0 18px 48px rgba(10, 30, 60, 0.18);
  padding: 18px 20px;
  animation: cc-slide-up 0.32s ease-out;
}
@keyframes cc-slide-up {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.cc-banner-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.cc-banner-text strong {
  display: block;
  font-size: 1.02rem;
  margin-bottom: 4px;
  color: var(--text);
}
.cc-banner-text p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted, #5a6a7a);
  line-height: 1.55;
}
.cc-banner-text a {
  color: var(--accent, var(--brand-primary, #0066b3));
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cc-banner-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cc-banner-actions .btn { padding: 10px 18px; font-size: 0.92rem; white-space: nowrap; }

/* Modal */
.cc-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.cc-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 45, 0.55);
  backdrop-filter: blur(2px);
  animation: cc-fade 0.2s ease-out;
}
@keyframes cc-fade { from { opacity: 0; } to { opacity: 1; } }
.cc-modal-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-lg, 16px);
  box-shadow: 0 24px 64px rgba(10, 30, 60, 0.32);
  max-width: 640px;
  width: 100%;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 28px 28px 24px;
  outline: none;
  animation: cc-pop 0.22s ease-out;
}
@keyframes cc-pop {
  from { transform: scale(0.96); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}
.cc-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: transparent;
  border: 0;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-muted, #5a6a7a);
  padding: 6px 10px;
  border-radius: 8px;
}
.cc-modal-close:hover { background: var(--bg-soft); color: var(--text); }
.cc-modal-card h3 {
  margin: 0 0 8px;
  font-size: 1.4rem;
  color: var(--text);
}
.cc-modal-intro {
  margin: 0 0 18px;
  color: var(--text-muted, #5a6a7a);
  font-size: 0.94rem;
  line-height: 1.6;
}
.cc-modal-intro a {
  color: var(--accent, var(--brand-primary, #0066b3));
  text-decoration: underline;
}
.cc-cats {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0 22px;
}
.cc-cat {
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 14px 16px;
  background: var(--bg-soft);
}
.cc-cat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 4px;
}
.cc-cat-head h4 {
  margin: 0;
  font-size: 1rem;
  color: var(--text);
}
.cc-cat p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-muted, #5a6a7a);
  line-height: 1.55;
}
.cc-locked {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted, #5a6a7a);
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  padding: 4px 10px;
  border-radius: 999px;
}
/* Toggle switch */
.cc-toggle {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
  flex-shrink: 0;
}
.cc-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cc-slider {
  position: absolute;
  inset: 0;
  background: #c7d2dc;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.cc-slider::before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.22s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}
.cc-toggle input:checked + .cc-slider {
  background: var(--accent, var(--brand-primary, #0066b3));
}
.cc-toggle input:checked + .cc-slider::before {
  transform: translateX(18px);
}
.cc-toggle input:focus-visible + .cc-slider {
  outline: 2px solid var(--accent, var(--brand-primary, #0066b3));
  outline-offset: 2px;
}
.cc-modal-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cc-modal-actions .btn { padding: 10px 18px; font-size: 0.92rem; }

/* Mobile */
@media (max-width: 720px) {
  .cc-banner { left: 8px; right: 8px; bottom: 8px; padding: 14px 16px; }
  .cc-banner-inner { grid-template-columns: 1fr; gap: 14px; }
  .cc-banner-actions { justify-content: stretch; }
  .cc-banner-actions .btn { flex: 1 1 auto; min-width: 110px; }
  .cc-modal-card { padding: 22px 18px 18px; }
  .cc-modal-actions .btn { flex: 1 1 auto; }
}

/* Blog grid — breakpoint-uri pentru 2/1 coloane */
@media (max-width: 1100px) {
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Comments — lista + formular stilizate pe tema Acumedica
   ============================================================ */
.acumedica-comments {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--border-soft);
}
.acumedica-comments__head {
  text-align: center;
  margin-bottom: 32px;
}
.acumedica-comments__title {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  margin: 8px 0 0;
  line-height: 1.25;
  color: var(--text);
}
.acumedica-comments__title span {
  color: var(--primary-dark);
  font-style: italic;
}

/* Lista comentarii */
.acumedica-comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.acumedica-comment-list .children {
  list-style: none;
  margin: 18px 0 0;
  padding: 0 0 0 clamp(20px, 4vw, 48px);
  border-left: 2px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.acumedica-comment {
  list-style: none;
}
.acumedica-comment__body {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: 0 1px 2px rgba(12, 22, 48, 0.03);
}
.acumedica-comment__head {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
}
.acumedica-comment__avatar img {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.acumedica-comment__meta { min-width: 0; }
.acumedica-comment__author {
  font-weight: 600;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.2;
}
.acumedica-comment__author a {
  color: inherit;
  text-decoration: none;
}
.acumedica-comment__author a:hover { color: var(--accent); }
.acumedica-comment__date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
  letter-spacing: 0.02em;
}
.acumedica-comment__date a {
  color: inherit;
  text-decoration: none;
}
.acumedica-comment__date a:hover { color: var(--primary-dark); }
.acumedica-comment__edit a {
  color: var(--primary-dark);
  font-size: 0.78rem;
  margin-left: 6px;
}

.acumedica-comment__content {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-soft);
}
.acumedica-comment__content p { margin: 0 0 10px; }
.acumedica-comment__content p:last-child { margin-bottom: 0; }

.acumedica-comment__moderation {
  background: rgba(255, 196, 70, 0.14);
  border-left: 3px solid #d89b1a;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--text);
  margin: 0 0 12px;
}

.acumedica-comment__footer {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
}
.acumedica-comment__reply .comment-reply-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-dark);
  text-decoration: none;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: all 0.2s ease;
}
.acumedica-comment__reply .comment-reply-link:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
}
.acumedica-comment__reply .comment-reply-link .arrow {
  transition: transform 0.2s ease;
}
.acumedica-comment__reply .comment-reply-link:hover .arrow {
  transform: translateX(3px);
}

.acumedica-comments__pagination {
  margin: 24px 0 40px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.acumedica-comments__pagination a,
.acumedica-comments__pagination .current {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-size: 0.88rem;
}
.acumedica-comments__pagination a:hover {
  background: var(--primary-dark);
  color: #fff;
  border-color: var(--primary-dark);
}
.acumedica-comments__pagination .current {
  background: var(--primary-dark);
  color: #fff;
  border-color: var(--primary-dark);
}

.acumedica-comments__closed {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 24px 0 32px;
}

/* Formular comentariu — reutilizeaza .form-wrap / .field / .btn */
.acumedica-comment-form {
  margin-top: 32px;
}
.acumedica-comment-form .comment-reply-title {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  margin: 0;
  color: var(--text);
}
.acumedica-comment-form .comment-reply-title small {
  font-weight: 400;
  font-size: 0.82rem;
  margin-left: 10px;
}
.acumedica-comment-form .comment-reply-title small a {
  color: var(--text-muted);
  text-decoration: underline;
}
.acumedica-comment-form .comment-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.acumedica-comment-form .comment-form > .field.full,
.acumedica-comment-form .comment-form > .acumedica-comments__consent,
.acumedica-comment-form .comment-form > .comment-notes,
.acumedica-comment-form .comment-form > .form-submit,
.acumedica-comment-form .comment-form > #wp-comment-cookies-consent-wrapper {
  grid-column: 1 / -1;
}
.acumedica-comments__notes {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}
.acumedica-comment-form .acumedica-comments__consent {
  margin-top: 4px;
}
.acumedica-comment-form__submit {
  margin-top: 6px;
  display: flex;
  justify-content: flex-start;
}
.acumedica-comment-form__submit .btn {
  cursor: pointer;
}

/* Cand formularul e folosit pentru "Reply" (inlocuit cu .comment-respond in comment) */
.comment-respond.form-wrap {
  margin-top: 28px;
}

@media (max-width: 720px) {
  .acumedica-comment-form .comment-form { grid-template-columns: 1fr; }
  .acumedica-comment__body { padding: 18px 16px; }
  .acumedica-comment-list .children { padding-left: 16px; }
}
