/* ==========================================================================
   AestheticDent Dental & Cosmetic Clinic
   Premium Apple-inspired Glassmorphism Stylesheet
   ========================================================================== */

:root {
  /* Brand palette */
  --primary: #0057B8;
  --primary-dark: #00417F;
  --primary-darker: #002B54;
  --primary-light: #4E8FDD;
  --accent: #FDB913;
  --accent-dark: #E5A400;
  --bg: #F8FBFF;
  --white: #FFFFFF;
  --text-dark: #0B1D33;
  --text-muted: #5A6C82;
  --text-faint: #8B99AC;

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.62);
  --glass-bg-strong: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.55);
  --glass-shadow: 0 8px 32px rgba(0, 43, 84, 0.12);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0057B8 0%, #003D82 100%);
  --gradient-hero: linear-gradient(160deg, #003D82 0%, #0057B8 55%, #1E71D6 100%);
  --gradient-gold: linear-gradient(135deg, #FDB913 0%, #F29A00 100%);

  /* Radii & spacing */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --section-space: clamp(64px, 9vw, 128px);

  /* Shadows */
  --shadow-soft: 0 10px 40px rgba(0, 61, 130, 0.08);
  --shadow-mid: 0 16px 48px rgba(0, 61, 130, 0.14);
  --shadow-hard: 0 24px 64px rgba(0, 61, 130, 0.22);

  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   Base
   ========================================================================== */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 64px; /* space for mobile bottom nav */
}

@media (min-width: 992px) {
  body { padding-bottom: 0; }
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

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

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

::selection { background: var(--accent); color: var(--primary-darker); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container-narrow { max-width: 900px; margin: 0 auto; }

.section {
  padding: var(--section-space) 0;
  position: relative;
}

.section-bg-alt { background: linear-gradient(180deg, #EEF5FF 0%, var(--bg) 100%); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(0, 87, 184, 0.08);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

.section-title {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  margin-bottom: 14px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.02rem;
  max-width: 620px;
  margin-bottom: 0;
}

.text-gradient {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn-primary-glow {
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.98rem;
  box-shadow: 0 12px 28px rgba(0, 87, 184, 0.32);
  transition: transform var(--transition), box-shadow var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-primary-glow:hover, .btn-primary-glow:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(0, 87, 184, 0.4);
  color: var(--white);
}

.btn-gold-glow {
  background: var(--gradient-gold);
  color: var(--primary-darker);
  border: none;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.98rem;
  box-shadow: 0 12px 28px rgba(253, 185, 19, 0.35);
  transition: transform var(--transition), box-shadow var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-gold-glow:hover, .btn-gold-glow:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(253, 185, 19, 0.45);
  color: var(--primary-darker);
}

.btn-outline-glass {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(0, 87, 184, 0.25);
  color: var(--primary);
  padding: 13px 30px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.98rem;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-outline-glass:hover, .btn-outline-glass:focus-visible {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-outline-glass.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* ==========================================================================
   Top Info Bar
   ========================================================================== */

.topbar {
  background: var(--primary-darker);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  padding: 7px 0;
}
.topbar a { color: rgba(255,255,255,0.85); transition: color 0.2s; }
.topbar a:hover { color: var(--accent); }
.topbar .divider { opacity: 0.3; margin: 0 4px; }
.topbar-item { white-space: nowrap; }
.topbar .fa-solid, .topbar .fa-brands { color: var(--accent); margin-right: 6px; }

/* ==========================================================================
   Glass Navbar
   ========================================================================== */

.navbar-glass {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--glass-border);
  padding: 12px 0;
  transition: padding var(--transition), box-shadow var(--transition);
}
.navbar-glass.scrolled {
  padding: 8px 0;
  box-shadow: var(--shadow-soft);
  background: var(--glass-bg-strong);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary-darker);
}
.brand-logo .mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  box-shadow: 0 6px 16px rgba(0,87,184,0.35);
}
.brand-logo .sub {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links .nav-link {
  font-weight: 500;
  color: var(--text-dark);
  padding: 10px 16px !important;
  border-radius: var(--radius-pill);
  transition: all 0.25s;
  position: relative;
}
.nav-links .nav-link:hover, .nav-links .nav-link.active {
  color: var(--primary);
  background: rgba(0,87,184,0.08);
}

.nav-cta {
  background: var(--gradient-gold);
  color: var(--primary-darker) !important;
  font-weight: 600;
  border-radius: var(--radius-pill) !important;
  padding: 10px 22px !important;
  box-shadow: 0 8px 20px rgba(253,185,19,0.35);
}

.navbar-toggler { border: none; padding: 6px; }
.navbar-toggler:focus { box-shadow: none; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  padding: 56px 0 90px;
  color: var(--white);
}

.hero::before, .hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(6px);
}
.hero::before {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(253,185,19,0.28) 0%, transparent 70%);
  top: -120px; right: -100px;
}
.hero::after {
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  bottom: -140px; left: -80px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 22px;
}
.hero-eyebrow .fa-solid { color: var(--accent); }

.hero-title {
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 20px;
}
.hero-title .accent-word { color: var(--accent); }

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.hero-figure {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}
.hero-arc {
  position: absolute;
  width: 88%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(from 200deg, rgba(253,185,19,0.9), rgba(253,185,19,0) 55%, rgba(255,255,255,0.5) 78%, rgba(253,185,19,0.9) 100%);
  padding: 5px;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 5px));
  animation: spin-slow 16s linear infinite;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }

.hero-photo-wrap {
  position: relative;
  width: 82%;
  border-radius: 50%;
  overflow: hidden;
  aspect-ratio: 1;
  border: 6px solid rgba(255,255,255,0.25);
  box-shadow: var(--shadow-hard);
}
.hero-photo-wrap img { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center 25% !important; }
.swiper-hero .swiper-slide {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.swiper-hero .swiper-pagination-bullet {
  background: var(--white);
  opacity: 0.5;
}
.swiper-hero .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--accent);
}

.hero-float-card {
  position: absolute;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(14px);
  color: var(--text-dark);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-mid);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255,255,255,0.6);
  animation: float-y 4.5s ease-in-out infinite;
  z-index: 5;
}
.hero-float-card .icon-circle {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.hero-float-card strong { display: block; font-size: 0.95rem; line-height: 1.2; }
.hero-float-card span { font-size: 0.75rem; color: var(--text-muted); }

.hero-card-rating { top: 6%; left: 0%; }
.hero-card-rating .icon-circle { background: rgba(253,185,19,0.18); color: var(--accent-dark); }

.hero-card-smiles { bottom: 10%; right: 0%; animation-delay: 1.2s; }
.hero-card-smiles .icon-circle { background: rgba(0,87,184,0.12); color: var(--primary); }

.hero-card-exp { bottom: -2%; left: 8%; animation-delay: 2.1s; }
.hero-card-exp .icon-circle { background: rgba(0,87,184,0.12); color: var(--primary); }

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ==========================================================================
   Smile arc divider (signature motif)
   ========================================================================== */

.smile-divider {
  width: 100%;
  height: 60px;
  display: block;
}
.smile-divider path { fill: none; stroke: rgba(0,87,184,0.15); stroke-width: 2; stroke-dasharray: 6 10; stroke-linecap: round; }

/* ==========================================================================
   Stats
   ========================================================================== */

.stats-section {
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  margin: -70px auto 0;
  max-width: 1180px;
  padding: 40px 20px;
  position: relative;
  z-index: 5;
  box-shadow: var(--shadow-hard);
}
.stat-item { text-align: center; color: var(--white); padding: 12px; }
.stat-number {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--accent);
  display: flex; align-items: center; justify-content: center; gap: 2px;
}
.stat-label { font-size: 0.88rem; color: rgba(255,255,255,0.85); margin-top: 4px; }

