/* Studio Medico Bono — Anteprima layout prestige v3 */

:root {
  --navy: #0c2340;
  --navy-soft: #152f52;
  --navy-light: #1e3a5f;
  --gold: #c9a962;
  --gold-light: #e8d5a8;
  --gold-muted: rgba(201, 169, 98, 0.18);
  --cream: #faf8f5;
  --cream-dark: #f0ebe3;
  --white: #ffffff;
	--text: #1a2332;
	--muted: #4a5568;
  --border: #ddd6cb;
  --booking: #1a6b5c;
  --booking-hover: #145548;
  --wa: #25d366;
  --shadow: 0 8px 32px rgba(12, 35, 64, 0.08);
  --shadow-lg: 0 24px 64px rgba(12, 35, 64, 0.14);
  --shadow-interactive: 0 4px 14px rgba(12, 35, 64, 0.12);
  --shadow-interactive-hover: 0 12px 32px rgba(12, 35, 64, 0.2);
  --shadow-btn-gold: 0 6px 22px rgba(201, 169, 98, 0.38);
  --shadow-btn-booking: 0 6px 22px rgba(26, 107, 92, 0.34);
  --shadow-btn-wa: 0 6px 22px rgba(37, 211, 102, 0.3);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 4px;
  --radius-lg: 8px;
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --max: 1200px;
  --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--navy-light); transition: color 0.2s; }
a:hover { color: var(--gold); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.section-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  text-align: center;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin: 0 0 0.75rem;
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  font-size: 1.0625rem;
  max-width: 38rem;
  margin: 0 auto 3rem;
}

.gold-rule {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 1rem auto 0;
}

.gold-rule-left { margin: 1rem 0 0; }

/* Preview banner */
.preview-banner {
  background: #fef9e7;
  border-bottom: 1px solid var(--gold-light);
  padding: 0.55rem 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: #6b5a2e;
}

.preview-banner strong { color: #4a3d1a; }

/* Top bar */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.82);
  font-size: 0.8125rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(201, 169, 98, 0.25);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: var(--gold-light); }

.topbar-booking {
  color: var(--gold) !important;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color 0.2s, text-shadow 0.2s, transform 0.2s var(--ease-out);
}

.topbar-booking:hover {
  color: var(--gold-light) !important;
  text-shadow: 0 0 12px rgba(232, 213, 168, 0.45);
  transform: translateY(-1px);
}

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.2s;
}

.site-header.scrolled { box-shadow: var(--shadow); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.875rem 0;
  min-height: var(--header-h);
}

.logo img { height: 52px; width: auto; }

.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.125rem;
}

.main-nav a {
  display: block;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  border-bottom: 2px solid transparent;
  border-radius: var(--radius);
  transition: color 0.2s var(--ease-out), border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.2s var(--ease-out);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--navy);
  border-bottom-color: var(--gold);
}

.main-nav a:hover {
  background: rgba(201, 169, 98, 0.08);
  box-shadow: 0 2px 10px rgba(12, 35, 64, 0.06);
  transform: translateY(-1px);
}

.header-cta .btn {
  white-space: nowrap;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  padding: 0.75rem 1.25rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.625rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  box-shadow: var(--shadow-interactive);
  transition:
    background 0.25s var(--ease-out),
    color 0.25s var(--ease-out),
    border-color 0.25s var(--ease-out),
    transform 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out),
    filter 0.25s var(--ease-out);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-interactive-hover);
}

.btn:active {
  transform: translateY(-1px);
  box-shadow: var(--shadow-interactive);
  transition-duration: 0.1s;
}

.btn-booking {
  background: var(--booking);
  color: #fff !important;
  border-color: var(--booking);
  box-shadow: var(--shadow-btn-booking);
  text-transform: none;
}

.btn-booking:hover {
  background: var(--booking-hover);
  border-color: var(--booking-hover);
  box-shadow: 0 14px 36px rgba(26, 107, 92, 0.42);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy) !important;
  border-color: var(--gold);
  box-shadow: var(--shadow-btn-gold);
}

.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: 0 14px 36px rgba(201, 169, 98, 0.48);
}

.btn-outline {
  background: var(--white);
  color: var(--navy) !important;
  border-color: var(--navy);
  box-shadow: 0 3px 12px rgba(12, 35, 64, 0.08);
}

