/* ============================================================
   PRISAI — Automatización · IA · Software
   Style System — Navy Blue Elegant Edition
   ============================================================ */

/* ============================================================
   FUENTES LOCALES — RGPD
   ------------------------------------------------------------
   Las fuentes se sirven desde el propio dominio. Al cargarlas
   desde Google se transmitía la IP del visitante a un tercero
   antes de que pudiera aceptar o rechazar nada, lo que exige
   base legal y no queda cubierto por el banner de cookies.

   Coloca estos 8 ficheros en /fonts/ con EXACTAMENTE estos nombres
   (subconjunto latin + latin-ext recomendado):

     /fonts/inter-400.woff2
     /fonts/inter-500.woff2
     /fonts/inter-600.woff2
     /fonts/inter-700.woff2
     /fonts/cinzel-400.woff2
     /fonts/cinzel-600.woff2
     /fonts/cinzel-700.woff2
     /fonts/cormorant-garamond-400.woff2

   Son exactamente los pesos que usa este CSS. Hasta que existan,
   el navegador aplicará las alternativas del sistema declaradas
   en --font-sans / --font-serif / --font-display.
   ============================================================ */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/inter-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/cinzel-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/cinzel-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/cinzel-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-400.woff2') format('woff2');
}

/* ---------- TOKENS ---------- */
:root {
  --navy-900: #0D1F3C;
  --navy-800: #122446;
  --navy-700: #1B3A6B;
  --navy-600: #244D8F;
  --navy-500: #2D60B3;
  --navy-400: #4A7EB5;
  --navy-300: #7AADD4;
  --navy-100: #E8F0F8;
  --navy-50:  #F0F5FB;

  --gold:     #C9A96E;
  --gold-lt:  #E5CFA0;

  --white:    #FFFFFF;
  --gray-50:  #F8F9FC;
  --gray-100: #EEF1F6;
  --gray-200: #D8DFE9;
  --gray-400: #8A96A8;
  --gray-600: #4A5568;
  --gray-900: #111827;

  --font-display: 'Cinzel', 'Cormorant Garamond', Georgia, serif;
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Inter', system-ui, sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 3px rgba(15,23,42,0.08), 0 1px 2px rgba(15,23,42,0.06);
  --shadow-md: 0 4px 16px rgba(15,23,42,0.10), 0 2px 4px rgba(15,23,42,0.06);
  --shadow-lg: 0 12px 40px rgba(15,23,42,0.14), 0 4px 8px rgba(15,23,42,0.08);
  --shadow-xl: 0 24px 64px rgba(15,23,42,0.18);

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- SECTION BASE ---------- */
.section {
  padding: 100px 0;
}
.section-navy {
  background: var(--navy-800);
}
.section-soft {
  background: var(--navy-50);
}

/* ---------- SECTION HEADER ---------- */
.sec-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 72px;
}
.sec-header-light { }
.sec-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy-600);
  border-top: 2px solid var(--gold);
  padding-top: 8px;
  margin-bottom: 20px;
}
.sec-tag-light {
  color: var(--gold-lt);
  border-color: var(--gold);
}
.sec-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy-800);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}
.sec-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--navy-600);
}
.sec-title-light { color: var(--white); }
.sec-title-light em { color: var(--gold-lt); }
.sec-sub {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}
.sec-sub-light { color: rgba(255,255,255,0.72); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 40px;
  max-width: 1340px;
  margin: 0 auto;
}
.nav-logo { display: flex; align-items: center; margin-right: 48px; }
.logo-img {
  height: 56px;
  width: auto;
  transition: opacity var(--transition);
  border-radius: var(--radius-sm);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-800);
  position: relative;
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--navy-600); }
.nav-links a:hover::after { width: 100%; }

.nav-portal-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  margin-right: 20px;
  /* Tipografía propia: antes la heredaba de .nav-links a, pero en escritorio
     este botón vive dentro de .nav-ctas */
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--navy-800) !important;
}
.nav-portal-link::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.nav-portal-link::after { display: none; }
.nav-portal-link:hover {
  background: var(--gold);
  color: var(--navy-900) !important;
}

