@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ═══════════════════════════════════════════════════════════════
   CURE GALAXY DIAGNOSTICS — HOME.CSS
   Mobile-First | Fully Responsive | Production-Quality
   Breakpoints: 320 | 375 | 480 | 640 | 768 | 1024 | 1280 | 1440 | 1920 | 2560px
   ═══════════════════════════════════════════════════════════════ */

/* ── CSS VARIABLES ── */
:root {
  --primary:       #D49A2A;
  --primary-dark:  #B8851E;
  --secondary:     #E58A17;
  --accent:        #B3131B;
  --bg:            #FAF7F2;
  --white:         #ffffff;
  --text-dark:     #222222;
  --text-mid:      #3D3328;
  --text-light:    #7A6A58;
  --card-bg:       #ffffff;
  --border:        #EDE5D8;
  --grad1:         linear-gradient(135deg, #7A4A00 0%, #D49A2A 55%, #E58A17 100%);
  --grad2:         linear-gradient(135deg, #D49A2A, #E58A17);
  --shadow:        0 10px 40px rgba(212,154,42,0.14);
  --shadow-hover:  0 20px 60px rgba(212,154,42,0.26);

  /* Layout tokens */
  --nav-h:        64px;
  --pad-x:        clamp(1rem, 5vw, 5%);
  --section-py:   clamp(3.5rem, 8vw, 5.5rem);
}

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

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; }

/* ════════════════════════════════════════════════
   NAVIGATION (mirrors components.css — mobile-first)
   ════════════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  transition: box-shadow .3s ease, background .3s ease;
}

nav.scrolled {
  box-shadow: 0 4px 24px rgba(212,154,42,0.18);
  background: rgba(255,255,255,0.99);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.5vw, 10px);
  text-decoration: none;
  flex-shrink: 0;
  min-width: 0;
  max-width: calc(100% - 80px);
}

.nav-logo .logo-img {
  height: clamp(30px, 5vw, 42px);
  width: auto;
  max-width: clamp(90px, 15vw, 120px);
  object-fit: contain;
  border-radius: 6px;
  display: block;
  flex-shrink: 0;
}

.logo-img-footer { filter: brightness(0) invert(1); opacity: .9; }

.nav-logo span {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: clamp(0.75rem, 2vw, 1.05rem);
  color: var(--text-dark);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-logo span small {
  display: block;
  font-size: clamp(0.55rem, 1vw, 0.65rem);
  font-weight: 400;
  color: var(--text-light);
}

.nav-links {
  display: none;
  align-items: center;
  gap: clamp(14px, 2vw, 32px);
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: clamp(0.78rem, 1.2vw, 0.9rem);
  font-weight: 500;
  color: var(--text-mid);
  transition: color .25s;
  position: relative;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform .25s;
}

.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  display: none;
  background: var(--grad1);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: clamp(8px, 1.2vw, 10px) clamp(14px, 2vw, 22px);
  font-size: clamp(0.78rem, 1.1vw, 0.88rem);
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
}

.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(212,154,42,.40); }

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  margin-right: -8px;
  background: none;
  border: none;
  border-radius: 8px;
  transition: background .2s;
  flex-shrink: 0;
  outline: none;
}

.hamburger:hover { background: rgba(212,154,42,0.08); }

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  transition: all .3s ease;
  border-radius: 2px;
  display: block;
}

nav.open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.open .hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
nav.open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-drawer {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 10px var(--pad-x) 18px;
  flex-direction: column;
  gap: 3px;
  box-shadow: 0 12px 40px rgba(0,0,0,.10);
  z-index: 998;
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}

nav.open .nav-mobile-drawer { display: flex; }

.nav-mobile-drawer li { list-style: none; }

.nav-mobile-drawer a {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-size: clamp(0.88rem, 2.5vw, 0.95rem);
  font-weight: 500;
  color: var(--text-mid);
  transition: all .2s;
  min-height: 48px;
}

.nav-mobile-drawer a:hover,
.nav-mobile-drawer a.active { background: #FFF8EC; color: var(--primary); }

.nav-mobile-drawer .drawer-cta {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--grad1);
  color: #fff;
  padding: 14px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  font-size: clamp(0.88rem, 2.5vw, 0.92rem);
  min-height: 52px;
  gap: 8px;
}

/* ════════════════════════════════════════════════
   SECTION BASE
   ════════════════════════════════════════════════ */
section { padding: var(--section-py) var(--pad-x); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: clamp(0.68rem, 1.5vw, 0.8rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--primary);
  flex-shrink: 0;
}

h2.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.5rem, 4.5vw, 2.6rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 14px;
}

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

