/*
Theme Name: FavDental
Theme URI: https://min-code.com
Author: MinCode Group
Author URI: https://min-code.com
Version: 1.0
Text Domain: favdental
*/

/* ============================================================
   FavDental — Home (design "Editorial soft-luxury", v2)
   Sursă: Claude Design "Home Page v2". CSS unificat într-un
   singur fișier pentru cât mai puține cereri (PageSpeed).
   Elementele <image-slot> din machetă sunt randate ca <img>.
   ============================================================ */
/* ============================================================
   FavDental — Home Page v2 · "Editorial soft-luxury"
   Warmer ivory palette, type contrast, arched frames,
   index numerals, hairline rules. Single font: Plus Jakarta Sans.
   ============================================================ */

:root {
  --accent: #C11271;
  --accent-light: #FF78BE;
  --accent-deep: #8E0D53;
  --accent-press: #6E0A41;
  --accent-soft: #F7E4EE;
  --accent-softer: #FCF1F6;

  --ink: #565657;
  --ink-2: #6E6E70;
  --muted: #9A9A9C;

  /* Deep brand tone used for dark blocks (restored from previous version) */
  --dark: #2A1620;
  --dark-grad: linear-gradient(135deg, #2A1620 0%, #190A11 100%);

  --white: #FFFFFF;
  --ivory: #F8F2EE;
  --ivory-2: #F1E7E1;

  --line: #E9DED8;
  --line-2: #DCCEC7;

  --wa: #25D366;
  --wa-deep: #1FAE54;

  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 30px;
  --shadow-sm: 0 2px 12px rgba(42, 22, 32, 0.05);
  --shadow-md: 0 28px 64px -32px rgba(42, 22, 32, 0.32);
  --shadow-lg: 0 50px 110px -44px rgba(110, 10, 65, 0.34);

  --maxw: 1440px;
  --gutter: clamp(20px, 5vw, 64px);
  --topbar-h: 42px;
  --nav-h: 80px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: "Montserrat", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  font-family: "Montserrat", system-ui, sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* Typographic atoms ----------------------------------------- */
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--accent);
}
.kicker .idx { color: var(--ink); font-variant-numeric: tabular-nums; }
.kicker::before {
  content: ""; width: 30px; height: 1.5px; background: currentColor; opacity: 0.5;
}

.display {
  font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance;
}
.display em { font-style: italic; font-weight: 700; color: var(--accent); }

.section-title {
  font-size: clamp(1.8rem, 3.8vw, 3.3rem); font-weight: 800;
  line-height: 1.05; letter-spacing: -0.03em; text-wrap: balance;
}
.lead { color: var(--ink-2); font-size: clamp(1.02rem, 1.3vw, 1.16rem); line-height: 1.75; max-width: 50ch; }

/* Buttons --------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: 0.98rem; letter-spacing: -0.01em;
  padding: 16px 28px; border-radius: 999px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 16px 34px -14px rgba(193,18,113,0.62); }
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 22px 44px -16px rgba(193,18,113,0.72); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line-2); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: var(--accent); transform: translateY(-2px); }
.btn--light { background: rgba(255,255,255,0.14); color: #fff; border: 1.5px solid rgba(255,255,255,0.5); backdrop-filter: blur(6px); }
.btn--light:hover { background: rgba(255,255,255,0.24); border-color: #fff; transform: translateY(-2px); }
.btn--wa { background: var(--wa); color: white; }
.btn--wa:hover { background: var(--wa-deep); color: #fff; transform: translateY(-2px); }

/* ============================================================
   BLOCK 1 — Header (top utility bar + sticky nav)
   ============================================================ */
.topbar {
  height: var(--topbar-h);
  background: var(--dark-grad);
  color: rgba(255,255,255,0.82);
  font-size: 0.8rem;
  display: flex; align-items: center;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar .tb-group { display: flex; align-items: center; gap: 22px; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar .tb-item svg { width: 15px; height: 15px; color: var(--accent); opacity: 0.95; }
.topbar a.tb-item:hover { color: #fff; }
.topbar .tb-sep { width: 1px; height: 16px; background: rgba(255,255,255,0.16); }

.header {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h); display: flex; align-items: center;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(150%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 8px 30px -22px rgba(42,22,32,0.55); }
.header .wrap { display: flex; align-items: center; gap: 28px; width: 100%;justify-content: space-between; }

.brand img { height: 40px; width: auto; display: block; }

.nav { display: flex; align-items: center; gap: clamp(14px, 1.7vw, 28px); margin-inline: auto; }
.nav a {
  position: relative; font-size: 0.94rem; font-weight: 500; color: var(--ink-2);
  padding: 6px 2px; transition: color 0.25s var(--ease); white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -3px; height: 2px;
  background: var(--accent); border-radius: 2px; transition: right 0.3s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { right: 0; }

.header-cta { flex: none; display: flex; align-items: center; gap: 10px; }
/* Buton CTA din meniul mobil (ascuns pe desktop) */
.nav-cta { display: none; }
.nav-cta svg, .nav-cta span { pointer-events: none; }
/* Blochează scrollul paginii cât timp meniul mobil e deschis */
body.nav-open { overflow: hidden; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  border: 1.5px solid var(--line-2); align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* ============================================================
   BLOCK 2 — Hero (editorial, arched image)
   ============================================================ */
.hero { position: relative; background: var(--dark); overflow: hidden; }
.hero-track { position: relative; }

.slide { display: none; position: relative; min-height: clamp(600px, 90vh, 860px); }
.slide.is-active { display: flex; align-items: center; animation: heroFade 0.9s var(--ease); }
@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }

/* Full-bleed background image */
.slide-bg { position: absolute; inset: 0; z-index: 0; background: var(--dark); }
.slide-bg img { width: 100%; height: 100%; display: block; }
.slide-video { width: 100%; height: 100%; display: block; object-fit: cover; }
.slide-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(26,11,18,0.88) 0%, rgba(26,11,18,0.62) 44%, rgba(26,11,18,0.30) 100%),
    linear-gradient(0deg, rgba(26,11,18,0.60) 0%, transparent 46%);
}
.slide-overlay::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(130% 90% at 100% 0%, rgba(193,18,113,0.30), transparent 56%);
  mix-blend-mode: screen;
}

.slide-content { position: relative; z-index: 2; width: 100%; padding-block: clamp(70px, 8vw, 100px); }
.slide-copy { max-width: 1040px; }
.slide-copy .kicker { color: #fff; margin-bottom: 24px; }
.slide-copy .kicker .idx { color: var(--accent-light); }
.slide-copy .kicker::before { background: rgba(255,255,255,0.65); opacity: 1; }
.slide-copy h1 {
  font-size: 50px; font-weight: 800; color: #fff;
  line-height: 1.2; letter-spacing: -0.04em; text-wrap: balance;
}
.slide-copy h1 em { font-style: italic; font-weight: 700; color: var(--accent-light); }
.slide-copy .hero-rule { width: 64px; height: 2px; background: var(--accent); margin: 26px 0 22px; }
.slide-copy p { color: rgba(255,255,255,0.86); font-size: clamp(1.04rem, 1.3vw, 1.2rem); line-height: 1.72; max-width: 48ch; }
.slide-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }

.slide-trust {
  margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.2);
  display: flex; gap: clamp(22px, 4vw, 52px);
}
.slide-trust .t-item strong {
  display: block; font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 800;
  letter-spacing: -0.035em; line-height: 1; color: #fff;
}
.slide-trust .t-item span { font-size: 0.84rem; color: rgba(255,255,255,0.72); font-weight: 500; }

/* Slider controls (overlaid) */
.hero-controls { position: absolute; z-index: 5; left: 0; right: 0; bottom: clamp(24px, 3vw, 42px); }
.hero-controls .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.hero-count { font-size: 0.86rem; font-weight: 600; color: rgba(255,255,255,0.82); letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.hero-count b { color: #fff; font-weight: 800; }
.hero-dots { display: flex; gap: 9px; }
.hero-dots button { width: 30px; height: 4px; border-radius: 4px; background: rgba(255,255,255,0.4); transition: background 0.3s var(--ease), width 0.3s var(--ease); }
.hero-dots button.is-active { background: #fff; width: 46px; }
.hero-arrows { display: flex; gap: 10px; }
.hero-arrows button {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.14); border: 1.5px solid rgba(255,255,255,0.45);
  backdrop-filter: blur(6px);
  display: grid; place-items: center; color: #fff; transition: all 0.3s var(--ease);
}
.hero-arrows button:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hero-arrows svg { width: 20px; height: 20px; }

/* ============================================================
   BLOCK 3 — Despre FavDental (editorial)
   ============================================================ */
.about { padding-block: var(--section-space); background: var(--white); }
.about-head { margin: 0 auto clamp(30px, 4vw, 50px); text-align: center; }
.about-head .lead { margin-top: 18px; }
.about-grid { display: grid; grid-template-columns: 1fr 1.32fr; gap: clamp(40px, 6vw, 92px); }
.about-copy .lead { margin-top: 20px; }

.adv-list { margin-top: 36px; }
.adv {
  display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start;
  padding: 24px 4px; border-top: 1px solid var(--line);
  transition: padding-left 0.4s var(--ease);
}
.adv:last-child { border-bottom: 1px solid var(--line); }
.adv .adv-num {
  font-size: 1.05rem; font-weight: 800; color: var(--accent);
  font-variant-numeric: tabular-nums; letter-spacing: -0.02em; padding-top: 2px;
}
.adv h3 { font-size: 1.16rem; font-weight: 700; letter-spacing: -0.015em; display: flex; align-items: center; gap: 10px; }
.adv h3 svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.adv p { margin-top: 5px; font-size: 0.95rem; color: var(--muted); line-height: 1.62; max-width: 46ch; }

/* Arched carousel */
.about-carousel { position: relative; }
.car-frame {
  position: relative; border-radius: 30px;
  overflow: hidden; box-shadow: var(--shadow-lg);
  /* Forțează decuparea rotunjită pe propriul strat GPU, ca să rămână aplicată
     în timpul tranziției sliderului (altfel Chrome arată colțuri pătrate o
     fracțiune de secundă la schimbarea imaginii). */
  transform: translateZ(0);
  isolation: isolate;
}
.car-track { display: flex; transition: transform 0.6s var(--ease); }
/* Rotunjirea se aplică direct pe fiecare imagine (nu doar pe cadru): astfel
   colțurile rămân rotunjite și în timpul tranziției, indiferent de decuparea
   GPU a părintelui. */
.car-track img { flex: 0 0 100%; width: 100%; height: clamp(400px, 60vw, 640px); border-radius: 30px; }

.car-nav { position: absolute; z-index: 4; top: 50%; transform: translateY(-50%); width: 100%; display: flex; justify-content: space-between; padding-inline: 16px; pointer-events: none; }
.car-nav button {
  pointer-events: auto; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(4px);
  display: grid; place-items: center; color: var(--ink); box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease);
}
.car-nav button:hover { background: var(--accent); color: #fff; }
.car-nav svg { width: 20px; height: 20px; }
.car-dots { display: flex; gap: 8px; justify-content: center; margin-top: 22px; }
.car-dots button { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); transition: all 0.3s var(--ease); }
.car-dots button.is-active { background: var(--accent); width: 28px; border-radius: 9px; }

/* ============================================================
   BLOCK 4 — Servicii (editorial list + featured panel)
   ============================================================ */
.services { padding-block: var(--section-space); background: var(--ivory); }
.services-head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.services-head .head-left { max-width: 720px; }
.services-head .lead { margin-top: 16px; }

/* Photo-card grid */
.svc-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.svc-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--accent-soft); }

.svc-photo { position: relative; overflow: hidden; }
.svc-photo img { width: 100%; height: 210px; display: block; transition: transform 0.6s var(--ease); }
.svc-card:hover .svc-photo img { transform: scale(1.05); }
.svc-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(26,11,18,0.30) 0%, transparent 42%);
}
.svc-photo .svc-tag {
  position: absolute; z-index: 2; top: 14px; left: 14px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--accent); color: #fff; padding: 7px 13px; border-radius: 999px;
  box-shadow: 0 8px 18px -8px rgba(193,18,113,0.7);
}
.svc-photo .svc-num {
  position: absolute; z-index: 2; bottom: 12px; right: 16px;
  font-size: 1.5rem; font-weight: 800; color: #fff; opacity: 0.9;
  font-variant-numeric: tabular-nums; letter-spacing: -0.03em;
}

.svc-card-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.svc-card-body h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; }
.svc-card-body h3 svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.svc-card-body p { margin-top: 9px; font-size: 0.94rem; color: var(--muted); line-height: 1.62; }

.svc-detail {
  margin-top: 22px; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.92rem; color: var(--ink);
  padding: 12px 20px; border-radius: 999px; border: 1.5px solid var(--line-2);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.svc-detail svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.svc-card:hover .svc-detail { background: var(--accent); color: #fff; border-color: var(--accent); }
.svc-card:hover .svc-detail svg { transform: translateX(4px); }

.services-foot {
  margin-top: clamp(36px, 4vw, 52px); display: flex; flex-direction: column; align-items: center;
  gap: 18px; text-align: center;
}
.services-foot p { color: var(--muted); font-size: 0.98rem; }
.services-foot-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   Mobile nav
   ============================================================ */
.nav-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(42,22,32,0.42); opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease); }
.nav-backdrop.is-open { opacity: 1; pointer-events: auto; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  :root { --nav-h: 70px; }
  .nav, .header-cta .btn--book-text { display: none; }
  .nav-toggle { display: flex; }
  .nav.is-open {
    display: flex; position: fixed; top: 70px; right: 0; z-index: 95;
    flex-direction: column; align-items: stretch; gap: 4px;
    width: min(330px, 86vw); height: calc(100vh - var(--topbar-h) - var(--nav-h));
    margin: 0; padding: 24px; background: var(--white); box-shadow: var(--shadow-lg);
    animation: drawerIn 0.35s var(--ease);
  }
  @keyframes drawerIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
  .nav.is-open a { font-size: 1.12rem; padding: 14px 8px; border-bottom: 1px solid var(--line); }
  .nav.is-open a::after { display: none; }
  .nav.is-open .nav-cta {display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; padding: 15px 24px; font-size: 0.98rem; border-bottom: 0;color:white; }
}

@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .about-carousel { max-width: 560px; margin-inline: auto; width: 100%; }
  .page-template-parodontoza-template .benefits-grid {grid-template-columns: repeat(2, 1fr);}
}

@media (max-width: 680px) {
  .topbar .tb-hide { display: none; }
  .slide-actions { flex-direction: column; align-items: stretch; }
  .slide-actions .btn { width: 100%; }
  .svc-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   BLOCK 6 — Tehnologie premium (dark)
   ============================================================ */
.tech { position: relative; overflow: hidden; background: var(--dark-grad); color: #fff; padding-block: var(--section-space); }
.tech::before { content: ""; position: absolute; left: -140px; bottom: -160px; width: 460px; height: 460px; background: radial-gradient(circle, rgba(193,18,113,0.30), transparent 66%); pointer-events: none; }
.tech::after { content: ""; position: absolute; right: -120px; top: -140px; width: 380px; height: 380px; background: radial-gradient(circle, rgba(193,18,113,0.16), transparent 66%); pointer-events: none; }
.tech .wrap { position: relative; z-index: 1; }
.tech-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.tech-head-left { max-width: 740px; }
.tech .kicker { color: #fff; }
.tech .kicker .idx { color: var(--accent-light); }
.tech .kicker::before { background: rgba(255,255,255,0.6); opacity: 1; }
.tech-head .section-title { color: #fff; }
.tech-head .lead { margin-top: 16px; color: rgba(255,255,255,0.74); }
.tech-arrows { display: flex; gap: 10px; flex: none; }
.tech-arrows button {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1.5px solid rgba(255,255,255,0.3);
  display: grid; place-items: center; color: #fff; transition: all 0.3s var(--ease);
}
.tech-arrows button:hover { background: #fff; color: var(--ink); border-color: #fff; }
.tech-arrows button:disabled { opacity: 0.3; cursor: default; }
.tech-arrows button:disabled:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.3); }
.tech-arrows svg { width: 20px; height: 20px; }

.tech-slider { margin-top: 50px; overflow: hidden; }
.tech-track { display: flex; gap: 22px; transition: transform 0.55s var(--ease); will-change: transform; }
.tech-card {
  flex: 0 0 calc((100% - 44px) / 3); min-width: 0;
  background: rgba(255,255,255,0.045); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-md); overflow: hidden;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.tech-card:hover { transform: translateY(-6px); background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.22); }
.tech-photo { position: relative; overflow: hidden; }
.tech-photo img { width: 100%; height: 220px; display: block; transition: transform 0.6s var(--ease); }
.tech-card:hover .tech-photo img { transform: scale(1.05); }
.tech-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(20,8,14,0.55) 0%, transparent 46%); }
.tech-photo .t-num { position: absolute; z-index: 2; bottom: 12px; right: 16px; font-size: 1.5rem; font-weight: 800; color: #fff; opacity: 0.92; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.tech-card-body { padding: 24px 24px 26px; }
.tech-ico { width: 50px; height: 50px; border-radius: 13px; background: rgba(193,18,113,0.22); color: var(--accent-light); display: grid; place-items: center; margin-bottom: 16px; margin-top: -46px; position: relative; z-index: 3; border: 4px solid var(--ink); }
.tech-ico svg { width: 26px; height: 26px; }
.tech-card h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.01em; color: #fff; }
.tech-card p { margin-top: 9px; font-size: 0.9rem; line-height: 1.6; color: rgba(255,255,255,0.66); }

.tech-dots { margin-top: 26px; display: flex; gap: 8px; justify-content: center; }
.tech-dots button { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.3); transition: all 0.3s var(--ease); }
.tech-dots button.is-active { background: var(--accent-light); width: 28px; border-radius: 9px; }

/* ============================================================
   Split feature blocks (Implanturi, Parodontal)
   ============================================================ */