.btn-cta-nav {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--navy-700);
  padding: 7px 16px;
  white-space: nowrap;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid var(--navy-700);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.btn-cta-nav:hover {
  background: var(--navy-900);
  border-color: var(--navy-900);
  transform: translateY(-1px);
}
.nav-ctas {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-cta-pilot {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0a1f0a;
  background: #22c55e;
  padding: 7px 16px;
  white-space: nowrap;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid #22c55e;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-cta-pilot:hover {
  background: #4ade80;
  border-color: #4ade80;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy-800);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--white);
  padding-top: 80px;
}

/* Geometric background */
.hero-geo {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.geo-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.geo-shape {
  position: absolute;
  border-radius: 0;
  opacity: 0.06;
}
.geo-1 {
  width: 600px;
  height: 600px;
  background: var(--navy-700);
  top: -200px;
  right: -100px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  animation: geoFloat1 12s ease-in-out infinite;
}
.geo-2 {
  width: 400px;
  height: 400px;
  background: var(--navy-500);
  bottom: -150px;
  left: -100px;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  animation: geoFloat2 15s ease-in-out infinite;
}
.geo-3 {
  width: 200px;
  height: 200px;
  background: var(--gold);
  top: 30%;
  left: 15%;
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  opacity: 0.04;
  animation: geoFloat1 10s ease-in-out infinite reverse;
}
.geo-4 {
  width: 120px;
  height: 120px;
  background: var(--navy-600);
  top: 20%;
  right: 55%;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  opacity: 0.05;
  animation: geoFloat2 8s ease-in-out infinite;
}

@keyframes geoFloat1 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(5deg); }
}
@keyframes geoFloat2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(25px) rotate(-4deg); }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 44px 40px 60px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-left { }
.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy-500);
  border-top: 2px solid var(--gold);
  display: inline-block;
  padding-top: 8px;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.8s 0.2s forwards;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--navy-900);
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.35s forwards;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--navy-600);
}
.hero-rule {
  width: 56px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s forwards;
}
.hero-body {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.8s 0.55s forwards;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 52px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.8s 0.7s forwards;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--navy-700);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--navy-700);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover {
  background: var(--navy-900);
  border-color: var(--navy-900);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-700);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--navy-300);
  transition: border-color var(--transition), color var(--transition), transform var(--transition);
}
.btn-outline:hover {
  border-color: var(--navy-700);
  color: var(--navy-900);
  transform: translateY(-2px);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.8s 0.85s forwards;
}
.h-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.h-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--navy-800);
  line-height: 1;
}
.h-stat span:not(.h-stat-num):not(.h-stat-label) {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--gold);
  vertical-align: super;
  font-size: 1rem;
}
.h-stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  text-transform: uppercase;
}
.h-stat-sep {
  width: 1px;
  height: 40px;
  background: var(--gray-200);
}

/* Hero right */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: flex-start;
  padding-top: 20px;
  opacity: 0;
  animation: fadeIn 1.2s 0.5s forwards;
}
.hero-figure-wrap {
  position: relative;
  width: 460px;
  height: 560px;
  transform: translateX(20px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-figure-wrap::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 1px;
  height: 18px;
  border-radius: 50%;
  background: rgba(15,23,42,0.14);
  filter: blur(7px);
  z-index: 1;
  pointer-events: none;
}
.hero-figure-picture {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  position: relative;
  z-index: 3;
}
.hero-figure-img {
  width: auto;
  height: 540px;
  max-width: 100%;
  object-fit: contain;
  position: relative;
  z-index: 3;
  filter: drop-shadow(0 18px 30px rgba(15,23,42,0.14));
}

.hero-glow-ring {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(27,58,107,0.15);
  
  z-index: 1;
  animation: ringPulse 4s ease-in-out infinite;
}
@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: 0.7; }
}
.hero-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201,169,110,0.2);
  z-index: 2;
}
.hero-orbit-1 {
  width: 380px;
  height: 380px;
  animation: orbitSpin 20s linear infinite;
}
.hero-orbit-2 {
  width: 440px;
  height: 440px;
  animation: orbitSpin 30s linear infinite reverse;
  border-style: dashed;
}
@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Scroll cue */
.hero-scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1s 1.4s forwards;
  z-index: 3;
}
.scroll-line-wrap {
  width: 1px;
  height: 48px;
  background: var(--gray-200);
  overflow: hidden;
}
.scroll-line-inner {
  width: 100%;
  height: 100%;
  background: var(--navy-500);
  animation: scrollLineDown 2s ease-in-out infinite;
}
@keyframes scrollLineDown {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}
.hero-scroll-cue span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-400);
}

/* ============================================================
   INTEGRATIONS BAR
   ============================================================ */
.integrations-bar {
  background: var(--navy-900);
  padding: 18px 0;
  display: flex;
  align-items: center;
  gap: 32px;
  overflow: hidden;
}
.ib-label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  white-space: nowrap;
  padding-left: 40px;
  flex-shrink: 0;
}
.ib-track-wrap { overflow: hidden; flex: 1; }
.ib-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: trackScroll 22s linear infinite;
}
.ib-track span {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
  transition: color var(--transition);
}
.ib-track span:hover { color: rgba(255,255,255,0.85); }
@keyframes trackScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.svc-card {
  background: var(--white);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: background var(--transition);
  cursor: default;
}
.svc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.svc-card:hover::before { transform: scaleX(1); }
.svc-card:hover { background: var(--navy-50); }

