/*
╔══════════════════════════════════════════════════════════════════════════════╗
║  suortopedista.com — Premium Landing Styles v3.0                             ║
║  Dr. Mario Balcázar · Cirugía Articular · Querétaro                         ║
║  Aesthetic: Luxury Medical Editorial — authority, precision, trust           ║
║  Typography: DM Serif Display + DM Sans                                      ║
║  Palette: Navy + White + S+N Orange (#F7941D) accent                        ║
╚══════════════════════════════════════════════════════════════════════════════╝
*/

/* ═══════════════════════════════════════════════════════════════
   DESIGN TOKENS
   ═══════════════════════════════════════════════════════════════ */
:root {
  /* Primary */
  --navy-900: #0B1D3A;
  --navy-800: #122B4D;
  --navy-700: #1A3A64;
  --navy-100: #E8EEF5;
  --navy-50:  #F1F5F9;

  /* Accent — Smith+Nephew CORI orange */
  --accent: #F7941D;
  --accent-dark: #E07E0A;
  --accent-light: #FFF4E6;
  --accent-glow: rgba(247, 148, 29, 0.15);

  /* CTA Green (WhatsApp) */
  --green: #22C55E;
  --green-dark: #16A34A;
  --green-glow: rgba(34, 197, 94, 0.25);

  /* Neutrals */
  --white: #FFFFFF;
  --gray-50:  #FAFBFC;
  --gray-100: #F4F5F7;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;

  /* Typography */
  --font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-pad: clamp(4rem, 8vw, 7rem);
  --container: 1200px;

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 999px;

  /* Shadows */
  --sh-sm:  0 1px 3px rgba(11,29,58,0.06), 0 1px 2px rgba(11,29,58,0.04);
  --sh-md:  0 4px 6px -1px rgba(11,29,58,0.06), 0 2px 4px -2px rgba(11,29,58,0.04);
  --sh-lg:  0 10px 25px -5px rgba(11,29,58,0.08), 0 8px 10px -6px rgba(11,29,58,0.03);
  --sh-xl:  0 25px 50px -12px rgba(11,29,58,0.15);

  /* Hero */
  --hero-bg: linear-gradient(165deg, #0B1D3A 0%, #0D2847 35%, #0F3052 65%, #112E4C 100%);
}

/* ═══════════════════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: all 0.2s ease; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(var(--container), 92%); margin: 0 auto; }
.section { padding: var(--section-pad) 0; scroll-margin-top: 72px; }

/* ═══════════════════════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════════════════════ */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(11,29,58,0.97);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0 24px;
  transition: all 0.3s ease;
}
.nav.scrolled {
  background: rgba(11,29,58,0.99);
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}
.nav-inner {
  max-width: var(--container); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; transition: height 0.3s ease;
}
.nav.scrolled .nav-inner { height: 58px; }

.nav-brand { display: flex; align-items: center; gap: 12px; color: white; }
.nav-logo { flex-shrink: 0; }
.nav-name { font-family: var(--font-display); font-size: 15px; line-height: 1.2; letter-spacing: -0.01em; }
.nav-sub { font-size: 11px; color: rgba(255,255,255,0.5); font-weight: 400; letter-spacing: 0.02em; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: rgba(255,255,255,0.65); font-size: 13px; font-weight: 500;
  padding: 8px 14px; border-radius: var(--r-sm); transition: all 0.2s;
  letter-spacing: 0.01em;
}
.nav-links a:hover { color: white; background: rgba(255,255,255,0.07); }

.nav-cta {
  background: var(--accent) !important; color: var(--navy-900) !important;
  padding: 10px 22px !important; border-radius: var(--r-full);
  font-weight: 700 !important; font-size: 13px !important;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 12px rgba(247,148,29,0.3);
  transition: all 0.25s ease !important;
}
.nav-cta:hover { background: var(--accent-dark) !important; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(247,148,29,0.4); }

