/* =========================================================
   SmileCraft Dental Studio – style.css
   Design System: Teal + Deep Navy + Warm White + Gold Accent
   ========================================================= */

/* ─── 0. RESET & BASE ───────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Colors */
  --clr-teal:        #0d9488;
  --clr-teal-light:  #14b8a6;
  --clr-teal-dark:   #0f766e;
  --clr-navy:        #0a1628;
  --clr-navy-mid:    #1a2e4a;
  --clr-navy-light:  #243b55;
  --clr-gold:        #f59e0b;
  --clr-gold-light:  #fbbf24;
  --clr-rose:        #f43f5e;
  --clr-red:         #ef4444;
  --clr-white:       #ffffff;
  --clr-off-white:   #f8fafc;
  --clr-gray-50:     #f1f5f9;
  --clr-gray-100:    #e2e8f0;
  --clr-gray-200:    #cbd5e1;
  --clr-gray-400:    #94a3b8;
  --clr-gray-600:    #475569;
  --clr-gray-800:    #1e293b;
  --clr-text:        #1e293b;
  --clr-text-muted:  #64748b;

  /* Typography */
  --ff-display:  'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-body:     'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --sp-xs: 0.5rem;
  --sp-sm: 1rem;
  --sp-md: 1.5rem;
  --sp-lg: 2.5rem;
  --sp-xl: 4rem;
  --sp-2xl: 6rem;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(0,0,0,.07);
  --shadow-md:  0 8px 30px rgba(0,0,0,.10);
  --shadow-lg:  0 20px 60px rgba(0,0,0,.15);
  --shadow-xl:  0 30px 80px rgba(0,0,0,.20);

  /* Transitions */
  --ease: cubic-bezier(.25,.46,.45,.94);
  --ease-bounce: cubic-bezier(.34,1.56,.64,1);
  --dur-fast: 200ms;
  --dur-med:  400ms;
  --dur-slow: 700ms;

  /* Nav height */
  --nav-h: 76px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--ff-body);
  color: var(--clr-text);
  background: var(--clr-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }
button { cursor: pointer; font-family: var(--ff-body); }
address { font-style: normal; }

/* ─── 1. LAYOUT UTILITIES ───────────────────────────────── */
.container {
  width: min(1200px, 100% - 3rem);
  margin-inline: auto;
}

.section-padding {
  padding-block: var(--sp-2xl);
}

.bg-light { background: var(--clr-gray-50); }
.bg-dark  { background: var(--clr-navy); }

/* ─── 2. BUTTONS ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  transition: all var(--dur-fast) var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--clr-teal), var(--clr-teal-dark));
  color: var(--clr-white);
  box-shadow: 0 4px 20px rgba(13,148,136,.35);
}
.btn-primary:hover, .btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(13,148,136,.5);
  background: linear-gradient(135deg, var(--clr-teal-light), var(--clr-teal));
}

.btn-secondary {
  background: rgba(255,255,255,.15);
  color: var(--clr-white);
  border-color: rgba(255,255,255,.4);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover, .btn-secondary:focus-visible {
  background: rgba(255,255,255,.25);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--clr-teal);
  border-color: var(--clr-teal);
}
.btn-outline:hover, .btn-outline:focus-visible {
  background: var(--clr-teal);
  color: var(--clr-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13,148,136,.3);
}

.btn-nav {
  background: linear-gradient(135deg, var(--clr-teal), var(--clr-teal-dark));
  color: var(--clr-white) !important;
  padding: 0.625rem 1.4rem;
  font-size: 0.875rem;
  box-shadow: 0 4px 14px rgba(13,148,136,.35);
}
.btn-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(13,148,136,.5);
}

/* Focus ring */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--clr-teal-light);
  outline-offset: 3px;
}

