/* ============================================================
   CLINIC-V1 — STYLES.CSS — Premium Medical Template
   NovaSalud — Full Standalone Stylesheet
   ============================================================ */

/* ============================================================
   1. CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Brand */
  --primary: #0e4da4;
  --primary-dark: #0a3576;
  --primary-light: #e8f0fe;
  --primary-rgb: 14, 77, 164;
  --secondary: #14b8a6;
  --secondary-dark: #0d9488;
  --secondary-light: #e6faf7;
  --secondary-rgb: 20, 184, 166;
  --accent: #f59e0b;
  --accent-light: #fef3c7;

  /* Neutral */
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Semantic */
  --success: #22c55e;
  --danger: #ef4444;
  --warning: #f59e0b;
  --info: #3b82f6;

  /* Canvas */
  --canvas: var(--white);
  --canvas-alt: var(--gray-50);
  --ink: var(--gray-900);
  --ink-soft: var(--gray-700);
  --muted: var(--gray-500);
  --border: var(--gray-200);

  /* Typography */
  --font-main: 'Inter Tight', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --fs-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.78rem);
  --fs-sm: clamp(0.82rem, 0.76rem + 0.3vw, 0.9rem);
  --fs-base: clamp(0.92rem, 0.86rem + 0.3vw, 1rem);
  --fs-md: clamp(1rem, 0.9rem + 0.5vw, 1.15rem);
  --fs-lg: clamp(1.15rem, 1rem + 0.75vw, 1.4rem);
  --fs-xl: clamp(1.4rem, 1.1rem + 1.5vw, 2rem);
  --fs-2xl: clamp(1.8rem, 1.3rem + 2.5vw, 2.8rem);
  --fs-3xl: clamp(2.2rem, 1.5rem + 3.5vw, 3.6rem);
  --fs-4xl: clamp(2.8rem, 1.8rem + 5vw, 4.5rem);

  /* Spacing */
  --section-py: clamp(60px, 8vw, 120px);
  --container-max: 1240px;
  --container-px: clamp(16px, 4vw, 32px);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);
  --shadow-glow: 0 0 40px rgba(var(--primary-rgb), 0.15);
  --shadow-glow-secondary: 0 0 40px rgba(var(--secondary-rgb), 0.15);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration: 0.35s;
  --duration-slow: 0.6s;

  /* Z-index layers */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-preloader: 500;
  --z-cursor: 600;
}

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

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

body {
  font-family: var(--font-main);
  font-size: var(--fs-base);
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

ul, ol { list-style: none; }

button {
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

input, textarea, select {
  font: inherit;
  color: inherit;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  background: var(--white);
  width: 100%;
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.12);
}

::selection {
  background: rgba(var(--primary-rgb), 0.15);
  color: var(--primary-dark);
}

/* ============================================================
   3. UTILITY CLASSES
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.kicker--light {
  color: var(--white);
  background: rgba(255,255,255,0.15);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 16px;
}

.section-title--light { color: var(--white); }

.section-lead {
  font-size: var(--fs-md);
  color: var(--muted);
  max-width: 620px;
  line-height: 1.8;
}

.section-lead--light { color: rgba(255,255,255,0.8); }

.section-header { margin-bottom: 48px; }
.section-header--center {
  text-align: center;
}
.section-header--center .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-xl);
}

/* ============================================================
   4. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: var(--fs-sm);
  letter-spacing: -0.01em;
  border-radius: var(--radius-full);
  padding: 12px 28px;
  transition: all var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn .material-icons { font-size: 18px; }

.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.3);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(var(--primary-rgb), 0.4);
}

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

.btn--ghost {
  color: var(--primary);
  background: transparent;
  padding-left: 4px;
  padding-right: 4px;
}
.btn--ghost:hover { color: var(--primary-dark); }

.btn--white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.2);
}

.btn--outline-white {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
  background: transparent;
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

.btn--sm { padding: 8px 20px; font-size: var(--fs-xs); }
.btn--lg { padding: 16px 36px; font-size: var(--fs-base); }
.btn--block { width: 100%; }

/* ============================================================
   5. PRELOADER
   ============================================================ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: var(--z-preloader);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}

.preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__inner {
  text-align: center;
  position: relative;
}

.preloader__pulse {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.15);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: preloaderPulse 1.5s ease-in-out infinite;
}

.preloader__pulse--delay { animation-delay: 0.4s; }

@keyframes preloaderPulse {
  0%   { transform: translate(-50%, -50%) scale(0.8); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(2.2); opacity: 0; }
}

.preloader__icon {
  font-size: 32px;
  color: var(--primary);
  position: relative;
  z-index: 1;
  animation: preloaderBeat 1s ease-in-out infinite;
}

@keyframes preloaderBeat {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.15); }
}

.preloader__text {
  margin-top: 16px;
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================================
   6. CURSOR FOLLOWER
   ============================================================ */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: var(--z-cursor);
  border-radius: 50%;
  mix-blend-mode: difference;
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .cursor-dot,
  .cursor-ring {
    display: block;
  }
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--white);
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 2px solid rgba(255,255,255,0.5);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s var(--ease);
}

