/* Public site v2 — premium layout, existing maroon brand palette */
:root {
  --primary: #7a0019;
  --primary-rgb: 122, 0, 25;
  --primary-dark: #5c0013;
  --primary-light: #8a001f;
  --accent: #b3002d;
  --gold: #c9a227;
  --bg: #faf9f7;
  --surface: #ffffff;
  --surface2: #f5f3f0;
  --border: #e8e4df;
  --text: #1a1a1a;
  --text-muted: #6b7280;
  --nav-bg: rgba(255, 255, 255, 0.96);
  --v2-header-bg: rgba(255, 255, 255, 0.96);
  --shadow: 0 8px 32px rgba(var(--primary-rgb), 0.1);
  --shadow-lg: 0 20px 60px rgba(var(--primary-rgb), 0.14);
  --header-h: 72px;
  --preview-h: 0px;
  --container: 1180px;
  --radius: 16px;
  --radius-sm: 10px;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', 'Inter', -apple-system, sans-serif;
  --script: 'Great Vibes', cursive;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

.site-anchor { scroll-margin-top: calc(var(--header-h) + var(--preview-h) + 20px); }

body.site-v2 {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.v2-container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.v2-script {
  font-family: var(--script);
  font-weight: 400;
  color: var(--accent);
}

.v2-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.v2-eyebrow-light { color: rgba(255, 255, 255, 0.75); }

.v2-section-title {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text);
}

.v2-section-title.v2-light { color: #fff; }

.v2-section-lead {
  margin-top: 14px;
  max-width: 560px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.v2-muted { color: var(--text-muted); }

/* Preview bar (unused on live; kept for optional legacy preview pages) */
.v2-preview-bar {
  display: none;
}

/* Header — keep light glass (theme --nav-bg is maroon for staff UI) */
.v2-header {
  position: fixed;
  top: var(--preview-h);
  left: 0;
  right: 0;
  z-index: 350;
  height: var(--header-h);
  background: var(--v2-header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.08);
  transition: box-shadow 0.3s, border-color 0.3s, background 0.3s;
}

.v2-header.is-scrolled {
  box-shadow: var(--shadow);
  border-bottom-color: var(--border);
  background: #fff;
}

.v2-header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.v2-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.v2-brand-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.v2-brand-text {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 280px;
}

.v2-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
  padding: 6px;
}

.v2-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.v2-nav-link {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #374151;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.v2-nav-link:hover,
.v2-nav-link.is-active {
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.08);
}

.v2-nav-staff {
  margin-left: 10px;
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: 999px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.v2-nav-staff:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.35);
}

.v2-main {
  padding-top: calc(var(--header-h) + var(--preview-h));
  padding-bottom: 110px;
}

/* Buttons */
.v2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
}

.v2-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  box-shadow: 0 6px 24px rgba(var(--primary-rgb), 0.3);
}

.v2-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(var(--primary-rgb), 0.4);
}

.v2-btn-outline {
  color: var(--primary);
  background: transparent;
  border-color: rgba(var(--primary-rgb), 0.35);
}

.v2-btn-outline:hover {
  background: rgba(var(--primary-rgb), 0.06);
  border-color: var(--primary);
}

.v2-btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
}

.v2-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
}

.v2-btn-light {
  color: var(--primary);
  background: #fff;
}

.v2-btn-light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.v2-btn-block { width: 100%; }

/* Hero — full-bleed clinic photo, clean copy, logo panel */
.v2-hero {
  position: relative;
  min-height: calc(100vh - var(--header-h) - var(--preview-h));
  min-height: calc(100dvh - var(--header-h) - var(--preview-h));
  display: flex;
  align-items: center;
  overflow: hidden;
}

.v2-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.v2-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.02);
  filter: saturate(1.05);
}

.v2-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(50, 0, 12, 0.9) 0%,
      rgba(92, 0, 19, 0.78) 40%,
      rgba(122, 0, 25, 0.42) 70%,
      rgba(122, 0, 25, 0.18) 100%
    );
}

.v2-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding-top: clamp(36px, 6vh, 64px);
  padding-bottom: clamp(40px, 7vh, 72px);
  width: 100%;
}

