/* ================================================================
   Coombs Family Chiropractic — Custom Styles
   Designed & Developed by Novelio Technologies 2026
   ================================================================ */

/* ── CSS Custom Properties ──────────────────────────────────────── */
:root {
  --primary:        #1B4F72;
  --primary-light:  #2471A3;
  --secondary:      #2ECC71;
  --accent:         #F39C12;
  --accent-dark:    #D68910;
  --dark-bg:        #0D1B2A;
  --dark-bg2:       #111D2B;
  --light-bg:       #F4F9FF;
  --text-dark:      #1A1A2E;
  --text-light:     #FFFFFF;
  --text-muted:     #8899AA;
  --glass-bg:       rgba(255, 255, 255, 0.08);
  --glass-border:   rgba(255, 255, 255, 0.15);
  --glass-bg-light: rgba(255, 255, 255, 0.85);
  --shadow-sm:      0 2px 8px rgba(0,0,0,0.12);
  --shadow-md:      0 8px 32px rgba(0,0,0,0.18);
  --shadow-lg:      0 20px 60px rgba(0,0,0,0.28);
  --shadow-card:    0 4px 6px rgba(0,0,0,0.07), 0 10px 20px rgba(0,0,0,0.1), 0 20px 40px rgba(0,0,0,0.08);
  --radius-sm:      8px;
  --radius-md:      16px;
  --radius-lg:      24px;
  --radius-xl:      40px;
  --transition:     0.3s ease;
  --transition-slow:0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'DM Sans', 'Nunito', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-dark);
  background: #FFFFFF;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-family: 'DM Sans', sans-serif; }

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

/* Skip to content */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 10000;
  transition: top 0.2s;
}
.skip-to-content:focus { top: 1rem; }

/* ── Custom Scrollbar ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark-bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-light); }

/* ── Navigation ─────────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all 0.4s ease;
}

.site-nav.scrolled {
  background: rgba(13, 27, 42, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--glass-border);
  padding: 0.75rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 15px rgba(27, 79, 114, 0.4);
}

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

.nav-links > li { position: relative; }

.nav-links > li > a {
  display: block;
  padding: 0.5rem 0.9rem;
  color: rgba(255,255,255,0.9);
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  position: relative;
}

.nav-links > li > a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%; right: 50%;
  height: 2px;
  background: var(--accent);
  transition: left 0.3s ease, right 0.3s ease;
  border-radius: 1px;
}

.nav-links > li > a:hover { color: #fff; }
.nav-links > li > a:hover::after { left: 0.9rem; right: 0.9rem; }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 220px;
  background: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.25s ease;
  box-shadow: var(--shadow-lg);
}

.nav-links > li:hover .nav-dropdown,
.nav-links > li:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 0.6rem 1rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
}
.nav-dropdown a:hover { background: rgba(255,255,255,0.1); color: #fff; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  background: var(--accent);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: var(--radius-xl);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.35);
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(243, 156, 18, 0.45);
}
.nav-cta::after { display: none !important; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(13, 27, 42, 0.98);
  backdrop-filter: blur(30px);
  display: flex;
  flex-direction: column;
  padding: 6rem 2rem 2rem;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu-links { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-menu-links a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-links a:hover { background: rgba(255,255,255,0.08); color: #fff; }

.mobile-menu-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-xl);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-align: center;
  justify-content: center;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  border-radius: inherit;
}
.btn:hover::before { transform: scaleX(1); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(243, 156, 18, 0.5);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-primary:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--dark-bg);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-dark:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.btn-lg { padding: 1rem 2.5rem; font-size: 1.1rem; }
.btn-sm { padding: 0.55rem 1.25rem; font-size: 0.9rem; }
.btn-full { width: 100%; }

/* Ripple effect */
.btn-ripple { position: relative; overflow: hidden; }
.ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transform: scale(0);
  animation: ripple-anim 0.6s ease-out;
  pointer-events: none;
}
@keyframes ripple-anim {
  to { transform: scale(4); opacity: 0; }
}