.feature { padding-block: var(--section-space); }
.feature--white { background: var(--white); }
.feature--ivory { background: var(--ivory); }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 4vw, 60px); align-items: center; }
#tratament .feature-grid { margin-top: 40px; }
.feature--reverse .feature-media { order: -1; }
.feature-copy .section-title { margin-bottom: 40px; }
.feature-copy .lead { margin-top: 18px; }
.feature-copy .lead + .lead { margin-top: 14px; }
.feature-bullets {display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 26px; display: grid; gap: 13px; padding: 0; }
.feature-bullets li { list-style: none; display: flex; gap: 13px; align-items: flex-start; font-size: 0.98rem; color: var(--ink-2); }
.feature-bullets .b-ico { width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; margin-top: 1px; }
.feature-bullets .b-ico svg { width: 15px; height: 15px; }
.feature-guarantee { margin-top: 40px; font-size: 20px; font-weight: 700; line-height: 1.45; color: var(--ink); }
.feature-copy .btn { margin-top: 50px; }

.feature-media { position: relative; }
.feature-media .f-img { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.feature-media .f-img img { width: 100%; height: clamp(250px, 56vw, 600px); display: block; }
.feature-media .f-badge { position: absolute; bottom: -24px; left: -24px; background: var(--accent); color: #fff; border-radius: var(--r-md); padding: 18px 24px; box-shadow: var(--shadow-md); }
.feature--reverse .feature-media .f-badge { left: auto; right: -24px; }
.feature-media .f-badge strong { display: block; font-size: 1.9rem; font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.feature-media .f-badge span { font-size: 0.8rem; opacity: 0.9; }

.fancybox__carousel .fancybox__slide.has-video .fancybox__content {
  width: 80%!important;
  height: 90%!important
}

/* ============================================================
   Testimonial (Dantură fixă)
   ============================================================ */
.testi { padding-block: var(--section-space); background: var(--ivory); }
.testi-head { text-align: center; margin-inline: auto; }
.testi-head .kicker { justify-content: center; }
.testi-panel {
  margin-top: 40px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md);
  display: grid; grid-template-columns: 1fr 1fr;
}
.testi-quote { padding: clamp(20px, 3vw, 40px); display: flex; flex-direction: column; }
.testi-quote .q-mark { font-family: Georgia, serif; font-size: 5rem; line-height: 0.8; height: 42px; color: var(--accent); }
.testi-quote blockquote {max-height: 170px; overflow-y: scroll; padding-right: 12px; margin: 10px 0 0; font-size: 22px; line-height: 1.5; font-weight: 500; letter-spacing: -0.015em; color: var(--ink); text-wrap: pretty; }
.testi-stars { margin-top: 22px; display: flex; gap: 4px; color: var(--accent); }
.testi-stars svg { width: 20px; height: 20px; }
.testi-patient { margin-top: auto; padding-top: 30px; display: flex; align-items: center; gap: 14px; }
.testi-patient img { width: 60px; height: 60px; flex: none; }
.testi-patient .p-name { font-weight: 700; font-size: 1.04rem; }
.testi-patient .p-meta { font-size: 0.86rem; color: var(--muted); }

.testi-ba { position: relative; background: var(--ivory-2); padding: clamp(18px, 2vw, 26px); display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ba-item { position: relative; }
.ba-item img { width: 100%; height: 100%; min-height: clamp(240px, 28vw, 320px); }
.ba-item .ba-label { position: absolute; z-index: 2; top: 12px; left: 12px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: rgba(26,11,18,0.62); color: #fff; backdrop-filter: blur(4px); }
.ba-item.is-after .ba-label { background: var(--accent); }

/* ============================================================
   Steps — 4 pași
   ============================================================ */
.steps { padding-block: var(--section-space); background: var(--white); }
.steps-head { margin-inline: auto; text-align: center; }
.steps-head .lead { margin-top: 16px; max-width: 660px; margin-inline: auto; }
.steps-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
#cauze .steps-grid { grid-template-columns: repeat(3, 1fr); }
.step-card { position: relative; padding: 32px 26px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); overflow: hidden; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease); }
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--accent-soft); }
.step-num { position: absolute; top: 22px; right: 24px; font-size: 2.6rem; font-weight: 800; color: var(--accent-soft); letter-spacing: -0.04em; line-height: 1; }
.step-ico { width: 58px; height: 58px; border-radius: 16px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 24px; }
.step-ico svg { width: 30px; height: 30px; }
.step-card h3 { font-size: 1.16rem; font-weight: 700; letter-spacing: -0.01em; }
.step-card p { margin-top: 8px; font-size: 0.92rem; color: var(--muted); line-height: 1.6; }

/* Responsive for new blocks */
@media (max-width: 980px) {
  .feature-grid, .testi-panel { grid-template-columns: 1fr; }
  .feature-media { order: -1; }
  .coroane .feature-media { order: 1; }
  .feature-media .f-badge, .feature--reverse .feature-media .f-badge { left: 18px; right: auto; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-card { flex: 0 0 calc((100% - 22px) / 2); }
}
@media (max-width: 680px) {
  .steps-grid { grid-template-columns: 1fr; }
  .testi-ba { grid-template-columns: 1fr; }
  .ba-item img { min-height: clamp(240px, 60vw, 320px); }
  .tech-card { flex: 0 0 100%; }
  .tech-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .step-card { display: flex; flex-wrap: wrap; align-items: center; column-gap: 16px; row-gap: 8px; }
  .step-ico { margin-bottom: 0; flex: 0 0 auto; }
  .step-card h3 { flex: 1 1 auto; margin: 0; padding-right: 44px; }
  .step-card p { flex: 0 0 100%; margin-top: 4px; }
}
/* ============================================================
   FavDental v2 — Blocks 11–15
   Motive · Expertiză · Echipă · Video · Diplome
   Uses tokens from styles-v2.css (loaded first)
   ============================================================ */

/* ---- BLOCK 11 — 5 Motive ---- */
.reasons { padding-block: var(--section-space); background: var(--white); }
.reasons-head { margin-inline: auto; text-align: center; }
.reasons-head .lead { margin-top: 16px; max-width: 680px; margin-inline: auto; }
.reasons-grid {
  margin-top: 40px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.page-template-parodontoza-template .reasons {
  padding-top: 0;
}
.page-template-parodontoza-template .feature-bullets {
grid-template-columns: repeat(1, 1fr);
}
.reason {
  position: relative; padding: 34px 30px; border-radius: var(--r-lg);
  background: var(--ivory); border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.reason:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--accent-soft); }
.reason .r-num {
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; color: var(--accent);
  font-variant-numeric: tabular-nums; margin-bottom: 18px;
}
.reason .r-ico {
  width: 58px; height: 58px; border-radius: 16px; background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 22px;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.reason:hover .r-ico { background: var(--accent); color: #fff; }
.reason .r-ico svg { width: 30px; height: 30px; }
.reason h3 { font-size: 1.18rem; font-weight: 700; letter-spacing: -0.015em; }
.reason p { margin-top: 9px; font-size: 0.94rem; color: var(--muted); line-height: 1.62; }
/* CTA card occupies the 6th cell */
.reason-cta {
  grid-column: span 1; padding: 34px 30px; border-radius: var(--r-lg);
  background: linear-gradient(150deg, var(--accent) 0%, var(--accent-deep) 100%); color: #fff;
  display: flex; flex-direction: column; justify-content: center; box-shadow: var(--shadow-md);
  position: relative; overflow: hidden;
}
.reason-cta::after { content: ""; position: absolute; right: -70px; top: -70px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,0.1); }
.reason-cta h3 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.025em; position: relative; z-index: 1; }
.reason-cta p { margin-top: 10px; color: rgba(255,255,255,0.88); font-size: 0.96rem; line-height: 1.6; position: relative; z-index: 1; }
.reason-cta .btn { margin-top: 24px; align-self: flex-start; position: relative; z-index: 1; }

/* ---- BLOCK 12 — Expertiză (doctor principal) ---- */
.expert { padding-block: var(--section-space); background: var(--ivory); }
.expert-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 84px); align-items: center; }
.expert-photo { position: relative; }
.expert-photo .ep-img { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.expert-photo .ep-img img { width: 100%; height: clamp(420px, 50vw, 580px); display: block; }
.expert-photo .ep-sign {
  position: absolute; left: -24px; bottom: 34px; background: var(--white); border-radius: var(--r-md);
  padding: 18px 22px; box-shadow: var(--shadow-md); max-width: 230px;
}
.expert-photo .ep-sign strong { display: block; font-size: 1.02rem; font-weight: 700; }
.expert-photo .ep-sign span { font-size: 0.84rem; color: var(--muted); line-height: 1.3; display:block; margin-top: 5px; }
.expert-copy .section-title { margin-bottom: 40px; }
.expert-copy .lead { margin-top: 18px; }
.expert-copy .lead + .lead { margin-top: 14px; }
.expert-stats {
  margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  border-top: 1px solid var(--line-2); padding-top: 32px;
}
.expert-stats .es-item strong {
  display: block; font-size: clamp(2rem, 3vw, 2.7rem); font-weight: 800;
  letter-spacing: -0.04em; line-height: 1; color: var(--accent);
}
.expert-stats .es-item span { display: block; margin-top: 8px; font-size: 0.86rem; color: var(--ink-2); font-weight: 500; line-height: 1.4; }

/* ---- BLOCK 13 — Echipa de medici (slider) ---- */
.team { padding-block: var(--section-space); background: var(--white); }
.team-head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.team-head-left { max-width: 680px; }
.team-foot { margin-top: 30px; display: flex; justify-content: center; }
/* Tab-uri echipă (Despre noi) */
.team-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.team-tab { padding: 11px 24px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--white); color: var(--ink); font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease); }
.team-tab:hover { border-color: var(--accent); color: var(--accent); }
.team-tab.is-active { background: var(--accent); color: #fff; border-color: var(--accent); }
.team-panel { display: none; margin-top: 30px; }
.team-panel.is-active { display: block; }
.team-head .lead { margin-top: 16px; }
.team-arrows { display: flex; gap: 10px; flex: none; }
.team-arrows button { width: 52px; height: 52px; border-radius: 50%; background: var(--white); border: 1.5px solid var(--line-2); display: grid; place-items: center; color: var(--ink); transition: all 0.3s var(--ease); }
.team-arrows button:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.team-arrows button:disabled { opacity: 0.35; cursor: default; }
.team-arrows button:disabled:hover { background: var(--white); color: var(--ink); border-color: var(--line-2); }
.team-arrows svg { width: 20px; height: 20px; }

.team-slider { margin-top: 40px; overflow: hidden; }
.team-track { display: flex; gap: 22px; transition: transform 0.55s var(--ease); will-change: transform; }
.team-card { flex: 0 0 calc((100% - 66px) / 4); min-width: 0; }
.team-photo { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.team-photo img { width: 100%; height: 400px; display: block; transition: transform 0.6s var(--ease); }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-photo .tp-social { position: absolute; z-index: 2; right: 14px; bottom: 14px; display: flex; gap: 8px; opacity: 0; transform: translateY(8px); transition: all 0.35s var(--ease); }
.team-card:hover .tp-social { opacity: 1; transform: translateY(0); }
.team-photo .tp-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.92); color: var(--ink); display: grid; place-items: center; transition: background 0.25s var(--ease), color 0.25s var(--ease); }
.team-photo .tp-social a:hover { background: var(--accent); color: #fff; }
.team-photo .tp-social svg { width: 17px; height: 17px; }
.team-info { padding: 18px 4px 0; }
.team-info h3 { font-size: 1.16rem; font-weight: 700; letter-spacing: -0.015em; }
.team-info span { font-size: 0.9rem; color: var(--accent); font-weight: 600; }
.team-dots { margin-top: 26px; display: flex; gap: 8px; justify-content: center; }
.team-dots button { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); transition: all 0.3s var(--ease); }
.team-dots button.is-active { background: var(--accent); width: 28px; border-radius: 9px; }

/* ---- BLOCK 14 — Video experți ---- */
.videos { padding-block: var(--section-space); background: var(--dark-grad); color: #fff; }
.videos-head { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; }
.videos-head-left { max-width: 680px; margin-inline: auto; text-align: center; }
.videos .kicker { color: #fff; }
.videos .kicker .idx { color: var(--accent-light); }
.videos .kicker::before { background: rgba(255,255,255,0.6); opacity: 1; }
.videos-head .section-title { color: #fff; }
.videos-head .lead { margin-top: 16px; color: rgba(255,255,255,0.74); }
.videos-grid {
  margin-top: 40px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.videos-single { margin-top: 40px; max-width: 66%; margin-left: auto; margin-right: auto; }
.video-item--wide { width: 100%; aspect-ratio: 16 / 9; display: block; }
.video-item {
  position: relative; border-radius: var(--r-md); overflow: hidden; cursor: pointer;
  background: #000;
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  height: 420px;
}
.video-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
/* Cazuri complexe (Dantură fixă): carduri video mai joase */
#cazuri-complexe .video-item { height: clamp(240px, 30vw, 435px); }
.video-item img { width: 100%; height: 100%; display: block; }
.video-item::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(0,0,0,0.62) 0%, transparent 52%); }
.video-play {
  position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,0.92); color: var(--accent);
  display: grid; place-items: center; transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}
.video-item:hover .video-play { transform: translate(-50%,-50%) scale(1.1); background: var(--accent); color: #fff; }
.video-play svg { width: 22px; height: 22px; margin-left: 3px; }
.video-meta { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 13px; }
.video-meta strong { display: block; font-size: 18px; font-weight: 700; color: #fff; line-height: 1.3; }
.video-meta span { font-size: 0.78rem; color: rgba(255,255,255,0.7); }
.videos-pagination { margin-top: 34px; display: flex; gap: 8px; justify-content: center; align-items: center; flex-wrap: wrap; }
.vp-btn {
  min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px;
  background: rgba(255,255,255,0.06); border: 1.5px solid rgba(255,255,255,0.18); color: #fff;
  font-weight: 600; font-size: 0.96rem; font-variant-numeric: tabular-nums;
  display: grid; place-items: center; transition: all 0.25s var(--ease);
}
.vp-btn:hover:not(:disabled) { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.4); }
.vp-btn.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.vp-btn:disabled { opacity: 0.3; cursor: default; }
.vp-btn svg { width: 18px; height: 18px; }

.home #video .video-item,
.page-template-dantura-fixa-template #media .video-item {
  height: 490px;
}

/* ---- BLOCK 15 — Diplome (galerie) ---- */
.diplomas { padding-block: var(--section-space); background: var(--ivory); }
.diplomas-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.diplomas-head-left { max-width: 680px; }
.diplomas-head .lead { margin-top: 16px; }
.diplomas-arrows { display: flex; gap: 10px; flex: none; }
.diplomas-arrows button { width: 52px; height: 52px; border-radius: 50%; background: var(--white); border: 1.5px solid var(--line-2); display: grid; place-items: center; color: var(--ink); transition: all 0.3s var(--ease); }
.diplomas-arrows button:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.diplomas-arrows button:disabled { opacity: 0.35; cursor: default; }
.diplomas-arrows button:disabled:hover { background: var(--white); color: var(--ink); border-color: var(--line-2); }
.diplomas-arrows svg { width: 20px; height: 20px; }

.diplomas-slider { margin-top: 40px; overflow: hidden; }
.diplomas-track { display: flex; gap: 14px; transition: transform 0.55s var(--ease); will-change: transform; }
.diploma {
  position: relative; border-radius: var(--r-sm); overflow: hidden; cursor: pointer;
  background: var(--white); border: 1px solid var(--line); aspect-ratio: 4 / 3; min-width: 0;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.diploma:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent-soft); }
.diploma img { width: 100%; height: 100%; display: block; }
.diploma .d-zoom {
  position: absolute; z-index: 2; inset: 0; display: grid; place-items: center;
  background: rgba(26,11,18,0.0); opacity: 0; transition: opacity 0.3s var(--ease), background 0.3s var(--ease);
}
.diploma:hover .d-zoom { opacity: 1; background: rgba(26,11,18,0.28); }
.diploma .d-zoom span { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.94); color: var(--accent); display: grid; place-items: center; }
.diploma .d-zoom svg { width: 20px; height: 20px; }
.diplomas-dots { margin-top: 26px; display: flex; gap: 8px; justify-content: center; }
.diplomas-dots button { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); transition: all 0.3s var(--ease); }
.diplomas-dots button.is-active { background: var(--accent); width: 28px; border-radius: 9px; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: clamp(20px, 5vw, 60px);
  background: rgba(20,8,14,0.92); backdrop-filter: blur(6px);
}
.lightbox.is-open { display: flex; animation: lbFade 0.3s var(--ease); }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
.lightbox-img { max-width: 100%; max-height: 100%; border-radius: var(--r-sm); box-shadow: 0 40px 100px -30px rgba(0,0,0,0.7); }
.lightbox-img img { width: min(70vw, 620px); height: min(82vh, 820px); display: block; }
.lb-close, .lb-prev, .lb-next {
  position: absolute; width: 54px; height: 54px; border-radius: 50%;
  background: rgba(255,255,255,0.14); border: 1.5px solid rgba(255,255,255,0.4); color: #fff;
  display: grid; place-items: center; transition: all 0.25s var(--ease); backdrop-filter: blur(6px);
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: #fff; color: var(--ink); }
.lb-close { top: 24px; right: 24px; }
.lb-prev { left: clamp(12px, 3vw, 36px); top: 50%; transform: translateY(-50%); }
.lb-next { right: clamp(12px, 3vw, 36px); top: 50%; transform: translateY(-50%); }
.lb-close svg, .lb-prev svg, .lb-next svg { width: 22px; height: 22px; }
.lb-count { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.8); font-size: 0.9rem; font-variant-numeric: tabular-nums; }