.btn-outline:hover {
  background: var(--navy);
  color: #fff !important;
  box-shadow: 0 10px 28px rgba(12, 35, 64, 0.22);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.04);
  color: #fff !important;
  border-color: rgba(255,255,255,0.45);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.btn-wa {
  background: var(--wa);
  color: #fff !important;
  box-shadow: var(--shadow-btn-wa);
}

.btn-wa:hover {
  filter: brightness(1.06);
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.42);
}

.btn-lg { padding: 1rem 2rem; font-size: 0.9375rem; }
.btn-block { display: flex; width: 100%; }

/* Media showcase slider */
.media-showcase {
  position: relative;
  background: var(--navy);
  overflow: hidden;
}

.media-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,35,64,0.15) 0%, rgba(12,35,64,0.55) 100%);
  z-index: 1;
  pointer-events: none;
}

.media-slider {
  position: relative;
  height: clamp(280px, 42vw, 520px);
}

.media-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.media-slide.active { opacity: 1; }

.media-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-showcase-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 2rem 0 2.5rem;
  background: linear-gradient(transparent, rgba(12,35,64,0.85));
  color: #fff;
  text-align: center;
}

.media-showcase-caption h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin: 0 0 0.35rem;
}

.media-showcase-caption p {
  margin: 0;
  color: rgba(255,255,255,0.82);
  font-size: 0.9375rem;
}

.media-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.5rem;
}

.media-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.6);
  background: transparent;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s var(--ease-out), background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.media-dot:hover {
  transform: scale(1.2);
  border-color: var(--gold-light);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.media-dot.active {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.35), 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Hero */
.hero {
  background: var(--navy);
  color: #fff;
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(135deg, transparent 30%, rgba(201,169,98,0.08) 100%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  color: #fff;
  margin: 0 0 1.25rem;
}

.hero-lead {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 2rem;
  max-width: 34rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 2rem;
}

.hero-trust {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.5rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.78);
}

.hero-trust li::before {
  content: '— ';
  color: var(--gold);
}

.hero-photo-wrap {
  position: relative;
}

.hero-photo-wrap::before {
  content: '';
  position: absolute;
  top: -12px;
  right: -12px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  pointer-events: none;
}

.hero-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-card {
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--gold);
  margin-top: 2rem;
}

.hero-card h2 {
  font-size: 1.375rem;
  margin: 0 0 0.5rem;
}

.hero-card p { color: var(--muted); font-size: 0.9375rem; margin-bottom: 1rem; }

.hero-card ol {
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.hero-card ol li { margin-bottom: 0.4rem; }

.hero-phone {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 1rem;
}

.hero-phone a { font-weight: 600; color: var(--navy); text-decoration: none; }

/* Banner strip */
.banner-strip {
  padding: 2.5rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.banner-strip a {
  display: block;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.banner-strip a:hover {
  transform: translateY(-4px);
}

.banner-strip img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s var(--ease-out);
}

.banner-strip a:hover img {
  box-shadow: var(--shadow-lg);
}

/* Full bleed video */
.video-full {
  position: relative;
  background: var(--navy);
  line-height: 0;
  min-height: clamp(280px, 42vw, 480px);
  overflow: hidden;
}

.video-full-media {
  position: absolute;
  inset: 0;
}

.video-full video {
  width: 100%;
  height: 100%;
  min-height: clamp(280px, 42vw, 480px);
  object-fit: cover;
  opacity: 0.92;
  display: block;
}

.video-full-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 2.5rem;
  background: linear-gradient(transparent 25%, rgba(12,35,64,0.82) 100%);
  pointer-events: none;
  z-index: 1;
}

.video-full-overlay .overlay-inner {
  pointer-events: auto;
  text-align: center;
  color: #fff;
  max-width: 720px;
}

.video-full-actions,
.cta-actions,
.echolight-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

.video-full-actions {
  margin-top: 0.25rem;
}

.echolight-inline-actions {
  justify-content: flex-start;
}

.cta-actions {
  margin-top: 0.25rem;
}

.video-full-overlay h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.5rem;
}

.video-full-overlay p {
  margin: 0 0 1.25rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.9375rem;
}

/* Sections */
.section { padding: 5rem 0; }
.section-white { background: var(--white); }
.section-cream { background: var(--cream); }
.section-navy { background: var(--navy); color: rgba(255,255,255,0.88); }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .section-label { color: var(--gold-light); }
.section-navy .section-subtitle { color: rgba(255,255,255,0.7); }

