/* ═══════════════════════════════════════════════════
   LONGEVICLINICS — WEBSITE STYLES
   Brand: Orange #ff993f | Gold #feba66 | Pink #ffaaa7
   Cream #fff3eb | Black #000000
══════════════════════════════════════════════════ */

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

html {
  background: #050505;
}

:root {
  --orange:   #ff993f;
  --gold:     #feba66;
  --pink:     #ffaaa7;
  --cream:    #fff3eb;
  --dark-cream:#fff8f3;
  --black:    #000000;
  --dark:     #0a0a0a;
  --dark-card:#131313;
  --dark-card2:#1c1c1c;
  --text:     #1a1a1a;
  --subtext:  #666666;
  --border:   rgba(255,153,63,0.15);
  --border-dark: rgba(255,153,63,0.25);
  --shadow:   0 4px 32px rgba(0,0,0,0.08);
  --shadow-lg:0 8px 60px rgba(0,0,0,0.12);
  --radius:   20px;
  --radius-sm:12px;
  --radius-lg:32px;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-display: 'Outfit', 'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }

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

/* ─── GRADIENTS ─── */
.gradient-text {
  background: linear-gradient(135deg, var(--orange), var(--gold), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-right: 0.15em; /* Prevents text clipping on Webkit background-clip */
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--orange), var(--gold));
  color: white;
  border-radius: 99px;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(255,153,63,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,153,63,0.5);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: rgba(255,153,63,0.08);
  color: var(--orange);
  border-radius: 99px;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid var(--border);
  transition: all 0.3s ease;
}
.btn-ghost:hover {
  background: rgba(255,153,63,0.15);
  border-color: var(--orange);
  transform: translateY(-2px);
}

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: all 0.4s ease;
}
.navbar.scrolled {
  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,153,63,0.15);
  box-shadow: 0 4px 40px rgba(0,0,0,0.3);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 20px;
  white-space: nowrap;
}
.brand-longevi {
  color: white;
  font-weight: 800; /* Original heavy weight */
}
.brand-clinics {
  color: var(--gold);
  font-weight: 300; /* Original light weight */
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}
.nav-link {
  padding: 8px 12px;
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  font-weight: 500;
  border-radius: 99px;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-link:hover { color: white; background: rgba(255,255,255,0.08); }
.nav-cta-btn {
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--orange), var(--gold));
  color: white;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 700;
  margin-left: 6px;
  transition: all 0.3s;
  box-shadow: 0 2px 12px rgba(255,153,63,0.4);
  white-space: nowrap;
}
.nav-cta-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(255,153,63,0.5); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─── SECTION DEFAULTS ─── */
.section {
  padding: 100px 0;
}
.section-dark {
  background: var(--dark);
  color: white;
}
.section-cream {
  background: var(--dark-cream);
}
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
}
.section-dark .section-title { color: white; }
.section-subtitle {
  font-size: 18px;
  color: var(--subtext);
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 60px;
}
.section-dark .section-subtitle { color: rgba(255,255,255,0.6); }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 130px 24px 80px;
  display: flex;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.hero-bg-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: float 8s ease-in-out infinite;
}
.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,153,63,0.15) 0%, transparent 70%);
  top: -100px; left: -100px;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(254,186,102,0.1) 0%, transparent 70%);
  top: 50%; right: -80px;
  animation-delay: -3s;
}
.orb-3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(255,170,167,0.08) 0%, transparent 70%);
  bottom: -80px; left: 40%;
  animation-delay: -5s;
}
@keyframes float {
  0%, 100% { transform: translate(0,0); }
  33% { transform: translate(20px, -20px); }
  66% { transform: translate(-15px, 15px); }
}

