/* ══════════════════════════════════════════
   DR. UPADHYAY HAIR CLINIC — MASTER STYLES
   ══════════════════════════════════════════ */

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

/* ─── VARIABLES ─── */
:root {
  /* Brand greens */
  --primary: rgb(37, 174, 180);      /* main green */
  --primary-light: rgba(37, 174, 180, 0.8);
  --primary-dark: #126166;
  --primary-pale: #d8f3f5;          /* pale green background */

  /* Golden accent */
  --accent: #facc15;
  --accent-light: #fef9c3;
  --accent-dark: #eab308;

  /* Neutrals / backgrounds */
  --cream: #f9fafb;
  --cream-dark: #e5e7eb;
  --dark: #020617;
  --dark-soft: #0f172a;
  --gray: #6b7280;
  --gray-light: #9ca3af;
  --gray-pale: #e5e7eb;
  --white: #ffffff;

  --shadow-sm: 0 2px 12px rgba(15,23,42,0.06);
  --shadow: 0 4px 30px rgba(15,23,42,0.08);
  --shadow-lg: 0 20px 60px rgba(15,23,42,0.16);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-display: 'Roboto', 'DM Sans', sans-serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
}

/* ─── RESET ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
h1, h2, h3, h4, h5 { font-family: var(--font-display); line-height: 1.2; font-weight: 700; letter-spacing: -0.03em; }
img { max-width: 100%; height: auto; display: block; }
a { transition: all 0.3s; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ══════════════════════════════
   TOPBAR
   ══════════════════════════════ */
.topbar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar a { color: rgba(255,255,255,0.85); text-decoration: none; }
.topbar a:hover { color: var(--accent-light); }
.topbar-left, .topbar-right { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }

/* ══════════════════════════════
   NAVBAR
   ══════════════════════════════ */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 2px 30px rgba(0,0,0,0.08); }
.navbar .container { display: flex; justify-content: space-between; align-items: center; padding-top: 15px; padding-bottom: 15px; }

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--dark); flex-shrink: 0; }
.logo-img {
  display: block;
  height: 50px;
  width: auto;
}
.logo-icon {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
}
.logo-text { line-height: 1.2; }
.logo-text span { display: block; font-weight: 700; font-size: 1.05rem; }
.logo-text small { font-size: 0.7rem; color: var(--gray); letter-spacing: 1.5px; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li > a {
  text-decoration: none; color: var(--dark); font-weight: 500; font-size: 0.9rem;
  padding: 8px 14px; border-radius: 8px; transition: var(--transition);
  display: inline-flex; align-items: center; gap: 4px;
}
.nav-links > li > a:hover, .nav-links > li > a.active { background: var(--cream); color: var(--primary); }

.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg); min-width: 190px; padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all 0.3s; z-index: 100;
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { display: block; padding: 10px 14px; font-size: 0.88rem; border-radius: 6px; color: var(--dark); text-decoration: none; }
.dropdown-menu a:hover { background: var(--cream); color: var(--primary); }

.btn-appointment {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white !important; padding: 10px 22px; border-radius: 50px;
  font-weight: 600; font-size: 0.85rem; border: none; cursor: pointer;
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  box-shadow: 0 4px 15px rgba(26,92,58,0.3); white-space: nowrap; flex-shrink: 0;
}
.btn-appointment:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(26,92,58,0.4); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 8px; z-index: 1001; }
.hamburger span { width: 24px; height: 2.5px; background: var(--dark); border-radius: 2px; transition: all 0.3s; display: block; }
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none; position: fixed; inset: 0;
  background: var(--white); z-index: 999;
  padding: 90px 24px 40px; overflow-y: auto;
  transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a,
.mobile-menu-toggle {
  display: block;
  width: 100%;
  padding: 16px 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--dark);
  text-decoration: none;
  border: none;
  border-bottom: 1px solid var(--gray-pale);
  background: transparent;
  text-align: left;
  font-family: var(--font-body);
}
.mobile-menu a:hover,
.mobile-menu a.active,
.mobile-menu-toggle:hover,
.mobile-menu-toggle.active { color: var(--primary); }
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.mobile-menu-toggle .mobile-menu-caret {
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}
.mobile-menu-toggle.open .mobile-menu-caret { transform: rotate(225deg); }
.mobile-menu .sub-links {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding-left: 20px;
  transition: max-height 0.28s ease, opacity 0.2s ease, padding-bottom 0.2s ease;
}
.mobile-menu .sub-links.open {
  max-height: 360px;
  opacity: 1;
  padding-bottom: 10px;
}
.mobile-menu .sub-links a {
  font-size: 0.95rem;
  color: var(--gray);
  padding: 12px 0;
  border-bottom: 1px solid rgba(107,114,128,0.14);
}
.mobile-menu .sub-links a:last-child { border-bottom: none; }
.mobile-menu .mobile-cta {
  display: block; text-align: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white; padding: 16px; border-radius: 12px;
  font-weight: 700; font-size: 1rem; margin-top: 24px; border: none;
}