/* ─── 3. SECTION HEADERS ────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: var(--sp-xl);
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-teal);
  background: rgba(13,148,136,.1);
  padding: 0.3rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.8rem;
}
.light-eyebrow { color: var(--clr-teal-light); background: rgba(20,184,166,.15); }

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--clr-navy);
  margin-bottom: 1rem;
}
.light-title { color: var(--clr-white); }

.title-accent { color: var(--clr-teal); }

.section-subtitle {
  color: var(--clr-text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin-inline: auto;
}
.light-subtitle { color: var(--clr-gray-400); }

/* ─── 4. NAVBAR ─────────────────────────────────────────── */
.navbar {
  position: fixed;
  inset: 0 0 auto;
  height: var(--nav-h);
  z-index: 1000;
  background: transparent;
  transition: background var(--dur-med) var(--ease),
              box-shadow var(--dur-med) var(--ease),
              backdrop-filter var(--dur-med) var(--ease);
}

.navbar.scrolled {
  background: rgba(10,22,40,.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0,0,0,.3);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: min(1400px, 100% - 3rem);
  margin-inline: auto;
}

/* Logo */
.nav-logo, .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--clr-white);
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--clr-teal), var(--clr-teal-dark));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--clr-white);
  box-shadow: 0 4px 14px rgba(13,148,136,.4);
}

.logo-accent { color: var(--clr-teal-light); }

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

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color var(--dur-fast), background var(--dur-fast);
}
.nav-link:hover { color: var(--clr-white); background: rgba(255,255,255,.1); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  border-radius: var(--radius-sm);
}
.bar {
  width: 26px;
  height: 2.5px;
  background: var(--clr-white);
  border-radius: 2px;
  transition: all var(--dur-med) var(--ease);
  transform-origin: center;
}
.hamburger.open .bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open .bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ─── 5. HERO (Split Dark Layout) ───────────────────────── */

/* ── Overall section: two columns ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  background: var(--clr-navy);
}

/* ── Decorative geometry on the dark left side ── */
.hero-geo {
  position: absolute;
  inset: 0 50% 0 0;   /* confined to left half */
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.geo-circle {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(13,148,136,.18);
}
.geo-c1 { width: 480px; height: 480px; top: -120px; left: -180px; }
.geo-c2 { width: 320px; height: 320px; top: 30%;   left: -80px;  border-color: rgba(245,158,11,.12); }
.geo-c3 { width: 200px; height: 200px; bottom: 6%; left: 40%;    border-color: rgba(13,148,136,.10); }

/* Dot grid pattern */
.geo-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(13,148,136,.22) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  mask-image: linear-gradient(135deg, transparent 0%, rgba(0,0,0,.6) 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(135deg, transparent 0%, rgba(0,0,0,.6) 50%, transparent 100%);
}

/* ── LEFT panel ── */
.hero-left {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 3rem) 3.5rem 4rem 6%;
  background: var(--clr-navy);
  /* subtle teal glow from centre */
  box-shadow: inset -1px 0 0 rgba(13,148,136,.15);
}

/* Thin teal divider line between columns */
.hero-left::after {
  content: '';
  position: absolute;
  top: 10%; bottom: 10%;
  right: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(13,148,136,.4), transparent);
}

.hero-left-inner {
  max-width: 540px;
  animation: fadeSlideUp 0.9s 0.1s var(--ease) both;
}

/* ── Badge ── */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(13,148,136,.15);
  border: 1px solid rgba(13,148,136,.35);
  color: var(--clr-teal-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  display: inline-flex;
}

/* ── Headline ── */
.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--clr-white);
  margin-bottom: 1.25rem;
}

/* "with Precision & Care" — smaller line */
.hero-title-sub {
  font-size: 0.55em;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,.55);
  display: block;
  margin-top: 0.15em;
}

.hero-accent {
  background: linear-gradient(95deg, var(--clr-teal-light) 0%, var(--clr-gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* ── Subtitle ── */
.hero-subtitle {
  color: rgba(255,255,255,.68);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 2rem;
}

/* ── CTAs ── */
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 2rem;
}

.hero-cta-primary { /* inherits .btn .btn-primary */ }

.hero-cta-ghost {
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.85);
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: var(--radius-full);
  padding: 0.875rem 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast) var(--ease-bounce);
}
.hero-cta-ghost:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.4);
  transform: translateY(-2px);
}

