/* ============================================
   VITALIA IPS — Liquid Glass · macOS Golden Gate
   ============================================ */

:root {
  /* Paleta Vitalia */
  --v-blue-50:  #EAF4FF;
  --v-blue-100: #CDE6FF;
  --v-blue-200: #9CD0FF;
  --v-blue-300: #5BC0FF;
  --v-blue-400: #2A8DEB;
  --v-blue-500: #1E5BC6;
  --v-blue-600: #0A3A8C;
  --v-blue-700: #06276B;
  --v-blue-900: #020E33;

  --v-ink:      #0B1530;
  --v-ink-soft: #3A4A75;
  --v-ink-mute: #6B7BA0;
  --v-bg:       #F2F6FF;
  --v-white:    #FFFFFF;

  /* Glass */
  --glass-bg:        rgba(255, 255, 255, 0.55);
  --glass-bg-strong: rgba(255, 255, 255, 0.75);
  --glass-bg-soft:   rgba(255, 255, 255, 0.35);
  --glass-border:    rgba(255, 255, 255, 0.6);
  --glass-shadow:    0 20px 60px -20px rgba(10, 58, 140, 0.25), 0 8px 24px -12px rgba(10, 58, 140, 0.15);

  /* Radii Apple */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 36px;

  /* Easing Apple-like */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  color: var(--v-ink);
  background: var(--v-bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0; }

/* ============================================
   AURORA BACKGROUND (macOS Golden Gate style)
   ============================================ */
.bg-aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(91, 192, 255, 0.25), transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 30%, rgba(173, 216, 255, 0.3), transparent 60%),
    radial-gradient(ellipse 50% 40% at 100% 70%, rgba(199, 222, 255, 0.4), transparent 60%),
    linear-gradient(180deg, #F2F6FF 0%, #E8F0FC 100%);
  overflow: hidden;
}

.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: float 18s ease-in-out infinite;
  will-change: transform;
}
.blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #5BC0FF, transparent 70%);
  top: -10%; left: -10%;
  animation-delay: 0s;
}
.blob-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #1E5BC6, transparent 70%);
  top: 40%; right: -15%;
  animation-delay: -4s;
}
.blob-3 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, #CDE6FF, transparent 70%);
  bottom: -20%; left: 30%;
  animation-delay: -8s;
  opacity: 0.4;
}
.blob-4 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #9CD0FF, transparent 70%);
  top: 20%; left: 50%;
  animation-delay: -12s;
  opacity: 0.4;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(60px, -40px) scale(1.05); }
  66%      { transform: translate(-40px, 50px) scale(0.95); }
}

.aurora-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.6 0 0 0 0 0.9 0 0 0 0.08 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.5;
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* ============================================
   GLASS SYSTEM
   ============================================ */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}
.glass-strong {
  background: var(--glass-bg-strong);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    0 30px 80px -20px rgba(10, 58, 140, 0.3),
    0 10px 30px -10px rgba(10, 58, 140, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.glass-soft {
  background: var(--glass-bg-soft);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 30px -10px rgba(10, 58, 140, 0.15);
}

/* ============================================
   NAVBAR
   ============================================ */
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 32px));
  border-radius: 999px;
  z-index: 100;
  transition: all 0.4s var(--ease-out);
}
.nav.scrolled {
  top: 12px;
  width: min(1080px, calc(100% - 32px));
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 14px 10px 22px;
  border-radius: 999px;
}
.nav-brand { display: flex; align-items: center; }
.nav-logo { height: 38px; width: auto; }
.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav-link {
  position: relative;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--v-ink);
  transition: all 0.25s var(--ease-out);
}
.nav-link:hover {
  background: rgba(91, 192, 255, 0.15);
  color: var(--v-blue-600);
}
.nav-link-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  color: white !important;
  background: linear-gradient(135deg, #0A3A8C 0%, #1E5BC6 100%);
  white-space: nowrap;
  box-shadow: 0 6px 20px -6px rgba(10, 58, 140, 0.4);
  transition: all 0.3s var(--ease-spring);
}
.nav-link-cta:hover {
  background: linear-gradient(135deg, #082F73 0%, #174BA8 100%) !important;
  color: white !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -6px rgba(10, 58, 140, 0.55);
}
.nav-link-cta svg {
  flex-shrink: 0;
}
.nav-pqrs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  color: var(--v-blue-600);
  white-space: nowrap;
  margin-right: 4px;
  transition: all 0.3s var(--ease-spring);
}
.nav-pqrs:hover {
  background: rgba(10, 58, 140, 0.1);
  transform: translateY(-1px);
}
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  border-radius: 999px;
}
.nav-burger span {
  width: 18px; height: 2px;
  background: var(--v-ink);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  transition: all 0.3s var(--ease-spring);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }

