/* ═══════════════════════════════════════
   GALENUS DENTAL CLINIC — Landing Page
   Mobile-first · Pure CSS · No framework
   ═══════════════════════════════════════ */

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

:root {
  --c-primary:      #1A4F7A;
  --c-primary-d:    #123A5C;
  --c-accent:       #2EAAD4;
  --c-green:        #25D366;
  --c-green-d:      #1EBE59;
  --c-bg:           #F7F9FC;
  --c-surface:      #FFFFFF;
  --c-text:         #1C2B3A;
  --c-text-muted:   #5A6A7E;
  --c-border:       #DDE3EC;
  --c-gold:         #F5A623;
  --c-red-light:    #FFF5F5;
  --c-red-border:   #FFD5D5;

  --radius:         12px;
  --radius-sm:      8px;
  --shadow:         0 2px 16px rgba(26,79,122,0.10);
  --shadow-lg:      0 8px 40px rgba(26,79,122,0.15);

  --font:           'Inter', system-ui, -apple-system, sans-serif;
  --max-w:          1100px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Utility ──────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 800;
  color: var(--c-primary);
  text-align: center;
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-intro {
  font-size: 1.02rem;
  color: var(--c-text-muted);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.75;
}

.section-cta-center { text-align: center; margin-top: 40px; }

.accent { color: var(--c-accent); }

.placeholder-inline {
  color: var(--c-text-muted);
  font-style: italic;
  font-size: 0.85em;
}

/* ── Buttons ──────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  border: 2px solid transparent;
  line-height: 1.2;
  white-space: nowrap;
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-lg  { padding: 15px 30px; font-size: 1.05rem; }
.btn-xl  { padding: 18px 36px; font-size: 1.1rem; }
.btn-block { width: 100%; justify-content: center; }

/* Long CTA labels must wrap on narrow viewports instead of forcing horizontal overflow */
@media (max-width: 640px) {
  .btn { white-space: normal; text-align: center; }
}

.btn-primary {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
  box-shadow: 0 4px 14px rgba(26,79,122,0.25);
}
.btn-primary:hover {
  background: var(--c-primary-d);
  border-color: var(--c-primary-d);
  box-shadow: 0 6px 20px rgba(26,79,122,0.35);
}

.btn-whatsapp {
  background: var(--c-green);
  color: #fff;
  border-color: var(--c-green);
  box-shadow: 0 4px 14px rgba(37,211,102,0.30);
}
.btn-whatsapp:hover {
  background: var(--c-green-d);
  border-color: var(--c-green-d);
  box-shadow: 0 6px 20px rgba(37,211,102,0.40);
  color: #fff;
}

/* Ghost button — white border for dark backgrounds */
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.45);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.7);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--c-primary);
  border-color: var(--c-border);
}
.btn-outline:hover { border-color: var(--c-primary); }

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

/* ── Header ──────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border);
  padding: 12px 0;
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo-text {
  font-size: 1.05rem;
  color: var(--c-text-muted);
  font-weight: 400;
  letter-spacing: 0.025em;
}
.logo-text strong {
  color: var(--c-primary);
  font-weight: 800;
  letter-spacing: 0.045em;
  margin-right: 0.22em;
}

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

.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--c-text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.header-phone:hover { color: var(--c-primary); }

.header-cta { font-size: 0.88rem; padding: 9px 16px; }

/* ── Hero ─────────────────────────────── */
.hero {
  background: linear-gradient(140deg, #163F63 0%, var(--c-primary) 45%, #0D2E4A 100%);
  color: #fff;
  padding: 72px 0 80px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 16px;
}

.hero-headline {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 20px;
}

.hero-subheadline {
  font-size: 1.02rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 510px;
}
.hero-subheadline strong { color: rgba(255,255,255,0.95); }

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  align-items: center;
}

.hero-microcopy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.48);
  margin-bottom: 28px;
}

/* Hero trust row */
.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  white-space: nowrap;
}

.hero-trust-sep {
  color: rgba(255,255,255,0.2);
  font-size: 0.75rem;
}

/* Hero video */
.hero-video { display: flex; justify-content: center; align-items: center; }

.hero-photo-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
}

.hero-photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

/* ── Hero play button: inviting, pulsing CTA over the photo ── */
.hero-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px;
  pointer-events: none;
  text-align: center;
}

.hero-play-btn-wrap {
  position: relative;
  width: 84px;
  height: 84px;
  flex-shrink: 0;
}

/* Static ring: always visible, no animation needed to read "clickable" */
.hero-play-btn-wrap::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4);
}

.hero-play-halo {
  position: absolute;
  inset: 0;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.7);
  animation: heroPlayHalo 2.2s ease-out infinite;
}

.hero-play-halo--delay { animation-delay: 1.1s; }

.hero-play-btn {
  position: relative;
  z-index: 1;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(255,255,255,0.24);
  border: 2px solid rgba(255,255,255,0.85);
  box-shadow: 0 0 0 6px rgba(255,255,255,0.12), 0 6px 18px rgba(0,0,0,0.35);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  animation: heroPlayPulse 2.2s ease-in-out infinite;
  transition: transform 0.25s ease, background 0.25s ease, opacity 0.25s ease;
}

.hero-play-btn svg { width: 30px; height: 30px; margin-left: 4px; }

