﻿/* ==========================================================================
   CSS Components — EndoBrace Dental Clinic (Dadar West, Mumbai)
   Atelier Dental Luxury: Royal Navy (#0A192F) · Champagne Gold (#C5A880) · Porcelain White (#F8FAFC)
   Pixel-Perfect Responsive Component Architecture
   ========================================================================== */

/* ==========================================================================
   1. SITE HEADER & TOPBAR
   ========================================================================== */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(10, 25, 47, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-block-end: 1px solid rgba(197, 168, 128, 0.22);
  box-shadow: 0 4px 25px rgba(6, 17, 32, 0.25);
  transition: var(--transition-smooth);
}

.site-header.is-scrolled {
  background-color: rgba(6, 17, 32, 0.98);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.35);
}

/* Nav Topbar */
.nav-topbar {
  background-color: var(--navy-dark);
  border-block-end: 1px solid rgba(255, 255, 255, 0.07);
  padding-block: 6px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.nav-topbar-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 28px;
}

@media (max-width: 640px) {
  .nav-topbar {
    display: none;
  }
}

.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #CBD5E1;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition-fast);

  &:hover {
    color: var(--gold);

    svg {
      stroke: var(--gold);
      transform: scale(1.1);
    }
  }

  svg {
    width: 14px;
    height: 14px;
    stroke: var(--gold);
    fill: none;
    transition: var(--transition-fast);
  }
}

/* Main Navbar */
.navbar-main {
  padding-block: 10px;
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

/* Brand Logo */
.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;

  .brand-logo-img {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    object-fit: contain;
    background: #FFFFFF;
    padding: 2px;
    border: 1.5px solid var(--gold);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    transition: transform var(--transition-fast);
  }

  &:hover .brand-logo-img {
    transform: scale(1.05);
  }

  .brand-text-col {
    display: flex;
    flex-direction: column;
  }

  .brand-name {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.02em;
    line-height: 1.1;
  }

  .brand-slogan {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-top: 2px;
  }
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.1vw, 16px);
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: #E2E8F0;
  text-decoration: none;
  padding: 7px 15px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all var(--transition-fast);
  border: 1.5px solid transparent;
  white-space: nowrap;
}

.nav-link:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

.nav-link.active {
  color: #FFFFFF !important;
  background: rgba(212, 175, 55, 0.22) !important;
  border: 1.5px solid #D4AF37 !important;
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.3) !important;
  font-weight: 700 !important;
}

.nav-link svg.chevron {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
}

/* Nav Actions & Buttons */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #D4AF37 0%, #C5A880 100%);
  color: #0A192F !important;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  padding: 9px 20px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
  transition: var(--transition-fast);
  white-space: nowrap;

  &:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
  }
}

.menu-toggle-btn {
  display: none;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 600;
  transition: var(--transition-fast);

  svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
  }

  &:hover {
    background: rgba(255, 255, 255, 0.15);
  }
}

@media (max-width: 1240px) {
  .nav-menu {
    display: none;
  }
  .menu-toggle-btn {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .brand-name {
    font-size: 1.3rem;
  }
  .brand-slogan {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
  }
  .brand-logo-img {
    width: 36px;
    height: 36px;
  }
  .nav-pill-btn {
    padding: 7px 14px;
    font-size: 0.8rem;
  }
  .menu-toggle-btn {
    padding: 7px 10px;
    font-size: 0.8rem;
  }
  .menu-toggle-btn span {
    display: none;
  }
}

@media (max-width: 400px) {
  .brand-slogan {
    display: none;
  }
  .nav-pill-btn {
    padding: 6px 10px;
    font-size: 0.75rem;
  }
}

/* Section Header Component */
.section-header {
  text-align: center;
  max-width: 800px;
  margin-inline: auto;
  margin-block-end: clamp(36px, 5vw, 60px);
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 700;
  color: #0A192F !important;
  line-height: 1.22;
  margin-block-end: 14px;
  letter-spacing: -0.015em;
}

.section-header p {
  font-size: clamp(0.98rem, 1.2vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-inline: auto;
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block-start: calc(var(--navbar-height) + 65px);
  padding-block-end: 80px;
  background-color: var(--navy-dark);
  background-image: 
    linear-gradient(180deg, rgba(6, 17, 32, 0.88) 0%, rgba(10, 25, 47, 0.72) 45%, rgba(6, 17, 32, 0.94) 100%),
    radial-gradient(circle at 50% 30%, rgba(19, 45, 78, 0.45) 0%, rgba(6, 17, 32, 0.85) 100%),
    url('../images/hero-bg-reception.jpg');
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  color: #FFFFFF;
  text-align: center;
  overflow: hidden;

  &::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 35%, rgba(212, 175, 55, 0.12) 0%, transparent 65%);
    pointer-events: none;
    z-index: 1;
  }

  &::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
      linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 1;
  }
}