/* ── Hero Section ───────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 650px;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: #fff;
}

.hero-slides { position: absolute; inset: 0; }

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
  transform: scale(1.05);
  transition: opacity 1.2s ease, transform 8s ease;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 27, 42, 0.75) 0%,
    rgba(27, 79, 114, 0.55) 50%,
    rgba(13, 27, 42, 0.65) 100%
  );
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
  animation: particle-float linear infinite;
}

@keyframes particle-float {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-20px) rotate(720deg); opacity: 0; }
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: orb-drift 12s ease-in-out infinite alternate;
}
.hero-orb-1 { width: 400px; height: 400px; background: var(--primary); top: -10%; left: -5%; }
.hero-orb-2 { width: 300px; height: 300px; background: var(--secondary); bottom: 10%; right: 5%; animation-delay: -4s; }
.hero-orb-3 { width: 200px; height: 200px; background: var(--accent); top: 40%; right: 20%; animation-delay: -8s; }

@keyframes orb-drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -20px) scale(1.15); }
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.hero-slides-content { position: absolute; inset: 0; }

.hero-slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}
.hero-slide-content.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-text {
  max-width: 700px;
  padding: 0 1.5rem;
  margin: 0 auto 0 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.95);
  margin-bottom: 1.5rem;
  animation: fade-up 0.8s ease forwards;
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  color: #fff;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-title span { color: var(--accent); }

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 0.75rem;
  font-weight: 400;
}

.hero-hours {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(46, 204, 113, 0.2);
  border: 1px solid rgba(46, 204, 113, 0.3);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  color: #2ECC71;
  font-weight: 500;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  transition: color 0.2s;
}
.hero-phone:hover { color: var(--accent); }

.hero-rating-badge {
  position: absolute;
  bottom: 2.5rem;
  right: 2rem;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  text-align: center;
  animation: float 4s ease-in-out infinite;
  z-index: 20;
}

.hero-rating-badge .stars { color: #F39C12; font-size: 1.1rem; letter-spacing: 2px; }
.hero-rating-badge .score { font-size: 1.8rem; font-weight: 700; color: #fff; line-height: 1; }
.hero-rating-badge .label { font-size: 0.75rem; color: rgba(255,255,255,0.7); }

/* Hero slider controls */
.hero-controls {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 20;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}
.hero-dot.active { width: 28px; background: var(--accent); }

/* ── Trust Bar ──────────────────────────────────────────────────── */
.trust-bar {
  background: var(--dark-bg);
  padding: 1.25rem 0;
  overflow: hidden;
}

.trust-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 2rem;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.trust-item:last-child { border-right: none; }

.trust-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  font-family: 'Playfair Display', serif;
  line-height: 1;
}

.trust-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  line-height: 1.3;
}

/* ── Section Styles ─────────────────────────────────────────────── */
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 7rem 0; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  background: rgba(27, 79, 114, 0.1);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-xl);
  margin-bottom: 1rem;
  border: 1px solid rgba(27, 79, 114, 0.2);
}

.section-tag-light {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.2);
}

.section-title {
  color: var(--text-dark);
  margin-bottom: 1rem;
  position: relative;
}

.section-title-light { color: #fff; }

.section-title-underline::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  border-radius: 2px;
  margin: 0.75rem auto 0;
  transition: width 0.6s ease;
}

.section-title-underline.animate::after { width: 120px; }

.section-desc {
  color: #5a6a7a;
  font-size: 1.05rem;
  line-height: 1.7;
}

.section-desc-light { color: rgba(255,255,255,0.75); }

/* ── Glassmorphic Cards ─────────────────────────────────────────── */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.4s ease;
}

.glass-card:hover {
  border-color: rgba(255,255,255,0.25);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  transform: translateY(-4px);
}

.glass-card-light {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 2rem;
  transition: all 0.4s ease;
}

.glass-card-light:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  transform: translateY(-6px);
}

/* 3D Tilt Card */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.1s ease;
  will-change: transform;
}