.v2-hero-copy { color: #fff; max-width: 560px; }

.v2-hero-brand {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  margin-bottom: 18px;
  line-height: 1.25;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

.v2-hero-title {
  font-family: var(--serif);
  font-size: clamp(2.55rem, 5.8vw, 4rem);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.v2-hero-title .v2-script {
  display: inline-block;
  color: #ffd0d9;
  font-size: 1.08em;
  line-height: 1;
}

.v2-hero-lead {
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  max-width: 460px;
  margin-bottom: 28px;
}

.v2-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.v2-hero-actions .v2-btn-primary {
  color: var(--primary);
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.v2-hero-actions .v2-btn-primary:hover {
  background: #fff7f8;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.v2-hero-phone {
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.v2-hero-phone:hover {
  color: #fff;
  border-bottom-color: #fff;
}

.v2-hero-aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  justify-self: end;
  width: 100%;
  max-width: 380px;
}

.v2-hero-logo-panel {
  width: 100%;
  padding: 42px 44px 36px;
  background:
    radial-gradient(circle at 50% 30%, rgba(179, 0, 45, 0.28), transparent 55%),
    linear-gradient(165deg, #2a050c 0%, #120206 100%);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  animation: v2HeroPanelIn 0.7s ease-out both;
}

.v2-hero-logo-panel img {
  width: 100%;
  max-width: 200px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}

.v2-hero-aside-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@keyframes v2HeroPanelIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.v2-hero-copy {
  animation: v2HeroCopyIn 0.65s ease-out both;
}

@keyframes v2HeroCopyIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Stats */
.v2-stats {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin-top: -1px;
  position: relative;
  z-index: 2;
}

.v2-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.v2-stat {
  padding: 32px 20px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.v2-stat:last-child { border-right: none; }

.v2-stat-num {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}

.v2-stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Sections */
.v2-section {
  padding: 88px 0;
}

.v2-section-muted { background: var(--surface2); }

.v2-section-head {
  margin-bottom: 48px;
}

.v2-section-head-center {
  text-align: center;
}

.v2-section-head-center .v2-section-lead {
  margin-left: auto;
  margin-right: auto;
}

/* Services */
.v2-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.v2-service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.v2-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(var(--primary-rgb), 0.2);
}

.v2-service-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1;
}

.v2-service-card h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary);
}

.v2-service-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* About */
.v2-about {
  padding: 88px 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, var(--accent) 100%);
  color: #fff;
}

.v2-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.v2-about-copy p {
  margin-top: 16px;
  opacity: 0.9;
  line-height: 1.75;
}

.v2-about-copy .v2-btn { margin-top: 28px; }

.v2-about-visual,
.v2-media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.v2-about-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.v2-media-frame .site-video-wrap,
.v2-media-frame .home-slider {
  border-radius: var(--radius);
}

/* Gallery (video + slider) */
.v2-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.v2-gallery-video,
.v2-gallery-slider {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Video embeds */
.site-v2 .site-video-wrap { width: 100%; }
.site-v2 .site-video { width: 100%; height: auto; display: block; }
.site-v2 .site-video-youtube iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

/* Slider (reuses home-slider markup) */
.site-v2 .home-slider {
  position: relative;
  overflow: hidden;
  background: #111;
  border-radius: var(--radius);
}

.site-v2 .home-slider-track {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 200px;
}

.site-v2 .home-slider-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.site-v2 .home-slider-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.site-v2 .home-slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-v2 .home-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  font-size: 22px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.site-v2 .home-slider-btn:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.05);
}

.site-v2 .home-slider-prev { left: 12px; }
.site-v2 .home-slider-next { right: 12px; }

.site-v2 .home-slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.site-v2 .home-slider-dot {
  width: 9px;
  height: 9px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.site-v2 .home-slider-dot.is-active {
  background: #fff;
  transform: scale(1.2);
}

/* Doctors */
.v2-doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 28px;
}

.v2-doctor-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}

.v2-doctor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.v2-doctor-photo-wrap {
  width: 120px;
  height: 120px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(var(--primary-rgb), 0.15);
}

.v2-doctor-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v2-doctor-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
}

.v2-doctor-card h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.v2-doctor-spec {
  font-size: 0.88rem;
  color: var(--accent);
  font-weight: 600;
}

.v2-doctor-branch {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Our Staff page */
.v2-team-hero {
  padding-top: 48px;
}

.v2-team-group {
  margin-top: 40px;
}

.v2-team-group:first-of-type {
  margin-top: 8px;
}

.v2-team-group-title {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  margin: 0 0 20px;
  color: var(--text);
}

.v2-team-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 40px;
}

.v2-empty-note {
  text-align: center;
  color: var(--text-muted);
  padding: 28px 16px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: rgba(var(--primary-rgb), 0.03);
}

/* Steps */
.v2-steps {
  padding: 88px 0;
  background: var(--primary-dark);
  color: #fff;
}

.v2-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.v2-step-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: background 0.25s;
}

.v2-step-card:hover { background: rgba(255, 255, 255, 0.12); }

.v2-step-num {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.25);
  line-height: 1;
  margin-bottom: 12px;
}