.cursor-ring.hovering {
  width: 56px;
  height: 56px;
  border-color: var(--white);
}

/* ============================================================
   7. SCROLL PROGRESS BAR
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  z-index: calc(var(--z-sticky) + 1);
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform-origin: left;
  transform: scaleX(0);
}

/* ============================================================
   8. TOP INFO BAR
   ============================================================ */
.topinfo {
  background: var(--gray-900);
  color: var(--gray-300);
  font-size: var(--fs-xs);
  padding: 8px 0;
}

.topinfo__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.topinfo__left,
.topinfo__right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topinfo__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gray-300);
  transition: color var(--duration) var(--ease);
}

.topinfo__item:hover { color: var(--white); }
.topinfo__item .material-icons { font-size: 16px; color: var(--secondary); }

.topinfo__social {
  display: flex;
  gap: 8px;
}

.topinfo__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--gray-400);
  transition: all var(--duration) var(--ease);
}
.topinfo__social a:hover {
  background: var(--primary);
  color: var(--white);
}
.topinfo__social a .material-icons { font-size: 14px; }

/* ============================================================
   9. NAVIGATION
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: box-shadow var(--duration) var(--ease), background var(--duration) var(--ease);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255,255,255,0.97);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-lg);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--ink);
  flex-shrink: 0;
}

.navbar__brand strong { font-weight: 800; }

.navbar__brand-icon {
  color: var(--primary);
  font-size: 28px;
}

.navbar__list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navbar__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-soft);
  border-radius: var(--radius-md);
  transition: color var(--duration) var(--ease), background var(--duration) var(--ease);
}

.navbar__link:hover,
.navbar__link.active {
  color: var(--primary);
  background: var(--primary-light);
}

.navbar__arrow { font-size: 18px; transition: transform var(--duration) var(--ease); }
.navbar__dropdown:hover .navbar__arrow { transform: rotate(180deg); }

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.navbar__cta .material-icons { font-size: 16px; }

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(920px, 90vw);
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  padding: 32px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--duration) var(--ease);
}

.navbar__dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.mega-menu__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.2fr;
  gap: 28px;
}

.mega-menu__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
}

.mega-menu__title .material-icons {
  font-size: 20px;
  color: var(--primary);
}

.mega-menu__link {
  display: block;
  padding: 6px 0;
  font-size: var(--fs-sm);
  color: var(--muted);
  transition: color var(--duration) var(--ease), padding-left var(--duration) var(--ease);
}
.mega-menu__link:hover {
  color: var(--primary);
  padding-left: 8px;
}

.mega-menu__promo {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 20px;
  overflow: hidden;
}

.mega-menu__promo img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 14px;
}

.mega-menu__promo h4 {
  font-size: var(--fs-base);
  font-weight: 800;
  margin-bottom: 6px;
}

.mega-menu__promo p {
  font-size: var(--fs-xs);
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.5;
}

.mega-menu__cta {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--primary);
}
.mega-menu__cta:hover { color: var(--primary-dark); }

/* Burger */
.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

.navbar__burger span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
}

.navbar__burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__burger.active span:nth-child(2) { opacity: 0; }
.navbar__burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   10. HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(var(--primary-rgb), 0.03) 0%,
    rgba(var(--secondary-rgb), 0.05) 50%,
    rgba(255,255,255,0) 100%
  );
}

.hero__particles {
  position: absolute;
  inset: 0;
}

.hero__shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
}

.hero__shape--1 {
  width: 500px; height: 500px;
  background: rgba(var(--primary-rgb), 0.12);
  top: -10%; right: -5%;
}

.hero__shape--2 {
  width: 350px; height: 350px;
  background: rgba(var(--secondary-rgb), 0.1);
  bottom: 5%; left: -5%;
}

.hero__shape--3 {
  width: 200px; height: 200px;
  background: rgba(var(--accent), 0.08);
  top: 30%; left: 40%;
}