.lead {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 44rem;
  margin: 0 auto 2.5rem;
  text-align: center;
  line-height: 1.8;
}

/* Content split */
.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.content-split h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin: 0 0 1.25rem;
}

.content-split ul {
  padding-left: 1.125rem;
  margin: 1.25rem 0 0;
}

.content-split li {
  margin-bottom: 0.625rem;
  color: var(--muted);
}

.content-split li strong { color: var(--text); }

.media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.media-frame img,
.media-frame video {
  width: 100%;
}

/* YouTube 16:9 embed (homepage Echolight feature) */
.smb-yt-feature {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.smb-yt-feature .smb-youtube-ratio {
  max-width: 960px;
  margin: 1.75rem auto 0;
}

.smb-youtube-ratio {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.smb-youtube-ratio iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@supports not (aspect-ratio: 16 / 9) {
  .smb-youtube-ratio {
    height: 0;
    padding-bottom: 56.25%;
  }
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: box-shadow 0.25s, transform 0.25s;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.service-card-icon {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 1.25rem;
}

.service-card h3 {
  font-size: 1.125rem;
  margin: 0 0 0.625rem;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}

.service-card.highlight {
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: 0 12px 40px rgba(12, 35, 64, 0.22);
}

.service-card.highlight:hover {
  box-shadow: 0 20px 52px rgba(12, 35, 64, 0.32);
}

.service-card.highlight h3,
.service-card.highlight p { color: rgba(255,255,255,0.9); }

.service-card.highlight .service-card-icon { background: var(--gold); }

.service-card.highlight .btn-gold { margin-top: 1.25rem; }

/* Echolight showcase (homepage) */
.echolight-showcase {
  position: relative;
}

.echolight-showcase-hero {
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(201, 162, 39, 0.14), transparent 55%),
    linear-gradient(155deg, var(--navy) 0%, var(--navy-soft) 55%, #0a1f38 100%);
  color: rgba(255, 255, 255, 0.92);
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.echolight-showcase-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.echolight-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.echolight-showcase-copy .section-label {
  color: var(--gold-light);
  display: block;
  margin-bottom: 0.75rem;
}

.echolight-showcase-copy h2 {
  color: #fff;
  font-size: clamp(1.75rem, 3.5vw, 2.625rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}

.echolight-lead {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 1.5rem;
  max-width: 38rem;
}

.echolight-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
}

.echolight-pills li {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0.4rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.echolight-showcase-actions {
  justify-content: flex-start;
}

.echolight-showcase-media {
  display: grid;
  gap: 1rem;
}

.echolight-main-video {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.echolight-main-video video,
.echolight-main-video img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.echolight-device-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.echolight-device-card {
  margin: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.echolight-device-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.echolight-device-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.echolight-device-card figcaption {
  padding: 0.5rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
}

.echolight-showcase .echolight-demo-strip {
  margin-top: 0;
}

.echolight-showcase .echolight-demo-strip .video-full-overlay h3 {
  color: #fff;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  margin: 0 0 0.5rem;
}

.echolight-showcase-body {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.echolight-video-library {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.echolight-video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.echolight-video-card {
  border-radius: var(--radius-lg);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.echolight-video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.echolight-video-card h3 {
  font-size: 1rem;
  margin: 1rem 0 0;
  text-align: center;
  color: var(--navy);
}

.echolight-video-card video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #000;
}

.echolight-showcase .profile-cta-band {
  border-radius: 0;
}

/* Echolight metrics (inner pages) */
.echolight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.metric-grid {
  display: grid;
  gap: 0.75rem;
}

.metric-item {
  background: var(--white);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
  box-shadow: 0 2px 8px rgba(12,35,64,0.04);
}

.metric-item strong { color: var(--navy); display: block; margin-bottom: 0.15rem; }

.advantage-list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.advantage-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.advantage-num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-muted);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.8125rem;
  border-radius: 50%;
}

/* Video section */
.video-section {
  padding: 0;
  background: var(--navy-soft);
}

.video-section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}

.video-section-media {
  line-height: 0;
  background: #000;
}

.video-section-media video,
.video-section-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.echolight-gif-media video {
  pointer-events: none;
}

.echolight-promo-section .video-section-text .cta-actions {
  justify-content: flex-start;
}

.video-section-text {
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: rgba(255,255,255,0.88);
}

.video-section-text h2 {
  color: #fff;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin: 0 0 1rem;
}

.video-section-text p {
  margin: 0 0 1.5rem;
  line-height: 1.75;
}

/* Doctor teaser */
.doctor-teaser {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.doctor-teaser-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* Locations */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.location-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}

.location-card:hover {
  box-shadow: 0 16px 48px rgba(12, 35, 64, 0.16);
  transform: translateY(-5px);
}

.location-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  object-position: center;
  border-bottom: 1px solid var(--border);
}

.location-map {
  position: relative;
  height: 240px;
  background: var(--cream-dark);
  border-bottom: 1px solid var(--border);
}

.location-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.location-card-body { padding: 1.75rem; }

.location-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 1rem;
}

.location-card-actions .btn {
  flex: 1;
  min-width: 140px;
  padding: 0.625rem 1rem;
  font-size: 0.8125rem;
}

.location-card.featured {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.location-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.map-section-lead {
  text-align: center;
  color: var(--muted);
  max-width: 36rem;
  margin: -1.5rem auto 2.5rem;
  font-size: 0.9375rem;
}

.location-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.375rem;
}

.location-card p {
  color: var(--muted);
  margin: 0 0 1rem;
  font-size: 0.9375rem;
}

.location-link {
  color: var(--booking);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Booking page */
.booking-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.booking-option {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
}

.booking-option.wa { border-top-color: var(--wa); }
.booking-option.phone { border-top-color: var(--navy-light); }

.booking-option h3 { margin: 0 0 0.5rem; font-size: 1.125rem; }
.booking-option p { color: var(--muted); font-size: 0.875rem; margin-bottom: 1.25rem; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 0 0 3rem;
}

.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
}

.step-num {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  font-weight: 700;
  font-family: var(--font-serif);
  margin-bottom: 0.875rem;
}

.step h4 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-family: var(--font-sans);
}

.step p { margin: 0; font-size: 0.8125rem; color: var(--muted); }

.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 3.5rem 0;
  border-bottom: 3px solid var(--gold);
}

.page-hero h1 {
  color: #fff;
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.page-hero p {
  margin: 0;
  color: rgba(255,255,255,0.82);
  font-size: 1.0625rem;
  max-width: 40rem;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 1.75rem;
}

/* Homepage booking CTA strip (replaces legacy Prenota.png image) */
.booking-cta-strip {
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: rgba(255, 255, 255, 0.9);
  padding: 2.75rem 0;
  border-bottom: 1px solid rgba(201, 169, 98, 0.2);
}

.booking-cta-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
}

.booking-cta-copy h2 {
  color: #fff;
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.booking-cta-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  max-width: 34rem;
}

.booking-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Booking page — clinics emphasis */
.booking-locations-section {
  padding-top: 4rem;
}

.booking-locations-grid {
  margin-top: 0.5rem;
}

.booking-location-card {
  box-shadow: var(--shadow-lg);
}

.booking-location-card.featured {
  border-width: 2px;
}

.booking-location-map {
  height: 280px;
}

.booking-address {
  font-style: normal;
  margin: 0 0 0.75rem;
  line-height: 1.7;
}

.booking-hours {
  font-size: 0.875rem;
  color: var(--text);
  margin: 0 0 0.35rem;
  font-weight: 500;
}

.booking-hours-secondary {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 0 0 1rem;
}

.booking-location-actions .btn-wa {
  flex: 1 1 100%;
  min-width: 100%;
}

.booking-location-actions {
  margin-top: 1.25rem;
}

body.smb-page-prenotazioni .page-hero {
  padding-bottom: 3rem;
}

body.smb-page-prenotazioni .booking-option {
  box-shadow: var(--shadow-interactive);
  transition: box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

body.smb-page-prenotazioni .booking-option:hover {
  box-shadow: var(--shadow-interactive-hover);
  transform: translateY(-3px);
}

body.smb-page-prenotazioni .step {
  box-shadow: var(--shadow-interactive);
  transition: box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

body.smb-page-prenotazioni .step:hover {
  box-shadow: var(--shadow-interactive-hover);
  transform: translateY(-2px);
}

/* Clinic location pages */
.clinic-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.clinic-service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-interactive);
}

.clinic-service-card h2 {
  font-size: 1.375rem;
  margin: 0 0 0.75rem;
}

.clinic-service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.clinic-prestazioni {
  margin-top: 0;
}

.clinic-locations-grid {
  margin-top: 2rem;
}

.clinic-locations-single {
  max-width: 720px;
  margin-inline: auto;
}

.clinic-footer-note {
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
  text-align: center;
}

.clinic-crosslink-band {
  border-radius: 0;
}

body.smb-page-clinic .location-card {
  box-shadow: var(--shadow-lg);
}

.prose { max-width: 48rem; margin: 0 auto; }
.prose h2 { margin-top: 2.5rem; font-size: 1.75rem; }

.prose-with-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* Profile page */
.profile-intro {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

.profile-photo-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.profile-photo-main img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  object-position: top center;
}

.profile-intro-text h1 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin: 0 0 1rem;
}

.profile-intro-text .lead-profile {
  font-size: 1.0625rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
  line-height: 1.8;
}

.credentials-section {
  max-width: 820px;
  margin: 0 auto;
}

.credentials-section h2 {
  text-align: center;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin: 0 0 2rem;
}

.timeline {
  display: grid;
  gap: 0;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0.65rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(var(--gold), var(--border));
}

.timeline-item {
  position: relative;
  padding: 0 0 1.75rem 2.5rem;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0.25rem;
  top: 0.45rem;
  width: 0.875rem;
  height: 0.875rem;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold-muted);
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.profile-highlight {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow);
}