/* ══════════════════════════════
   BUTTONS
   ══════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px; font-weight: 600; font-size: 0.95rem;
  text-decoration: none; border: none; cursor: pointer; transition: all 0.3s; font-family: var(--font-body);
}
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: white; box-shadow: 0 4px 18px rgba(26,92,58,0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(26,92,58,0.4); }
.btn-white { background: white; color: var(--primary-dark); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.btn-outline-white { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.4); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: white; }
.btn-accent { background: linear-gradient(135deg, var(--accent), var(--accent-light)); color: var(--dark); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(200,149,108,0.35); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; }
.btn-sm { padding: 10px 22px; font-size: 0.88rem; }
.btn-lg { padding: 12px 40px; font-size: 1rem; }

/* ══════════════════════════════
   SECTIONS
   ══════════════════════════════ */
section { padding: 100px 0; }
.section-tag {
  display: inline-block; background: var(--primary-pale); color: var(--primary);
  padding: 6px 18px; border-radius: 50px; font-size: 0.78rem;
  font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px;
}
.section-title { font-size: clamp(2rem, 3.5vw, 2.8rem); color: var(--dark); margin-bottom: 16px; }
.section-title em { font-style: normal; color: var(--primary); }
.section-desc { font-size: 1.05rem; color: var(--gray); line-height: 1.7; max-width: 560px; }
.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header.center .section-desc { margin: 0 auto; }
.bg-cream { background: var(--cream); }

/* ══════════════════════════════
   PAGE BANNER
   ══════════════════════════════ */
.page-banner {
  padding: 70px 0 40px; text-align: center; color: white;
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--primary-light));
}
.page-banner::before {
  content: ''; position: absolute; width: 500px; height: 500px;
  background: rgba(255,255,255,0.04); border-radius: 50%; top: -200px; right: -100px;
}
.page-banner .section-tag { background: rgba(255,255,255,0.12); color: var(--accent-light); }
.page-banner h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 12px; position: relative; z-index: 1; }
.page-banner h1 em { font-style: normal; color: var(--accent-light); }
.page-banner p { font-size: 1.05rem; opacity: 0.85; max-width: 580px; margin: 0 auto; position: relative; z-index: 1; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; margin-top: 20px; font-size: 0.85rem; opacity: 0.7; position: relative; z-index: 1; }
.breadcrumb a { color: white; text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-light); }

/* ══════════════════════════════
   HERO SLIDER
   ══════════════════════════════ */
.hero-slider {
  position: relative; height: 92vh; min-height: 580px; max-height: 900px;
  overflow: hidden; background: var(--dark);
}
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease-in-out; }
.slide.active { opacity: 1; }
.slide-bg {
  position: absolute; inset: 0; background-size: cover; background-position: top;
  transform: scale(1.06); transition: transform 8s ease-out;
}
.slide-bg--doctor { background-position: center 18%; }
.slide.active .slide-bg { transform: scale(1); }
.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(14,61,37,0.88) 0%, rgba(26,92,58,0.65) 50%, rgba(0,0,0,0.3) 100%);
}
.slide-content { position: absolute; inset: 0; display: flex; align-items: center; z-index: 2; }
.slide-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.slide-text { color: white; }
.slide-tag {
  display: inline-block; background: rgba(255,255,255,0.12); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.18); padding: 6px 18px; border-radius: 50px;
  font-size: 0.82rem; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 20px; animation: fadeInUp 0.8s 0.2s both;
}
.slide-text h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.15; margin-bottom: 18px; animation: fadeInUp 0.8s 0.4s both; }
.slide-text h1 em { font-style: normal; color: var(--accent-light); }
.slide-text p { font-size: 1.05rem; opacity: 0.9; line-height: 1.7; max-width: 480px; margin-bottom: 28px; animation: fadeInUp 0.8s 0.6s both; }
.slide-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; animation: fadeInUp 0.8s 0.8s both; }

