/* =============================================
   MIAMI SMILE GROUP - Global Stylesheet
   ============================================= */

/* ---- CSS Variables ---- */
:root {
  --primary: #0a6db5;
  --primary-dark: #084f87;
  --primary-light: #e8f4fd;
  --accent: #00c6a2;
  --accent-dark: #00a285;
  --gold: #f5c842;
  --dark: #0d1b2a;
  --dark-2: #1c2d3f;
  --gray: #6b7280;
  --gray-light: #f3f6f9;
  --white: #ffffff;
  --text: #1f2937;
  --text-light: #6b7280;
  --border: #e5e7eb;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.14);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
  --font-main: 'Inter', sans-serif;
  --font-display: 'Playfair Display', serif;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 700;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--dark);
  margin-bottom: 1rem;
}

.section-title span {
  color: var(--primary);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 580px;
  line-height: 1.7;
}

/* ---- Layout ---- */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

section { padding: 90px 0; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(10, 109, 181, 0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 109, 181, 0.45);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 198, 162, 0.35);
}

.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ---- Navbar ---- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: all 0.4s ease;
  padding: 1.2rem 0;
}

#navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.10);
  padding: 0.7rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-text .brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  transition: color var(--transition);
}

.nav-logo-text .tagline {
  font-size: 0.65rem;
  color: var(--gray);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#navbar:not(.scrolled) .nav-logo-text .brand { color: var(--white); }
#navbar:not(.scrolled) .nav-logo-text .tagline { color: rgba(255,255,255,0.7); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
  color: var(--white);
  position: relative;
}

#navbar.scrolled .nav-links a { color: var(--text); }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%; right: 50%;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-links a:hover::after { left: 10%; right: 10%; }
.nav-links a:hover { color: var(--accent); }
#navbar:not(.scrolled) .nav-links a:hover { color: var(--gold); }

.nav-links .has-dropdown {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  border: 1px solid var(--border);
}

.has-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  color: var(--text) !important;
  padding: 0.55rem 0.85rem !important;
  font-size: 0.88rem !important;
  border-radius: 6px;
}

.nav-dropdown a:hover { background: var(--gray-light); color: var(--primary) !important; }
.nav-dropdown a::after { display: none; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  transition: color var(--transition);
}

#navbar.scrolled .nav-phone { color: var(--primary); }
.nav-phone i { font-size: 0.85rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

#navbar.scrolled .hamburger span { background: var(--dark); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--dark);
  z-index: 999;
  padding: 5rem 2rem 2rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s ease;
}

.mobile-nav.open { transform: translateX(0); }

.mobile-nav a {
  display: block;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 500;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mobile-nav-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  color: var(--white);
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 40%, #0a3d5c 100%);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1629909613654-28e377c37b09?w=1600&q=80') center/cover no-repeat;
  opacity: 0.18;
}

.hero-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(10,109,181,0.3), rgba(0,198,162,0.2));
  animation: float 8s ease-in-out infinite;
}

.hero-shape:nth-child(1) { width: 600px; height: 600px; top: -200px; right: -150px; animation-delay: 0s; }
.hero-shape:nth-child(2) { width: 350px; height: 350px; bottom: -100px; left: -80px; animation-delay: 3s; }
.hero-shape:nth-child(3) { width: 200px; height: 200px; top: 30%; left: 30%; animation-delay: 5s; opacity: 0.3; }

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(5deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 0 80px;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,198,162,0.15);
  border: 1px solid rgba(0,198,162,0.3);
  color: var(--accent);
  padding: 0.45rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-badge i { font-size: 0.75rem; }

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-title .highlight {
  color: var(--accent);
  position: relative;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat .number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  font-family: var(--font-display);
  line-height: 1;
}

.hero-stat .label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Card Side */
.hero-card-side {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.appointment-card {
  background: rgba(255,255,255,0.97);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  animation: slideInRight 0.8s ease 0.3s both;
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

.appointment-card h3 {
  font-size: 1.25rem;
  color: var(--dark);
  margin-bottom: 0.3rem;
}

.appointment-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1.2rem;
}

.appt-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.appt-form input,
.appt-form select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.88rem;
  font-family: inherit;
  color: var(--text);
  transition: border-color var(--transition);
  background: var(--white);
}

