/* ==========================================================================
   Main Stylesheet — Template Madre Studi Dentistici
   ========================================================================== */

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

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

body {
  margin: 0;
  font-family: var(--font-main);
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-dark);
  background-color: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.is-locked {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  z-index: 300;
}
.skip-link:focus {
  left: 16px;
}

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

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-blue);
}
.eyebrow--gold {
  color: var(--accent-gold);
}

.section-head {
  max-width: 680px;
  margin-bottom: 48px;
}

.section-title {
  margin: 0 0 12px;
  font-weight: 600;
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.section-subtitle {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--text-dark-muted);
}

/* Pill Buttons (Dentavia style) */
.pill-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 6px 6px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.9375rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: transform 220ms var(--ease-out), background-color 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.pill-cta--light {
  background: #FFFFFF;
  color: var(--bg-dark);
}
.pill-cta--light:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(14, 36, 57, 0.22);
}
.pill-cta--dark {
  background: var(--bg-dark);
  color: var(--text-light);
}
.pill-cta--dark:hover {
  background: var(--accent-blue);
}
.pill-cta--nav {
  background: rgba(255, 255, 255, 0.94);
  color: var(--bg-dark);
  font-size: 0.875rem;
  padding: 5px 5px 5px 16px;
}
.pill-cta--nav.is-active {
  box-shadow: 0 0 0 2px var(--accent-gold);
}
.pill-cta--full {
  width: 100%;
  justify-content: space-between;
}

.pill-cta__circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-dark);
  color: #FFFFFF;
  transition: transform 240ms var(--ease-out);
}
.pill-cta--dark .pill-cta__circle {
  background: var(--accent-gold);
  color: var(--bg-dark);
}
.pill-cta:hover .pill-cta__circle {
  transform: rotate(-45deg);
}

.pill-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.9375rem;
  font-weight: 500;
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  transition: background-color 200ms var(--ease-out), border-color 200ms var(--ease-out);
}
.pill-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #FFFFFF;
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.9375rem;
  font-weight: 500;
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  background: #FFFFFF;
  transition: border-color 180ms;
}
.btn-outline-dark:hover {
  border-color: var(--bg-dark);
}

/* ==========================================================================
   Header Sticky Glassmorfico
   ========================================================================== */
.dv-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 150;
  padding: 14px 16px;
  transition: padding 240ms var(--ease-out);
}

.dv-header__inner {
  width: min(100%, 1320px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 14px 10px 20px;
  border-radius: var(--radius-pill);
  background: rgba(14, 36, 57, 0.34);
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  transition: background-color 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
}

.dv-header.is-scrolled .dv-header__inner {
  background: rgba(14, 36, 57, 0.88);
  box-shadow: 0 14px 34px rgba(9, 24, 39, 0.24);
}

.dv-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.dv-brand__name {
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.dv-brand__city {
  font-size: 0.7rem;
  opacity: 0.72;
}

.dv-nav-links {
  display: none;
  align-items: center;
  gap: 24px;
}
.dv-nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  transition: color 180ms;
}
.dv-nav-link:hover,
.dv-nav-link.is-active {
  color: var(--accent-gold);
}

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

.dv-nav-phone {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}
.dv-nav-phone:hover {
  color: var(--accent-gold);
}

.dv-header__actions .pill-cta--nav {
  display: none;
}

.dv-menu-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(9, 24, 39, 0.72);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: flex-end;
}
.mobile-drawer[hidden] {
  display: none;
}
.mobile-drawer__panel {
  width: min(320px, 86vw);
  height: 100%;
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 20px 24px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid var(--border-dark);
}
.mobile-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-dark);
}
.mobile-drawer__title {
  font-weight: 600;
  font-size: 1rem;
}
.mobile-drawer__close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mobile-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mobile-drawer__link {
  font-size: 1.35rem;
  font-weight: 500;
  padding-block: 4px;
}
.mobile-drawer__meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--border-dark);
  padding-top: 20px;
  font-size: 0.875rem;
  color: var(--text-light-muted);
}
.mobile-drawer__phone {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent-gold);
}