.btn-primary {
  background: linear-gradient(180deg, var(--v-blue-500), var(--v-blue-600));
  color: white;
  box-shadow:
    0 10px 30px -8px rgba(10, 58, 140, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 20px 40px -10px rgba(10, 58, 140, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-primary:active { transform: translateY(0) scale(0.98); }

.btn-glass {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--v-blue-600);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 24px -8px rgba(10, 58, 140, 0.2);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: translateY(-2px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 160px 24px 80px;
  max-width: 1280px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
  width: 100%;
}
.hero-content { max-width: 600px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--v-blue-600);
  margin-bottom: 24px;
}
.chip-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--v-blue-400);
  box-shadow: 0 0 12px var(--v-blue-400);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--v-ink);
  margin-bottom: 20px;
  font-weight: 800;
}
.hero-title-accent {
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, var(--v-blue-300), var(--v-blue-600));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.underline {
  position: absolute;
  left: 0; right: 0; bottom: -10px;
  width: 100%; height: 10px;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: draw 1.5s 0.8s var(--ease-out) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-sub {
  font-size: 19px;
  line-height: 1.6;
  color: var(--v-ink-soft);
  margin-bottom: 32px;
  max-width: 540px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 28px;
  border-radius: var(--r-lg);
  width: fit-content;
}
.stat-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--v-blue-600);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 13px;
  color: var(--v-ink-mute);
  margin-top: 4px;
}
.stat-divider {
  width: 1px; height: 36px;
  background: linear-gradient(180deg, transparent, rgba(10, 58, 140, 0.2), transparent);
}

/* Hero visual */
.hero-visual {
  position: relative;
  height: 540px;
}
.hero-orb {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 380px; height: 380px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(91, 192, 255, 0.6), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(30, 91, 198, 0.5), transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(199, 222, 255, 0.4), transparent 60%);
  filter: blur(40px);
  animation: orb 10s ease-in-out infinite;
  z-index: 0;
}
@keyframes orb {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50%      { transform: scale(1.1) rotate(180deg); }
}

.glass-card {
  position: absolute;
  padding: 18px 22px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    0 20px 50px -20px rgba(10, 58, 140, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  z-index: 2;
  min-width: 200px;
  animation: floaty 6s ease-in-out infinite;
}

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

.card-appointment {
  top: 5%;
  right: 40px;
  animation-delay: 0s;
}
.card-result {
  top: 38%;
  left: -30px;
  animation-delay: -2s;
}
.card-heart {
  bottom: 5%;
  right: 60px;
  display: flex;
  align-items: center;
  gap: 14px;
  animation-delay: -4s;
}

.card-row { display: flex; align-items: center; gap: 12px; }
.card-avatar {
  width: 36px; height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--v-blue-300), var(--v-blue-500));
  display: grid; place-items: center;
  color: white;
}
.avatar-2 { background: linear-gradient(135deg, #FF7AB6, #C04A8E); }
.card-title { font-size: 14px; font-weight: 600; color: var(--v-ink); }
.card-sub { font-size: 12px; color: var(--v-ink-mute); }
.card-time {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--v-blue-600);
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(10, 58, 140, 0.08);
}

.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot-green { background: #2DCB76; box-shadow: 0 0 8px rgba(45, 203, 118, 0.5); }
.dot-blue  { background: var(--v-blue-400); box-shadow: 0 0 8px rgba(91, 192, 255, 0.5); }

.bars { display: flex; gap: 4px; align-items: flex-end; height: 40px; margin-top: 12px; }
.bars span {
  display: block;
  width: 8px;
  height: var(--h);
  background: linear-gradient(180deg, var(--v-blue-300), var(--v-blue-500));
  border-radius: 4px;
  animation: bar 2.5s ease-in-out infinite;
}
.bars span:nth-child(2) { animation-delay: 0.2s; }
.bars span:nth-child(3) { animation-delay: 0.4s; }
.bars span:nth-child(4) { animation-delay: 0.6s; }
.bars span:nth-child(5) { animation-delay: 0.8s; }
.bars span:nth-child(6) { animation-delay: 1.0s; }
.bars span:nth-child(7) { animation-delay: 1.2s; }
@keyframes bar { 0%, 100% { transform: scaleY(0.6); } 50% { transform: scaleY(1); } }

.card-big {
  font-size: 28px; font-weight: 800;
  color: var(--v-blue-600);
  line-height: 1;
  margin-top: 4px;
}
.card-big span { font-size: 12px; font-weight: 500; color: var(--v-ink-mute); }

.heart-icon {
  width: 28px; height: 28px;
  color: #FF4D6D;
  animation: heartbeat 1.2s ease-in-out infinite;
}
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.2); } }
.heart-wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #FF4D6D, transparent);
  border-radius: 3px;
  animation: wave 2s linear infinite;
}
@keyframes wave {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 100px 24px;
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--v-blue-500);
  margin-bottom: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(91, 192, 255, 0.15);
  border: 1px solid rgba(91, 192, 255, 0.25);
}
.eyebrow-light {
  color: white;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}