/* Hero Form */
.hero-form-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}
.hero-form-overlay .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.hero-form-card {
  pointer-events: auto;
  width: 380px;
  max-width: 100%;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius);
  padding: 32px 28px; animation: fadeInRight 1s 0.5s both;
}
.hero-form-card h3 { color: white; font-size: 1.3rem; margin-bottom: 4px; }
.hero-form-card > p { color: rgba(255,255,255,0.65); font-size: 0.85rem; margin-bottom: 20px; }
.hero-form-card input, .hero-form-card select, .hero-form-card textarea {
  width: 100%; padding: 13px 16px; border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-sm); background: rgba(255,255,255,0.07);
  color: white; font-family: var(--font-body); font-size: 0.9rem; margin-bottom: 12px; outline: none; transition: border 0.3s;
}
.hero-form-card textarea { min-height: 82px; resize: vertical; }
.hero-form-card input::placeholder, .hero-form-card textarea::placeholder { color: rgba(255,255,255,0.45); }
.hero-form-card input:focus, .hero-form-card select:focus, .hero-form-card textarea:focus { border-color: var(--accent-light); }
.hero-form-card select option { color: var(--dark); background: white; }
.btn-form {
  width: 100%; padding: 14px; background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--dark); font-weight: 700; font-size: 0.92rem; border: none;
  border-radius: var(--radius-sm); cursor: pointer; font-family: var(--font-body); letter-spacing: 0.5px; transition: all 0.3s;
}
.btn-form:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(200,149,108,0.4); }
.form-note { text-align: center; font-size: 0.78rem; color: rgba(255,255,255,0.45); margin-top: 10px; }
.form-note--success { color: #4ade80; } /* green-400 */
.form-note--error { color: #fecaca; }   /* red-200 */

.mobile-consultation-section {
  display: none;
  padding: 0 0 34px;
}
.mobile-consultation-wrap {
  max-width: 560px;
  margin: 0 auto;
}
.hero-form-card--mobile {
  width: 100%;
  background: linear-gradient(135deg, rgba(14,61,37,0.98), rgba(26,92,58,0.94));
  border-color: rgba(255,255,255,0.08);
  box-shadow: var(--shadow-lg);
  animation: none;
}
.hero-form-card--mobile .form-note {
  color: rgba(255,255,255,0.58);
}

/* Slider Controls */
.slider-dots { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; }
.slider-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.5); background: transparent; cursor: pointer; transition: all 0.3s; }
.slider-dot.active { background: white; border-color: white; width: 36px; border-radius: 6px; }
.slider-arrows { position: absolute; bottom: 36px; right: 40px; display: flex; gap: 8px; z-index: 10; }
.slider-arrow {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.06);
  color: white; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.3s; font-size: 1.1rem;
}
.slider-arrow:hover { background: rgba(255,255,255,0.15); border-color: white; }

/* ══════════════════════════════
   STATS BAR
   ══════════════════════════════ */
.stats-bar { margin-top: -50px; position: relative; z-index: 10; }
.stats-inner { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; }
.stat-item { padding: 32px 20px; text-align: center; border-right: 1px solid rgba(0,0,0,0.06); transition: background 0.3s; }
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--cream); }
.stat-number { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--primary); line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 0.83rem; color: var(--gray); font-weight: 500; }

/* ══════════════════════════════
   ABOUT
   ══════════════════════════════ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-images { position: relative; height: 500px; }
.about-img-main {
  width: 75%; height: 400px; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  position: relative; z-index: 2; overflow: hidden;
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-secondary {
  width: 55%; height: 260px; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  position: absolute; bottom: 0; right: 0; z-index: 3; border: 5px solid white; overflow: hidden;
}
.about-img-secondary img { width: 100%; height: 100%; object-fit: cover; }
.doctor-photo { object-position: center top; }
.about-badge {
  position: absolute; top: 20px; right: 90px;
  width: 105px; height: 105px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  z-index: 4; box-shadow: 0 8px 25px rgba(200,149,108,0.35);
}
.about-badge span { font-family: var(--font-display); font-weight: 700; font-size: 2rem; color: white; line-height: 1; }
.about-badge small { font-size: 0.68rem; color: rgba(255,255,255,0.9); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.highlight-box {
  background: var(--cream); border-left: 4px solid var(--primary);
  padding: 20px 24px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0; font-size: 1rem; color: var(--primary-dark); font-weight: 500; line-height: 1.6;
}
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.about-feature { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 0.9rem; }
.about-feature .icon {
  width: 34px; height: 34px; background: var(--primary-pale); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 0.9rem; flex-shrink: 0;
}

/* ══════════════════════════════
   TREATMENT CARDS
   ══════════════════════════════ */
.treatments-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.treatment-card {
  background: var(--white); border-radius: var(--radius); padding: 36px 28px;
  transition: all 0.4s; border: 1px solid transparent; position: relative; overflow: hidden;
  border:1px solid #f1eaea;
}
.treatment-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0); transition: transform 0.4s;
}
.treatment-card:hover::before { transform: scaleX(1); }
.treatment-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: rgba(26,92,58,0.08); }
.treatment-icon {
  width: 92px; height: 92px; background: linear-gradient(135deg, var(--cream), var(--cream-dark));
  border-radius: 24px; display: flex; align-items: center; justify-content: center; font-size: 2.4rem; margin-bottom: 24px;
  overflow: hidden; box-shadow: 0 14px 30px rgba(15,23,42,0.08);
}
.treatment-icon--image {
  width: calc(100% + 56px);
  max-width: none;
  height: 220px;
  margin: -36px -28px 24px;
  border-radius: 0px;
  background: #eef4f5;
  box-shadow: none;
  padding: 0;
}
.treatment-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.treatment-card:hover .treatment-icon-img { transform: scale(1.04); }
.treatment-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.treatment-card p { color: var(--gray); line-height: 1.4; font-size: 0.99rem; }
.treatment-link { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-weight: 600; font-size: 0.85rem; text-decoration: none; margin-top: 16px; transition: gap 0.3s; }
.treatment-link:hover { gap: 12px; }