/* ── Service Cards ──────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-card);
  transition: all 0.4s ease;
  transform-style: preserve-3d;
}
.service-card:hover {
  transform: translateY(-10px) rotateX(2deg);
  box-shadow: 0 30px 80px rgba(0,0,0,0.2);
}

.service-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.08); }

.service-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,0.7) 0%, transparent 60%);
}

.service-card-icon {
  position: absolute;
  bottom: 1rem;
  left: 1.5rem;
  width: 52px;
  height: 52px;
  background: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
  transform: translateZ(20px);
}

.service-card-body {
  padding: 1.75rem;
}
.service-card-body h3 { color: var(--text-dark); margin-bottom: 0.75rem; }
.service-card-body p { color: #5a6a7a; font-size: 0.95rem; margin-bottom: 1.25rem; line-height: 1.65; }

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap 0.2s, color 0.2s;
}
.service-link:hover { color: var(--accent); gap: 0.75rem; }

/* ── About Section ──────────────────────────────────────────────── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.about-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
}

.about-credentials {
  position: relative;
  margin-top: 1.25rem;
  background: #fff;
  border: 1px solid rgba(27,79,114,0.1);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.55rem 0;
  color: #1a2e40;
  font-size: 0.9rem;
  font-weight: 500;
}
.credential-item + .credential-item { border-top: 1px solid rgba(27,79,114,0.07); }

.credential-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, rgba(27,79,114,0.1), rgba(46,204,113,0.12));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  border: 1px solid rgba(27,79,114,0.08);
}

.about-text { }
.about-text h2 { color: var(--text-dark); margin-bottom: 1.25rem; }
.about-text p { color: #5a6a7a; margin-bottom: 1rem; line-height: 1.75; }

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.75rem 0;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
}
.value-item::before {
  content: '✓';
  width: 22px;
  height: 22px;
  background: rgba(46,204,113,0.15);
  color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Conditions Grid ────────────────────────────────────────────── */
.conditions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

.condition-item {
  background: #fff;
  border: 1.5px solid #e8f0f8;
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}
.condition-item:hover {
  border-color: var(--primary);
  background: var(--light-bg);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.condition-item-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.condition-item-name { font-size: 0.88rem; font-weight: 600; color: var(--text-dark); }

/* ── Why Choose Us ──────────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.why-item {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
}
.why-item:hover {
  transform: translateY(-6px);
  border-bottom-color: var(--accent);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.why-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(27,79,114,0.1), rgba(27,79,114,0.05));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1.25rem;
  transition: all 0.3s ease;
}
.why-item:hover .why-icon {
  background: var(--primary);
  transform: scale(1.1) rotate(5deg);
}

.why-item h4 { color: var(--text-dark); margin-bottom: 0.5rem; }
.why-item p { color: #5a6a7a; font-size: 0.9rem; }

/* ── Reviews Section ────────────────────────────────────────────── */
.reviews-section {
  background: var(--dark-bg);
  position: relative;
  overflow: hidden;
}

.reviews-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.rating-display {
  text-align: center;
  margin-bottom: 2.5rem;
}
.rating-score {
  font-size: 4rem;
  font-weight: 700;
  color: var(--accent);
  font-family: 'Playfair Display', serif;
  line-height: 1;
}
.rating-stars { color: #F39C12; font-size: 1.5rem; letter-spacing: 4px; margin: 0.25rem 0; }
.rating-label { color: rgba(255,255,255,0.6); font-size: 0.9rem; }

/* Review Tabs */
.review-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.review-tab {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}
.review-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.review-tab:hover:not(.active) {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

/* Review Carousel */
.review-carousel { position: relative; overflow: hidden; }

.review-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-card {
  flex: 0 0 calc(33.333% - 1rem);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all 0.3s ease;
}
.review-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-4px);
}

.review-stars { color: #F39C12; font-size: 0.95rem; margin-bottom: 0.75rem; letter-spacing: 2px; }
.review-text { color: rgba(255,255,255,0.8); font-size: 0.95rem; line-height: 1.7; margin-bottom: 1rem; font-style: italic; }
.review-author { font-weight: 600; color: rgba(255,255,255,0.9); font-size: 0.88rem; }
.review-source {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  margin-top: 0.25rem;
}

/* ── Form Styles ────────────────────────────────────────────────── */
.form-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark-bg) 100%);
  position: relative;
  overflow: hidden;
}

.form-section::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: rgba(46,204,113,0.08);
  border-radius: 50%;
  top: -200px;
  right: -200px;
  filter: blur(80px);
}