.section-title {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  font-weight: 800;
}
.section-sub {
  font-size: 18px;
  color: var(--v-ink-soft);
  line-height: 1.6;
}

/* ============================================
   SERVICES GRID
   ============================================ */
.grid-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.service {
  padding: 32px;
  border-radius: var(--r-lg);
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.service::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(91, 192, 255, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.service:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -20px rgba(10, 58, 140, 0.3);
}
.service:hover::before { opacity: 1; }
.service-icon {
  width: 56px; height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--v-blue-300), var(--v-blue-500));
  display: grid; place-items: center;
  color: white;
  margin-bottom: 20px;
  box-shadow: 0 10px 20px -5px rgba(10, 58, 140, 0.3);
}
.service-icon svg { width: 28px; height: 28px; }
.service h3 {
  font-size: 22px;
  margin-bottom: 10px;
  position: relative;
}
.service p {
  font-size: 15px;
  color: var(--v-ink-soft);
  line-height: 1.6;
  margin-bottom: 16px;
  position: relative;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--v-blue-600);
  position: relative;
  transition: gap 0.3s var(--ease-out);
}
.service-link:hover { gap: 10px; }

/* ============================================
   ABOUT
   ============================================ */
.section-about {
  padding-top: 60px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-visual {
  position: relative;
  height: 480px;
}
.about-photo {
  position: absolute;
  inset: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: linear-gradient(135deg, #5BC0FF, #0A3A8C);
  box-shadow: 0 30px 80px -20px rgba(10, 58, 140, 0.5);
}
.about-photo-inner {
  position: absolute; inset: 0;
  display: grid; place-items: center;
}
.about-photo-inner svg { width: 80%; height: 80%; opacity: 0.7; }
.about-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  padding: 20px 24px;
  border-radius: var(--r-md);
  text-align: center;
}
.badge-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--v-blue-600);
  line-height: 1;
}
.badge-text {
  font-size: 13px;
  color: var(--v-ink-soft);
  margin-top: 4px;
}

.about-pillars {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}
.pillar {
  padding: 20px 24px;
  border-radius: var(--r-md);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all 0.3s var(--ease-out);
}
.pillar:hover { transform: translateX(6px); }
.pillar-num {
  font-size: 24px;
  font-weight: 800;
  color: var(--v-blue-300);
  line-height: 1;
}
.pillar h4 { font-size: 17px; margin-bottom: 4px; }
.pillar p { font-size: 14px; color: var(--v-ink-soft); }

/* ============================================
   REGLAMENTO CARD (Documento oficial)
   ============================================ */
.reglamento-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  border-radius: var(--r-md);
  margin-top: 24px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(91, 192, 255, 0.25);
}
.reglamento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(91, 192, 255, 0.1), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.reglamento-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -15px rgba(10, 58, 140, 0.3);
  border-color: rgba(91, 192, 255, 0.5);
}
.reglamento-card:hover::before { opacity: 1; }
.reglamento-card:hover .reglamento-action {
  background: linear-gradient(180deg, var(--v-blue-500), var(--v-blue-600));
  color: white;
  transform: translateY(-2px);
}
.reglamento-card:hover .reglamento-action svg { transform: translateY(2px); }