/* ── Trust pills ── */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.25rem;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
}
.trust-pill i { color: var(--clr-teal-light); font-size: 0.7rem; }

/* ── Stats bar ── */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,.1);
}

.stat-item { display: flex; flex-direction: column; }

.stat-num {
  font-family: var(--ff-display);
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--clr-white);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 0.25rem;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.18);
  flex-shrink: 0;
}

/* ── RIGHT panel ── */
.hero-right {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #0d1e38 0%, #0a1628 60%, #071220 100%);
  padding: calc(var(--nav-h) + 2rem) 5% 4rem 4%;
  overflow: hidden;
  animation: fadeSlideLeft 1s 0.3s var(--ease) both;
}

/* Radial glow behind the image */
.hero-right::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(13,148,136,.14) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Image frame ── */
.hero-img-frame {
  position: relative;
  width: min(420px, 90%);
  flex-shrink: 0;
}

/* Blob / decorative shape behind the image */
.hero-img-blob {
  position: absolute;
  inset: -5% -8%;
  background: linear-gradient(135deg, rgba(13,148,136,.2), rgba(13,148,136,.05));
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  animation: blobMorph 10s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes blobMorph {
  0%   { border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%; }
  33%  { border-radius: 45% 55% 40% 60% / 60% 40% 55% 45%; }
  66%  { border-radius: 55% 45% 60% 40% / 40% 55% 45% 60%; }
  100% { border-radius: 40% 60% 45% 55% / 55% 45% 60% 40%; }
}

/* Doctor image */
.hero-doctor-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: top center;
  border-radius: 38% 38% 50% 50%;
  border: 3px solid rgba(13,148,136,.35);
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 8px rgba(13,148,136,.08);
  display: block;
  filter: brightness(1.05) contrast(1.02);
}

/* ── Floating info cards ── */
.hero-float-card {
  position: absolute;
  z-index: 3;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.3);
}

/* Top-left card: ADA badge */
.hero-fc-top {
  top: 12%;
  left: -2rem;
  animation: float 5s ease-in-out infinite;
}

/* Bottom-right card: Reviews */
.hero-fc-bottom {
  bottom: 12%;
  right: -2rem;
  animation: float 5s 2.5s ease-in-out infinite;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
}

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

.hfc-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-gold), #f97316);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1rem;
  flex-shrink: 0;
}

.hfc-text strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--clr-navy);
  letter-spacing: -0.01em;
}
.hfc-text span {
  font-size: 0.72rem;
  color: var(--clr-text-muted);
  font-weight: 500;
}

.hfc-stars {
  color: var(--clr-gold);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.15rem;
}

/* ── Scroll indicator ── */
.scroll-indicator {
  position: absolute;
  bottom: 1.75rem;
  left: 25%;               /* centred on the left text panel */
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,.5);
  font-size: 1.1rem;
  animation: bounce 2s ease infinite;
  transition: color var(--dur-fast);
}
.scroll-indicator:hover { color: var(--clr-teal-light); }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

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