.hero-photo-card:hover .hero-play-btn,
.hero-photo-card:focus-visible .hero-play-btn {
  transform: scale(1.1);
  background: rgba(255,255,255,0.36);
  opacity: 1;
}

@keyframes heroPlayPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.1); }
}

@keyframes heroPlayHalo {
  0%   { transform: scale(0.9); opacity: 0.75; }
  100% { transform: scale(2.1); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-play-btn, .hero-play-halo { animation: none; }
}

/* Caption: sits directly below the play button, the real CTA of the card */
.hero-video-caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  max-width: 320px;
  background: rgba(0,0,0,0.62);
  padding: 14px 26px;
  border-radius: 14px;
}

.hero-video-caption-title {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.55);
}

.hero-video-caption-sub {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(255,255,255,0.94);
}

.video-placeholder {
  background: rgba(255,255,255,0.07);
  border: 2px dashed rgba(255,255,255,0.2);
  border-radius: var(--radius);
  aspect-ratio: 16/9;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px 24px;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s;
}
.video-placeholder:hover { background: rgba(255,255,255,0.11); }

.video-play-icon {
  width: 68px;
  height: 68px;
  background: rgba(255,255,255,0.14);
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.video-placeholder:hover .video-play-icon {
  background: rgba(255,255,255,0.22);
  transform: scale(1.06);
}
.video-play-icon.small { width: 50px; height: 50px; }

.video-placeholder-title {
  font-weight: 700;
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  margin-top: 4px;
}
.video-placeholder-sub {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}
.video-placeholder-note {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  margin-top: 4px;
  font-style: italic;
}

/* Video embed wrapper (used when real video is added) */
.video-embed-wrap {
  position: relative;
  aspect-ratio: 16/9;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
}
.video-embed-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── Trust Badges ─────────────────────── */
.trust-badges {
  background: var(--c-surface);
  padding: 32px 0;
  border-bottom: 1px solid var(--c-border);
}

.badges-grid {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 14px 16px;
  min-width: 130px;
  flex: 1;
  max-width: 190px;
}

.badge-icon {
  width: 50px;
  height: 50px;
  background: #EBF3FB;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary);
  flex-shrink: 0;
}

.badge-label {
  font-weight: 700;
  font-size: 0.87rem;
  color: var(--c-text);
  line-height: 1.3;
}

.badge-sub {
  font-size: 0.76rem;
  color: var(--c-text-muted);
  line-height: 1.4;
}

/* ── Section Shared ───────────────────── */
section { padding: 80px 0; }

/* ── Why Direct — 4 Pillars ───────────── */
.section-why { background: var(--c-bg); }

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.pillar-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.pillar-card:hover {
  box-shadow: var(--shadow);
  border-color: #C0D8EC;
}

.pillar-icon {
  width: 48px;
  height: 48px;
  background: #EBF3FB;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary);
  margin-bottom: 14px;
}

.pillar-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.pillar-text {
  font-size: 0.9rem;
  color: var(--c-text-muted);
  line-height: 1.65;
}

/* ── Treatments ───────────────────────── */
.section-treatments { background: var(--c-surface); }

.treatment-problem-intro {
  max-width: 760px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.treatment-problem-intro p {
  font-size: 0.98rem;
  color: var(--c-text-muted);
  line-height: 1.75;
  text-align: center;
}

.treatment-problem-intro strong { color: var(--c-text); }

.treatments-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.treatment-card {
  border: 2px solid var(--c-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  background: var(--c-surface);
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.treatment-card:hover { box-shadow: var(--shadow); }

.treatment-card--featured {
  border-color: var(--c-primary);
  box-shadow: var(--shadow);
}

.treatment-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.treatment-number {
  font-size: 4rem;
  font-weight: 900;
  color: var(--c-primary);
  line-height: 1;
  opacity: 0.1;
  margin-bottom: 8px;
  letter-spacing: -0.05em;
}

.treatment-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--c-primary);
  margin-bottom: 10px;
}

.treatment-card > p {
  color: var(--c-text-muted);
  font-size: 0.93rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.treatment-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.treatment-features li {
  font-size: 0.87rem;
  color: var(--c-text);
  padding-left: 18px;
  position: relative;
  line-height: 1.4;
}

.treatment-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--c-accent);
  font-weight: 700;
}

.treatment-price {
  font-size: 0.88rem;
  color: var(--c-text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}
.treatment-price strong { color: var(--c-primary); font-size: 1.05rem; font-weight: 700; }

.treatment-price-note {
  font-size: 0.78em;
  color: var(--c-text-muted);
  font-weight: 400;
  display: block;
  margin-top: 2px;
}

.treatment-card .btn { align-self: flex-start; margin-top: auto; }

.treatments-disclaimer {
  text-align: center;
  font-size: 0.78rem;
  color: var(--c-text-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.65;
  padding: 16px;
  background: var(--c-bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-border);
}

/* ── Materials ────────────────────────── */
.section-materials {
  background: var(--c-bg);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.materials-logos {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.material-logo-ph {
  width: 160px;
  height: 70px;
  border: 2px dashed var(--c-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text-muted);
  font-size: 0.72rem;
  font-style: italic;
  text-align: center;
  padding: 8px;
  background: var(--c-surface);
}

.materials-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--c-text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Process ──────────────────────────── */
.section-process { background: var(--c-surface); }

.process-steps {
  display: flex;
  flex-direction: column;
  max-width: 660px;
  margin: 0 auto;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(to bottom, var(--c-accent), var(--c-primary));
  opacity: 0.18;
  z-index: 0;
}

.step {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 18px 0;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--c-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--c-surface);
}

.step-content h3 {
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-primary);
  margin-bottom: 5px;
  margin-top: 11px;
  line-height: 1.3;
}

.step-content p {
  color: var(--c-text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ── Testimonials ─────────────────────── */
.section-testimonials {
  background: var(--c-primary);
  color: #fff;
}

.section-testimonials .section-title { color: #fff; }
.section-testimonials .section-intro { color: rgba(255,255,255,0.72); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 48px;
}

.testimonial-video-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.11);
  transition: background 0.2s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.testimonial-video-card:hover { background: rgba(255,255,255,0.11); }

.video-thumb {
  aspect-ratio: 9/16;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
}

.video-thumb--placeholder {
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.thumb-note {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.3);
  font-style: italic;
  text-align: center;
  padding: 0 12px;
}

.testimonial-meta {
  padding: 12px 14px;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2px;
}

.testimonial-city {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.48);
}

/* Google Reviews strip */
.google-reviews-strip {
  padding: 28px 32px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.11);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.google-reviews-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.google-stars {
  font-size: 1.4rem;
  color: var(--c-gold);
  letter-spacing: 3px;
  line-height: 1;
}

.google-count {
  font-size: 1rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.3;
}

.google-sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.48);
}

/* ── Before / After ───────────────────── */
.section-before-after { background: var(--c-bg); }
.rec-ba { background: var(--c-bg); }

.ba-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.ba-card {
  background: var(--c-surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.18s;
}

.ba-card:hover,
.ba-card:focus-visible {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.ba-card:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }

.ba-img-wrap {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--c-border);
}

.ba-img-wrap picture { display: block; width: 100%; height: 100%; }

.ba-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s;
}

.ba-card:hover .ba-img-wrap img { transform: scale(1.04); }

.ba-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,79,122,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.22s;
}