.reglamento-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #FF4D6D, #C72A4F);
  display: grid;
  place-items: center;
  color: white;
  box-shadow: 0 8px 20px -6px rgba(199, 42, 79, 0.4);
  position: relative;
}
.reglamento-text {
  flex: 1;
  min-width: 0;
}
.reglamento-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--v-blue-500);
  margin-bottom: 2px;
}
.reglamento-text h4 {
  font-size: 17px;
  color: var(--v-ink);
  margin-bottom: 4px;
  line-height: 1.2;
}
.reglamento-text p {
  font-size: 13px;
  color: var(--v-ink-soft);
  line-height: 1.4;
  margin-bottom: 8px;
}
.reglamento-text strong { color: var(--v-ink); font-weight: 600; }
.reglamento-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.reglamento-tag {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(10, 58, 140, 0.1);
  color: var(--v-blue-600);
  border-radius: 6px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.04em;
}
.reglamento-size {
  color: var(--v-ink-mute);
  font-size: 12px;
}
.reglamento-action {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(91, 192, 255, 0.15);
  color: var(--v-blue-600);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s var(--ease-out);
}
.reglamento-action svg { transition: transform 0.3s var(--ease-out); }

@media (max-width: 600px) {
  .reglamento-card { flex-wrap: wrap; gap: 14px; padding: 16px 18px; }
  .reglamento-icon { width: 44px; height: 44px; }
  .reglamento-text h4 { font-size: 15px; }
  .reglamento-text p { font-size: 12px; }
  .reglamento-action { width: 100%; justify-content: center; }
}

/* ============================================
   TEAM
   ============================================ */
.team-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 8px 4px 24px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--v-blue-300) transparent;
}
.team-scroll::-webkit-scrollbar { height: 8px; }
.team-scroll::-webkit-scrollbar-track { background: rgba(91, 192, 255, 0.1); border-radius: 4px; }
.team-scroll::-webkit-scrollbar-thumb { background: var(--v-blue-300); border-radius: 4px; }

.team-card {
  flex: 0 0 220px;
  padding: 24px;
  border-radius: var(--r-lg);
  text-align: center;
  scroll-snap-align: start;
  transition: all 0.3s var(--ease-out);
}
.team-card:hover {
  transform: translateY(-6px);
}
.team-photo {
  width: 100px; height: 100px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--tint), var(--v-blue-700));
  display: grid; place-items: center;
  box-shadow: 0 10px 30px -10px var(--tint);
  position: relative;
}
.team-photo::after {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.6), transparent);
  z-index: -1;
}
.team-initial {
  font-size: 32px;
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
}
.team-card h4 { font-size: 19px; margin-bottom: 6px; color: var(--v-ink); }
.team-card p {
  font-size: 13px;
  color: var(--v-ink-soft);
  line-height: 1.55;
  position: relative;
}

/* ============================================
   TECHNOLOGY
   ============================================ */
.section-tech {
  padding-top: 40px;
}
.tech-card {
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--v-blue-600), var(--v-blue-700));
  color: white;
  padding: 60px;
  position: relative;
  overflow: hidden;
}
.tech-card::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 80%; height: 200%;
  background: radial-gradient(circle, rgba(91, 192, 255, 0.3), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
}
.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.tech-text .section-title { color: white; }
.tech-text .section-sub { color: rgba(255, 255, 255, 0.8); }
.tech-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}
.tech-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
}
.tech-feature svg { color: var(--v-blue-300); flex-shrink: 0; }

