/* =============================================
   VARIABLES Y RESET
   ============================================= */
:root {
  --navy:       #061020;
  --navy-mid:   #0a2540;
  --navy-soft:  #1f3a60;
  --gold:       #c9a96e;
  --gold-light: #e8d5b0;
  --white:      #ffffff;
  --off-white:  #f8f7f4;
  --slate:      #64748b;
  --border:     #e5e7eb;
  --success:    #16a34a;
  --error:      #dc2626;

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-lg: 0 24px 64px -12px rgba(6, 16, 32, 0.18);
  --shadow-xl: 0 40px 100px -20px rgba(6, 16, 32, 0.25);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--navy);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

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

/* =============================================
   TOPBAR
   ============================================= */
.topbar {
  position: sticky;
  top: 0;
  z-index: 200;
  height: 72px;
  display: flex;
  align-items: center;
  background: rgba(6, 16, 32, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 169, 110, 0.15);
  transition: background 0.3s;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--white);
  letter-spacing: -0.5px;
  transition: color 0.25s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo span { color: var(--gold); }
.logo:hover { color: var(--gold-light); }

nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

nav a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  transition: all 0.2s;
  letter-spacing: 0.01em;
}
nav a:hover { color: var(--white); background: rgba(255,255,255,0.07); }

nav a.btn-nav {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  padding: 0.55rem 1.2rem;
  border-radius: 8px;
  margin-left: 0.5rem;
  transition: all 0.25s var(--ease-out);
}
nav a.btn-nav:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,169,110,0.35);
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  background: transparent;
  border: none;
  transition: background 0.2s;
}
.hamburger:hover { background: rgba(255,255,255,0.1); }
.hamburger span {
  width: 24px; height: 2px;
  background: white; border-radius: 2px;
  transition: all 0.3s var(--ease-out);
  display: block;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(6,16,32,0.88) 0%,
    rgba(10,37,64,0.75) 60%,
    rgba(6,16,32,0.65) 100%
  );
  z-index: 1;
}

/* Grain texture overlay — efecto premium */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 820px;
  padding: 0 2rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(201,169,110,0.15);
  border: 1px solid rgba(201,169,110,0.35);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
  animation: fadeSlideDown 0.7s var(--ease-out) both;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s ease infinite;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.08;
  color: var(--white);
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
  animation: fadeSlideUp 0.8s var(--ease-out) 0.15s both;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.72);
  font-weight: 300;
  min-height: 32px;
  animation: fadeSlideUp 0.8s var(--ease-out) 0.3s both;
}

/* Busca .hero-actions y añade un margen inferior de seguridad */
.hero-actions {
  margin-top: 2.5rem;
  margin-bottom: 8rem; /* Añadimos este margen para que nunca toque las stats */
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.8s var(--ease-out) 0.45s both;
}

.btn-cta {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.95rem 2rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-cta:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(201,169,110,0.4);
  color: var(--navy);
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.95rem 2rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.25);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
  color: white;
}

/* Modifica .hero-stats para asegurar que no se coma el contenido */
.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  z-index: 3;
  background: rgba(6,16,32,0.85); /* Un poco más opaco para que se lea mejor */
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
}

.hero-stats .container {
  display: flex;
  justify-content: center;
  gap: 0;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 0 2rem;
  border-right: 1px solid rgba(255,255,255,0.08);
  max-width: 220px;
}
.stat-item:last-child { border-right: none; }

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* =============================================
   KEYFRAMES GLOBALES
   ============================================= */
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   SECCIONES BASE
   ============================================= */
.section { padding: 7rem 0; }
.section-alt { background: var(--off-white); }

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  color: var(--navy);
  letter-spacing: -0.5px;
  margin-bottom: 1.25rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--slate);
  max-width: 580px;
  font-weight: 300;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-header .section-sub { margin: 0 auto; }