.section-sub {
  font-size: clamp(0.85rem, 2vw, 1rem);
  color: var(--text-light);
  line-height: 1.75;
  max-width: 580px;
}

.section-head { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head.center { text-align: center; }
.section-head.center .section-label { justify-content: center; }
.section-head.center .section-label::before { display: none; }
.section-head.center .section-sub { margin: 0 auto; }

/* ════════════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════════════ */
.btn-primary {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: clamp(11px, 2vw, 14px) clamp(18px, 3vw, 28px);
  border-radius: 10px;
  font-size: clamp(0.85rem, 1.8vw, 0.95rem);
  font-weight: 700;
  cursor: pointer;
  transition: all .25s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(212,154,42,0.4);
  min-height: 48px;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(212,154,42,.5);
}
.btn-primary:active { transform: translateY(-1px); }

.btn-outline-white {
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 2px solid rgba(255,255,255,.55);
  padding: clamp(11px, 2vw, 14px) clamp(18px, 3vw, 28px);
  border-radius: 10px;
  font-size: clamp(0.85rem, 1.8vw, 0.95rem);
  font-weight: 600;
  cursor: pointer;
  transition: all .25s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  white-space: nowrap;
}

.btn-outline-white:hover {
  background: rgba(255,255,255,.18);
  border-color: #fff;
  transform: translateY(-3px);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: clamp(11px, 2vw, 14px) clamp(18px, 3vw, 28px);
  border-radius: 10px;
  font-size: clamp(0.85rem, 1.8vw, 0.95rem);
  font-weight: 600;
  cursor: pointer;
  transition: all .25s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
}

.btn-accent:hover { background: #8F0E14; transform: translateY(-3px); box-shadow: 0 12px 30px rgba(179,19,27,.4); }

.btn-blue {
  background: var(--grad1);
  color: #fff;
  border: none;
  padding: clamp(11px, 2vw, 14px) clamp(18px, 3vw, 28px);
  border-radius: 10px;
  font-size: clamp(0.85rem, 1.8vw, 0.95rem);
  font-weight: 600;
  cursor: pointer;
  transition: all .25s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  white-space: nowrap;
}

.btn-blue:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(212,154,42,.45); }

.btn-outline-blue {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: clamp(11px, 2vw, 14px) clamp(18px, 3vw, 28px);
  border-radius: 10px;
  font-size: clamp(0.85rem, 1.8vw, 0.95rem);
  font-weight: 600;
  cursor: pointer;
  transition: all .25s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
}

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

/* ════════════════════════════════════════════════
   HERO SECTION — MOBILE FIRST (stacked)
   ════════════════════════════════════════════════ */
.hero {
  min-height: 100svh;
  background:
    linear-gradient(135deg, rgba(15,10,5,0.92) 0%, rgba(30,20,10,0.50) 100%),
    url('../assets/hero-bg.webp') no-repeat center center / cover;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--nav-h) + clamp(1.5rem, 4vw, 2.5rem));
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
  gap: clamp(1.75rem, 5vw, 3rem);
}

.hero::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='%23D49A2A' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .15;
  pointer-events: none;
}

.hero-blob-1 {
  width: clamp(180px, 35vw, 500px);
  height: clamp(180px, 35vw, 500px);
  background: #D49A2A;
  top: -100px;
  right: -100px;
}

.hero-blob-2 {
  width: clamp(140px, 25vw, 350px);
  height: clamp(140px, 25vw, 350px);
  background: #E58A17;
  bottom: -80px;
  left: 10%;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50px;
  padding: clamp(5px, 1.2vw, 6px) clamp(10px, 2vw, 16px);
  color: #FFE599;
  font-size: clamp(0.7rem, 1.5vw, 0.82rem);
  font-weight: 500;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-badge span {
  width: 8px;
  height: 8px;
  background: #4ADE80;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.4); opacity: .7; }
}

.hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.75rem, 6vw, 3.1rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: clamp(12px, 2.5vw, 20px);
}