.tech-mock { perspective: 1000px; }
.mock-window {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.4);
  transform: rotateY(-8deg) rotateX(2deg);
  transition: transform 0.6s var(--ease-out);
}
.tech-mock:hover .mock-window { transform: rotateY(0) rotateX(0); }
.mock-bar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(10, 58, 140, 0.04);
  border-bottom: 1px solid rgba(10, 58, 140, 0.06);
}
.mock-dot { width: 12px; height: 12px; border-radius: 50%; }
.mock-body {
  display: grid;
  grid-template-columns: 100px 1fr;
  min-height: 280px;
}
.mock-side {
  background: rgba(10, 58, 140, 0.04);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mock-line {
  height: 8px;
  border-radius: 4px;
  background: rgba(10, 58, 140, 0.1);
}
.mock-line.active { background: var(--v-blue-500); width: 70%; }
.mock-main { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.mock-card {
  background: rgba(10, 58, 140, 0.04);
  border-radius: 12px;
  padding: 14px;
}
.mock-card-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--v-ink-mute);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.mock-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--v-ink);
  margin-bottom: 6px;
}
.mock-row .dot { flex-shrink: 0; }
.mock-time {
  margin-left: auto;
  font-weight: 600;
  color: var(--v-blue-600);
  font-size: 12px;
}
.mock-bars {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  height: 50px;
}
.mock-bars span {
  display: block;
  width: 12px;
  height: var(--h);
  background: linear-gradient(180deg, var(--v-blue-300), var(--v-blue-500));
  border-radius: 4px;
  animation: bar 2.5s ease-in-out infinite;
}

/* ============================================
   CTA / CONTACT
   ============================================ */
.cta-card {
  border-radius: var(--r-xl);
  padding: 60px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}
.cta-content .section-title { margin-bottom: 12px; }
.cta-form {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field span {
  font-size: 13px;
  font-weight: 600;
  color: var(--v-ink-soft);
}
.form-field input,
.form-field select {
  padding: 14px 18px;
  font-size: 15px;
  font-family: inherit;
  color: var(--v-ink);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(10, 58, 140, 0.12);
  border-radius: 14px;
  transition: all 0.25s var(--ease-out);
  outline: none;
  -webkit-appearance: none;
}
.form-field input::placeholder { color: var(--v-ink-mute); }
.form-field input:focus,
.form-field select:focus {
  border-color: var(--v-blue-400);
  background: white;
  box-shadow: 0 0 0 4px rgba(91, 192, 255, 0.15);
}
.form-ok {
  font-size: 14px;
  font-weight: 500;
  color: var(--v-blue-600);
  text-align: center;
  padding: 12px;
  border-radius: 12px;
  background: rgba(91, 192, 255, 0.12);
}

.cta-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-card {
  padding: 20px 24px;
  border-radius: var(--r-md);
}
.contact-card h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--v-blue-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.contact-card p {
  font-size: 15px;
  color: var(--v-ink);
  font-weight: 500;
  line-height: 1.5;
}
.contact-card--pqrs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(10, 58, 140, 0.92), rgba(30, 91, 198, 0.92));
  color: white;
  padding: 22px 24px;
  border-radius: var(--r-md);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.35s var(--ease-out);
  box-shadow:
    0 10px 30px -10px rgba(10, 58, 140, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.contact-card--pqrs::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(91, 192, 255, 0.25), transparent 60%);
  pointer-events: none;
}
.contact-card--pqrs:hover {
  transform: translateY(-3px);
  box-shadow:
    0 20px 40px -12px rgba(10, 58, 140, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.contact-card--pqrs h4 {
  color: white;
  font-size: 14px;
  margin-bottom: 4px;
  position: relative;
}
.contact-card--pqrs .contact-card-desc {
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  position: relative;
}
.contact-card--pqrs .contact-card-desc strong {
  color: white;
  font-weight: 600;
}
.contact-card--pqrs .contact-icon--pqrs {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}
.contact-card--pqrs .contact-icon--pqrs svg {
  color: white;
}
.contact-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: white;
  text-decoration: underline;
  text-underline-offset: 3px;
  position: relative;
}
.contact-card-cta svg { stroke: white; }

/* ============================================
   PARTICIPACIÓN SOCIAL EN SALUD (PPSS)
   ============================================ */
.section-ppss {
  max-width: 1280px;
  margin: 0 auto;
  padding: 100px 24px 80px;
}
.section-ppss .section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.section-ppss .section-head .section-sub {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(2, 14, 51, 0.7);
}
.ppss-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.ppss-card {
  border-radius: 28px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: transform 0.5s var(--ease-spring), box-shadow 0.4s;
}
.ppss-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px -20px rgba(10, 58, 140, 0.25);
}
.ppss-card-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(10, 58, 140, 0.08);
}
.ppss-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--v-blue-50), var(--v-blue-100, #d4e6ff));
  color: var(--v-blue-700, #0A3A8C);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.ppss-num {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--v-blue-700, #0A3A8C);
  opacity: 0.6;
  margin-bottom: 4px;
}
.ppss-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--v-blue-900, #020E33);
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.ppss-block h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--v-blue-700, #0A3A8C);
  margin: 0 0 8px;
}
.ppss-block p {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(2, 14, 51, 0.78);
  margin: 0;
}
.ppss-block a {
  color: var(--v-blue-700, #0A3A8C);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}
.ppss-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ppss-list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(2, 14, 51, 0.78);
}
.ppss-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--v-blue-500, #1E5BC6), var(--v-blue-700, #0A3A8C));
  box-shadow: 0 0 0 3px rgba(30, 91, 198, 0.15);
}