.ba-card:hover .ba-overlay { background: rgba(26,79,122,0.18); }

.ba-zoom {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: var(--c-primary);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.75);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}

.ba-card:hover .ba-zoom { opacity: 1; transform: scale(1); }

.ba-caption {
  padding: 10px 14px;
  font-size: 0.78rem;
  color: var(--c-text-muted);
  font-weight: 500;
  border-top: 1px solid var(--c-border);
}

/* ── CTA below BA grid ── */
.ba-cta-block {
  text-align: center;
  padding: 36px 24px;
  background: var(--c-surface);
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow);
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.ba-cta-text {
  font-size: 1.05rem;
  color: var(--c-text);
  font-weight: 500;
  margin: 0;
  line-height: 1.5;
}

.ba-rec-link {
  font-size: 0.9rem;
  color: var(--c-primary);
  border-color: var(--c-primary);
  padding: 10px 22px;
}

/* ── Lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] { display: none; }

body.lb-open { overflow: hidden; }

.lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8,15,24,0.90);
  border: none;
  cursor: pointer;
  padding: 0;
}

.lb-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.lb-close:hover { background: rgba(255,255,255,0.28); }

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 72px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  padding: 0;
}

.lb-nav:hover { background: rgba(255,255,255,0.22); }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }

.lb-frame {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: min(92vw, 820px);
  max-height: 94vh;
}

.lb-frame picture { display: block; }

.lb-frame img {
  display: block;
  max-width: 100%;
  max-height: 84vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 16px 64px rgba(0,0,0,0.55);
}

#lb-caption {
  color: rgba(255,255,255,0.65);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0;
}

/* ── Hero video modal ── */
.hero-video-modal {
  position: fixed;
  inset: 0;
  z-index: 9300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  overflow-y: auto;
}

.hero-video-modal[hidden] { display: none; }

body.hvm-open { overflow: hidden; }

.hvm-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.hvm-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 70px rgba(0,0,0,0.55);
}

.hvm-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.hvm-cta {
  width: 100%;
  max-width: 500px;
  text-align: center;
  background: linear-gradient(165deg, rgba(255,255,255,0.09), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  padding: 30px 32px;
  box-shadow: 0 14px 46px rgba(0,0,0,0.24);
}

.hvm-cta-title {
  color: rgba(255,255,255,0.92);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.hvm-cta-sub {
  color: rgba(255,255,255,0.76);
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 24px;
}

.hvm-cta .btn { width: 100%; }

.hvm-cta .btn-whatsapp {
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.hvm-cta .btn-whatsapp:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(37,211,102,0.38), 0 0 22px rgba(37,211,102,0.22);
}

.hvm-cta-trust {
  margin-top: 14px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}

@media (max-width: 640px) {
  .hero-video-modal { padding: 20px 14px; }
  .hvm-frame { gap: 16px; }
  .hvm-cta { padding: 22px 22px; }
  .hvm-cta-title { font-size: 0.92rem; margin-bottom: 8px; }
  .hvm-cta-sub { font-size: 0.82rem; margin-bottom: 18px; }
  .hvm-cta-trust { font-size: 0.72rem; }
}

/* ── About ────────────────────────────── */
.section-about {
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.about-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
}

.about-photo { display: flex; justify-content: center; }

.photo-placeholder {
  width: 210px;
  height: 270px;
  background: var(--c-bg);
  border: 2px dashed var(--c-border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--c-text-muted);
  font-size: 0.82rem;
  text-align: center;
  padding: 16px;
}

.photo-placeholder span {
  font-size: 0.7rem;
  font-style: italic;
  color: var(--c-border);
}

/* ── Doctor photo: premium framed card ── */
.doctor-photo-card {
  width: 100%;
  max-width: 300px;
  background: #FFFFFF;
  padding: 8px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--c-border);
}

.doctor-photo-card picture { display: block; }

.doctor-photo-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: var(--radius-sm);
}