.hero__shape--4 {
  width: 280px; height: 280px;
  background: rgba(var(--primary-rgb), 0.06);
  bottom: 20%; right: 30%;
}

.hero__grid {
  position: relative;
  z-index: var(--z-base);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.hero__badge .material-icons { font-size: 16px; }

.hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-4xl);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 20px;
}

.hero__title-accent {
  display: block;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__lead {
  font-size: var(--fs-md);
  color: var(--muted);
  max-width: 540px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.hero__checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  margin-bottom: 32px;
}

.hero__checklist li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-soft);
}

.hero__checklist .material-icons {
  font-size: 20px;
  color: var(--secondary);
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.hero__trust-avatars {
  display: flex;
  align-items: center;
}

.hero__trust-avatars img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid var(--white);
  object-fit: cover;
  margin-left: -10px;
}

.hero__trust-avatars img:first-child { margin-left: 0; }

.hero__trust-more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  margin-left: -10px;
  border: 3px solid var(--white);
}

.hero__trust-stars {
  color: var(--accent);
  font-size: var(--fs-sm);
  letter-spacing: 2px;
}

.hero__trust-info span {
  font-size: var(--fs-xs);
  color: var(--muted);
}

/* Hero Visual / Dashboard Cards */
.hero__visual {
  position: relative;
  perspective: 1200px;
}

.hero__card--main {
  padding: 24px;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
}

.hero__card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
}

.hero__card-header .material-icons {
  color: var(--primary);
  font-size: 22px;
}

.hero__card-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-left: auto;
}

.hero__card-dot--green {
  background: var(--success);
  box-shadow: 0 0 8px rgba(34,197,94,0.5);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero__card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.hero__card-stat {
  text-align: center;
  padding: 14px 8px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
}

.hero__card-stat strong {
  display: block;
  font-size: var(--fs-lg);
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.03em;
}

.hero__card-stat span {
  font-size: var(--fs-xs);
  color: var(--muted);
}

.hero__card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
}

.hero__card-bar {
  background: var(--gray-100);
  border-radius: var(--radius-full);
  height: 28px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}

.hero__card-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 1.5s var(--ease);
}

.hero__card-bar span {
  position: absolute;
  right: 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-soft);
}

/* Floating cards */
.hero__card--float {
  position: absolute;
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-xs);
  box-shadow: var(--shadow-lg);
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(16px);
  animation: floatCard 4s ease-in-out infinite;
}

.hero__card--float strong {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 800;
}

.hero__card--float span {
  color: var(--muted);
  font-size: 11px;
}

.hero__card-float-icon {
  font-size: 28px;
  color: var(--primary);
}

.hero__card-float-icon--green { color: var(--secondary); }

.hero__card--float-1 {
  top: 10%;
  right: -30px;
  animation-delay: 0s;
}

.hero__card--float-2 {
  bottom: 25%;
  left: -30px;
  animation-delay: 1s;
}

.hero__card--float-3 {
  bottom: 5%;
  right: 10%;
  animation-delay: 2s;
}

.hero__card-float-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 900;
  font-size: var(--fs-base);
  color: var(--accent);
}

.hero__card-float-rating .material-icons {
  font-size: 20px;
  color: var(--accent);
}

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

/* Hero scroll indicator */
.hero__scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 40px;
  text-align: center;
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.hero__scroll-indicator .material-icons {
  font-size: 24px;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

/* ============================================================
   11. TRUST BAR
   ============================================================ */
.trustbar {
  padding: 40px 0;
  background: var(--canvas-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.trustbar__label {
  text-align: center;
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 20px;
}

.trustbar__track {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.trustbar__slide {
  display: flex;
  gap: 48px;
  width: max-content;
}

.trustbar__logo {
  font-size: var(--fs-lg);
  font-weight: 900;
  color: var(--gray-300);
  letter-spacing: -0.03em;
  white-space: nowrap;
  transition: color var(--duration) var(--ease);
  user-select: none;
}

.trustbar__logo:hover { color: var(--gray-500); }

/* ============================================================
   12. ABOUT SECTION
   ============================================================ */
.about {
  padding: var(--section-py) 0;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about__media {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 16px;
  align-items: end;
}

.about__img-wrapper {
  position: relative;
}

.about__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-2xl);
}

.about__img-wrapper .about__img {
  height: 480px;
}

.about__img-secondary .about__img {
  height: 320px;
  border-radius: var(--radius-xl);
}

.about__img-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  padding: 20px 24px;
  text-align: center;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.about__img-badge strong {
  display: block;
  font-size: var(--fs-2xl);
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.03em;
}

.about__img-badge span {
  font-size: var(--fs-xs);
  color: var(--muted);
  font-weight: 600;
}

.about__features {
  display: grid;
  gap: 20px;
  margin: 28px 0 32px;
}

.about__feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.about__feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.2);
}

.about__feature-icon .material-icons { font-size: 22px; }

.about__feature h4 {
  font-size: var(--fs-base);
  font-weight: 800;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.about__feature p {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.6;
}

.about__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   13. STATS COUNTER
   ============================================================ */
.stats {
  position: relative;
  padding: 64px 0;
  overflow: hidden;
}

.stats__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  z-index: 0;
}

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

.stats__grid {
  position: relative;
  z-index: var(--z-base);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat {
  color: var(--white);
}

.stat__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.12);
  margin-bottom: 14px;
}