.nav-toggle {
  display: none; background: transparent; border: none;
  color: white; padding: 8px; cursor: pointer;
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed; top: 0; right: 0; height: 100dvh;
  width: min(85vw, 380px); background: var(--navy-900);
  transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 300; padding: 24px; display: flex; flex-direction: column;
}
.mobile-drawer.open { transform: translateX(0); }
.drawer-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 32px; color: white;
  font-family: var(--font-display); font-size: 18px;
}
.drawer-close { background: none; border: none; color: rgba(255,255,255,0.6); cursor: pointer; padding: 8px; border-radius: var(--r-sm); transition: all 0.2s; }
.drawer-close:hover { color: white; background: rgba(255,255,255,0.08); }
.drawer-links { display: flex; flex-direction: column; gap: 2px; }
.drawer-links a {
  color: rgba(255,255,255,0.75); padding: 16px 18px; font-weight: 500;
  font-size: 16px; border-radius: var(--r-md); transition: all 0.2s;
}
.drawer-links a:hover { background: rgba(255,255,255,0.06); color: white; }
.drawer-ctas { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.drawer-ctas .btn-wa {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--green); color: white; padding: 16px; border-radius: var(--r-lg);
  font-weight: 700; font-size: 16px;
}
.drawer-ctas .btn-call {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: rgba(255,255,255,0.06); color: white; padding: 14px; border-radius: var(--r-lg);
  font-weight: 500; font-size: 15px; border: 1px solid rgba(255,255,255,0.1);
}
.backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px); z-index: 250; opacity: 0; pointer-events: none;
  transition: opacity 0.35s;
}
.backdrop.show { opacity: 1; pointer-events: auto; }

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero {
  background: var(--hero-bg);
  color: white; position: relative; overflow: hidden;
}
.hero-bg-pattern {
  position: absolute; inset: 0; opacity: 0.03;
  background-image: radial-gradient(circle at 1px 1px, white 1px, transparent 0);
  background-size: 40px 40px;
}
.hero::before {
  content: ''; position: absolute; top: -30%; right: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
  border-radius: 50%; pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -20%; left: -5%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(247,148,29,0.06) 0%, transparent 65%);
  border-radius: 50%; pointer-events: none;
}

.hero-inner {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: 56px; align-items: center;
  padding: 72px 24px 64px;
  position: relative; z-index: 1;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  padding: 8px 18px; border-radius: var(--r-full);
  font-size: 13px; color: rgba(255,255,255,0.8); font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}
.pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  animation: pulse-glow 2s infinite;
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

.hero h1 {
  font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 400; line-height: 1.12; margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero h1 em {
  color: var(--accent); font-style: italic;
}

.hero-lead {
  font-size: clamp(1rem, 1.2vw, 1.15rem); color: rgba(255,255,255,0.7);
  line-height: 1.75; margin-bottom: 28px; max-width: 560px;
  font-weight: 400;
}
.hero-lead strong { color: var(--accent); font-weight: 600; }

/* Trust metrics */
.trust-row {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  margin-bottom: 32px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.trust-item {
  display: flex; flex-direction: column; gap: 2px;
}
.trust-num {
  font-family: var(--font-display); font-size: 28px;
  color: white; line-height: 1;
}
.trust-label { font-size: 12px; color: rgba(255,255,255,0.5); font-weight: 500; letter-spacing: 0.02em; }
.trust-stars { font-size: 12px; color: var(--accent); letter-spacing: 2px; margin-top: 2px; }
.trust-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.1); }

/* Hero CTAs */
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.btn-primary-hero {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: white;
  padding: 16px 28px; border-radius: var(--r-full);
  font-weight: 700; font-size: 15px;
  box-shadow: 0 4px 24px var(--green-glow);
  transition: all 0.25s ease;
}
.btn-primary-hero:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(34,197,94,0.35); }
.btn-secondary-hero {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: white;
  padding: 16px 28px; border-radius: var(--r-full);
  font-weight: 600; font-size: 15px;
  border: 1.5px solid rgba(255,255,255,0.2);
  transition: all 0.25s ease;
}
.btn-secondary-hero:hover { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.04); }

.hero-insurance { font-size: 13px; color: rgba(255,255,255,0.45); font-weight: 400; }

/* Portrait */
.hero-portrait { position: relative; }
.hero-portrait img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
  border-radius: var(--r-xl);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}