/* ── Trust stats strip ── */
.section-stats-strip {
  background: var(--c-primary);
  padding: 22px 0;
}

.stats-strip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.stats-strip-item {
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 4px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  margin: 0;
  line-height: 1.3;
}

.stats-strip-item:last-child { border-right: none; }

@media (max-width: 640px) {
  .stats-strip-item {
    border-right: none;
    padding: 4px 14px;
    text-align: center;
  }
}

.about-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--c-accent);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 8px;
}

.about-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--c-primary);
  margin-bottom: 14px;
}

.about-bio {
  color: var(--c-text-muted);
  line-height: 1.75;
  margin-bottom: 26px;
  font-size: 0.97rem;
}

.clinic-stats {
  display: flex;
  gap: 28px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.stat { display: flex; flex-direction: column; gap: 2px; }

.stat-number {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--c-primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.76rem;
  color: var(--c-text-muted);
  line-height: 1.3;
}

.clinic-address {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  color: var(--c-text-muted);
}

/* ── FAQ ──────────────────────────────── */
.section-faq { background: var(--c-bg); }

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.15s;
}
.faq-item[open] { border-color: #C0D8EC; }

.faq-question {
  padding: 17px 20px;
  font-weight: 600;
  font-size: 0.93rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--c-text);
  transition: color 0.15s;
  user-select: none;
  gap: 12px;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '+';
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--c-primary);
  flex-shrink: 0;
  transition: transform 0.2s;
  line-height: 1;
}
.faq-item[open] .faq-question::after { transform: rotate(45deg); }
.faq-item[open] .faq-question { color: var(--c-primary); }

.faq-answer { padding: 0 20px 16px; }
.faq-answer p {
  font-size: 0.9rem;
  color: var(--c-text-muted);
  line-height: 1.72;
}

/* ── Final CTA ────────────────────────── */
.section-final-cta {
  background: linear-gradient(140deg, #163F63 0%, var(--c-primary) 60%, #0D2E4A 100%);
  color: #fff;
  padding: 80px 0;
}

.final-cta-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.final-cta-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 10px;
}

.final-cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #fff;
}

.final-cta-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.final-cta-or {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  margin-bottom: 12px;
}

.final-cta-or::before,
.final-cta-or::after {
  content: '';
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: rgba(255,255,255,0.15);
}

.final-cta-or span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  white-space: nowrap;
}

.final-cta-form-link {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.15s;
}
.final-cta-form-link:hover { color: rgba(255,255,255,0.8); }

/* ── Form (secondary) ─────────────────── */
.section-form {
  background: var(--c-bg);
  padding: 72px 0;
}

.form-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.form-header {
  text-align: center;
  margin-bottom: 32px;
}
.form-header p {
  color: var(--c-text-muted);
  font-size: 0.97rem;
  margin-top: 8px;
}
.form-required-note {
  color: var(--c-text-muted);
  font-size: 0.78rem;
  margin-top: 4px;
}

.contact-form {
  background: var(--c-surface);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--c-border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-field label {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--c-text);
}

.form-field input:not([type="checkbox"]):not([type="radio"]),
.form-field select,
.form-field textarea {
  width: 100%;
  max-width: 100%;
  padding: 10px 13px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.92rem;
  color: var(--c-text);
  background: var(--c-bg);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(26,79,122,0.09);
  background: #fff;
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: #B0BBC8; }

.form-consent label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.form-consent input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; }
.form-consent span { font-size: 0.8rem; color: var(--c-text-muted); line-height: 1.5; }
.form-consent a { color: var(--c-primary); text-decoration: underline; }

.form-feedback {
  margin: 0 0 4px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.5;
}

.form-feedback--success {
  background: #F0FBF4;
  border: 1px solid var(--c-green);
  color: var(--c-green-d);
}

.form-feedback--error {
  background: var(--c-red-light);
  border: 1px solid var(--c-red-border);
  color: #C0392B;
}

.form-disclaimer {
  text-align: center;
  font-size: 0.76rem;
  color: var(--c-text-muted);
}

/* ── Footer ───────────────────────────── */
.site-footer {
  background: #0D2238;
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.footer-inner .logo-text { color: rgba(255,255,255,0.5); }
.footer-inner .logo-text strong { color: rgba(255,255,255,0.85); }
.footer-inner p { color: rgba(255,255,255,0.72); font-size: 0.83rem; }
.footer-inner a { color: rgba(255,255,255,0.72); text-decoration: none; }
.footer-inner a:hover { color: #fff; }

.footer-links {
  display: flex;
  gap: 20px;
  font-size: 0.83rem;
}

.footer-copy { font-size: 0.76rem; color: rgba(255,255,255,0.72); }
.footer-copy .footer-credit-link { color: inherit; text-decoration: none; transition: color 0.2s ease; }
.footer-copy .footer-credit-link:hover { color: var(--c-accent); text-decoration: underline; }

/* ── Sticky CTA Bar ───────────────────── */
.sticky-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  box-shadow: 0 -3px 20px rgba(0,0,0,0.18);
  transition: opacity 0.25s;
}

.sticky-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 14px 12px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  color: #fff;
  transition: filter 0.15s;
}
.sticky-btn:hover { filter: brightness(0.9); }