.appt-form input:focus,
.appt-form select:focus {
  outline: none;
  border-color: var(--primary);
}

.appt-form .btn { width: 100%; justify-content: center; margin-top: 0.5rem; }

.trust-badges {
  display: flex;
  gap: 0.75rem;
}

.trust-badge {
  flex: 1;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  color: var(--white);
  animation: slideInRight 0.8s ease 0.5s both;
}

.trust-badge i {
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.trust-badge .tb-num {
  font-size: 1.1rem;
  font-weight: 700;
  display: block;
}

.trust-badge .tb-label {
  font-size: 0.7rem;
  opacity: 0.75;
}

/* ---- Ticker ---- */
.ticker-bar {
  background: var(--primary);
  color: white;
  padding: 0.6rem 0;
  overflow: hidden;
}

.ticker-inner {
  display: flex;
  gap: 3rem;
  animation: ticker 35s linear infinite;
  white-space: nowrap;
  width: max-content;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 500;
}

.ticker-item i { color: var(--gold); font-size: 0.8rem; }

/* ---- Services Grid ---- */
.services-section { background: var(--gray-light); }

.services-header {
  text-align: center;
  margin-bottom: 3rem;
}

.services-header .section-desc { margin: 0 auto; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
  border: 1.5px solid var(--border);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.35s ease;
  border-radius: var(--radius);
}

.service-card:hover::before { opacity: 1; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }

.service-card > * { position: relative; z-index: 1; }

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: all var(--transition);
}

.service-icon i {
  font-size: 1.5rem;
  color: var(--primary);
  transition: color var(--transition);
}

.service-card:hover .service-icon { background: rgba(255,255,255,0.2); }
.service-card:hover .service-icon i { color: var(--white); }

.service-card h3 {
  font-size: 0.95rem;
  font-family: var(--font-main);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.4rem;
  transition: color var(--transition);
}

.service-card:hover h3 { color: var(--white); }

.service-card .price {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  transition: color var(--transition);
}

.service-card:hover .price { color: rgba(255,255,255,0.85); }

.service-card .arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 0.75rem;
  transition: color var(--transition);
}

.service-card:hover .arrow { color: var(--white); }

/* ---- Why Us Section ---- */
.why-us { overflow: hidden; }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.why-image-wrap {
  position: relative;
}

.why-image-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.why-image-main img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.why-image-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
  min-width: 150px;
}

.why-image-badge .big-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-display);
  line-height: 1;
}

.why-image-badge p { font-size: 0.8rem; color: var(--text-light); margin-top: 0.2rem; }

.why-features { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.2rem; }

.why-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  transition: all var(--transition);
}

.why-feature:hover { border-color: var(--primary); box-shadow: 0 4px 16px rgba(10,109,181,0.10); }

.why-feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-feature-icon i { color: var(--primary); font-size: 1.2rem; }

.why-feature h4 { font-family: var(--font-main); font-size: 0.95rem; font-weight: 700; color: var(--dark); margin-bottom: 0.2rem; }
.why-feature p { font-size: 0.85rem; color: var(--text-light); }

/* ---- Locations Section ---- */
.locations-section { background: var(--dark); color: var(--white); }

.locations-header { text-align: center; margin-bottom: 3rem; }
.locations-header .section-title { color: var(--white); }
.locations-header .section-label { color: var(--accent); }

.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.location-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.location-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.location-card:hover::after { transform: scaleX(1); }
.location-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
}

.location-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.location-icon i { color: white; font-size: 1.2rem; }

.location-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.location-card .neighborhood { font-size: 0.8rem; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.75rem; }
.location-card p { font-size: 0.85rem; color: rgba(255,255,255,0.6); line-height: 1.6; margin-bottom: 1rem; }
.location-card .loc-link { font-size: 0.85rem; color: var(--accent); font-weight: 600; display: flex; align-items: center; gap: 0.3rem; }
.location-card .loc-link i { transition: transform var(--transition); }
.location-card:hover .loc-link i { transform: translateX(4px); }

/* ---- Reviews / Testimonials ---- */
.reviews-section { background: var(--gray-light); }
.reviews-header { text-align: center; margin-bottom: 3rem; }
.reviews-header .section-desc { margin: 0 auto; }