/* =============================================
   SERVICIOS
   ============================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy-mid), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  text-decoration: none;
}

.service-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-soft));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.3s;
}
.service-card:hover .service-icon { transform: scale(1.1) rotate(-3deg); }

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
}
.service-card p {
  font-size: 0.92rem;
  color: var(--slate);
  line-height: 1.65;
  flex: 1;
}
.service-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-mid);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.2s, color 0.2s;
}
.service-card:hover .service-link { gap: 0.6rem; color: var(--gold); }

/* =============================================
   TRUST / AUTORIDAD
   ============================================= */
.trust-section {
  background: var(--navy);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
.trust-section::before {
  content: '';
  position: absolute;
  top: -60%; right: -10%;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,110,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.trust-top {
  text-align: center;
  margin-bottom: 4rem;
}
.trust-top .section-title { color: var(--white); }
.trust-top .section-sub { color: rgba(255,255,255,0.5); margin: 0 auto; }

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 4rem;
}
.logo-strip img {
  height: 30px;
  filter: brightness(0) invert(1);
  opacity: 0.3;
  transition: all 0.3s;
}
.logo-strip img:hover { opacity: 0.9; transform: scale(1.08); }

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.metric-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  transition: all 0.35s var(--ease-out);
}
.metric-card:hover {
  background: rgba(255,255,255,0.07);
  transform: translateY(-6px);
}
.metric-num {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.metric-num.gold  { color: var(--gold); }
.metric-num.blue  { color: #60a5fa; }
.metric-num.green { color: #34d399; }
.metric-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.metric-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
}

/* =============================================
   BANNER DIAGNÓSTICO
   ============================================= */
.diag-section {
  background: linear-gradient(135deg, var(--navy-mid) 0%, #0d3060 100%);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.diag-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.diag-section .container { position: relative; z-index: 1; }
.diag-section .section-title { color: var(--white); }
.diag-section p {
  color: rgba(255,255,255,0.65);
  font-size: 1.1rem;
  font-weight: 300;
  max-width: 620px;
  margin: 1.25rem auto 2.5rem;
  line-height: 1.7;
}
.diag-checklist {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.diag-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8);
  font-size: 0.83rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 100px;
}
.diag-pill::before { content: '\2022'; color: var(--gold); font-weight: 700; }

/* =============================================
   METODOLOGÍA
   ============================================= */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  counter-reset: steps;
}
.timeline-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  position: relative;
  counter-increment: steps;
  transition: all 0.3s var(--ease-out);
}
.timeline-step:hover {
  border-color: var(--navy-mid);
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}
.timeline-step::before {
  content: counter(steps, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--gold);
  opacity: 0.25;
  display: block;
  margin-bottom: 0.75rem;
  line-height: 1;
}
.timeline-step h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.timeline-step p {
  font-size: 0.88rem;
  color: var(--slate);
  line-height: 1.6;
}

/* =============================================
   PLANES
   ============================================= */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.plan-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  transition: all 0.35s var(--ease-out);
  position: relative;
}
.plan-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-8px); }

.plan-card.featured {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  transform: scale(1.03);
  box-shadow: var(--shadow-xl);
}
.plan-card.featured:hover { transform: scale(1.05) translateY(-4px); }

.plan-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
}

.plan-name {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 0.75rem;
}
.plan-card.featured .plan-name { color: rgba(255,255,255,0.5); }

.plan-price {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.plan-card.featured .plan-price { color: var(--gold); }
.plan-price span { font-size: 1rem; font-family: var(--font-body); font-weight: 400; }

.plan-desc {
  font-size: 0.85rem;
  color: var(--slate);
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}
.plan-card.featured .plan-desc { color: rgba(255,255,255,0.5); border-color: rgba(255,255,255,0.1); }

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 2rem;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--slate);
  line-height: 1.45;
}
.plan-card.featured .plan-features li { color: rgba(255,255,255,0.7); }
.plan-features li::before {
  content: '\25c6';
  color: var(--gold);
  font-weight: 700;
  font-size: 0.8rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.plan-cta {
  display: block;
  text-align: center;
  padding: 0.9rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.25s var(--ease-out);
  cursor: pointer;
  border: none;
  width: 100%;
  text-decoration: none;
}
.plan-cta-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--border);
}
.plan-cta-outline:hover { border-color: var(--navy); background: var(--navy); color: white; }
.plan-cta-gold { background: var(--gold); color: var(--navy); }
.plan-cta-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,169,110,0.3);
}