.profile-highlight h2 {
  font-size: 1.375rem;
  margin: 0 0 1rem;
}

.profile-highlight > p {
  color: var(--muted);
  margin: 0 0 1.25rem;
  line-height: 1.8;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.profile-tag {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 0.875rem;
  font-size: 0.8125rem;
  color: var(--text);
}

.profile-cta-band {
  background: var(--navy);
  color: rgba(255,255,255,0.88);
  text-align: center;
  padding: 3rem 0;
}

.profile-cta-band h2 {
  color: #fff;
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.profile-cta-band p {
  margin: 0 0 1.5rem;
  color: rgba(255,255,255,0.78);
}

.notice-box {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  color: #78350f;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.hours-grid {
  display: grid;
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.hours-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.hours-block h4 {
  margin: 0 0 0.35rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--navy);
}

.hours-block address {
  font-style: normal;
  color: var(--muted);
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
  line-height: 1.65;
}

.hours-block .hours {
  font-size: 0.875rem;
  color: var(--text);
}

.services-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  gap: 0.5rem;
}

.services-list li {
  padding: 0.75rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  font-size: 0.9375rem;
}

.content-block {
  max-width: 820px;
  margin: 0 auto;
}

.content-block p {
  color: var(--text);
  line-height: 1.8;
}

.content-block h2 {
  margin: 2.5rem 0 1rem;
  font-size: 1.5rem;
}

.content-block h2:first-child { margin-top: 0; }

.video-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

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

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.78);
  padding: 4rem 0 1.5rem;
  border-top: 3px solid var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.site-footer h4 {
  color: #fff;
  font-size: 1.0625rem;
  margin: 0 0 1rem;
}