.credential-float {
  position: absolute; bottom: -16px; left: -16px;
  background: white; border-radius: var(--r-lg);
  padding: 14px 18px; box-shadow: var(--sh-xl);
  display: flex; align-items: center; gap: 12px;
  max-width: 280px;
  border: 1px solid var(--gray-200);
}
.cred-icon {
  width: 40px; height: 40px; border-radius: var(--r-sm);
  background: var(--accent-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--accent);
}
.cred-title { font-size: 13px; font-weight: 700; color: var(--navy-900); line-height: 1.3; }
.cred-sub { font-size: 11px; color: var(--gray-500); font-weight: 500; }

/* ═══════════════════════════════════════════════════════════════
   PROOF BAR
   ═══════════════════════════════════════════════════════════════ */
.proof-bar {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: 18px 0;
}
.proof-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: center;
  gap: 32px; flex-wrap: wrap;
}
.proof-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--gray-600); font-weight: 500;
}
.proof-item svg { color: var(--accent); flex-shrink: 0; }
.proof-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--gray-300); }
.proof-cori-img { height: 20px; width: auto; }

/* ═══════════════════════════════════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════════════════════════════════ */
.section-header { text-align: center; margin-bottom: 48px; }
.section-tag {
  display: inline-block; font-size: 12px; font-weight: 700;
  color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 12px;
}
.tag-light { color: rgba(255,255,255,0.7); }
.section-header h2 {
  font-family: var(--font-display); font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 400; color: var(--navy-900); margin-bottom: 12px;
  letter-spacing: -0.02em; line-height: 1.2;
}
.section-header p { font-size: 16px; color: var(--gray-500); max-width: 580px; margin: 0 auto; }

/* ═══════════════════════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════════════════════ */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.svc {
  background: white; border: 1px solid var(--gray-200);
  border-radius: var(--r-lg); padding: 32px 28px;
  transition: all 0.35s ease; position: relative;
}
.svc::after {
  content: ''; position: absolute; bottom: 0; left: 24px; right: 24px; height: 2px;
  background: var(--accent); transform: scaleX(0);
  transition: transform 0.35s ease; transform-origin: left;
  border-radius: 2px;
}
.svc:hover { box-shadow: var(--sh-lg); transform: translateY(-4px); }
.svc:hover::after { transform: scaleX(1); }

.svc-icon-wrap {
  width: 52px; height: 52px; border-radius: var(--r-md);
  background: var(--navy-50); border: 1px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: var(--navy-700);
  transition: all 0.3s ease;
}
.svc:hover .svc-icon-wrap { background: var(--accent-light); color: var(--accent-dark); border-color: rgba(247,148,29,0.2); }

.svc h3 {
  font-family: var(--font-display); font-size: 18px; font-weight: 400;
  color: var(--navy-900); margin-bottom: 10px; line-height: 1.3;
}
.svc p { font-size: 14px; color: var(--gray-500); line-height: 1.65; margin-bottom: 20px; }
.svc-more {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent-dark); font-weight: 600; font-size: 13px;
  letter-spacing: 0.01em; transition: gap 0.25s ease;
}
.svc:hover .svc-more { gap: 10px; color: var(--accent); }

/* ═══════════════════════════════════════════════════════════════
   TECH SECTION (CORI)
   ═══════════════════════════════════════════════════════════════ */