.hero-compact {
  min-height: 48vh;
  padding-block-start: calc(var(--navbar-height) + 40px);
  padding-block-end: 50px;
}

/* Page-Specific Authentic Clinic Backgrounds */
.hero-treatments,
.hero-section.hero-treatments {
  background-image: 
    linear-gradient(180deg, rgba(6, 17, 32, 0.88) 0%, rgba(10, 25, 47, 0.68) 45%, rgba(6, 17, 32, 0.94) 100%),
    radial-gradient(circle at 50% 30%, rgba(19, 45, 78, 0.45) 0%, rgba(6, 17, 32, 0.85) 100%),
    url('../images/hero-bg-operatory.jpg') !important;
  background-position: center 30% !important;
  background-size: cover !important;
}

.hero-about,
.hero-section.hero-about {
  background-image: 
    linear-gradient(180deg, rgba(6, 17, 32, 0.90) 0%, rgba(10, 25, 47, 0.72) 45%, rgba(6, 17, 32, 0.95) 100%),
    radial-gradient(circle at 50% 30%, rgba(19, 45, 78, 0.45) 0%, rgba(6, 17, 32, 0.85) 100%),
    url('../images/endobrace-logo-wall.jpg') !important;
  background-position: center 40% !important;
  background-size: cover !important;
}

.hero-contact,
.hero-section.hero-contact {
  background-image: 
    linear-gradient(180deg, rgba(6, 17, 32, 0.88) 0%, rgba(10, 25, 47, 0.72) 45%, rgba(6, 17, 32, 0.94) 100%),
    radial-gradient(circle at 50% 30%, rgba(19, 45, 78, 0.45) 0%, rgba(6, 17, 32, 0.85) 100%),
    url('../images/hero-bg-reception.jpg') !important;
  background-position: center 35% !important;
  background-size: cover !important;
}

.hero-gallery,
.hero-section.hero-gallery {
  background-image: 
    linear-gradient(180deg, rgba(6, 17, 32, 0.88) 0%, rgba(10, 25, 47, 0.70) 45%, rgba(6, 17, 32, 0.94) 100%),
    radial-gradient(circle at 50% 30%, rgba(19, 45, 78, 0.45) 0%, rgba(6, 17, 32, 0.85) 100%),
    url('../images/clinic-waiting-lounge.jpg') !important;
  background-position: center center !important;
  background-size: cover !important;
}

.hero-reviews,
.hero-fees,
.hero-appointment,
.hero-medical,
.hero-section.hero-reviews,
.hero-section.hero-fees,
.hero-section.hero-appointment,
.hero-section.hero-medical {
  background-image: 
    linear-gradient(180deg, rgba(6, 17, 32, 0.88) 0%, rgba(10, 25, 47, 0.70) 45%, rgba(6, 17, 32, 0.94) 100%),
    radial-gradient(circle at 50% 30%, rgba(19, 45, 78, 0.45) 0%, rgba(6, 17, 32, 0.85) 100%),
    url('../images/hero-bg-chair.jpg') !important;
  background-position: center 30% !important;
  background-size: cover !important;
}

.hero-content {
  max-width: 920px;
  margin-inline: auto;
  position: relative;
  z-index: 2;
  padding-inline: 16px;
}