/* ==========================================================================
   Dentavia Hero & Treatments 3D Orbital Stage
   ========================================================================== */
.dv-track {
  position: relative;
  height: 320svh;
  overflow-x: clip;
}

.dv-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow-x: clip;
  overflow-y: hidden;
  color: #FFFFFF;
  background:
    radial-gradient(65% 55% at 50% 42%, rgba(169, 201, 238, 0.2), transparent 72%),
    linear-gradient(115deg, var(--bg-hero-start) 0%, var(--bg-hero-mid) 48%, var(--bg-hero-end) 100%);
}

.dv-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(14, 36, 57, 0.24) 0%, transparent 28%, transparent 72%, rgba(14, 36, 57, 0.34) 100%);
}

.dv-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: radial-gradient(rgba(255, 255, 255, 0.9) 1px, transparent 0);
  background-size: 18px 18px;
}

.dv-wordmark,
.dv-tr-title {
  position: absolute;
  left: 50%;
  top: 32%;
  width: 96vw;
  text-align: center;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.9;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.14) 58%, rgba(255, 255, 255, 0.02) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dv-wordmark {
  font-size: clamp(46px, 12.5vw, 220px);
  transform: translate(-50%, -100%);
}

.dv-tr-title {
  top: clamp(185px, 28%, 270px);
  font-size: clamp(42px, 11vw, 175px);
  opacity: 0;
  transform: translate(-50%, -75%);
}

.dv-tooth-wrap {
  position: absolute;
  left: 50%;
  top: 38%;
  width: clamp(190px, 50vw, 330px);
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
}

.dv-tooth-glow {
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(169, 201, 238, 0.48), transparent 72%);
}

.dv-tooth-shadow {
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 4%;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(9, 24, 39, 0.45), transparent);
  filter: blur(6px);
}

.dv-tooth-img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 24px 32px rgba(9, 24, 39, 0.28));
  animation: toothFloat 4.6s ease-in-out infinite;
}

@keyframes toothFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.dv-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  z-index: 3;
  width: min(100% - 32px, 1320px);
  margin-inline: auto;
  display: grid;
  gap: 14px;
  text-align: center;
}

.dv-h1 {
  margin: 0;
  font-weight: 300;
  font-size: clamp(2.1rem, 7.6vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.dv-copy-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.dv-subtitle {
  margin: 0;
  font-size: 0.975rem;
  line-height: 1.5;
  color: rgba(242, 247, 252, 0.86);
  max-width: 440px;
}

.dv-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* 4 Card Glassmorfiche su Ellisse 3D */
.dv-cards {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.dv-stage.is-active-stage .dv-card {
  will-change: transform, opacity;
}

.dv-card {
  position: absolute;
  top: 0;
  left: 0;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 24px 60px rgba(9, 24, 39, 0.24);
  color: #FFFFFF;
  cursor: pointer;
  transition: background 240ms var(--ease-out), border-color 240ms var(--ease-out);
}
.dv-card:hover {
  background: var(--glass-bg-hover);
  border-color: rgba(255, 255, 255, 0.4);
}

.dv-card__top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.dv-card__num {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent-peach);
}

.dv-card__badge {
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.14);
  color: #F2F7FC;
}

.dv-card__arrow {
  margin-left: auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 200ms, color 200ms, transform 220ms var(--ease-out);
}
.dv-card:hover .dv-card__arrow {
  background: #FFFFFF;
  color: var(--bg-dark);
  transform: rotate(-45deg);
}

.dv-card__title {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.18;
}

.dv-card__desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.48;
  color: rgba(242, 247, 252, 0.84);
}

/* Pager Treatments */
.dv-pager {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
}

.dv-pager-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(14, 36, 57, 0.45);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.dv-pager-arrow:hover {
  background: #FFFFFF;
  color: var(--bg-dark);
}