/* ══════════════════════════════
   PROCESS STEPS
   ══════════════════════════════ */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.process-step {
  position: relative; padding: 32px 24px; background: var(--white);
  border-radius: var(--radius); border: 1px solid rgba(0,0,0,0.06); transition: all 0.4s; counter-increment: step;
}
.process-step:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.process-step::before {
  content: counter(step, decimal-leading-zero); font-family: var(--font-display);
  font-size: 2.8rem; font-weight: 700; color: var(--cream-dark); line-height: 1; margin-bottom: 14px; display: block; transition: color 0.3s;
}
.process-step:hover::before { color: var(--primary-light); }
.process-step h4 { font-size: 1.05rem; margin-bottom: 8px; }
.process-step p { color: var(--gray); line-height: 1.7; font-size: 0.88rem; }

/* ══════════════════════════════
   RESULTS
   ══════════════════════════════ */
.results-section { background: var(--primary-dark); color: white; overflow: hidden; }
.results-section .section-tag { background: rgba(255,255,255,0.1); color: var(--accent-light); }
.results-section .section-title { color: white; }
.results-section .section-title em { color: var(--accent-light); }
.results-section .section-desc { color: rgba(255,255,255,0.65); }
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.results-page { background: var(--white); color: var(--dark); }
.results-page .section-tag { background: var(--primary-pale); color: var(--primary); }
.results-page .section-title { color: var(--dark); }
.results-page .section-title em { color: var(--primary); }
.results-page .section-desc { color: var(--gray); }
.results-page .results-grid { grid-template-columns: repeat(2, 1fr); }
.results-page .ba-labels {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(15,23,42,0.05);
  color: var(--dark-soft);
}
.results-page .ba-labels span:first-child {
  opacity: 0.62;
  color: var(--gray);
}
.results-page .ba-labels span:last-child {
  color: var(--primary-dark);
}
.results-page .ba-labels span:first-child::before { color: rgba(15,23,42,0.72); }
.results-page .ba-labels span:last-child::before { color: var(--primary); }
.results-page .ba-card:hover .ba-labels span:first-child,
.results-page .ba-card:focus-within .ba-labels span:first-child,
.results-page .ba-card.is-before-visible .ba-labels span:first-child {
  opacity: 1;
  color: var(--dark);
}
.results-page .ba-card:hover .ba-labels span:last-child,
.results-page .ba-card:focus-within .ba-labels span:last-child,
.results-page .ba-card.is-before-visible .ba-labels span:last-child {
  opacity: 0.68;
  color: var(--gray);
}
.results-page .ba-card:hover .ba-labels span:first-child::before,
.results-page .ba-card:focus-within .ba-labels span:first-child::before,
.results-page .ba-card.is-before-visible .ba-labels span:first-child::before {
  color: var(--dark);
}
.results-page .ba-card:hover .ba-labels span:last-child::before,
.results-page .ba-card:focus-within .ba-labels span:last-child::before,
.results-page .ba-card.is-before-visible .ba-labels span:last-child::before {
  color: rgba(37,174,180,0.7);
}
.results-page .result-card { background: var(--cream); border-color: var(--gray-pale); }
.results-page .result-card:hover { border-color: var(--primary); }
.result-card {
  border-radius: var(--radius); overflow: hidden; position: relative;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.4s;
}
.result-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 18px 40px rgba(0,0,0,0.35); }

/* Before / After hover card */
.ba-card {
  padding: 22px 22px 18px;
  outline: none;
}
.ba-card:focus-visible {
  outline: 2px solid rgba(250,204,21,0.9);
  outline-offset: 4px;
}
.ba-inner {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #ffffff;
  max-height: 450px;
  cursor: pointer;
}
.ba-img-after {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  max-height: 450px;
  transition: transform 0.45s ease, filter 0.35s ease;
}
.ba-img-before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
  box-shadow: 0 18px 40px rgba(0,0,0,0.25);
  z-index: 2;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.35s ease, transform 0.45s ease;
}
.ba-handle {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  min-width: 92px;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(15,23,42,0.82);
  border: 1px solid rgba(255,255,255,0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.92);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  pointer-events: none;
  z-index: 3;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.ba-range {
  display: none;
}
.ba-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #facc15;
  border: 2px solid white;
  box-shadow: 0 0 0 4px rgba(250,204,21,0.35);
  cursor: pointer;
}
.ba-range::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #facc15;
  border: 2px solid white;
  box-shadow: 0 0 0 4px rgba(250,204,21,0.35);
  cursor: pointer;
}
.ba-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55);
}
.ba-labels span:first-child::before {
  content: '● ';
  color: rgba(248,250,252,0.8);
}
.ba-labels span:last-child::before {
  content: '● ';
  color: #4ade80;
}

/* ══════════════════════════════
   CAUSES
   ══════════════════════════════ */