.sticky-btn--phone   { background: var(--c-primary); }
.sticky-btn--whatsapp { background: var(--c-green); }

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-video { order: -1; }
  .hero-subheadline { max-width: 100%; }

  .pillars-grid { grid-template-columns: 1fr; }

  .treatments-grid { grid-template-columns: 1fr; }

  .testimonials-grid { grid-template-columns: 1fr 1fr; }

  .ba-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .lb-nav { width: 38px; height: 56px; font-size: 1.8rem; }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .about-photo { order: -1; }

  .form-row { grid-template-columns: 1fr; }

  .google-reviews-strip {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .google-reviews-left { align-items: center; }
}

@media (max-width: 640px) {
  section { padding: 56px 0; }

  .hero { padding: 44px 0 52px; }
  .hero-headline { font-size: 1.7rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-trust-sep { display: none; }
  .hero-trust-row { gap: 6px 14px; }

  .testimonials-grid { grid-template-columns: 1fr; }

  .ba-grid { grid-template-columns: 1fr; gap: 14px; }
  .lb-nav { display: none; }

  .contact-form { padding: 22px 18px; }

  .final-cta-btns { flex-direction: column; align-items: center; }
  .final-cta-btns .btn { width: 100%; max-width: 340px; justify-content: center; }

  /* Show sticky bar on mobile */
  .sticky-cta-bar { display: flex; }
  body { padding-bottom: 54px; }
}

@media (max-width: 420px) {
  .header-phone { display: none; }
  .header-cta span { display: none; }
}

/* ═══════════════════════════════════════
   NEW — Session 3 additions
   ═══════════════════════════════════════ */

/* ── Header nav links ─────────────────── */
.header-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--c-text-muted);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}

.header-links a:hover {
  color: var(--c-primary);
  background: #EBF3FB;
}

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

/* ── Hero team note ───────────────────── */
.hero-team-note {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
  margin-bottom: 6px;
  font-style: italic;
}

/* ── Implants section ─────────────────── */
.section-implants { background: var(--c-surface); }

.implants-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 32px;
}

.implants-for { }

.implants-for-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 18px;
  line-height: 1.3;
}

.implants-problems {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.implants-problems li {
  font-size: 0.93rem;
  color: var(--c-text);
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}

.implants-problems li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--c-accent);
  font-weight: 700;
}

.implants-solution {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.implants-solution h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-primary);
  line-height: 1.3;
}

.implants-solution > p {
  font-size: 0.92rem;
  color: var(--c-text-muted);
  line-height: 1.7;
}

.tac-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  background: #EBF3FB;
  border: 1px solid #C0D8EC;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--c-primary);
}

.tac-note svg { flex-shrink: 0; margin-top: 2px; }

.tac-note span {
  font-size: 0.84rem;
  line-height: 1.6;
}

.implants-options { }

.options-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--c-text-muted);
  margin-bottom: 10px;
}

.options-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.options-tags span {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  color: var(--c-text-muted);
}

.options-tags .tag-featured {
  background: #EBF3FB;
  border-color: var(--c-accent);
  color: var(--c-primary);
}

.options-note {
  font-size: 0.75rem;
  color: var(--c-text-muted);
  line-height: 1.55;
  font-style: italic;
}

.implants-disclaimer {
  text-align: center;
  font-size: 0.77rem;
  color: var(--c-text-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.65;
  padding: 14px 16px;
  background: var(--c-bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-border);
}

/* ── Process steps — image placeholder ── */
.step-img-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 88px;
  min-height: 80px;
  border: 1.5px dashed var(--c-border);
  border-radius: var(--radius-sm);
  color: var(--c-text-muted);
  font-size: 0.65rem;
  text-align: center;
  padding: 8px 6px;
  flex-shrink: 0;
  align-self: center;
  background: var(--c-bg);
}

.step-img-ph svg { opacity: 0.55; }

/* Expand process steps to show the image placeholder on the right */
.step { justify-content: space-between; }
.step-content { flex: 1; }