.dv-pager-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dv-pager-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.4);
  transition: width 260ms var(--ease-out), background-color 200ms;
}
.dv-pager-dot.is-active {
  width: 24px;
  background: #FFFFFF;
}

/* ==========================================================================
   Floating Gallery Studio & Pazienti (Lava Dental style, no video)
   ========================================================================== */
.section-floating-gallery {
  position: relative;
  background: var(--bg-dark);
  color: var(--text-light);
  padding-block: 64px 120px;
  overflow-x: clip;
}

.fg-sticky-stage {
  position: sticky;
  top: 0;
  height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-inline: 20px;
  z-index: 4;
  pointer-events: none;
}

.fg-center-copy {
  max-width: 480px;
  padding: 18px 24px;
  border-radius: var(--radius-md);
  background: rgba(14, 36, 57, 0.72);
  backdrop-filter: blur(8px);
}

.fg-headline {
  margin: 0;
  font-weight: 500;
  font-size: clamp(2rem, 5.2vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
}

.fg-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: -12vh;
}

.fg-item {
  margin: 0;
  will-change: transform;
}

.fg-card {
  overflow: hidden;
  border-radius: 0;
  aspect-ratio: 4 / 5;
  background: var(--bg-dark-deep);
}

.fg-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 420ms var(--ease-smooth);
}
.fg-item:hover .fg-card__img {
  transform: scale(1.12);
}

.fg-caption {
  margin-top: 8px;
  font-size: 0.8125rem;
  color: var(--text-light-muted);
}

/* ==========================================================================
   Smile Wheel con Lancetta Animata allo Scroll (Lava Dental style)
   ========================================================================== */
.section-wheel {
  position: relative;
  background: var(--bg-dark);
  color: var(--text-light);
  height: 360svh;
  overflow-x: clip;
  border-top: 1px solid var(--border-dark);
}

.wheel-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 108px 16px 16px;
  overflow: hidden;
}

.wheel-head {
  position: relative;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(100%, var(--container-max));
  margin-inline: auto;
}

.wheel-pills {
  display: flex;
  gap: 6px;
}

.wheel-pill {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-dark);
  background: transparent;
  color: var(--text-light-muted);
  font-size: 0.78rem;
  font-weight: 600;
  transition: background-color 200ms, color 200ms, border-color 200ms;
}
.wheel-pill.is-active {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--bg-dark);
}

.wheel-stage {
  position: relative;
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 0;
  overflow: hidden;
  padding-top: 10px;
}

.wheel-svg {
  width: min(145vw, 1080px);
  height: min(145vw, 1080px);
  max-width: none;
  flex-shrink: 0;
  transform-origin: center center;
  transition: transform 90ms linear;
  pointer-events: none;
}

.wheel-svg__ring {
  fill: none;
  stroke: rgba(244, 248, 252, 0.16);
  stroke-width: 1.5;
}

.wheel-step__dot {
  fill: var(--accent-gold);
  transform-origin: 600px 115px;
  transition: transform 420ms var(--ease-smooth);
}
.wheel-step.is-active .wheel-step__dot {
  transform: scale(1.4);
}

.wheel-step__bubble {
  fill: var(--bg-dark);
  stroke: rgba(244, 248, 252, 0.45);
  stroke-width: 1.5;
  transition: fill 320ms var(--ease-smooth), stroke 320ms var(--ease-smooth);
}
.wheel-step.is-active .wheel-step__bubble {
  fill: var(--text-light);
  stroke: var(--text-light);
}

.wheel-step__num {
  font-family: var(--font-main);
  font-size: 24px;
  font-weight: 600;
  fill: var(--text-light);
  transition: fill 320ms;
}
.wheel-step.is-active .wheel-step__num {
  fill: var(--bg-dark);
}