.v2-step-card h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.v2-step-card p {
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.65;
}

/* Branches */
.v2-branch-finder {
  margin-top: 8px;
}

.v2-branch-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 28px;
}

.v2-branch-tab {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: var(--sans, 'DM Sans', sans-serif);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.v2-branch-tab:hover {
  border-color: rgba(var(--primary-rgb), 0.35);
  transform: translateY(-1px);
}

.v2-branch-tab.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.v2-branch-panel {
  display: none;
}

.v2-branch-panel.is-active {
  display: block;
  animation: v2BranchIn 0.35s ease;
}

@keyframes v2BranchIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.v2-branch-panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.v2-branch-panel-media {
  min-width: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #111;
  aspect-ratio: 16 / 10;
}

.v2-branch-panel-media .home-slider,
.v2-branch-panel-media .v2-branch-slider {
  height: 100%;
  min-height: 280px;
  border-radius: 0;
}

.v2-branch-panel-media .home-slider-track {
  aspect-ratio: auto;
  height: 100%;
  min-height: 280px;
}

.v2-branch-photos-empty {
  height: 100%;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: rgba(255, 255, 255, 0.75);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  font-size: 0.95rem;
}

.v2-branch-panel-info {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
}

.v2-branch-panel-info h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--primary);
  margin: 0 0 8px;
}

.v2-branch-address {
  color: var(--text-muted);
  margin: 0 0 16px;
  font-size: 0.95rem;
}

.v2-branch-panel-info .v2-branch-details {
  padding: 0;
  margin-bottom: 18px;
}

.v2-branch-panel-info .v2-btn {
  margin-bottom: 18px;
}

.v2-branch-panel-info .v2-branch-map {
  aspect-ratio: 16 / 11;
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  border: 1px solid var(--border);
}

.v2-branches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.v2-branch-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s;
}

.v2-branch-card:hover { box-shadow: var(--shadow); }

.v2-branch-top {
  padding: 24px 24px 16px;
  border-bottom: 1px solid var(--border);
}

.v2-branch-top h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 6px;
}

.v2-branch-top p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.v2-branch-details {
  padding: 16px 24px;
  font-size: 0.9rem;
  line-height: 1.8;
}

.v2-branch-details a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.v2-branch-map {
  aspect-ratio: 16 / 10;
  background: var(--surface2);
}

.v2-branch-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.v2-branch-card .v2-btn { margin: 0 24px 24px; }

@media (max-width: 900px) {
  .v2-branch-panel-grid {
    grid-template-columns: 1fr;
  }

  .v2-branch-tabs {
    justify-content: stretch;
  }

  .v2-branch-tab {
    flex: 1 1 auto;
    text-align: center;
  }
}

/* CTA */
.v2-cta {
  padding: 64px 0;
  background: linear-gradient(135deg, var(--accent), var(--primary));
}

.v2-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: #fff;
}

.v2-cta h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 8px;
}

.v2-cta p { opacity: 0.9; max-width: 480px; }

/* Reviews */
.v2-reviews-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}

.v2-review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}

.v2-review-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.v2-review-name {
  font-weight: 700;
  font-size: 1rem;
}

.v2-review-branch {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.v2-review-stars .site-stars { color: var(--gold); }
.v2-review-stars .site-star { opacity: 0.25; }
.v2-review-stars .site-star.filled { opacity: 1; }

.v2-review-card p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 10px;
}

.v2-review-card time {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.v2-review-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: calc(var(--header-h) + var(--preview-h) + 20px);
  box-shadow: var(--shadow);
}

.v2-review-form-wrap h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.v2-review-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
}

.v2-review-form input,
.v2-review-form select,
.v2-review-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px 14px;
  font-family: var(--sans);
  font-size: 0.92rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.v2-review-form input:focus,
.v2-review-form select:focus,
.v2-review-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.12);
}

.v2-alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  font-size: 0.92rem;
  font-weight: 500;
}

.v2-alert-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.v2-alert-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Floating footer — always visible from first page */
.v2-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10050;
  padding: 0;
  background: transparent;
  pointer-events: none;
}

.v2-footer-float {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin: 0 14px 14px;
  padding: 12px 22px;
  background: linear-gradient(135deg, rgba(60, 0, 14, 0.96), rgba(122, 0, 25, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.35),
    0 0 24px rgba(var(--primary-rgb), 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #fff;
}

.v2-footer-float-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 0 1 220px;
}

.v2-footer-brand {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow:
    0 0 12px rgba(255, 255, 255, 0.45),
    0 0 28px rgba(255, 210, 220, 0.35),
    0 2px 8px rgba(0, 0, 0, 0.35);
}

.v2-footer-tagline {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.v2-footer-float-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 6px;
  flex: 1 1 auto;
}

.v2-footer-float-nav a {
  padding: 6px 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.35),
    0 1px 3px rgba(0, 0, 0, 0.3);
  border-radius: 999px;
  transition: background 0.2s, text-shadow 0.2s, color 0.2s;
}