.reviews-stars-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.reviews-overall {
  text-align: center;
}

.reviews-overall .score {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--dark);
  font-family: var(--font-display);
  line-height: 1;
}

.reviews-overall .stars {
  color: var(--gold);
  font-size: 1.2rem;
  margin: 0.3rem 0;
}

.reviews-overall p { font-size: 0.85rem; color: var(--text-light); }

.reviews-divider { width: 1px; height: 60px; background: var(--border); }

.review-platforms { display: flex; flex-direction: column; gap: 0.5rem; }
.review-platform { display: flex; align-items: center; gap: 0.75rem; font-size: 0.88rem; color: var(--text); }
.review-platform i { font-size: 1rem; }
.review-platform .plat-stars { color: var(--gold); }
.review-platform span:last-child { color: var(--text-light); font-size: 0.8rem; }

/* Swiper overrides */
.reviews-swiper { overflow: hidden; padding-bottom: 3rem !important; }

.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  height: auto;
}

.review-card .stars { color: var(--gold); margin-bottom: 0.75rem; font-size: 0.9rem; }
.review-card .review-text { font-size: 0.9rem; color: var(--text); line-height: 1.7; margin-bottom: 1.2rem; font-style: italic; }

.reviewer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
}

.reviewer-info .name { font-weight: 700; font-size: 0.9rem; color: var(--dark); }
.reviewer-info .location { font-size: 0.78rem; color: var(--text-light); }
.review-source { font-size: 0.72rem; color: var(--text-light); margin-top: 0.2rem; }

/* ---- Before/After ---- */
.before-after-section { overflow: hidden; }
.ba-header { text-align: center; margin-bottom: 3rem; }
.ba-header .section-desc { margin: 0 auto; }

.ba-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.ba-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}

.ba-images {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.ba-label {
  position: absolute;
  top: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ba-label.before { left: 0.75rem; background: rgba(0,0,0,0.6); color: white; }
.ba-label.after { right: 0.75rem; background: var(--accent); color: white; }

.ba-images img { width: 50%; height: 100%; object-fit: cover; float: left; }
.ba-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 3px;
  background: white;
  transform: translateX(-50%);
}

.ba-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: white;
  box-shadow: var(--shadow-md);
}

.ba-info { padding: 1.2rem; background: white; }
.ba-info h4 { font-family: var(--font-main); font-weight: 700; font-size: 0.95rem; color: var(--dark); margin-bottom: 0.25rem; }
.ba-info p { font-size: 0.82rem; color: var(--text-light); }

/* ---- CTA Banner ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #0d88cc 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(0,198,162,0.1);
}

.cta-banner > * { position: relative; z-index: 1; }

.cta-banner h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-banner p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---- Blog Section ---- */
.blog-section { background: var(--white); }
.blog-header { text-align: center; margin-bottom: 3rem; }
.blog-header .section-desc { margin: 0 auto; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  transition: all var(--transition);
}

.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.blog-thumb {
  height: 210px;
  overflow: hidden;
}

.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-thumb img { transform: scale(1.06); }

.blog-body { padding: 1.5rem; }

.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.blog-cat {
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
}

.blog-date { font-size: 0.78rem; color: var(--text-light); }

.blog-card h3 {
  font-size: 1rem;
  font-family: var(--font-main);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.6rem;
  line-height: 1.4;
  transition: color var(--transition);
}

.blog-card:hover h3 { color: var(--primary); }

.blog-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.65; margin-bottom: 1rem; }
.blog-read { font-size: 0.85rem; font-weight: 600; color: var(--primary); display: flex; align-items: center; gap: 0.3rem; }
.blog-read i { transition: transform var(--transition); }
.blog-card:hover .blog-read i { transform: translateX(4px); }

/* ---- FAQ Section ---- */
.faq-section { background: var(--gray-light); }
.faq-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 5rem; align-items: start; }
.faq-side .section-desc { margin-bottom: 2rem; }
.faq-contact { display: flex; flex-direction: column; gap: 1rem; }
.faq-contact-item { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; color: var(--text); font-weight: 500; }
.faq-contact-item i { width: 36px; height: 36px; background: var(--primary-light); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 0.9rem; flex-shrink: 0; }