.wheel-step__hand {
  fill: none;
  stroke: var(--accent-gold);
  stroke-width: 2.5;
  stroke-linecap: round;
  transform-origin: 600px 135px;
  transform: scaleY(0);
  opacity: 0;
  transition: transform 650ms var(--ease-smooth), opacity 400ms;
}
.wheel-step.is-active .wheel-step__hand {
  transform: scaleY(1);
  opacity: 1;
}

.wheel-center {
  position: absolute;
  left: 50%;
  bottom: clamp(28px, 10vh, 96px);
  transform: translateX(-50%);
  width: min(84%, 520px);
  text-align: center;
  z-index: 3;
}

.wheel-center__counter {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
}

.wheel-center__title {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 2.8vw, 2.1rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--accent-gold);
}

.wheel-center__desc {
  margin: 0;
  font-size: clamp(0.875rem, 1.4vw, 1.02rem);
  line-height: 1.55;
  color: var(--text-light);
}

.wheel-fallback {
  display: none;
  padding-block: 64px;
  gap: 16px;
}

.wheel-fallback-card {
  padding: 20px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
}
.wheel-fallback-num {
  color: var(--accent-gold);
  font-weight: 600;
}
.wheel-fallback-card h3 {
  margin: 6px 0 8px;
}
.wheel-fallback-card p {
  margin: 0;
  color: var(--text-light-muted);
}

/* ==========================================================================
   Services Bicolore Sovrapposto (Lava Dental style)
   ========================================================================== */
.srv-top-band {
  background: var(--bg-light);
  padding-block: 88px 168px;
}

.srv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.srv-card {
  position: relative;
  border: 0;
  padding: 0;
  text-align: left;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 0;
  background: var(--bg-dark);
  color: #FFFFFF;
}

.srv-card.is-wide {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}

.srv-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms var(--ease-smooth);
}
.srv-card:hover .srv-card__bg {
  transform: scale(1.06);
}

.srv-card__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 24, 39, 0.34) 0%, rgba(9, 24, 39, 0.62) 48%, rgba(9, 24, 39, 0.9) 100%);
}

.srv-card__content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.srv-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.srv-card__num {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-gold);
}

.srv-card__circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--bg-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 280ms var(--ease-out);
}
.srv-card:hover .srv-card__circle {
  transform: rotate(45deg) scale(1.08);
}

.srv-card__title {
  margin: 0 0 6px;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 600;
  line-height: 1.18;
}

.srv-card__summary {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: rgba(244, 248, 252, 0.84);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Fascia scura sovrapposta 06..10 */
.srv-bottom-band {
  background: var(--bg-dark);
  color: var(--text-light);
  margin-top: -104px;
  padding-block: 140px 88px;
}

.srv-list {
  display: flex;
  flex-direction: column;
}

.srv-list-row {
  border: 0;
  border-top: 1px solid var(--border-dark);
  background: transparent;
  color: var(--text-light);
  padding: 20px 4px;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  text-align: left;
  transition: background-color 200ms;
}
.srv-list-row:last-child {
  border-bottom: 1px solid var(--border-dark);
}
.srv-list-row:hover {
  background: rgba(255, 255, 255, 0.04);
}

.srv-list-row__num {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-gold);
}

.srv-list-row__title {
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 500;
}

.srv-list-row__circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 240ms var(--ease-out), background-color 200ms, color 200ms;
}
.srv-list-row:hover .srv-list-row__circle {
  background: var(--text-light);
  color: var(--bg-dark);
  transform: rotate(45deg);
}

/* Service Detail Modal */
.srv-modal {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(9, 24, 39, 0.72);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.srv-modal[hidden] {
  display: none;
}

.srv-modal__panel {
  width: min(100%, 560px);
  background: var(--bg-dark);
  color: var(--text-light);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.35);
}

.srv-modal__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.srv-modal__meta {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-gold);
}