.site-footer p, .site-footer li { font-size: 0.875rem; line-height: 1.75; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  transition: color 0.2s, transform 0.2s var(--ease-out);
}

.site-footer a:hover {
  color: var(--gold-light);
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  text-align: center;
  letter-spacing: 0.04em;
}

/* Mobile bar */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 0.625rem 0.75rem;
  gap: 0.5rem;
  box-shadow: 0 -12px 32px rgba(12, 35, 64, 0.12);
}

.mobile-bar .btn {
  flex: 1;
  padding: 0.75rem 0.5rem;
  font-size: 0.8125rem;
  box-shadow: var(--shadow-interactive);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--navy);
  border-radius: var(--radius);
  padding: 0.25rem 0.5rem;
  box-shadow: 0 2px 8px rgba(12, 35, 64, 0.08);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s, background 0.2s;
}

.nav-toggle:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-interactive);
  background: rgba(201, 169, 98, 0.1);
}

/* Interactive depth & subtle motion */
@keyframes smb-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes smb-glow-pulse {
  0%, 100% { box-shadow: var(--shadow-btn-gold); }
  50% { box-shadow: 0 10px 32px rgba(201, 169, 98, 0.52); }
}

.hero-actions .btn-gold:first-child,
.profile-cta-band .btn-gold.btn-lg,
.echolight-cta-band .btn-gold.btn-lg {
  animation: smb-glow-pulse 3.5s ease-in-out infinite;
}

.hero-actions .btn-gold:first-child {
  animation: smb-float 4s ease-in-out infinite, smb-glow-pulse 3.5s ease-in-out infinite;
}