.hero-content {
  flex: 1;
  max-width: 560px;
  min-width: 0;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255,153,63,0.1);
  border: 1px solid rgba(255,153,63,0.3);
  border-radius: 99px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 28px;
}
.badge-dot {
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: -2.5px;
  line-height: 1.0;
  color: white;
  margin-bottom: 24px;
}
.hero-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 40px;
}
.hero-subtitle strong { color: var(--gold); font-weight: 700; }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.hero-stat-row {
  display: flex;
  align-items: baseline;
  gap: 2px;
  line-height: 1;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  color: var(--orange);
  letter-spacing: -1px;
  line-height: 1;
}
.stat-plus, .stat-pct { font-size: 20px; color: var(--gold); font-weight: 700; line-height: 1; }
.stat-label { font-size: 12px; color: rgba(255,255,255,0.5); font-weight: 500; margin-top: 4px; display: block; }
.hero-stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.1); flex-shrink: 0; }

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

.hero-visual {
  flex: 1;
  max-width: 520px;
  position: relative;
  z-index: 1;
}
.hero-img-wrapper {
  position: relative;
}
.hero-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 80px rgba(0,0,0,0.5);
}

.hero-floating-card {
  position: absolute;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatCard 4s ease-in-out infinite;
}
.card-1 { top: 5%; left: -5%; animation-delay: 0s; }
.card-2 { bottom: 20%; left: -8%; animation-delay: -2s; }
.card-3 { top: 30%; right: -8%; animation-delay: -1s; }
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.fc-icon { font-size: 24px; }
.fc-info { display: flex; flex-direction: column; gap: 2px; }
.fc-title { font-size: 13px; font-weight: 700; color: white; }
.fc-sub { font-size: 11px; color: rgba(255,255,255,0.5); }
.fc-optimal { color: #34C759; }
.fc-score {
  font-size: 28px;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}

/* ─── PROBLEM ─── */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 48px;
}
.problem-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 32px;
}
.problem-card-solution {
  background: rgba(255,153,63,0.05);
  border-color: rgba(255,153,63,0.2);
}
.problem-card-vs {
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.problem-vs-label {
  font-size: 20px;
  font-weight: 900;
  color: rgba(255,255,255,0.2);
  letter-spacing: 2px;
}
.problem-icon { font-size: 40px; margin-bottom: 16px; }
.problem-card h3 { font-size: 20px; font-weight: 700; color: white; margin-bottom: 12px; }
.problem-card p { color: rgba(255,255,255,0.6); font-size: 15px; line-height: 1.6; }

.problem-points {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 16px 20px;
}
.problem-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255,255,255,0.7);
  font-size: 15px;
}
.problem-point.reactiva {
  grid-column: 1;
}
.problem-point.predictiva {
  grid-column: 3;
}
.pp-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}
.pp-icon.bad { background: rgba(255,59,48,0.15); color: #FF3B30; }
.pp-icon.good { background: rgba(52,199,89,0.15); color: #34C759; }

/* ─── MISSION & VISION ─── */
.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 24px;
  margin-top: 60px;
}
.mv-card {
  border-radius: var(--radius);
  padding: 36px;
  border: 1.5px solid var(--border);
}
.mv-card-mission { background: linear-gradient(135deg, rgba(255,153,63,0.06) 0%, rgba(254,186,102,0.03) 100%); }
.mv-card-vision  { background: linear-gradient(135deg, rgba(254,186,102,0.06) 0%, rgba(255,170,167,0.03) 100%); }
.mv-card-values  { background: linear-gradient(135deg, rgba(255,170,167,0.06) 0%, rgba(255,153,63,0.03) 100%); }
.mv-icon { font-size: 48px; margin-bottom: 20px; }
.mv-title { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--text); margin-bottom: 16px; }
.mv-text { font-size: 15px; color: var(--subtext); line-height: 1.7; }
.mv-values-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.mv-values-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--subtext);
  font-weight: 500;
}
.mv-values-list li span { font-size: 18px; }