/* ==========================================================================
   Why Choose Us
   ========================================================================== */

.why-card {
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
}
.why-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-mid); }
.why-icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  background: var(--gradient-primary);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(0,87,184,0.3);
}
.why-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.why-card p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }

/* ==========================================================================
   Doctors
   ========================================================================== */

.doctor-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
  border: 1px solid rgba(0,87,184,0.06);
}
.doctor-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-mid); }
.doctor-photo { aspect-ratio: 4/3.4; overflow: hidden; position: relative; }
.doctor-photo img { width: 100%; height: 100%; object-fit: contain; background-color: #f9fafb; transition: transform 0.5s; }
.doctor-card:hover .doctor-photo img { transform: scale(1.06); }
.doctor-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--gradient-gold);
  color: var(--primary-darker);
  font-size: 0.7rem; font-weight: 700;
  padding: 5px 12px; border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
}
.doctor-info { padding: 22px 22px 26px; }
.doctor-info h3 { font-size: 1.15rem; margin-bottom: 2px; }
.doctor-info .qual { color: var(--primary); font-size: 0.85rem; font-weight: 600; margin-bottom: 10px; }
.doctor-info .meta { display: flex; gap: 14px; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 14px; }
.doctor-info .meta span { display: flex; align-items: center; gap: 6px; }
.doctor-info .meta .fa-solid { color: var(--accent-dark); }