.srv-modal__close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-dark);
  background: transparent;
  color: var(--text-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.srv-modal__title {
  margin: 0 0 12px;
  font-size: 1.7rem;
  font-weight: 600;
}

.srv-modal__desc {
  margin: 0 0 24px;
  color: var(--text-light-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Team & Reviews
   ========================================================================== */
.section-team-reviews {
  background: var(--bg-soft);
  padding-block: 88px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 64px;
}

.team-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.team-card__img-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.team-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 420ms var(--ease-out);
}
.team-card:hover .team-card__img-wrap img {
  transform: scale(1.04);
}

.team-card__exp {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: rgba(14, 36, 57, 0.84);
  color: #FFFFFF;
  font-size: 0.6875rem;
  font-weight: 500;
}

.team-card__body {
  padding: 12px;
}

.team-card__name {
  margin: 0 0 4px;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.2;
}

.team-card__role {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--text-dark-muted);
}

.reviews-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 36px;
}

.rating-badge {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
}
.rating-badge strong {
  font-size: 1.5rem;
  color: var(--bg-dark);
}
.rating-badge span {
  font-size: 0.8125rem;
  color: var(--text-dark-muted);
}

.reviews-grid {
  display: grid;
  gap: 20px;
}

.review-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.review-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.review-card__num {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-dark-muted);
}

.review-card__stars {
  display: flex;
  gap: 3px;
  color: var(--accent-blue);
}

.review-card__quote {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--text-dark);
}

.review-card__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
  font-size: 0.875rem;
}

.review-card__tag {
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--bg-soft);
  color: var(--accent-blue);
  font-weight: 500;
}

/* ==========================================================================
   Booking Inline & FAQ (Elqoriva style)
   ========================================================================== */
.section-booking {
  background: var(--bg-light);
  padding-block: 88px;
}

.booking-grid {
  display: grid;
  gap: 40px;
  align-items: start;
  margin-bottom: 72px;
}

.reassurance-list {
  margin: 28px 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.reassurance-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
}
.reassurance-list svg {
  color: var(--accent-blue);
  flex-shrink: 0;
}

.booking-direct-call {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.875rem;
  color: var(--text-dark-muted);
}
.booking-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--bg-dark);
}

.booking-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 18px 44px rgba(16, 36, 56, 0.06);
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-grid-2 {
  display: grid;
  gap: 14px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-row label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-dark);
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(16, 36, 56, 0.22);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--bg-light);
}

.booking-feedback {
  margin: 0;
  min-height: 1.2em;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent-blue);
}

.booking-microcopy {
  margin: 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-dark-muted);
}

.faq-block {
  max-width: 820px;
}
.faq-heading {
  margin: 0 0 20px;
  font-size: 1.5rem;
  font-weight: 600;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}
.faq-question {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-answer {
  margin: 10px 0 0;
  color: var(--text-dark-muted);
  font-size: 0.94rem;
}

/* ==========================================================================
   Location & Map GDPR
   ========================================================================== */
.section-location {
  background: var(--bg-soft);
  padding-block: 88px;
}

.location-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.status-pill.is-open {
  background: #DCFCE7;
  color: #14532D;
}
.status-pill.is-closed {
  background: #FFFFFF;
  color: var(--text-dark);
  border: 1px solid var(--border-light);
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.location-address {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-weight: 600;
}
.location-parking {
  margin: 0 0 20px;
  font-size: 0.9rem;
  color: var(--text-dark-muted);
}

.schedule-list {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.schedule-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.9rem;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-light);
}
.schedule-row dt {
  font-weight: 600;
}
.schedule-row dd {
  margin: 0;
  color: var(--text-dark-muted);
}
.schedule-row dd.is-closed {
  opacity: 0.65;
}

.map-gdpr-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.map-gdpr-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-gdpr-title {
  margin: 0;
  font-size: 1.2rem;
}
.map-gdpr-desc {
  margin: 0;
  max-width: 380px;
  font-size: 0.9rem;
  color: var(--text-dark-muted);
}
.map-gdpr-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}
.map-iframe {
  width: 100%;
  height: 360px;
  border: 0;
  border-radius: var(--radius-lg);
}

/* ==========================================================================
   Footer & Legal Pages
   ========================================================================== */