.stat__icon .material-icons { font-size: 26px; }

.stat__number {
  display: block;
  font-size: var(--fs-3xl);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
}

.stat__suffix {
  font-size: var(--fs-xl);
  font-weight: 800;
  opacity: 0.7;
}

.stat__label {
  font-size: var(--fs-sm);
  opacity: 0.75;
  font-weight: 500;
}

/* ============================================================
   14. SERVICES SECTION
   ============================================================ */
.services {
  padding: var(--section-py) 0;
  background: var(--canvas-alt);
}

.services__tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
  -webkit-overflow-scrolling: touch;
}

.services__tab {
  padding: 10px 24px;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--muted);
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--white);
  transition: all var(--duration) var(--ease);
}

.services__tab:hover,
.services__tab.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: all var(--duration) var(--ease);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration) var(--ease);
}

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

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--primary-rgb), 0.12);
}

.service-card__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.25);
}

.service-card__icon-wrap .material-icons { font-size: 26px; }

.service-card__title {
  font-size: var(--fs-md);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.service-card__text {
  font-size: var(--fs-xs);
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 8px;
  flex-grow: 1;
}

.service-card__list {
  display: grid;
  gap: 4px;
  margin-bottom: 8px;
}

.service-card__list li {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-xs);
  color: var(--ink-soft);
  font-weight: 500;
}

.service-card__list .material-icons {
  font-size: 14px;
  color: var(--secondary);
}

.service-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.service-card__price {
  font-size: var(--fs-xs);
  color: var(--muted);
}

.service-card__price strong {
  font-size: var(--fs-md);
  font-weight: 900;
  color: var(--primary);
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--primary);
  transition: gap var(--duration) var(--ease);
}
.service-card__link:hover { gap: 8px; }
.service-card__link .material-icons { font-size: 14px; }

.services__more {
  text-align: center;
  margin-top: 24px;
}

/* ============================================================
   15. PROCESS / HOW IT WORKS
   ============================================================ */
.process {
  padding: var(--section-py) 0;
}

.process__timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.process__line {
  position: absolute;
  top: 2px;
  left: 12.5%;
  right: 12.5%;
  height: 40px;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.process__line.is-active {
  opacity: 1;
  transform: translateY(0);
}

.process__line-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.process__line-track,
.process__line-wave {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.process__line-track {
  stroke: rgba(var(--primary-rgb), 0.14);
  stroke-width: 4;
}

.process__line-wave {
  stroke-width: 4.5;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  filter: drop-shadow(0 0 10px rgba(var(--secondary-rgb), 0.4));
  will-change: stroke-dashoffset, filter;
}

.process__line.is-active .process__line-wave {
  animation: processWaveGlow 2.4s ease-in-out infinite;
}

.process__line-pulse {
  opacity: 0;
  filter: drop-shadow(0 0 8px rgba(var(--secondary-rgb), 0.55));
  transform-box: fill-box;
  transform-origin: center;
}

.process__line.is-active .process__line-pulse {
  opacity: 1;
  animation: processPulseGlow 2.2s ease-in-out infinite;
}

.process__step {
  text-align: center;
  position: relative;
  z-index: var(--z-base);
  opacity: 1 !important;
  visibility: visible !important;
}

.process__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  font-size: var(--fs-md);
  font-weight: 900;
  margin-bottom: 12px;
  box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.25);
  position: relative;
  z-index: 1;
}

.process__step-card {
  padding: 16px;
  text-align: center;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration) var(--ease);
}

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

.process__step-icon {
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 8px;
}