.ba-labels span {
  transition: color 0.3s ease, opacity 0.3s ease;
}
.ba-labels span:first-child {
  opacity: 0.45;
}
.ba-labels span:last-child {
  color: rgba(255,255,255,0.88);
}
.ba-card:hover .ba-img-before,
.ba-card:focus-within .ba-img-before,
.ba-card.is-before-visible .ba-img-before {
  opacity: 1;
  transform: scale(1);
}
.ba-card:hover .ba-img-after,
.ba-card:focus-within .ba-img-after,
.ba-card.is-before-visible .ba-img-after {
  filter: brightness(0.72);
  transform: scale(1.01);
}
.ba-handle::before {
  content: 'After';
}
.ba-card:hover .ba-handle,
.ba-card:focus-within .ba-handle,
.ba-card.is-before-visible .ba-handle {
  background: rgba(250,204,21,0.92);
  color: var(--dark);
  transform: translateX(-50%) translateY(-2px);
}
.ba-card:hover .ba-handle::before,
.ba-card:focus-within .ba-handle::before,
.ba-card.is-before-visible .ba-handle::before {
  content: 'Before';
}
.ba-card:hover .ba-labels span:first-child,
.ba-card:focus-within .ba-labels span:first-child,
.ba-card.is-before-visible .ba-labels span:first-child {
  opacity: 1;
  color: rgba(255,255,255,0.92);
}
.ba-card:hover .ba-labels span:last-child,
.ba-card:focus-within .ba-labels span:last-child,
.ba-card.is-before-visible .ba-labels span:last-child {
  opacity: 0.45;
  color: rgba(255,255,255,0.55);
}
.ba-card:hover .ba-labels span:first-child::before,
.ba-card:focus-within .ba-labels span:first-child::before,
.ba-card.is-before-visible .ba-labels span:first-child::before {
  content: "\25CF ";
  color: rgba(248,250,252,0.92);
}
.ba-card:hover .ba-labels span:last-child::before,
.ba-card:focus-within .ba-labels span:last-child::before,
.ba-card.is-before-visible .ba-labels span:last-child::before {
  content: "\25CF ";
  color: rgba(74,222,128,0.55);
}

.causes-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cause-card {
  display: flex; gap: 18px; padding: 26px; background: var(--white);
  border-radius: var(--radius); border: 1px solid rgba(0,0,0,0.06); transition: all 0.4s;
}
.cause-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.cause-icon {
  width: 52px; height: 52px; background: var(--cream); border-radius: 14px;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0;
}
.cause-card h4 { font-size: 1.09rem; margin-bottom: 6px; }
.cause-card p { color: var(--gray); font-size: 0.97rem; line-height: 1.4; }

/* ══════════════════════════════
   TESTIMONIALS SLIDER
   ══════════════════════════════ */
.testimonial-slider-wrap { position: relative; overflow: hidden; }
.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: grab;
  -webkit-user-select: none; user-select: none;
}
.testimonial-track.dragging { transition: none; cursor: grabbing; }
.testimonial-card {
  flex: 0 0 calc(33.333% - 16px);
  margin: 0 12px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: box-shadow 0.4s, transform 0.4s;
}
.testimonial-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.testimonial-quote {
  font-size: 2.8rem; color: var(--primary-light); opacity: 0.25;
  font-family: var(--font-display); line-height: 1; margin-bottom: 6px;
}
.testimonial-stars { color: var(--accent); font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-card > p { color: var(--gray); line-height: 1.7; font-size: 0.9rem; margin-bottom: 22px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 42px; height: 42px; background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 0.85rem;
}
.testimonial-name { font-weight: 600; font-size: 0.9rem; }
.testimonial-loc { font-size: 0.78rem; color: var(--gray-light); }

/* Slider Navigation */
.testi-nav {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; margin-top: 40px;
}
.testi-arrow {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid var(--gray-pale); background: var(--white);
  color: var(--dark); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s; font-size: 1.1rem; flex-shrink: 0;
}
.testi-arrow:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-pale); }
.testi-arrow:disabled { opacity: 0.3; cursor: default; pointer-events: none; }
.testi-dots { display: flex; gap: 8px; align-items: center; }
.testi-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gray-pale); border: none; cursor: pointer;
  transition: all 0.3s; padding: 0;
}
.testi-dot.active { background: var(--primary); width: 28px; border-radius: 5px; }

@media (max-width: 1024px) {
  .testimonial-card { flex: 0 0 calc(50% - 16px); }
}
@media (max-width: 768px) {
  .testimonial-card { flex: 0 0 calc(100% - 16px); }
  .testi-arrow { width: 40px; height: 40px; font-size: 0.95rem; }
}

/* ══════════════════════════════
   CENTERS
   ══════════════════════════════ */
.centers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.center-card {
  background: var(--white); border-radius: var(--radius); padding: 32px 24px;
  border: 1px solid rgba(0,0,0,0.06); transition: all 0.4s; text-align: center;
}
.center-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--primary-light); }
.center-pin {
  width: 52px; height: 52px; background: var(--primary-pale); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin: 0 auto 14px;
}
.center-card h4 { font-size: 1.1rem; margin-bottom: 6px; }
.center-card p { color: var(--gray); font-size: 0.85rem; margin-bottom: 14px; }
.center-card .btn { width: 100%; justify-content: center; }

