
/* shared: tokens.css */
/* ============================================================================
   TOKENS DE DISEÑO --lp-* (defaults canónicos del sistema de bloques)
   ----------------------------------------------------------------------------
   Capa 1 (este fichero): defaults neutros en :root, emitidos ANTES del CSS
   global / brand kit. Cualquier redefinición posterior (BFMETA_LANDING_CSS_GLOBAL,
   brand kit, :root del tema del builder o .lp-container) gana SIEMPRE a estos
   defaults: misma o mayor especificidad y aparece después en la cascada.
   Valores = fallback dominante cosechado de los 117 bloques (2026-08-02).
   Los tokens específicos de un bloque (--lp-reviews-*, --lp-team-*, …) NO van
   aquí: los define su propio bloque o el editor vía estilos inline.
   ============================================================================ */

/* Guard de accesibilidad: el atributo hidden SIEMPRE oculta, aunque el CSS del
   bloque defina display (flex/grid). Sin esto, overlays con display propio
   (lightbox de gallery, popups, back-to-top…) quedan visibles al cargar. */
[hidden] {
	display: none !important;
}

:root {
	/* Color de marca */
	--lp-primary: #3b82f6;
	--lp-primary-dark: #2563eb;
	--lp-primary-light: #93c5fd;
	--lp-primary-alpha: rgba(59, 130, 246, 0.1);
	--lp-secondary: #8b5cf6;
	--lp-accent: #ec4899;
	--lp-success: #10b981;
	--lp-error: #ef4444;

	/* Texto */
	--lp-text: #1f2937;
	--lp-text-primary: #1f2937;
	--lp-text-secondary: #6b7280;
	--lp-text-tertiary: #9ca3af;
	--lp-text-muted: #6b7280;
	--lp-text-light: #6b7280;
	--lp-text-dark: #1f2937;
	--lp-link-color: var(--lp-primary);
	--lp-link-hover-color: var(--lp-primary-dark);

	/* Fondos y bordes */
	--lp-bg: #ffffff;
	--lp-bg-primary: #ffffff;
	--lp-bg-secondary: #f9fafb;
	--lp-bg-light: #f9fafb;
	--lp-bg-soft: #f9fafb;
	--lp-bg-tertiary: #f3f4f6;
	--lp-border: #e5e7eb;
	--lp-border-color: #e5e7eb;
	--lp-border-dark: #d1d5db;
	--lp-gray-200: #e5e7eb;

	/* Espaciado */
	--lp-space-xs: 8px;
	--lp-space-sm: 12px;
	--lp-space-md: 16px;
	--lp-space-lg: 24px;
	--lp-space-xl: 40px;
	--lp-space-2xl: 60px;
	--lp-space-3xl: 80px;
	--lp-space-4xl: 120px;

	/* Radios */
	--lp-radius: 8px;
	--lp-radius-md: 8px;
	--lp-radius-lg: 12px;
	--lp-radius-xl: 18px;
	--lp-radius-full: 9999px;

	/* Tipografía */
	--lp-font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--lp-font-size-xs: 0.75rem;
	--lp-font-size-sm: 0.95rem;
	--lp-font-size-md: 1.05rem;
	--lp-font-weight-bold: 600;
	--lp-font-weight-black: 950;
	--lp-line-height-tight: 1.12;
	--lp-line-height-relaxed: 1.7;

	/* Layout */
	--lp-container: 1200px;
	--lp-container-max: 1200px;
	--lp-container-width: 1200px;
	--lp-max-width: 1200px;

	/* Efectos */
	--lp-shadow-hover: 0 14px 40px rgba(0, 0, 0, 0.10);
	--lp-hover-lift: -3px;
	--lp-hover-scale: 1.04;
	--lp-transition-duration: 0.2s;
}

/* shared: utilities.css */
/* Utilidades compartidas del sistema de bloques */

/* Texto solo para lectores de pantalla */
.lp-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}