.v2-footer-float-nav a:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffe3e9;
  text-shadow:
    0 0 14px rgba(255, 255, 255, 0.55),
    0 0 28px rgba(255, 180, 195, 0.45);
}

.v2-footer-float-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  margin-left: auto;
}

.v2-footer-dev {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.v2-footer-dev:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.25);
}

.v2-footer-dev-label {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.45),
    0 0 22px rgba(255, 210, 220, 0.35);
  white-space: nowrap;
}

.v2-footer-dev-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  min-width: 40px;
  max-width: 40px;
  max-height: 40px;
  border-radius: 10px;
  background: #fff;
  box-shadow:
    0 0 12px rgba(255, 255, 255, 0.45),
    0 4px 12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.v2-footer-dev-logo img {
  display: block;
  height: 32px !important;
  width: auto !important;
  max-width: 34px !important;
  max-height: 32px !important;
  object-fit: contain;
}

/* Christmas badge / trees sit above floating footer */
[data-holiday="christmas"] .xmas-dental-badge {
  bottom: 88px !important;
}

[data-holiday="christmas"] .xmas-scene .xmas-tree3d-wrap--main {
  bottom: 72px !important;
}

[data-holiday="christmas"] .xmas-scene .xmas-lucky-cat {
  bottom: 78px !important;
}

/* Back to top */
.v2-back-top {
  position: fixed;
  right: 24px;
  bottom: 92px;
  z-index: 330;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s;
}

.v2-back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.v2-back-top:hover { background: var(--accent); }

/* Responsive */
@media (max-width: 960px) {
  .v2-hero-grid,
  .v2-about-grid,
  .v2-gallery-grid,
  .v2-reviews-layout {
    grid-template-columns: 1fr;
  }

  .v2-hero-aside {
    order: -1;
    max-width: 280px;
    margin: 0 auto;
    justify-self: center;
  }

  .v2-hero-logo-panel { padding: 28px 32px; }

  .v2-hero-grid { text-align: center; }
  .v2-hero-copy { max-width: none; margin: 0 auto; }
  .v2-hero-lead { margin-left: auto; margin-right: auto; }
  .v2-hero-actions { justify-content: center; }
  .v2-hero-brand { max-width: 20em; margin-left: auto; margin-right: auto; }

  .v2-services-grid { grid-template-columns: repeat(2, 1fr); }
  .v2-steps-grid { grid-template-columns: 1fr; }
  .v2-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .v2-stat:nth-child(2) { border-right: none; }
  .v2-stat:nth-child(1),
  .v2-stat:nth-child(2) { border-bottom: 1px solid var(--border); }

  .v2-cta-inner { flex-direction: column; text-align: center; }
  .v2-review-form-wrap { position: static; }

  .v2-footer-float {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    padding: 12px 16px;
    gap: 12px;
  }

  .v2-footer-float-brand {
    flex: 1 1 100%;
    align-items: center;
  }

  .v2-footer-float-meta {
    display: flex;
    flex: 1 1 100%;
    justify-content: center;
    margin-left: 0;
  }

  .v2-footer-dev-logo {
    width: 36px;
    height: 36px;
    min-width: 36px;
    max-width: 36px;
    max-height: 36px;
  }

  .v2-footer-dev-logo img {
    height: 28px !important;
    max-width: 30px !important;
    max-height: 28px !important;
  }
}

@media (max-width: 720px) {
  .v2-nav-toggle { display: block; }

  .v2-nav {
    position: fixed;
    top: calc(var(--preview-h) + var(--header-h));
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    gap: 4px;
    box-shadow: var(--shadow);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
  }

  .v2-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .v2-nav-link { padding: 12px 16px; }
  .v2-nav-staff { margin: 8px 0 0; text-align: center; }

  .v2-services-grid { grid-template-columns: 1fr; }

  .v2-footer-float-nav a { font-size: 0.82rem; padding: 5px 8px; }
  .v2-footer-tagline { display: none; }
  .v2-main { padding-bottom: 130px; }
  .v2-back-top { bottom: 112px; right: 16px; }

  .v2-hero { min-height: auto; padding: 40px 0; }
  .v2-section { padding: 64px 0; }
  .v2-about, .v2-steps { padding: 64px 0; }
}