.site-footer {
  background: var(--bg-dark-deep);
  color: var(--text-light);
  padding-block: 64px 32px;
}

.footer-grid {
  display: grid;
  gap: 32px;
  margin-bottom: 40px;
}
.footer-brand {
  margin: 0 0 10px;
  font-size: 1.25rem;
  font-weight: 600;
}
.footer-heading {
  margin: 0 0 12px;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
}
.footer-line {
  margin: 0 0 8px;
  font-size: 0.9rem;
  color: var(--text-light-muted);
}

.footer-services-list,
.footer-legal-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-light-muted);
}
.footer-services-list a:hover,
.footer-legal-links a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--text-light-muted);
}
.footer-top-link {
  color: var(--accent-gold);
  font-weight: 500;
}

.legal-body {
  background: var(--bg-light);
}
.legal-page {
  padding-block: 64px;
  max-width: 780px;
}
.legal-back {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--accent-blue);
  font-weight: 600;
}
.legal-meta {
  color: var(--text-dark-muted);
  margin-bottom: 32px;
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 480ms var(--ease-out), transform 480ms var(--ease-out);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive & Reduced Motion
   ========================================================================== */
@media (max-height: 639px), (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .dv-tooth-img {
    animation: none;
  }
  .section-wheel {
    height: auto;
  }
  .wheel-sticky {
    display: none;
  }
  .wheel-fallback {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dv-track {
    height: auto;
  }
  .dv-stage {
    position: relative;
    height: auto;
    padding-block: 112px 64px;
  }
  .dv-copy {
    position: relative;
    bottom: auto;
    margin-bottom: 40px;
  }
  .dv-cards {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    width: min(100% - 32px, var(--container-max));
    margin-inline: auto;
    pointer-events: auto;
  }
  .dv-card {
    position: relative;
    width: 100% !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .dv-pager,
  .dv-tr-title {
    display: none;
  }
}

@media (min-width: 768px) {
  .dv-track {
    height: 440svh;
  }
  .dv-tooth-wrap {
    top: 44%;
    width: clamp(240px, 27vw, 390px);
  }
  .dv-copy {
    bottom: clamp(32px, 5vh, 56px);
    grid-template-columns: 1.25fr 0.9fr;
    align-items: end;
    text-align: left;
  }
  .dv-copy-right {
    align-items: flex-start;
  }
  .dv-actions {
    justify-content: flex-start;
  }

  /* Lava Dental asymmetric 12-col floating gallery — outer columns keep center clear */
  .fg-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    margin-top: -12vh;
  }
  .fg-item--1 { grid-column: 1 / span 3; }
  .fg-item--2 { grid-column: 10 / span 3; margin-top: 48px; }
  .fg-item--3 { grid-column: 1 / span 3; margin-top: 32px; }
  .fg-item--4 { grid-column: 10 / span 3; margin-top: -16px; }
  .fg-item--5 { grid-column: 1 / span 3; margin-top: 36px; }
  .fg-item--6 { grid-column: 10 / span 3; margin-top: 12px; }

  .srv-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
  .srv-card.is-wide {
    aspect-ratio: 21 / 7;
  }

  .team-grid,
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .team-grid {
    margin-bottom: 80px;
  }
  .team-card__exp {
    left: 12px;
    bottom: 12px;
    padding: 4px 12px;
    font-size: 0.75rem;
  }
  .team-card__body {
    padding: 20px;
  }
  .team-card__name {
    font-size: 1.2rem;
  }
  .team-card__role {
    font-size: 0.9rem;
  }

  .booking-grid,
  .location-grid {
    grid-template-columns: 1fr 1fr;
  }
  .form-grid-2 {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.1fr 1fr 1.1fr;
  }
  .footer-services-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .dv-nav-links,
  .dv-nav-phone,
  .dv-header__actions .pill-cta--nav {
    display: inline-flex;
  }
  .dv-menu-btn {
    display: none;
  }
}