/* ─── 6. ABOUT ──────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  align-items: center;
}

.about-image-col { position: relative; }

.about-img-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.about-img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-xl);
  transition: transform var(--dur-slow) var(--ease);
}
.about-img-wrapper:hover .about-img { transform: scale(1.03); }

.about-badge-card {
  position: absolute;
  bottom: 1.5rem;
  right: -1.5rem;
  background: var(--clr-white);
  border-radius: var(--radius-md);
  padding: 0.875rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-xl);
  animation: float 4s ease-in-out infinite;
}
.about-badge-card i {
  font-size: 1.75rem;
  color: var(--clr-gold);
}
.about-badge-card strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--clr-navy);
}
.about-badge-card span {
  font-size: 0.72rem;
  color: var(--clr-text-muted);
}

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

.about-content { padding-inline: 0.5rem; }

.about-lead {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--clr-teal-dark);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.about-body {
  color: var(--clr-text-muted);
  margin-bottom: 1.5rem;
}

.about-credentials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}

.credential {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--clr-gray-800);
}
.credential i { color: var(--clr-teal); font-size: 0.95rem; }

.trust-statement {
  background: linear-gradient(135deg, rgba(13,148,136,.06), rgba(13,148,136,.02));
  border-left: 4px solid var(--clr-teal);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.25rem 1.5rem;
  font-style: italic;
  color: var(--clr-gray-800);
  font-size: 1rem;
  line-height: 1.7;
  font-family: var(--ff-body);
}
.trust-statement cite {
  display: block;
  margin-top: 0.5rem;
  font-style: normal;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--clr-teal-dark);
}

/* ─── 7. SERVICES ───────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1.5px solid var(--clr-gray-100);
  transition: transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease), border-color var(--dur-med);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-teal), var(--clr-teal-light));
  opacity: 0;
  transition: opacity var(--dur-med);
}
.service-card:hover, .service-card:focus-within {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(13,148,136,.25);
}
.service-card:hover::before { opacity: 1; }

.service-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.service-teal  { background: rgba(13,148,136,.12); color: var(--clr-teal); }
.service-gold  { background: rgba(245,158,11,.12); color: var(--clr-gold); }
.service-rose  { background: rgba(244,63,94,.12);  color: var(--clr-rose); }
.service-red   { background: rgba(239,68,68,.12);  color: var(--clr-red); }

.featured-service {
  background: linear-gradient(150deg, var(--clr-navy) 0%, var(--clr-navy-mid) 100%);
  border-color: rgba(13,148,136,.3);
  color: var(--clr-white);
}
.featured-service h3  { color: var(--clr-white); }
.featured-service p   { color: rgba(255,255,255,.75); }
.featured-service .service-list li { color: rgba(255,255,255,.85); }
.service-white { background: rgba(255,255,255,.15); color: var(--clr-teal-light); }

.featured-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--clr-gold);
  color: var(--clr-navy);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.service-card h3 {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--clr-navy);
  margin-bottom: 0.6rem;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--clr-text-muted);
  margin-bottom: 1rem;
  line-height: 1.65;
}

.service-list {
  margin-bottom: 1.25rem;
}
.service-list li {
  font-size: 0.82rem;
  color: var(--clr-gray-600);
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--clr-gray-100);
  padding-left: 1rem;
  position: relative;
}
.service-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--clr-teal);
  font-size: 0.7rem;
  top: 0.38rem;
}
.featured-service .service-list li { border-color: rgba(255,255,255,.1); }
.featured-service .service-list li::before { color: var(--clr-teal-light); }

.service-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--clr-teal);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap var(--dur-fast), color var(--dur-fast);
}
.service-link:hover { gap: 0.6rem; color: var(--clr-teal-dark); }
.featured-service .service-link { color: var(--clr-teal-light); }
.featured-service .service-link:hover { color: var(--clr-white); }

/* ─── 8. WHY CHOOSE US ──────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.why-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  border: 1.5px solid var(--clr-gray-100);
  transition: transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease);
  text-align: center;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.why-icon {
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, rgba(13,148,136,.12), rgba(13,148,136,.06));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.6rem;
  color: var(--clr-teal);
  transition: background var(--dur-med), transform var(--dur-med) var(--ease-bounce);
}
.why-card:hover .why-icon {
  background: linear-gradient(135deg, var(--clr-teal), var(--clr-teal-dark));
  color: var(--clr-white);
  transform: scale(1.1);
}

.why-card h3 {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-navy);
  margin-bottom: 0.6rem;
}

.why-card p {
  font-size: 0.875rem;
  color: var(--clr-text-muted);
  line-height: 1.65;
}

/* ─── 9. GALLERY / BEFORE-AFTER ─────────────────────────── */

/* Before-After Sliders */
.ba-sliders-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.ba-slider-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.ba-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-teal);
  background: rgba(13,148,136,.1);
  border: 1px solid rgba(13,148,136,.25);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
}