/* =============================================
   TESTIMONIOS
   ============================================= */
.testimonials-section { background: var(--off-white); padding: 7rem 0; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.3s var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.stars { color: #f59e0b; font-size: 0.9rem; letter-spacing: 2px; }
.testimonial-text {
  font-size: 0.95rem;
  color: var(--slate);
  line-height: 1.7;
  flex: 1;
  font-style: italic;
}
.testimonial-text::before { content: '"'; }
.testimonial-text::after  { content: '"'; }
.testimonial-author { display: flex; align-items: center; gap: 0.8rem; }
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-soft));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold);
  flex-shrink: 0;
}
.author-name { font-weight: 700; font-size: 0.9rem; color: var(--navy); }
.author-role { font-size: 0.78rem; color: var(--slate); }

/* =============================================
   FAQ
   ============================================= */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.faq-item:hover { box-shadow: 0 8px 24px rgba(6,16,32,0.06); }

.faq-question {
  padding: 1.4rem 1.75rem;
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  gap: 1rem;
}
.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--off-white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--navy-mid);
  flex-shrink: 0;
  transition: all 0.3s var(--ease-out);
}
.faq-item.active .faq-icon { background: var(--navy); color: var(--gold); transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.3s;
  font-size: 0.92rem;
  color: var(--slate);
  line-height: 1.7;
  padding: 0 1.75rem;
}
.faq-item.active .faq-answer { max-height: 300px; padding: 0 1.75rem 1.4rem; }

/* =============================================
   CONTACTO
   ============================================= */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}

.contact-info { position: sticky; top: 100px; }
.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 1rem;
  line-height: 1.15;
}
.contact-info p {
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-items { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--off-white);
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.25s;
  text-decoration: none;
  color: inherit;
}
.contact-item:hover { border-color: var(--navy-mid); background: white; }

.ci-icon {
  width: 40px; height: 40px;
  background: var(--navy);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.ci-text small {
  display: block;
  font-size: 0.72rem;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.ci-text strong { font-size: 0.92rem; color: var(--navy); }

.rgpd-card {
  background: #f0f7ff;
  border: 1px solid #c7dff7;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  font-size: 0.83rem;
  color: #334155;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.rgpd-card::before {
  content: '?';
  color: var(--navy-mid);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.85rem 1.1rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: var(--navy);
  background: var(--white);
  transition: all 0.25s;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #a0aec0; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy-mid);
  box-shadow: 0 0 0 3px rgba(10,37,64,0.08);
}
.form-group textarea { min-height: 140px; resize: vertical; }

.radio-label {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.9rem; font-weight: 500; cursor: pointer; color: var(--navy);
}
.radio-label input[type="radio"] { width: auto; accent-color: var(--navy-mid); }

.privacy-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--slate);
  cursor: pointer;
}
.privacy-label input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--navy-mid); }
.privacy-label a { color: var(--navy-mid); font-weight: 600; text-decoration: underline; }

.submit-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-soft));
  color: white;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 1.1rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  margin-top: 0.5rem;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.submit-btn:hover {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10,37,64,0.3);
}
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.form-message {
  margin-top: 1rem;
  padding: 0.9rem 1.2rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
  text-align: center;
}
.form-message.success { display: block; background: #dcfce7; color: var(--success); border: 1px solid #bbf7d0; }
.form-message.error   { display: block; background: #fee2e2; color: var(--error);   border: 1px solid #fecaca; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.45);
  padding: 3.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand .logo { font-size: 1.4rem; margin-bottom: 0.75rem; display: inline-block; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; max-width: 280px; }
.footer-col h5 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.25rem;
}
.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.6rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: white; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
}
.footer-bottom a { color: rgba(255,255,255,0.35); transition: color 0.2s; }
.footer-bottom a:hover { color: white; }