/* ---- Responsive for blocks 11–15 ---- */
@media (max-width: 980px) {
  .reasons-grid { grid-template-columns: repeat(2, 1fr); }
  .expert-grid { grid-template-columns: 1fr; }
  .expert-photo { order: -1; max-width: 480px; }
  .team-card { flex: 0 0 calc((100% - 22px) / 2); }
  .videos-grid { grid-template-columns: repeat(2, 1fr); }
  .video-item {height: 340px}
  .case-pair .case-img img {height: clamp(190px, 24vw, 300px)!important;}
}
@media (max-width: 680px) {
  .reasons-grid { grid-template-columns: 1fr; }
  .expert-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .team-card { flex: 0 0 100%; }
  .videos-head, .diplomas-head { flex-direction: column; align-items: flex-start; }
  .videos-grid { grid-template-columns: repeat(1, 1fr); }
}
@media (max-width: 640px) {
  .reason { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 16px; row-gap: 8px; }
  .reason .r-num { flex: 0 0 100%; margin-bottom: 0; }
  .reason .r-ico { margin-bottom: 0; flex: 0 0 auto; }
  .reason h3 { flex: 1 1 auto; margin: 0; }
  .reason p { flex: 0 0 100%; margin-top: 4px; }
}
@media (max-width: 420px) {
}
/* ============================================================
   FavDental v2 — Blocks 16–21
   Articole · Recenzii · CTA · FAQ · Contact · Footer
   Uses tokens from styles-v2.css
   ============================================================ */