/* ── About section additions ──────────── */
.about-credentials {
  font-size: 0.88rem;
  color: var(--c-text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  padding: 10px 14px;
  background: #FFFBF0;
  border-left: 3px solid var(--c-gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.about-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-primary);
  text-decoration: none;
  transition: color 0.15s;
}
.about-link:hover { color: var(--c-accent); }

/* ── Google reviews right column ─────── */
.google-reviews-right {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

/* ── Footer brand block ───────────────── */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

/* ── Page hero (chi-siamo, recensioni) ── */
.page-hero {
  background: linear-gradient(140deg, #163F63 0%, var(--c-primary) 60%, #0D2E4A 100%);
  color: #fff;
  padding: 60px 0 56px;
  text-align: center;
}

.page-hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 12px;
}

.page-hero-title {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 14px;
}

.page-hero-sub {
  font-size: 1.02rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* ── Responsive additions ─────────────── */
@media (max-width: 900px) {
  .implants-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .header-links { display: none; }
}

@media (max-width: 640px) {
  .step-img-ph { display: none; }

  .google-reviews-right {
    flex-direction: column;
    width: 100%;
  }

  .google-reviews-right .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .header-contact .header-phone { display: none; }
}

/* ═══════════════════════════════════════
   CRO — Session 4 additions
   ═══════════════════════════════════════ */

/* ── Headline saving line ─────────────── */
.headline-saving {
  display: block;
  font-size: 0.58em;
  font-weight: 600;
  color: var(--c-accent);
  letter-spacing: 0.02em;
  margin-top: 14px;
  line-height: 1.3;
}

/* ── Hero CTA note (below button) ─────── */
.hero-cta-note {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.52);
  line-height: 1.6;
  margin-top: 12px;
  margin-bottom: 22px;
  font-style: italic;
}

/* ── Trust single badge ───────────────── */
.trust-single-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  padding: 4px 0;
}

.trust-stars {
  font-size: 1.55rem;
  color: var(--c-gold);
  letter-spacing: 4px;
  line-height: 1;
  flex-shrink: 0;
}

.trust-badge-main {
  font-weight: 700;
  font-size: 0.97rem;
  color: var(--c-text);
  line-height: 1.3;
}

.trust-badge-sub {
  font-size: 0.78rem;
  color: var(--c-text-muted);
  margin-top: 3px;
}

@media (max-width: 640px) {
  .trust-single-badge {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

/* ═══════════════════════════════════════
   Session 5 — content updates
   ═══════════════════════════════════════ */

/* ── Logo block (logo + location line) ── */
.logo { text-decoration: none; display: inline-block; }

.logo-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-location {
  font-size: 0.68rem;
  color: var(--c-text-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
}

/* ── Hero bullet list (replaces subheadline paragraph) ── */
.hero-bullets {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.hero-bullets li {
  line-height: 1.55;
}

/* ── Green accent for "gratuiti" in bullets ── */
.text-green {
  color: var(--c-green);
  font-weight: 600;
}

/* ── Hero CTA note with p children ─────── */
.hero-cta-note p {
  font-size: inherit;
  color: inherit;
  line-height: inherit;
  font-style: inherit;
  margin-bottom: 0.35em;
}
.hero-cta-note p:last-child { margin-bottom: 0; }

/* ── Google logo placeholder ────────────── */
.google-logo-ph {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.google-logo-text {
  font-size: 1rem;
  font-weight: 700;
  color: #5F6368;
  letter-spacing: -0.01em;
  line-height: 1;
}

/* ═══════════════════════════════════════
   Session 5 — Hero Visual Polish
   Match: research/design-reference/hero-reference-v1.png
   ═══════════════════════════════════════ */

/* ── Hero: tighter padding for above-fold ── */
.hero { padding: 38px 0 42px; }

/* ── Hero grid: stretch both columns to equal height, tighter gap ── */
.hero-inner {
  align-items: stretch;
  gap: 44px;
}

/* ── Headline: −23% max from original, tighter line-height and bottom margin ── */
.hero-headline {
  font-size: clamp(1.55rem, 2.6vw, 2.38rem);
  line-height: 1.10;
  margin-bottom: 14px;
}

/* ── Benefits list: smaller font, tighter bottom margin ── */
ul.hero-subheadline {
  font-size: 0.93rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* Benefit text: near-white for contrast */
.hero-bullets li {
  color: rgba(255,255,255,0.92);
  line-height: 1.45;
}

/* ── CTA: pill shape, full width ── */
.hero-ctas {
  margin-bottom: 16px;
}
.hero-ctas .btn {
  border-radius: 50px;
  width: 100%;
  justify-content: center;
  padding: 13px 26px;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* ── Microcopy: compact, clearly readable ── */
.hero-cta-note {
  font-style: normal;
  font-size: 0.76rem;
  line-height: 1.42;
  margin-top: 0;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.78);
}

/* ── Google Reviews card inside hero (dark background) ── */
.hero-google-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 14px;
  padding: 11px 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}

.hero-google-card .trust-stars {
  font-size: 1.05rem;
  color: var(--c-gold);
  letter-spacing: 2px;
  flex-shrink: 0;
  line-height: 1;
}

.hero-google-card p { margin: 0; }

.hero-google-card .trust-badge-main {
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  line-height: 1.25;
}

.hero-google-card .trust-badge-sub {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
  font-weight: 400;
}

.hero-google-card .google-logo-ph {
  margin-left: auto;
  flex-shrink: 0;
}

/* Google "G" logo looks native on dark bg */
.hero-google-card .google-logo-text { display: none; }

/* ── Video: fill column height, more premium styling ── */
.hero-video { align-items: stretch; }

.hero-photo-card {
  aspect-ratio: auto;
  flex: 1;
  min-height: 320px;
}

.video-placeholder {
  aspect-ratio: auto;
  flex: 1;
  min-height: 320px;
  border-radius: 16px;
  border: 1.5px dashed rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  gap: 14px;
}

.video-play-icon {
  width: 72px;
  height: 72px;
  background: rgba(255,255,255,0.18);
  border: 2px solid rgba(255,255,255,0.5);
}

.video-placeholder-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 8px;
}

.video-placeholder-sub {
  font-size: 0.87rem;
  line-height: 1.55;
}

/* ── Logo block refinements ── */
.logo-text { font-size: 1.08rem; }
.logo-text strong { letter-spacing: 0.04em; }
.logo-location { font-size: 0.7rem; }

/* ── Responsive hero polish ── */
@media (max-width: 900px) {
  .hero { padding: 36px 0 44px; }
  .hero-google-card { flex-wrap: wrap; gap: 10px; }
}

@media (max-width: 640px) {
  .hero-headline { font-size: 1.65rem; line-height: 1.2; }
  .hero-google-card { padding: 12px 14px; }
}

/* ═══════════════════════════════════════
   Session 6 — Mobile hero order + polish
   ═══════════════════════════════════════ */

/* ── Google card: clickable link, no underline ── */
a.hero-google-card {
  text-decoration: none;
  color: inherit;
  transition: background 0.18s ease, border-color 0.18s ease;
}
a.hero-google-card:hover {
  background: rgba(255,255,255,0.11);
  border-color: rgba(255,255,255,0.28);
}

/* ── Mobile hero: reorder via flex + display:contents ── */
@media (max-width: 900px) {
  /* Switch from grid to flex column so individual items can be ordered */
  .hero-inner {
    display: flex;
    flex-direction: column;
    gap: 22px;
  }
  /* Dissolve the hero-content wrapper so its children become direct flex items */
  .hero-content { display: contents; }

  /* Desired mobile order:
     A headline → B bullets → C video → D CTA → E microcopy → F google card */
  .hero-headline    { order: 1; }
  .hero-bullets     { order: 2; }
  .hero-video       { order: 3; width: 100%; }
  .hero-ctas        { order: 4; }
  .hero-cta-note    { order: 5; }
  .hero-google-card { order: 6; }
}

/* ── Mobile tight spacing ── */
@media (max-width: 640px) {
  .hero { padding: 28px 0 36px; }
  .hero-inner { gap: 14px; }

  .hero-headline {
    font-size: 1.55rem;
    line-height: 1.18;
    margin-bottom: 0;
  }

  ul.hero-subheadline {
    font-size: 0.92rem;
    margin-bottom: 0;
  }

  .hero-ctas { margin-bottom: 4px; }
  .hero-cta-note { font-size: 0.74rem; margin-top: 0; margin-bottom: 0; }
  .hero-google-card { padding: 10px 14px; }

  /* Video: natural 16:9 aspect ratio on small screens */
  .video-placeholder,
  .hero-photo-card {
    aspect-ratio: 16 / 9;
    min-height: 0;
    flex: none;
  }

  .hero-play-btn-wrap,
  .hero-play-btn,
  .hero-play-halo { width: 64px; height: 64px; }

  .hero-play-btn svg { width: 24px; height: 24px; }

  .hero-play-btn-wrap::before { inset: -8px; }

  .hero-play-overlay { gap: 12px; }

  .hero-video-caption { padding: 10px 18px; max-width: 260px; }
  .hero-video-caption-title { font-size: 1.1rem; }
  .hero-video-caption-sub { font-size: 0.82rem; }
}

/* ═══════════════════════════════════════
   Session 7 — Conversion flow restructure
   ═══════════════════════════════════════ */

/* ── Compact Trust Strip ── */
.section-trust-strip {
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  padding: 0;
}

.trust-strip-grid {
  display: flex;
  align-items: stretch;
}

.trust-strip-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  text-align: center;
  padding: 20px 12px;
  border-right: 1px solid var(--c-border);
}
.trust-strip-card:last-child { border-right: none; }

.trust-strip-icon {
  width: 36px;
  height: 36px;
  background: #EBF3FB;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary);
  flex-shrink: 0;
  margin-bottom: 2px;
}

.trust-strip-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--c-primary);
  line-height: 1.3;
  margin: 0;
}

.trust-strip-sub {
  font-size: 0.68rem;
  color: var(--c-text-muted);
  margin: 0;
  line-height: 1.3;
}

@media (max-width: 640px) {
  .trust-strip-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .trust-strip-card {
    border-right: none;
    border-bottom: 1px solid var(--c-border);
    padding: 16px 10px;
  }
  .trust-strip-card:nth-child(odd) { border-right: 1px solid var(--c-border); }
  .trust-strip-card:nth-last-child(-n+2) { border-bottom: none; }
}

/* ── Materials: expanded ── */
.section-materials { background: var(--c-surface); }

.materials-quality-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 44px;
}

.quality-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 22px 14px;
}