.hero-eyebrow-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-block-end: 20px;

  .hero-line {
    height: 1px;
    width: 48px;
    background-color: var(--gold);
    opacity: 0.6;
  }

  .hero-badge {
    font-size: 0.82rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 50px;
    background: rgba(197, 168, 128, 0.1);
    border: 1px solid rgba(197, 168, 128, 0.3);
  }
}

.hero-title {
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-block-end: 20px;
  letter-spacing: -0.015em;
}

.hero-subtitle-bar {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(197, 168, 128, 0.25);
  border-radius: 50px;
  margin-block-end: 24px;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #E2E8F0;
  font-weight: 600;
}

.hero-description {
  font-size: clamp(1.02rem, 1.25vw, 1.22rem);
  color: #CBD5E1;
  max-width: 740px;
  margin-inline: auto;
  margin-block-end: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   3. BUTTON SYSTEM
   ========================================================================== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;

  &.btn-primary {
    background: linear-gradient(135deg, #D4AF37 0%, #C5A880 100%);
    color: #0A192F !important;
    border: none;
    box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35);

    &:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(212, 175, 55, 0.5);
    }

    &:active {
      transform: translateY(0);
    }
  }

  &.btn-outline {
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF !important;
    border: 1.5px solid rgba(255, 255, 255, 0.4);

    &:hover {
      background: #FFFFFF;
      color: #0A192F !important;
      border-color: #FFFFFF;
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25);
    }
  }

  &.btn-royal {
    background: #0A192F;
    color: #FFFFFF !important;
    border: 1.5px solid #0A192F;
    box-shadow: 0 4px 14px rgba(10, 25, 47, 0.2);

    &:hover {
      background: #163254;
      border-color: #163254;
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(10, 25, 47, 0.3);
    }
  }
}

/* Contextual Outline Buttons outside Dark Hero */
:not(.hero-section) > .button.btn-outline,
:not(.hero-section) .button.btn-outline {
  background: transparent;
  color: var(--navy) !important;
  border: 1.5px solid var(--navy);

  &:hover {
    background: var(--navy);
    color: #FFFFFF !important;
    box-shadow: 0 6px 20px rgba(10, 25, 47, 0.2);
  }
}

/* ==========================================================================
   4. METRICS COUNTER BAR (6+ YEARS EXPERIENCE)
   ========================================================================== */
.metrics-section {
  position: relative;
  z-index: 25;
  margin-top: -36px;
  margin-bottom: 40px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: #FFFFFF;
  border: 1px solid rgba(10, 25, 47, 0.08);
  border-radius: 18px;
  padding: 28px 20px;
  box-shadow: 0 16px 45px rgba(10, 25, 47, 0.08);
}

.metric-item {
  text-align: center;
  border-right: 1px solid rgba(10, 25, 47, 0.08);

  &:last-child {
    border-right: none;
  }
}

.metric-counter {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
  display: block;
}

.metric-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 768px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .metric-item:nth-child(2) {
    border-right: none;
  }
}

/* Digital Dentistry Pillars */
.pillars-section {
  background-color: var(--porcelain);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.pillar-card {
  background: #FFFFFF;
  border: 1px solid rgba(10, 25, 47, 0.08);
  border-radius: 18px;
  padding: 32px 26px;
  box-shadow: 0 8px 24px rgba(10, 25, 47, 0.04);
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 16px 36px rgba(10, 25, 47, 0.08);
}

.pillar-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.pillar-icon-box svg {
  width: 24px;
  height: 24px;
  stroke: #D4AF37;
}

.pillar-title {
  font-family: var(--font-heading);
  font-size: 1.28rem;
  font-weight: 700;
  color: #0A192F !important;
  margin-bottom: 10px;
}

.pillar-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   5. VIDEO TOUR SHOWCASE
   ========================================================================== */
.clinic-video-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #0A192F;
  border: 1.5px solid rgba(197, 168, 128, 0.35);
  box-shadow: 0 25px 60px rgba(10, 25, 47, 0.16);
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
}