.process__step-card h3 {
  font-size: var(--fs-base);
  font-weight: 800;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.process__step-card p {
  font-size: var(--fs-xs);
  color: var(--muted);
  line-height: 1.5;
}

@keyframes processWaveGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 6px rgba(var(--secondary-rgb), 0.3));
  }
  50% {
    filter: drop-shadow(0 0 12px rgba(var(--secondary-rgb), 0.62));
  }
}

@keyframes processPulseGlow {
  0%,
  100% {
    opacity: 0.55;
    filter: drop-shadow(0 0 6px rgba(var(--secondary-rgb), 0.3));
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 14px rgba(var(--secondary-rgb), 0.72));
  }
}

/* ============================================================
   16. TEAM / DOCTORS
   ============================================================ */
.team {
  padding: var(--section-py) 0;
  background: var(--canvas-alt);
}

.doctor-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--duration) var(--ease);
}

.doctor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -8px rgba(var(--card-shadow-color, 0, 0, 0), 0.5);
}

.doctor-card__img-wrap {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.doctor-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease);
}

.doctor-card:hover .doctor-card__img-wrap img {
  transform: scale(1.05);
}

.doctor-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(var(--card-shadow-color, var(--primary-rgb)), 0.85), transparent 60%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}

.doctor-card:hover .doctor-card__overlay { opacity: 1; }

.doctor-card__overlay a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  color: var(--white);
  transition: background var(--duration) var(--ease);
}
.doctor-card__overlay a:hover { background: rgba(255,255,255,0.35); }
.doctor-card__overlay .btn { width: auto; }

.doctor-card__body {
  padding: 16px;
}

.doctor-card__name {
  font-size: var(--fs-md);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}

.doctor-card__role {
  display: block;
  font-size: var(--fs-xs);
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 6px;
}

.doctor-card__bio {
  font-size: var(--fs-xs);
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 8px;
}

.doctor-card__rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-xs);
  color: var(--accent);
  font-weight: 700;
}

.team__nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.team__nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--border);
  color: var(--ink);
  transition: all var(--duration) var(--ease);
}

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

.team__slider {
  position: relative;
  padding-bottom: 16px;
}

.team__slider .swiper-pagination {
  bottom: -8px !important;
}

/* ============================================================
   17. WHY CHOOSE US
   ============================================================ */
.whyus {
  position: relative;
  padding: var(--section-py) 0;
  overflow: hidden;
  background: var(--gray-900);
  color: var(--white);
}

.whyus__bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  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='1'%3E%3Cpath d='M0 20L20 0L40 20L20 40z'/%3E%3C/g%3E%3C/svg%3E");
}

.whyus__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.whyus__list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.whyus__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.whyus__item-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  font-size: var(--fs-xs);
  font-weight: 900;
  flex-shrink: 0;
}

.whyus__item h4 {
  font-size: var(--fs-base);
  font-weight: 800;
  margin-bottom: 2px;
  letter-spacing: -0.02em;
}

.whyus__item p {
  font-size: var(--fs-xs);
  color: var(--gray-400);
  line-height: 1.5;
}

.whyus__visual { position: relative; }

.whyus__img-stack {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
}

.whyus__img {
  border-radius: var(--radius-2xl);
  object-fit: cover;
}

.whyus__img--main {
  width: 100%;
  height: 400px;
}

.whyus__img--accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 250px;
  border: 6px solid var(--gray-900);
  border-radius: var(--radius-xl);
}

.whyus__floating-card {
  position: absolute;
  top: -16px;
  left: -16px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: rgba(255,255,255,0.9);
  color: var(--ink);
}

.whyus__floating-card .material-icons {
  font-size: 24px;
  color: var(--secondary);
}

.whyus__floating-card strong {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 800;
}

.whyus__floating-card span {
  font-size: var(--fs-xs);
  color: var(--muted);
}

/* ============================================================
   18. TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: var(--section-py) 0;
}

.testi-card {
  padding: 24px;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  background: var(--white);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testi-card__stars {
  color: var(--accent);
  font-size: var(--fs-md);
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.testi-card__quote {
  font-size: var(--fs-base);
  color: var(--ink-soft);
  line-height: 1.6;
  font-style: italic;
  flex-grow: 1;
  margin-bottom: 16px;
}

.testi-card__author {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.testi-card__author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.testi-card__author strong {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 800;
}

.testi-card__author span {
  font-size: var(--fs-xs);
  color: var(--muted);
}

/* ============================================================
   19. PRICING
   ============================================================ */
.pricing {
  padding: var(--section-py) 0;
  background: var(--canvas-alt);
}