.svc-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--navy-100);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  transition: color var(--transition);
}
.svc-card:hover .svc-num { color: var(--navy-200, #c5d7ed); }

.svc-icon-wrap {
  width: 48px;
  height: 48px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-600);
  margin-bottom: 20px;
  transition: border-color var(--transition), background var(--transition);
}
.svc-card:hover .svc-icon-wrap {
  border-color: var(--navy-300);
  background: var(--white);
}

.svc-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy-800);
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}
.svc-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 20px;
}
.svc-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.svc-list li {
  font-size: 0.8rem;
  color: var(--gray-600);
  padding-left: 14px;
  position: relative;
}
.svc-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
}
.svc-accent {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  background: var(--navy-100);
  clip-path: polygon(100% 0%, 100% 100%, 0% 100%);
  transition: var(--transition);
}
.svc-card:hover .svc-accent {
  background: var(--navy-200, #c5d7ed);
}
.svc-filler {
  background: var(--white);
  pointer-events: none;
}

/* ============================================================
   PROCESS TIMELINE
   ============================================================ */
.process-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.timeline-line {
  position: absolute;
  top: 36px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: rgba(255,255,255,0.15);
  z-index: 1;
}

.tl-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 0 20px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.tl-step.visible { opacity: 1; transform: translateY(0); }
.tl-step:nth-child(2) { transition-delay: 0.15s; }
.tl-step:nth-child(3) { transition-delay: 0.3s; }
.tl-step:nth-child(4) { transition-delay: 0.45s; }

.tl-dot {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid rgba(201,169,110,0.4);
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  transition: border-color var(--transition), background var(--transition);
}
.tl-step:hover .tl-dot {
  border-color: var(--gold);
  background: rgba(201,169,110,0.1);
}
.tl-dot span {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.tl-card { text-align: center; }
.tl-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.tl-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

/* ============================================================
   WHY US
   ============================================================ */
.why-grid {
  display: block;
  max-width: 720px;
  margin: 0 auto;
}
.why-left .sec-title { text-align: left; }
.why-left .sec-tag { }

.why-features { margin-top: 40px; display: flex; flex-direction: column; gap: 28px; }
.wf-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.wf-item.visible { opacity: 1; transform: translateX(0); }
.wf-item:nth-child(2) { transition-delay: 0.1s; }
.wf-item:nth-child(3) { transition-delay: 0.2s; }
.wf-item:nth-child(4) { transition-delay: 0.3s; }

.wf-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid var(--navy-200, #c5d7ed);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-600);
  background: var(--navy-50);
}
.wf-item h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 4px;
}
.wf-item p {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.65;
}

/* Dashboard Card */
.dash-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.6s ease;
}
.dash-card:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}
.dash-head {
  padding: 16px 20px;
  background: var(--navy-800);
  display: flex;
  align-items: center;
  gap: 12px;
}
.dash-dots { display: flex; gap: 6px; }
.dash-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
}
.dash-dots span:first-child { background: #FF5F57; }
.dash-dots span:nth-child(2) { background: #FEBC2E; }
.dash-dots span:last-child { background: #28C840; }
.dash-title {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.dash-body { padding: 28px; }

.dash-kpi-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}
.dash-kpi {
  background: var(--navy-50);
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--navy-100);
}
.dash-kpi-val {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy-800);
  line-height: 1;
  margin-bottom: 4px;
}
.dash-kpi-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 8px;
}
.dash-kpi-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
}
.dash-kpi-badge.up {
  background: rgba(21,128,61,0.08);
  color: #15803d;
}
.dash-bars { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.dash-bar-row {
  display: grid;
  grid-template-columns: 80px 1fr 36px;
  align-items: center;
  gap: 12px;
}
.dash-bar-row span { font-size: 0.78rem; color: var(--gray-600); }
.dash-bar-row span:last-child { text-align: right; font-weight: 600; color: var(--navy-700); }
.dash-bar-track {
  height: 6px;
  background: var(--gray-100);
  border-radius: 3px;
  overflow: hidden;
}
.dash-bar-fill {
  height: 100%;
  width: var(--w);
  background: var(--navy-500);
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s ease;
}
.dash-bar-fill.animated { transform: scaleX(1); }
.dash-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(21,128,61,0.06);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(21,128,61,0.15);
}
.dash-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
}
.dash-status span {
  font-size: 0.74rem;
  color: #15803d;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.test-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}
.test-card.visible { opacity: 1; transform: translateY(0); }
.test-card:nth-child(2) { transition-delay: 0.15s; }
.test-card:nth-child(3) { transition-delay: 0.3s; }
.test-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.test-card::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  left: 28px;
  font-family: var(--font-serif);
  font-size: 5rem;
  color: var(--navy-100);
  line-height: 1;
  pointer-events: none;
}
.test-stars {
  color: var(--gold);
  letter-spacing: 3px;
  font-size: 0.85rem;
  margin-bottom: 16px;
}
.test-card blockquote {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 24px;
}
.test-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.test-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy-700);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.test-author strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-800);
}
.test-author span {
  font-size: 0.75rem;
  color: var(--gray-400);
  letter-spacing: 0.04em;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 80px;
  row-gap: 48px;
  align-items: start;
}
.contact-promises {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cp-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.72);
}
.cp-check {
  color: var(--gold);
  font-weight: 700;
}
.contact-social-links {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.contact-icon-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.07);
  color: var(--white);
}
.contact-icon-btn:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}
.contact-icon-gmail:hover {
  box-shadow: var(--shadow-sm);
  border-color: rgba(234,67,53,0.4);
  background: rgba(234,67,53,0.12);
}
.contact-icon-telegram:hover {
  box-shadow: var(--shadow-sm);
  border-color: rgba(41,182,246,0.4);
  background: rgba(41,182,246,0.12);
}
.contact-icon-btn span {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cf-group { display: flex; flex-direction: column; gap: 6px; }
.cf-group label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}
.cf-group input,
.cf-group textarea {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
}
.cf-group input::placeholder,
.cf-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.cf-group input:focus,
.cf-group textarea:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.1);
}
.cf-group textarea { resize: vertical; }