.hero h1 span { color: #FFD97A; }

.hero p {
  font-size: clamp(0.88rem, 2vw, 1.05rem);
  color: rgba(255,255,255,0.88);
  line-height: 1.75;
  margin-bottom: clamp(20px, 4vw, 36px);
  max-width: 600px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(10px, 2vw, 14px);
}

.hero-stats {
  display: flex;
  flex-wrap: nowrap;              /* all 4 in one line always */
  gap: clamp(10px, 3vw, 40px);
  margin-top: clamp(1.75rem, 5vw, 3.5rem);
  padding-top: clamp(1.25rem, 3vw, 2.5rem);
  border-top: 1px solid rgba(255,255,255,.22);
  overflow: hidden;               /* safety — never causes h-scroll */
}

.hero-stat {
  color: #fff;
  flex: 1 1 0;                    /* equal width, can shrink */
  min-width: 0;                   /* allow shrink below content width */
}

.hero-stat strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1rem, 3.5vw, 2rem);   /* tighter floor so 4 fit */
  font-weight: 800;
  color: #FFD97A;
  white-space: nowrap;
}

.hero-stat span {
  font-size: clamp(0.6rem, 1.8vw, 0.82rem);
  opacity: .82;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Hero Image Wrap (appointment form) */
.hero-img-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
}

/* ════════════════════════════════════════════════
   APPOINTMENT FORM CARD
   ════════════════════════════════════════════════ */
.appt-form-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.28);
  width: 100%;
}

.appt-form-card::-webkit-scrollbar { width: 4px; }
.appt-form-card::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }

.appt-form-header {
  background: #0F172A;
  color: #fff;
  padding: clamp(14px, 2.5vw, 20px) clamp(16px, 3vw, 24px);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: clamp(0.92rem, 2.2vw, 1.15rem);
  letter-spacing: .3px;
  text-align: center;
}

.appt-form {
  padding: clamp(14px, 3vw, 18px) clamp(14px, 3vw, 20px) clamp(16px, 3vw, 20px);
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.5vw, 10px);
}

/* Form row: 1-col on mobile, 2-col on 480px+ */
.appt-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(8px, 1.5vw, 10px);
}

.appt-field { display: flex; flex-direction: column; gap: 4px; }

.appt-field label {
  font-size: clamp(0.65rem, 1.2vw, 0.72rem);
  font-weight: 600;
  color: #334155;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.appt-field input,
.appt-field select,
.appt-field textarea {
  width: 100%;
  padding: clamp(8px, 1.5vw, 9px) clamp(10px, 2vw, 12px);
  border: 1.5px solid #E2E8F0;
  border-radius: 8px;
  font-size: clamp(0.78rem, 1.5vw, 0.82rem);
  font-family: 'Inter', sans-serif;
  color: #0F172A;
  background: #F8FAFC;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
  min-height: 42px;
}

.appt-field input:focus,
.appt-field select:focus,
.appt-field textarea:focus {
  border-color: #D49A2A;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(212,154,42,.15);
}

.appt-field input[type="date"],
.appt-field input[type="time"] { color: #64748B; }

.appt-field textarea { resize: none; min-height: 70px; }

.appt-submit-btn {
  width: 100%;
  background: #0F172A;
  color: #fff;
  border: none;
  padding: clamp(12px, 2vw, 13px);
  border-radius: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(0.88rem, 1.8vw, 0.95rem);
  font-weight: 700;
  cursor: pointer;
  letter-spacing: .3px;
  transition: background .25s, transform .2s, box-shadow .2s;
  margin-top: 4px;
  min-height: 48px;
}

.appt-submit-btn:hover {
  background: #1e293b;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(15,23,42,.35);
}

.appt-submit-btn:active { transform: translateY(0); }

/* ════════════════════════════════════════════════
   INTRO SECTION
   ════════════════════════════════════════════════ */
.intro { background: #fff; }

.intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

/* Bento 2×2 grid (always 2 cols on mobile to save space) */
.bento-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(10px, 2vw, 20px);
}

.bento-stat-card {
  background: #ffffff;
  border-radius: clamp(12px, 2vw, 20px);
  padding: clamp(16px, 3.5vw, 32px) clamp(14px, 3vw, 28px);
  border: 1px solid var(--border);
  transition: all .4s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(212,154,42,0.04);
}

.bento-stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.bento-stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad1);
  transform: scaleX(0);
  transition: transform .4s ease;
  transform-origin: left;
}