.center-detail-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: all 0.4s; }
.center-detail-card:hover { box-shadow: var(--shadow-lg); }
.center-detail-img { height: 220px; overflow: hidden; }
.center-detail-img img { width: 100%; height: 100%; object-fit: cover; }
.center-detail-body { padding: 28px; }
.center-detail-body h3 { font-size: 1.3rem; margin-bottom: 8px; }
.center-detail-body .addr { color: var(--gray); font-size: 0.9rem; margin-bottom: 16px; display: flex; gap: 8px; align-items: flex-start; }
.center-detail-body .rating { margin-bottom: 16px; color: var(--accent); letter-spacing: 2px; }
.center-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ══════════════════════════════
   CTA
   ══════════════════════════════ */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--primary-light));
  padding: 80px 0; text-align: center; color: white; position: relative; overflow: hidden;
}
.cta-section::before { content: ''; position: absolute; width: 400px; height: 400px; background: rgba(255,255,255,0.04); border-radius: 50%; top: -100px; right: -100px; }
.cta-section h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 14px; position: relative; z-index: 1; }
.cta-section p { font-size: 1.02rem; opacity: 0.85; margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; position: relative; z-index: 1; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-section.cta-section--consultation {
  background: transparent;
  color: var(--dark);
  padding: 42px 0 0;
  overflow: visible;
}
.cta-section.cta-section--consultation::before { display: none; }
.cta-section.cta-section--consultation .container { max-width: 100%; padding: 0; }
.cta-consultation-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 46px);
  padding: 20px 0;
  background: #FDB710;
}
.cta-consultation-bar h2 {
  margin: 0;
  color: #111827;
  font-size: 34px;
  line-height: 1.1;
}
.cta-consultation-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 22px);
  color: #111827;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.cta-consultation-link:hover { transform: translateY(-1px); }
.cta-consultation-link:focus-visible {
  outline: 3px solid rgba(17,24,39,0.25);
  outline-offset: 6px;
  border-radius: 999px;
}
.cta-consultation-icon {
  width: clamp(54px, 5vw, 60px);
  height: clamp(54px, 5vw, 60px);
  border-radius: 50%;
  background: #111827;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 26px rgba(17,24,39,0.18);
  flex-shrink: 0;
}
.cta-consultation-icon svg {
  width: 52%;
  height: 52%;
  fill: currentColor;
}
.cta-consultation-number {
  line-height: 1;
  white-space: nowrap;
}

/* ══════════════════════════════
   CONTACT
   ══════════════════════════════ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info-card { background: var(--cream); border-radius: var(--radius); padding: 40px 32px; }
.contact-info-card h3 { font-size: 1.4rem; margin-bottom: 8px; }
.contact-info-card > p { color: var(--gray); font-size: 0.92rem; margin-bottom: 28px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 22px; align-items: flex-start; }
.contact-item-icon {
  width: 48px; height: 48px; background: var(--white); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; box-shadow: var(--shadow-sm);
}
.contact-item h5 { font-family: var(--font-body); font-weight: 600; font-size: 0.88rem; margin-bottom: 3px; }
.contact-item p { color: var(--gray); font-size: 0.88rem; }
.contact-item a { color: var(--primary); text-decoration: none; font-weight: 500; }
.contact-item a:hover { color: var(--primary-dark); }
.contact-socials { display: flex; gap: 10px; margin-top: 28px; }
.contact-socials a {
  width: 42px; height: 42px; border-radius: 10px; background: var(--white);
  display: flex; align-items: center; justify-content: center; color: var(--gray);
  text-decoration: none; font-size: 0.95rem; transition: all 0.3s; box-shadow: var(--shadow-sm);
}
.contact-socials a:hover { background: var(--primary); color: white; }
.contact-form-card { background: var(--white); border-radius: var(--radius); padding: 40px 32px; box-shadow: var(--shadow); }
.contact-form-card h3 { font-size: 1.4rem; margin-bottom: 8px; }
.contact-form-card > p { color: var(--gray); font-size: 0.92rem; margin-bottom: 28px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 500; font-size: 0.85rem; margin-bottom: 6px; color: var(--dark-soft); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--gray-pale);
  border-radius: var(--radius-sm); background: var(--white); font-family: var(--font-body);
  font-size: 0.9rem; outline: none; transition: border 0.3s; color: var(--dark);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.map-container { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: 48px; }
.map-container iframe { width: 100%; height: 400px; border: none; }

/* ══════════════════════════════
   FOOTER
   ══════════════════════════════ */