.btn-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-900);
  background: var(--gold);
  border: 1px solid var(--gold);
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  width: 100%;
}
.btn-form-submit:hover {
  background: var(--gold-lt);
  border-color: var(--gold-lt);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.cf-success {
  display: none;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gold-lt);
  padding: 16px;
  background: rgba(201,169,110,0.1);
  border: 1px solid rgba(201,169,110,0.25);
  border-radius: var(--radius-sm);
}
.cf-success.visible { display: flex; }

/* Error box */
.cf-error {
  display: none;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: #fca5a5;
  padding: 12px 16px;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.25);
  border-radius: var(--radius-sm);
  margin-top: 12px;
}

/* Success screen */
.cf-success-screen {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 32px;
  gap: 16px;
  height: 100%;
  min-height: 320px;
}
.cf-success-screen.visible {
  display: flex;
  animation: fadeUp 0.5s ease forwards;
}
.cf-success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(201,169,110,0.12);
  border: 1.5px solid rgba(201,169,110,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 8px;
}
.cf-success-screen h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
}
.cf-success-screen p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  max-width: 300px;
}
.cf-success-screen p strong { color: var(--gold-lt); }
.cf-success-back {
  margin-top: 8px;
  padding: 10px 24px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.7);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background var(--transition), color var(--transition);
}
.cf-success-back:hover {
  background: rgba(255,255,255,0.14);
  color: var(--white);
}

/* Spinner */
@keyframes spin360 {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-900);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 72px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 32px;
}
.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin-top: 20px;
  max-width: 320px;
}
.footer-logo {
  height: 56px;
  width: auto;
  border-radius: var(--radius-sm);
  background: var(--white);
  padding: 4px 8px;
}
.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.fn-col h5 {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 12px;
}
.fn-col a {
  display: block;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 10px;
  transition: color var(--transition);
}
.fn-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 32px;
}
.footer-bottom p {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.04em;
}
.footer-legal {
  display: flex;
  gap: 24px;
}
.footer-legal a {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.3);
  transition: color var(--transition);
}
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Scroll-triggered fade-in */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { gap: 48px; }
  .contact-wrap { gap: 48px; }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 60px 24px 60px;
    text-align: center;
  }
  .hero-right { display: none; }
  .hero-body { max-width: 100%; }
  .hero-actions { justify-content: center; flex-wrap: wrap; gap: 12px; }
  .hero-stats { justify-content: center; }
  .hero-rule { margin: 0 auto 24px; }
  .hero-eyebrow { }

  /* Hero new elements — centrar en mobile */
  .hero-badge { margin: 0 auto 20px; }
  .hero-trust { justify-content: center; }
  .hero-quick-contact { justify-content: center; }

  .process-timeline {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .timeline-line { display: none; }
  .tl-step {
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
    padding: 0 0 40px;
    text-align: left;
  }
  .tl-dot { margin-bottom: 0; flex-shrink: 0; }
  .tl-card { text-align: left; }

  .why-grid { grid-template-columns: 1fr; }
  .why-right { display: none; }
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .cf-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }

  /* Pilot box */
  .pilot-footer { align-items: center; text-align: center; }
}

@media (max-width: 768px) {
  .nav-links, .btn-cta-nav, .nav-ctas, .btn-cta-pilot { display: none; }
  .nav-toggle { display: flex; }
  .nav-container { padding: 0 20px; }
  .section { padding: 72px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
  .ib-label { display: none; }

  /* Mobile nav open */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px 32px;
    gap: 24px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--gray-100);
    z-index: 999;
  }
  .btn-cta-nav.open {
    display: block;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    margin: 0;
    border-radius: 0;
    text-align: center;
    padding: 14px;
    z-index: 999;
  }

  /* Quick contact pills — reducir en móvil */
  .hero-quick-contact { justify-content: flex-start; }
  .hqc-btn { font-size: 0.7rem; padding: 4px 10px; }
  .hero-quick-contact > span { font-size: 0.7rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.4rem; }
  .hero-stats { flex-direction: column; align-items: center; gap: 16px; }
  .h-stat-sep { width: 40px; height: 1px; }
  .sec-title { font-size: 1.8rem; }
  .dash-kpi-row { grid-template-columns: 1fr; }

  /* Hero actions — botones en columna en pantallas muy pequeñas */
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline { width: 100%; text-align: center; }

  /* Quick contact — ocultar label en pantallas muy pequeñas */
  .hero-quick-contact > span { display: none; }

  /* Pilot box */
  .pilot-title { font-size: 1.5rem; }
  .btn-pilot-cta { width: 100%; justify-content: center; }
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  z-index: 99999;
  width: calc(100% - 48px);
  max-width: 780px;
  background: var(--navy-900);
  border: 1px solid rgba(201,169,110,0.25);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
  padding: 20px 24px;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1), opacity 0.4s ease;
}
.cookie-banner.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: all;
}
.cookie-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  line-height: 1;
}
.cookie-text {
  flex: 1;
  min-width: 200px;
}
.cookie-text strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.cookie-text p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
  margin: 0;
}
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  border: none;
  white-space: nowrap;
}
.cookie-btn-reject {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.12);
}
.cookie-btn-reject:hover {
  background: rgba(255,255,255,0.14);
  color: var(--white);
}
.cookie-btn-accept {
  background: var(--gold);
  color: var(--navy-900);
}
.cookie-btn-accept:hover {
  background: var(--gold-lt);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 600px) {
  .cookie-banner { bottom: 12px; width: calc(100% - 24px); padding: 16px; }
  .cookie-inner { gap: 12px; }
  .cookie-actions { width: 100%; justify-content: flex-end; }
}