:root{--lp-primary:#3b82f6;--lp-primary-dark:#2563eb;--lp-primary-light:#60a5fa;--lp-secondary:#8b5cf6;--lp-secondary-dark:#7c3aed;--lp-secondary-light:#a78bfa;--lp-success:#10b981;--lp-warning:#f59e0b;--lp-danger:#ef4444;--lp-info:#06b6d4;--lp-white:#ffffff;--lp-gray-50:#f9fafb;--lp-gray-100:#f3f4f6;--lp-gray-200:#e5e7eb;--lp-gray-300:#d1d5db;--lp-gray-400:#9ca3af;--lp-gray-500:#6b7280;--lp-gray-600:#4b5563;--lp-gray-700:#374151;--lp-gray-800:#1f2937;--lp-gray-900:#111827;--lp-black:#000000;--lp-font-sans:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;--lp-font-serif:Georgia,Cambria,'Times New Roman',Times,serif;--lp-font-mono:'Courier New',Courier,monospace;--lp-text-xs:0.75rem;--lp-text-sm:0.875rem;--lp-text-base:1rem;--lp-text-lg:1.125rem;--lp-text-xl:1.25rem;--lp-text-2xl:1.5rem;--lp-text-3xl:1.875rem;--lp-text-4xl:2.25rem;--lp-text-5xl:3rem;--lp-space-1:0.25rem;--lp-space-2:0.5rem;--lp-space-3:0.75rem;--lp-space-4:1rem;--lp-space-5:1.25rem;--lp-space-6:1.5rem;--lp-space-8:2rem;--lp-space-10:2.5rem;--lp-space-12:3rem;--lp-space-16:4rem;--lp-radius-sm:0.25rem;--lp-radius:0.5rem;--lp-radius-lg:1rem;--lp-radius-full:9999px;--lp-shadow-sm:0 1px 2px 0 rgba(0,0,0,0.05);--lp-shadow:0 1px 3px 0 rgba(0,0,0,0.1),0 1px 2px 0 rgba(0,0,0,0.06);--lp-shadow-md:0 4px 6px -1px rgba(0,0,0,0.1),0 2px 4px -1px rgba(0,0,0,0.06);--lp-shadow-lg:0 10px 15px -3px rgba(0,0,0,0.1),0 4px 6px -2px rgba(0,0,0,0.05);--lp-shadow-xl:0 20px 25px -5px rgba(0,0,0,0.1),0 10px 10px -5px rgba(0,0,0,0.04);--lp-transition:all 0.3s ease;--lp-transition-fast:all 0.15s ease;}.lp-container *{box-sizing:border-box;margin:0;padding:0;}.lp-container{width:100%;max-width:1200px;margin:0 auto;padding:0 var(--lp-space-4);font-family:var(--lp-font-sans);font-size:var(--lp-text-base);line-height:1.6;color:var(--lp-gray-900);}.lp-container--narrow{max-width:800px;}.lp-container--wide{max-width:1400px;}.lp-container--full{max-width:100%;}.lp-section{padding:var(--lp-space-16) 0;}.lp-section--sm{padding:var(--lp-space-8) 0;}.lp-section--lg{padding:var(--lp-space-20,5rem) 0;}.lp-section-title{font-size:var(--lp-text-4xl);font-weight:700;line-height:1.2;margin-bottom:var(--lp-space-6);color:var(--lp-gray-900);text-align:center;}.lp-section-subtitle{font-size:var(--lp-text-xl);line-height:1.5;margin-bottom:var(--lp-space-8);color:var(--lp-gray-600);text-align:center;}.lp-h1{font-size:var(--lp-text-5xl);font-weight:800;line-height:1.1;margin-bottom:var(--lp-space-6);color:var(--lp-gray-900);}.lp-h2{font-size:var(--lp-text-4xl);font-weight:700;line-height:1.2;margin-bottom:var(--lp-space-5);color:var(--lp-gray-900);}.lp-h3{font-size:var(--lp-text-3xl);font-weight:600;line-height:1.3;margin-bottom:var(--lp-space-4);color:var(--lp-gray-900);}.lp-text-lead{font-size:var(--lp-text-xl);line-height:1.6;color:var(--lp-gray-700);}.lp-text-muted{color:var(--lp-gray-600);}.lp-text-small{font-size:var(--lp-text-sm);}.lp-btn{display:inline-block;padding:var(--lp-space-3) var(--lp-space-6);font-size:var(--lp-text-base);font-weight:600;text-align:center;text-decoration:none;border:none;border-radius:var(--lp-radius);cursor:pointer;transition:var(--lp-transition);line-height:1.5;}.lp-btn--primary{background-color:var(--lp-primary);color:var(--lp-white);}.lp-btn--primary:hover{background-color:var(--lp-primary-dark);transform:translateY(-2px);box-shadow:var(--lp-shadow-md);}.lp-btn--secondary{background-color:var(--lp-secondary);color:var(--lp-white);}.lp-btn--secondary:hover{background-color:var(--lp-secondary-dark);transform:translateY(-2px);box-shadow:var(--lp-shadow-md);}.lp-btn--outline{background-color:transparent;border:2px solid var(--lp-primary);color:var(--lp-primary);}.lp-btn--outline:hover{background-color:var(--lp-primary);color:var(--lp-white);}.lp-btn--ghost{background-color:transparent;color:var(--lp-primary);}.lp-btn--ghost:hover{background-color:var(--lp-gray-100);}.lp-btn--sm{padding:var(--lp-space-2) var(--lp-space-4);font-size:var(--lp-text-sm);}.lp-btn--lg{padding:var(--lp-space-4) var(--lp-space-8);font-size:var(--lp-text-lg);}.lp-btn--full{width:100%;}.lp-card{background-color:var(--lp-white);border-radius:var(--lp-radius-lg);box-shadow:var(--lp-shadow);padding:var(--lp-space-6);transition:var(--lp-transition);}.lp-card:hover{box-shadow:var(--lp-shadow-lg);transform:translateY(-4px);}.lp-card-title{font-size:var(--lp-text-xl);font-weight:600;margin-bottom:var(--lp-space-3);color:var(--lp-gray-900);}.lp-card-content{color:var(--lp-gray-700);}.lp-grid{display:grid;gap:var(--lp-space-6);}.lp-grid--2{grid-template-columns:repeat(2,1fr);}.lp-grid--3{grid-template-columns:repeat(3,1fr);}.lp-grid--4{grid-template-columns:repeat(4,1fr);}@media (max-width:1024px){.lp-grid--3,.lp-grid--4{grid-template-columns:repeat(2,1fr);}}@media (max-width:640px){.lp-grid--2,.lp-grid--3,.lp-grid--4{grid-template-columns:1fr;}}.lp-text-center{text-align:center;}.lp-text-left{text-align:left;}.lp-text-right{text-align:right;}.lp-mt-4{margin-top:var(--lp-space-4);}.lp-mb-4{margin-bottom:var(--lp-space-4);}.lp-my-4{margin-top:var(--lp-space-4);margin-bottom:var(--lp-space-4);}.lp-mt-8{margin-top:var(--lp-space-8);}.lp-mb-8{margin-bottom:var(--lp-space-8);}.lp-my-8{margin-top:var(--lp-space-8);margin-bottom:var(--lp-space-8);}@media (max-width:640px){:root{--lp-text-5xl:2.25rem;--lp-text-4xl:1.875rem;--lp-text-3xl:1.5rem;}.lp-section{padding:var(--lp-space-8) 0;}}

:root {
	--lp-primary: #c60202;
	--lp-primary-dark: #b20000;
	--lp-primary-light: #ee2a2a;
	--lp-secondary: #8a1515;
	--lp-secondary-dark: #760101;
	--lp-accent: #c9a45c;
	--lp-neutral-dark: #2c241d;
	--lp-neutral-light: #f8f4ee;
	--lp-surface: #f6f2ec;
	--lp-border: #776f68;
	--lp-muted: #5e564f;
	--lp-success: #16A34A;
	--lp-warning: #F59E0B;
	--lp-danger: #DC2626;
	--lp-info: #2563EB;
	--lp-text: #2c241d;
	--lp-text-light: #4a423b;
	--lp-bg: #fbf7f1;
	--lp-font: Inter;
	--lp-font-sans: Inter;
	--lp-font-heading: Playfair Display;
	--lp-font-body: Inter;
	--lp-font-script: 'Merienda', cursive;
	--lp-radius: 8px;
	--lp-section-space: clamp(3rem, 5vw, 4.5rem);
}
body {
	font-family: var(--lp-font-body);
}
h1, h2, h3, h4, h5, h6 {
	font-family: var(--lp-font-heading);
}
button, .lp-btn, input, select, textarea {
	border-radius: var(--lp-radius);
}
@media (max-width: 768px) {
	.lp-hide-mobile {
		display: none !important;
	}
	.lp-hide-desktop {
		display: inherit;
	}
}
@media (min-width: 769px) {
	.lp-hide-mobile {
		display: inherit;
	}
	.lp-hide-desktop {
		display: none !important;
	}
}


/* ============================================================
   HERO v2 — cinemático (slideshow Ken Burns, reveal, parallax)
   ============================================================ */
.lp-hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  padding: var(--lp-space-3xl, 80px) var(--lp-space-lg, 24px);
}
.lp-hero--h-full { min-height: 100svh; }
.lp-hero--h-tall { min-height: 78svh; }
.lp-hero--h-compact { min-height: 46svh; }