.swiper-doctors { padding-bottom: 50px; }
.swiper-pagination-bullet { background: var(--primary); opacity: 0.3; }
.swiper-pagination-bullet-active { opacity: 1; background: var(--accent); }
.swiper-button-next, .swiper-button-prev {
  color: var(--primary) !important;
  background: var(--white);
  width: 46px !important; height: 46px !important;
  border-radius: 50%;
  box-shadow: var(--shadow-soft);
}
.swiper-button-next::after, .swiper-button-prev::after { font-size: 1rem !important; }

/* ==========================================================================
   Services
   ========================================================================== */

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  height: 100%;
  border: 1px solid rgba(0,87,184,0.07);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 0;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-mid); }
.service-card > * { position: relative; z-index: 1; }
.service-icon {
  width: 56px; height: 56px;
  border-radius: 15px;
  background: rgba(0,87,184,0.08);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
  transition: all var(--transition);
}
.service-card:hover .service-icon { background: rgba(255,255,255,0.18); color: var(--accent); }
.service-card h3 { font-size: 1.08rem; margin-bottom: 8px; transition: color var(--transition); }
.service-card:hover h3 { color: var(--white); }
.service-card p { color: var(--text-muted); font-size: 0.9rem; transition: color var(--transition); margin-bottom: 16px;}
.service-card:hover p { color: rgba(255,255,255,0.82); }
.service-link { font-size: 0.88rem; font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: 6px; transition: all var(--transition); }
.service-card:hover .service-link { color: var(--accent); gap: 10px; }

/* ==========================================================================
   Process Timeline
   ========================================================================== */

.process-track { position: relative; }
.process-track::before {
  content: '';
  position: absolute; top: 34px; left: 0; right: 0;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(0,87,184,0.25) 0 10px, transparent 10px 20px);
  display: none;
}
@media (min-width: 992px) { .process-track::before { display: block; } }

.process-step { text-align: center; position: relative; padding: 0 10px; }
.process-number {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--primary);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.2rem;
  margin: 0 auto 18px;
  position: relative; z-index: 2;
  box-shadow: var(--shadow-soft);
}
.process-step:hover .process-number { background: var(--gradient-primary); color: var(--white); }
.process-step h3 { font-size: 1rem; margin-bottom: 6px; }
.process-step p { color: var(--text-muted); font-size: 0.85rem; }

/* ==========================================================================
   Gallery
   ========================================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 24px;
}
@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.gallery-item {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  height: 480px;
  background-color: #f3f4f6;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #f9fafb;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 57, 120, 0.12), 0 4px 10px rgba(0, 57, 120, 0.08);
}
.gallery-item:hover img {
  transform: scale(1.06);
}

/* ==========================================================================
   Reviews
   ========================================================================== */