/* ============================================================
   LEGAL MODALS (Privacidad & Términos)
   ============================================================ */
.legal-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: rgba(11,22,44,0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}
.legal-modal.modal-open {
  display: flex;
  animation: modalFadeIn 0.25s ease;
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.legal-modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
  animation: modalSlideUp 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes modalSlideUp {
  from { transform: translateY(32px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.legal-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  border-bottom: 1px solid var(--gray-200);
  flex-shrink: 0;
}
.legal-modal-header h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy-900);
  letter-spacing: 0.02em;
}
.legal-modal-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
  flex-shrink: 0;
}
.legal-modal-close:hover {
  background: var(--navy-900);
  color: var(--white);
}
.legal-modal-body {
  padding: 28px;
  overflow-y: auto;
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.75;
}
.legal-modal-body h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-800);
  margin: 24px 0 8px;
}
.legal-modal-body h3:first-of-type { margin-top: 8px; }
.legal-modal-body p { margin-bottom: 10px; }
.legal-modal-body ul {
  padding-left: 20px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.legal-modal-body a {
  color: var(--navy-600);
  text-decoration: underline;
}
.legal-update {
  font-size: 0.78rem;
  color: var(--gray-400);
  letter-spacing: 0.04em;
  border-left: 2px solid var(--gold);
  padding-left: 10px;
  margin-bottom: 20px !important;
}

/* ============================================================
   HERO — BADGE + TRUST + QUICK CONTACT
   ============================================================ */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-600);
  background: var(--navy-50);
  border: 1px solid var(--navy-200, #c5d7ed);
  border-radius: 20px;
  padding: 6px 14px;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.6s 0.1s forwards;
}
.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.2);
  animation: dotPulse 2s ease infinite;
  flex-shrink: 0;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 16px;
  opacity: 0;
  animation: fadeUp 0.8s 0.9s forwards;
}
.hero-trust span {
  font-size: 0.78rem;
  color: var(--gray-500);
  letter-spacing: 0.02em;
}
.hero-quick-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  opacity: 0;
  animation: fadeUp 0.8s 1.05s forwards;
  flex-wrap: wrap;
}
.hero-quick-contact > span {
  font-size: 0.75rem;
  color: var(--gray-400);
  letter-spacing: 0.04em;
}
.hqc-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  transition: transform var(--transition), box-shadow var(--transition);
}
.hqc-btn:hover { transform: translateY(-1px); }
.hqc-telegram {
  background: rgba(41,182,246,0.1);
  color: #0288d1;
  border: 1px solid rgba(41,182,246,0.25);
}
.hqc-gmail {
  background: #e8f3ff;
  color: #1769aa;
  border: 1px solid #b9d9f7;
}

/* ============================================================
   PROCESS — TIME LABELS
   ============================================================ */
.tl-time {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,169,110,0.35);
  border-radius: 20px;
  padding: 2px 10px;
  margin-bottom: 10px;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-item {
  border-bottom: 1px solid var(--gray-200);
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: var(--white);
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-800);
  text-align: left;
  transition: background var(--transition), color var(--transition);
}
.faq-q:hover { background: var(--navy-50); color: var(--navy-900); }
.faq-q[aria-expanded="true"] { color: var(--navy-700); background: var(--navy-50); }
.faq-icon {
  flex-shrink: 0;
  color: var(--navy-400);
  transition: transform 0.3s ease;
}
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }
.faq-a {
  display: none;
  padding: 0 24px 20px;
  background: var(--navy-50);
}
.faq-a.open { display: block; animation: fadeUp 0.25s ease; }
.faq-a p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin: 0;
}
.faq-a p strong { color: var(--navy-700); }

/* ============================================================
   FORM — IMPROVEMENTS
   ============================================================ */
.cf-optional {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  font-weight: 400;
}
.cf-empresa-toggle {
  margin-bottom: 4px;
}
.cf-empresa-toggle summary {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  cursor: pointer;
  letter-spacing: 0.04em;
  padding: 6px 0;
  list-style: none;
  transition: color var(--transition);
}
.cf-empresa-toggle summary::-webkit-details-marker { display: none; }
.cf-empresa-toggle summary:hover { color: rgba(255,255,255,0.75); }
.cf-alt-contact {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  text-align: center;
  margin-top: 12px;
}
.cf-alt-contact a {
  color: var(--gold-lt);
  font-weight: 600;
  transition: opacity var(--transition);
}
.cf-alt-contact a:hover { opacity: 0.8; }