.quality-icon {
  width: 46px;
  height: 46px;
  background: #EBF3FB;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary);
}

.quality-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--c-primary);
  margin: 0;
  line-height: 1.3;
}

.quality-sub {
  font-size: 0.72rem;
  color: var(--c-text-muted);
  margin: 0;
  line-height: 1.35;
  font-style: italic;
}

.materials-logos-wrap { margin-bottom: 36px; text-align: center; }

.materials-logos-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-text-muted);
  font-weight: 600;
  margin-bottom: 16px;
}

.materials-callout {
  background: #EBF3FB;
  border: 1px solid #C0D8EC;
  border-radius: var(--radius);
  padding: 22px 32px;
  text-align: center;
  margin-top: 8px;
}

.materials-callout p {
  font-size: 1rem;
  font-style: italic;
  color: var(--c-primary);
  margin: 0;
  line-height: 1.65;
  font-weight: 500;
}

@media (max-width: 900px) {
  .materials-quality-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .materials-quality-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .materials-callout { padding: 18px 18px; }
  .materials-callout p { font-size: 0.9rem; }
}

/* ── What's Included ── */
.section-included { background: var(--c-bg); }

.included-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 44px;
}

.included-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 20px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.included-card:hover {
  box-shadow: var(--shadow);
  border-color: #C0D8EC;
}