.bento-stat-card:hover::before { transform: scaleX(1); }

.bs-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(212,154,42,.10);
  color: var(--primary);
  border-radius: 6px;
  padding: clamp(4px, 1vw, 6px) clamp(8px, 1.5vw, 12px);
  font-size: clamp(0.62rem, 1.2vw, 0.75rem);
  font-weight: 700;
  margin-bottom: clamp(10px, 2vw, 18px);
  letter-spacing: .5px;
  transition: all .3s;
}

.bento-stat-card:hover .bs-badge { background: var(--primary); color: #fff; }

.bento-stat-card h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: clamp(0.85rem, 2vw, 1.15rem);
  margin-bottom: 8px;
  color: var(--text-dark);
}

.bento-stat-card p {
  font-size: clamp(0.72rem, 1.5vw, 0.86rem);
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* ════════════════════════════════════════════════
   WHY CHOOSE US
   ════════════════════════════════════════════════ */
.why { background: var(--bg); }

.why-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

/* Sticky only on desktop */
.why-left { position: static; }

.why-intro {
  font-size: clamp(0.85rem, 1.8vw, 0.97rem);
  color: var(--text-light);
  line-height: 1.85;
  margin: 20px 0 clamp(1.5rem, 3vw, 2.25rem);
}

.why-trust-bullets {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wt-bullet {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: clamp(0.85rem, 1.8vw, 0.95rem);
  font-weight: 500;
  color: var(--text-mid);
}

.wt-bullet-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(212,154,42,.18);
  margin-top: 6px;
}

/* Why right — 2×2 bento always */
.why-right.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 2vw, 24px);
}

.why-feat {
  background: #fff;
  border-radius: clamp(12px, 2vw, 20px);
  border: 1px solid var(--border);
  padding: clamp(18px, 3.5vw, 36px) clamp(16px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(10px, 2vw, 20px);
  transition: all .4s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  overflow: hidden;
}

.why-feat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad1);
  transform: scaleX(0);
  transition: transform .4s ease;
  transform-origin: left;
}

.why-feat:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.why-feat:hover::before { transform: scaleX(1); }

.wf-stat {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 900;
  line-height: 1;
  background: var(--grad1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: transform .4s ease;
}

.why-feat:hover .wf-stat { transform: scale(1.05); }

.wf-content h3 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(0.88rem, 1.8vw, 1.15rem);
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.wf-content p {
  font-size: clamp(0.75rem, 1.5vw, 0.88rem);
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}

/* ════════════════════════════════════════════════
   SERVICES PREVIEW
   ════════════════════════════════════════════════ */
.services-preview { background: #fff; }

/* Mobile: 1 col */
.svc-box-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 3vw, 24px);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.svc-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  position: relative;
  transition: all .4s cubic-bezier(0.4,0,0.2,1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.svc-box::after { display: none; }

.svc-img-wrap {
  width: 100%;
  height: clamp(160px, 28vw, 220px);
  overflow: hidden;
  position: relative;
}

.svc-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
  display: block;
  filter: brightness(.95);
}

.svc-box:hover .svc-img-wrap img {
  transform: scale(1.06);
  filter: brightness(1.05);
}

.svc-content {
  padding: clamp(18px, 3.5vw, 32px) clamp(16px, 3vw, 28px);
  flex-grow: 1;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.svc-box:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.svc-box h3 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.svc-box p {
  font-size: clamp(0.82rem, 1.6vw, 0.9rem);
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}

.services-cta { text-align: center; padding-top: 8px; }

.svc-cta-note {
  font-size: clamp(0.82rem, 1.6vw, 0.9rem);
  color: var(--text-light);
  margin-bottom: 18px;
}

.svc-cta-btn {
  padding: clamp(12px, 2vw, 15px) clamp(24px, 4vw, 38px);
  font-size: clamp(0.88rem, 1.8vw, 1rem);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(212,154,42,.35);
}

/* ════════════════════════════════════════════════
   HEALTH PACKAGES
   ════════════════════════════════════════════════ */
.packages { background: var(--bg); }

/* Mobile: 1 col */
.packages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(14px, 2.5vw, 24px);
}

.pkg-card {
  background: #fff;
  border-radius: 18px;
  padding: clamp(22px, 4vw, 36px) clamp(18px, 3.5vw, 28px) clamp(18px, 3.5vw, 32px);
  border: 1px solid var(--border);
  transition: all .4s cubic-bezier(0.4,0,0.2,1);
  text-align: left;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.pkg-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad1);
  opacity: 0;
  transition: opacity .4s ease;
  z-index: -1;
}

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