.review-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 26px;
  height: 100%;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0,87,184,0.06);
}
.review-stars { color: var(--accent); font-size: 0.9rem; margin-bottom: 12px; }
.review-card p { color: var(--text-muted); font-size: 0.92rem; }
.review-user { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.review-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.95rem;
}
.review-user strong { font-size: 0.9rem; display: block; }
.review-user span { font-size: 0.76rem; color: var(--text-faint); }
.google-badge { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--text-muted); margin-top: 14px; }

/* ==========================================================================
   Blog
   ========================================================================== */

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  height: 100%;
  transition: all var(--transition);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-mid); }
.blog-img { aspect-ratio: 16/10; overflow: hidden; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.5s; }
.blog-card:hover .blog-img img { transform: scale(1.07); }
.blog-body { padding: 24px; }
.blog-tag { font-size: 0.72rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.05em; }
.blog-body h3 { font-size: 1.08rem; margin: 10px 0 12px; }
.blog-meta { font-size: 0.78rem; color: var(--text-faint); display: flex; gap: 14px; margin-bottom: 12px;}
.blog-read { font-weight: 600; font-size: 0.88rem; color: var(--primary); display: inline-flex; gap: 6px; align-items: center; }

/* ==========================================================================
   Appointment CTA
   ========================================================================== */

.cta-band {
  background: var(--gradient-hero);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(253,185,19,0.3), transparent 70%);
  top: -100px; right: -60px;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 28px; }

/* ==========================================================================
   Map
   ========================================================================== */

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  line-height: 0;
}
.map-wrap iframe { width: 100%; height: 420px; border: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--primary-darker);
  color: rgba(255,255,255,0.7);
  padding: 70px 0 20px;
}
.site-footer h5 { color: var(--white); font-size: 1rem; margin-bottom: 20px; }
.site-footer .brand-logo { color: var(--white); margin-bottom: 16px; }
.site-footer .brand-logo .sub { color: rgba(255,255,255,0.55); }
.site-footer p { font-size: 0.9rem; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { font-size: 0.9rem; color: rgba(255,255,255,0.7); transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 14px; font-size: 0.9rem; align-items: flex-start; }
.footer-contact .fa-solid { color: var(--accent); margin-top: 3px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: inline-flex; align-items: center; justify-content: center;
  margin-right: 8px; transition: all 0.25s;
}
.footer-social a:hover { background: var(--accent); color: var(--primary-darker); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 50px; padding-top: 20px;
  font-size: 0.82rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

/* ==========================================================================
   Floating action buttons (desktop)
   ========================================================================== */

.floating-actions {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 1050;
  display: none;
  flex-direction: column;
  gap: 14px;
}
@media (min-width: 992px) { .floating-actions { display: flex; } }

.fab {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  box-shadow: var(--shadow-mid);
  transition: transform 0.25s;
  position: relative;
}
.fab:hover { transform: scale(1.1); color: var(--white); }
.fab-whatsapp { background: #25D366; }
.fab-call { background: var(--primary); }
.fab-book { background: var(--gradient-gold); color: var(--primary-darker); }
.fab-whatsapp::after {
  content: '';
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25D366;
  animation: pulse-ring 2s infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ==========================================================================
   Mobile bottom nav
   ========================================================================== */

.mobile-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1050;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--glass-border);
  display: flex;
  box-shadow: 0 -6px 24px rgba(0,43,84,0.1);
}
@media (min-width: 992px) { .mobile-bottom-nav { display: none; } }

.mobile-bottom-nav a {
  flex: 1;
  text-align: center;
  padding: 9px 4px 8px;
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex; flex-direction: column; align-items: center; gap: 3px;
}
.mobile-bottom-nav a i { font-size: 1.15rem; }
.mobile-bottom-nav a.book-highlight { color: var(--accent-dark); }
.mobile-bottom-nav a:active, .mobile-bottom-nav a:hover { color: var(--primary); }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */

.page-hero {
  background: var(--gradient-hero);
  color: var(--white);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(253,185,19,0.25), transparent 70%);
  top: -140px; right: -80px;
}
.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 10px; }
.breadcrumb-glass { display: inline-flex; gap: 8px; font-size: 0.86rem; color: rgba(255,255,255,0.75); }
.breadcrumb-glass a { color: rgba(255,255,255,0.9); font-weight: 500; }
.breadcrumb-glass a:hover { color: var(--accent); }