.tech-section {
  background: var(--navy-900); color: white;
  position: relative; overflow: hidden;
}
.tech-section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.4;
}
.tech-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 56px; align-items: center;
}
.tech-content .section-tag { color: var(--accent); }
.tech-content h2 {
  font-family: var(--font-display); font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 400; color: white; margin-bottom: 16px;
  letter-spacing: -0.02em; line-height: 1.2;
}
.tech-lead {
  font-size: 15px; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 28px;
}
.tech-lead strong { color: var(--accent); font-weight: 600; }
.tech-features { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.tech-feat {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; color: rgba(255,255,255,0.8); line-height: 1.5;
}
.tech-feat svg { flex-shrink: 0; margin-top: 2px; }

.tech-brand-img { height: 32px; width: auto; opacity: 0.7; }

.tech-visual { position: relative; }
.tech-hero-img {
  width: 100%; border-radius: var(--r-xl);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.tech-visual.no-img .tech-hero-img { display: none; }
.tech-visual.no-img .tech-overlay { position: static; }
.tech-overlay {
  position: absolute; bottom: -12px; right: -12px;
  background: rgba(11,29,58,0.95); backdrop-filter: blur(16px);
  border: 1px solid rgba(247,148,29,0.2); border-radius: var(--r-lg);
  padding: 16px 20px;
}
.tech-overlay-inner {
  display: flex; align-items: center; gap: 12px; color: white;
}
.tech-overlay-inner svg { color: var(--accent); }
.tech-overlay-inner strong { font-size: 13px; display: block; }
.tech-overlay-inner span { font-size: 11px; color: rgba(255,255,255,0.5); }

/* ═══════════════════════════════════════════════════════════════
   WHY SECTION
   ═══════════════════════════════════════════════════════════════ */
.why-layout {}
.why-text { max-width: 600px; margin-bottom: 40px; }
.why-text h2 {
  font-family: var(--font-display); font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 400; color: var(--navy-900); margin-bottom: 12px;
  letter-spacing: -0.02em; line-height: 1.2;
}
.why-text p { color: var(--gray-500); font-size: 16px; }

.why-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.why-card {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--r-lg); padding: 32px 28px;
  transition: all 0.3s ease;
}
.why-card:hover { background: white; box-shadow: var(--sh-md); }
.why-num {
  font-family: var(--font-display); font-size: 32px; color: var(--accent);
  line-height: 1; margin-bottom: 16px; opacity: 0.5;
}
.why-card h3 {
  font-family: var(--font-display); font-size: 17px; font-weight: 400;
  color: var(--navy-900); margin-bottom: 8px;
}
.why-card p { font-size: 14px; color: var(--gray-500); line-height: 1.6; }

/* Hospitals */
.hospitals {
  margin-top: 56px; padding-top: 48px;
  border-top: 1px solid var(--gray-200);
}
.hospitals h3 {
  font-family: var(--font-display); font-size: 18px; font-weight: 400;
  color: var(--navy-900); margin-bottom: 20px;
}
.hosp-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  margin-bottom: 20px;
}
.hosp-chip {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px; background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--r-md); font-size: 14px; font-weight: 600; color: var(--navy-900);
}
.hosp-chip svg { color: var(--accent); flex-shrink: 0; }
.hosp-note {
  font-size: 14px; color: var(--gray-500); line-height: 1.65;
  padding: 20px 24px; background: white; border-radius: var(--r-md);
  border: 1px solid var(--gray-200);
}

/* ═══════════════════════════════════════════════════════════════
   CITAS
   ═══════════════════════════════════════════════════════════════ */
.citas-section { background: var(--gray-50); }
.citas-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start;
}
.citas-contact {
  background: var(--navy-900); color: white; border-radius: var(--r-xl);
  padding: 40px; display: flex; flex-direction: column; gap: 20px;
}
.citas-contact h3 {
  font-family: var(--font-display); font-size: 22px; font-weight: 400;
  margin-bottom: 4px;
}
.contact-opt {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: var(--r-md); transition: background 0.2s;
}
.contact-opt:hover { background: rgba(255,255,255,0.05); }
.contact-ico {
  width: 48px; height: 48px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-ico.wa { background: rgba(34,197,94,0.12); color: var(--green); }
.contact-ico.phone { background: rgba(247,148,29,0.12); color: var(--accent); }
.contact-ico.doc { background: rgba(59,130,246,0.12); color: #60A5FA; }
.contact-name { font-weight: 700; font-size: 15px; }
.contact-detail { font-size: 13px; color: rgba(255,255,255,0.45); }

.widget-wrap { max-width: 100%; overflow: hidden; }
.widget-wrap iframe { width: 100% !important; min-width: 100% !important; }

/* ═══════════════════════════════════════════════════════════════
   MAP
   ═══════════════════════════════════════════════════════════════ */
.ubicacion-section { background: white; }
.map-wrap {
  border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--gray-200); box-shadow: var(--sh-lg);
}
.map-wrap iframe { width: 100%; height: 420px; border: 0; }

/* ═══════════════════════════════════════════════════════════════
   STICKY CTA (mobile)
   ═══════════════════════════════════════════════════════════════ */
.sticky-bottom {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  background: rgba(11,29,58,0.97); backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 10px 16px; padding-bottom: calc(10px + env(safe-area-inset-bottom));
  display: none;
}
.sticky-inner { display: flex; gap: 10px; max-width: 500px; margin: 0 auto; }
.sticky-wa {
  flex: 1.3; display: flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--green); color: white; padding: 14px;
  border-radius: var(--r-md); font-weight: 700; font-size: 14px;
}
.sticky-call {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  background: rgba(255,255,255,0.08); color: white; padding: 14px;
  border-radius: var(--r-md); font-weight: 500; font-size: 14px;
  border: 1px solid rgba(255,255,255,0.12);
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--navy-900); color: rgba(255,255,255,0.5);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}
.footer-brand h3 {
  color: white; font-family: var(--font-display); font-size: 18px;
  font-weight: 400; margin-bottom: 10px;
}
.footer-brand p { font-size: 14px; line-height: 1.6; }
.footer-tech { color: var(--accent); font-size: 13px; margin-top: 12px; font-weight: 500; }
.footer-col h4 {
  color: rgba(255,255,255,0.8); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px;
}
.footer-col a {
  display: block; font-size: 14px; padding: 5px 0;
  color: rgba(255,255,255,0.4); transition: color 0.2s;
}
.footer-col a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 20px; font-size: 13px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,0.35); }
.footer-bottom a:hover { color: white; }