.clinic-video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(10, 25, 47, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--gold);
  border: 1px solid rgba(197, 168, 128, 0.4);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
}

.video-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #EF4444;
  box-shadow: 0 0 8px #EF4444;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* ==========================================================================
   6. DOCTOR PROFILE CARDS & SPECIALIST PANEL
   ========================================================================== */
.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

@media (max-width: 900px) {
  .founder-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.doctor-portrait-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px;
  border: 1.5px solid rgba(197, 168, 128, 0.35);
  box-shadow: 0 10px 30px rgba(10, 25, 47, 0.08);
  margin-bottom: 18px;
  transition: transform var(--transition-fast);

  &:hover {
    transform: scale(1.02);
  }
}

.specialist-panel-notice {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #FFFFFF;
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  border-left: 5px solid var(--gold);
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow: 0 10px 30px rgba(10, 25, 47, 0.05);
  color: var(--navy);
  margin-block: 36px;
}

.specialist-panel-icon {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  max-width: 32px !important;
  stroke: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.specialist-panel-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-dark);
  margin-bottom: 6px;
}

/* ==========================================================================
   7. REVIEWS GRID & NEIL DALVI GOOGLE HIGHLIGHT
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.review-card {
  background: #FFFFFF;
  border: 1px solid rgba(10, 25, 47, 0.08);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 8px 24px rgba(10, 25, 47, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-fast);

  &:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(10, 25, 47, 0.09);
    border-color: rgba(197, 168, 128, 0.4);
  }
}

.review-stars {
  color: var(--star-gold);
  font-size: 1.15rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.review-quote {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

.review-author-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid rgba(10, 25, 47, 0.08);
  padding-top: 16px;
}

.review-author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--gold);
}

.review-author-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
}

.review-author-role {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.google-review-card-highlight {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #FFFFFF 0%, #FAF7F2 100%) !important;
  border: 2px solid var(--gold) !important;
  box-shadow: 0 12px 36px rgba(197, 168, 128, 0.18) !important;
  padding: 32px !important;
  border-radius: 18px !important;
}

.google-verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(13, 148, 136, 0.1);
  color: #0D9488;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 50px;
  border: 1px solid rgba(13, 148, 136, 0.25);
}

.google-reviews-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  border: 1px solid rgba(197, 168, 128, 0.35);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);

  .g-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #4285F4;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.82rem;
  }
}

/* ==========================================================================
   8. LOCATION META & CONTACT COMPONENT (SVG FIX)
   ========================================================================== */
.location-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-block: 20px;
}

.location-meta-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;

  svg {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    stroke: var(--gold-dark);
    flex-shrink: 0;
    margin-top: 2px;
  }
}

/* ==========================================================================
   9. TREATMENTS & CATALOG CARDS
   ========================================================================== */
.treatments-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.treatment-card {
  background: #FFFFFF;
  border: 1px solid rgba(10, 25, 47, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(10, 25, 47, 0.04);
  display: flex;
  flex-direction: column;
  transition: var(--transition-fast);

  &:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(10, 25, 47, 0.1);
    border-color: rgba(197, 168, 128, 0.4);
  }
}

.treatment-card-img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;

  .treatment-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
  }
}

.treatment-card:hover .treatment-card-img {
  transform: scale(1.05);
}

.treatment-category-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(10, 25, 47, 0.88);
  backdrop-filter: blur(8px);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
  border: 1px solid rgba(197, 168, 128, 0.3);
}

.treatment-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.treatment-card-title {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}

.treatment-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.treatment-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-dark);
  font-weight: 700;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;

  svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    transition: transform var(--transition-fast);
  }

  &:hover svg {
    transform: translateX(4px);
  }
}

/* ==========================================================================
   10. FORM SYSTEM
   ========================================================================== */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  border: 1.5px solid #CBD5E1;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.95rem;
  color: var(--text-primary);
  background-color: #FFFFFF;
  transition: var(--transition-fast);

  &:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.2);
  }
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