.ppss-channels {
  border-radius: 24px;
  padding: 32px 32px 28px;
  margin-bottom: 32px;
}
.ppss-channels h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--v-blue-900, #020E33);
  margin: 0 0 6px;
}
.ppss-channels > p {
  font-size: 15px;
  color: rgba(2, 14, 51, 0.65);
  margin: 0 0 22px;
}
.ppss-channels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 28px;
}
.ppss-channel {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.45;
}
.ppss-channel strong {
  display: block;
  color: var(--v-blue-900, #020E33);
  font-weight: 700;
  margin-bottom: 2px;
}
.ppss-channel span,
.ppss-channel a {
  color: rgba(2, 14, 51, 0.7);
  font-size: 13.5px;
}
.ppss-channel a {
  color: var(--v-blue-700, #0A3A8C);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ppss-channel-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(10, 58, 140, 0.08);
  color: var(--v-blue-700, #0A3A8C);
}

.ppss-evidence {
  border-radius: 28px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.ppss-evidence::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(10, 58, 140, 0.08), transparent 60%);
  pointer-events: none;
}
.ppss-evidence-text {
  position: relative;
}
.ppss-evidence-text h3 {
  font-size: 26px;
  font-weight: 700;
  color: var(--v-blue-900, #020E33);
  margin: 12px 0 10px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.ppss-evidence-text p {
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(2, 14, 51, 0.72);
  margin: 0 0 22px;
}
.ppss-evidence-text .btn svg {
  margin-left: 4px;
  vertical-align: -2px;
}
.ppss-evidence-photos {
  display: flex;
  gap: 10px;
  position: relative;
  align-items: flex-start;
  align-self: start;
}
.ppss-evidence-photos img {
  flex: 1 1 0;
  width: 100%;
  min-width: 0;
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 8px 24px -10px rgba(10, 58, 140, 0.3);
  transition: transform 0.4s var(--ease-spring);
}
.ppss-evidence-photos img:nth-child(2) {
  transform: translateY(16px);
}
.ppss-evidence-photos img:hover {
  transform: scale(1.04);
}

@media (max-width: 1024px) {
  .ppss-grid { grid-template-columns: 1fr; }
  .ppss-channels-grid { grid-template-columns: repeat(2, 1fr); }
  .ppss-evidence { grid-template-columns: 1fr; padding: 32px; align-items: start; }
  .ppss-evidence-photos { max-width: 460px; }
}
@media (max-width: 640px) {
  .section-ppss { padding: 60px 20px 60px; }
  .ppss-card { padding: 24px 20px; }
  .ppss-channels { padding: 24px 20px; }
  .ppss-channels-grid { grid-template-columns: 1fr; gap: 14px; }
  .ppss-evidence { padding: 24px 20px; gap: 24px; }
  .ppss-evidence-text h3 { font-size: 22px; }
}

/* ============================================
   ALIADOS (partners logos)
   ============================================ */
.section-aliados {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.section-aliados .section-title {
  text-align: center;
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 12px;
}
.section-aliados .section-sub {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}
.aliados-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}
.aliado-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 36px;
  border-radius: var(--r-lg);
  text-decoration: none;
  transition: all 0.35s var(--ease-out);
  min-height: 140px;
}
.aliado-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 40px -16px rgba(10, 58, 140, 0.25);
}
.aliado-card img {
  max-width: 100%;
  max-height: 90px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: saturate(1.05);
  transition: filter 0.3s;
}
.aliado-card:hover img {
  filter: saturate(1.2);
}
@media (max-width: 640px) {
  .aliados-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .aliado-card {
    min-height: 110px;
    padding: 20px 24px;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  margin-top: 60px;
  background: linear-gradient(180deg, transparent, rgba(10, 58, 140, 0.04));
  border-top: 1px solid rgba(10, 58, 140, 0.08);
  padding: 60px 24px 30px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  margin-bottom: 40px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--v-ink-soft);
  margin-top: 16px;
  max-width: 320px;
  line-height: 1.6;
}
.footer-logo { height: 44px; width: auto; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-cols h5 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--v-blue-600);
  margin-bottom: 16px;
}
.footer-cols li { margin-bottom: 8px; }
.footer-cols a {
  font-size: 14px;
  color: var(--v-ink-soft);
  transition: color 0.2s;
}
.footer-cols a:hover { color: var(--v-blue-600); }
.footer-pqrs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  color: var(--v-blue-600) !important;
  background: rgba(10, 58, 140, 0.08);
  padding: 6px 12px;
  border-radius: 999px;
  transition: all 0.25s;
}
.footer-pqrs:hover {
  background: rgba(10, 58, 140, 0.15);
  transform: translateY(-1px);
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  color: white;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
  box-shadow: 0 4px 14px -4px rgba(0, 0, 0, 0.15);
}
.social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.25);
}
.social-link svg {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.2);
  padding: 6px;
  border-radius: 999px;
  width: 32px;
  height: 32px;
}
.social-link--instagram {
  background: linear-gradient(45deg, #F58529 0%, #DD2A7B 50%, #8134AF 100%);
}
.social-link--facebook {
  background: #1877F2;
}
.social-handle {
  letter-spacing: 0.01em;
}
@media (max-width: 480px) {
  .social-handle { display: none; }
  .social-link { padding: 6px; }
  .social-link svg { width: 28px; height: 28px; padding: 4px; }
}
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(10, 58, 140, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--v-ink-mute);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.credit-name {
  font-weight: 600;
  color: var(--v-blue-600);
  position: relative;
  background: linear-gradient(90deg, var(--v-blue-500), var(--v-blue-600));
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.4s var(--ease-out);
}
.credit-name:hover { background-size: 100% 1px; }
.credit-icon {
  width: 14px; height: 14px;
  color: var(--v-blue-500);
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}
.credit-icon[fill="currentColor"] {
  color: #FF4D6D;
  animation: heartbeat 1.4s ease-in-out infinite;
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 420px; }
  .hero-orb { width: 300px; height: 300px; }
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-visual { height: 360px; }
  .tech-grid, .cta-card { grid-template-columns: 1fr; gap: 40px; }
  .tech-card, .cta-card { padding: 40px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav { top: 12px; }
  .nav-inner { padding: 8px 8px 8px 16px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-burger.open span:nth-child(2) { opacity: 0; }
  .nav-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  /* Cuando el menú mobile está abierto, el Contacto se muestra como pill dentro del dropdown */
  .nav-link-cta {
    align-self: stretch;
    justify-content: center;
    margin-top: 6px;
    padding: 12px 18px;
  }

  .hero { padding: 120px 20px 60px; }
  .hero-title { font-size: clamp(34px, 8vw, 48px); }
  .hero-sub { font-size: 16px; }
  .hero-stats { gap: 16px; padding: 16px 20px; }
  .stat-num { font-size: 24px; }
  .stat-label { font-size: 11px; }
  .stat-divider { display: none; }
  .hero-visual { height: 380px; }
  .glass-card { padding: 14px 16px; min-width: 160px; }
  .card-title { font-size: 12px; }
  .card-sub { font-size: 11px; }
  .card-big { font-size: 20px; }

  .section { padding: 60px 20px; }
  .section-title { font-size: clamp(28px, 6vw, 36px); }
  .section-sub { font-size: 16px; }
  .service { padding: 24px; }
  .tech-features { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .mock-body { grid-template-columns: 80px 1fr; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .hero-visual { height: 320px; }
  .glass-card { padding: 12px 14px; min-width: 140px; }
  .footer-cols { grid-template-columns: 1fr; }
}

/* ============================================
   HERO IMAGE (real doctor photo)
   ============================================ */
.hero-image-frame {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 340px;
  height: 460px;
  border-radius: var(--r-xl);
  overflow: hidden;
  padding: 8px;
  z-index: 1;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--glass-shadow);
  animation: floaty 8s ease-in-out infinite;
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: calc(var(--r-xl) - 8px);
}

/* ============================================
   ABOUT PHOTO (real team photo)
   ============================================ */
.about-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-xl);
}

/* ============================================
   TEAM GRID (6 specialty cards)
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.team-card {
  padding: 32px 24px;
  border-radius: var(--r-lg);
  text-align: center;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.team-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(91, 192, 255, 0.08), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -20px rgba(10, 58, 140, 0.3);
}
.team-card:hover::before { opacity: 1; }
.team-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--tint), var(--v-blue-700));
  display: grid; place-items: center;
  color: white;
  box-shadow: 0 12px 24px -8px var(--tint);
  position: relative;
}
.team-icon svg { width: 32px; height: 32px; }
.team-card h4 {
  font-size: 19px;
  margin-bottom: 6px;
  color: var(--v-ink);
  position: relative;
}
.team-card p {
  font-size: 12px;
  color: var(--v-ink-soft);
  line-height: 1.5;
  display: block;
  line-height: 1.5;
  position: relative;
}

/* ============================================
   INSTALACIONES (facilities gallery)
   ============================================ */
.install-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
.install-card {
  grid-column: span 2;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  transition: all 0.4s var(--ease-out);
}
.install-card--wide {
  grid-column: span 3;
}
.install-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -20px rgba(10, 58, 140, 0.35);
}
.install-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out);
}
.install-card:hover img { transform: scale(1.05); }
.install-caption {
  padding: 20px 24px;
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.5), rgba(255,255,255,0.85));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.install-caption h4 {
  font-size: 18px;
  margin-bottom: 4px;
  color: var(--v-ink);
}
.install-caption p {
  font-size: 13px;
  color: var(--v-ink-soft);
}