/* ═══════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */
.fade-up { opacity: 0; transform: translateY(24px); transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Stagger children */
.services-grid .svc:nth-child(2) { transition-delay: 0.08s; }
.services-grid .svc:nth-child(3) { transition-delay: 0.16s; }
.services-grid .svc:nth-child(4) { transition-delay: 0.24s; }
.services-grid .svc:nth-child(5) { transition-delay: 0.32s; }
.services-grid .svc:nth-child(6) { transition-delay: 0.40s; }
.why-grid .why-card:nth-child(2) { transition-delay: 0.08s; }
.why-grid .why-card:nth-child(3) { transition-delay: 0.16s; }
.why-grid .why-card:nth-child(4) { transition-delay: 0.24s; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding: 56px 24px 48px; }
  .hero-lead { margin: 0 auto 28px; }
  .trust-row { justify-content: center; }
  .hero-ctas { justify-content: center; }
  .hero-insurance { text-align: center; }
  .hero-portrait { max-width: 400px; margin: 0 auto; }
  .credential-float { left: 50%; transform: translateX(-50%); bottom: -16px; }
  .tech-grid { grid-template-columns: 1fr; }
  .tech-visual { max-width: 500px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .sticky-bottom { display: block; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .citas-grid { grid-template-columns: 1fr; }
  .hosp-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-portrait { max-width: 320px; }
  .proof-inner { gap: 16px; }
  .proof-sep { display: none; }
  body { padding-bottom: 72px; }
  .tech-overlay { position: static; margin-top: 16px; }
}

@media (max-width: 480px) {
  .trust-row { gap: 16px; }
  .trust-divider { display: none; }
  .hero h1 { font-size: 1.9rem; }
  .hero-inner { padding: 40px 20px 36px; }
}

/* ═══════════════════════════════════════════════════════════════
   PRINT
   ═══════════════════════════════════════════════════════════════ */
@media print {
  .nav, .sticky-bottom, .mobile-drawer, .backdrop { display: none !important; }
  .hero { background: var(--navy-900) !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body { padding-bottom: 0; }
}

/* ═══ Floating WhatsApp ═══ */
.wa-float{position:fixed;bottom:24px;right:24px;z-index:900;display:flex;align-items:center;gap:10px;transition:all .3s}
.wa-float-btn{width:56px;height:56px;border-radius:50%;background:#25D366;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 12px rgba(37,211,102,.4);transition:transform .2s,box-shadow .2s}
.wa-float-btn:hover{transform:scale(1.08);box-shadow:0 6px 20px rgba(37,211,102,.5)}
.wa-float-btn svg{width:28px;height:28px;fill:white}
.wa-float-label{background:white;color:#1F2937;font-size:13px;font-weight:600;padding:8px 14px;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.1);white-space:nowrap;opacity:1;transition:opacity .3s}
@media(max-width:768px){.wa-float{bottom:80px}.wa-float-label{display:none}}