/* ─── STEPS ─── */
.steps-container {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 800px;
  margin: 60px auto 0;
}
.step {
  display: grid;
  grid-template-columns: 64px 40px 1fr;
  gap: 0;
  align-items: start;
  position: relative;
}
.step-number {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: 1px;
  padding-top: 4px;
}
.step-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 4px;
}
.step-connector::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}
.step-connector::after {
  content: '';
  width: 2px;
  background: linear-gradient(to bottom, var(--orange), rgba(255,153,63,0.1));
  flex: 1;
  margin-top: 6px;
  height: 80px;
}
.step-connector.hide-last::after { display: none; }
.step-content {
  padding: 0 0 48px 20px;
}
.step-icon { font-size: 24px; margin-right: 8px; vertical-align: middle; }
.step-content h3 { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.step-content p { font-size: 15px; color: var(--subtext); line-height: 1.7; }

/* ─── SERVICES ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.service-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  transition: all 0.3s ease;
}
.service-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(255,153,63,0.1);
}
.service-featured {
  background: linear-gradient(135deg, rgba(255,153,63,0.04) 0%, white 100%);
  border-color: rgba(255,153,63,0.3);
}
.service-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: linear-gradient(135deg, var(--orange), var(--gold));
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 99px;
  letter-spacing: 0.5px;
}
.service-icon { font-size: 40px; margin-bottom: 16px; }
.service-card h3 { font-size: 20px; font-weight: 800; color: var(--text); margin-bottom: 12px; }
.service-card > p { font-size: 14px; color: var(--subtext); line-height: 1.6; margin-bottom: 20px; }
.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.service-features li {
  font-size: 13px;
  color: var(--subtext);
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-service {
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
  transition: gap 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.btn-service:hover { gap: 8px; }

/* ─── PLANS ─── */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
  margin-bottom: 32px;
}
.plan-card {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}
.plan-card:hover {
  border-color: rgba(255,153,63,0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.plan-featured {
  border-color: rgba(255,153,63,0.4);
  background: linear-gradient(160deg, rgba(255,153,63,0.08) 0%, var(--dark-card) 50%);
}
.plan-popular-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--orange), var(--gold));
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 0 0 12px 12px;
}
.plan-header {
  padding: 32px 28px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.plan-tier {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--orange);
  margin-bottom: 8px;
}
.plan-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
}
.plan-price-wrap { display: flex; align-items: baseline; gap: 6px; margin-bottom: 12px; }
.plan-price {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 900;
  color: var(--orange);
  letter-spacing: -1px;
}
.plan-period { font-size: 14px; color: rgba(255,255,255,0.4); font-weight: 500; }
.plan-desc { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.6; }
.plan-body { padding: 24px 28px; flex: 1; }
.plan-highlights {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 20px;
}
.plan-bm-count {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  color: white;
  letter-spacing: -2px;
}
.plan-bm-label { font-size: 14px; color: rgba(255,255,255,0.4); font-weight: 500; }
.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}
.pf-check { color: #34C759; font-weight: 700; flex-shrink: 0; }
.plan-footer { padding: 24px 28px; }
.btn-plan {
  width: 100%;
  padding: 14px;
  background: rgba(255,153,63,0.1);
  border: 1.5px solid rgba(255,153,63,0.3);
  color: var(--orange);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  transition: all 0.3s;
}
.btn-plan:hover {
  background: rgba(255,153,63,0.2);
  border-color: var(--orange);
  transform: translateY(-1px);
}
.btn-plan-featured {
  background: linear-gradient(135deg, var(--orange), var(--gold));
  border: none;
  color: white;
  box-shadow: 0 4px 20px rgba(255,153,63,0.35);
}
.btn-plan-featured:hover {
  box-shadow: 0 8px 30px rgba(255,153,63,0.5);
  background: linear-gradient(135deg, #ff8a2e, #ffb24f);
}

.subscription-banner {
  background: rgba(255,153,63,0.06);
  border: 1.5px solid rgba(255,153,63,0.2);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.sub-info { display: flex; align-items: center; gap: 20px; }
.sub-icon { font-size: 48px; }
.sub-info h3 { font-size: 20px; font-weight: 800; color: white; margin-bottom: 6px; }
.sub-info p { font-size: 14px; color: rgba(255,255,255,0.5); }
.sub-price-action { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.sub-price { display: flex; flex-direction: column; align-items: flex-end; }
.sub-price span:first-child {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  color: var(--orange);
}
.sub-period { font-size: 13px; color: rgba(255,255,255,0.4); }
.btn-sub { min-width: 140px; }

/* ─── BIOMARCADORES ─── */
.bm-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 48px 0 32px;
}
.bm-tab {
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  color: var(--subtext);
  background: white;
  border: 1.5px solid var(--border);
  transition: all 0.2s;
}
.bm-tab:hover { border-color: var(--orange); color: var(--orange); }
.bm-tab.active {
  background: var(--orange);
  color: white;
  border-color: var(--orange);
}

.systems-overview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}
.sys-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  cursor: pointer;
  transition: all 0.2s;
}
.sys-card:hover { border-color: var(--orange); transform: translateY(-2px); box-shadow: 0 4px 20px rgba(255,153,63,0.1); }
.sys-card.active { border-color: var(--orange); background: rgba(255,153,63,0.04); }
.sys-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.sys-icon { font-size: 24px; }
.sys-count {
  font-size: 11px;
  font-weight: 700;
  color: var(--orange);
  background: rgba(255,153,63,0.1);
  padding: 2px 8px;
  border-radius: 99px;
}
.sys-name { font-size: 13px; font-weight: 700; color: var(--text); }

.bm-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  margin-bottom: 48px;
}
.bm-row {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s;
}
.bm-row:hover { border-color: var(--orange); box-shadow: 0 4px 16px rgba(255,153,63,0.1); }
.bm-stripe { width: 4px; height: 36px; border-radius: 2px; flex-shrink: 0; }
.bm-info { flex: 1; min-width: 0; }
.bm-name { font-size: 14px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bm-system { font-size: 11px; color: var(--subtext); font-weight: 500; }
.bm-method {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  flex-shrink: 0;
}
.method-sangre { background: rgba(255,59,48,0.08); color: #FF3B30; }
.method-orina  { background: rgba(255,204,0,0.1); color: #B8860B; }
.method-saliva { background: rgba(52,199,89,0.08); color: #28A745; }
.method-digital { background: rgba(88,86,214,0.08); color: #5856D6; }
.method-imagen { background: rgba(255,149,0,0.08); color: #FF9500; }

.bm-cta { text-align: center; }
.bm-cta p { font-size: 16px; color: var(--subtext); margin-bottom: 20px; }

/* ─── CHECKOUT ─── */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  margin-top: 60px;
  align-items: start;
}
.checkout-plan-selector h3,
.checkout-payment-methods h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
}
.checkout-payment-methods { margin-top: 40px; }
.checkout-plan-options { display: flex; flex-direction: column; gap: 12px; }
.checkout-plan-opt { cursor: pointer; }
.checkout-plan-opt input { display: none; }
.co-plan-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.checkout-plan-opt input:checked + .co-plan-content {
  border-color: var(--orange);
  background: rgba(255,153,63,0.04);
}
.co-plan-info { display: flex; flex-direction: column; gap: 4px; }
.co-plan-name { font-size: 14px; font-weight: 700; color: var(--text); }
.co-plan-bm { font-size: 12px; color: var(--subtext); }
.co-plan-price { font-size: 18px; font-weight: 800; color: var(--orange); }

.payment-options { display: flex; flex-direction: column; gap: 12px; }
.payment-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  width: 100%;
  text-align: left;
  transition: all 0.2s;
}
.payment-btn:hover { border-color: var(--orange); box-shadow: 0 4px 20px rgba(255,153,63,0.1); }
.payment-btn-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.payment-btn-info { flex: 1; }
.payment-btn-title { display: block; font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.payment-btn-desc { display: block; font-size: 12px; color: var(--subtext); line-height: 1.5; }
.payment-btn-arrow { font-size: 18px; color: var(--subtext); }

.checkout-summary { position: sticky; top: 96px; }
.cs-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.cs-card h3 { font-size: 16px; font-weight: 800; color: var(--subtext); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 20px; font-size: 12px; }
.cs-item { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.cs-item-icon { font-size: 32px; }
.cs-item-info { display: flex; flex-direction: column; gap: 4px; }
.cs-item-name { font-size: 16px; font-weight: 800; color: var(--text); }
.cs-item-type { font-size: 12px; color: var(--subtext); }
.cs-divider { height: 1px; background: var(--border); margin-bottom: 16px; }
.cs-price-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; font-size: 15px; font-weight: 600; color: var(--text); }
.cs-total { font-size: 28px; font-weight: 900; color: var(--orange); }
.cs-includes { display: flex; flex-direction: column; gap: 8px; }
.cs-include-item { font-size: 13px; color: var(--subtext); display: flex; gap: 8px; align-items: center; }
.cs-include-item span { color: #34C759; font-weight: 700; }
.cs-contact {
  background: rgba(255,153,63,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
  margin-top: 16px;
}
.cs-contact p { font-size: 13px; color: var(--subtext); margin-bottom: 12px; }
.cs-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #25D366;
  color: white;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s;
}
.cs-wa-btn:hover { background: #1db954; transform: translateY(-1px); }

/* ─── FAQ ─── */
.faq-container {
  max-width: 800px;
  margin: 60px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: rgba(255,153,63,0.3); }
.faq-q {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: white;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--gold); }
.faq-icon {
  font-size: 22px;
  color: var(--orange);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p { font-size: 15px; color: rgba(255,255,255,0.6); line-height: 1.7; padding: 0 24px 20px; margin: 0; }

/* ─── FOOTER ─── */
.footer {
  background: #050505;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 60px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
}
.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  text-decoration: none;
  width: fit-content;
}
.footer-logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}
.footer-logo-text {
  font-family: var(--font-display);
  font-size: 22px;
  white-space: nowrap;
}
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.7; margin-bottom: 24px; }
.footer-social { display: flex; gap: 12px; }
.social-link {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: all 0.2s;
}
.social-link:hover { background: rgba(255,153,63,0.1); border-color: rgba(255,153,63,0.3); color: var(--orange); }
.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.footer-col h4 { font-size: 13px; font-weight: 700; color: white; margin-bottom: 16px; letter-spacing: 0.5px; }
.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.3); }
.footer-disclaimer { font-size: 12px; }

/* ─── MODAL ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-box {
  background: #1c1c1c;
  border: 1px solid rgba(255,153,63,0.2);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s;
}
.modal-overlay.active .modal-box { transform: scale(1); }
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  color: white;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.modal-close:hover { background: rgba(255,255,255,0.15); }
.modal-icon { font-size: 64px; margin-bottom: 20px; }
.modal-box h3 { font-size: 24px; font-weight: 800; color: white; margin-bottom: 12px; }
.modal-box p { font-size: 15px; color: rgba(255,255,255,0.6); line-height: 1.6; margin-bottom: 24px; }
.modal-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255,153,63,0.2);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 20px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.modal-note { font-size: 13px; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.modal-wa-btn { display: inline-flex; }

/* ─── ANIMATIONS ─── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hero { flex-direction: column; min-height: auto; padding-top: 100px; }
  .hero-inner { flex-direction: column; padding-top: 100px; }
  .hero-visual { max-width: 100%; }
  .mission-vision-grid { grid-template-columns: 1fr 1fr; }
  .mv-card-values { grid-column: span 2; }
  .plans-grid { grid-template-columns: 1fr 1fr; }
  .plan-card:last-child { grid-column: span 2; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: fixed; top: 72px; left: 0; right: 0; background: rgba(0,0,0,0.97); padding: 24px; gap: 8px; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .section { padding: 70px 0; }
  .hero { padding: 100px 24px 60px; }
  .hero-floating-card { display: none; }
  .problem-grid { grid-template-columns: 1fr; }
  .problem-card-vs { display: none; }
  .mission-vision-grid { grid-template-columns: 1fr; }
  .mv-card-values { grid-column: auto; }
  .services-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
  .plan-card:last-child { grid-column: auto; }
  .footer-main { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .subscription-banner { flex-direction: column; }
  .sub-price-action { width: 100%; justify-content: space-between; }
  .problem-points { grid-template-columns: 1fr; }
  .problem-point.reactiva, .problem-point.predictiva { grid-column: auto; }
}

@media (max-width: 480px) {
  .hero-stats { gap: 16px; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-ghost { justify-content: center; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .bm-list { grid-template-columns: 1fr; }
}
