/* =========================================================
   Modern Premium Healthcare — Dark Liquid Glass UI Design System
   Color Palette:
     --primary:      #0B5FFF (Professional Medical Blue)
     --secondary:    #00B8D9 (Clean Cyan Accent)
     --deep-bg:      #050C17 (Deep Dark Base Background)
     --surface-dark: #0A192F (Dark Navy Panel Base)
     --glass-bg:     rgba(10, 25, 47, 0.55) (Dark Glass Layer)
     --glass-border: rgba(255, 255, 255, 0.12) (Subtle Edge Highlight)
     --dark-text:    #F0F6FC (High Contrast Bright Text)
     --soft-text:    #94A3B8 (Soft Blue-Gray Copy)
     --accent-grad:  linear-gradient(135deg, #0B5FFF, #00B8D9)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #0B5FFF;
  --secondary: #00B8D9;
  --deep-bg: #050C17;
  --surface-dark: #0A192F;
  --glass-bg: rgba(10, 25, 47, 0.55);
  --glass-border: rgba(255, 255, 255, 0.12);
  --dark-text: #F0F6FC;
  --soft-text: #94A3B8;
  --accent-grad: linear-gradient(135deg, #0B5FFF, #00B8D9);
  
  --line: rgba(255, 255, 255, 0.08);
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 12px;
  
  --shadow-soft: 0 12px 32px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  --shadow-raised: 0 16px 36px rgba(11, 95, 255, 0.35);
  --shadow-glow: 0 0 28px rgba(0, 184, 217, 0.4);
  --nav-h: 74px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--deep-bg);
  background-image: 
    radial-gradient(at 0% 0%, rgba(11, 95, 255, 0.12) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(0, 184, 217, 0.1) 0px, transparent 50%);
  color: var(--dark-text);
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--nav-h) + 24px);
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', serif;
  color: var(--dark-text);
  margin: 0 0 0.4em;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5.5vw, 3.5rem); line-height: 1.08; font-weight: 600; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1.15; }
h3 { font-size: 1.25rem; }

p { color: var(--soft-text); margin: 0 0 1em; }

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

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.eyebrow {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--accent-grad);
  display: inline-block;
  border-radius: 2px;
}

/* ================= TOPBAR / HEADER ================= */


/* ============ STICKY & ROUNDED HEADER ============ */
/* ============ STICKY & ROUNDED HEADER ============ */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;            /* Reduced overall vertical padding */
  max-width: 1120px;
  
  /* Sticky Position */
  position: sticky;
  top: 12px;                     /* Slightly reduced top offset */
  z-index: 1000;
  
  /* Center alignment & Floating margins */
  margin: 0 auto 16px auto;
  width: calc(100% - 24px);

  /* Glassmorphism Styling */
  border-radius: 16px;           /* Slightly tighter border radius */
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--dark-text);
}

.brand .tooth-mark {
  width: 36px;                   /* Scaled down from 40px */
  height: 36px;
  border-radius: 50%;
  background: var(--accent-grad);
  display: grid; 
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(11, 95, 255, 0.4);
}

.brand .tooth-mark svg { 
  width: 18px; 
  height: 18px; 
  fill: #ffffff; 
}

.brand small {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--soft-text);
  margin-top: 1px;
}

.topbar .call-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  color: var(--secondary);
  padding: 8px 14px;             /* Compact button padding */
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.topbar .call-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 184, 217, 0.4);
  box-shadow: 0 6px 20px rgba(0, 184, 217, 0.2);
}

.topbar .call-chip svg { 
  width: 14px; 
  height: 14px; 
  fill: var(--secondary); 
}
/* ================= HERO SECTION ================= */
.hero {
  position: relative;
  padding: 20px 0 60px;
  overflow: hidden;
}
/* Floating ambient dark gradient orbs */
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  z-index: -1;
  pointer-events: none;
}
.hero::before {
  width: 350px; height: 350px;
  background: rgba(11, 95, 255, 0.25);
  top: -40px; left: -60px;
  animation: floatOrb 10s ease-in-out infinite alternate;
}
.hero::after {
  width: 400px; height: 400px;
  background: rgba(0, 184, 217, 0.18);
  bottom: 0; right: -80px;
  animation: floatOrb 12s ease-in-out infinite alternate-reverse;
}
@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, 20px) scale(1.08); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.hero-copy p.lead {
  font-size: 1.08rem;
  max-width: 46ch;
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-stats .stat b {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 1.75rem;
  color: var(--dark-text);
}
.hero-stats .stat span {
  font-size: 0.78rem;
  color: var(--soft-text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}
.hero-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  padding: 8px;
  transition: transform 0.4s ease;
}
.hero-photo:hover {
  transform: translateY(-4px);
}
.hero-photo img { 
  width: 100%; 
  height: 420px; 
  object-fit: cover; 
  object-position: center 20%; 
  border-radius: calc(var(--radius-lg) - 6px);
  transition: transform 0.5s ease;
  filter: brightness(0.92) contrast(1.05);
}
.hero-photo:hover img {
  transform: scale(1.02);
  filter: brightness(1) contrast(1);
}
.hero-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(10, 25, 47, 0.75);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--glass-border);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}
.hero-badge .dot { 
  width: 10px; height: 10px; 
  border-radius: 50%; 
  background: var(--secondary); 
  box-shadow: 0 0 10px var(--secondary);
  animation: pulse 1.8s infinite; 
}
@keyframes pulse { 
  0%, 100% { opacity: 1; transform: scale(1); } 
  50% { opacity: 0.4; transform: scale(0.85); } 
}
.hero-badge span { font-size: 0.82rem; font-weight: 700; color: var(--dark-text); }