.footer { background: var(--dark); color: rgba(255,255,255,0.65); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .logo { margin-bottom: 4px; }
.footer-logo-link {
  display: inline-block;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
}
.footer-logo-img {
  display: block;
  width: min(100%, 210px);
  height: auto;
  border-radius: 10px;
  box-shadow: 0 12px 26px rgba(0,0,0,0.18);
}
.footer-brand .logo-text span { color: white; font-size: 1.2rem; }
.footer-brand .logo-text small { color: rgba(255,255,255,0.35); }
.footer-brand > p { margin-top: 14px; line-height: 1.7; font-size: 0.88rem; max-width: 320px; }
.footer h5 { color: white; font-size: 0.95rem; margin-bottom: 18px; font-family: var(--font-body); font-weight: 600; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.88rem; }
.footer-links a:hover { color: var(--accent-light); }
.footer-contact-item { display: flex; gap: 12px; margin-bottom: 14px; font-size: 0.88rem; align-items: flex-start; }
.footer-contact-item .fc-icon { width: 34px; height: 34px; background: rgba(255,255,255,0.06); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 0.85rem; }
.footer-bottom { padding: 22px 0; display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: rgba(255,255,255,0.35); flex-wrap: wrap; gap: 12px; }
.footer-socials { display: flex; gap: 8px; }
.footer-socials a {
  width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.55);
  text-decoration: none; font-size: 0.85rem; transition: all 0.3s;
}
.footer-socials a:hover { background: var(--primary); color: white; }

/* WHATSAPP */
body.modal-open { overflow: hidden; }

.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; width: 58px; height: 58px;
  background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer; padding: 0;
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
  z-index: 999; text-decoration: none; transition: all 0.3s;
  animation: pulse-wa 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float-icon { width: 45px; height: 45px; object-fit: contain; }

.wa-order-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 12px;
  z-index: 2000;
}
.wa-order-modal.open { display: flex; }
.wa-order-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2,6,23,0.7);
  backdrop-filter: blur(6px);
}
.wa-order-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 540px);
  max-height: calc(100vh - 24px);
  overflow: hidden;
  background: var(--white);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow-lg);
}
.wa-order-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--cream);
  color: var(--dark);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.wa-order-head { margin-bottom: 14px; }