.hero-actions .btn-gold:first-child:hover,
.profile-cta-band .btn-gold.btn-lg:hover,
.echolight-cta-band .btn-gold.btn-lg:hover {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .service-card,
  .location-card,
  .banner-strip a,
  .echolight-video-card,
  .echolight-device-card,
  .main-nav a,
  .media-dot,
  .nav-toggle {
    transition: none !important;
    animation: none !important;
  }

  .btn:hover,
  .service-card:hover,
  .location-card:hover,
  .banner-strip a:hover,
  .echolight-video-card:hover,
  .echolight-device-card:hover,
  .main-nav a:hover,
  .nav-toggle:hover {
    transform: none !important;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid,
  .content-split,
  .echolight-grid,
  .echolight-showcase-hero-grid,
  .doctor-teaser,
  .video-section-inner,
  .prose-with-media,
  .profile-intro { grid-template-columns: 1fr; }
  .echolight-video-grid { grid-template-columns: 1fr 1fr; }
  .echolight-showcase-actions,
  .echolight-showcase-actions.cta-actions { justify-content: center; }
  .video-section-media video,
  .video-section-media img { min-height: 240px; }
  .video-section-text { padding: 2.5rem 1.5rem; }
}

@media (max-width: 768px) {
  .services-grid,
  .locations-grid,
  .booking-options,
  .steps,
  .footer-grid,
  .echolight-video-grid,
  .echolight-device-gallery { grid-template-columns: 1fr; }

  .nav-toggle { display: block; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem;
    box-shadow: var(--shadow);
  }

  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; }
  .header-cta { display: none; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 4.5rem; }
  .hero-trust { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .booking-cta-strip-inner { flex-direction: column; align-items: flex-start; }
  .booking-cta-actions { width: 100%; }
  .booking-cta-actions .btn { flex: 1; min-width: 140px; }
  .page-hero-actions { flex-direction: column; }
  .page-hero-actions .btn { width: 100%; }
  .clinic-services-grid { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
}

/* —— Avviso ferie (popup) —— */
.smb-holiday {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
}

.smb-holiday[hidden] {
  display: none !important;
}

.smb-holiday__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 22, 40, 0.72);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.smb-holiday__card {
  position: relative;
  z-index: 1;
  width: min(480px, 100%);
  background: #ffffff !important;
  color: #0c2340 !important;
  border-radius: 14px;
  padding: 28px 26px 24px;
  box-shadow: 0 28px 64px rgba(8, 22, 40, 0.4);
  border: 1px solid #d7e0ea;
  animation: smb-holiday-in 0.35s var(--ease-out, ease) both;
}

@keyframes smb-holiday-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.smb-holiday__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #4a5d73 !important;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.smb-holiday__close:hover {
  background: #eef3f8;
  color: #0c2340 !important;
}

.smb-holiday__eyebrow {
  margin: 0 0 6px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: #8a6a2a !important;
}

.smb-holiday__title,
.smb-holiday__card h2.smb-holiday__title {
  margin: 0 0 12px;
  font-family: var(--font-serif, Georgia, serif);
  font-size: clamp(1.55rem, 4vw, 1.9rem);
  color: #0c2340 !important;
  line-height: 1.2;
}

.smb-holiday__text,
.smb-holiday__card p.smb-holiday__text {
  margin: 0 0 10px;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #1a2f45 !important;
}

.smb-holiday__text strong {
  color: #0c2340 !important;
  font-weight: 700;
}

.smb-holiday__text--muted,
.smb-holiday__card p.smb-holiday__text--muted {
  font-size: 0.95rem;
  color: #3d5166 !important;
  margin-bottom: 20px;
}

.smb-holiday__actions {
  display: flex;
  justify-content: center;
}

.smb-holiday__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 12px 28px;
  border: 0;
  border-radius: 8px;
  background: #0c2340 !important;
  color: #ffffff !important;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  box-shadow: none;
}

.smb-holiday__btn:hover,
.smb-holiday__btn:focus {
  background: #163a63 !important;
  color: #ffffff !important;
}

@media (prefers-reduced-motion: reduce) {
  .smb-holiday__card {
    animation: none;
  }
}
.smb-holiday__mail,
.smb-holiday__card a.smb-holiday__mail {
  color: #0c2340 !important;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.smb-holiday__mail:hover,
.smb-holiday__card a.smb-holiday__mail:hover {
  color: #163a63 !important;
}