.pricing__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}

.pricing__toggle-label {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: color var(--duration) var(--ease);
}

.pricing__toggle-label.active { color: var(--ink); }

.pricing__badge {
  display: inline-block;
  background: var(--secondary-light);
  color: var(--secondary-dark);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-left: 4px;
}

.pricing__toggle-switch {
  width: 44px;
  height: 24px;
  border-radius: var(--radius-full);
  background: var(--gray-200);
  position: relative;
  transition: background var(--duration) var(--ease);
}

.pricing__toggle-switch.active { background: var(--primary); }

.pricing__toggle-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration) var(--ease);
}

.pricing__toggle-switch.active .pricing__toggle-knob {
  transform: translateX(20px);
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all var(--duration) var(--ease);
  position: relative;
}

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

.pricing-card--featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transform: scale(1.02);
}

.pricing-card--featured:hover {
  transform: scale(1.02) translateY(-4px);
}

.pricing-card__badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.pricing-card__header { margin-bottom: 16px; }

.pricing-card__icon {
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 8px;
}

.pricing-card__header h3 {
  font-size: var(--fs-xl);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.pricing-card__header p {
  font-size: var(--fs-xs);
  color: var(--muted);
  line-height: 1.5;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.pricing-card__currency {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--ink);
}

.pricing-card__amount {
  font-size: var(--fs-2xl);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.pricing-card__period {
  font-size: var(--fs-xs);
  color: var(--muted);
  margin-left: 4px;
}

.pricing-card__features {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--ink-soft);
}

.pricing-card__features li .material-icons {
  font-size: 16px;
  color: var(--secondary);
}

.pricing-card__feature--disabled {
  opacity: 0.4;
}

.pricing-card__feature--disabled .material-icons {
  color: var(--gray-400) !important;
}

/* ============================================================
   20. FAQ SECTION
   ============================================================ */
.faq {
  padding: var(--section-py) 0;
}

.faq__grid {
  display: grid;
  grid-template-columns: 0.45fr 0.55fr;
  gap: 40px;
  align-items: flex-start;
}

.faq__contact-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius-xl);
  margin-top: 24px;
}

.faq__contact-card .material-icons {
  font-size: 24px;
  color: var(--primary);
}

.faq__contact-card h4 {
  font-size: var(--fs-xs);
  font-weight: 800;
  margin-bottom: 2px;
}

.faq__contact-card p {
  font-size: var(--fs-xs);
  color: var(--muted);
}

.faq__contact-card a {
  color: var(--primary);
  font-weight: 600;
}

.faq__list {
  display: grid;
  gap: 8px;
}

.faq__item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration) var(--ease);
}

.faq__item[open] {
  border-color: rgba(var(--primary-rgb), 0.2);
  box-shadow: var(--shadow-md);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  cursor: pointer;
  font-size: var(--fs-base);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  list-style: none;
}

.faq__question::-webkit-details-marker { display: none; }

.faq__toggle {
  font-size: 20px;
  color: var(--primary);
  transition: transform var(--duration) var(--ease);
  flex-shrink: 0;
}

.faq__item[open] .faq__toggle { transform: rotate(180deg); }

.faq__answer {
  padding: 0 16px 16px;
}

.faq__answer p {
  font-size: var(--fs-xs);
  color: var(--muted);
  line-height: 1.6;
}

/* ============================================================
   21. BLOG SECTION
   ============================================================ */
.blog {
  padding: var(--section-py) 0;
  background: var(--canvas-alt);
}

.blog__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--duration) var(--ease);
  display: flex;
  flex-direction: column;
}

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

.blog-card--featured {
  grid-row: span 1;
}

.blog-card--featured .blog-card__img-wrap {
  height: 160px;
}

.blog-card__img-wrap {
  position: relative;
  height: 120px;
  overflow: hidden;
}

.blog-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease);
}

.blog-card:hover .blog-card__img-wrap img { transform: scale(1.05); }

.blog-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.blog-card__body {
  padding: 12px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-card__meta {
  display: flex;
  gap: 12px;
  margin-bottom: 6px;
}

.blog-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-xs);
  color: var(--muted);
}

.blog-card__meta .material-icons { font-size: 12px; }

.blog-card__title {
  font-size: var(--fs-md);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 8px;
}

.blog-card__excerpt {
  font-size: var(--fs-xs);
  color: var(--muted);
  line-height: 1.5;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 16px;
}

.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--primary);
  transition: gap var(--duration) var(--ease);
}
.blog-card__link:hover { gap: 8px; }
.blog-card__link .material-icons { font-size: 18px; }