/* ============================================================
   MOBILE FLOATING CTA BAR
   ============================================================ */
.mobile-cta-bar {
  display: none;
}
@media (max-width: 768px) {
  .mobile-cta-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9990;
    padding: 10px 16px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
    background: var(--navy-900);
    border-top: 1px solid rgba(201,169,110,0.2);
    gap: 10px;
    align-items: center;
    box-shadow: 0 -8px 24px rgba(0,0,0,0.3);
    transform: translateY(100%);
    transition: transform 0.4s ease;
  }
  .mobile-cta-bar.visible {
    transform: translateY(0);
  }
  .mobile-cta-primary {
    flex: 1;
    text-align: center;
    background: var(--gold);
    color: var(--navy-900);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 13px 20px;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
  }
  .mobile-cta-primary:hover { background: var(--gold-lt); }
  .mobile-cta-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    background: rgba(41,182,246,0.12);
    border: 1px solid rgba(41,182,246,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
  }
  .mobile-cta-icon:hover { background: rgba(41,182,246,0.22); }

  /* Leave space so cookie banner doesn't overlap mobile CTA */
  .cookie-banner { bottom: 80px; }
}

/* ============================================================
   FORM — PRIVACY CONSENT CHECKBOX
   ============================================================ */
.cf-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  margin-bottom: 4px;
}
.cf-consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--gold);
  cursor: pointer;
}
.cf-consent span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}
.cf-consent span a {
  color: var(--gold-lt);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity var(--transition);
}
.cf-consent span a:hover { opacity: 0.8; }

/* ============================================================
   CAL.COM LAZY PLACEHOLDER CARD
   ============================================================ */
.cal-placeholder {
  grid-column: 1 / -1;
  width: 100%;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 24px;
  padding: 24px 32px;
  text-align: left;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,169,110,0.24);
  border-radius: var(--radius-md);
}
.cal-placeholder-icon {
  grid-column: 1;
  grid-row: 1;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(201,169,110,0.1);
  border: 1px solid rgba(201,169,110,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin: 0;
}
.cal-placeholder-copy {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.cal-placeholder h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
}
.cal-placeholder-copy > p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.58);
}
.cal-placeholder-perks {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.cal-placeholder-perks li {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.62);
}
.btn-cal-open {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  white-space: nowrap;
  background: var(--gold);
  color: var(--navy-900);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  margin: 0;
}
.btn-cal-open:hover {
  background: var(--gold-lt);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
@media (max-width: 768px) {
  .cal-placeholder {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px 16px;
    padding: 22px 24px;
  }
  .cal-placeholder-icon { width: 56px; height: 56px; }
  .cal-placeholder-icon svg { width: 28px; height: 28px; }
  .cal-placeholder-copy { grid-column: 2; }
  .cal-placeholder h3 { font-size: 1.2rem; }
  .cal-placeholder-perks { gap: 6px 14px; }
  .btn-cal-open {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    width: 100%;
  }
}
@media (max-width: 480px) {
  .cal-placeholder {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 18px;
    text-align: center;
  }
  .cal-placeholder-icon,
  .cal-placeholder-copy,
  .btn-cal-open { grid-column: 1; }
  .cal-placeholder-icon { justify-self: center; grid-row: 1; }
  .cal-placeholder-copy { grid-row: 2; }
  .btn-cal-open { grid-row: 3; }
  .cal-placeholder-perks { flex-direction: column; align-items: center; gap: 6px; }
}
/* ============================================================
   PILOT OFFER SECTION
   ============================================================ */
.section-pilot {
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
}
.pilot-box {
  max-width: 760px;
  margin: 0 auto;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: var(--radius-lg);
  padding: 56px 56px 48px;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.pilot-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #22c55e;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: 20px;
  padding: 5px 14px;
  margin-bottom: 20px;
}
.pilot-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin-bottom: 36px;
}
.pilot-title em {
  color: #4ade80;
  font-style: italic;
}
.pilot-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}
.pilot-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.pilot-check {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.pilot-item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}
.pilot-item p {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
  line-height: 1.5;
}
.pilot-footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.pilot-upsell {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  margin: 0;
  font-style: italic;
}
.pilot-upsell strong { color: rgba(255,255,255,0.7); font-style: normal; }
.btn-pilot-cta {
  display: inline-flex;
  align-items: center;
  background: #22c55e;
  color: #0a1f0a;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 15px 32px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-pilot-cta:hover {
  background: #4ade80;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
  .pilot-box { padding: 36px 24px 32px; }
  .pilot-title { font-size: 1.7rem; }
}

/* ============================================================
   PÁGINAS LEGALES INDEPENDIENTES (aviso-legal.html, etc.)
   Solo aplican a esas páginas: no afectan a la portada.
   ============================================================ */
.legal-page-body {
  background: var(--navy-50);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.legal-page-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 32px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}