.included-icon {
  width: 46px;
  height: 46px;
  background: #EBF3FB;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary);
  margin-bottom: 2px;
}

.included-item {
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--c-primary);
  margin: 0;
  line-height: 1.3;
}

.included-sub {
  font-size: 0.72rem;
  color: var(--c-text-muted);
  margin: 0;
  line-height: 1.4;
}

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

@media (max-width: 640px) {
  .included-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* ── Why Cheaper ── */
.section-why-cheaper { background: var(--c-surface); }

.cheaper-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.cheaper-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cheaper-card-icon {
  width: 46px;
  height: 46px;
  background: #EBF3FB;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary);
}

.cheaper-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-primary);
  margin: 0;
}

.cheaper-card p {
  font-size: 0.88rem;
  color: var(--c-text-muted);
  line-height: 1.65;
  margin: 0;
}

.cheaper-callout {
  background: #EBF3FB;
  border: 1px solid #C0D8EC;
  border-radius: var(--radius);
  padding: 20px 28px;
  text-align: center;
}

.cheaper-callout p {
  font-size: 0.95rem;
  color: var(--c-primary);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .cheaper-grid { grid-template-columns: 1fr; }
  .cheaper-callout { padding: 18px 18px; }
}

/* ── Vimeo embeds — portrait (9:16) for Reels ── */
.vimeo-embed-wrap {
  position: relative;
  aspect-ratio: 9 / 16;
  width: 100%;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  background: #000;
}

.vimeo-embed-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Cards with live embeds: remove click affordance */
.testimonial-video-card:has(.vimeo-embed-wrap) {
  cursor: default;
}
.testimonial-video-card:has(.vimeo-embed-wrap):hover {
  background: rgba(255,255,255,0.06);
}

/* Neutral meta labels */
.testimonial-label {
  font-weight: 600;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.9);
  margin: 0 0 2px;
}

.testimonial-sublabel {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  margin: 0;
}

.testimonials-more-cta {
  text-align: center;
  margin-bottom: 40px;
}

/* ── Implant brand logo cards ── */
.implant-logos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 28px;
}

.implant-logo-card {
  flex: 0 0 calc(33.333% - 14px);
  max-width: 340px;
  min-width: 160px;
  background: #0E1E2D;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.implant-logo-card:hover {
  border-color: rgba(255,255,255,0.22);
  box-shadow: 0 6px 28px rgba(0,0,0,0.28);
}

.implant-logo-card--light {
  background: var(--c-surface);
  border-color: var(--c-border);
}

.implant-logo-card--light:hover {
  border-color: var(--c-accent);
  box-shadow: 0 6px 28px rgba(26,79,122,0.12);
}

.implant-logo-card picture {
  display: block;
  width: 100%;
}

.implant-logo-card img {
  max-height: 80px;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 900px) {
  .implant-logo-card {
    flex: 0 0 calc(50% - 10px);
    max-width: none;
  }
}

@media (max-width: 480px) {
  .implant-logos-grid { gap: 14px; }
  .implant-logo-card {
    flex: 0 0 100%;
    padding: 24px 28px;
    min-height: 96px;
  }
}

/* ═══════════════════════════════════════
   Mobile hamburger menu
   ═══════════════════════════════════════ */

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  gap: 5px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  box-shadow: var(--shadow-lg);
  z-index: 99;
  padding: 4px 0;
}
.nav-mobile-panel[hidden] { display: none; }
.nav-mobile-panel a {
  display: block;
  padding: 13px 24px;
  color: var(--c-text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 1px solid var(--c-border);
  transition: background 0.15s, color 0.15s;
}
.nav-mobile-panel a:last-child { border-bottom: none; }
.nav-mobile-panel a:hover { background: #EBF3FB; color: var(--c-primary); }

@media (max-width: 900px) {
  .nav-hamburger { display: flex; }
}

@media (max-width: 640px) {
  .header-contact { display: none; }
}

/* ── Legal pages (privacy, cookie) ── */
.legal-section { background: var(--c-surface); }

.legal-content { max-width: 760px; margin: 0 auto; }

.legal-meta {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  margin-bottom: 32px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--c-border);
}

.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--c-primary);
  margin: 40px 0 14px;
}
.legal-content h2:first-of-type { margin-top: 0; }

.legal-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-text);
  margin: 20px 0 8px;
}

.legal-content p {
  color: var(--c-text-muted);
  font-size: 0.97rem;
  line-height: 1.75;
  margin-bottom: 14px;
}

.legal-content ul {
  margin: 0 0 14px 20px;
  color: var(--c-text-muted);
  font-size: 0.97rem;
  line-height: 1.75;
}

.legal-content li { margin-bottom: 6px; }
.legal-content strong { color: var(--c-text); }
.legal-content a { color: var(--c-primary); }

.legal-placeholder {
  display: inline-block;
  background: #FFF6DC;
  color: #8A6100;
  border: 1px dashed #E8C468;
  padding: 1px 7px;
  border-radius: 4px;
  font-size: 0.9em;
  font-weight: 700;
}

@media (max-width: 640px) {
  .legal-content h2 { font-size: 1.12rem; margin: 30px 0 12px; }
}