/* ==========================================================================
   Forms
   ========================================================================== */

.form-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-soft);
}
.form-control, .form-select {
  border: 1.5px solid rgba(0,87,184,0.15);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.94rem;
  background: rgba(255,255,255,0.7);
  transition: all 0.25s;
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0,87,184,0.12);
  background: var(--white);
}
.form-label { font-weight: 600; font-size: 0.88rem; margin-bottom: 7px; color: var(--text-dark); }
.captcha-box {
  background: rgba(0,87,184,0.06);
  border: 1.5px dashed rgba(0,87,184,0.3);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex; align-items: center; gap: 12px; font-size: 0.88rem; color: var(--text-muted);
}

/* Success modal */
.success-modal .modal-content {
  border-radius: var(--radius-lg);
  border: none;
  text-align: center;
  padding: 20px 10px;
}
.success-check {
  width: 84px; height: 84px; border-radius: 50%;
  background: rgba(37,211,102,0.12);
  color: #25D366;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem;
  margin: 0 auto 18px;
}

/* ==========================================================================
   About page specifics
   ========================================================================== */

.mv-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 34px 30px;
  height: 100%;
  box-shadow: var(--shadow-soft);
  border-top: 4px solid var(--accent);
}
.mv-card .why-icon { margin-bottom: 20px; }

.timeline-vert { position: relative; padding-left: 34px; }
.timeline-vert::before {
  content: ''; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px;
  background: repeating-linear-gradient(180deg, rgba(0,87,184,0.25) 0 8px, transparent 8px 16px);
}
.timeline-item { position: relative; padding-bottom: 30px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ''; position: absolute; left: -34px; top: 2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--gradient-primary);
  border: 4px solid var(--bg);
  box-shadow: 0 0 0 2px rgba(0,87,184,0.25);
}
.timeline-item h4 { font-size: 1.02rem; margin-bottom: 4px; }
.timeline-item span.year { color: var(--accent-dark); font-weight: 700; font-size: 0.82rem; display: block; margin-bottom: 2px; }
.timeline-item p { color: var(--text-muted); font-size: 0.9rem; margin-top: 4px; }

/* ==========================================================================
   Services page - expandable accordion cards
   ========================================================================== */

.service-accordion .accordion-item {
  border: none;
  border-radius: var(--radius-md) !important;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: var(--shadow-soft);
}
.service-accordion .accordion-button {
  font-weight: 600;
  font-size: 1.02rem;
  padding: 22px 26px;
  background: var(--white);
  gap: 16px;
}
.service-accordion .accordion-button:not(.collapsed) {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: none;
}
.service-accordion .accordion-button:not(.collapsed) .acc-icon { background: rgba(255,255,255,0.18); color: var(--accent); }
.service-accordion .accordion-button:focus { box-shadow: none; }
.service-accordion .accordion-button::after { filter: none; }
.acc-icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(0,87,184,0.08); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.service-accordion .accordion-body { padding: 24px 26px 28px; color: var(--text-muted); font-size: 0.94rem; }
.service-accordion .accordion-body ul { margin-bottom: 0; padding-left: 20px; }
.service-accordion .accordion-body li { margin-bottom: 6px; }

/* ==========================================================================
   Contact page
   ========================================================================== */

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow-soft);
  height: 100%;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