/* ============================================================
   22. CTA SECTION
   ============================================================ */
.cta {
  position: relative;
  padding: var(--section-py) 0;
  overflow: hidden;
}

.cta__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark) 50%, var(--secondary));
  z-index: 0;
}

.cta__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(var(--secondary-rgb), 0.3), transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05), transparent 50%);
}

.cta__inner {
  position: relative;
  z-index: var(--z-base);
  text-align: center;
}

.cta__content { max-width: 700px; margin: 0 auto; }

.cta__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ============================================================
   23. CONTACT SECTION
   ============================================================ */
.contact {
  padding: var(--section-py) 0;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.contact__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.contact__card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  border-radius: var(--radius-lg);
}

.contact__card .material-icons {
  font-size: 24px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact__card h4 {
  font-size: var(--fs-sm);
  font-weight: 800;
  margin-bottom: 4px;
}

.contact__card p {
  font-size: var(--fs-xs);
  color: var(--muted);
  line-height: 1.5;
}

.contact__card a {
  color: var(--primary);
  font-weight: 600;
}

/* Contact Form */
.contact__form {
  padding: 40px;
  border-radius: var(--radius-2xl);
}

.contact__form-title {
  font-size: var(--fs-xl);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink-soft);
}

.form-group--checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.form-group--checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--primary);
}

.form-group--checkbox label {
  font-size: var(--fs-xs);
  color: var(--muted);
  margin-bottom: 0;
}

.form-group--checkbox a { color: var(--primary); font-weight: 600; }

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.contact__form-note {
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--muted);
  margin-top: 12px;
}

/* ============================================================
   24. MAP SECTION
   ============================================================ */
.map-section {
  line-height: 0;
}

.map-section iframe {
  filter: grayscale(0.3) contrast(1.05);
}

/* ============================================================
   25. FOOTER
   ============================================================ */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 64px 0 0;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-lg);
  color: var(--white);
  margin-bottom: 14px;
}

.footer__logo .material-icons { color: var(--primary); font-size: 24px; }
.footer__logo strong { font-weight: 800; }

.footer__desc {
  font-size: var(--fs-sm);
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--gray-400);
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: var(--gray-400);
  transition: all var(--duration) var(--ease);
}
.footer__social a:hover {
  background: var(--primary);
  color: var(--white);
}
.footer__social a .material-icons { font-size: 18px; }