.form-container {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  padding: 3rem;
  max-width: 800px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group.full { grid-column: 1 / -1; }

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}
.form-label .required { color: #E74C3C; margin-left: 2px; }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.25s, background 0.25s;
  -webkit-appearance: none;
}
.form-input::placeholder,
.form-textarea::placeholder { color: rgba(255,255,255,0.35); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,0.12);
}
.form-select option { background: var(--dark-bg); color: #fff; }
.form-textarea { resize: vertical; min-height: 120px; }

.form-radio-group,
.form-check-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.form-radio,
.form-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
}
.form-radio input,
.form-check input { width: 16px; height: 16px; accent-color: var(--accent); cursor: pointer; }

.form-error {
  font-size: 0.78rem;
  color: #E74C3C;
  display: none;
}
.form-group.error .form-error { display: block; }
.form-group.error .form-input,
.form-group.error .form-select,
.form-group.error .form-textarea { border-color: #E74C3C; }

.form-success {
  text-align: center;
  padding: 3rem;
  display: none;
}
.form-success.show { display: block; }
.form-success-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  animation: pop-in 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.form-success h3 { color: #fff; margin-bottom: 0.5rem; }
.form-success p { color: rgba(255,255,255,0.7); }

@keyframes pop-in {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* Honeypot */
.hp-field { display: none; }

/* ── Location Section ───────────────────────────────────────────── */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 400px;
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.hours-grid { display: grid; grid-template-columns: 1fr; gap: 0.5rem; }
.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 0.95rem;
}
.hours-day { font-weight: 500; color: var(--text-dark); }
.hours-time { color: var(--primary); font-weight: 600; font-size: 0.88rem; }
.hours-closed { color: #aaa; }

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--light-bg);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  transition: all 0.2s ease;
}
.contact-card:hover {
  background: #fff;
  box-shadow: var(--shadow-md);
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  flex-shrink: 0;
}

.contact-card-body { }
.contact-card-body strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}
.contact-card-body a,
.contact-card-body span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: color 0.2s;
}
.contact-card-body a:hover { color: var(--primary); }

/* ── Emergency Banner ───────────────────────────────────────────── */
.emergency-banner {
  background: linear-gradient(135deg, #E67E22, #E74C3C);
  padding: 1.75rem 0;
  position: relative;
  overflow: hidden;
}
.emergency-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 20px,
    rgba(255,255,255,0.03) 20px,
    rgba(255,255,255,0.03) 40px
  );
}

.emergency-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.emergency-text h3 { color: #fff; font-size: 1.25rem; margin-bottom: 0.25rem; }
.emergency-text p { color: rgba(255,255,255,0.85); font-size: 0.95rem; }

.emergency-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ── Footer ─────────────────────────────────────────────────────── */
.site-footer {
  background: var(--dark-bg);
  padding: 4.5rem 0 0;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  align-items: start;
}

.footer-brand-desc {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 1rem 0 1.25rem;
  max-width: 320px;
}

.footer-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.footer-social {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.07);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}
.footer-social:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px) rotate(10deg);
}

/* Target h4 in any direct child of footer-grid (nav, div, etc.) */
.footer-col h4,
.site-footer .footer-grid > div > h4,
.site-footer .footer-grid > nav > h4 {
  color: #fff;
  font-size: 1rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
}

.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  transition: color 0.2s, padding-left 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.9); padding-left: 4px; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.footer-contact-icon { font-size: 1rem; margin-top: 1px; flex-shrink: 0; color: var(--accent); }
.footer-contact-text {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}
.footer-contact-text a { color: rgba(255,255,255,0.65); }
.footer-contact-text a:hover { color: #fff; }

.footer-bottom {
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copyright { color: rgba(255,255,255,0.4); font-size: 0.82rem; }
.footer-credit { color: rgba(255,255,255,0.4); font-size: 0.82rem; }
.footer-credit a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-credit a:hover { color: var(--accent); }
.footer-privacy a { color: rgba(255,255,255,0.4); font-size: 0.82rem; transition: color 0.2s; }
.footer-privacy a:hover { color: rgba(255,255,255,0.7); }

/* ── Mobile Sticky Bar ──────────────────────────────────────────── */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 8px 0;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
  transform: translateY(100%);
  transition: transform 0.5s ease;
}
.mobile-sticky-bar.visible { transform: translateY(0); }
.mobile-sticky-bar.pulse-call .sticky-call { animation: call-pulse 0.4s ease; }

.sticky-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, opacity 0.2s;
  color: inherit;
  border: none;
  background: none;
  cursor: pointer;
}
.sticky-btn:active { transform: scale(0.93); opacity: 0.85; }
.sticky-whatsapp { color: #25D366; }
.sticky-book {
  color: #FFFFFF;
  background: var(--accent);
  border-radius: 12px;
  margin: 0 8px;
  padding: 8px 16px;
}
.sticky-call { color: #4A90E2; }
.sticky-btn svg { width: 20px; height: 20px; }

@keyframes call-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* ── Page Hero (inner pages) ────────────────────────────────────── */
.page-hero {
  position: relative;
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary) 100%);
  overflow: hidden;
  color: #fff;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.25rem;
}
.breadcrumb a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.breadcrumb a:hover { color: rgba(255,255,255,0.9); }
.breadcrumb-sep { color: rgba(255,255,255,0.3); }
.breadcrumb-current { color: rgba(255,255,255,0.9); }