.legal-page-top img {
  height: 46px;
  width: auto;
}
.legal-page-back {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-600);
  white-space: nowrap;
  transition: color var(--transition);
}
.legal-page-back:hover { color: var(--navy-900); }

.legal-page {
  flex: 1;
  max-width: 820px;
  margin: 40px auto 64px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600;
  color: var(--navy-900);
  letter-spacing: 0.02em;
  padding: 32px 28px 0;
}
/* El cuerpo reutiliza .legal-modal-body, que ya tiene la tipografía legal */
.legal-page .legal-modal-body { overflow: visible; }

.legal-page-foot {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.legal-page-foot nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.legal-page-foot a {
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}
.legal-page-foot a:hover { color: var(--gold-lt); }

.legal-cargando {
  color: var(--gray-400);
  font-size: 0.85rem;
}

@media (max-width: 600px) {
  .legal-page-top { padding: 12px 20px; }
  .legal-page { margin: 20px 16px 40px; border-radius: var(--radius-md); }
  .legal-page h1 { padding: 24px 20px 0; }
  .legal-page .legal-modal-body { padding: 20px; }
  .legal-page-foot { padding: 20px; }
}

/* ============================================================
   NAVBAR — AGRUPAR MENÚ JUNTO A LOS BOTONES (solo escritorio)
   ============================================================ */
@media (min-width: 769px) {
  /* Menú de texto centrado entre el logo y el bloque de botones */
  .nav-links {
    margin-left: auto;
    margin-right: auto;
  }
  /* La copia del portal solo sirve para el desplegable de móvil */
  .nav-portal-movil { display: none; }
  /* Los dos botones, agrupados a la derecha: juntos pero no pegados */
  .nav-ctas { gap: 18px; }
  .nav-ctas .nav-portal-link { margin-right: 0; }
}

/* ============================================================
   HERO — SUBTÍTULO, CAJA DE ROI Y CTA DOMINANTE
   ============================================================ */
/* Compactado del hero: el CTA principal debe verse sin hacer scroll */
.hero-inner { padding-top: 32px; }
.hero-title {
  font-size: clamp(2.4rem, 4.2vw, 3.4rem);
  margin-bottom: 18px;
}
.hero-rule { margin-bottom: 18px; }
.hero-body { margin-bottom: 24px; }
.hero-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0;
  color: var(--navy-700);
  margin-bottom: 20px;
  max-width: 520px;
}

.hero-roi {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 520px;
  padding: 14px 18px;
  background: rgba(201, 169, 110, 0.09);
  border: 1px solid rgba(201, 169, 110, 0.35);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--navy-800);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.8s 0.62s forwards;
}
.hero-roi strong { color: var(--navy-900); font-weight: 700; }
.hero-roi-icon {
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 1px;
}


/* ============================================================
   SECCIÓN — EL DESAFÍO
   ============================================================ */
.challenge-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 24px;
}

.challenge-col {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.challenge-col-them {
  background: var(--white);
  border-color: var(--gray-200);
}
.challenge-col-us {
  background: var(--navy-900);
  border-color: var(--navy-700);
  box-shadow: 0 18px 44px rgba(13, 31, 60, 0.16);
}

.challenge-head h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy-800);
  letter-spacing: 0.01em;
}
.challenge-col-us .challenge-head h3 { color: var(--white); }

.challenge-tag {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-400);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 4px 12px;
  margin-bottom: 14px;
}
.challenge-tag-us {
  color: var(--gold-lt);
  border-color: rgba(201, 169, 110, 0.45);
  background: rgba(201, 169, 110, 0.12);
}

.challenge-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.challenge-list li {
  position: relative;
  padding-left: 26px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--gray-600);
}
.challenge-list li::before {
  content: '✕';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.8rem;
  color: #c2410c;
  opacity: 0.75;
}
.challenge-list-us li { color: rgba(255, 255, 255, 0.78); }
.challenge-list-us li::before {
  content: '✓';
  color: var(--gold);
  opacity: 1;
  font-weight: 700;
}

.challenge-vs {
  display: flex;
  align-items: center;
  justify-content: center;
}
.challenge-vs span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--navy-600);
  box-shadow: var(--shadow-sm);
}

.challenge-note {
  max-width: 720px;
  margin: 40px auto 0;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--navy-700);
}

/* ============================================================
   OFERTA — BONUS, CAJA DE ROI Y ESCASEZ
   ============================================================ */
.pilot-bonus {
  background: rgba(34, 197, 94, 0.08);
  border: 1px dashed rgba(34, 197, 94, 0.45);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 32px;
}
.pilot-bonus-tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #4ade80;
  margin-bottom: 8px;
}
.pilot-bonus p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}
.pilot-bonus p strong { color: var(--white); font-weight: 600; }

.roi-box {
  display: flex;
  align-items: center;
  gap: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 169, 110, 0.35);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin-bottom: 28px;
}
.roi-box-figure {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.01em;
}
.roi-box-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}
.roi-box-text p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
}