.pkg-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(212,154,42,.10);
  color: var(--primary);
  border-radius: 6px;
  padding: clamp(4px, 1vw, 6px) clamp(10px, 1.5vw, 14px);
  font-size: clamp(0.65rem, 1.2vw, 0.75rem);
  font-weight: 700;
  margin-bottom: clamp(14px, 2.5vw, 24px);
  letter-spacing: .5px;
  transition: all .4s ease;
}

.pkg-card:hover .pkg-tag { background: #fff; color: var(--primary); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }

.pkg-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-dark);
  transition: color .4s ease;
}

.pkg-card:hover h3 { color: #fff; }

.pkg-card p {
  font-size: clamp(0.82rem, 1.6vw, 0.9rem);
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
  transition: color .4s ease;
}

.pkg-card:hover p { color: rgba(255,255,255,.85); }

.pkg-link {
  margin-top: clamp(16px, 3vw, 24px);
  font-size: clamp(0.82rem, 1.6vw, 0.9rem);
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  transition: all .4s ease;
  transform: translateX(-5px);
  opacity: .8;
}

.pkg-card:hover .pkg-link { color: #fff; transform: translateX(0); opacity: 1; }

/* ════════════════════════════════════════════════
   PROCESS STEPS
   ════════════════════════════════════════════════ */
.process { background: #fff; }

/* Mobile: 2×2 grid, no connector line */
.process-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 2rem);
  position: relative;
}

.step {
  text-align: center;
  padding: 0 clamp(6px, 2vw, 20px);
  position: relative;
  z-index: 1;
}

.step-num {
  width: clamp(52px, 10vw, 72px);
  height: clamp(52px, 10vw, 72px);
  border-radius: 50%;
  background: var(--grad1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 800;
  margin: 0 auto clamp(12px, 2.5vw, 20px);
  box-shadow: 0 8px 24px rgba(212,154,42,.35);
  transition: transform .3s;
}

.step:hover .step-num { transform: scale(1.1); }

.step h3 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(0.82rem, 1.8vw, 0.95rem);
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  font-size: clamp(0.75rem, 1.5vw, 0.82rem);
  color: var(--text-light);
  line-height: 1.6;
}

/* ════════════════════════════════════════════════
   TESTIMONIALS
   ════════════════════════════════════════════════ */
.testimonials { background: var(--bg); }

/* ── Mobile & Tablet: Horizontal Scroll Snap Carousel ── */
.testi-grid {
  display: flex;
  flex-direction: row;
  gap: clamp(14px, 3vw, 20px);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-padding-left: var(--pad-x);
  padding-bottom: 12px;              /* room for scrollbar on desktop browsers */
  /* hide scrollbar but keep scroll */
  scrollbar-width: none;             /* Firefox */
  -ms-overflow-style: none;          /* IE 11 */
}
.testi-grid::-webkit-scrollbar { display: none; } /* Chrome/Safari */

.testi-card {
  background: #fff;
  border-radius: 18px;
  padding: clamp(20px, 4vw, 28px) clamp(18px, 3.5vw, 24px);
  border: 1px solid var(--border);
  transition: all .3s;
  position: relative;
  /* Carousel sizing — each card shows ~85vw, peek at next */
  flex: 0 0 clamp(260px, 80vw, 320px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

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

.testi-quote {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--primary);
  opacity: .25;
  font-family: Georgia, serif;
  line-height: 1;
  margin-bottom: 8px;
}

.testi-card p {
  font-size: clamp(0.82rem, 1.7vw, 0.9rem);
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}

.testi-author { display: flex; align-items: center; gap: 12px; }

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.testi-author strong { font-size: clamp(0.82rem, 1.6vw, 0.88rem); font-weight: 700; display: block; }
.testi-author span   { font-size: clamp(0.7rem, 1.3vw, 0.75rem); color: var(--text-light); }
.stars { color: #F59E0B; font-size: clamp(0.78rem, 1.5vw, 0.85rem); margin-bottom: 14px; }

/* Scroll hint dots — mobile only */
.testi-scroll-hint {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 18px;
}
.testi-scroll-hint span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--border);
  transition: background .3s, transform .3s;
}
.testi-scroll-hint span.active {
  background: var(--primary);
  transform: scale(1.4);
}
.stars { color: #F59E0B; font-size: clamp(0.78rem, 1.5vw, 0.85rem); margin-bottom: 14px; }

/* ════════════════════════════════════════════════
   CONTACT BANNER
   ════════════════════════════════════════════════ */
.contact-banner {
  background: var(--grad1);
  padding: clamp(3rem, 7vw, 5rem) var(--pad-x);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-banner::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.04'%3E%3Ccircle cx='20' cy='20' r='3'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.contact-banner h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.5rem, 4.5vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}

.contact-banner p {
  color: rgba(255,255,255,.85);
  font-size: clamp(0.88rem, 2vw, 1.05rem);
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.banner-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(10px, 2vw, 16px); }

.contact-banner .btn-primary { background: #ffffff; color: var(--text-dark); }
.contact-banner .btn-primary:hover { background: #FAF7F2; color: var(--primary); box-shadow: 0 12px 30px rgba(0,0,0,0.15); }



/* ════════════════════════════════════════════════
   SCROLL ANIMATIONS
   ════════════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left { opacity: 0; transform: translateX(-50px); transition: opacity .7s ease, transform .7s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right { opacity: 0; transform: translateX(50px); transition: opacity .7s ease, transform .7s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ════════════════════════════════════════════════
   ██  RESPONSIVE BREAKPOINTS — MOBILE FIRST  ██
   ════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────
   320px — Extra-small mobiles: tighten spacing
   ───────────────────────────────────────────────── */
@media (max-width: 374px) {
  .hero h1 { font-size: 1.6rem; }
  .hero-stats { gap: 12px; }
  .hero-stat strong { font-size: 1.2rem; }
  .bento-intro-grid { grid-template-columns: 1fr; }
  .why-right.bento-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .btn-primary,
  .btn-outline-white { width: 100%; justify-content: center; }
}

/* ─────────────────────────────────────────────────
   375px — Standard mobile: slight increases
   ───────────────────────────────────────────────── */
@media (min-width: 375px) {
  .hero h1 { font-size: clamp(1.8rem, 5.5vw, 2.2rem); }
}

/* ─────────────────────────────────────────────────
   480px — Large mobile: form row 2-col, footer 2-col
   ───────────────────────────────────────────────── */
@media (min-width: 480px) {
  .appt-form-row { grid-template-columns: 1fr 1fr; }
  .packages-grid { grid-template-columns: 1fr 1fr; }
}

/* ─────────────────────────────────────────────────
   640px — Small tablet: 2-col services & testimonials
   ───────────────────────────────────────────────── */
@media (min-width: 640px) {
  .svc-box-grid          { grid-template-columns: 1fr 1fr; }
  .svc-box-grid--3       { grid-template-columns: 1fr 1fr; }
  .packages-grid         { grid-template-columns: repeat(3, 1fr); }
}

/* ─────────────────────────────────────────────────
   768px — Tablet: nav links visible, main layout shifts
   ───────────────────────────────────────────────── */
@media (min-width: 768px) {
  :root { --nav-h: 72px; }

  /* Nav */
  .nav-logo .logo-img    { height: 42px; }
  .nav-logo span         { font-size: 1rem; }
  .nav-links             { display: flex; }
  .nav-cta               { display: flex; }
  .hamburger             { display: none; }
  .nav-mobile-drawer     { display: none !important; }

  /* Hero */
  .hero { min-height: 90svh; }

  /* Packages — 3 cols then last 2 center */
  .packages-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Process — 4 cols with connector */
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }

  .process-steps::before {
    content: '';
    position: absolute;
    top: clamp(26px, 5vw, 36px);
    left: 10%; right: 10%;
    height: 2px;
    background: var(--border);
    z-index: 0;
  }

  /* Testimonials — reset carousel → 3-col grid */
  .testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 3vw, 24px);
    overflow-x: visible;
    padding-bottom: 0;
  }
  .testi-card {
    flex: unset;             /* cancel carousel card width */
    scroll-snap-align: unset;
  }
  .testi-scroll-hint { display: none; } /* hide dots on desktop */

}

/* ─────────────────────────────────────────────────
   1024px — Laptop: hero side-by-side, full desktop layout
   ───────────────────────────────────────────────── */
@media (min-width: 1024px) {
  :root { --section-py: clamp(4rem, 8vw, 5.5rem); }

  /* Hero: row layout — content left, form right */
  .hero {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-height: 100svh;
    padding-top: calc(var(--nav-h) + 1.5rem);
    padding-bottom: 3rem;
    gap: clamp(2.5rem, 5vw, 4.5rem);
  }

  .hero-content {
    flex: 1.2;
    max-width: 600px;
  }

  .hero-img-wrap {
    flex: 1;
    max-width: 460px;
    min-width: 340px;
  }

  .appt-form-card {
    max-height: 90vh;
    overflow-y: auto;
  }

  /* Intro: 2-col */
  .intro-grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 5vw, 4.5rem);
  }

  /* Why: 2-col + sticky left */
  .why-layout {
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(3rem, 5vw, 4.5rem);
  }

  .why-left {
    position: sticky;
    top: calc(var(--nav-h) + 24px);
  }

  /* Services: 3-col */
  .svc-box-grid    { grid-template-columns: repeat(3, 1fr); }
  .svc-box-grid--3 { grid-template-columns: repeat(3, 1fr); }

  /* Packages: all 5 in a row */
  .packages-grid {
    grid-template-columns: repeat(5, 1fr);
  }

}