/* =============================================
   WHATSAPP FLOAT
   ============================================= */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 500;
  width: 58px; height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: white;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: all 0.3s var(--ease-out);
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.5);
}

/* =============================================
   COOKIES
   ============================================= */
.cookies-popup {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(6,16,32,0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(201,169,110,0.2);
  display: none;
  padding: 1.25rem 2rem;
}
.cookies-popup.show { display: flex; justify-content: center; align-items: center; }
.cookies-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1100px;
  width: 100%;
}
.cookies-text { font-size: 0.85rem; color: rgba(255,255,255,0.55); max-width: 680px; line-height: 1.5; }
.cookies-text strong { color: white; }
.cookies-btns { display: flex; gap: 0.75rem; flex-shrink: 0; }
.btn-cookies-accept {
  background: var(--gold); color: var(--navy); font-weight: 700; font-size: 0.85rem;
  padding: 0.6rem 1.25rem; border-radius: 8px; border: none; cursor: pointer; transition: all 0.2s;
}
.btn-cookies-accept:hover { background: var(--gold-light); }
.btn-cookies-reject {
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.6); font-weight: 600; font-size: 0.85rem;
  padding: 0.6rem 1.25rem; border-radius: 8px; border: 1px solid rgba(255,255,255,0.12); cursor: pointer; transition: all 0.2s;
}
.btn-cookies-reject:hover { background: rgba(255,255,255,0.14); color: white; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 960px) {
  .plans-grid          { grid-template-columns: 1fr; }
  .plan-card.featured  { transform: none; }
  .contact-wrapper     { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-info        { position: static; }
  .metrics-grid        { grid-template-columns: 1fr; }
  .footer-grid         { grid-template-columns: 1fr 1fr; }
}
 
@media (max-width: 768px) {
  .hamburger { display: flex; }
 
  /* HERO MÓVIL — layout vertical limpio, sin huecos */
  .hero {
    height: auto;
    min-height: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
 
  /* El contenido ocupa todo el espacio disponible y centra verticalmente */
  .hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 7rem 1.5rem 3rem; /* top: deja espacio a la topbar sticky */
    text-align: center;
  }
 
  /* Fuente más pequeña en móvil para que no desborde */
  .hero h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero-subtitle { font-size: 1rem; }
  .hero-eyebrow { font-size: 0.68rem; }
 
  /* Botones apilados en móvil */
  .hero-actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 2rem;
  }
  .btn-cta { 
  width: 100%;
  justify-content: center;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap; /* Evita que el texto o la flecha salten de línea */
  }
  .btn-ghost { width: 100%; justify-content: center; }
 
  /* Stats: posición normal al final del hero (no absolute) */
  .hero-stats {
    position: relative;
    margin-top: 0;
  }
  .hero-stats .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .stat-item {
    border-right: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    max-width: none;
    padding: 1rem;
  }
  /* Quitar borde derecho e inferior a los items del borde */
  .stat-item:nth-child(2n) { border-right: none; }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }
 
  .stat-number { font-size: 1.6rem; }
  .stat-label  { font-size: 0.65rem; }
 
  /* Nav */
  nav {
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out);
    border-top: 1px solid rgba(255,255,255,0.05);
    z-index: 100;
  }
  nav.active    { max-height: 420px; padding: 1rem 0; }
  nav a         { padding: 0.9rem 2rem; border-radius: 0; width: 100%; }
  nav a.btn-nav { margin: 0.5rem 1.5rem; width: auto; border-radius: 8px; }
 
  /* Formulario */
  .form-row     { grid-template-columns: 1fr; }
  .contact-form { padding: 2rem 1.5rem; }
 
  /* Footer */
  .footer-grid   { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
 
  /* Cookies */
  .cookies-inner  { flex-direction: column; text-align: center; gap: 1rem; }
  .cookies-btns   { width: 100%; }
  .cookies-btns button { flex: 1; }
}