.form-success-box {
  display: none;
  background: rgba(13, 148, 136, 0.08);
  border: 1.5px solid #0D9488;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  color: #065F46;
  animation: fadeInSuccess 0.35s ease-out;

  h3 {
    color: #0D9488;
    margin-bottom: 8px;
    font-size: 1.25rem;
  }

  p {
    margin: 0;
    line-height: 1.55;
    color: #047857;
  }
}

@keyframes fadeInSuccess {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   11. SITE FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--navy-dark);
  color: #94A3B8;
  padding-top: 60px;
  border-top: 1px solid rgba(197, 168, 128, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  margin-bottom: 48px;
}

.footer-col-title {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  color: #CBD5E1;
  font-size: 0.92rem;
  text-decoration: none;
  transition: color var(--transition-fast);

  &:hover {
    color: var(--gold);
  }
}

.subfooter {
  background-color: #040A14;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-block: 20px;
  font-size: 0.84rem;
  color: #64748B;
}

.subfooter-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.subfooter-links {
  display: flex;
  gap: 20px;

  a {
    color: #64748B;
    text-decoration: none;

    &:hover {
      color: var(--gold);
    }
  }
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   12. FULLSCREEN MOBILE DRAWER & NAVIGATION
   ========================================================================== */
body.menu-open,
html.menu-open {
  overflow: hidden !important;
  touch-action: none !important;
  -webkit-overflow-scrolling: auto !important;
}

.fullscreen-menu {
  position: fixed;
  inset: 0;
  z-index: 2500;
  background: radial-gradient(circle at 80% 20%, rgba(13, 27, 48, 0.985) 0%, rgba(6, 17, 32, 0.995) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(24px, 4vw, 48px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y !important;
}

.fullscreen-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.fullscreen-menu.is-open .menu-drawer-inner {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.menu-drawer-close {
  position: fixed;
  top: clamp(16px, 3vw, 24px);
  right: clamp(16px, 3vw, 24px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  color: #FFFFFF;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 2510;
}

.menu-drawer-close:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--gold);
  transform: scale(1.05);
}

.menu-drawer-close svg,
.menu-drawer-close svg * {
  pointer-events: none;
}

.menu-drawer-close svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold);
}

.menu-drawer-inner {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(28px, 4vw, 56px);
  max-width: 960px;
  width: 100%;
  margin: auto;
  transform: translateY(14px) scale(0.98);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.menu-nav-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.menu-nav-link {
  font-family: var(--font-heading);
  font-size: clamp(1.18rem, 1.8vw, 1.35rem);
  color: #E2E8F0;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 12px;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.menu-nav-link:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(212, 175, 55, 0.25);
  transform: translateX(4px);
}

.menu-nav-link.active {
  color: #FFFFFF !important;
  background: rgba(212, 175, 55, 0.18) !important;
  border-color: var(--gold) !important;
  font-weight: 700 !important;
}

.menu-link-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition-fast);
}

.menu-nav-link:hover .menu-link-icon-wrap,
.menu-nav-link.active .menu-link-icon-wrap {
  background: var(--gold);
}

.menu-nav-link:hover .menu-link-icon-wrap svg,
.menu-nav-link.active .menu-link-icon-wrap svg {
  stroke: #061120;
}

.menu-drawer-mobile-actions {
  display: none;
}

/* ==========================================================================
   13. FOUNDER & DOCTOR SECTION STYLES
   ========================================================================== */
.founder-section {
  background-color: var(--porcelain);
  color: var(--text-primary);
}

.founder-img-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(10, 25, 47, 0.12);
  border: 1.5px solid rgba(212, 175, 55, 0.4);

  .founder-img {
    width: 100%;
    height: 540px;
    object-fit: cover;
    object-position: center 54%;
    display: block;
    transition: transform var(--transition-smooth);
  }

  &:hover .founder-img {
    transform: scale(1.02);
  }

  .founder-badge-pill {
    margin-top: 14px;
    background: #FFFFFF;
    border: 1.5px solid rgba(212, 175, 55, 0.35);
    padding: 14px 18px;
    border-radius: 14px;
    border-left: 5px solid var(--gold);
    box-shadow: 0 4px 16px rgba(10, 25, 47, 0.06);

    .founder-badge-title {
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--navy);
    }

    .founder-badge-sub {
      font-size: 0.82rem;
      color: var(--gold-dark, #926C15);
      margin-top: 2px;
      font-weight: 600;
    }
  }
}