/* ── The slider container ── */
.ba-slider {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: col-resize;
  user-select: none;
  -webkit-user-select: none;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background: var(--clr-gray-100);
  touch-action: none;
}

/* Both images fill the container completely */
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  display: block;
}

/* After image — always the base layer */
.ba-img-after  { z-index: 1; }

/* Before image — sits above, clipped from the right edge */
.ba-img-before {
  z-index: 2;
  /* Default: show left 50%, hide right 50% */
  clip-path: inset(0 50% 0 0);
  transition: none; /* JS animates this */
}

/* BEFORE / AFTER text labels */
.ba-label-before,
.ba-label-after {
  position: absolute;
  top: 0.85rem;
  z-index: 4;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-white);
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-full);
  pointer-events: none;
}

.ba-label-before {
  left: 0.75rem;
  background: rgba(10,22,40,.72);
  border: 1px solid rgba(255,255,255,.2);
}

.ba-label-after {
  right: 0.75rem;
  background: rgba(13,148,136,.8);
  border: 1px solid rgba(255,255,255,.25);
}

/* ── Drag handle ── */
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;                 /* JS moves this */
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.ba-handle-line {
  flex: 1;
  width: 2.5px;
  background: var(--clr-white);
  box-shadow: 0 0 8px rgba(0,0,0,.35);
}

.ba-handle-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--clr-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--clr-teal-dark);
  box-shadow: 0 4px 20px rgba(0,0,0,.35);
  flex-shrink: 0;
  border: 2px solid rgba(13,148,136,.3);
}

/* Invisible range input covers the whole slider for interaction */
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: col-resize;
  z-index: 6;
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

/* Photo Gallery Grid */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}

.gallery-wide { grid-column: span 2; }

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius-md);
  position: relative;
  cursor: pointer;
  aspect-ratio: 1;
  background: var(--clr-gray-100);
}

.gallery-wide { aspect-ratio: 16/9; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}
.gallery-item:hover img, .gallery-item:focus img { transform: scale(1.07); }

.gallery-item figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(10,22,40,.8));
  color: var(--clr-white);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 1.5rem 1rem 0.75rem;
  transform: translateY(100%);
  transition: transform var(--dur-med) var(--ease);
}
.gallery-item:hover figcaption, .gallery-item:focus figcaption { transform: translateY(0); }

/* ─── 10. PRICING ───────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: var(--clr-white);
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--clr-gray-100);
  overflow: hidden;
  transition: transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease);
  position: relative;
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.pricing-popular {
  border-color: var(--clr-teal);
  transform: translateY(-12px);
  box-shadow: var(--shadow-xl), 0 0 0 1px var(--clr-teal);
}
.pricing-popular:hover { transform: translateY(-18px); }

.popular-ribbon {
  background: linear-gradient(90deg, var(--clr-teal), var(--clr-teal-dark));
  color: var(--clr-white);
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem;
}

.pricing-header {
  padding: 1.75rem 2rem;
  border-bottom: 1.5px solid var(--clr-gray-100);
}

.plan-name {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-teal);
  margin-bottom: 0.75rem;
}

.plan-price {
  display: flex;
  align-items: flex-end;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.price-currency {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-navy);
  line-height: 1;
  padding-bottom: 0.6rem;
}

.price-amount {
  font-family: var(--ff-display);
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--clr-navy);
  line-height: 1;
}

.price-period {
  font-size: 0.875rem;
  color: var(--clr-text-muted);
  padding-bottom: 0.4rem;
}

.plan-desc {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  line-height: 1.5;
}

.plan-features {
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.plan-features li {
  font-size: 0.875rem;
  color: var(--clr-gray-800);
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.plan-features li i.fa-check { color: var(--clr-teal); flex-shrink: 0; }
.plan-features li.feature-unavailable { color: var(--clr-gray-400); }
.plan-features li i.fa-xmark { color: var(--clr-gray-300); flex-shrink: 0; }

.plan-cta {
  margin: 0 1.75rem 1.75rem;
  width: calc(100% - 3.5rem);
  justify-content: center;
}

.pricing-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--clr-text-muted);
}
.pricing-note a { color: var(--clr-teal); text-decoration: underline; }

/* ─── 11. TESTIMONIALS ──────────────────────────────────── */
.testimonials-carousel { position: relative; overflow: hidden; }

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s var(--ease);
  will-change: transform;
}