.page-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); color: #fff; margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.1rem; max-width: 600px; }

/* ── Process Timeline ───────────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  z-index: 0;
}

.process-step { text-align: center; position: relative; z-index: 1; }
.step-number {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 20px rgba(27,79,114,0.35);
  font-family: 'Playfair Display', serif;
}
.process-step h4 { color: var(--text-dark); margin-bottom: 0.4rem; }
.process-step p { color: #5a6a7a; font-size: 0.9rem; }

/* ── FAQ Accordion ──────────────────────────────────────────────── */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  gap: 1rem;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--primary); }

.faq-icon {
  width: 28px;
  height: 28px;
  background: var(--light-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
  color: var(--primary);
}
.faq-item.open .faq-icon {
  background: var(--primary);
  color: #fff;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer-inner { padding: 0 0 1.25rem; color: #5a6a7a; line-height: 1.7; }

/* ── Info Cards (benefits, etc.) ────────────────────────────────── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.benefit-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.benefit-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(27,79,114,0.1), rgba(46,204,113,0.1));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.benefit-item h4 { font-size: 0.95rem; color: var(--text-dark); margin-bottom: 0.25rem; }
.benefit-item p { font-size: 0.85rem; color: #5a6a7a; }

/* ── Conditions Cards (health-conditions page) ──────────────────── */
.condition-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1.5px solid #e8f0f8;
  overflow: hidden;
  transition: all 0.3s ease;
}
.condition-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.condition-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  gap: 1rem;
}
.condition-card-header-left { display: flex; align-items: center; gap: 0.75rem; }
.condition-card-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.condition-card-header h3 {
  font-size: 1rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  color: var(--text-dark);
}
.condition-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--light-bg);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
  transition: all 0.3s;
}
.condition-card.open .condition-toggle {
  background: var(--primary);
  color: #fff;
  transform: rotate(45deg);
}

.condition-card-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.condition-card.open .condition-card-body { max-height: 500px; }
.condition-card-body-inner {
  padding: 0 1.5rem 1.5rem;
  color: #5a6a7a;
  font-size: 0.95rem;
  line-height: 1.7;
  border-top: 1px solid #f0f4f8;
  padding-top: 1rem;
  margin-top: 0;
}

/* ── Comparison Table ───────────────────────────────────────────── */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.comparison-table th {
  padding: 1rem 1.5rem;
  text-align: left;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
}
.comparison-table th:first-child { background: var(--dark-bg); }
.comparison-table td {
  padding: 0.9rem 1.5rem;
  border-bottom: 1px solid #e8f0f8;
  font-size: 0.9rem;
  color: var(--text-dark);
}
.comparison-table tr:nth-child(even) td { background: var(--light-bg); }
.comparison-table .check { color: var(--secondary); font-weight: 700; }
.comparison-table .cross { color: #E74C3C; }

/* ── Stats Counters ─────────────────────────────────────────────── */
.stats-section {
  position: relative;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}
.stats-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,27,42,0.85);
}
.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  padding: 4rem 0;
}
.stat-item { }
.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  font-family: 'Playfair Display', serif;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label { color: rgba(255,255,255,0.7); font-size: 0.9rem; font-weight: 500; }

/* ── Exit Intent Popup ──────────────────────────────────────────── */
.exit-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 1rem;
}
.exit-popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