.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.active { border-color: var(--primary); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  gap: 1rem;
}

.faq-q span { font-weight: 600; font-size: 0.95rem; color: var(--dark); }
.faq-q i { color: var(--primary); transition: transform var(--transition); flex-shrink: 0; }
.faq-item.active .faq-q i { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-a { max-height: 200px; }
.faq-a-inner { padding: 0 1.5rem 1.2rem; font-size: 0.9rem; color: var(--text-light); line-height: 1.7; }

/* ---- Insurance Logos ---- */
.insurance-section { padding: 60px 0; background: var(--white); border-top: 1px solid var(--border); }
.insurance-header { text-align: center; margin-bottom: 2rem; }
.insurance-header p { font-size: 0.9rem; color: var(--text-light); margin-top: 0.5rem; }
.insurance-logos { display: flex; align-items: center; justify-content: center; gap: 2.5rem; flex-wrap: wrap; }
.ins-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--gray);
  transition: all var(--transition);
  min-width: 120px;
}
.ins-logo:hover { border-color: var(--primary); color: var(--primary); }




/* ---- To remove it from all pages ---- */

.offer-banner {
  display: none !important;
}





/* ---- Footer ---- */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin: 1rem 0 1.5rem; max-width: 280px; }

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: all var(--transition);
}

.social-btn:hover { background: var(--primary); color: white; }

.footer-col h4 {
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { font-size: 0.88rem; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--accent); }

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.footer-contact-item i {
  margin-top: 0.15rem;
  color: var(--accent);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.footer-contact-item span {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p { font-size: 0.82rem; }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: 0.82rem; color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-bottom-links a:hover { color: var(--accent); }

/* ---- Sticky Phone CTA (mobile) ---- */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 900;
  background: var(--dark);
  padding: 0.75rem 1rem;
  gap: 0.75rem;
}

.sticky-cta a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
}

.sticky-cta .scta-call { background: var(--primary); }
.sticky-cta .scta-appt { background: var(--accent); }

/* ---- Animations ---- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }

/* ---- Swiper custom ---- */
.swiper-pagination-bullet { background: var(--primary) !important; }
.swiper-pagination-bullet-active { background: var(--primary) !important; }
.swiper-button-next, .swiper-button-prev {
  color: var(--primary) !important;
  background: white;
  border-radius: 50%;
  width: 44px !important;
  height: 44px !important;
  box-shadow: var(--shadow-md);
}
.swiper-button-next::after, .swiper-button-prev::after { font-size: 1rem !important; font-weight: 800; }

/* ---- Back to top ---- */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 800;
  cursor: pointer;
}

#back-to-top.visible { opacity: 1; visibility: visible; }
#back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ---- Page hero (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 60%, #0a3d5c 100%);
  padding: 130px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1629909613654-28e377c37b09?w=1200&q=70') center/cover;
  opacity: 0.12;
}

.page-hero-content { position: relative; z-index: 1; }

.page-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); color: var(--white); margin-bottom: 0.75rem; }
.page-hero p { font-size: 1.05rem; color: rgba(255,255,255,0.75); max-width: 580px; margin: 0 auto 1.5rem; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 0.4rem; font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.breadcrumb a { color: rgba(255,255,255,0.5); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb i { font-size: 0.65rem; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card-side { display: grid; grid-template-columns: 1fr 1fr; }
  .trust-badges { grid-column: span 2; }
  .why-grid { grid-template-columns: 1fr; gap: 3rem; }
  .why-image-main img { height: 320px; }
  .faq-layout { grid-template-columns: 1fr; gap: 3rem; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .locations-grid { grid-template-columns: repeat(2, 1fr); }
  .ba-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  section { padding: 70px 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-card-side { grid-template-columns: 1fr; }
  .trust-badges { grid-column: 1; display: flex; }
  .blog-grid { grid-template-columns: 1fr; }
  .locations-grid { grid-template-columns: 1fr; }
  .ba-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .sticky-cta { display: flex; }
  #back-to-top { bottom: 5rem; }
  .appt-form .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 1.5rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}




















.site-logo {
  height: 55px;
  width: auto;
  display: block;
}

.nav-logo {
  display: flex;
  align-items: center;
}