.wa-order-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.wa-order-head h3 {
  font-size: 1.32rem;
  margin-bottom: 6px;
}
.wa-order-head p {
  color: var(--gray);
  font-size: 0.86rem;
  line-height: 1.45;
}
.wa-order-form .form-group {
  margin-bottom: 12px;
}
.wa-order-form .form-group label {
  font-size: 0.78rem;
  margin-bottom: 4px;
}
.wa-order-form input,
.wa-order-form textarea {
  padding: 11px 12px;
  font-size: 0.86rem;
}
.wa-order-form textarea {
  width: 100%;
  min-height: 72px;
  border: 1.5px solid var(--gray-pale);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: var(--font-body);
  outline: none;
  transition: border 0.3s;
  color: var(--dark);
  resize: vertical;
}
.wa-order-form textarea:focus { border-color: var(--primary); }
.wa-order-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.wa-order-amount {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
  border: 1px solid #bbf7d0;
  margin-bottom: 12px;
}
.wa-order-amount span {
  color: #166534;
  font-size: 0.82rem;
  font-weight: 500;
}
.wa-order-amount strong {
  color: #14532d;
  font-size: 1.05rem;
}
.wa-order-note {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--gray);
  margin-bottom: 12px;
}
.wa-order-note--success { color: #166534; }
.wa-order-note--error { color: #b91c1c; }
.wa-order-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.wa-order-actions .btn {
  justify-content: center;
  padding: 12px 14px;
  font-size: 0.84rem;
}

/* ══════════════════════════════
   ANIMATIONS
   ══════════════════════════════ */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes pulse-wa { 0%, 100% { box-shadow: 0 6px 20px rgba(37,211,102,0.4); } 50% { box-shadow: 0 6px 30px rgba(37,211,102,0.65); } }
.reveal { opacity: 0; transform: translateY(35px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }




/* ══════════════════════════════
   RESPONSIVE — TABLET
   ══════════════════════════════ */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .btn-appointment.desktop-only { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }
  .slide-inner { grid-template-columns: 1fr; }
  .hero-form-overlay { display: none; }
  .mobile-consultation-section { display: block; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-images { height: 380px; }
  .treatments-grid, .process-grid, .results-grid { grid-template-columns: repeat(2, 1fr); }
  .causes-grid { grid-template-columns: 1fr; }
  .testimonials-grid, .centers-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  section { padding: 70px 0; }
}

/* ══════════════════════════════
   RESPONSIVE — MOBILE
   ══════════════════════════════ */
@media (max-width: 768px) {
  .topbar { display: none; }
  .hero-slider { height: 80vh; min-height: 480px; }
  .slide-text h1 { font-size: 1.8rem; }
  .slide-actions { flex-direction: column; align-items: flex-start; }
  .mobile-consultation-section { padding: 6px 0 34px; }
  .hero-form-card--mobile { padding: 28px 22px; }
  .slider-arrows { display: none; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-number { font-size: 1.8rem; }
  .treatment-icon { width: 82px; height: 82px; font-size: 2rem; border-radius: 20px; }
  .treatment-icon--image {
    width: calc(100% + 44px);
    height: 200px;
    margin: -28px -22px 22px;
    border-radius: 22px;
  }
  .about-images { height: 320px; }
  .about-img-main { width: 70%; height: 320px; }
  .about-img-secondary { width: 50%; height: 200px; }
  .about-badge { width: 80px; height: 80px; right: 60px; }
  .about-badge span { font-size: 1.5rem; }
  .about-badge small { font-size: 0.6rem; }
  .treatments-grid, .process-grid, .results-grid, .testimonials-grid, .centers-grid { grid-template-columns: 1fr; }
  .home-centers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .home-centers-grid .center-card {
    padding: 22px 14px;
    border-radius: 20px;
  }
  .home-centers-grid .center-pin {
    width: 42px;
    height: 42px;
    margin-bottom: 10px;
    font-size: 1.15rem;
  }
  .home-centers-grid .center-card h4 {
    font-size: 0.96rem;
    line-height: 1.3;
  }
  .home-centers-grid .center-card p {
    font-size: 0.74rem;
    line-height: 1.45;
    margin-bottom: 12px;
    min-height: 2.2em;
  }
  .home-centers-grid .center-card .btn {
    padding: 10px 12px;
    font-size: 0.76rem;
    border-radius: 12px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px 14px;
  }
  .footer-grid > :first-child,
  .footer-grid > :last-child {
    grid-column: 1 / -1;
  }
  .footer-grid > div {
    min-width: 0;
  }
  .footer-brand > p {
    max-width: none;
  }
  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
  .footer-socials {
    justify-content: center;
    width: 100%;
  }
  section { padding: 56px 0; }
  .page-banner { padding: 80px 0 56px; }
  .section-title { font-size: 1.6rem; }
  .section-header { margin-bottom: 36px; }
  .cta-section { padding: 56px 0; }
  .cta-section.cta-section--consultation {
    padding: 34px 0 0;
  }
  .cta-section.cta-section--consultation .container {
    padding: 0 16px;
  }
  .cta-consultation-bar {
    flex-direction: column;
    gap: 18px;
    padding: 24px 20px;
    border-radius: 24px;
    text-align: center;
  }
  .cta-consultation-bar h2 {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }
  .cta-consultation-link {
    gap: 14px;
    flex-wrap: wrap;
    font-size: clamp(1.2rem, 5.6vw, 1.6rem);
  }
  .cta-consultation-number {
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
  }
  .form-row { grid-template-columns: 1fr; }
  .contact-info-card, .contact-form-card { padding: 28px 22px; }
  .center-actions { flex-direction: column; }
  .center-actions .btn { width: 100%; justify-content: center; }
  .wa-order-dialog {
    width: min(100%, 520px);
    padding: 18px 16px;
  }
  .wa-order-head h3 { font-size: 1.18rem; }
  .wa-order-head p { font-size: 0.8rem; }
  .wa-order-grid { gap: 10px; }
  .wa-order-actions { gap: 8px; }
  .wa-order-actions .btn { width: 100%; justify-content: center; }
}

@media (max-width: 420px) {
  .cta-section.cta-section--consultation .container {
    padding: 0 12px;
  }
  .cta-consultation-bar {
    padding: 22px 16px;
  }
  .cta-consultation-icon {
    width: 50px;
    height: 50px;
  }
  .footer-grid {
    gap: 18px 14px;
  }
  .about-features { gap: 10px; }
  .about-feature { gap: 8px; font-size: 0.75rem; line-height: 1.35; }
  .about-feature .icon { width: 26px; height: 26px; font-size: 0.78rem; border-radius: 7px; }
  .home-centers-grid { gap: 12px; }
  .home-centers-grid .center-card { padding: 18px 10px; }
  .home-centers-grid .center-card h4 { font-size: 0.9rem; }
  .home-centers-grid .center-card p { font-size: 0.7rem; min-height: 2.4em; }
  .home-centers-grid .center-card .btn { padding: 9px 8px; font-size: 0.72rem; }
  .wa-order-dialog { padding: 16px 14px; border-radius: 18px; }
  .wa-order-close { width: 34px; height: 34px; top: 10px; right: 10px; }
  .wa-order-grid { grid-template-columns: 1fr; }
  .wa-order-actions { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-slider { height: 75vh; min-height: 420px; }
  .slide-text h1 { font-size: 1.5rem; }
  .about-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 10px;
  }
  .about-feature { gap: 9px; font-size: 0.8rem; line-height: 1.35; }
  .about-feature .icon { width: 28px; height: 28px; font-size: 0.82rem; border-radius: 7px; }
  .about-images { height: 260px; }
  .about-img-main { width: 65%; height: 260px; }
  .about-img-secondary { width: 50%; height: 170px; }
  .about-badge { width: 70px; height: 70px; top: 10px; right: 40px; }
  .about-badge span { font-size: 1.3rem; }
}