@media (max-width: 900px) {
  .founder-img-wrapper .founder-img {
    height: 440px;
  }
}

@media (max-width: 520px) {
  .founder-img-wrapper .founder-img {
    height: 340px;
  }
}

.founder-quote {
  font-family: var(--font-heading);
  font-size: 1.28rem;
  font-style: italic;
  color: var(--navy);
  margin-block-end: 22px;
  line-height: 1.5;
  border-left: 3px solid var(--gold);
  padding-left: 20px;
}

.founder-checklist {
  margin-block: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.checklist-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.96rem;
  color: var(--text-secondary);
}

.checklist-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(197, 168, 128, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;

  svg {
    width: 14px !important;
    height: 14px !important;
    stroke: var(--gold-dark);
  }
}

/* ==========================================================================
   14. ACCREDITATION BADGES BAR
   ========================================================================== */
.accreditation-bar {
  background: var(--navy);
  border-top: 1px solid rgba(197, 168, 128, 0.2);
  border-bottom: 1px solid rgba(197, 168, 128, 0.2);
  padding-block: 30px;
}

.badges-flex {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #FFFFFF;
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;

  svg {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    stroke: var(--gold);
  }
}

/* ==========================================================================
   15. TRANSPARENT FEES TABLES
   ========================================================================== */
.fees-section {
  background-color: var(--porcelain);
  color: var(--text-primary);
}

.fees-category-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
}

.fees-table-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-bottom: 48px;
}

.fee-card-item {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 16px rgba(10, 25, 47, 0.04);
  transition: var(--transition-fast);

  &:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(10, 25, 47, 0.08);
  }
}

.fee-item-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.fee-price-tag {
  margin-top: 14px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-dark);
  font-family: var(--font-heading);
}

/* ==========================================================================
   16. DIGITAL DENTISTRY PILLARS
   ========================================================================== */
.pillars-section {
  background-color: var(--porcelain);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.pillar-card {
  background: #FFFFFF;
  padding: 32px 24px;
  border-radius: 14px;
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--gold);
  box-shadow: 0 8px 24px rgba(10, 25, 47, 0.04);
  transition: var(--transition-smooth);

  &:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(10, 25, 47, 0.09);
    border-color: var(--gold);
  }
}

.pillar-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(197, 168, 128, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;

  svg {
    width: 26px !important;
    height: 26px !important;
    stroke: var(--gold-dark);
  }
}

.pillar-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--navy);
}

.pillar-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   17. INTERNATIONAL CLIENTS COMPARISON TABLES
   ========================================================================== */
.comparison-table-wrapper {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow-x: auto;
  box-shadow: 0 10px 30px rgba(10, 25, 47, 0.06);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;

  th {
    background: var(--navy);
    color: #FFFFFF;
    padding: 16px 20px;
    font-weight: 600;
    letter-spacing: 0.05em;
  }

  td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-secondary);
  }

  tr:last-child td {
    border-bottom: none;
  }
}

.savings-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.8rem;
}

/* ==========================================================================
   18. GALLERY GRID (CLINIC REAL PHOTOS)
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(10, 25, 47, 0.06);
  border: 1px solid var(--border-light);
  aspect-ratio: 4 / 3;

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
  }

  &:hover img {
    transform: scale(1.05);
  }
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 18px 14px;
  background: linear-gradient(to top, rgba(6, 17, 32, 0.92) 0%, transparent 100%);
  color: #FFFFFF;
  font-size: 0.88rem;
  font-weight: 600;
  z-index: 2;
}


.menu-toggle-btn svg, .menu-toggle-btn svg * { pointer-events: none; }