.footer__links h5 {
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.footer__links a {
  display: block;
  font-size: var(--fs-sm);
  color: var(--gray-400);
  padding: 5px 0;
  transition: color var(--duration) var(--ease), padding-left var(--duration) var(--ease);
}
.footer__links a:hover {
  color: var(--white);
  padding-left: 6px;
}

.footer__newsletter h5 {
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.footer__newsletter p {
  font-size: var(--fs-xs);
  color: var(--gray-400);
  margin-bottom: 14px;
  line-height: 1.5;
}

.footer__newsletter-form {
  display: flex;
  gap: 8px;
}

.footer__newsletter-form input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
  color: var(--white);
  padding: 10px 14px;
  font-size: var(--fs-sm);
}

.footer__newsletter-form input::placeholder { color: var(--gray-500); }

.footer__certifications {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.footer__cert {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--gray-400);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: var(--fs-xs);
  color: var(--gray-500);
  flex-wrap: wrap;
  gap: 12px;
}

.footer__bottom-links {
  display: flex;
  gap: 20px;
}

.footer__bottom-links a {
  color: var(--gray-500);
  transition: color var(--duration) var(--ease);
}

.footer__bottom-links a:hover { color: var(--white); }

/* ============================================================
   26. BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: var(--z-overlay);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--duration) var(--ease);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

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

/* ============================================================
   27. COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: var(--z-overlay);
  transform: translateY(120%);
  transition: transform 0.5s var(--ease);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner__inner {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-xl);
}

.cookie-banner__icon {
  font-size: 28px;
  color: var(--accent);
  flex-shrink: 0;
}

.cookie-banner__inner p {
  font-size: var(--fs-sm);
  color: var(--muted);
  flex-grow: 1;
  line-height: 1.5;
}

.cookie-banner__inner a { color: var(--primary); font-weight: 600; }

.cookie-banner__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

/* ============================================================
   28. RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 1200px) {
  .services__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { max-width: 520px; margin: 0 auto; }
  .hero__card--float-1 { right: 0; }
  .hero__card--float-2 { left: 0; }
  .hero { min-height: auto; padding: 100px 0 60px; }
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__media { max-width: 560px; }
  .whyus__grid { grid-template-columns: 1fr; gap: 48px; }
  .whyus__visual { max-width: 500px; }
  .contact__grid { grid-template-columns: 1fr; }
  .faq__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .process__timeline { grid-template-columns: repeat(2, 1fr); }
  .process__line { display: none; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .pricing__grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card--featured { grid-column: span 2; }
  .blog__grid { grid-template-columns: 1fr; }
  .blog-card--featured { grid-row: auto; }

  .navbar__menu {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    max-width: 100vw;
    padding: 88px 24px 28px;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: var(--z-overlay);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: none;
    transition: opacity var(--duration-slow) var(--ease), visibility 0s linear var(--duration-slow);
  }
  .navbar__menu.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity var(--duration-slow) var(--ease);
  }
  .navbar__list {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .navbar__list > li { width: 100%; }
  .navbar__link {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    font-size: var(--fs-lg);
    padding: 12px 20px;
    border-radius: var(--radius-md);
  }
  .navbar__dropdown { width: 100%; }
  .mega-menu { display: none; }
  .navbar__burger { display: flex; position: relative; z-index: calc(var(--z-overlay) + 1); }
}

@media (max-width: 768px) {
  .cookie-banner {
    bottom: 16px;
    left: 50%;
    right: auto;
    width: min(420px, calc(100vw - 32px));
    transform: translate(-50%, 120%);
  }

  .cookie-banner.visible { transform: translate(-50%, 0); }

  .topinfo__right { display: none; }
  .hero__checklist { grid-template-columns: 1fr; }
  .services__tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .services__tabs::-webkit-scrollbar { display: none; }
  .services__tab { white-space: nowrap; flex-shrink: 0; }
  .services__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .pricing__grid { grid-template-columns: 1fr; }
  .pricing-card--featured { grid-column: auto; transform: none; }
  .pricing-card--featured:hover { transform: translateY(-4px); }
  .contact__cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .hero__card--float { display: none; }
  .whyus__img--accent { display: none; }
  .whyus__floating-card { position: relative; top: 0; left: 0; margin-top: 16px; }
  .about__img-badge { right: 10px; bottom: -10px; }
  .cookie-banner__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 20px;
    text-align: left;
  }
  .cookie-banner__icon { font-size: 24px; }
  .cookie-banner__actions {
    width: 100%;
    flex-direction: column;
  }
  .cookie-banner__actions .btn { width: 100%; }
  .section-title { font-size: var(--fs-2xl); }
  .section-lead { font-size: var(--fs-sm); }
  .team__nav-btn { width: 42px; height: 42px; }
  .faq__question { padding: 16px 18px; font-size: var(--fs-sm); }
  .faq__answer { padding: 0 18px 16px; }
  .blog-card__body { padding: 18px; }
  .pricing-card { padding: 28px 24px; }
  .whyus__item-number { width: 38px; height: 38px; }
  .map-section iframe { height: 300px; }
}

@media (max-width: 480px) {
  .cookie-banner {
    bottom: 12px;
    width: min(340px, calc(100vw - 24px));
  }

  .hero__title { font-size: var(--fs-2xl); }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .stats__grid { grid-template-columns: 1fr; }
  .process__timeline { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .about__media { grid-template-columns: 1fr; }
  .about__img-secondary { display: none; }
  .cta__actions { flex-direction: column; }
  .cta__actions .btn { width: 100%; }
  .contact__form { padding: 24px; }
  .whyus__list { gap: 18px; }
  .whyus__item { gap: 12px; }
  .doctor-card__img-wrap { height: 240px; }
  .testi-card { padding: 24px; }
  .blog-card__title { font-size: var(--fs-base); }
  .cookie-banner__inner {
    padding: 14px 16px;
    border-radius: 20px;
  }
  .cookie-banner__icon { font-size: 22px; }
  .cookie-banner__actions { gap: 10px; }
}

/* ============================================================
   29. PRINT STYLES
   ============================================================ */
@media print {
  .preloader, .cursor-dot, .cursor-ring, .scroll-progress,
  .topinfo, .navbar, .back-to-top, .cookie-banner,
  .hero__shapes, .hero__card--float, .trustbar { display: none !important; }
  body { color: #000; background: #fff; }
  .hero { min-height: auto; padding: 20px 0; }
  .section-title { color: #000; }
  .gradient-text { -webkit-text-fill-color: initial; color: #0e4da4; }
}