.pilot-scarcity {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.5);
}
.pilot-scarcity svg { flex-shrink: 0; margin-top: 2px; }
.pilot-scarcity p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.6;
}
.pilot-scarcity strong { color: rgba(255, 255, 255, 0.85); }

/* ============================================================
   MODAL — RESERVA DE LLAMADA (Cal.com)
   ============================================================ */
.cal-modal-box {
  max-width: 920px;
  width: 100%;
}
.cal-modal-body {
  position: relative;
  min-height: 60vh;
  padding: 0;
  background: var(--white);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
}
.cal-modal-body iframe {
  display: block;
  width: 100%;
  height: 68vh;
  border: 0;
}
.cal-modal-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--gray-400);
  pointer-events: none;
}

/* ============================================================
   RESPONSIVE — COMPONENTES NUEVOS
   ============================================================ */
@media (max-width: 900px) {
  .challenge-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .challenge-vs { padding: 4px 0; }
  .challenge-vs span { width: 44px; height: 44px; font-size: 0.75rem; }
  .challenge-note { font-size: 1.05rem; margin-top: 32px; }

  .hero-subtitle { max-width: 100%; }
  .hero-roi { max-width: 100%; margin-left: auto; margin-right: auto; text-align: left; }
}

@media (max-width: 768px) {
  .challenge-col { padding: 28px 22px; }
  .roi-box { gap: 16px; padding: 18px 20px; }
  .roi-box-figure { font-size: 2rem; }
  .cal-modal-body { min-height: 0; }
  .cal-modal-body iframe { height: 70vh; }
}

@media (max-width: 480px) {
  .hero-subtitle { font-size: 1.1rem; }
  .hero-roi { font-size: 0.85rem; padding: 12px 14px; }
  .roi-box { flex-direction: column; align-items: flex-start; gap: 10px; }
  .pilot-bonus { padding: 16px 18px; }
  .challenge-note { font-size: 1rem; }
}

/* ============================================================
   CUSTOM CHAT WIDGET — APOLO · PRISAI
   ============================================================ */
#prisai-chat-widget {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
#chat-toggle {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-900);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
#chat-toggle:hover { background: var(--gold-lt); transform: scale(1.07); box-shadow: var(--shadow-lg); }
#chat-window {
  width: 360px; max-height: 520px;
  background: #fff; border-radius: 16px;
  box-shadow: 0 16px 60px rgba(13,31,60,0.22);
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; transform: translateY(16px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
#chat-window.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: all; }
#chat-header {
  background: var(--navy-900); padding: 16px 18px;
  display: flex; align-items: center; justify-content: space-between; flex-shrink: 0;
}
#chat-header-info { display: flex; align-items: center; gap: 12px; }
#chat-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--gold); color: var(--navy-900);
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
#chat-name { font-family: var(--font-sans); font-size: 0.88rem; font-weight: 600; color: #fff; letter-spacing: 0.02em; }
#chat-status { font-size: 0.72rem; color: rgba(255,255,255,0.55); display: flex; align-items: center; gap: 5px; margin-top: 2px; }
#chat-status-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; animation: dotPulse 2s ease infinite; flex-shrink: 0; }
#chat-close-btn { background: none; border: none; color: rgba(255,255,255,0.6); cursor: pointer; padding: 4px; line-height: 0; transition: color var(--transition); }
#chat-close-btn:hover { color: #fff; }
#chat-messages {
  flex: 1; overflow-y: auto; padding: 18px 16px;
  display: flex; flex-direction: column; gap: 10px;
  background: #f5f7fb; scroll-behavior: smooth;
}
.chat-msg { max-width: 82%; padding: 10px 14px; border-radius: 14px; font-size: 0.85rem; line-height: 1.5; word-break: break-word; }
.chat-msg-bot { background: var(--navy-900); color: #fff; align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-msg-user { background: var(--gold); color: var(--navy-900); align-self: flex-end; border-bottom-right-radius: 4px; font-weight: 500; }
.chat-typing { display: flex; align-items: center; gap: 5px; padding: 12px 16px; }
.chat-typing span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.6); animation: typingBounce 1.2s ease infinite; }
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce { 0%,60%,100% { transform: translateY(0); } 30% { transform: translateY(-5px); } }
#chat-input-area { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-top: 1px solid #e8eaf0; background: #fff; flex-shrink: 0; }
#chat-input { flex: 1; border: 1px solid #dde1ea; border-radius: 22px; padding: 9px 16px; font-family: var(--font-sans); font-size: 0.84rem; color: var(--navy-900); outline: none; transition: border-color var(--transition); background: #f8f9fc; }
#chat-input:focus { border-color: var(--gold); background: #fff; }
#chat-send { width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: var(--navy-900); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background var(--transition), transform var(--transition); }
#chat-send:hover { background: var(--gold-lt); transform: scale(1.05); }
#chat-send:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
@media (max-width: 480px) {
  #prisai-chat-widget { bottom: 80px; left: 16px; }
  #chat-window { width: calc(100vw - 32px); }
}


/* ============================================================
   IOS AUTO-ZOOM FIX
   ============================================================ */
@media screen and (max-width: 768px) {
  input, select, textarea { font-size: 16px !important; }
}