.testimonial-card {
  min-width: 360px;
  max-width: 360px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-xl);
  padding: 2rem;
  flex-shrink: 0;
  backdrop-filter: blur(8px);
  transition: transform var(--dur-med) var(--ease), background var(--dur-med);
}
.testimonial-card:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }

.stars { color: var(--clr-gold); font-size: 0.9rem; margin-bottom: 1rem; letter-spacing: 0.05em; }

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: rgba(255,255,255,.82);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.5rem;
  border: none;
  padding: 0;
  background: none;
}

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

.reviewer-avatar {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--clr-teal), var(--clr-teal-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--clr-white);
  flex-shrink: 0;
}

.reviewer-info strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--clr-white);
}
.reviewer-info span {
  font-size: 0.78rem;
  color: rgba(255,255,255,.55);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--clr-white);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-fast), transform var(--dur-fast) var(--ease-bounce);
}
.carousel-btn:hover { background: var(--clr-teal); transform: scale(1.1); }

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,.3);
  transition: width var(--dur-med) var(--ease), background var(--dur-med);
  border: none;
  cursor: pointer;
}
.dot.active {
  width: 24px;
  background: var(--clr-teal-light);
}

/* ─── 12. FAQ ───────────────────────────────────────────── */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--sp-xl);
  align-items: start;
}

.faq-left { position: sticky; top: calc(var(--nav-h) + 2rem); }
.faq-left p {
  color: var(--clr-text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.faq-cta { margin-top: 0.5rem; }

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

.faq-item {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--clr-gray-100);
  overflow: hidden;
  transition: border-color var(--dur-med);
}
.faq-item:has(.faq-question[aria-expanded="true"]) { border-color: rgba(13,148,136,.3); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--clr-gray-800);
  transition: color var(--dur-fast);
}
.faq-question:hover { color: var(--clr-teal); }
.faq-question[aria-expanded="true"] { color: var(--clr-teal-dark); }

.faq-icon {
  width: 28px;
  height: 28px;
  background: var(--clr-gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--clr-teal);
  flex-shrink: 0;
  transition: background var(--dur-med), transform var(--dur-med) var(--ease);
}
.faq-question[aria-expanded="true"] .faq-icon {
  background: var(--clr-teal);
  color: var(--clr-white);
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  line-height: 1.75;
  animation: expandDown var(--dur-med) var(--ease);
}
.faq-answer[hidden] { display: none; }

@keyframes expandDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── 13. CONTACT ───────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Form */
.contact-form-wrap {
  background: var(--clr-white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--clr-gray-100);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--clr-gray-800);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.875rem 1rem;
  border: 1.5px solid var(--clr-gray-200);
  border-radius: var(--radius-md);
  font-family: var(--ff-body);
  font-size: 0.9rem;
  color: var(--clr-text);
  background: var(--clr-white);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--clr-gray-400); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--clr-teal);
  box-shadow: 0 0 0 3px rgba(13,148,136,.15);
  outline: none;
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error { border-color: var(--clr-red); }

.form-error {
  font-size: 0.78rem;
  color: var(--clr-red);
  font-weight: 500;
}

.form-group textarea { resize: vertical; min-height: 110px; }

.form-submit { width: 100%; justify-content: center; padding: 1rem; font-size: 1rem; }

.form-success {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(13,148,136,.1);
  border: 1px solid rgba(13,148,136,.25);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-top: 1rem;
  color: var(--clr-teal-dark);
  font-weight: 500;
  font-size: 0.9rem;
}
.form-success i { font-size: 1.2rem; color: var(--clr-teal); }