/* Full-Width Background Hero Section */
.hero-bg-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 60px 0;
  /* Path to your dental photo */
  background-image: url('images/image2.png'); 
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;

  border-radius: 24px;       /* Adjust pixel value to control roundness */
  overflow: hidden;          /* Clips overlay & image cleanly to the rounded edges */
  
  /* Optional: Adds space around the hero block so you can see the rounded outer edge */
  margin: 20px auto;
  max-width: 1200px;
}

/* Dark gradient overlay to ensure readable white text over bright photo areas */
.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg, 
    rgba(5, 12, 23, 0.92) 0%, 
    rgba(5, 12, 23, 0.75) 55%, 
    rgba(5, 12, 23, 0.35) 100%
  );
  z-index: 1;
}

/* Ensure text sits on top of the background overlay */
.hero-content {
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 620px;
}

.hero-copy h1 {
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.hero-copy p.lead {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.94rem;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn-primary { 
  background: var(--accent-grad); 
  color: #ffffff; 
  box-shadow: var(--shadow-raised); 
}
.btn-primary:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 18px 40px rgba(11, 95, 255, 0.45), var(--shadow-glow); 
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost { 
  background: rgba(255, 255, 255, 0.05); 
  color: var(--dark-text); 
  border: 1px solid var(--glass-border); 
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-ghost:hover { 
  background: rgba(255, 255, 255, 0.12); 
  border-color: rgba(0, 184, 217, 0.4); 
  transform: translateY(-2px); 
}

.btn-dark { 
  background: rgba(255, 255, 255, 0.1); 
  color: #ffffff; 
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn-dark:hover { 
  background: var(--primary); 
  border-color: var(--primary);
  transform: translateY(-2px); 
  box-shadow: 0 14px 30px rgba(11, 95, 255, 0.4);
}

.btn-block { width: 100%; }
.btn:focus-visible { outline: 3px solid var(--secondary); outline-offset: 3px; }

/* ================= SECTION HELPERS ================= */
section { padding: 60px 0; }
.section-head { max-width: 620px; margin: 0 0 36px; }
.section-tight { padding-top: 10px; }

.bg-panel { 
  background: var(--glass-bg); 
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: 40px; 
  box-shadow: var(--shadow-soft);
}
.bg-dark { 
  background: linear-gradient(145deg, #071324, #030810); 
  color: #ffffff; 
  border: 1px solid var(--glass-border);
  border-radius: 40px;
  position: relative;
  overflow: hidden;
}
.bg-dark h2, .bg-dark h3 { color: #ffffff; }
.bg-dark p { color: var(--soft-text); }

.story-panel {
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.story-panel .hero-photo img { height: 320px; }

@media (max-width: 880px) {
  .story-panel { grid-template-columns: 1fr; padding: 32px; }
  .story-panel .hero-photo { order: -1; }
  .story-panel .hero-photo img { height: 250px; }
}

/* ================= CARD GRIDS & DARK LIQUID GLASS CARDS ================= */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.info-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}
.info-card:hover {
  transform: translateY(-4px);
  background: rgba(14, 30, 54, 0.7);
  border-color: rgba(0, 184, 217, 0.3);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.info-card .icon-badge {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(11, 95, 255, 0.2), rgba(0, 184, 217, 0.2));
  border: 1px solid rgba(0, 184, 217, 0.25);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.info-card .icon-badge svg { width: 22px; height: 22px; color: var(--secondary); }

/* Service Cards */
.service-card {
  background: rgba(22, 45, 78, 0.65); /* Lighter card background */
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-radius: var(--radius-md);
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.2); /* Lighter border highlight */
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.service-card:hover { 
  transform: translateY(-6px); 
  background: rgba(30, 60, 100, 0.8);
  border-color: rgba(0, 184, 217, 0.5);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 24px rgba(0, 184, 217, 0.25); 
}
.service-card .num {
  font-family: 'Fraunces', serif;
  font-size: 0.88rem;
  color: var(--secondary);
  font-weight: 700;
}
.service-card h3 { margin-bottom: 2px; }
.service-card p { font-size: 0.92rem; margin-bottom: 8px; }
.service-card .price-tag {
  align-self: flex-start;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--secondary);
  background: rgba(0, 184, 217, 0.12);
  border: 1px solid rgba(0, 184, 217, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin-top: auto;
}

/* Before / After Gallery */
.transform-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.transform-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.transform-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 184, 217, 0.3);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.5);
}
.transform-card img { width: 100%; height: 230px; object-fit: cover; filter: brightness(0.95); }
.transform-card .cap { padding: 18px 20px 22px; }
.transform-card .cap .tag {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
}
.transform-card .cap h3 { margin: 6px 0 4px; font-size: 1.05rem; }
.transform-card .cap p { font-size: 0.88rem; margin: 0; }

/* Review Marquee */
.review-wrap { overflow: hidden; position: relative; padding: 10px 0; }
.review-wrap::before, .review-wrap::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2;
  pointer-events: none;
}
.review-wrap::before { left: 0; background: linear-gradient(90deg, var(--deep-bg), transparent); }
.review-wrap::after { right: 0; background: linear-gradient(-90deg, var(--deep-bg), transparent); }
.review-track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: scrollLeft 34s linear infinite;
}
.review-wrap:hover .review-track { animation-play-state: paused; }
@keyframes scrollLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.review-card {
  width: 320px;
  flex-shrink: 0;
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
}
.review-card .stars { color: #FFC72C; letter-spacing: 2px; font-size: 0.95rem; margin-bottom: 12px; }
.review-card p.quote { font-size: 0.9rem; color: var(--dark-text); min-height: 78px; }
.review-card .who { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.review-card .avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent-grad); color: #ffffff;
  display: grid; place-items: center; font-weight: 800; font-size: 0.85rem;
  font-family: 'Fraunces', serif;
}
.review-card .who b { font-size: 0.85rem; display: block; color: var(--dark-text); }
.review-card .who span { font-size: 0.72rem; color: var(--soft-text); }

/* ================= FOOTER ================= */
footer.site-footer {
  background: #030810;
  color: var(--soft-text);
  padding: 50px 0 34px;
  margin-top: 40px;
  border-top: 1px solid var(--glass-border);
}
footer.site-footer h4 { color: #ffffff; font-size: 1.05rem; }
footer.site-footer a:hover { color: var(--secondary); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 36px;
  padding-top: 20px;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 0.88rem; }

/* ================= FLOATING LIQUID GLASS NAVBAR (DARK) ================= */
.bottom-nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: var(--nav-h);
  z-index: 9999;
  display: flex;
  justify-content: center;
  pointer-events: none;
  transition: all 0.3s ease;
}
.bottom-nav-inner {
  pointer-events: auto;
  width: calc(100% - 32px);
  max-width: 540px;
  margin: 0 auto 16px auto;
  
  /* Transparent Dark Glass Capsule */
  background: rgba(10, 25, 47, 0.45);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 8px 12px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease, transform 0.3s ease;
}

/* Compact Dark Glass State linked to scroll */
.bottom-nav.scrolled .bottom-nav-inner {
  background: rgba(10, 25, 47, 0.65);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  padding: 6px 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--soft-text);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 6px 14px;
  border-radius: 999px;
  transition: all 0.2s ease;
  flex: 1;
  text-align: center;
}
.nav-item svg { width: 19px; height: 19px; transition: transform 0.2s ease; }
.nav-item:hover { color: var(--secondary); }
.nav-item:hover svg { transform: translateY(-1px); }

.nav-item.active { 
  color: #ffffff; 
  background: rgba(0, 184, 217, 0.15); 
  border: 1px solid rgba(0, 184, 217, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Center Action Floating Capsule Button */
.nav-book {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(-20px);
}
.nav-book .fab {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--accent-grad);
  display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(11, 95, 255, 0.45);
  border: 4px solid var(--deep-bg);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}
.nav-book .fab svg { width: 24px; height: 24px; color: #ffffff; }
.nav-book:hover .fab { 
  transform: scale(1.08) translateY(-2px); 
  box-shadow: 0 14px 32px rgba(0, 184, 217, 0.5), var(--shadow-glow);
}
.nav-book span {
  margin-top: 4px;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: 0.02em;
}

/* Fallback for browsers without backdrop-filter support */
@supports not (backdrop-filter: blur(1px)) {
  .bottom-nav-inner, .info-card, .service-card, .form-shell, .bg-panel {
    background: rgba(10, 25, 47, 0.95) !important;
  }
}

/* ================= BOOK FORM ================= */
.form-shell {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  padding: 38px;
  max-width: 660px;
  margin: 0 auto;
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--dark-text);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 12, 23, 0.6);
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem;
  color: var(--dark-text);
  transition: all 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--secondary);
  background: rgba(5, 12, 23, 0.9);
  box-shadow: 0 0 0 4px rgba(0, 184, 217, 0.18);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.radio-group { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-pill {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--soft-text);
  background: rgba(5, 12, 23, 0.5);
  transition: all 0.2s ease;
}
.radio-pill input { display: none; }
.radio-pill.checked, .radio-pill:has(input:checked) {
  background: var(--accent-grad);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(11, 95, 255, 0.35);
}

.form-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: rgba(0, 184, 217, 0.08);
  border: 1px solid rgba(0, 184, 217, 0.2);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--dark-text);
  margin-bottom: 24px;
}
.form-note svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; fill: var(--secondary); }

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success.show { display: block; }
.form-success .check {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--accent-grad);
  display: grid; place-items: center;
  margin: 0 auto 18px;
  box-shadow: var(--shadow-glow);
}
.form-success .check svg { width: 32px; height: 32px; color: #ffffff; }

/* ================= CONTACT / MAP ================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  padding: 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-card .icon-badge {
  width: 46px; height: 46px; border-radius: 14px;
  background: rgba(0, 184, 217, 0.12); display: grid; place-items: center; flex-shrink: 0;
  border: 1px solid rgba(0, 184, 217, 0.25);
}
.contact-card .icon-badge svg { width: 20px; height: 20px; color: var(--secondary); }
.contact-card h3 { margin-bottom: 4px; font-size: 1.05rem; }
.contact-card p { margin-bottom: 6px; font-size: 0.92rem; }

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  margin-top: 30px;
}
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; filter: invert(0.9) hue-rotate(180deg); }

.hours-table { width: 100%; border-collapse: collapse; margin-top: 6px; }
.hours-table td { padding: 8px 0; font-size: 0.9rem; border-bottom: 1px dashed rgba(255, 255, 255, 0.1); }
.hours-table td:last-child { text-align: right; font-weight: 700; color: var(--secondary); }

/* ================= PAGE HERO STRIP ================= */
.page-head { padding: 30px 0 40px; }
.page-head .eyebrow { margin-bottom: 10px; }
.page-head p.lead { max-width: 56ch; }

/* ================= ACCESSIBILITY & MOTION ================= */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ================= RESPONSIVE DESIGN ================= */
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo img { height: 320px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .transform-gallery { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  /* Ultra-Slim Mobile Header */
  .topbar {
    padding: 6px 12px;                  /* Reduced top/bottom padding to keep height thin */
    top: 8px;                           /* Closer to top edge */
    width: calc(100% - 16px);           /* Leaves 8px margin on left/right */
    border-radius: 12px;
    flex-wrap: nowrap !important;       /* Prevents elements from stacking into 2 rows */
    gap: 8px;
  }

  .brand {
    gap: 8px;
    font-size: 0.9rem;                  /* Scaled down text size */
    min-width: 0;                       /* Prevents flex box overflow */
  }

  .brand .tooth-mark {
    width: 28px;                        /* Scaled down icon height/width */
    height: 28px;
  }

  .brand .tooth-mark svg {
    width: 14px;
    height: 14px;
  }

  .brand small {
    display: none !important;           /* Hides tagline on mobile to save vertical space */
  }

  .topbar .call-chip {
    padding: 6px 10px;                  /* Compact button dimensions */
    font-size: 0.75rem;
    flex-shrink: 0;                     /* Prevents button from squeezing */
    gap: 4px;
  }

  .topbar .call-chip svg {
    width: 12px;
    height: 12px;
  }

  .topbar .call-chip span.chip-label {
    display: none;                      /* Shows icon only or short label if needed */
  }

  /* Other Mobile Grid Settings */
  .grid-3, .grid-2, .transform-gallery { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .form-shell { padding: 26px; }
  .hero-stats { gap: 20px; }
  .bottom-nav-inner { width: calc(100% - 20px); margin-bottom: 10px; }
}

/* Extra small mobile screens (under 380px wide) */
@media (max-width: 380px) {
  .topbar {
    padding: 5px 10px;
  }
  .brand {
    font-size: 0.82rem;
  }
}