.exit-popup {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  max-width: 460px;
  width: 100%;
  position: relative;
  transform: scale(0.9) translateY(-20px);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
}
.exit-popup-overlay.show .exit-popup {
  transform: scale(1) translateY(0);
}

.exit-popup-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 32px; height: 32px;
  background: var(--light-bg);
  border: none;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  transition: all 0.2s;
}
.exit-popup-close:hover { background: #E74C3C; color: #fff; }

.exit-popup h2 { color: var(--text-dark); margin-bottom: 0.5rem; font-size: 1.6rem; }
.exit-popup p { color: #5a6a7a; margin-bottom: 1.5rem; }
.exit-popup-form { display: flex; flex-direction: column; gap: 0.75rem; }
.exit-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e0e8f0;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
}
.exit-input:focus { outline: none; border-color: var(--primary); }

/* ── Animations ─────────────────────────────────────────────────── */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slide-in-left {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slide-in-right {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scale-in {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Intersection Observer triggered classes */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.revealed { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right.revealed { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.85); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-scale.revealed { opacity: 1; transform: scale(1); }

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-slide { transform: none !important; }
}

/* ── Utility Classes ────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-secondary { color: var(--secondary); }
.text-white { color: #fff; }
.text-muted { color: var(--text-muted); }

.bg-dark { background: var(--dark-bg); }
.bg-light { background: var(--light-bg); }
.bg-primary { background: var(--primary); }
.bg-white { background: #fff; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.hidden-mobile { }
.hidden-desktop { display: none; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.flex-wrap { flex-wrap: wrap; }

.font-bold { font-weight: 700; }
.font-serif { font-family: 'Playfair Display', serif; }

/* ── Responsive ─────────────────────────────────────────────────── */

/* Footer 2×2 at medium-wide viewports: Brand | Links / Services | Contact */
@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 3rem;
  }
  /* Reset any span — let grid auto-place all 4 children into 2 cols naturally */
  .footer-grid > * { grid-column: auto; }
}

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-cta { font-size: 0.85rem; padding: 0.55rem 1rem; }
  .about-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-img-wrap img { height: auto; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .location-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .review-card { flex: 0 0 calc(50% - 0.75rem); }
  .comparison-table { font-size: 0.85rem; }
  .comparison-table th, .comparison-table td { padding: 0.7rem 1rem; }
}

@media (max-width: 768px) {
  /* Global spacing */
  body { padding-bottom: 72px; } /* room for mobile sticky bar */
  .section { padding: 3rem 0; }
  .section-lg { padding: 4rem 0; }
  .section-sm { padding: 2rem 0; }
  .container { padding: 0 1rem; }

  /* Hero */
  .hero { min-height: 100svh; height: auto; }
  .hero-text { padding: 0 1rem; max-width: 100%; }
  .hero-title { font-size: clamp(1.9rem, 8vw, 3rem); }
  .hero-subtitle { font-size: 0.95rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .hero-phone { font-size: 1.1rem; }
  .hero-rating-badge { display: none; }
  .hero-badge { font-size: 0.78rem; padding: 0.35rem 0.75rem; }

  /* Trust bar */
  .trust-bar-inner { flex-direction: column; align-items: center; gap: 0; }
  .trust-item { padding: 0.75rem 1.5rem; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); width: 100%; text-align: center; justify-content: center; }
  .trust-item:last-child { border-bottom: none; }
  .trust-number { font-size: 1.6rem; }

  /* Grids */
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .conditions-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .benefits-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .about-values { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* Review carousel */
  .review-carousel { overflow: hidden; }
  .review-track { gap: 1rem; }
  .review-card { flex: 0 0 100%; }
  .review-tabs { gap: 0.5rem; flex-wrap: wrap; justify-content: center; }
  .review-tab { padding: 0.4rem 0.8rem; font-size: 0.82rem; }
  .rating-score { font-size: 3rem; }

  /* Form */
  .form-grid { grid-template-columns: 1fr; }
  .form-container { padding: 1.5rem 1.25rem; border-radius: var(--radius-lg); }
  .form-group.full { grid-column: 1; }

  /* Map */
  .map-frame { height: 280px !important; }

  /* Hours */
  .hours-row { flex-direction: column; align-items: flex-start; gap: 0.2rem; }
  .hours-time { font-size: 0.85rem; }

  /* Emergency banner */
  .emergency-inner { flex-direction: column; text-align: center; }
  .emergency-actions { justify-content: center; flex-direction: column; gap: 0.5rem; width: 100%; }
  .emergency-actions .btn { width: 100%; justify-content: center; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-grid > * { grid-column: auto; }
  .footer-brand-desc { max-width: 100%; }
  .site-footer { padding: 3rem 0 0; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.5rem; }
  .footer-socials { justify-content: flex-start; }

  /* About section */
  .about-split { grid-template-columns: 1fr; gap: 2rem; }
  .about-img-wrap { max-height: none; overflow: visible; }
  .about-img-wrap img { height: auto; }
  .about-credentials { margin-top: 1rem; }
  /* Keep nav-cta hidden on 480px, show on 768px */
  .nav-cta { display: none; }

  /* Page hero */
  .page-hero { padding: 6rem 0 3rem; }
  .page-hero h1 { font-size: clamp(1.7rem, 7vw, 2.5rem); }

  /* Mobile sticky bar */
  .mobile-sticky-bar { display: flex; }

  /* Comparison table responsive */
  .comparison-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* Utils */
  .hidden-mobile { display: none !important; }
  .hidden-desktop { display: block !important; }

  /* Section header */
  .section-header { margin-bottom: 2.5rem; }
  .section-header h2 { font-size: clamp(1.5rem, 6vw, 2.2rem); }

  /* CTA buttons on mobile */
  .hero-actions .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  /* Extra-small phones */
  body { padding-bottom: 68px; }
  .container { padding: 0 0.875rem; }

  h1 { font-size: clamp(1.7rem, 9vw, 2.5rem); }
  h2 { font-size: clamp(1.4rem, 7vw, 2rem); }

  .hero-title { font-size: clamp(1.7rem, 9vw, 2.8rem); }
  .hero-badge { display: none; }
  .hero-hours { font-size: 0.78rem; }
  .hero-controls { bottom: 1.5rem; }

  .why-grid { grid-template-columns: 1fr; gap: 1rem; }
  .conditions-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
  .condition-item { padding: 1rem 0.6rem; }
  .condition-item-icon { font-size: 1.5rem; }
  .condition-item-name { font-size: 0.78rem; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .stat-number { font-size: 2.2rem; }

  .trust-number { font-size: 1.4rem; }

  .review-tab { padding: 0.35rem 0.6rem; font-size: 0.78rem; }

  .form-container { padding: 1.25rem 1rem; }
  .form-radio-group, .form-check-group { gap: 0.75rem; }

  .btn { padding: 0.7rem 1.5rem; font-size: 0.9rem; }
  .btn-lg { padding: 0.85rem 1.75rem; font-size: 1rem; }

  .nav-logo { font-size: 1rem; }
  .nav-logo-icon { width: 36px; height: 36px; font-size: 1.1rem; }

  .map-frame { height: 240px !important; }

  .about-img-wrap img { height: auto; }

  .process-step .step-number { width: 56px; height: 56px; font-size: 1.25rem; }

  .emergency-text h3 { font-size: 1rem; }
  .emergency-text p { font-size: 0.85rem; }

  .footer-brand-desc { font-size: 0.85rem; }

  /* Sticky bar at 480px */
  .sticky-btn span { font-size: 10px; }
  .sticky-book { margin: 0 4px; padding: 6px 10px; border-radius: 10px; }
}

/* Landscape phone */
@media (max-width: 768px) and (orientation: landscape) {
  .hero { min-height: 100vw; }
  .mobile-sticky-bar { padding-bottom: 4px; }
}

/* Very small screens */
@media (max-width: 360px) {
  .conditions-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .nav-container { padding: 0 0.875rem; }
  .trust-item { padding: 0.6rem 1rem; }
}

/* Large desktop */
@media (min-width: 1440px) {
  html { font-size: 17px; }
  .container { max-width: 1360px; }
}

/* ── Print Styles ───────────────────────────────────────────────── */
@media print {
  .site-nav,
  .mobile-sticky-bar,
  .exit-popup-overlay,
  .hero-controls,
  .footer-socials { display: none !important; }
  body { color: #000; background: #fff; }
  .page-hero { background: #1B4F72 !important; print-color-adjust: exact; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 0.75em; color: #666; }
}