/* Contact Info */
.contact-info-card {
  background: var(--clr-white);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--clr-gray-100);
  margin-bottom: 1.25rem;
}
.contact-info-card h3 {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--clr-navy);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.contact-info-card h3 i { color: var(--clr-teal); }
.contact-info-card p { font-size: 0.9rem; color: var(--clr-text-muted); line-height: 1.6; }

.map-placeholder { margin-top: 1rem; border-radius: var(--radius-md); overflow: hidden; }

.hours-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--clr-gray-800);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--clr-gray-100);
}
.hours-list li:last-child { border-bottom: none; }
.hours-list li.closed span:last-child { color: var(--clr-red); font-weight: 600; }

.contact-actions { display: flex; flex-direction: column; gap: 0.75rem; }

.contact-action-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  transition: transform var(--dur-fast) var(--ease-bounce), box-shadow var(--dur-fast);
  font-size: 1.3rem;
}
.contact-action-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.contact-action-btn div { display: flex; flex-direction: column; }
.contact-action-btn span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.8;
}
.contact-action-btn strong { font-size: 0.95rem; font-weight: 700; }

.phone-btn {
  background: linear-gradient(135deg, var(--clr-navy), var(--clr-navy-mid));
  color: var(--clr-white);
}
.whatsapp-btn {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: var(--clr-white);
}

/* ─── 14. FOOTER ────────────────────────────────────────── */
.footer-main {
  background: var(--clr-navy);
  padding-block: var(--sp-2xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.3fr;
  gap: var(--sp-lg);
}

.footer-brand { max-width: 300px; }

.footer-logo { margin-bottom: 1rem; }

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.social-links { display: flex; gap: 0.625rem; }

.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.65);
  font-size: 0.95rem;
  transition: background var(--dur-fast), color var(--dur-fast), transform var(--dur-fast) var(--ease-bounce);
}
.social-link:hover { background: var(--clr-teal); color: var(--clr-white); transform: translateY(-3px); }

.footer-nav-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 1.25rem;
}

.footer-nav-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav-col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,.65);
  transition: color var(--dur-fast), padding-left var(--dur-fast);
}
.footer-nav-col a:hover { color: var(--clr-teal-light); padding-left: 4px; }

.footer-contact-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 1.25rem;
}
.footer-contact-col address p {
  font-size: 0.875rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.footer-contact-col address i { color: var(--clr-teal); margin-top: 0.2rem; flex-shrink: 0; }
.footer-contact-col address a { color: rgba(255,255,255,.7); transition: color var(--dur-fast); }
.footer-contact-col address a:hover { color: var(--clr-teal-light); }

.footer-hours {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.footer-hours p {
  font-size: 0.82rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 0.25rem;
}

.footer-bottom {
  background: rgba(0,0,0,.25);
  padding-block: 1.25rem;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,.45);
}
.footer-bottom strong { color: rgba(255,255,255,.7); }

/* ─── 15. FLOATING ELEMENTS ─────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 5rem;
  right: 1.75rem;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--clr-white);
  box-shadow: 0 6px 20px rgba(37,211,102,.5);
  transition: transform var(--dur-fast) var(--ease-bounce), box-shadow var(--dur-fast);
  animation: pulse 3s ease infinite;
}
.whatsapp-float:hover { transform: scale(1.1) translateY(-3px); box-shadow: 0 10px 30px rgba(37,211,102,.6); }

@keyframes pulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(37,211,102,.5); }
  50%       { box-shadow: 0 6px 30px rgba(37,211,102,.75), 0 0 0 12px rgba(37,211,102,.1); }
}

.back-to-top {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 999;
  width: 44px;
  height: 44px;
  background: var(--clr-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--clr-white);
  border: 1.5px solid rgba(255,255,255,.15);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur-med), transform var(--dur-med) var(--ease-bounce);
  pointer-events: none;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--clr-teal); transform: translateY(-3px); }

/* ─── 16. SCROLL ANIMATIONS ─────────────────────────────── */
[data-animate] {
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease),
              transform var(--dur-slow) var(--ease);
}
[data-animate="fade-up"]    { transform: translateY(40px); }
[data-animate="fade-right"] { transform: translateX(-40px); }
[data-animate="fade-left"]  { transform: translateX(40px); }