/* ---- BLOCK 16 — Noutăți / Articole ---- */
.page-template-dantura-fixa-template .faq,
.page-template-preturi-page-template #preturi {
  padding-top: 0;
}
.news { padding-block: var(--section-space); background: var(--white); }
.news-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.news-head-left { max-width: 680px; }
.news-head .lead { margin-top: 16px; }
.news-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article {
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.article:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--accent-soft); }
.article-photo { position: relative; overflow: hidden; }
.article-photo img { width: 100%; height: 220px; display: block; transition: transform 0.6s var(--ease); }
.article:hover .article-photo img { transform: scale(1.05); }
.article-photo .a-tag {display:none; position: absolute; z-index: 2; top: 14px; left: 14px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; background: var(--accent); color: #fff; padding: 6px 12px; border-radius: 999px; }
.article-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.article-date { display: none; }
.article-date svg { width: 15px; height: 15px; color: var(--accent); }
.article-body h3 { margin-top: 12px; font-size: 1.22rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; }
.article-body p { margin-top: 9px; font-size: 0.94rem; color: var(--muted); line-height: 1.62; }
.article-link { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.9rem; color: var(--accent); }
.article-link svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.article:hover .article-link svg { transform: translateX(4px); }
.article-photo { display: block; }
.article-body h3 a { color: inherit; transition: color 0.25s var(--ease); }
.article-body h3 a:hover { color: var(--accent); }

/* ===== Blog — listă articole + paginare ===== */
.blog-list .news-grid { margin-top: 0; }
.blog-pagination { margin-top: clamp(36px, 4vw, 52px); display: flex; justify-content: center; }
.blog-pagination ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.blog-pagination .page-numbers {
  display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px;
  border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--white);
  color: var(--ink); font-weight: 600; font-size: 0.95rem;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.blog-pagination a.page-numbers:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.blog-pagination .page-numbers.current { background: var(--accent); color: #fff; border-color: var(--accent); }
.blog-pagination .page-numbers.dots { border-color: transparent; background: transparent; }
.blog-pagination .page-numbers svg { width: 18px; height: 18px; }
.blog-empty { text-align: center; color: var(--muted); padding: 48px 0; font-size: 1.05rem; }

/* ---- Articol individual (single.php) ---- */
.post-body { padding-block: clamp(48px, 6vw, 86px); background: var(--white); }
.post-body .wrap { max-width: 1100px; }
.post-back {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px;
  font-size: 0.92rem; font-weight: 600; color: var(--ink-2); transition: color 0.25s var(--ease);
}
.single-post .cta {padding-top: 0;}
.post-back:hover { color: var(--accent); }
.post-back svg { width: 16px; height: 16px; }

.post-content { font-size: 1rem; line-height: 1.78; color: var(--ink-2); }
.post-content > *:first-child { margin-top: 0; }
.post-content h2 {
  margin-top: 40px; font-size: clamp(1.3rem, 2vw, 1.62rem); font-weight: 700; color: var(--ink);
  letter-spacing: -0.02em; line-height: 1.25; text-wrap: balance;
}
.post-content h3 { margin-top: 28px; font-size: 1.12rem; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.post-content p { margin-top: 16px; }
.post-content a { color: var(--accent); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
.post-content a:hover { color: var(--accent-deep); }
.post-content strong { color: var(--ink); font-weight: 700; }
.post-content ul, .post-content ol { margin-top: 16px; display: grid; gap: 10px; padding: 0; }
.post-content ul li, .post-content ol li { list-style: none; position: relative; padding-left: 28px; }
.post-content ul li::before {
  content: ""; position: absolute; left: 4px; top: 9px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent); opacity: 0.85;
}
.post-content ol { counter-reset: postol; }
.post-content ol li { counter-increment: postol; padding-left: 30px; }
.post-content ol li::before { content: counter(postol) "."; position: absolute; left: 0; top: 0; font-weight: 700; color: var(--accent); }
.post-content blockquote {
  margin-top: 22px; padding: 18px 24px; border-left: 3px solid var(--accent);
  background: var(--ivory); border-radius: 0 var(--r-md) var(--r-md) 0;
  font-style: italic; color: var(--ink);
}
.post-content img { width: 100%; height: auto; margin-top: 22px; border-radius: var(--r-lg); display: block; }
.post-content figcaption { margin-top: 8px; font-size: 0.86rem; color: var(--muted); text-align: center; }

.post-tags { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.post-tags a {
  font-size: 0.86rem; font-weight: 600; color: var(--ink-2); background: var(--ivory);
  border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.post-tags a:hover { color: var(--accent); border-color: var(--accent-soft); background: var(--accent-softer); }

/* ---- BLOCK 17 — Recenzii pacienți ---- */
.reviews { padding-block: var(--section-space); background: var(--ivory); }
.reviews-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.reviews-head-left { max-width: 680px; }
.reviews-head .lead { margin-top: 16px; }
.reviews-rating { display: flex; align-items: center; gap: 14px; flex: none; }
.reviews-rating .rr-score { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.04em; color: var(--ink); line-height: 1; }
.reviews-rating .rr-stars { display: flex; gap: 2px; color: var(--accent); }
.reviews-rating .rr-stars svg { width: 18px; height: 18px; }
.reviews-rating .rr-meta { font-size: 0.82rem; color: var(--muted); margin-top: 3px; }
.reviews-arrows { display: flex; gap: 10px; flex: none; }
.reviews-arrows button { width: 52px; height: 52px; border-radius: 50%; background: var(--white); border: 1.5px solid var(--line-2); display: grid; place-items: center; color: var(--ink); transition: all 0.3s var(--ease); }
.reviews-arrows button:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.reviews-arrows button:disabled { opacity: 0.35; cursor: default; }
.reviews-arrows button:disabled:hover { background: var(--white); color: var(--ink); border-color: var(--line-2); }
.reviews-arrows svg { width: 20px; height: 20px; }
.reviews-slider { margin-top: 40px; overflow: hidden; }
.reviews-track { display: flex; gap: 22px; transition: transform 0.55s var(--ease); will-change: transform; }
.review-card {
  flex: 0 0 calc((100% - 44px) / 3); min-width: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 28px; display: flex; flex-direction: column;
}
.review-card .rc-top { display: flex; align-items: center; justify-content: space-between; }
.review-card .rc-stars { display: flex; gap: 2px; color: var(--accent); }
.review-card .rc-stars svg { width: 17px; height: 17px; }
.review-card .rc-g { width: 26px; height: 26px; }
.review-card blockquote {overflow-y: scroll;max-height: 128px;padding-right: 10px; margin: 18px 0 0; font-size: 1rem; line-height: 1.62; color: var(--ink-2); flex: 1; text-wrap: pretty; }
.review-card .rc-author { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 13px; }
.review-card .rc-author img { width: 30px; height: 30px; flex: none; }
.review-card .rc-author .rc-name { font-weight: 700; font-size: 0.98rem; }
.review-card .rc-author .rc-date { display: none; }
.reviews-dots { margin-top: 26px; display: flex; gap: 8px; justify-content: center; }
.reviews-dots button { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); transition: all 0.3s var(--ease); }
.reviews-dots button.is-active { background: var(--accent); width: 28px; border-radius: 9px; }

/* ---- BLOCK 18 — CTA contact ---- */
.cta { padding-block: var(--section-space); background: var(--white); }
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%); color: #fff;
  padding: clamp(36px, 5vw, 64px);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center;
  box-shadow: var(--shadow-lg);
}
.cta-band::after { content: ""; position: absolute; right: -90px; top: -90px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,0.1); }
.cta-copy { position: relative; z-index: 1; }
.cta-copy h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; text-wrap: balance; }
.cta-copy p { margin-top: 14px; color: rgba(255,255,255,0.9); font-size: 1.04rem; line-height: 1.6; max-width: 44ch; }
.cta-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; }
.cta-actions .btn--white { background: #fff; color: var(--accent); }
.cta-actions .btn--white:hover { background: var(--dark); color: #fff; transform: translateY(-2px); }
.cta-form { position: relative; z-index: 1; background: rgba(255,255,255,0.12); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.24); border-radius: var(--r-md); padding: clamp(24px, 3vw, 34px); }
.cta-form h3 { font-size: 1.2rem; font-weight: 700; }
.cta-form .cf-fields { margin-top: 18px; display: grid; gap: 12px; }
.cta-form input {
  width: 100%; padding: 15px 18px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,0.34);
  background: rgba(255,255,255,0.14); color: #fff; font: inherit; font-size: 0.96rem;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.cta-form input::placeholder { color: rgba(255,255,255,0.72); }
.cta-form input:focus { outline: none; border-color: #fff; background: rgba(255,255,255,0.22); }
.cta-form .btn { width: 100%; margin-top: 4px; }

/* ---- BLOCK 19 — FAQ (accordion + video playlist) ---- */
.faq { padding-block: var(--section-space); background: var(--ivory); }
.faq-head { max-width: 680px; margin-inline: auto; text-align: center; }
.faq-head .lead { margin-top: 16px; }
.faq-stack { margin-top: 40px; display: flex; flex-direction: column; gap: clamp(40px, 5vw, 64px); }
.faq-stack .video-grid { order: 1; }
.faq-stack .accordion--2col { order: 2; }

.accordion { display: flex; flex-direction: column; gap: 12px; }
.accordion--2col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; align-items: start; }
.acc-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.acc-item.is-open { border-color: var(--accent-soft); box-shadow: var(--shadow-sm); }
.acc-q { width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 24px; font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.acc-q .acc-ico { width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease); }
.acc-q .acc-ico svg { width: 17px; height: 17px; }
.acc-item.is-open .acc-q .acc-ico { background: var(--accent); color: #fff; transform: rotate(45deg); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.acc-a-inner { padding: 0 24px 22px; color: var(--muted); font-size: 0.96rem; line-height: 1.65; }

/* Video playlist */
.playlist { background: var(--dark); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.playlist--wide { display: grid; grid-template-columns: 1.55fr 1fr; align-items: stretch; }
.pl-main { position: relative; cursor: pointer; }
.pl-main img { width: 100%; height: 100%; min-height: clamp(300px, 38vw, 530px); display: block; }
.pl-main .pl-frame { width: 100%; height: 100%; min-height: clamp(300px, 38vw, 530px); display: block; border: 0; }
.pl-main.is-playing { cursor: default; }
.pl-main.is-playing::after { display: none; }
.pl-main::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 55%); }
.pl-main .pl-play { position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 62px; height: 62px; border-radius: 50%; background: rgba(255,255,255,0.94); color: var(--accent); display: grid; place-items: center; transition: transform 0.3s var(--ease), background 0.3s var(--ease); }
.pl-main:hover .pl-play { transform: translate(-50%,-50%) scale(1.1); background: var(--accent); color: #fff; }
.pl-main .pl-play svg { width: 24px; height: 24px; margin-left: 3px; }
.pl-main .pl-now { position: absolute; z-index: 2; left: 20px; bottom: 18px; right: 20px; color: #fff; }
.pl-main .pl-now strong { display: block; font-size: 1.08rem; font-weight: 700; }
.pl-main .pl-now span { font-size: 0.84rem; opacity: 0.8; }
.pl-list { max-height: none; overflow-y: auto; border-left: 1px solid rgba(255,255,255,0.08); }
.pl-row { display: flex; align-items: center; gap: 14px; padding: 12px 16px; cursor: pointer; border-top: 1px solid rgba(255,255,255,0.08); transition: background 0.25s var(--ease); }
.pl-row:hover, .pl-row.is-active { background: rgba(255,255,255,0.07); }
.pl-row .pl-thumb { position: relative; width: 78px; height: 50px; border-radius: 9px; overflow: hidden; flex: none; background: #000; }
.pl-row .pl-thumb img { width: 100%; height: 100%; display: block; }
.pl-row .pl-thumb::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.2); }
.pl-row .pl-thumb .pl-mini { position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,0.9); color: var(--accent); display: grid; place-items: center; }
.pl-row .pl-thumb .pl-mini svg { width: 12px; height: 12px; margin-left: 1px; }
.pl-row .pl-info strong { display: block; font-size: 0.92rem; font-weight: 600; color: #fff; line-height: 1.3; }
.pl-row .pl-info span { font-size: 0.78rem; color: rgba(255,255,255,0.6); }
.pl-row.is-active .pl-info strong { color: var(--accent-light); }

/* Video grid (3 coloane, fiecare video independent) */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vg-item { position: relative; cursor: pointer; border-radius: var(--r-lg); overflow: hidden; background: var(--dark); box-shadow: var(--shadow-md); }
.vg-item img, .vg-item .pl-frame { width: 100%; height: 100%; aspect-ratio: 1; display: block; object-fit: cover; border: 0; }
.vg-item.is-playing { cursor: default; }
.vg-item.is-playing::after { display: none; }
.vg-item::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 55%); }
.vg-play { position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,0.94); color: var(--accent); display: grid; place-items: center; transition: transform 0.3s var(--ease), background 0.3s var(--ease); }
.vg-item:hover .vg-play { transform: translate(-50%,-50%) scale(1.1); background: var(--accent); color: #fff; }
.vg-item.is-playing .vg-play { display: none; }
.vg-play svg { width: 20px; height: 20px; margin-left: 2px; }
.vg-title { position: absolute; z-index: 2; left: 16px; bottom: 14px; right: 16px; color: #fff; }
.vg-title strong { font-size: 0.94rem; font-weight: 600; line-height: 1.3; }
.vg-item.is-playing .vg-title { display: none; }

/* ---- BLOCK 20 — Contact ---- */
.contact { padding-block: var(--section-space); background: var(--white); }
.contact-head { max-width: 680px; margin-inline: auto; text-align: center; }
.contact-head .lead { margin-top: 16px; }

.contact-card {
  margin-top: 40px;
  display: grid; grid-template-columns: 0.92fr 1.08fr; align-items: stretch;
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.contact-panel {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #2A1620 0%, #45222F 100%); color: #fff;
  padding: clamp(16px, 3vw, 35px);
  display: flex; flex-direction: column;
}
.contact-panel::after { content: ""; position: absolute; right: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(193,18,113,0.4), transparent 70%); }
.contact-panel h3 { position: relative; z-index: 1; font-size: clamp(1.5rem, 2.2vw, 1.8rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.4; }
.contact-panel > p { position: relative; z-index: 1; margin-top: 12px; color: rgba(255,255,255,0.78); font-size: 1rem; line-height: 1.6; max-width: 40ch; }

.contact-form2 { position: relative; z-index: 1; margin-top: 28px; display: grid; gap: 14px; }
.cf2-field label { display: block; font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.78); margin-bottom: 7px; }
.contact-form2 input {
  width: 100%; padding: 16px 18px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.1); color: #fff; font: inherit; font-size: 0.98rem;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.contact-form2 input::placeholder { color: rgba(255,255,255,0.6); }
.contact-form2 input:focus { outline: none; border-color: var(--accent-light); background: rgba(255,255,255,0.16); }
.contact-form2 .btn--white { width: 100%; margin-top: 4px; background: #fff; color: var(--accent); }
.contact-form2 .btn--white:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }

/* ============================================================
   Formulare CF7 (lead) — sursă unică, înlocuiesc formularele
   hardcodate. Stilizate pentru fundalurile închise ale
   containerelor .cta-form / .contact-form2 / .dfx-cta-form.
   ============================================================ */
.cta-form .wpcf7 { margin-top: 18px; }
.contact-form2 .wpcf7,
.dfx-cta-form .wpcf7 { margin-top: 0; }

.cta-form .wpcf7-form .d-flex,
.contact-form2 .wpcf7-form .d-flex,
.dfx-cta-form .wpcf7-form .d-flex { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.cta-form .wpcf7-form .col-md-12,
.contact-form2 .wpcf7-form .col-md-12,
.dfx-cta-form .wpcf7-form .col-md-12 { grid-column: 1 / -1; }
.wpcf7-form .wpcf7-form-control-wrap { display: block; }

/* Formularul „Meritați un zâmbet frumos" (Dantură fixă): câmpuri pe un singur rând, lățime 100% */
.dfx-cta-form .wpcf7-form .d-flex { grid-template-columns: 1fr; }

/* Inputuri text/telefon + textarea pe fundal închis */
.cta-form .wpcf7-form input.wpcf7-text,
.contact-form2 .wpcf7-form input.wpcf7-text,
.dfx-cta-form .wpcf7-form input.wpcf7-text,
.contact-form2 .wpcf7-form textarea {
  width: 100%; padding: 15px 18px; border-radius: 12px;
  border: 1.5px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.12);
  color: #fff; font: inherit; font-size: 0.96rem;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.cta-form .wpcf7-form input.wpcf7-text::placeholder,
.contact-form2 .wpcf7-form input.wpcf7-text::placeholder,
.dfx-cta-form .wpcf7-form input.wpcf7-text::placeholder,
.contact-form2 .wpcf7-form textarea::placeholder { color: rgba(255,255,255,0.68); }
.cta-form .wpcf7-form input.wpcf7-text:focus,
.contact-form2 .wpcf7-form input.wpcf7-text:focus,
.dfx-cta-form .wpcf7-form input.wpcf7-text:focus,
.contact-form2 .wpcf7-form textarea:focus { outline: none; border-color: #fff; background: rgba(255,255,255,0.2); }
.contact-form2 .wpcf7-form textarea { min-height: 120px; resize: vertical; }

/* Textul de accept (GDPR) */
.cta-form .acceptance p,
.contact-form2 .acceptance p,
.dfx-cta-form .acceptance p { font-size: 0.8rem; line-height: 1.5; color: rgba(255,255,255,0.68); margin: 2px 0; }

/* Butonul de submit — preia forma butoanelor temei */
.cta-form .wpcf7-submit,
.contact-form2 .wpcf7-submit,
.dfx-cta-form .wpcf7-submit {
  width: 100%; margin-top: 4px; border: none; cursor: pointer; font: inherit;
  font-weight: 600; font-size: 0.98rem; letter-spacing: -0.01em;
  padding: 16px 28px; border-radius: 999px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.cta-form .wpcf7-submit,
.contact-form2 .wpcf7-submit { background: #fff; color: var(--accent); }
.cta-form .wpcf7-submit:hover,
.contact-form2 .wpcf7-submit:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.dfx-cta-form .wpcf7-submit { background: var(--accent); color: #fff; }
.dfx-cta-form .wpcf7-submit:hover { background: var(--accent-deep); transform: translateY(-2px); }
.wpcf7-submit:disabled { opacity: 0.6; cursor: default; transform: none; }
.wpcf7-spinner { margin-left: 10px; position: absolute; left: 40px; bottom: 50px }

/* Mesaje de validare / răspuns CF7 — lizibile pe fundal închis */
.cta-form .wpcf7-response-output,
.contact-form2 .wpcf7-response-output,
.dfx-cta-form .wpcf7-response-output {
  margin: 14px 0 0; padding: 10px 14px; border-radius: 10px; font-size: 0.88rem;
  color: #fff; border: 1px solid rgba(255,255,255,0.4); background: rgba(255,255,255,0.1);
}
.cta-form .wpcf7-not-valid-tip,
.contact-form2 .wpcf7-not-valid-tip,
.dfx-cta-form .wpcf7-not-valid-tip { color: #ffd9e6; font-size: 0.8rem; margin-top: 5px; display: block; }

.contact-quick { position: relative; margin-top: 18px; display: flex; gap: 12px; flex-wrap: wrap; }
.cq-btn {
  flex: 1; min-width: 140px; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 16px; border-radius: 999px; font-weight: 600; font-size: 0.92rem;
  border: 1.5px solid rgba(255,255,255,0.3); color: #fff; transition: all 0.3s var(--ease);
}
.cq-btn svg { width: 18px; height: 18px; }
.cq-btn:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.5); }
.cq-btn--wa { background: var(--wa); border-color: var(--wa); color: white; }
.cq-btn--wa:hover { background: var(--wa-deep); border-color: var(--wa-deep); color: #fff; }

.contact-meta { position: relative; z-index: 1; margin-top: auto; padding-top: 28px; display: grid; gap: 12px; }
.cm-item { display: flex; align-items: center; gap: 11px; font-size: 0.92rem; color: rgba(255,255,255,0.82); }
.cm-item svg { width: 18px; height: 18px; color: var(--accent-light); flex: none; }

.contact-map { min-height: clamp(380px, 46vw, 560px); }
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(0.15); }

.ty-hero.th_page {
  padding: 0;
}

table.cfdb7-table th {
  background-color: #c11271;
}
.ty-hero.th_page h1 {
  margin-bottom: 50px;
}

/* ---- BLOCK 21 — Footer ---- */
.footer { background: var(--dark-grad); color: rgba(255,255,255,0.7); padding-block: clamp(56px, 6vw, 84px) 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(32px, 4vw, 56px); }
.footer-brand img { height: 30px; width: auto; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.94rem; line-height: 1.7; max-width: 34ch; }
.footer-social { margin-top: 22px; display: flex; gap: 10px; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); display: grid; place-items: center; color: #fff; transition: all 0.3s var(--ease); }
.footer-social a:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-3px); }
.footer-social svg { width: 22px; height: 22px; }
.footer-col h4 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a { font-size: 0.92rem; color: rgba(255,255,255,0.7); transition: color 0.25s var(--ease); }
.footer-col a:hover { color: var(--accent-light); }
.footer-contact .fc-item { display: flex; gap: 11px; align-items: flex-start; font-size: 0.92rem; line-height: 1.5; margin-bottom: 14px; }
.footer-contact .fc-item svg { width: 17px; height: 17px; color: var(--accent-light); flex: none; margin-top: 3px; }
.footer-bottom { margin-top: clamp(40px, 5vw, 60px); border-top: 1px solid rgba(255,255,255,0.12); padding-block: 26px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 0.86rem; }
.footer-bottom .fb-links { display: flex; gap: 22px; }
.footer-bottom a:hover { color: var(--accent-light); }

/* ---- Floating contact widget (FAB) — always visible ---- */
.fab { position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(20px, 4vw, 50px); z-index: 80; opacity: 0; visibility: hidden; transform: translateY(24px); pointer-events: none; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s var(--ease); }
.fab.is-visible { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.fab-items { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.fab-item { display: flex; align-items: center; gap: 12px; }
.fab-label {
  background: var(--dark); color: #fff; font-size: 0.84rem; font-weight: 600;
  padding: 8px 14px; border-radius: 999px; white-space: nowrap; box-shadow: var(--shadow-sm);
  opacity: 0; transform: translateX(8px); pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.fab-item:hover .fab-label { opacity: 1; transform: translateX(0); }
.fab-ico { position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-md); flex: none; transition: transform 0.25s var(--ease); }
.fab-ico svg { width: 26px; height: 26px; position: relative; z-index: 1; }
.fab-item:hover .fab-ico { transform: scale(1.08); }
.fab-item--phone .fab-ico { background: var(--accent); }
.fab-item--wa .fab-ico { background: var(--wa); }
.fab-item--msg .fab-ico { background: linear-gradient(135deg, #0A7CFF 0%, #A833FF 100%); }
/* gentle attention pulse on each button */
.fab-ico::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit;
  z-index: 0; animation: fabPulse 2.6s var(--ease) infinite;
}
.fab-item--wa .fab-ico::before { animation-delay: 0.4s; }
.fab-item--msg .fab-ico::before { animation-delay: 0.8s; }
@keyframes fabPulse { 0% { transform: scale(1); opacity: 0.5; } 70% { transform: scale(1.6); opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .fab-ico::before { animation: none; } }
@media (max-width: 680px) {
  .fab-ico { width: 50px; height: 50px; }
  .fab-ico svg { width: 23px; height: 23px; }
  .fab-items { gap: 12px; }
}
@media (max-width: 640px) {
  /* Widget flotant → bară fixă jos, pe toată lățimea, butoane 50%/50% cu text vizibil */
  .fab { left: 0; right: 0; bottom: 0; width: 100%; box-shadow: 0 -4px 20px rgba(0,0,0,0.14); }
  .fab-items { flex-direction: row; align-items: stretch; width: 100%; gap: 0; }
  .fab-item { flex: 1 1 50%; flex-direction: row-reverse; justify-content: center; gap: 8px; padding: 14px 10px; color: #fff; }
  .fab-item--phone { background: var(--accent); }
  .fab-item--wa { background: var(--wa); }
  .fab-ico { width: 22px; height: 22px; background: transparent; box-shadow: none; }
  .fab-ico::before { display: none; }
  .fab-ico svg { width: 20px; height: 20px; }
  .fab-label { position: static; opacity: 1; transform: none; background: transparent; box-shadow: none; padding: 0; color: inherit; }
}
@media (max-width: 980px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .review-card { flex: 0 0 calc((100% - 22px) / 2); }
  .cta-band { grid-template-columns: 1fr; }
  .playlist--wide { grid-template-columns: 1fr; }
  .pl-list { border-left: 0; border-top: 1px solid rgba(255,255,255,0.08); max-height: 320px; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-card { grid-template-columns: 1fr; }
  .contact-map { min-height: 320px; order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 680px) {
  .news-grid { grid-template-columns: 1fr; }
  .review-card { flex: 0 0 100%; }
  .reviews-head, .news-head { flex-direction: column; align-items: flex-start; }
  .cf-row { grid-template-columns: 1fr; }
  .accordion--2col { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding-bottom: 80px; gap: 6px}
	.diploma img {height: 300px; object-fit: cover}
}
@media (max-width: 640px) {
  .cta-form .wpcf7-form .d-flex,
  .contact-form2 .wpcf7-form .d-flex,
  .dfx-cta-form .wpcf7-form .d-flex { grid-template-columns: 1fr; }
  .section-title { text-align: center; }
}

/* ============================================================
   FavDental — punți între machetă (image-slot) și <img> real
   + spațiere egală între secțiuni, controlată dintr-o variabilă
   ============================================================ */
:root { --section-space: 110px; }

/* Imaginile care umpleau un slot trebuie să decupeze frumos (object-fit) */
.slide-bg img, .car-track img, .svc-photo img, .tech-photo img, .f-img img,
.testi-panel img, .ep-img img, .team-photo img, .video-item img, .diploma img,
.article-photo img, .rc-author img, .pl-main img, .pl-thumb img,
.testi-patient img { object-fit: cover; }

/* Sloturile rotunde din machetă (shape="circle") */
.testi-patient img, .rc-author img { border-radius: 50%; }

/* Imaginea principală din playlist umple înălțimea coloanei */
.pl-main img { height: 100%; }

/* Skeleton vizibil cât timp lipsește o imagine (admin gol) */
.svc-photo img:not([src]), .tech-photo img:not([src]), .video-item img:not([src]),
.diploma img:not([src]), .article-photo img:not([src]) { background: var(--accent-soft); }

/* ============================================================
   Pagina Cazuri Clinice (sub-page) — din macheta cazuri.css
   ============================================================ */
/* ============================================================
   FavDental — Cazuri Clinice (sub-page)
   Page-specific blocks: editorial hero, before/after gallery,
   implant-benefit cards. Reuses tokens + components from
   styles-v2*.css (loaded first).
   ============================================================ */

/* ---- Active nav link (current page) ---- */
.nav a.is-current { color: var(--accent); font-weight: 600; }
.nav a.is-current::after { right: 0; }

/* ---- Sub-page hero (clean, light) ---- */
.page-hero {
  position: relative; overflow: hidden; padding-block: var(--section-space);
  background: var(--ivory); border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: ""; position: absolute; z-index: 0; right: -160px; top: -120px;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 68%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero-inner {
  max-width: 820px; text-align: center; margin-inline: auto;
  display: flex; flex-direction: column; align-items: center;
}
.page-hero .kicker { margin-bottom: 20px; }
.page-hero h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.9rem); font-weight: 800; color: var(--ink);
  line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance;
}
.page-hero h1 em { font-style: italic; font-weight: 700; color: var(--accent); }
.page-hero p.ph-sub {
  margin-top: 20px; color: var(--ink-2);
  font-size: clamp(1.02rem, 1.3vw, 1.18rem); line-height: 1.72; max-width: 58ch;
}

/* ---- Cazuri panels (Video + Foto, stivuite) ---- */
.case-panel { animation: phPanel 0.45s var(--ease) both; }
@keyframes phPanel { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.case-panel .cases-head,
.case-panel .videos-head { margin-top: 0; }
.case-panel + .case-panel { margin-top: var(--section-space); }

/* ---- Before / After gallery (static, no drag) ---- */
.cases { padding-block: var(--section-space); background: var(--white); }
.cases-head { max-width: 680px; margin-inline: auto; text-align: center; }
.cases-head .kicker { justify-content: center; }
.cases-head .section-title { white-space: nowrap; }
.cases-head .lead { margin-top: 16px; margin-inline: auto; }

.cases-grid {
  margin-top: 40px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
}
.case-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--accent-soft); }
.case-pair {
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  gap: 3px; background: var(--ivory-2);
}
.case-pair .case-img { position: relative; }
.case-pair .case-img img { width: 100%; height: clamp(230px, 24vw, 300px); display: block; }
.case-pair .ba-label {
  position: absolute; z-index: 2; top: 12px; left: 12px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; color: #fff; backdrop-filter: blur(4px);
  background: rgba(26,11,18,0.62);
}
.case-pair .case-img.is-after .ba-label { background: var(--accent); }
.case-pair .case-arrow {
  display: none;
}
.case-pair .case-arrow svg { width: 20px; height: 20px; }

/* ---- Implant benefits (4 cards) ---- */
.benefits { padding-block: var(--section-space); background: var(--ivory); }
.benefits-head { max-width: 720px; margin-inline: auto; text-align: center; }
.benefits-head .kicker { justify-content: center; }
.benefits-head .lead { margin-top: 16px; margin-inline: auto; }
.benefits-grid {
  margin-top: 40px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.page-template-protetica-template .contact {
  padding-top: 0;
}

.page-template-parodontoza-template .feature-media .f-img img {
  height: clamp(250px, 56vw, 500px);
}

.page-hero--media h1.paro_title {
  font-size: clamp(2.2rem, 3.6vw, 3rem);
}
.page-template-despre-template .page-hero--media {
  min-height: clamp(440px, 80vh, 820px);
}
.benefit-card {
  position: relative; padding: 34px 28px; border-radius: var(--r-lg);
  background: var(--white); border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.benefit-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--accent-soft); }
.benefit-card .b-num {
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; color: var(--accent);
  font-variant-numeric: tabular-nums; margin-bottom: 18px;
}
.benefit-card .b-ico {
  width: 58px; height: 58px; border-radius: 16px; background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 22px;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.benefit-card:hover .b-ico { background: var(--accent); color: #fff; }
.benefit-card .b-ico svg { width: 30px; height: 30px; }
.benefit-card h3 { font-size: 1.16rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; }
.benefit-card p { margin-top: 10px; font-size: 0.94rem; color: var(--muted); line-height: 1.62; }

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .cases-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .cases-head .section-title { white-space: normal; }
}

/* ---- Video block on white (override dark .videos) ---- */
.videos--light { background: var(--white); color: var(--ink); }
.videos--light .kicker { color: var(--accent); }
.videos--light .kicker::before { background: currentColor; opacity: 0.5; }
.videos--light .videos-head .section-title { color: var(--ink); }
.videos--light .videos-head .lead { color: var(--ink-2); }
.videos--light .video-item { border-color: var(--line); }

/* Light pagination for both Foto + Video panels (on white) */
.cases .vp-btn {
  background: var(--white); border-color: var(--line-2); color: var(--ink);
}
.cases .vp-btn:hover:not(:disabled) {
  background: var(--accent-soft); border-color: var(--accent-soft); color: var(--accent);
}
.cases .vp-btn.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.cases .vp-btn:disabled { opacity: 0.4; }

/* Imaginile înainte/după decupează frumos */
.case-pair .case-img img { object-fit: cover; }

/* Link de meniu activ (WP marchează cu aria-current pe pagina curentă) */
.nav a[aria-current="page"] { color: var(--accent); font-weight: 600; }
.nav a[aria-current="page"]::after { right: 0; }

/* ============================================================
   Titluri & subtitluri de bloc pe lățime completă (Home + Cazuri)
   ============================================================ */
.section-title,
.page-hero h1,
.cta-copy h2,
.cta-form h3,
.contact-panel h3 { width: 100%; max-width: none; white-space: normal; }

.lead,
.ph-sub,
.cta-copy p,
.slide-copy p { max-width: none; width: 100%; }

/* Capete de secțiune centrate — titlul/subtitlul ocupă toată lățimea */
.cases-head, .benefits-head, .testi-head, .steps-head, .reasons-head,
.faq-head, .contact-head, .page-hero-inner,
.videos-head-left { max-width: none; }

/* Capete cu buton lateral — coloana de text crește pe toată lățimea */
.services-head .head-left,
.tech-head-left, .team-head-left,
.news-head-left, .reviews-head-left, .diplomas-head-left { max-width: none; flex: 1 1 auto; }


/* ============================================================
   Pagina Thank You — din macheta thankyou.css (v2: badge + rețele)
   ============================================================ */
/* ============================================================
   FavDental — Thank You page
   Reuses tokens + components from styles-v2*.css (loaded first).
   ============================================================ */

/* ---- Thank-you hero ---- */
.ty-hero {
  position: relative; overflow: hidden; padding-block: clamp(80px, 11vw, 150px);
  background:
    radial-gradient(120% 120% at 50% -10%, var(--accent-soft), transparent 56%),
    var(--ivory);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.ty-hero .wrap { position: relative; z-index: 1; }
.ty-inner {
  max-width: 920px; margin-inline: auto;
  display: flex; flex-direction: column; align-items: center;
}

.notfound__code {
  font-size: 10rem;
  color:#c11271;
  font-weight: 900;
  font-style: italic;
}
.error404 .ty-hero {padding:50px 15px 120px}

.notfound__lede {margin: 20px 0 30px}

/* confirmation pill */
.ty-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 18px 9px 11px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-deep);
  font-weight: 700; font-size: 0.9rem; letter-spacing: 0.01em;
  border: 1px solid rgba(193,18,113,0.16);
  margin-bottom: 30px;
  animation: tyRise 0.7s var(--ease) 0.05s both;
}
.ty-badge-dot {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  background: linear-gradient(150deg, var(--accent) 0%, var(--accent-deep) 100%);
  display: grid; place-items: center;
  box-shadow: 0 6px 14px -5px rgba(193,18,113,0.7);
}
.ty-badge-dot svg { width: 14px; height: 14px; color: #fff; }
.ty-badge-dot svg path {
  stroke-dasharray: 28; stroke-dashoffset: 28;
  animation: tyDraw 0.5s var(--ease) 0.4s forwards;
}
@keyframes tyDraw { to { stroke-dashoffset: 0; } }

.ty-hero h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.2rem); font-weight: 800; color: var(--ink);
  line-height: 1.02; letter-spacing: -0.04em; text-wrap: balance;
  animation: tyRise 0.7s var(--ease) 0.15s both;
}
.ty-hero h1 em { font-style: italic; font-weight: 700; color: var(--accent); }
.ty-hero .ty-sub {
  margin-top: 22px; color: var(--ink-2);
  font-size: clamp(1.08rem, 1.5vw, 1.32rem); line-height: 1.7; max-width: 50ch;
  animation: tyRise 0.7s var(--ease) 0.25s both;
}
.ty-actions {
  margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
  animation: tyRise 0.7s var(--ease) 0.35s both;
}
@keyframes tyRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

/* ---- Map + contacts ---- */
.ty-contact { padding-block: var(--section-space); background: var(--white); }
.ty-contact-head { max-width: 680px; margin-inline: auto; text-align: center; }
.ty-contact-head .kicker { justify-content: center; }
.ty-contact-head .lead { margin-top: 16px; margin-inline: auto; }

.ty-contact-card {
  margin-top: 40px;
  display: grid; grid-template-columns: 0.92fr 1.08fr; align-items: stretch;
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.ty-panel {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #2A1620 0%, #45222F 100%); color: #fff;
  padding: clamp(32px, 4vw, 52px);
  display: flex; flex-direction: column;
}
.ty-panel::after {
  content: ""; position: absolute; right: -90px; top: -90px; width: 260px; height: 260px;
  border-radius: 50%; background: radial-gradient(circle, rgba(193,18,113,0.4), transparent 70%);
}
.ty-panel h3 { position: relative; z-index: 1; font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 800; letter-spacing: -0.03em; }
.ty-panel > p { position: relative; z-index: 1; margin-top: 12px; color: rgba(255,255,255,0.78); font-size: 1rem; line-height: 1.6; max-width: 40ch; }

.ty-details { position: relative; z-index: 1; margin-top: 30px; display: grid; gap: 22px; }
.ty-detail { display: flex; gap: 16px; align-items: flex-start; }
.ty-detail .td-ico {
  width: 46px; height: 46px; border-radius: 13px; flex: none;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18);
  display: grid; place-items: center; color: var(--accent-light);
}
.ty-detail .td-ico svg { width: 22px; height: 22px; }
.ty-detail .td-text strong { display: block; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.6); font-weight: 700; margin-bottom: 4px; }
.ty-detail .td-text a, .ty-detail .td-text span { font-size: 1.04rem; color: #fff; font-weight: 500; line-height: 1.45; }
.ty-detail .td-text a:hover { color: var(--accent-light); }

.ty-quick { position: relative; z-index: 1; margin-top: auto; padding-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.ty-qbtn {
  flex: 1; min-width: 140px; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 16px; border-radius: 999px; font-weight: 600; font-size: 0.94rem;
  background: rgba(255,255,255,0.08); border: 1.5px solid rgba(255,255,255,0.3); color: #fff;
  transition: all 0.3s var(--ease);
}
.ty-qbtn svg { width: 18px; height: 18px; }
.ty-qbtn:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.55); transform: translateY(-2px); }
.ty-qbtn--wa { background: #25D366; border-color: #25D366; color: #08381b; }
.ty-qbtn--wa:hover { background: #1ebe5a; border-color: #1ebe5a; color: #fff; }

.ty-map { min-height: clamp(420px, 50vw, 600px); }
.ty-map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(0.15); }

@media (max-width: 900px) {
  .ty-contact-card { grid-template-columns: 1fr; }
  .ty-map { min-height: 340px; order: -1; }
}

/* ---- Rețele de socializare (în hero, sub butoane) ---- */
.ty-social-grid {
  width: 100%; max-width: 980px; margin: 40px auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  animation: tyRise 0.7s var(--ease) 0.45s both;
}
.ty-social-card { text-align: left; }
.ty-social-card {
  display: flex; align-items: center; gap: 15px;
  padding: 22px 22px; border-radius: var(--r-md);
  background: var(--white); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.ty-social-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--accent-soft); }
.tss-ico {
  width: 52px; height: 52px; border-radius: 14px; flex: none;
  display: grid; place-items: center; color: #fff;
  transition: transform 0.35s var(--ease);
}
.ty-social-card:hover .tss-ico { transform: scale(1.06); }
.tss-ico svg { width: 26px; height: 26px; }
.ty-social-card--fb .tss-ico { background: #1877F2; }
.ty-social-card--ig .tss-ico { background: linear-gradient(135deg, #F58529 0%, #DD2A7B 50%, #8134AF 100%); }
.ty-social-card--yt .tss-ico { background: #FF0000; }
.ty-social-card--tt .tss-ico { background: #111; }
.tss-text { display: flex; flex-direction: column; min-width: 0; }
.tss-text strong { font-size: 1.02rem; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.tss-text span { font-size: 0.86rem; color: var(--muted); margin-top: 2px; }

@media (max-width: 700px) {
  .ty-social-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 460px) {
  .ty-social-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   Pagina Prețuri — din macheta preturi.css (pachete + servicii +
   acordeon prețuri + hero media). Componenta pachete e globală.
   ============================================================ */
/* ============================================================
   FavDental — Pagina Prețuri (sub-page)
   Page-specific blocks: pricing packages (tabs), service
   categories, full price list. Reuses tokens + components from
   styles-v2*.css + cazuri.css (loaded first).
   ============================================================ */

/* ---- Section rhythm helpers ---- */
.pr-section { padding-block: var(--section-space); }
.pr-section--white { background: var(--white); }
.pr-section--ivory { background: var(--ivory); }
.pr-head { max-width: 720px; margin-inline: auto; text-align: center; }
.pr-head .kicker { justify-content: center; }
.pr-head .lead { margin-top: 16px; margin-inline: auto; }

/* ============================================================
   BLOCK 2 — Pachete Dantură fixă (toate pachetele într-o grilă)
   ============================================================ */
.pkg-grid { margin-top: 46px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }

.pkg-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 38px 32px 34px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.pkg-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--accent-soft); }

/* Featured (recommended) tier */
.pkg-card--featured {
  background: linear-gradient(165deg, #2A1620 0%, #45222F 100%); color: #fff;
  border-color: transparent; box-shadow: var(--shadow-lg);
}
.pkg-card--featured::after {
  content: ""; position: absolute; right: -70px; top: -70px; width: 220px; height: 220px;
  border-radius: 50%; background: radial-gradient(circle, rgba(193,18,113,0.45), transparent 70%);
  pointer-events: none;
}
.pkg-badge {
  position: absolute; top: 22px; right: 22px; z-index: 2;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--accent); color: #fff; padding: 7px 13px; border-radius: 999px;
  box-shadow: 0 10px 22px -10px rgba(193,18,113,0.7);
}

.pkg-tier { position: relative; z-index: 1; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.pkg-card--featured .pkg-tier { color: var(--accent-light); }
.pkg-name { position: relative; z-index: 1; margin-top: 10px; font-size: 1.55rem; font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; }
.pkg-desc { position: relative; z-index: 1; margin-top: 10px; font-size: 0.94rem; line-height: 1.6; color: var(--muted); max-width: 32ch; }
.pkg-card--featured .pkg-desc { color: rgba(255,255,255,0.74); }

.pkg-price { position: relative; z-index: 1; margin-top: 26px; display: flex; align-items: baseline; gap: 7px; }
.pkg-price .pp-from { font-size: 0.82rem; font-weight: 600; color: var(--muted); }
.pkg-card--featured .pkg-price .pp-from { color: rgba(255,255,255,0.66); }
.pkg-price .pp-amount { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--ink); }
.pkg-card--featured .pkg-price .pp-amount { color: #fff; }
.pkg-price .pp-cur { font-size: 1.1rem; font-weight: 700; color: var(--ink-2); }
.pkg-card--featured .pkg-price .pp-cur { color: rgba(255,255,255,0.82); }
.pkg-arch { position: relative; z-index: 1; margin-top: 6px; font-size: 0.82rem; color: var(--muted); }
.pkg-card--featured .pkg-arch { color: rgba(255,255,255,0.6); }

.pkg-feats { position: relative; z-index: 1; margin: 26px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line); list-style: none; display: grid; gap: 13px; flex: 1; }
.pkg-card--featured .pkg-feats { border-top-color: rgba(255,255,255,0.16); }
.pkg-feats li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; line-height: 1.5; color: var(--ink-2); }
.pkg-card--featured .pkg-feats li { color: rgba(255,255,255,0.86); }
.pkg-feats .pf-ico { width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; margin-top: 1px; }
.pkg-card--featured .pkg-feats .pf-ico { background: rgba(255,120,190,0.22); color: var(--accent-light); }
.pkg-feats .pf-ico svg { width: 13px; height: 13px; }

.pkg-card .btn { position: relative; z-index: 1; margin-top: 28px; width: 100%; }
.pkg-card--featured .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.4); }
.pkg-card--featured .btn--ghost:hover { background: #fff; color: var(--accent); border-color: #fff; }

.pkg-note { margin-top: 26px; text-align: center; font-size: 0.9rem; color: var(--muted); }
.pkg-note svg { width: 15px; height: 15px; vertical-align: -2px; color: var(--accent); margin-right: 5px; }

@media (max-width: 980px) {
  .pkg-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
}

.page-template-protetica-template .benefits {
  padding-top: 0;
}

.page-template-parodontoza-template .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* ============================================================
   BLOCK 3 — Toate serviciile clinicii (photo cards)
   ============================================================ */
.psvc-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.psvc-card {
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.psvc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--accent-soft); }
.psvc-photo { position: relative; overflow: hidden; }
.psvc-photo img { width: 100%; height: 210px; display: block; transition: transform 0.6s var(--ease); }
.psvc-card:hover .psvc-photo img { transform: scale(1.05); }
.psvc-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(26,11,18,0.5) 0%, transparent 52%); }
.psvc-photo .psvc-ico {
  position: absolute; z-index: 2; left: 16px; bottom: 16px;
  width: 48px; height: 48px; border-radius: 14px; flex: none;
  background: rgba(255,255,255,0.94); color: var(--accent); display: grid; place-items: center;
  box-shadow: var(--shadow-sm); transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.psvc-card:hover .psvc-photo .psvc-ico { background: var(--accent); color: #fff; }
.psvc-photo .psvc-ico svg { width: 25px; height: 25px; }
.psvc-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.psvc-body h3 { font-size: 1.22rem; font-weight: 700; letter-spacing: -0.02em; }
.psvc-body p { margin-top: 9px; font-size: 0.94rem; color: var(--muted); line-height: 1.6; flex: 1; }
.psvc-link { margin-top: 18px; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.9rem; color: var(--accent); }
.psvc-link svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.psvc-card:hover .psvc-link svg { transform: translateX(4px); }

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

/* ============================================================
   BLOCK 4 — Prețuri complete (accordion pe categorii)
   Scalează la liste de orice lungime (5 sau 25 de servicii);
   listele lungi curg pe 2 coloane pe desktop.
   ============================================================ */
.price-acc { margin-top: 44px; max-width: 1000px; margin-inline: auto; display: flex; flex-direction: column; gap: 14px; }
.pacc-item {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.pacc-item.is-open { border-color: var(--accent-soft); box-shadow: var(--shadow-sm); }
.pacc-head {
  width: 100%; display: flex; align-items: center; gap: 18px; text-align: left;
  padding: 22px 26px;
}
.pacc-ico {
  width: 48px; height: 48px; border-radius: 13px; flex: none;
  background: var(--accent-soft); color: var(--accent); display: grid; place-items: center;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.pacc-item.is-open .pacc-ico { background: var(--accent); color: #fff; }
.pacc-ico svg { width: 24px; height: 24px; }
.pacc-title { flex: 1; min-width: 0; }
.pacc-title h3 { font-size: 1.16rem; font-weight: 700; letter-spacing: -0.02em; }
.pacc-title span { display: block; font-size: 0.84rem; color: var(--muted); margin-top: 2px; }
.pacc-count {
  flex: none; font-size: 0.78rem; font-weight: 700; color: var(--accent);
  background: var(--accent-soft); padding: 6px 13px; border-radius: 999px; white-space: nowrap;
}
.pacc-chev {
  flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line-2);
  display: grid; place-items: center; color: var(--ink-2);
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.pacc-chev svg { width: 18px; height: 18px; }
.pacc-item.is-open .pacc-chev { transform: rotate(180deg); background: var(--accent); color: #fff; border-color: var(--accent); }

.pacc-body { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.pacc-rows {
  padding: 4px 26px 20px;
}
.price-row {
  display: flex; align-items: baseline; gap: 12px;
  padding: 15px 0; border-bottom: 1px dashed var(--line);
}
.price-row .prc-name { font-size: 0.98rem; color: var(--ink); font-weight: 500; }
.price-row .prc-name small { display: block; font-size: 0.8rem; color: var(--muted); font-weight: 400; margin-top: 3px; }
.price-row .prc-dots { flex: 1; border-bottom: 1px dotted var(--line-2); transform: translateY(-4px); min-width: 18px; }
.price-row .prc-val { font-size: 1rem; font-weight: 700; color: var(--accent); white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-row .prc-val small { font-weight: 600; color: var(--muted); font-size: 0.8rem; }

.price-foot {
  margin-top: 32px; display: flex; align-items: center; justify-content: center; gap: 10px;
  flex-wrap: wrap; text-align: center; color: var(--muted); font-size: 0.92rem;
}
.price-foot svg { width: 16px; height: 16px; color: var(--accent); }

@media (max-width: 680px) { .pacc-rows { grid-template-columns: 1fr; } }

/* Contact CTA on ivory (override global white) */
.contact.is-ivory { background: var(--ivory); }

/* ============================================================
   BLOCK 1 — Hero with media background (Prețuri page only)
   ============================================================ */
.page-hero--media {
  background: var(--ink);
  border-bottom: none;
  min-height: clamp(440px, 62vh, 620px);
  display: flex;
  align-items: flex-end;
  padding-block: 0;
}
.page-hero--media::before { display: none; }
.page-hero--media .ph-bg {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  display: block;
  transform: scale(1.06) translate3d(0, 0, 0);
  animation: phZoom 18s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes phZoom {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to   { transform: scale(1.14) translate3d(0, -2.5%, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero--media .ph-bg { animation: none; }
}
.page-hero--media .ph-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to top, rgba(20,12,18,0.92) 0%, rgba(20,12,18,0.55) 38%, rgba(20,12,18,0.12) 70%, rgba(20,12,18,0.28) 100%),
    linear-gradient(to right, rgba(20,12,18,0.55) 0%, rgba(20,12,18,0) 60%);
}
.page-hero--media .wrap { position: relative; z-index: 2; width: 100%; padding-block: clamp(40px, 6vw, 72px); }
.page-hero--media .page-hero-inner {
  max-width: 920px; margin-inline: 0;
  text-align: left; align-items: flex-start;
}
.page-hero--media .kicker {
  color: #fff;
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.28);
  backdrop-filter: blur(6px);
  padding: 3px 10px;
  border-radius: 10px;
}
.page-hero--media h1 { color: #fff; }
.page-hero--media h1 em { color: var(--accent-soft, #f6b8da); }
.page-hero--media p.ph-sub { color: rgba(255,255,255,0.88); margin-inline: 0; }

.page-hero--media .ph-actions {
  margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px;
}
.page-hero--media .ph-actions .btn--white {
  background: #fff; color: var(--accent);
  box-shadow: 0 16px 34px -16px rgba(0,0,0,0.5);
}
.page-hero--media .ph-actions .btn--white:hover {
  background: var(--accent); color: #fff; transform: translateY(-2px);
}
.btn--ghost-light {
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,0.45);
}
.btn--ghost-light:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.7); }



/* Imaginile din cardurile de servicii decupează frumos */
.psvc-photo img { object-fit: cover; }

/* ============================================================
   Pagina Contacte — din macheta contacte.css (carduri info +
   social + textarea formular). Hero media e deja în CSS (preturi).
   ============================================================ */
/* ---- Section rhythm ---- */
.cn-section { padding-block: clamp(72px, 8vw, 110px); }
.cn-section--white { background: var(--white); }
.cn-section--ivory { background: var(--ivory); }
.cn-head { max-width: 700px; margin-inline: auto; text-align: center; }
.cn-head .kicker { justify-content: center; }
.cn-head .lead { margin-top: 16px; margin-inline: auto; }

/* ---- BLOCK — Contact info cards ---- */
.cinfo-grid {
  margin-top: 48px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.cinfo-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.cinfo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-soft);
}
.cinfo-ico {
  width: 54px; height: 54px; border-radius: 16px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 14px;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.cinfo-card:hover .cinfo-ico { background: var(--accent); color: #fff; }
.cinfo-ico svg { width: 24px; height: 24px; }
.cinfo-card h3 {
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
}
.cinfo-card .cinfo-main {
  font-size: 1.12rem; font-weight: 700; color: var(--ink); line-height: 1.45;
  letter-spacing: -0.01em;
}
.cinfo-card a.cinfo-main { transition: color 0.25s var(--ease); }
.cinfo-card a.cinfo-main:hover { color: var(--accent); }
.cinfo-card .cinfo-sub { font-size: 0.92rem; color: var(--ink-2); line-height: 1.55; }

/* ---- Socials row ---- */
.cinfo-social {
  margin-top: 40px;
  display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap;
  padding-top: 36px; border-top: 1px solid var(--line);
}
.cinfo-social .cs-label { font-size: 0.98rem; font-weight: 600; color: var(--ink); }
.cinfo-social .cs-links { display: flex; gap: 12px; }
.cinfo-social .cs-links a {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--line-2); color: var(--ink);
  display: grid; place-items: center;
  transition: all 0.3s var(--ease);
}
.cinfo-social .cs-links a:hover {
  background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-3px);
  box-shadow: 0 12px 24px -10px rgba(193,18,113,0.55);
}
.cinfo-social .cs-links svg { width: 19px; height: 19px; }

/* ---- Contact form additions (full form on the contact page) ---- */
.contact-form2 textarea {
  width: 100%; padding: 16px 18px; border-radius: 12px;
  border: 1.5px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.1); color: #fff; font: inherit; font-size: 0.98rem;
  resize: vertical; min-height: 110px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.contact-form2 textarea::placeholder { color: rgba(255,255,255,0.6); }
.contact-form2 textarea:focus { outline: none; border-color: var(--accent-light); background: rgba(255,255,255,0.16); }

/* ---- Responsive ---- */
@media (max-width: 940px) {
  .cinfo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .cinfo-grid { grid-template-columns: 1fr; }
  .cinfo-social { flex-direction: column; gap: 16px; }
}

/* ============================================================
   Pagina Despre noi — din macheta despre-v1.css (story split,
   why-us dark, galerie mozaic, diplome, CTA aside, reveal).
   Hero media + btn--ghost-light sunt deja în CSS (preturi).
   ============================================================ */
/* ---- Scroll reveal (progressive enhancement) ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}
/* ============================================================
   BLOCK 2 — Povestea noastră (editorial split)
   ============================================================ */
.story { padding-block: clamp(72px, 8vw, 110px); background: var(--white); padding-bottom: 0; }
.story-grid {
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 92px); align-items: center;
}
#povestea .story-grid { margin-top: 40px; }
.story-copy .lead { margin-top: 20px; max-width: 52ch; }
.story-copy .lead + .lead { margin-top: 14px; }
.story-sign {
  margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 16px;
}
.coroane .feature-bullets {
  grid-template-columns: repeat(1, 1fr);
}
.story-sign .ss-mark {
  width: 52px; height: 52px; border-radius: 50%; flex: none;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; font-weight: 800; font-size: 1.05rem;
}
.story-sign strong { display: block; font-size: 1.04rem; font-weight: 700; color: var(--ink); }
.story-sign span { font-size: 0.9rem; color: var(--muted); }

.story-media { position: relative; }
.story-frame {
  position: relative; border-radius: 30px;
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.story-frame img { width: 100%; height: clamp(300px, 45vw, 500px); display: block; }
.story-caption { position: absolute; z-index: 3; left: 28px; right: 28px; bottom: 26px; color: #fff; pointer-events: none; }
.story-caption strong { display: block; font-size: 1.16rem; font-weight: 700; }
.story-caption span { font-size: 0.88rem; opacity: 0.92; }
.story-media::before {
  content: ""; position: absolute; z-index: -1; left: -28px; top: 30px;
  width: 140px; height: 140px;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
}

.page-template-despre-template .story-frame img {
  height: clamp(300px, 45vw, 700px);
}
.page-template-despre-template .story {
  padding-bottom: clamp(72px, 8vw, 110px);
}
.story-badge {
  position: absolute; z-index: 4; bottom: -22px; left: -22px;
  background: var(--accent); color: #fff;
  border-radius: var(--r-md); padding: 16px 22px; box-shadow: var(--shadow-md);
}
.story-badge strong { display: block; font-size: 1.7rem; font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.story-badge span { font-size: 0.78rem; opacity: 0.92; }

/* ============================================================
   BLOCK 7 — CTA aside (extends home .cta-band)
   ============================================================ */
.cta-aside {
  position: relative; z-index: 1;
  display: grid; gap: 16px; align-content: center;
}
.cta-aside-item {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.12); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.24); border-radius: var(--r-md);
  padding: 18px 20px;
}
.cta-aside-item svg { width: 24px; height: 24px; color: #fff; flex: none; }
.cta-aside-item strong { display: block; font-size: 1rem; font-weight: 700; color: #fff; }
.cta-aside-item span { font-size: 0.86rem; color: rgba(255,255,255,0.82); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-media { max-width: 560px; margin-inline: auto; width: 100%; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; }
  .stat-item:nth-child(odd) { border-left: none; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .tl-track { grid-template-columns: 1fr; gap: 0; }
  .tl-line, .tl-line-fill { left: 9px; top: 0; width: 2px; height: 100%; }
  .tl-line-fill { width: 2px; height: 0; transition: height 1.1s var(--ease); }
  .tl-item { padding-top: 0; padding-left: 40px; padding-bottom: 26px; }
  .tl-item:last-child { padding-bottom: 0; }
  .tl-dot { top: 4px; left: 0; }
}
@media (max-width: 640px) {
  .page-hero--media { min-height: 440px; }
  .page-hero--media .ph-actions .btn { flex: 1 1 100%; justify-content: center; }
  .values-grid { grid-template-columns: 1fr; }
  .story-badge { left: 14px; bottom: -18px; }
}

/* ============================================================
   BLOCK 3 — De ce să alegi clinica noastră (dark gradient, 6 cards)
   ============================================================ */
.whyus { position: relative; overflow: hidden; background: var(--dark-grad); color: #fff; padding-block: clamp(72px, 8vw, 110px); }
.whyus::before { content: ""; position: absolute; left: -140px; bottom: -160px; width: 460px; height: 460px; background: radial-gradient(circle, rgba(193,18,113,0.30), transparent 66%); pointer-events: none; }
.whyus::after { content: ""; position: absolute; right: -120px; top: -140px; width: 380px; height: 380px; background: radial-gradient(circle, rgba(193,18,113,0.16), transparent 66%); pointer-events: none; }
.whyus .wrap { position: relative; z-index: 1; }
.whyus-head { max-width: 700px; margin-inline: auto; text-align: center; }
.whyus-head .kicker { justify-content: center; color: #fff; }
.whyus-head .kicker::before { background: rgba(255,255,255,0.6); opacity: 1; }
.whyus-head .section-title { color: #fff; }
.whyus-head .lead { margin-top: 16px; margin-inline: auto; color: rgba(255,255,255,0.74); }
.whyus-grid {
  margin-top: 48px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.why-card {
  position: relative; padding: 34px 28px; border-radius: var(--r-lg);
  background: rgba(255,255,255,0.045); border: 1px solid rgba(255,255,255,0.1);
  display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.why-card:hover { transform: translateY(-6px); background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.22); }
.why-num {
  position: absolute; top: 26px; right: 28px;
  font-size: 1.9rem; font-weight: 800; color: rgba(255,255,255,0.12);
  letter-spacing: -0.04em; line-height: 1;
}
.why-ico {
  width: 60px; height: 60px; border-radius: 18px;
  background: rgba(193,18,113,0.22); color: var(--accent-light);
  display: grid; place-items: center; margin-bottom: 22px;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.why-card:hover .why-ico { background: var(--accent); color: #fff; }
.why-ico svg { width: 30px; height: 30px; }
.why-card h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.015em; color: #fff; }
.why-card p { margin-top: 10px; font-size: 0.94rem; color: rgba(255,255,255,0.66); line-height: 1.62; }
/* CTA card occupies the 6th cell */
.why-cta {
  padding: 34px 30px; border-radius: var(--r-lg);
  background: linear-gradient(150deg, var(--accent) 0%, var(--accent-deep) 100%); color: #fff;
  display: flex; flex-direction: column; justify-content: center; box-shadow: var(--shadow-md);
  position: relative; overflow: hidden;
}
.why-cta::after { content: ""; position: absolute; right: -70px; top: -70px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,0.1); }
.why-cta h3 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.025em; color: #fff; position: relative; z-index: 1; }
.why-cta p { margin-top: 10px; color: rgba(255,255,255,0.88); font-size: 0.96rem; line-height: 1.6; position: relative; z-index: 1; }
.why-cta .btn { margin-top: 24px; align-self: flex-start; position: relative; z-index: 1; }

/* ============================================================
   BLOCK 5 — Galeria clinicii (mosaic + Fancybox)
   ============================================================ */
.gallery { padding-block: clamp(72px, 8vw, 110px); background: var(--ivory); }
.gallery-head { max-width: 720px; margin-inline: auto; text-align: center; }
.gallery-head .kicker { justify-content: center; }
.gallery-head .lead { margin-top: 16px; margin-inline: auto; }
.gallery-grid {
  margin-top: 48px;
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 16px;
}
.g-item {
  position: relative; overflow: hidden; border-radius: var(--r-md); cursor: pointer;
  background: var(--ivory-2); border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.g-item--big { grid-column: span 2; grid-row: span 2; }
.g-item--wide { grid-column: span 4; }
.gallery-grid .g-item:last-child { grid-row: span 3; }
.g-item img { width: 100%; height: 100%; display: block; transition: transform 0.6s var(--ease); }
.g-item:hover { box-shadow: var(--shadow-md); }
.g-item:hover img { transform: scale(1.05); }
.g-item::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(26,11,18,0.55) 0%, transparent 46%);
  opacity: 0.9; transition: opacity 0.35s var(--ease);
}
.g-item figcaption {
  position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 16px; color: #fff;
  font-size: 0.92rem; font-weight: 600; pointer-events: none;
}
.g-zoom {
  position: absolute; z-index: 3; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(0.8);
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(255,255,255,0.94); color: var(--accent);
  display: grid; place-items: center; opacity: 0;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.g-item:hover .g-zoom { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.g-zoom svg { width: 22px; height: 22px; }

/* ============================================================
   BLOCK 6b — Diplome (3 + Fancybox) — extends styles-v2b .diploma
   ============================================================ */
.diplomas--about { background: var(--ivory); padding-block: clamp(72px, 8vw, 110px); }
.dip-head { max-width: 700px; margin-inline: auto; text-align: center; }
.dip-head .kicker { justify-content: center; }
.dip-head .lead { margin-top: 16px; margin-inline: auto; }
.dip-grid {
  margin-top: 48px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.dip-grid .diploma { aspect-ratio: 4 / 3; }
.dip-grid .diploma.is-extra { display: none; }
.dip-more { margin-top: 36px; display: flex; justify-content: center; }

/* ============================================================
   Responsive — new blocks
   ============================================================ */
@media (max-width: 980px) {
  .whyus-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .g-item--big { grid-column: span 2; grid-row: span 1; }
  .g-item--wide { grid-column: span 2; }
  .dip-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .whyus-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .g-item--big, .g-item--wide { grid-column: span 1; }
  .dip-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
}

/* Imagini care umplu cadrul (story / galerie) */
.story-frame img, .g-item img { object-fit: cover; }

/* ============================================================
   Pagina Testimoniale — din macheta testimoniale.css.
   Selectoarele .gallery-* sunt limitate la .t-section ca să nu
   intre în conflict cu galeria de pe pagina Despre noi.
   ============================================================ */
/* ============================================================
   FavDental — Testimoniale page
   Reuses tokens + components from styles-v2*.css and the hero
   from cazuri.css (all loaded first).
   ============================================================ */

/* ---- Section heads (shared) ---- */
.t-section { padding-block: var(--section-space); }
.t-section--white { background: var(--white); }
.t-section--ivory { background: var(--ivory); }
.t-head { max-width: 680px; margin-inline: auto; text-align: center; }
.t-head .kicker { justify-content: center; }
.t-head .lead { margin-top: 16px; margin-inline: auto; }

/* ---- Video playlist (taller variant) ---- */
.t-playlist { margin-top: 40px; }
.t-playlist .pl-main img,
.pl-main .pl-frame, .pl-main { min-height: clamp(420px, 52vw, 530px); }
.pl-list { max-height: clamp(420px, 52vw, 530px); }

/* ---- Single review (reuses .testi-panel) ---- */
.t-single { margin-top: 40px; }

/* ---- Happy patients gallery (paged slider, 3×2) ---- */
.t-section .gallery-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; max-width: none; margin-inline: 0; text-align: left; }
.t-section .gallery-head-left { max-width: 680px; }
.t-section .gallery-head .kicker { justify-content: flex-start; }
.t-section .gallery-head .lead { margin-top: 16px; margin-inline: 0; }
.t-section .gallery-arrows { display: flex; gap: 10px; flex: none; }
.t-section .gallery-arrows button {
  width: 52px; height: 52px; border-radius: 50%; background: var(--white);
  border: 1.5px solid var(--line-2); display: grid; place-items: center; color: var(--ink);
  transition: all 0.3s var(--ease);
}
.t-section .gallery-arrows button:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.t-section .gallery-arrows button:disabled { opacity: 0.35; cursor: default; }
.t-section .gallery-arrows button:disabled:hover { background: var(--white); color: var(--ink); border-color: var(--line-2); }
.t-section .gallery-arrows svg { width: 20px; height: 20px; }

.t-section .gallery-slider { margin-top: 40px; overflow: hidden; }
.t-section .gallery-track { display: flex; transition: transform 0.55s var(--ease); will-change: transform; }
.t-section .gallery-page {
  flex: 0 0 100%; min-width: 100%;
  display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 20px;
}
.t-section .gallery-cell {
  position: relative; border-radius: var(--r-md); overflow: hidden;
  background: var(--ivory-2); aspect-ratio: 4 / 3;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.t-section .gallery-cell:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.t-section .gallery-cell img { width: 100%; height: 100%; display: block; }
.t-section .gallery-cell::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(36,22,32,0.32) 0%, transparent 48%); opacity: 0; transition: opacity 0.4s var(--ease); }
.t-section .gallery-cell:hover::after { opacity: 1; }

.t-section .gallery-dots { margin-top: 28px; display: flex; gap: 8px; justify-content: center; }
.t-section .gallery-dots button { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); transition: all 0.3s var(--ease); }
.t-section .gallery-dots button.is-active { background: var(--accent); width: 28px; border-radius: 9px; }

@media (max-width: 980px) {
  .t-section .gallery-page { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .t-section .gallery-page { grid-template-columns: 1fr; }
}

/* Imagini galerie pacienți fericiți — decupare frumoasă */
.t-section .gallery-cell img { object-fit: cover; }

/* ============================================================
   Pagini legale (Termeni / Politica) — din macheta legal.css
   ============================================================ */
/* ============================================================
   FavDental — Legal pages template (Termeni, Confidențialitate)
   Reuses tokens + components from styles-v2*.css (loaded first).
   Simple solid-colour hero + sticky table-of-contents layout.
   ============================================================ */

/* ---- Active nav link (current page) ---- */
.nav a.is-current { color: var(--accent); font-weight: 600; }
.nav a.is-current::after { right: 0; }

/* ============================================================
   BLOCK 1 — Simple hero (background colour, no media)
   ============================================================ */
.legal-hero {
  position: relative; overflow: hidden;
  background: var(--accent-softer);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(58px, 8vw, 96px);
}
.legal-hero::before {
  content: ""; position: absolute; z-index: 0; right: -180px; top: -160px;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
  pointer-events: none;
}
.legal-hero .wrap { position: relative; z-index: 1; }
.legal-hero-inner { max-width: 760px; }
.legal-hero .kicker { margin-bottom: 18px; }
.legal-hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.5rem); font-weight: 800; color: var(--ink);
  line-height: 1.05; letter-spacing: -0.035em; text-wrap: balance;
}
.legal-hero h1 em { font-style: italic; font-weight: 700; color: var(--accent); }
.legal-meta {
  margin-top: 22px; display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line);
  font-size: 0.86rem; font-weight: 600; color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.legal-meta svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
.legal-meta b { color: var(--ink); font-weight: 700; }

/* ============================================================
   BLOCK 2 — Body: sticky TOC + content
   ============================================================ */
.legal { padding-block: clamp(48px, 6vw, 86px); background: var(--white); }
.legal-grid {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: start;
}

/* ---- Table of contents (sticky) ---- */
.legal-toc { position: sticky; top: 104px; }
.legal-toc h2 {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 16px;
}
.legal-toc ol { list-style: none; counter-reset: toc; display: grid; gap: 2px; }
.legal-toc a {
  counter-increment: toc;
  display: grid; grid-template-columns: 26px 1fr; align-items: baseline; gap: 4px;
  padding: 9px 12px; border-radius: 10px;
  font-size: 0.9rem; font-weight: 500; color: var(--ink-2); line-height: 1.4;
  border-left: 2px solid transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.legal-toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-variant-numeric: tabular-nums; font-weight: 700;
  font-size: 0.78rem; color: var(--muted);
}
.legal-toc a:hover { background: var(--accent-softer); color: var(--ink); }
.legal-toc a.is-active {
  background: var(--accent-softer); color: var(--accent);
  font-weight: 600; border-left-color: var(--accent); border-radius: 4px 10px 10px 4px;
}
.legal-toc a.is-active::before { color: var(--accent); }

/* ---- Content ---- */
.legal-lead {
  font-size: clamp(1.04rem, 1.4vw, 1.18rem); line-height: 1.75; color: var(--ink-2);
  padding-bottom: 30px; margin-bottom: 14px; border-bottom: 1px solid var(--line);
}
.legal-section { padding-top: 40px; scroll-margin-top: 100px; }
.legal-section:first-of-type { padding-top: 20px; }
.legal-section h2 {
  display: flex; align-items: baseline; gap: 14px;
  font-size: clamp(1.3rem, 2vw, 1.62rem); font-weight: 700; color: var(--ink);
  letter-spacing: -0.02em; line-height: 1.2; text-wrap: balance;
}
.legal-section h2 .s-num {
  flex: none; font-size: 0.96rem; font-weight: 800; color: var(--accent);
  font-variant-numeric: tabular-nums; letter-spacing: 0;
  padding-top: 4px;
}
.legal-section h3 {
  margin-top: 26px; font-size: 1.06rem; font-weight: 700; color: var(--ink);
  letter-spacing: -0.01em;
}
.legal-section p {
  margin-top: 14px; font-size: 1rem; line-height: 1.78; color: var(--ink-2);
}
.legal-section p a, .legal-content a.inline-link {
  color: var(--accent); font-weight: 600; text-decoration: underline;
  text-decoration-thickness: 1.5px; text-underline-offset: 2px;
}
.legal-section p a:hover, .legal-content a.inline-link:hover { color: var(--accent-deep); }
.legal-section ul { margin-top: 16px; display: grid; gap: 11px; padding: 0; }
.legal-section ul li {
  list-style: none; position: relative; padding-left: 28px;
  font-size: 1rem; line-height: 1.7; color: var(--ink-2);
}
.legal-section ul li::before {
  content: ""; position: absolute; left: 4px; top: 9px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); opacity: 0.85;
}
.legal-section ul li b { color: var(--ink); font-weight: 700; }

/* Callout panel inside content */
.legal-note {
  margin-top: 24px; display: flex; gap: 16px;
  padding: 20px 22px; border-radius: var(--r-md);
  background: var(--accent-softer); border: 1px solid var(--accent-soft);
}
.legal-note svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 2px; }
.legal-note p { margin: 0; font-size: 0.96rem; line-height: 1.7; color: var(--ink-2); }
.legal-note p b { color: var(--ink); }

/* Contact card at the end */
.legal-contact-card {
  margin-top: 40px; padding: 28px 30px; border-radius: var(--r-lg);
  background: var(--ivory); border: 1px solid var(--line);
}
.legal-contact-card h3 { margin-top: 0; font-size: 1.18rem; font-weight: 700; color: var(--ink); letter-spacing: -0.015em; }
.legal-contact-card p { margin-top: 8px; color: var(--ink-2); font-size: 0.98rem; line-height: 1.7; }
.legal-contact-list { margin-top: 18px; display: grid; gap: 12px; }
.legal-contact-list .lc-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.98rem; color: var(--ink); font-weight: 500;
}
.legal-contact-list .lc-item svg { width: 19px; height: 19px; color: var(--accent); flex: none; }
.legal-contact-list a { color: var(--ink); }
.legal-contact-list a:hover { color: var(--accent); }

/* Back to top */
.legal-top {
  margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
}
.legal-top span { font-size: 0.88rem; color: var(--muted); }
.legal-top a {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.92rem; font-weight: 600; color: var(--ink);
  padding: 11px 20px; border-radius: 999px; border: 1.5px solid var(--line-2);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.legal-top a:hover { border-color: var(--accent); color: var(--accent); }
.legal-top a svg { width: 16px; height: 16px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 920px) {
  .legal-grid { grid-template-columns: 1fr; gap: 0; }
  .legal-toc {
    position: static; margin-bottom: 36px;
    padding: 18px 18px 20px; border-radius: var(--r-md);
    background: var(--ivory); border: 1px solid var(--line);
  }
  .legal-toc ol { grid-template-columns: 1fr 1fr; gap: 2px 16px; }
}
@media (max-width: 560px) {
  .legal-toc ol { grid-template-columns: 1fr; }
  .legal-contact-card { padding: 22px; }
}

/* ============================================================
   Popup „Programează" (global)
   ============================================================ */
body.fav-modal-open { overflow: hidden; }
.fav-modal { position: fixed; inset: 0; z-index: 200; display: none; }
.fav-modal.is-open { display: block; }
.fav-modal__backdrop { position: absolute; inset: 0; background: rgba(20,12,18,0.6); backdrop-filter: blur(4px); animation: favFade 0.25s var(--ease); }
.fav-modal__dialog {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 760px;
  text-align: center;
  background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: clamp(28px, 4vw, 42px); animation: favPop 0.35s var(--ease);
}
.fav-modal__close {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink-2); background: var(--ivory);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.fav-modal__close:hover { background: var(--accent); color: #fff; }
.fav-modal__close svg { width: 20px; height: 20px; }
.fav-modal h2 { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.fav-modal__sub { margin-top: 8px; color: var(--ink-2); font-size: 0.96rem; line-height: 1.6; }
.fav-modal__form { margin-top: 22px; display: grid; gap: 12px; }
.fav-modal__form input {
  width: 100%; padding: 15px 16px; border-radius: 12px; border: 1.5px solid var(--line-2);
  background: var(--white); color: var(--ink); font: inherit; font-size: 0.98rem;
  transition: border-color 0.2s var(--ease);
}
.fav-modal__form input::placeholder { color: var(--muted); }
.fav-modal__form input:focus { outline: none; border-color: var(--accent); }
.fav-modal__form input.is-invalid { border-color: #e0364f; }
.fav-modal__form .btn { width: 100%; margin-top: 4px; }

/* Formular CF7 în popup (fundal deschis) */
.fav-modal__form .wpcf7 { text-align: left; }
.fav-modal__form .wpcf7-form .d-flex { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 640px) {
  .fav-modal__form .wpcf7-form .d-flex { grid-template-columns: 1fr; }
}
.fav-modal__form .wpcf7-form .col-md-12 { grid-column: 1 / -1; text-align: center; }
.fav-modal__form .wpcf7-form-control-wrap { display: block; }
.fav-modal__form .wpcf7-form input.wpcf7-text,
.fav-modal__form .wpcf7-form textarea {
  width: 100%; padding: 15px 16px; border-radius: 12px; border: 1.5px solid var(--line-2);
  background: var(--white); color: var(--ink); font: inherit; font-size: 0.98rem;
  transition: border-color 0.2s var(--ease);
}
.fav-modal__form .wpcf7-form input.wpcf7-text::placeholder,
.fav-modal__form .wpcf7-form textarea::placeholder { color: var(--muted); }
.fav-modal__form .wpcf7-form input.wpcf7-text:focus,
.fav-modal__form .wpcf7-form textarea:focus { outline: none; border-color: var(--accent); }
.fav-modal__form .wpcf7-form textarea { min-height: 110px; resize: vertical; }
.fav-modal__form .acceptance p { font-size: 0.8rem; line-height: 1.5; color: var(--muted); margin: 2px 0; }
.fav-modal__form .wpcf7-submit {
  width: 100%; margin-top: 4px; border: none; cursor: pointer; font: inherit;
  font-weight: 600; font-size: 0.98rem; letter-spacing: -0.01em; padding: 16px 28px; border-radius: 999px;
  background: var(--accent); color: #fff;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.fav-modal__form .wpcf7-submit:hover { background: var(--accent-deep); transform: translateY(-2px); }
.fav-modal__form .wpcf7-submit:disabled { opacity: 0.6; cursor: default; transform: none; }
.fav-modal__form .wpcf7-spinner { margin-left: 8px; }
.fav-modal__form .wpcf7-response-output { margin: 12px 0 0; padding: 10px 14px; border-radius: 10px; font-size: 0.88rem; }
.fav-modal__form .wpcf7-not-valid-tip { color: #e0364f; font-size: 0.8rem; margin-top: 5px; display: block; }
@keyframes favFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes favPop { from { opacity: 0; transform: translate(-50%,-46%) scale(0.96); } to { opacity: 1; transform: translate(-50%,-50%) scale(1); } }
@media (prefers-reduced-motion: reduce) { .fav-modal__backdrop, .fav-modal__dialog { animation: none; } }

/* ============================================================
   PAGINA DANTURĂ FIXĂ (dfx-*)
   Blocuri specifice paginii. Componentele partajate (reasons,
   expert, team, reviews, playlist, videos, accordion, diplome,
   pachete) folosesc stilurile deja existente mai sus.
   ============================================================ */

/* ---- BLOCK 1 — Hero (dark editorial, expert presentation) ---- */
.dfx-hero {
  position: relative; overflow: hidden;
  background: var(--dark-grad); color: #fff;
  padding-block: clamp(30px, 4vw, 60px) clamp(40px, 5vw, 60px);
}
.dfx-hero::before {
  content: ""; position: absolute; right: -160px; top: -120px;
  width: 520px; height: 520px; pointer-events: none;
  background: radial-gradient(circle, rgba(193,18,113,0.34), transparent 64%);
}
.dfx-hero::after {
  content: ""; position: absolute; left: -180px; bottom: -200px;
  width: 520px; height: 520px; pointer-events: none;
  background: radial-gradient(circle, rgba(193,18,113,0.18), transparent 66%);
}
.dfx-hero .wrap { position: relative; z-index: 1; }

.dfx-hero-grid {
  display: grid; grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(40px, 5vw, 80px); align-items: center;
}

.dfx-speaker {
  display: inline-flex; align-items: center; gap: 11px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: #fff; background: rgba(193,18,113,0.22);
  border: 1px solid rgba(255,120,190,0.4); backdrop-filter: blur(6px);
  padding: 9px 16px; border-radius: 999px;
}
.dfx-speaker svg { width: 17px; height: 17px; color: var(--accent-light); flex: none; }
.dfx-speaker b { color: var(--accent-light); font-weight: 800; }

.dfx-hero-copy h1 {
  margin-top: 22px;
  font-size: clamp(2.1rem, 3.9vw, 3.5rem); font-weight: 800; color: #fff;
  line-height: 1.06; letter-spacing: -0.035em; text-wrap: balance;
}
.dfx-hero-copy h1 em { font-style: italic; font-weight: 700; color: var(--accent-light); }

.dfx-hero-rule { width: 64px; height: 2px; background: var(--accent); margin: 24px 0 20px; }

.dfx-bio {
  color: rgba(255,255,255,0.82);
  font-size: clamp(1rem, 1.2vw, 1.12rem); line-height: 1.72; max-width: 54ch;
}

.dfx-cta-row {
  margin-top: 34px;
  display: flex; align-items: center; gap: clamp(20px, 3vw, 36px); flex-wrap: wrap;
}

.dfx-reviews { display: flex; align-items: center; gap: 16px; }
.dfx-avatars { display: flex; }
.dfx-avatars img {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 2.5px var(--dark);
  margin-left: -12px;
}
.dfx-avatars img:first-child { margin-left: 0; }
.dfx-avatars .dfx-av-more {
  width: 44px; height: 44px; border-radius: 50%; margin-left: -12px;
  display: grid; place-items: center; flex: none;
  background: var(--accent); color: #fff; font-size: 0.78rem; font-weight: 800;
  box-shadow: 0 0 0 2.5px var(--dark); letter-spacing: -0.02em;
}
.dfx-rev-meta { line-height: 1.25; }
.dfx-rev-stars { display: flex; gap: 2px; color: var(--accent-light); }
.dfx-rev-stars svg { width: 16px; height: 16px; }
.dfx-rev-text { margin-top: 4px; font-size: 0.86rem; color: rgba(255,255,255,0.78); }
.dfx-rev-text b { color: #fff; font-weight: 800; }

.dfx-hero-media { position: relative; }
.dfx-portrait {
  position: relative; border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.1);
}
.dfx-portrait img { width: 100%; height: clamp(440px, 52vw, 650px); object-fit: cover; display: block; }
.dfx-portrait::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(20,8,14,0.55) 0%, transparent 42%);
}

.dfx-credential {
  position: absolute; z-index: 3; left: -24px; bottom: 30px;
  display: flex; align-items: center; gap: 14px;
  background: rgba(28,14,22,0.72); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.16); border-radius: var(--r-md);
  padding: 16px 20px 16px 16px; box-shadow: var(--shadow-md);
}
.dfx-credential .dfx-cr-ico {
  width: 46px; height: 46px; border-radius: 13px; flex: none;
  background: rgba(193,18,113,0.3); color: var(--accent-light);
  display: grid; place-items: center;
}
.dfx-credential .dfx-cr-ico svg { width: 24px; height: 24px; }
.dfx-credential strong { display: block; font-size: 1rem; font-weight: 800; color: #fff; letter-spacing: -0.01em; }
.dfx-credential span { font-size: 0.82rem; color: rgba(255,255,255,0.72); }

.dfx-hero-media::before {
  content: ""; position: absolute; z-index: -1; right: -26px; top: 24px;
  width: 150px; height: 150px;
  background: radial-gradient(circle, rgba(255,120,190,0.4), transparent 70%);
}

/* ---- BLOCK 2 — Diagnostic strip + key figures (glass panel) ---- */
.dfx-diag {
  position: relative; z-index: 1;
  margin-top: clamp(44px, 5vw, 72px);
  background: rgba(255,255,255,0.06); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.14); border-radius: var(--r-lg);
  padding: clamp(28px, 3.4vw, 44px);
  display: grid; grid-template-columns: 1fr 1.15fr;
  gap: clamp(32px, 4vw, 60px); align-items: center;
}
.dfx-diag-info { max-width: 46ch; }
.dfx-diag-info .dfx-diag-ico {
  width: 52px; height: 52px; border-radius: 15px; margin-bottom: 18px;
  background: rgba(193,18,113,0.24); color: var(--accent-light);
  display: grid; place-items: center;
}
.dfx-diag-info .dfx-diag-ico svg { width: 27px; height: 27px; }
.dfx-diag-info h2 {
  font-size: 40px; font-weight: 800; color: #fff;
  letter-spacing: -0.025em; line-height: 1.18; text-wrap: balance;
  margin-bottom: 30px;
}
.dfx-diag-info p { margin-top: 12px; font-size: 0.98rem; line-height: 1.7; color: rgba(255,255,255,0.76); }
.dfx-diag-btn { margin-top: 26px; }

.dfx-figures { display: flex; flex-direction: column; gap: clamp(12px, 1.4vw, 16px); }
.dfx-fig {
  display: flex; align-items: center; gap: 18px;
  padding: clamp(16px, 1.8vw, 22px) clamp(18px, 2vw, 26px);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-md);
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.dfx-fig:hover {
  transform: translateX(4px);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,120,190,0.34);
}
.dfx-fig-ico {
  width: 50px; height: 50px; border-radius: 14px; flex: none;
  background: rgba(193,18,113,0.24); color: var(--accent-light);
  display: grid; place-items: center;
}
.dfx-fig-ico svg { width: 26px; height: 26px; }
.dfx-fig-body { min-width: 0; }
.dfx-fig .dfx-fig-num {
  display: block; font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 800;
  letter-spacing: -0.04em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums;
}
.dfx-fig .dfx-fig-num .su { color: var(--accent-light); }
.dfx-fig .dfx-fig-pre { color: var(--accent-light); }
.dfx-fig span.dfx-fig-label {
  display: block; margin-top: 7px; font-size: 0.86rem; line-height: 1.4;
  color: rgba(255,255,255,0.74); font-weight: 500;
}

/* Hero rămâne vizibil necondiționat (fără a depinde de IO/animație). */
.dfx-hero [data-reveal] { opacity: 1 !important; transform: none !important; animation: none !important; }

@media (max-width: 980px) {
  .dfx-hero-grid { grid-template-columns: 1fr; gap: clamp(36px, 6vw, 56px); }
  .dfx-hero-media { max-width: 520px; margin-inline: auto; width: 100%; }
  .dfx-diag { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 680px) {
  .dfx-portrait { border-radius: var(--r-md); }
  .dfx-credential { left: 12px; bottom: 16px; padding: 13px 17px 13px 13px; }
  .dfx-cta-row { flex-direction: column; align-items: flex-start; gap: 24px; }
  .dfx-cta-row .btn { width: 100%; }
  .dfx-fig { gap: 14px; padding: 16px 18px; }
}

/* ---- BLOCK 3 — Cui se adresează (4 carduri: imagine + text) ---- */
.dfx-aud { padding-block: clamp(72px, 8vw, 110px); background: var(--white); }
.dfx-aud-head { max-width: 760px; margin-inline: auto; text-align: center; }
.dfx-aud-head .kicker { justify-content: center; }
.dfx-aud-head .lead { margin-top: 16px; margin-inline: auto; }
.dfx-aud-grid {
  margin-top: clamp(36px, 4vw, 52px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.dfx-aud-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.dfx-aud-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--accent-soft); }
.dfx-aud-photo { position: relative; overflow: hidden; }
.dfx-aud-photo img { width: 100%; height: 200px; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.dfx-aud-card:hover .dfx-aud-photo img { transform: scale(1.05); }
.dfx-aud-num {
  position: absolute; z-index: 2; top: 14px; left: 14px;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.92rem; font-weight: 800;
  background: var(--accent); color: #fff; letter-spacing: -0.02em;
  box-shadow: 0 8px 18px -8px rgba(193,18,113,0.7);
}
.dfx-aud-body { padding: 24px 24px 28px; }
.dfx-aud-body p { font-size: 1rem; line-height: 1.6; color: var(--ink); font-weight: 500; }

/* ---- BLOCK 4 — CTA band (Meriți un zâmbet frumos! + formular) ---- */
.dfx-cta { padding-block: 0; background: var(--white); }
.dfx-cta-band {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  background: var(--dark-grad); color: #fff; box-shadow: var(--shadow-lg);
  padding: clamp(36px, 5vw, 64px);
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 5vw, 72px); align-items: center;
}
.dfx-cta-band::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(193,18,113,0.4), transparent 68%); pointer-events: none;
}
.dfx-cta-band::after {
  content: ""; position: absolute; left: -140px; bottom: -160px; width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(193,18,113,0.18), transparent 68%); pointer-events: none;
}
.dfx-cta-copy { position: relative; z-index: 1; }
.dfx-cta-copy .kicker { color: #fff; }
.dfx-cta-copy .kicker::before { background: rgba(255,255,255,0.6); opacity: 1; }
.dfx-cta-copy h2 {
  margin-top: 16px;
  font-size: clamp(1.9rem, 3vw, 2.8rem); font-weight: 800; color: #fff;
  letter-spacing: -0.035em; line-height: 1.04; text-wrap: balance;
}
.dfx-cta-copy h2 em { font-style: italic; font-weight: 700; color: var(--accent-light); }
.dfx-cta-copy p { margin-top: 16px; font-size: 1.04rem; line-height: 1.7; color: rgba(255,255,255,0.8); max-width: 44ch; }
.dfx-cta-list-title { position: relative; z-index: 1; margin-top: 20px; font-weight: 700; color: #fff; font-size: 1.04rem; }
.dfx-cta-list { position: relative; z-index: 1; list-style: none; padding: 0; margin-top: 12px; display: grid; gap: 11px; max-width: 46ch; }
.dfx-cta-list li { position: relative; padding-left: 30px; color: rgba(255,255,255,0.88); font-size: 1rem; line-height: 1.5; }
.dfx-cta-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent-light); color: var(--accent-deep);
  display: grid; place-items: center; font-size: 12px; font-weight: 800;
}

.dfx-cta-form {
  position: relative; z-index: 1;
  background: rgba(255,255,255,0.07); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.16); border-radius: var(--r-md);
  padding: clamp(24px, 2.6vw, 34px);
  display: grid; gap: 16px;
}
.dfx-cta-form .dfx-cta-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dfx-cta-field label { display: block; font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.78); margin-bottom: 7px; }
.dfx-cta-field input {
  width: 100%; padding: 15px 17px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.1); color: #fff; font: inherit; font-size: 0.98rem;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.dfx-cta-form input::placeholder { color: rgba(255,255,255,0.6); }
.dfx-cta-form input:focus { outline: none; border-color: var(--accent-light); background: rgba(255,255,255,0.16); }
.dfx-cta-form .btn { width: 100%; margin-top: 4px; }
.dfx-cta-note { font-size: 0.82rem; color: rgba(255,255,255,0.62); line-height: 1.5; text-align: center; }

/* ---- BLOCK 6 — Explainer (Ce este All-on-4 / All-on-6 …) ---- */
.dfx-explain { padding-block: clamp(72px, 8vw, 110px); background: var(--ivory); }
.dfx-explain-grid {
  display: grid; grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(40px, 5vw, 80px); align-items: stretch;
}
.dfx-explain-copy { display: flex; flex-direction: column; justify-content: center; }
.dfx-explain-sub { margin-top: 14px; font-size: clamp(1.05rem, 1.3vw, 1.2rem); font-weight: 600; color: var(--accent); font-style: italic; }
.dfx-explain-copy .dfx-explain-rule { width: 64px; height: 2px; background: var(--accent); margin: 22px 0 22px; }
.dfx-explain-copy p { font-size: 1rem; line-height: 1.78; color: var(--ink); max-width: 56ch; }
.dfx-explain-copy p + p { margin-top: 16px; }
.dfx-explain-media { position: relative; display: flex; }
.dfx-explain-frame {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  width: 100%; min-height: 100%; display: block;
}
.dfx-explain-frame img { width: 100%; height: 100%; min-height: clamp(320px, 50vw, 560px); object-fit: cover; display: block; }

.dfx-video { cursor: pointer; }
.dfx-video::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(20,8,14,0.5) 0%, transparent 46%);
  transition: background 0.4s var(--ease);
}
.dfx-video:hover::after { background: linear-gradient(to top, rgba(20,8,14,0.58) 0%, rgba(20,8,14,0.12) 60%); }
.dfx-video-play {
  position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: clamp(64px, 7vw, 84px); height: clamp(64px, 7vw, 84px); border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: #fff;
  box-shadow: 0 18px 40px -14px rgba(193,18,113,0.8);
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.dfx-video-play::before {
  content: ""; position: absolute; inset: -10px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.55);
}
.dfx-video:hover .dfx-video-play { transform: translate(-50%, -50%) scale(1.08); background: var(--accent-deep); }
.dfx-video-play svg { width: 38%; height: 38%; margin-left: 6%; }
.dfx-video-tag {
  position: absolute; z-index: 2; left: clamp(18px, 2vw, 26px); bottom: clamp(18px, 2vw, 26px);
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: #fff; background: rgba(28,14,22,0.6); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.18); padding: 9px 15px; border-radius: 999px;
}

/* ---- BLOCK 7 — Caz clinic real (foto pacient + before/after + citat) ---- */
.dfx-case { padding-block: clamp(72px, 8vw, 110px); background: var(--white); }
.dfx-case-grid {
  display: grid; grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(40px, 5vw, 76px); align-items: center;
}
.dfx-case-media { position: relative; }
.dfx-case-pair {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: var(--ivory-2); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.dfx-case-pair .dfx-ba-img { position: relative; }
.dfx-case-pair .dfx-ba-img img { width: 100%; height: clamp(300px, 34vw, 420px); object-fit: cover; display: block; }
.dfx-ba-label {
  position: absolute; z-index: 2; top: 13px; left: 13px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff; padding: 6px 12px; border-radius: 999px; background: rgba(26,11,18,0.62);
}
.dfx-ba-img.is-after .dfx-ba-label { background: var(--accent); }
.dfx-case-arrow {
  display: none;
}
.dfx-case-arrow svg { width: 22px; height: 22px; }
.intl-tel-input .country-list li.country {
  color: #000;
}

.dfx-case-copy .section-title { font-size: 35px; line-height: 1.3; margin-bottom: 40px }
.dfx-case-quote {
  position: relative; margin-top: 26px; padding-left: 28px;
  font-size: 18px; font-weight: 500; font-style: italic;
  line-height: 1.6; color: var(--ink); text-wrap: pretty;
}
.dfx-case-quote::before {
  content: "\201C"; position: absolute; left: -6px; top: -18px;
  font-size: 4rem; line-height: 1; color: var(--accent); opacity: 0.4; font-style: normal;
}
.dfx-case-quote::after {
  content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px;
  background: var(--accent); border-radius: 3px;
}
.dfx-case-patient { margin-top: 28px; display: flex; align-items: center; gap: 15px; }
.dfx-case-patient img {
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none;
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.dfx-case-patient strong { display: block; font-size: 1.02rem; font-weight: 700; color: var(--ink); }
.dfx-case-patient span { font-size: 0.88rem; color: var(--muted); }

/* ---- BLOCK 8 — Avantajele procedurii (5 carduri) ---- */
.dfx-adv { padding-block: clamp(72px, 8vw, 110px); background: var(--ivory); }
.dfx-adv-head { max-width: 800px; margin-inline: auto; text-align: center; }
.dfx-adv-head .kicker { justify-content: center; }
.dfx-adv-head .lead { margin-top: 16px; margin-inline: auto; }
.dfx-adv-grid {
  margin-top: clamp(36px, 4vw, 45px);
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px;
}

#protetica {
  padding-bottom: 0;
}
.dfx-adv-card { grid-column: span 2; }
.dfx-adv-card:nth-child(4) { grid-column: 2 / span 2; }
.dfx-adv-card:nth-child(5) { grid-column: 4 / span 2; }
.dfx-adv-card {
  padding: 32px 30px; border-radius: var(--r-lg);
  background: var(--white); border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.dfx-adv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--accent-soft); }
.dfx-adv-ico {
  width: 56px; height: 56px; border-radius: 16px; flex: none; margin-bottom: 22px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.dfx-adv-card:hover .dfx-adv-ico { background: var(--accent); color: #fff; }
.dfx-adv-ico svg { width: 28px; height: 28px; }
.dfx-adv-card h3 { font-size: 1.18rem; font-weight: 700; letter-spacing: -0.015em; }
.dfx-adv-card p { margin-top: 10px; font-size: 0.96rem; color: var(--ink-2); line-height: 1.62; }

/* ---- BLOCK 9 — Povești de succes (video playlist, dark) ---- */
.dfx-stories {
  position: relative; overflow: hidden;
  background: var(--dark-grad); color: #fff;
  padding-block: clamp(72px, 8vw, 110px);
}
.dfx-stories::before {
  content: ""; position: absolute; right: -140px; top: -140px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(193,18,113,0.3), transparent 66%); pointer-events: none;
}
.dfx-stories .wrap { position: relative; z-index: 1; }
.dfx-stories-head { max-width: 760px; margin-inline: auto; text-align: center; }
.dfx-stories-head .kicker { justify-content: center; color: #fff; }
.dfx-stories-head .kicker::before { background: rgba(255,255,255,0.6); opacity: 1; }
.dfx-stories-head .section-title { color: #fff; }
.dfx-stories-head .lead { margin-top: 16px; margin-inline: auto; color: rgba(255,255,255,0.76); }
.dfx-stories .playlist { margin-top: clamp(36px, 4vw, 48px); }
.dfx-stories-cta { margin-top: clamp(32px, 4vw, 44px); display: flex; justify-content: center; }

/* ---- BLOCK 10 — Etapele tratamentului All-on-X ---- */
.dfx-steps { padding-block: clamp(72px, 8vw, 110px); background: var(--ivory); }
.dfx-steps-grid {
  display: grid; grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(40px, 5vw, 80px); align-items: start;
}
.dfx-steps-intro { position: sticky; top: 100px; }
.dfx-steps-intro .lead { margin-top: 16px; }
.dfx-steps-note {
  margin-top: 26px; display: flex; gap: 14px; align-items: flex-start;
  background: var(--accent-soft); border: 1px solid rgba(193,18,113,0.18);
  border-radius: var(--r-md); padding: 18px 20px;
}
.dfx-steps-note .dfx-note-ico {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  background: var(--accent); color: #fff; display: grid; place-items: center;
}
.dfx-steps-note .dfx-note-ico svg { width: 20px; height: 20px; }
.dfx-steps-note p { font-size: 0.94rem; line-height: 1.58; color: var(--accent-press); font-weight: 500; }
.dfx-steps-intro .btn { margin-top: 26px; }

.dfx-steps-list { position: relative; display: flex; flex-direction: column; gap: 8px; }
.dfx-steps-list::before {
  content: ""; position: absolute; left: 25px; top: 12px; bottom: 12px; width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-soft));
}
.dfx-step { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 22px; padding: 14px 0; }
.dfx-step-num {
  position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 50%; flex: none;
  background: var(--white); border: 2px solid var(--accent); color: var(--accent);
  display: grid; place-items: center; font-size: 1.15rem; font-weight: 800;
  box-shadow: 0 6px 18px -8px rgba(193,18,113,0.4);
}
.dfx-step:hover .dfx-step-num { background: var(--accent); color: #fff; }
.dfx-step-body { padding-top: 3px; }
.dfx-step-body h3 { font-size: 1.16rem; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); }
.dfx-step-body p { margin-top: 8px; font-size: 0.97rem; line-height: 1.66; color: var(--ink-2); max-width: 56ch; }

@media (max-width: 980px) {
  .dfx-aud-grid { grid-template-columns: repeat(2, 1fr); }
  .dfx-cta-band { grid-template-columns: 1fr; gap: 32px; }
  .dfx-explain-grid { grid-template-columns: 1fr; gap: clamp(32px, 6vw, 52px); }
  .dfx-explain-media { max-width: 560px; margin-inline: auto; width: 100%; }
  .dfx-case-grid { grid-template-columns: 1fr; gap: clamp(32px, 6vw, 48px); }
  .dfx-adv-grid { grid-template-columns: repeat(2, 1fr); }
  .dfx-adv-card, .dfx-adv-card:nth-child(4), .dfx-adv-card:nth-child(5) { grid-column: auto; }
  .dfx-steps-grid { grid-template-columns: 1fr; gap: clamp(32px, 6vw, 48px); }
  .dfx-steps-intro { position: static; }
}
@media (max-width: 560px) {
  .dfx-aud-grid { grid-template-columns: 1fr; }
  .dfx-cta-form .dfx-cta-row2 { grid-template-columns: 1fr; }
  .dfx-adv-grid { grid-template-columns: 1fr; }
  .dfx-case-pair .dfx-ba-img img { height: clamp(220px, 44vw, 300px); }
}
@media (max-width: 640px) {
  .dfx-adv-card { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 16px; row-gap: 8px; }
  .dfx-adv-ico { margin-bottom: 0; }
  .dfx-adv-card h3 { flex: 1 1 auto; margin: 0; }
  .dfx-adv-card p { flex: 0 0 100%; margin-top: 4px; }
}

/* ---- Ritm secțiuni (band-uri reutilizate: playlist „Află dacă", diplome) ---- */
.dfx-band { padding-block: clamp(72px, 8vw, 110px); }
.dfx-band--white { background: var(--white); }
.dfx-band--ivory { background: var(--ivory); }
.dfx-headc { max-width: 760px; margin-inline: auto; text-align: center; }
.dfx-headc .kicker { justify-content: center; }
.dfx-headc .lead { margin-top: 16px; margin-inline: auto; }
.dfx-band .playlist { margin-top: clamp(36px, 4vw, 48px); }
.dfx-band .dip-grid { margin-top: clamp(36px, 4vw, 40px); }

/* ---- About doctor — chips expertiză (extinde .expert) ---- */
.dfx-exp-tags { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.dfx-exp-tags span {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.86rem; font-weight: 600; color: var(--accent);
  background: var(--accent-soft); border: 1px solid rgba(193,18,113,0.16);
  padding: 9px 15px; border-radius: 999px;
}
.dfx-exp-tags svg { width: 16px; height: 16px; }
.dfx-ba-img.is-after {position: relative;}

/* ---- Galerie înainte/după (perechi compacte + buton) ---- */
.dfx-gallery { padding-block: clamp(72px, 8vw, 110px); background: var(--white); }
.dfx-gallery-grid {
  margin-top: clamp(28px, 3vw, 40px);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px;
}
.dfx-gcard {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.dfx-gcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--accent-soft); }
.dfx-gpair { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: var(--ivory-2); }
.dfx-gpair .dfx-ba-img img { width: 100%; height: clamp(170px, 17vw, 300px); object-fit: cover; display: block; }
.dfx-gpair .dfx-ba-label { top: 10px; left: 10px; font-size: 0.64rem; padding: 5px 10px; }
.dfx-gallery-foot { margin-top: clamp(32px, 4vw, 44px); display: flex; justify-content: center; }

/* ---- Media coverage (Faptele bune) — dark playlist band ---- */
.dfx-media-band { position: relative; overflow: hidden; background: var(--dark-grad); color: #fff; padding-block: clamp(72px, 8vw, 110px); }
.dfx-media-band::before {
  content: ""; position: absolute; left: -140px; bottom: -160px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(193,18,113,0.26), transparent 66%); pointer-events: none;
}
.dfx-media-band .wrap { position: relative; z-index: 1; }
.dfx-media-band .dfx-headc .kicker { color: #fff; }
.dfx-media-band .dfx-headc .kicker::before { background: rgba(255,255,255,0.6); opacity: 1; }
.dfx-media-band .dfx-headc .section-title { color: #fff; }
.dfx-media-band .dfx-headc .lead { color: rgba(255,255,255,0.76); }
.dfx-media-band .videos-single { margin-top: clamp(36px, 4vw, 48px); }

@media (max-width: 620px) {
  .dfx-gallery-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
}

/* ============================================================
   Titluri, kicker & lead pe 100% din container — TOATE paginile
   Extinde blocul „lățime completă" (Home/Cazuri) și pentru capetele
   de secțiune definite mai târziu, care altfel își re-plafonează
   lățimea: Dantură fixă (dfx-*), Prețuri, Contacte, Despre,
   Testimoniale, Thank You și paginile legale. Plasat la final ca
   să câștige prin ordine.
   ============================================================ */
.dfx-aud-head, .dfx-adv-head, .dfx-stories-head, .dfx-headc,
.ty-contact-head, .pr-head, .cn-head, .whyus-head, .gallery-head,
.dip-head, .t-head, .t-section .gallery-head-left, .legal-hero-inner {
  max-width: none;
}

/* Lead-uri cu plafon propriu (specificitate mai mare) → lățime completă */
.steps-head .lead, .reasons-head .lead, .story-copy .lead { max-width: none; }
@media (min-width: 641px) and (max-width: 1023px) {
  .pkg-grid {max-width: 100%;}
}

@media (max-width: 640px) {
  .page-hero--media { min-height: 420px; }
  .page-hero--media .ph-actions .btn { flex: 1 1 100%; justify-content: center; }
  .pl-main img {min-height: clamp(360px, 38vw, 530px);}
  .pl-main .pl-now,.pl-main::after{display: none;}
  .btn {width: 100%;}
  :root {
    --section-space: 80px;
  }
  .header-cta .js-popup{
    width: 60px;
    border-radius: 10px;
  }
  .nav-toggle {width: 50px;height: 50px;}
  .notfound__code {
    font-size: 6rem;
  }
  .cinfo-grid {margin-top: 35px;}
  .section-title {line-height: 1.2;}
  .lead {line-height: 1.5;}
  .contact-quick {width: 100%;display: block;}
  .contact-quick a {width: 100%; margin: 5px 0;}
  .feature-copy .section-title {margin-bottom: 25px;}
  .feature-copy .btn {margin-top: 30px;}
  .svc-card-body h3 {
    font-size: 20px;
  }
  .svc-card-body {padding: 20px;}
  .feature-media .f-badge {display: none;}
  .feature-bullets {grid-template-columns: repeat(1, 1fr);}
  .testi-quote blockquote {font-size: 18px;max-height: 188px;}
  .video-item {height: 355px;}
  .cta-band {padding: 22px;}
  .reviews-rating, .tech-arrows, .diplomas-arrows {
    justify-content: center;
    width: 100%;
  }
  .reviews-head {gap: 20px;}
  .reviews-slider {margin-top: 30px;}
  .about-head {margin: 0;}
  .tech-head .lead {text-align: center;}
  .feature-copy .section-title {text-align: left;}
  .ba-item img {
        min-height: clamp(180px, 45vw, 320px);
  }
  .expert-copy, .team-info, .diplomas-head .lead,
  .news-head .lead
  {text-align: center;}
  .contact-card {margin-top: 30px;}
  .t-section .gallery-head {justify-content: center;}
  .dfx-explain-copy {text-align: center;}
  .dfx-explain-copy .dfx-explain-rule {width: 100%;}
  .dfx-case-copy .section-title {font-size: 28px;}
  .cases-grid {gap: 12px;}
  .pkg-card {padding: 30px 20px}
  .pacc-count,.price-foot svg,.price-row .prc-dots {display: none;}
  .contact-panel {padding: 30px 16px;}
  .price-row {display: block;}
  .price-row .prc-val {font-size: 20px; margin-top: 5px; display: block;}
  .pkg-grid {margin-top: 30px;}
  .page-template-dantura-fixa-template #cazuri-complexe .video-item {
    height:356px;
  }
  .dfx-speaker {font-size: 8px;}
  .wrap {
    padding-inline: clamp(15px, 2vw, 64px);
  }
  .dip-grid .diploma:nth-child(3) {
    display: none;
  }
  .page-template-parodontoza-template #cauze .steps-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .story-grid {
    text-align: center;
  }.home #video .video-item {
    height: 380px;
  }
  .dfx-diag-info h2 {font-size: 25px;}
  .home #video .video-item,
  .page-template-dantura-fixa-template #media .video-item {
    height: 360px;
  }
  .videos-single {
    max-width: 100%;
  }
  .slide-copy h1 {font-size: 32px;}
  .fav-modal__dialog {width: 94%;}
  .slide-content {text-align: center;}
  .slide-copy .hero-rule {margin-left: auto; margin-right: auto;}
  .topbar {display: none;}
  .expert-photo .ep-sign {left: 10px; bottom: 10px}
  .page-template-parodontoza-template .benefits-grid {grid-template-columns: repeat(1, 1fr);}
}