/* ─────────────────────────────────────────────────
   1280px — Desktop: wider hero content
   ───────────────────────────────────────────────── */
@media (min-width: 1280px) {
  :root { --pad-x: 5%; }

  .hero-content  { max-width: 650px; }
  .hero-img-wrap { max-width: 480px; }

  .svc-img-wrap  { height: 220px; }
}

/* ─────────────────────────────────────────────────
   1440px — Large Desktop
   ───────────────────────────────────────────────── */
@media (min-width: 1440px) {
  :root {
    --pad-x:      clamp(4%, 6vw, 7%);
    --section-py: clamp(5rem, 8vw, 6.5rem);
  }

  .hero          { gap: 5rem; }
  .hero-content  { max-width: 700px; }
  .hero-img-wrap { max-width: 520px; }
  .hero h1       { font-size: clamp(2.6rem, 3.5vw, 3.1rem); }
}

/* ─────────────────────────────────────────────────
   1920px — Full HD
   ───────────────────────────────────────────────── */
@media (min-width: 1920px) {
  :root {
    --pad-x:      clamp(6%, 10vw, 10%);
    --section-py: clamp(6rem, 8vw, 7.5rem);
  }

  .hero-content  { max-width: 780px; }
  .hero-img-wrap { max-width: 580px; }

  .bento-stat-card h3   { font-size: 1.25rem; }
  .wf-stat              { font-size: 3rem; }
}

/* ─────────────────────────────────────────────────
   2560px — Ultra-Wide: contain content, scale up
   ───────────────────────────────────────────────── */
@media (min-width: 2560px) {
  :root {
    --nav-h:      80px;
    --pad-x:      clamp(10%, 15vw, 15%);
    --section-py: clamp(7rem, 9vw, 9rem);
  }

  .hero-content  { max-width: 900px; }
  .hero-img-wrap { max-width: 680px; }
  .hero h1       { font-size: 4rem; }
  .hero p        { font-size: 1.2rem; }

  h2.section-title { font-size: 3.2rem; }

  .bento-stat-card h3 { font-size: 1.35rem; }
  .wf-stat            { font-size: 3.5rem; }
  .wf-content h3      { font-size: 1.3rem; }

  .svc-img-wrap { height: 280px; }

  .step-num { width: 88px; height: 88px; font-size: 2rem; }
}

/* Adjust gap between Why Choose Us and Packages sections */
#why {
  padding-bottom: clamp(1rem, 3vw, 2.5rem);
}
#packages {
  padding-top: clamp(1.5rem, 4vw, 3rem);
}