/* ============================================
   COMUNIDAD / PPSS section
   ============================================ */
.community-card {
  border-radius: var(--r-xl);
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 0;
  overflow: hidden;
  align-items: stretch;
}
.community-photo {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}
.community-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.community-text {
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.community-text h3 {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--v-ink);
}
.community-text p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--v-ink-soft);
}
.community-text a {
  color: var(--v-blue-600);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(91, 192, 255, 0.4);
  text-underline-offset: 3px;
}
.community-text .btn {
  align-self: flex-start;
  margin-top: 8px;
}

/* ============================================
   CONTACT ICONS
   ============================================ */
.contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--v-blue-300), var(--v-blue-500));
  display: grid;
  place-items: center;
  color: white;
  margin-bottom: 12px;
  box-shadow: 0 6px 16px -6px rgba(10, 58, 140, 0.4);
}

/* ============================================
   FOOTER CONTACT
   ============================================ */
.footer-contact li {
  color: var(--v-ink-soft);
  font-size: 14px;
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
:focus-visible {
  outline: 2px solid var(--v-blue-400);
  outline-offset: 3px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .aurora-blob { animation: none; }
}

/* ============================================
   RESPONSIVE (additions for new sections)
   ============================================ */
@media (max-width: 1024px) {
  .hero-image-frame {
    width: 300px;
    height: 400px;
  }
  .card-appointment { right: 20px; }
  .card-result { left: -10px; }
  .card-heart { right: 30px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .install-grid { grid-template-columns: 1fr; }
  .community-card { grid-template-columns: 1fr; }
  .community-photo { min-height: 280px; }
  .community-text { padding: 40px 36px; }
}

@media (max-width: 768px) {
  .hero-image-frame {
    width: 240px;
    height: 320px;
    right: 50%;
    top: auto;
    bottom: -40px;
    transform: translateX(50%);
  }
  .hero-visual { height: 480px; }
  .card-appointment { top: 0; right: 0; left: auto; }
  .card-result { top: 0; left: 0; right: auto; }
  .card-heart { bottom: 0; right: 0; left: auto; }
  .team-grid { grid-template-columns: 1fr; gap: 16px; }
  .install-card img { height: 220px; }
  .community-photo { min-height: 220px; }
  .community-text { padding: 32px 24px; }
}

@media (max-width: 480px) {
  .hero-image-frame { width: 200px; height: 270px; }
  .hero-visual { height: 420px; }
}