/* ---------- Media (slides / vídeo / gradiente) ---------- */
.lp-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.lp-hero__slide {
  position: absolute;
  inset: -4%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
  will-change: opacity, transform;
}
.lp-hero__slide.is-active { opacity: 1; }
/* Ken Burns: zoom+pan alterno por slide activo.
   El slide SALIENTE conserva la MISMA animación en pausa (.is-leaving): si se quitara
   en seco, el transform volvería a scale(1) de golpe y la foto daría un salto visible
   durante el crossfade. El JS retira .is-leaving cuando el fundido ya terminó. */
.lp-hero--fx-kenburns .lp-hero__slide.is-active,
.lp-hero--fx-kenburns .lp-hero__slide.is-leaving { animation: lpHeroKenburns 9s ease-out forwards; }
.lp-hero--fx-kenburns .lp-hero__slide.is-active:nth-child(even),
.lp-hero--fx-kenburns .lp-hero__slide.is-leaving:nth-child(even) { animation-name: lpHeroKenburnsAlt; }
.lp-hero--fx-kenburns .lp-hero__slide.is-leaving { animation-play-state: paused; }
@keyframes lpHeroKenburns { from { transform: scale(1) translateX(0); } to { transform: scale(1.09) translateX(-1.5%); } }
@keyframes lpHeroKenburnsAlt { from { transform: scale(1.09) translateY(-1%); } to { transform: scale(1) translateY(0); } }
/* Efecto slide: desliza lateralmente al entrar; el saliente NO recupera el offset mientras se funde */
.lp-hero--fx-slide .lp-hero__slide { transition: opacity 0.9s ease, transform 0.9s ease; transform: translateX(3%); }
.lp-hero--fx-slide .lp-hero__slide.is-active,
.lp-hero--fx-slide .lp-hero__slide.is-leaving { transform: translateX(0); }
.lp-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lp-hero__media--gradient {
  background: linear-gradient(130deg, var(--lp-primary, #3b82f6), var(--lp-secondary, #8b5cf6) 55%, var(--lp-accent, #ec4899));
  background-size: 220% 220%;
  animation: lpHeroGradient 16s ease infinite;
}
@keyframes lpHeroGradient { 0%,100% { background-position: 0% 40%; } 50% { background-position: 100% 60%; } }

/* ---------- Overlays cinematográficos ---------- */
.lp-hero__overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.lp-hero--ov-cinematic .lp-hero__overlay { background: linear-gradient(180deg, rgba(6,10,18,0.35) 0%, rgba(6,10,18,0.15) 35%, rgba(6,10,18,0.72) 100%); }
.lp-hero--ov-dark .lp-hero__overlay { background: rgba(6, 10, 18, 0.58); }
.lp-hero--ov-light .lp-hero__overlay { background: rgba(6, 10, 18, 0.3); }
.lp-hero--ov-gradient-left .lp-hero__overlay { background: linear-gradient(90deg, rgba(6,10,18,0.82) 0%, rgba(6,10,18,0.55) 42%, rgba(6,10,18,0.12) 100%); }
.lp-hero--ov-gradient-right .lp-hero__overlay { background: linear-gradient(270deg, rgba(6,10,18,0.82) 0%, rgba(6,10,18,0.55) 42%, rgba(6,10,18,0.12) 100%); }
.lp-hero--ov-none .lp-hero__overlay { background: none; }

/* ---------- Contenido ---------- */
.lp-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--lp-max-width, 1200px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.lp-hero--center .lp-hero__inner { justify-content: center; text-align: center; }
.lp-hero--center .lp-hero__content { max-width: 54rem; }
.lp-hero--left .lp-hero__content { max-width: 40rem; }
.lp-hero--split .lp-hero__content { flex: 1.1; max-width: 36rem; }
.lp-hero--split .lp-hero__aside { flex: 1; }

.lp-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--lp-radius-full, 9999px);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(8px);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.lp-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.92;
  margin: 0 0 16px 0;
}
.lp-hero--center .lp-hero__eyebrow { justify-content: center; }
.lp-hero__eyebrow-line {
  width: 34px;
  height: 2px;
  background: var(--lp-primary, #3b82f6);
  border-radius: 2px;
  flex: none;
}
.lp-hero--center .lp-hero__eyebrow-line { display: none; }

.lp-hero__title {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 850;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 20px 0;
  text-shadow: 0 12px 44px rgba(0, 0, 0, 0.28);
  text-wrap: balance;
}
.lp-hero__accent {
  position: relative;
  font-style: normal;
  /* Sobre foto/overlay oscuro un primario oscuro (terracota, granate…) se pierde:
     se aclara mezclando con blanco para asegurar contraste AA sin perder la marca */
  color: color-mix(in srgb, var(--lp-primary, #3b82f6) 55%, #fff);
  white-space: nowrap;
}
.lp-hero--ov-light .lp-hero__accent,
.lp-hero--ov-none .lp-hero__accent {
  color: var(--lp-primary, #3b82f6);
}
.lp-hero__accent-stroke {
  position: absolute;
  left: -2%;
  bottom: -0.18em;
  width: 104%;
  height: 0.22em;
  color: currentColor;
  opacity: 0.85;
}
.lp-hero--reveal .lp-hero__accent-stroke path {
  stroke-dasharray: 130;
  stroke-dashoffset: 130;
  animation: lpHeroStroke 0.7s ease-out 1s forwards;
}
@keyframes lpHeroStroke { to { stroke-dashoffset: 0; } }

.lp-hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.65;
  opacity: 0.94;
  max-width: 44rem;
  margin: 0 0 30px 0;
}
.lp-hero--center .lp-hero__subtitle { margin-left: auto; margin-right: auto; }

/* ---------- CTAs ---------- */
.lp-hero__ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.lp-hero--center .lp-hero__ctas { justify-content: center; }
.lp-hero__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.02rem;
  text-decoration: none;
  border-radius: var(--lp-radius-full, 9999px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  overflow: hidden;
}
.lp-hero__cta--primary {
  padding: 16px 34px;
  background: var(--lp-primary, #3b82f6);
  color: #fff;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.3);
}
.lp-hero__cta--primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 20px 48px rgba(0, 0, 0, 0.38); }
.lp-hero__cta-shine {
  position: absolute;
  top: 0;
  left: -80%;
  width: 55%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
  pointer-events: none;
}
.lp-hero__cta--primary:hover .lp-hero__cta-shine { left: 130%; }
.lp-hero__cta--ghost {
  padding: 15px 26px;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
}
.lp-hero__cta--ghost:hover { background: rgba(255, 255, 255, 0.16); border-color: #fff; }
.lp-hero__cta-arrow { transition: transform 0.2s ease; }
.lp-hero__cta--ghost:hover .lp-hero__cta-arrow { transform: translateX(4px); }

/* ---------- Trust ---------- */
.lp-hero__trust {
  list-style: none;
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
  font-weight: 600;
  opacity: 0.92;
}
.lp-hero--center .lp-hero__trust { justify-content: center; }
.lp-hero__trust-item { display: inline-flex; align-items: center; gap: 9px; }
.lp-hero__trust-item i { color: var(--lp-primary, #3b82f6); filter: brightness(1.35); }

/* ---------- Split card ---------- */
.lp-hero__card {
  position: relative;
  margin: 0;
  border-radius: var(--lp-radius-xl, 18px);
  overflow: hidden;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.45);
  transform: perspective(1100px) rotateY(-4deg);
  transition: transform 0.45s ease;
}
.lp-hero__card:hover { transform: perspective(1100px) rotateY(0deg) translateY(-6px); }
.lp-hero__card img { display: block; width: 100%; height: auto; }
.lp-hero__card-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(215deg, rgba(255, 255, 255, 0.2), transparent 38%);
  pointer-events: none;
}

/* ---------- Slider UI (dots con progreso) ---------- */
.lp-hero__slider-ui {
  position: absolute;
  left: 50%;
  bottom: clamp(64px, 9vh, 96px);
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.lp-hero__dot {
  position: relative;
  width: 34px;
  height: 5px;
  border: none;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.32);
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  transition: background 0.25s ease;
}
.lp-hero__dot:hover { background: rgba(255, 255, 255, 0.55); }
.lp-hero__dot-progress {
  position: absolute;
  inset: 0;
  transform: scaleX(0);
  transform-origin: left;
  background: #fff;
  border-radius: 4px;
}
.lp-hero__dot.is-active .lp-hero__dot-progress { animation: lpHeroDot var(--lp-hero-slide-ms, 6000ms) linear forwards; }
@keyframes lpHeroDot { to { transform: scaleX(1); } }

/* ---------- Scroll cue ---------- */
.lp-hero__scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 3;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.lp-hero__scroll-cue:hover { opacity: 1; transform: translateX(-50%) translateY(3px); }
.lp-hero__mouse {
  display: block;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 14px;
  position: relative;
}
.lp-hero__wheel {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 3px;
  background: #fff;
  animation: lpHeroWheel 1.8s ease-in-out infinite;
}
@keyframes lpHeroWheel { 0%,100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(12px); opacity: 0; } 61% { transform: translateY(0); opacity: 0; } }

/* ---------- Reveal en cascada ---------- */
.lp-hero--reveal [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  animation: lpHeroReveal 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.lp-hero--reveal [data-reveal="1"] { animation-delay: 0.05s; }
.lp-hero--reveal [data-reveal="2"] { animation-delay: 0.15s; }
.lp-hero--reveal [data-reveal="3"] { animation-delay: 0.28s; }
.lp-hero--reveal [data-reveal="4"] { animation-delay: 0.44s; }
.lp-hero--reveal [data-reveal="5"] { animation-delay: 0.6s; }
.lp-hero--reveal [data-reveal="6"] { animation-delay: 0.75s; }
@keyframes lpHeroReveal { to { opacity: 1; transform: translateY(0); } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .lp-hero__inner { flex-direction: column; text-align: center; }
  .lp-hero--left .lp-hero__content, .lp-hero--split .lp-hero__content { max-width: 100%; }
  .lp-hero--left .lp-hero__ctas, .lp-hero--split .lp-hero__ctas, .lp-hero--left .lp-hero__trust, .lp-hero--split .lp-hero__trust { justify-content: center; }
  .lp-hero--left .lp-hero__eyebrow, .lp-hero--split .lp-hero__eyebrow { justify-content: center; }
  .lp-hero__card { transform: none; }
  .lp-hero__slider-ui { bottom: 74px; }
}
@media (max-width: 640px) {
  .lp-hero { padding: var(--lp-space-2xl, 60px) var(--lp-space-md, 16px); }
  .lp-hero--h-full { min-height: 92svh; }
  .lp-hero__ctas { flex-direction: column; align-items: stretch; }
  .lp-hero__cta { justify-content: center; }
  .lp-hero__scroll-cue { display: none; }
}

/* ---------- Reduced motion: todo cae a estático elegante ---------- */
@media (prefers-reduced-motion: reduce) {
  .lp-hero__slide, .lp-hero--fx-kenburns .lp-hero__slide.is-active,
  .lp-hero__media--gradient, .lp-hero__wheel,
  .lp-hero--reveal [data-reveal], .lp-hero__dot.is-active .lp-hero__dot-progress,
  .lp-hero--reveal .lp-hero__accent-stroke path {
    animation: none !important;
  }
  .lp-hero--reveal [data-reveal] { opacity: 1; transform: none; }
  .lp-hero--reveal .lp-hero__accent-stroke path { stroke-dashoffset: 0; }
  .lp-hero__slide { transition: opacity 0.6s ease; }
}



/* ============================================================
   FEATURES v2 — cards premium (spotlight, chip degradado, reveal)
   ============================================================ */
.lp-features {
  position: relative;
  padding: var(--lp-space-2xl, 80px) var(--lp-space-lg, 24px);
}
.lp-features--bg-white { background: var(--lp-bg, #ffffff); }
.lp-features--bg-light { background: var(--lp-bg-secondary, #f9fafb); }
.lp-features--bg-dark { background: var(--lp-text, #1f2937); color: var(--lp-bg-secondary, #f9fafb); }

.lp-features__inner { max-width: var(--lp-max-width, 1200px); margin: 0 auto; }

/* ---------- Cabecera ---------- */
.lp-features__header { text-align: center; max-width: 46rem; margin: 0 auto var(--lp-space-xl, 48px); }
.lp-features__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px 0;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lp-primary, #3b82f6);
}
.lp-features--bg-dark .lp-features__eyebrow { color: color-mix(in srgb, var(--lp-primary, #3b82f6) 60%, #fff); }
.lp-features__eyebrow-line { width: 34px; height: 2px; background: currentColor; border-radius: 2px; }
.lp-features__title {
  margin: 0 0 14px 0;
  font-family: var(--lp-font-heading, inherit);
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  font-weight: 850;
  letter-spacing: -0.02em;
  line-height: 1.12;
}
.lp-features__accent-word { font-style: normal; color: var(--lp-primary, #3b82f6); }
.lp-features--bg-dark .lp-features__accent-word { color: color-mix(in srgb, var(--lp-primary, #3b82f6) 55%, #fff); }
.lp-features__subtitle { margin: 0; font-size: 1.05rem; line-height: 1.65; opacity: 0.82; }

/* ---------- Grid ---------- */
.lp-features__grid { display: grid; gap: clamp(18px, 2.5vw, 28px); }
.lp-features--cols-2 .lp-features__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lp-features--cols-3 .lp-features__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lp-features--cols-4 .lp-features__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Tarjeta ---------- */
.lp-features__card {
  position: relative;
  overflow: hidden;
  padding: 30px 26px;
  border-radius: var(--lp-radius-lg, 16px);
  background: var(--lp-bg, #ffffff);
  border: 1px solid color-mix(in srgb, currentColor 9%, transparent);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.lp-features--bg-white .lp-features__card { background: var(--lp-bg-secondary, #f9fafb); }
.lp-features--bg-dark .lp-features__card { background: color-mix(in srgb, #ffffff 6%, transparent); border-color: color-mix(in srgb, #ffffff 14%, transparent); }
.lp-features__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.12);
  border-color: color-mix(in srgb, var(--lp-primary, #3b82f6) 40%, transparent);
}

/* Spotlight que sigue al ratón (vars --lp-mx/--lp-my puestas por script.js) */
.lp-features__spot {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: radial-gradient(360px circle at var(--lp-mx, 50%) var(--lp-my, 50%), color-mix(in srgb, var(--lp-primary, #3b82f6) 12%, transparent), transparent 65%);
}
.lp-features__card:hover .lp-features__spot { opacity: 1; }

/* ---------- Chip de icono ---------- */
.lp-features__chip {
  position: relative;
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  color: #fff;
  background: linear-gradient(135deg, var(--lp-primary, #3b82f6), color-mix(in srgb, var(--lp-primary, #3b82f6) 55%, var(--lp-secondary, #8b5cf6)));
  box-shadow: 0 10px 24px color-mix(in srgb, var(--lp-primary, #3b82f6) 35%, transparent);
  transform: rotate(-6deg);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.lp-features__card:hover .lp-features__chip { transform: rotate(0deg) scale(1.06); }

/* ---------- Contenido de la tarjeta ---------- */
.lp-features__card-title { margin: 0 0 10px 0; font-size: 1.14rem; font-weight: 800; letter-spacing: -0.01em; }
.lp-features__card-text { margin: 0; font-size: 0.95rem; line-height: 1.65; opacity: 0.82; }
.lp-features__badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 5px 12px;
  border-radius: var(--lp-radius-full, 9999px);
  background: var(--lp-accent, #ec4899);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.lp-features__number {
  position: absolute;
  top: 6px;
  right: 16px;
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1;
  opacity: 0.07;
  letter-spacing: -0.04em;
}
.lp-features__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--lp-primary, #3b82f6);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.92rem;
}
.lp-features--bg-dark .lp-features__link { color: color-mix(in srgb, var(--lp-primary, #3b82f6) 55%, #fff); }
.lp-features__link-arrow { transition: transform 0.18s ease; }
.lp-features__link:hover .lp-features__link-arrow { transform: translateX(4px); }

/* ---------- Estilo minimal ---------- */
.lp-features--minimal .lp-features__card { background: none; border: none; box-shadow: none; padding: 10px 6px; }
.lp-features--minimal .lp-features__card:hover { transform: none; box-shadow: none; }
.lp-features--minimal .lp-features__spot { display: none; }

/* ---------- Reveal escalonado ---------- */
.lp-features__header [data-reveal],
.lp-features__card { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.lp-features.is-inview .lp-features__header [data-reveal="1"] { opacity: 1; transform: none; transition-delay: 0.05s; }
.lp-features.is-inview .lp-features__header [data-reveal="2"] { opacity: 1; transform: none; transition-delay: 0.15s; }
.lp-features.is-inview .lp-features__header [data-reveal="3"] { opacity: 1; transform: none; transition-delay: 0.25s; }
.lp-features.is-inview .lp-features__card {
  opacity: 1;
  transform: none;
  transition-delay: calc(0.3s + var(--lp-card-i, 0) * 0.12s);
}
/* La transición de hover no debe heredar el delay del reveal */
.lp-features.is-inview .lp-features__card:hover { transition-delay: 0s; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .lp-features--cols-4 .lp-features__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .lp-features--cols-3 .lp-features__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .lp-features--cols-2 .lp-features__grid,
  .lp-features--cols-4 .lp-features__grid { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .lp-features__header [data-reveal],
  .lp-features__card { opacity: 1; transform: none; transition: none; }
  .lp-features__chip { transform: none; transition: none; }
  .lp-features__spot { display: none; }
}



/* ============================================================
   CTA_CONTACT v2 — banda final (orbes animados, shine, chips)
   ============================================================ */
.lp-cta-contact {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(70px, 10vw, 120px) var(--lp-space-lg, 24px);
  text-align: center;
}
.lp-cta-contact--bg-dark { background: color-mix(in srgb, var(--lp-text, #1f2937) 92%, #000); color: #fff; }
.lp-cta-contact--bg-brand { background: linear-gradient(135deg, var(--lp-primary, #3b82f6), color-mix(in srgb, var(--lp-primary, #3b82f6) 40%, #000)); color: #fff; }
.lp-cta-contact--bg-light { background: var(--lp-bg-secondary, #f9fafb); }
.lp-cta-contact--bg-image { color: #fff; }

/* ---------- Foto de fondo (bg image) ---------- */
.lp-cta-contact__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
}
.lp-cta-contact--bg-image .lp-cta-contact__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(8, 8, 10, 0.82), rgba(8, 8, 10, 0.55));
}

/* ---------- Orbes de luz animados (dark/brand/light) ---------- */
.lp-cta-contact__orbs { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.lp-cta-contact__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
  will-change: transform;
}
.lp-cta-contact__orb--1 {
  width: 420px;
  height: 420px;
  left: -120px;
  top: -140px;
  background: var(--lp-primary, #3b82f6);
  animation: lpCtaOrb1 16s ease-in-out infinite alternate;
}
.lp-cta-contact__orb--2 {
  width: 340px;
  height: 340px;
  right: -100px;
  bottom: -120px;
  background: var(--lp-secondary, #8b5cf6);
  animation: lpCtaOrb2 20s ease-in-out infinite alternate;
}
.lp-cta-contact__orb--3 {
  width: 220px;
  height: 220px;
  right: 22%;
  top: -80px;
  background: var(--lp-accent, #ec4899);
  opacity: 0.3;
  animation: lpCtaOrb1 24s ease-in-out infinite alternate-reverse;
}
.lp-cta-contact--bg-light .lp-cta-contact__orb { opacity: 0.16; }
@keyframes lpCtaOrb1 { to { transform: translate(60px, 40px) scale(1.15); } }
@keyframes lpCtaOrb2 { to { transform: translate(-50px, -35px) scale(1.1); } }

/* ---------- Contenido ---------- */
.lp-cta-contact__inner { position: relative; max-width: 52rem; margin: 0 auto; }
.lp-cta-contact__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px 0;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lp-primary, #3b82f6);
}
.lp-cta-contact--bg-dark .lp-cta-contact__eyebrow,
.lp-cta-contact--bg-brand .lp-cta-contact__eyebrow,
.lp-cta-contact--bg-image .lp-cta-contact__eyebrow { color: color-mix(in srgb, var(--lp-primary, #3b82f6) 45%, #fff); }
.lp-cta-contact__eyebrow-line { width: 34px; height: 2px; background: currentColor; border-radius: 2px; }
.lp-cta-contact__title {
  margin: 0 0 16px 0;
  font-family: var(--lp-font-heading, inherit);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.08;
}
.lp-cta-contact__accent-word { font-style: normal; color: var(--lp-primary, #3b82f6); }
.lp-cta-contact--bg-dark .lp-cta-contact__accent-word,
.lp-cta-contact--bg-image .lp-cta-contact__accent-word { color: color-mix(in srgb, var(--lp-primary, #3b82f6) 55%, #fff); }
.lp-cta-contact--bg-brand .lp-cta-contact__accent-word { color: #ffe9d6; }
.lp-cta-contact__subtitle { margin: 0 auto; max-width: 40rem; font-size: 1.08rem; line-height: 1.65; opacity: 0.85; }

/* ---------- CTAs ---------- */
.lp-cta-contact__ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.lp-cta-contact__btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: var(--lp-radius-full, 9999px);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.02rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.lp-cta-contact__btn--primary {
  background: var(--lp-primary, #3b82f6);
  color: #fff;
  box-shadow: 0 14px 36px color-mix(in srgb, var(--lp-primary, #3b82f6) 45%, transparent);
}
.lp-cta-contact--bg-brand .lp-cta-contact__btn--primary { background: #fff; color: var(--lp-primary, #3b82f6); box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3); }
.lp-cta-contact__btn--primary:hover { transform: translateY(-3px); box-shadow: 0 20px 46px color-mix(in srgb, var(--lp-primary, #3b82f6) 55%, transparent); }
.lp-cta-contact__btn-shine {
  position: absolute;
  top: 0;
  left: -80%;
  width: 60%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  animation: lpCtaShine 4.5s ease-in-out infinite;
}
@keyframes lpCtaShine { 0%, 55% { left: -80%; } 75%, 100% { left: 130%; } }
.lp-cta-contact__btn--ghost {
  border: 2px solid color-mix(in srgb, currentColor 40%, transparent);
  color: inherit;
}
.lp-cta-contact__btn--ghost:hover { border-color: currentColor; transform: translateY(-3px); }

/* ---------- Chips de contacto ---------- */
.lp-cta-contact__methods {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.lp-cta-contact__chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  border-radius: var(--lp-radius-full, 9999px);
  background: color-mix(in srgb, currentColor 9%, transparent);
  border: 1px solid color-mix(in srgb, currentColor 16%, transparent);
  backdrop-filter: blur(6px);
  color: inherit;
  text-decoration: none;
  font-size: 0.92rem;
  transition: transform 0.16s ease, background 0.16s ease;
}
.lp-cta-contact__chip:hover { transform: translateY(-2px); background: color-mix(in srgb, currentColor 16%, transparent); }
.lp-cta-contact__chip i { color: var(--lp-primary, #3b82f6); }
.lp-cta-contact--bg-dark .lp-cta-contact__chip i,
.lp-cta-contact--bg-brand .lp-cta-contact__chip i,
.lp-cta-contact--bg-image .lp-cta-contact__chip i { color: color-mix(in srgb, var(--lp-primary, #3b82f6) 45%, #fff); }

.lp-cta-contact__note { margin: 22px 0 0 0; font-size: 0.88rem; opacity: 0.75; }
.lp-cta-contact__note i { color: var(--lp-success, #10b981); }

/* ---------- Reveal en cascada ---------- */
.lp-cta-contact [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.lp-cta-contact.is-inview [data-reveal="1"] { opacity: 1; transform: none; transition-delay: 0.05s; }
.lp-cta-contact.is-inview [data-reveal="2"] { opacity: 1; transform: none; transition-delay: 0.15s; }
.lp-cta-contact.is-inview [data-reveal="3"] { opacity: 1; transform: none; transition-delay: 0.27s; }
.lp-cta-contact.is-inview [data-reveal="4"] { opacity: 1; transform: none; transition-delay: 0.4s; }
.lp-cta-contact.is-inview [data-reveal="5"] { opacity: 1; transform: none; transition-delay: 0.52s; }
.lp-cta-contact.is-inview [data-reveal="6"] { opacity: 1; transform: none; transition-delay: 0.64s; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .lp-cta-contact [data-reveal] { opacity: 1; transform: none; transition: none; }
  .lp-cta-contact__orb { animation: none; }
  .lp-cta-contact__btn-shine { animation: none; display: none; }
}