a.contact-info-card, .contact-info-card-link {
  cursor: pointer;
}
a.contact-info-card:hover, .contact-info-card-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 87, 184, 0.12);
  border-color: rgba(0, 87, 184, 0.25);
  text-decoration: none;
  color: inherit;
}
a.contact-info-card:hover h3, .contact-info-card-link:hover h3 {
  color: var(--primary);
}
.contact-info-card .why-icon { margin-bottom: 0; flex-shrink: 0; }
.contact-info-card > div:last-child { min-width: 0; overflow: hidden; flex-grow: 1; }
.contact-info-card h3 { font-size: 1rem; margin-bottom: 6px; font-weight: 600; color: var(--text-dark); transition: color 0.2s ease; }
.contact-info-card p, .contact-info-card a { color: var(--text-muted); font-size: 0.88rem; line-height: 1.5; margin: 0; display: block; overflow-wrap: break-word; word-break: normal; }
.contact-info-card .working-hours-line { white-space: nowrap; display: inline-block; max-width: 100%; }

.working-hours-schedule {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}
.working-hours-schedule .schedule-label {
  color: var(--text-dark);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 2px;
}
.working-hours-schedule .schedule-time {
  white-space: nowrap;
  display: inline-block;
}

@media (max-width: 767px) {
  .contact-info-card {
    padding: 20px 18px;
  }
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.rounded-xl { border-radius: var(--radius-lg) !important; }
.shadow-soft { box-shadow: var(--shadow-soft) !important; }
.bg-glass { background: var(--glass-bg); backdrop-filter: blur(14px); border: 1px solid var(--glass-border); }

@media (max-width: 991px) {
  .section { --section-space: 56px; }
  .stats-section { margin-top: -50px; border-radius: var(--radius-md); }
  .hero-figure { max-width: 420px; margin: 20px auto 0; }
  .hero-float-card { padding: 10px 14px; gap: 10px; }
  .hero-float-card strong { font-size: 0.88rem; }
  .hero-float-card span { font-size: 0.7rem; }
  .hero-float-card .icon-circle { width: 36px; height: 36px; font-size: 0.95rem; }
  .hero-card-rating { top: 2%; left: 0%; }
  .hero-card-smiles { bottom: 8%; right: 0%; }
  .hero-card-exp { bottom: -4%; left: 4%; }
}

@media (max-width: 576px) {
  .hero-figure { max-width: 330px; }
  .hero-float-card { padding: 8px 12px; gap: 8px; }
  .hero-float-card strong { font-size: 0.8rem; }
  .hero-float-card span { font-size: 0.65rem; }
  .hero-float-card .icon-circle { width: 30px; height: 30px; font-size: 0.85rem; }
  .hero-card-rating { top: 0%; left: -2%; }
  .hero-card-smiles { bottom: 6%; right: -2%; }
  .hero-card-exp { bottom: -6%; left: 2%; }
}

/* Prevent horizontal overflow on mobile body/html */
html, body {
  overflow-x: hidden;
  width: 100%;
}

/* Responsive Mobile Topbar */
@media (max-width: 767.98px) {
  .topbar {
    display: block !important;
    padding: 5px 0 !important;
    font-size: 0.76rem !important;
  }
  .topbar .container {
    display: block !important;
    padding: 0 10px !important;
  }
  .topbar .d-flex {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 6px 16px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .topbar-item {
    font-size: 0.76rem !important;
    display: inline-flex !important;
    align-items: center !important;
  }
  /* Hide clock hours in topbar on mobile to make room */
  .topbar > .container > .topbar-item:last-child {
    display: none !important;
  }
  
  /* Hide floating hero elements on mobile to prevent overflow stretching */
  .hero-float-card {
    display: none !important;
  }
  
  /* Ensure hero layout takes 100% width cleanly */
  .hero {
    padding: 30px 0 50px;
    overflow: hidden;
  }
  .hero-photo-wrap {
    width: 90% !important;
    margin: 20px auto 0 !important;
  }
}