[data-animate].in-view {
  opacity: 1;
  transform: none;
}

/* ─── 17. KEYFRAMES GENERAL ─────────────────────────────── */
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

/* ─── 18. RESPONSIVE ────────────────────────────────────── */
@media (max-width: 1100px) {
  .services-grid,
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { max-width: 100%; }

  /* Slightly tighten hero on mid screens */
  .hero-left  { padding: calc(var(--nav-h) + 2rem) 2rem 3rem 4%; }
  .hero-right { padding: calc(var(--nav-h) + 2rem) 4% 3rem 2rem; }
  .hero-doctor-img { height: 460px; }
  .hero-fc-top    { left: -1rem; }
  .hero-fc-bottom { right: -1rem; }
}

@media (max-width: 900px) {
  /* Hero: stack vertically */
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
  .hero-geo { inset: 0; } /* full width on mobile */
  .hero-left {
    padding: calc(var(--nav-h) + 2.5rem) 5% 2.5rem;
    box-shadow: none;
  }
  .hero-left::after { display: none; }
  .hero-left-inner { max-width: 100%; }
  .hero-right {
    padding: 2rem 5% 3.5rem;
    animation: none;
  }
  .hero-doctor-img { height: 380px; }
  .hero-fc-top    { top: 8%;  left: 0.5rem; }
  .hero-fc-bottom { bottom: 8%; right: 0.5rem; }
  .scroll-indicator { left: 50%; }

  .about-grid,
  .faq-layout,
  .contact-layout { grid-template-columns: 1fr; gap: 2rem; }

  .about-badge-card { right: 1rem; }
  .about-img { height: 400px; }
  .faq-left { position: static; }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }
  .pricing-popular { transform: none; }
  .pricing-popular:hover { transform: translateY(-6px); }

  .ba-sliders-row { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .photo-gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery-wide { grid-column: span 2; }

  .about-credentials { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 68px; }

  /* Hamburger menu */
  .hamburger { display: flex; z-index: 1001; }

  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: min(320px, 85vw);
    height: 100svh;
    background: var(--clr-navy);
    flex-direction: column;
    align-items: flex-start;
    padding: calc(var(--nav-h) + 1.5rem) 2rem 2rem;
    gap: 0.25rem;
    transition: right var(--dur-med) var(--ease);
    box-shadow: -10px 0 40px rgba(0,0,0,.4);
    overflow-y: auto;
    z-index: 1000;
  }
  .nav-links.open { right: 0; }

  .nav-link {
    width: 100%;
    padding: 0.875rem 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    font-size: 1rem;
    color: rgba(255,255,255,.85);
    border-radius: 0;
  }
  .nav-link:hover { background: transparent; color: var(--clr-teal-light); padding-left: 4px; }
  .btn-nav { margin-top: 0.75rem; width: 100%; justify-content: center; border-radius: var(--radius-full); }

  /* Mobile overlay */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur-med);
    backdrop-filter: blur(3px);
  }
  .nav-overlay.show { opacity: 1; pointer-events: auto; }

  .hero-stats { flex-wrap: wrap; gap: 1rem; }
  .stat-divider { display: none; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn,
  .hero-cta-ghost { width: 100%; justify-content: center; }
  .hero-trust { justify-content: flex-start; }
  .hero-doctor-img { height: 300px; }
  .hero-fc-top, .hero-fc-bottom { display: none; } /* hide floating cards on small phones */

  .services-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .why-grid { grid-template-columns: 1fr; }

  .testimonial-card { min-width: calc(100vw - 4rem); max-width: calc(100vw - 4rem); }

  .form-row { grid-template-columns: 1fr; }

  .section-padding { padding-block: 4rem; }

  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .photo-gallery { grid-template-columns: 1fr; }
  .gallery-wide { grid-column: span 1; aspect-ratio: 16/9; }
  .contact-form-wrap { padding: 1.5rem; }
  .hero-title { font-size: clamp(2rem, 9vw, 2.8rem); }
}
