/*
Theme Name: Wepio Official Theme
Theme URI: https://wepio.ar
Description: Sistema Operativo Comercial Wepio v3 - Landing Page Oficial de Alto Rendimiento.
Author: Wepio Team
Author URI: https://wepio.ar
Version: 4.1.0
Text Domain: wepio-theme
*/

/* ==========================================================================
   WEPIO ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â Sistema de DiseÃƒÆ’Ã‚Â±o Base
   Brand Card Master v1.0 | EstÃƒÆ’Ã‚Â©tica: Ultra Minimalista / Flat Colors
   PROHIBIDO: degradÃƒÆ’Ã‚Â©s, gradientes, glassmorphism, bordes neÃƒÆ’Ã‚Â³n.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. IMPORTACIÃƒÆ’Ã¢â‚¬Å“N DE TIPOGRAFÃƒÆ’Ã‚ÂAS (Google Fonts)
   - Outfit: Titulares (H1, H2, H3). GeomÃƒÆ’Ã‚Â©trica, peso bold/semibold.
   - Inter: Cuerpo, UI, botones. Legibilidad extrema en pantallas.
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700;800&family=Inter:wght@400;500;600&display=swap');


/* --------------------------------------------------------------------------
   2. VARIABLES DEL SISTEMA DE DISEÃƒÆ’Ã¢â‚¬ËœO (Design Tokens)
   Paleta oficial extraÃƒÆ’Ã‚Â­da del Wepio Brand Card Master v1.0.
   -------------------------------------------------------------------------- */
:root {

  /* ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â Paleta de Color Oficial Light Theme & Pastel (Wepio Brand) ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â */
  --color-bg-primary:    #FFFFFF;   /* Canvas Blanco Puro | Fondo base */
  --color-bg-secondary:  #F8FAFC;   /* Slate 50 Ultraclaro | Secciones alternadas */
  --color-bg-surface:    #FFFFFF;   /* Superficie de Tarjetas */
  --color-bg-glass:      rgba(255, 255, 255, 0.85);
  --color-border-subtle: #E2E8F0;   /* Bordes limpios de tarjetas */
  --color-border-glass:  #E2E8F0;
  --color-border-focus:  #95A3BF;
  --color-border-glow:   rgba(82, 222, 151, 0.35);

  /* ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â Colores de Marca y Acciones ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â */
  --color-cta:           #52DE97;   /* Menta Oficial | Botones CTA, estados activos */
  --color-cta-hover:     #3C9D9B;   /* Teal Oscuro | Hover de CTA */
  --color-cta-text:      #064E3B;   /* Verde Bosque Oscuro | Texto sobre CTA */
  --color-highlight:     #B4E8CC;   /* Menta Pastel Suave | Badges, hovers */
  
  /* ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â Paleta Pastel Exclusiva (wepio_colors_pastel.png) ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â */
  --color-pastel-mint:   #B4E8CC;   /* Menta Pastel */
  --color-pastel-blue:   #95A3BF;   /* Baby Blue / Azul Pastel */
  --color-pastel-teal:   #A4D8D7;   /* Aqua / Teal Pastel */
  --color-pastel-coral:  #FFD4D2;   /* MelocotÃƒÆ’Ã‚Â³n / Coral Pastel */
  --color-pastel-lime:   #E7FFE1;   /* Lima Pastel */

  /* ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â TipografÃƒÆ’Ã‚Â­a de Alto Contraste para Fondo Claro ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â */
  --color-text-primary:  #0F172A;   /* Slate 900 Profundo | H1, H2, tÃƒÆ’Ã‚Â­tulos */
  --color-text-secondary:#334155;   /* Slate 700 | Cuerpo de texto, leads */
  --color-text-muted:    #64748B;   /* Slate 500 | SubtÃƒÆ’Ã‚Â­tulos, captions */
  --color-error:         #EF4444;   /* Rojo sÃƒÆ’Ã‚Â³lido | Errores */
  --color-success:       #10B981;   /* Verde menta | ÃƒÆ’Ã¢â‚¬Â°xito */

  /* ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â Gradientes y Glows Sutiles ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â */
  --gradient-hero-title: linear-gradient(135deg, #0F172A 30%, #334155 70%, #0D9488 100%);
  --gradient-cta:        linear-gradient(135deg, #52DE97 0%, #3C9D9B 100%);
  --gradient-glass-card: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  --gradient-accent-glow:radial-gradient(circle at 50% 0%, rgba(180, 232, 204, 0.3) 0%, rgba(255, 255, 255, 0) 70%);

  /* ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â TipografÃƒÆ’Ã‚Â­a ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â */
  --font-heading: 'Outfit', system-ui, sans-serif;
  --font-body:    'Inter',  system-ui, sans-serif;

  /* ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â Escala tipogrÃƒÆ’Ã‚Â¡fica (clamp: responsive sin media queries) ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  clamp(2rem, 5vw, 3.25rem);
  --text-5xl:  clamp(2.5rem, 6vw, 4.25rem);

  /* ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â Peso tipogrÃƒÆ’Ã‚Â¡fico ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â */
  --font-regular:   400;
  --font-medium:    500;
  --font-semibold:  600;
  --font-bold:      700;
  --font-extrabold: 800;

  /* ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â Espaciado ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â Bordes y radios ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â */
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  /* ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â Sombras Limpias SaaS ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â */
  --shadow-card: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04), 0 0 0 1px #E2E8F0;
  --shadow-glow: 0 0 24px rgba(82, 222, 151, 0.25);
  --shadow-btn:  none;

  /* ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â Layout ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â */
  --container-max: 1240px;
  --container-padding: var(--space-6);

  /* ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â Transiciones ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â */
  --transition-fast:   150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:   400ms cubic-bezier(0.4, 0, 0.2, 1);

  /* ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â Altura del Header ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â */
  --header-height: 76px;
}


/* --------------------------------------------------------------------------
   3. RESET MODERNO
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-regular);
  line-height: 1.6;
  color: var(--color-text-secondary);
  background-color: var(--color-bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}

ul, ol { list-style: none; }

a {
  color: inherit;
  text-decoration: none;
}

img, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button { cursor: pointer; }

[hidden] { display: none !important; }


/* --------------------------------------------------------------------------
   3.5 GLOBAL BACKGROUND
   -------------------------------------------------------------------------- */
.global-bg {
  display: none !important; /* Desactivado para fondo limpio SaaS */
}

.global-overlay {
  display: none !important;
}

/* --------------------------------------------------------------------------
   4. LAYOUT ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â Contenedor Central
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.container--wide   { max-width: 1400px; }
.container--narrow { max-width: 760px; }


/* --------------------------------------------------------------------------
   5. SISTEMA TIPOGRÃƒÆ’Ã‚ÂFICO
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-bold);
  line-height: 1.15;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); font-weight: var(--font-semibold); }
h4 { font-size: var(--text-xl);  font-weight: var(--font-semibold); }

p {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.text-lead      { font-size: var(--text-lg); line-height: 1.65; color: var(--color-text-secondary); }
.text-highlight { color: #064E3B; font-weight: var(--font-bold); background-color: var(--color-pastel-lime); padding: 2px 6px; border-radius: var(--radius-sm); }
.text-cta       { color: var(--color-cta-hover); font-weight: var(--font-semibold); }
.text-caption   { font-size: var(--text-sm); color: var(--color-text-muted); }


/* --------------------------------------------------------------------------
   6. BOTONES
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: var(--font-semibold);
  font-size: var(--text-base);
  line-height: 1;
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition:
    background-color var(--transition-normal),
    color            var(--transition-normal),
    border-color     var(--transition-normal),
    transform        var(--transition-fast),
    box-shadow       var(--transition-normal);
  text-align: center;
  white-space: nowrap;
  user-select: none;
  box-shadow: var(--shadow-btn);
}

.btn:active {
  transform: translateY(1px);
  box-shadow: none;
}

.btn-primary {
  background-color: var(--color-cta);
  color: var(--color-cta-text);
  border: 2px solid var(--color-cta);
}

.btn-primary:hover {
  background-color: var(--color-cta-hover);
  border-color: var(--color-cta-hover);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(60, 157, 155, 0.25);
}

.btn-secondary {
  background-color: #FFFFFF;
  color: var(--color-text-primary);
  border: 1.5px solid #CBD5E1;
}

.btn-secondary:hover {
  background-color: #F8FAFC;
  border-color: #94A3B8;
  color: var(--color-text-primary);
}

.btn-sm   { font-size: var(--text-sm); padding: var(--space-2) var(--space-5); }
.btn-lg   { font-size: var(--text-lg); padding: var(--space-5) var(--space-10); border-radius: var(--radius-lg); }
.btn-full { width: 100%; }


/* --------------------------------------------------------------------------
   7. BADGES / PILLS
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  background-color: var(--color-pastel-mint);
  color: var(--color-cta-text);
  border: 1px solid rgba(6, 78, 59, 0.2);
  white-space: nowrap;
}

.badge--cta  { background-color: var(--color-pastel-mint); color: var(--color-cta-text); }
.badge--dark { background-color: #F1F5F9; color: var(--color-text-primary); border: 1px solid #CBD5E1; }


/* --------------------------------------------------------------------------
   8. TARJETAS (Cards)
   -------------------------------------------------------------------------- */
.card {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-card);
  transition: 
    transform var(--transition-normal), 
    box-shadow var(--transition-normal), 
    border-color var(--transition-normal);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  border-color: #CBD5E1;
}

.card--dark { 
  background: #FFFFFF; 
  border: 1px solid var(--color-border-subtle);
}


/* --------------------------------------------------------------------------
   9. SECCIONES
   -------------------------------------------------------------------------- */
.section     { padding-block: var(--space-20); position: relative; }
.section--sm { padding-block: var(--space-12); position: relative; }
.section--lg { padding-block: var(--space-24); position: relative; }
.section--alt { 
  background-color: var(--color-bg-secondary); 
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}

.section-header              { text-align: center; margin-bottom: var(--space-12); }
.section-header__eyebrow     { font-family: var(--font-body); font-size: var(--text-xs); font-weight: var(--font-semibold); letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-cta-hover); margin-bottom: var(--space-3); }
.section-header__title       { margin-bottom: var(--space-4); color: var(--color-text-primary); background: none; -webkit-background-clip: initial; -webkit-text-fill-color: initial; }
.section-header__subtitle    { font-size: var(--text-lg); color: var(--color-text-muted); max-width: 640px; margin-inline: auto; }


/* --------------------------------------------------------------------------
   10. GRIDS UTILITARIOS
   -------------------------------------------------------------------------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }


/* --------------------------------------------------------------------------
   11. FLEXBOX UTILITARIOS
   -------------------------------------------------------------------------- */
.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col     { display: flex; flex-direction: column; }
.flex-gap-2   { gap: var(--space-2); }
.flex-gap-4   { gap: var(--space-4); }
.flex-gap-6   { gap: var(--space-6); }
.flex-gap-8   { gap: var(--space-8); }

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.mt-4  { margin-top: var(--space-4); }
.mt-6  { margin-top: var(--space-6); }
.mt-8  { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mb-4  { margin-bottom: var(--space-4); }
.mb-6  { margin-bottom: var(--space-6); }
.mb-8  { margin-bottom: var(--space-8); }


/* --------------------------------------------------------------------------
   12. DIVISOR
   -------------------------------------------------------------------------- */
.divider {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.10);
  margin-block: var(--space-6);
}


/* --------------------------------------------------------------------------
   13. ACCESIBILIDAD ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â Focus visible
   -------------------------------------------------------------------------- */
:focus-visible {
  outline: 3px solid var(--color-cta);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}


/* --------------------------------------------------------------------------
   14. RESPONSIVIDAD ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â Mobile First
   -------------------------------------------------------------------------- */

/* Tablet: max 768px */
@media (max-width: 768px) {

  :root {
    --container-padding: var(--space-4);
    --header-height: 60px;
  }

  h1 { font-size: clamp(2rem, 8vw, 2.5rem); }
  h2 { font-size: clamp(1.5rem, 6vw, 2rem); }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .card          { padding: var(--space-6); }
  .section       { padding-block: var(--space-12); }
  .section--lg   { padding-block: var(--space-16); }

  .btn-group-mobile .btn { width: 100%; }
}

/* Mobile pequeÃƒÆ’Ã‚Â±o: max 480px */
@media (max-width: 480px) {

  :root {
    --container-padding: var(--space-4);
  }

  .section-header__title { font-size: var(--text-3xl); }
  .btn { font-size: var(--text-sm); padding: var(--space-3) var(--space-6); }
}

/* Desktop grande: min 1024px */
@media (min-width: 1024px) {
  .grid-2 { gap: var(--space-8); }
  .grid-3 { gap: var(--space-8); }
  .grid-4 { gap: var(--space-6); }

  /* Ajustes del Hero original para PC */
  .hero__title:not(.hero__title--centered) {
    font-size: 2.4rem !important; /* Forzado a ser mÃƒÆ’Ã‚Â¡s pequeÃƒÆ’Ã‚Â±o sÃƒÆ’Ã‚Â³lo en hero original */
    line-height: 1.15;
  }
  .hero__subtitle {
    font-size: 1.1rem;
  }
  .hero__visual {
    transform: scale(0.7);
    transform-origin: top center;
    margin-top: 0;
  }
}


/* ==========================================================================
   PASO 2 ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â Estilos especificos: Header, Hero, Problem Banner
   ========================================================================== */


/* --------------------------------------------------------------------------
   SKIP LINK (Accesibilidad)
   Oculto visualmente, aparece al hacer foco con teclado
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  background-color: var(--color-cta);
  color: #1A2B1F;
  font-weight: var(--font-semibold);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  z-index: 9999;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-4);
}


/* --------------------------------------------------------------------------
   SITE HEADER
   Sticky, fondo blanco translÃƒÆ’Ã‚Âºcido, borde inferior sutil
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-subtle);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

/* Logo */
.site-header__logo {
  display: flex;
  align-items: baseline;
  gap: 2px;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: var(--font-extrabold);
  font-size: var(--text-2xl);
  color: var(--color-text-primary);
  letter-spacing: -0.03em;
  line-height: 1;
}

.logo-dot {
  font-family: var(--font-heading);
  font-weight: var(--font-extrabold);
  font-size: var(--text-2xl);
  color: var(--color-cta);
  line-height: 1;
}

/* Nav links de escritorio */
.site-nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.site-nav__link {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.site-nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-cta);
  transition: width var(--transition-normal);
  border-radius: var(--radius-full);
}

.site-nav__link:hover {
  color: var(--color-text-primary);
}

.site-nav__link:hover::after {
  width: 100%;
}

/* Boton hamburguesa (oculto en desktop) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  transition: background-color var(--transition-fast);
  flex-shrink: 0;
}

.nav-toggle:hover {
  background-color: #F1F5F9;
}

.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-text-primary);
  border-radius: var(--radius-full);
  transition: transform var(--transition-normal), opacity var(--transition-fast);
}

/* Estado abierto del hamburguesa */
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Menu mobile */
.mobile-menu {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--color-border-subtle);
  padding: var(--space-6) var(--space-4);
  z-index: 99;
  transform: translateY(-105%);
  opacity: 0;
  transition:
    transform var(--transition-normal),
    opacity   var(--transition-normal);
  pointer-events: none;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.mobile-menu__link {
  display: block;
  font-size: var(--text-base);
  font-weight: var(--font-medium);
  color: var(--color-text-secondary);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.mobile-menu__link:hover {
  background-color: #F8FAFC;
  color: var(--color-text-primary);
}


/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  background-color: transparent;
  padding-block: var(--space-20);
  position: relative;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: -50px;
}

/* Badge eyebrow */
.hero__eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

/* Titular H1 */
.hero__title {
  font-size: var(--text-5xl);
  font-weight: var(--font-extrabold);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-6);
  color: var(--color-text-primary);
}

.hero__title-accent {
  color: var(--color-cta-hover);
  display: inline;
}

/* Subtitulo */
.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

/* Bloque de estadisticas */
.hero__stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
  padding: var(--space-5) var(--space-6);
  background: #FFFFFF;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-1);
}

.hero__stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--font-extrabold);
  color: var(--color-cta-hover);
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero__stat-label {
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  color: var(--color-text-muted);
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero__stat-divider {
  width: 1px;
  height: 36px;
  background-color: var(--color-border-subtle);
  flex-shrink: 0;
}

/* CTAs */
.hero__ctas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.hero__caption {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   MOCKUP TECNOLÃƒÆ’Ã¢â‚¬Å“GICO INTERACTIVO
   -------------------------------------------------------------------------- */
.hero__visual {
  position: relative;
  width: 100%;
  margin-top: 30px;
}

.tech-mockup {
  background: #FFFFFF;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.10), 0 0 0 1px #E2E8F0;
  overflow: hidden;
  position: relative;
}

.tech-mockup__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-5);
  background: #F8FAFC;
  border-bottom: 1px solid var(--color-border-subtle);
}

.tech-mockup__dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot--red    { background: #FF5F56; }
.dot--yellow { background: #FFBD2E; }
.dot--green  { background: #27C93F; }

.tech-mockup__title {
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  color: var(--color-text-secondary);
  letter-spacing: 0.02em;
}

.tech-mockup__badge {
  font-size: 0.7rem;
  font-weight: var(--font-semibold);
  color: var(--color-cta-text);
  background: var(--color-pastel-mint);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(6, 78, 59, 0.2);
}

.tech-mockup__body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-height: 320px;
  background: #FFFFFF;
}

.chat-message {
  max-width: 85%;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  line-height: 1.5;
  position: relative;
  animation: fadeIn 0.4s ease-out forwards;
}

.chat-message--user {
  align-self: flex-end;
  background: #F1F5F9;
  color: var(--color-text-primary);
  border-bottom-right-radius: 2px;
  border: 1px solid #E2E8F0;
}

.chat-message--bot {
  align-self: flex-start;
  background: rgba(164, 216, 215, 0.25);
  border: 1px solid var(--color-pastel-teal);
  color: var(--color-text-primary);
  border-bottom-left-radius: 2px;
}

.chat-message--success {
  align-self: flex-start;
  background: rgba(180, 232, 204, 0.35);
  border: 1px solid var(--color-pastel-mint);
  color: #064E3B;
}

.chat-message__author {
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  color: #0D9488;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.chat-message__time {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  display: block;
  margin-top: 4px;
  text-align: right;
  opacity: 0.8;
}

/* Floating Widgets Overlay */
.floating-widget {
  position: absolute;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: #FFFFFF;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12), 0 0 0 1px #E2E8F0;
  z-index: 10;
  animation: floatWidget 4s ease-in-out infinite alternate;
}

.floating-widget--metrics {
  bottom: -20px;
  left: -20px;
}

.floating-widget--reactivation {
  top: 60px;
  right: -25px;
  animation-delay: 2s;
}

@media (max-width: 640px) {
  .floating-widget--metrics, .floating-widget--reactivation {
    position: relative;
    inset: auto;
    margin-top: var(--space-3);
    width: 100%;
  }
}

.floating-widget__icon {
  font-size: 1.5rem;
  background: var(--color-pastel-mint);
  color: #064E3B;
  padding: var(--space-2);
  border-radius: var(--radius-md);
}

.floating-widget__content {
  display: flex;
  flex-direction: column;
}

.floating-widget__label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: var(--font-medium);
}

.floating-widget__val {
  font-size: var(--text-sm);
  color: #064E3B;
  font-weight: var(--font-bold);
}

@keyframes floatWidget {
  0%   { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}


/* --------------------------------------------------------------------------
   PROBLEM BANNER
   -------------------------------------------------------------------------- */
.problem {
  background-color: var(--color-bg-secondary);
}

.problem__grid {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

.problem__card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.problem__card-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
}

.problem__card-title {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--color-text-primary);
  line-height: 1.25;
}

.problem__card-body {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.65;
  flex: 1;
}

/* Tarjeta de resolucion (ultima del grid) */
.problem__card--resolution {
  background-color: var(--color-pastel-mint);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-6);
  border-color: #52DE97;
}

.problem__card--resolution .problem__card-icon {
  font-size: 2.5rem;
  color: #064E3B;
}

.problem__resolution-text {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: #064E3B;
  line-height: 1.3;
}

.problem__resolution-cta {
  background-color: #0F172A;
  color: #FFFFFF;
  border-color: #0F172A;
}

.problem__resolution-cta:hover {
  background-color: #1E293B;
  border-color: #1E293B;
  color: #FFFFFF;
  box-shadow: none;
}


/* --------------------------------------------------------------------------
   RESPONSIVIDAD ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â Paso 2
   -------------------------------------------------------------------------- */

/* Tablet */
@media (max-width: 768px) {

  /* Header: ocultar nav y CTA de escritorio, mostrar hamburguesa */
  .site-nav,
  #header-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /* Hero */
  .hero {
    padding-block: var(--space-16);
  }

  .hero__stats {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-6);
  }

  .hero__stat-divider {
    width: 100%;
    height: 1px;
  }

  .hero__ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__ctas .btn {
    width: 100%;
    justify-content: center;
  }

  /* Problem grid: 2 columnas en tablet */
  .problem__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 480px) {

  /* Problem grid: 1 columna en mobile */
  .problem__grid {
    grid-template-columns: 1fr;
  }

  .hero__title {
    font-size: clamp(1.875rem, 9vw, 2.5rem);
  }
}

/* Desktop grande */
@media (min-width: 1024px) {

  .hero__stats {
    max-width: 680px;
  }
}


/* ==========================================================================
   PASO 3 ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â Estilos especificos: Pilares de Wepio + How It Works
   ========================================================================== */


/* --------------------------------------------------------------------------
   BLOQUE 4 ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â LOS 4 PILARES
   Grid de 4 tarjetas con icono grande, badge y descripcion
   -------------------------------------------------------------------------- */
.pillars {
  background-color: var(--color-bg-primary);
}

.pillars__grid {
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
}

.pilar-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  /* Las cards heredan .card (fondo teal, border-radius, shadow, hover) */
}

.pilar-card__icon {
  font-size: 2.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.pilar-card__badge {
  align-self: flex-start;
}

.pilar-card__title {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--color-text-primary);
  line-height: 1.25;
}

.pilar-card__body {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.65;
  flex: 1;  /* Empuja el badge hacia arriba y el cuerpo llena el espacio */
}


/* --------------------------------------------------------------------------
   BLOQUE 5 ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â HOW IT WORKS (Wizard de 4 pasos)
   Layout vertical con numero circulado y linea conectora entre pasos
   -------------------------------------------------------------------------- */
.how {
  background-color: var(--color-bg-secondary);
}

/* Lista de pasos: grid de 4 columnas en desktop */
.how__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  position: relative;
  list-style: none;
  align-items: stretch; /* Stretch para que todos los pasos midan lo mismo en altura */
}

/* Cada paso: apilado verticalmente (numero ÃƒÂ¢Ã¢â‚¬Â Ã¢â‚¬â„¢ linea conectora ÃƒÂ¢Ã¢â‚¬Â Ã¢â‚¬â„¢ tarjeta) */
.how__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
}

/* Numero del paso: limpio sin circulo en estado normal */
.how__step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background-color: transparent;
  color: #0F172A;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: var(--font-extrabold);
  line-height: 1;
  flex-shrink: 0;
  z-index: 1;
  border: 2px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Efecto hover sobre todo el paso: aparece el circulo rosa sin borde */
.how__step:hover .how__step-number {
  transform: scale(1.12) translateY(-2px);
  background-color: #ffc9c5;
  color: #0F172A;
  border-color: transparent;
}

/* Linea conectora vertical entre numero y tarjeta */
.how__step-connector {
  width: 2px;
  height: var(--space-6);
  background-color: #CBD5E1;
  flex-shrink: 0;
}

/* Tarjeta de contenido del paso */
.how__step-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex-grow: 1;
}

/* Icono ilustrativo dentro de la tarjeta */
.how__step-icon {
  font-size: 1.75rem;
  line-height: 1;
}

.how__step-title {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--color-text-primary);
  line-height: 1.25;
}

.how__step-body {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.65;
}

.how__step-detail {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  padding-top: var(--space-2);
  border-top: 1px solid var(--color-border-subtle);
}

/* Wrapper del CTA al pie */
.how__cta-wrapper {
  display: flex;
  justify-content: center;
}


/* --------------------------------------------------------------------------
   RESPONSIVIDAD ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â Paso 3
   -------------------------------------------------------------------------- */

/* Tablet */
@media (max-width: 768px) {

  /* Pilares: 2 columnas */
  .pillars__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* How It Works: 1 columna */
  .how__steps {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }

  .how__step {
    align-items: flex-start;
    flex-direction: row;
    gap: var(--space-4);
  }

  .how__step-connector {
    display: none;  /* Sin conector horizontal en mobile ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â el layout ya es vertical */
  }

  .how__step-content {
    flex: 1;
    margin-top: 0;
  }

  /* Numero alineado al tope */
  .how__step-number {
    margin-top: 0;
    flex-shrink: 0;
  }
}

/* Mobile */
@media (max-width: 480px) {

  /* Pilares: 1 columna */
  .pillars__grid {
    grid-template-columns: 1fr;
  }
}

/* Desktop grande */
@media (min-width: 1024px) {

  .pillars__grid {
    gap: var(--space-6);
  }

  .how__steps {
    gap: var(--space-4);
  }
}


/* ==========================================================================
   PASO 4 ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â Estilos especificos: Casos de Uso por Nicho (Tabs)
   ========================================================================== */


/* --------------------------------------------------------------------------
   BLOQUE 6 ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â NICHOS / TABS
   -------------------------------------------------------------------------- */
.nicho {
  background-color: var(--color-bg-primary);
}

/* ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â Barra de pestanas ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â */
.nicho__tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: 24px;
}

.nicho__tab {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.0;
  color: #475569;
  background-color: #F1F5F9;
  border: 1.5px solid #CBD5E1;
  border-radius: 0 10px 10px 10px;
  padding: 10px 18px;
  cursor: pointer;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.nicho__tab:hover {
  border-color: #0F172A;
  color: #0F172A;
}

.nicho__tab.is-active,
.nicho__tab[aria-selected="true"] {
  background-color: var(--color-pastel-mint, #B4E8CC);
  border: 1.5px solid #0F172A;
  color: #064E3B !important;
  font-weight: 900;
}

/* ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â Paneles de contenido ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â */
.nicho__panel {
  display: block;
}

.nicho__panel[hidden],
.nicho__panel.is-hidden {
  display: none;
}

.nicho__panel-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: start;
  background-color: transparent;
  border-radius: 0;
  padding: 0;
}

/* Header del panel: dolor especifico */
.nicho__panel-header {
  grid-column: 1 / -1;
}

.nicho__pain {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: 1.6;
  padding: var(--space-4) var(--space-6);
  border-left: 3px solid var(--color-cta);
  background-color: rgba(180, 232, 204, 0.20);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.nicho__pain strong {
  color: var(--color-text-primary);
}

/* Lista de soluciones */
.nicho__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  list-style: none;
}

.nicho__list li {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.6;
  padding-left: var(--space-6);
  position: relative;
}

.nicho__list li::before {
  content: '\2713';  /* Checkmark Unicode */
  position: absolute;
  left: 0;
  top: 0;
  color: #0D9488;
  font-weight: var(--font-bold);
  font-size: var(--text-base);
}

/* Cita de resultado */
.nicho__result {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  font-style: italic;
  color: #064E3B;
  line-height: 1.4;
  border: 1px solid var(--color-pastel-mint);
  margin: 0;
  padding: var(--space-6);
  background-color: rgba(180, 232, 204, 0.20);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
}

.nicho__cta-wrapper {
  display: flex;
  justify-content: center;
}


/* --------------------------------------------------------------------------
   RESPONSIVIDAD ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â Paso 4
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {

  .nicho__panel-inner {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    padding: 0;
  }

  .nicho__result {
    font-size: var(--text-lg);
  }
}

@media (max-width: 480px) {

  .nicho__tab {
    font-size: var(--text-xs);
    padding: var(--space-2) var(--space-4);
  }

  .nicho__pain {
    font-size: var(--text-base);
  }
}


/* ==========================================================================
   PASO 5 ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â Estilos: FAQ Acordeon, Formulario de Leads, Footer
   ========================================================================== */


/* --------------------------------------------------------------------------
   BLOQUE 7 ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â FAQ ACORDEON
   -------------------------------------------------------------------------- */
.faq {
  background-color: var(--color-bg-secondary);
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border-subtle);
  background-color: #FFFFFF;
}

.faq__item {
  border-bottom: 1px solid var(--color-border-subtle);
  background-color: #FFFFFF;
  transition: background-color var(--transition-fast);
}

.faq__item:last-child {
  border-bottom: none;
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--color-text-primary);
  background-color: #FFFFFF;
  padding: var(--space-6) var(--space-8);
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast);
  border: none;
  outline: none;
}

.faq__question:hover {
  background-color: #e2ffd9 !important;
  color: var(--color-text-primary);
}

.faq__question[aria-expanded="true"] {
  color: #064E3B;
  background-color: #e2ffd9 !important;
}

/* Icono +/- que gira 45Ãƒâ€šÃ‚Â° */
.faq__icon {
  font-size: 1.5rem;
  font-weight: var(--font-bold);
  color: #0D9488;
  line-height: 1;
  flex-shrink: 0;
  transition: transform var(--transition-normal);
  display: inline-block;
}

.faq__question[aria-expanded="true"] .faq__icon {
  transform: rotate(45deg);
  color: #064E3B;
}

/* Respuesta desplegable */
.faq__answer {
  display: block;
  background-color: #FFFFFF;
  padding: var(--space-4) var(--space-8) var(--space-6);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.faq__answer[hidden] {
  display: none !important;
}

.faq__answer p {
  margin: 0;
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.faq__answer strong {
  color: var(--color-text-primary);
  font-weight: var(--font-semibold);
}


/* --------------------------------------------------------------------------
   BLOQUE 8 ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â FORMULARIO DE LEADS
   -------------------------------------------------------------------------- */
.lead-form {
  background-color: var(--color-bg-primary);
}

.lead-form__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  background-color: #e2ffd9;
  border: 2px solid #c0ffb3;
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  box-shadow: 0 10px 28px -4px rgba(192, 255, 179, 0.25), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
}

/* Fila de dos columnas */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

/* Grupo label + input + error */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-text-primary);
}

.form-label span[aria-hidden] {
  color: #EF4444;
  margin-left: 2px;
}

.form-label--optional {
  color: var(--color-text-muted);
  font-weight: var(--font-regular);
  font-size: var(--text-xs);
}

/* Input base */
.form-input {
  width: 100%;
  background-color: #FFFFFF;
  color: var(--color-text-primary);
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-base);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder {
  color: #94A3B8;
}

.form-input:hover {
  border-color: #94A3B8;
}

.form-input:focus {
  border-color: var(--color-cta);
  box-shadow: 0 0 0 3px rgba(82, 222, 151, 0.25);
  outline: none;
}

/* Estado de error en el input */
.form-input.has-error {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

/* Select personalizado */
.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230D9488' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  padding-right: var(--space-10);
}

.form-select option {
  background-color: #FFFFFF;
  color: var(--color-text-primary);
}

/* Textarea */
.form-textarea {
  resize: vertical;
  min-height: 90px;
}

/* Mensaje de error bajo el campo */
.form-error {
  font-size: var(--text-xs);
  color: var(--color-error);
  font-weight: var(--font-medium);
  min-height: 1rem;
  display: block;
}

/* Caption de confianza bajo el CTA */
.form-caption {
  color: var(--color-text-muted);
  opacity: 0.85;
  margin-top: var(--space-2);
}

/* Estado de loading del boton */
.btn--loading {
  opacity: 0.75;
  cursor: not-allowed;
  pointer-events: none;
}

/* ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â Pantalla de Exito ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â */
.lead-form__success {
  background-color: #e2ffd9;
  border: 2px solid #c0ffb3;
  border-radius: var(--radius-xl);
  padding: var(--space-16) var(--space-10);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

.success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  background-color: var(--color-pastel-mint);
  color: #064E3B;
  font-size: 2rem;
  font-weight: var(--font-extrabold);
  flex-shrink: 0;
  border: 2px solid #0F172A;
}

.success-title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--font-extrabold);
  color: var(--color-text-primary);
}

.success-body {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 480px;
  line-height: 1.65;
}


/* --------------------------------------------------------------------------
   FOOTER INSTITUCIONAL
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: #0F172A;
  border-top: 1px solid #1E293B;
  padding-block: var(--space-12);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-10);
  align-items: start;
}

/* Columna de marca */
.site-footer__logo {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: var(--space-4);
}

.site-footer .logo-text {
  color: #FFFFFF;
}

.site-footer__tagline {
  font-size: var(--text-sm);
  color: #94A3B8;
  line-height: 1.5;
  margin-bottom: var(--space-4);
}

.site-footer__copy {
  color: #64748B;
  font-size: var(--text-xs);
}

/* Columnas de nav y contacto */
.site-footer__nav-title {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-cta);
  margin-bottom: var(--space-4);
}

.site-footer__nav ul,
.site-footer__contact ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.site-footer__link {
  font-size: var(--text-sm);
  color: #94A3B8;
  transition: color var(--transition-fast);
}

.site-footer__link:hover {
  color: #FFFFFF;
}

/* Links legales */
.site-footer__legal {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__link--legal {
  font-size: var(--text-xs);
  color: #64748B;
}

.site-footer__link--legal:hover {
  color: var(--color-cta);
}
/* ==========================================================================
   BLOQUE 7 ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â PLANES Y PRECIOS DE BOTS (SISTEMA DE DISEÃƒÆ’Ã¢â‚¬ËœO STITCH)
   - Tarjetas elevadas con radio 24px
   - Switch interactivo mensual / anual
   - Tarjeta destacada Plan Pro con borde #52DE97 y glow sutil
   - Matriz comparativa de funciones responsiva
   - Badges de confianza
   ========================================================================== */

/* Contenedor y Toggle */
.pricing {
  position: relative;
}

.pricing-toggle-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-6);
  padding: var(--space-2) var(--space-4);
  background-color: #F1F5F9;
  border-radius: var(--radius-full);
  border: 1px solid #CBD5E1;
}

.pricing-toggle-label {
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color var(--transition-fast);
  user-select: none;
}

.pricing-toggle-label.is-active {
  color: var(--color-text-primary);
  font-weight: var(--font-bold);
}

.pricing-toggle {
  position: relative;
  width: 52px;
  height: 28px;
  background-color: #CBD5E1;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background-color var(--transition-fast);
}

.pricing-toggle:focus-visible {
  outline: 2px solid var(--color-cta);
  outline-offset: 2px;
}

.pricing-toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background-color: var(--color-cta);
  border-radius: 50%;
  transition: transform var(--transition-normal);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.pricing-toggle[aria-checked="true"] {
  background-color: var(--color-pastel-mint);
}

.pricing-toggle[aria-checked="true"] .pricing-toggle-knob {
  transform: translateX(24px);
}

.badge--pill {
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  margin-left: var(--space-2);
}

/* Grid de Planes */
.pricing__grid {
  margin-top: var(--space-10);
  align-items: stretch;
}

/* Tarjeta individual de Plan */
.pricing-card {
  position: relative;
  background-color: #FFFFFF;
  border-radius: 24px;
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border-subtle);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.08);
  border-color: #CBD5E1;
}

/* 1. Plan Start */
.pricing-card--start {
  background-color: #a3d9d7 !important;
  border: 2px solid #3c9d9b !important;
}

.pricing-card--start .pricing-card__price-box {
  border-bottom: 1px solid rgba(60, 157, 155, 0.35);
}

/* 2. Plan Avanzado (Destacado / MÃƒÆ’Ã‚Â¡s elegido) */
.pricing-card--avanzado {
  background-color: #b3eacb !important;
  border: 2.5px solid #52de97 !important;
  position: relative;
  overflow: hidden; /* Encaje perfecto del badge superior derecho */
}

.pricing-card--avanzado .pricing-card__price-box {
  border-bottom: 1px solid rgba(6, 78, 59, 0.25);
}

/* Tarjeta destacada elevaciÃƒÆ’Ã‚Â³n */
.pricing-card--featured {
  box-shadow: 0 8px 30px -4px rgba(82, 222, 151, 0.35);
  z-index: 2;
}

@media (min-width: 1024px) {
  .pricing-card--featured {
    transform: translateY(-12px);
  }
  .pricing-card--featured:hover {
    transform: translateY(-16px);
    box-shadow: 0 16px 36px -4px rgba(82, 222, 151, 0.45);
  }
}

/* 3. Plan Pro */
.pricing-card--pro {
  background-color: #ffc9c5 !important;
  border: 2px solid #ff9b97 !important;
}

.pricing-card--pro .pricing-card__price-box {
  border-bottom: 1px solid rgba(255, 155, 151, 0.45);
}

/* Badge en la esquina superior derecha (Plan Avanzado) */
.pricing-card__corner-badge {
  position: absolute;
  top: 0;
  right: 0;
  background-color: #FFE066;
  color: #0F172A;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  line-height: 1;
  padding: 8px 18px 7px 18px;
  border-bottom-left-radius: 14px;
  border-top-right-radius: 20px;
  border-left: 2px solid #52de97;
  border-bottom: 2px solid #52de97;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
  z-index: 10;
  letter-spacing: -0.01em;
}

/* Botones especÃƒÆ’Ã‚Â­ficos estilo hero-highlight / offset */
.btn-plan-start {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #3c9d9b !important;
  color: #FFFFFF !important;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 20px;
  border-radius: 12px;
  border: 2px solid #0F172A;
  box-shadow: -4px 4px 0px #0F172A;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn-plan-start:hover {
  transform: translate(-4px, 4px);
  box-shadow: 0px 0px 0px #0F172A;
  background-color: #2e8381 !important;
  color: #FFFFFF !important;
}

.btn-plan-avanzado {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #52de97 !important;
  color: #064E3B !important;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 12px 20px;
  border-radius: 12px;
  border: 2px solid #0F172A;
  box-shadow: -4px 4px 0px #0F172A;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn-plan-avanzado:hover {
  transform: translate(-4px, 4px);
  box-shadow: 0px 0px 0px #0F172A;
  background-color: #3c9d9b !important;
  color: #FFFFFF !important;
}

.btn-plan-pro {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ff9b97 !important;
  color: #0F172A !important;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 20px;
  border-radius: 12px;
  border: 2px solid #0F172A;
  box-shadow: -4px 4px 0px #0F172A;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn-plan-pro:hover {
  transform: translate(-4px, 4px);
  box-shadow: 0px 0px 0px #0F172A;
  background-color: #e57e7a !important;
  color: #FFFFFF !important;
}

.pricing-card__header {
  margin-bottom: var(--space-4);
}

.pricing-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  color: var(--color-text-primary);
  margin-top: var(--space-2);
  margin-bottom: var(--space-2);
}

.pricing-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  min-height: 2.8rem;
  line-height: 1.45;
}

/* Precio */
.pricing-card__price-box {
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--color-border-subtle);
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-1);
}

.price-currency {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--color-text-primary);
}

.price-val {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: var(--font-extrabold);
  line-height: 1;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
  transition: opacity var(--transition-fast);
}

.price-period {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: var(--font-medium);
}

.price-annual-note {
  font-size: var(--text-xs);
  color: #0D9488;
  font-weight: 600;
  margin-top: var(--space-1);
}

/* Nota de costos de Meta y Tooltip Interactivo */
.pricing-card__meta-note {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  font-size: 0.8125rem;
  color: #0f172a;
  font-weight: 500;
  line-height: 1.35;
  position: relative;
  z-index: 10;
}

.pricing-card:hover,
.pricing-card:has(.meta-note__trigger.is-open),
.pricing-card:has(.meta-note__trigger:hover) {
  z-index: 25;
}

.meta-note__label {
  font-size: 0.8125rem;
  color: #0f172a;
  font-weight: 500;
}

.meta-note__trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #0f172a;
  border-radius: 50%;
  outline: none;
}

.meta-note__icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.meta-note__trigger:hover .meta-note__icon,
.meta-note__trigger:focus-visible .meta-note__icon {
  transform: scale(1.15);
  color: #0284c7;
}

/* Globo de texto flotante (Tooltip) */
.meta-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  right: -10px;
  width: 265px;
  max-width: calc(100vw - 40px);
  padding: 14px 16px;
  background-color: #1e2024;
  color: #f8fafc;
  border-radius: 12px;
  box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.4), 0 4px 10px -2px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
  z-index: 100;
  text-align: left;
  pointer-events: none;
}

/* Puente invisible para interaccion continua del cursor */
.meta-tooltip::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 14px;
}

/* Piquito de dialogo apuntando al icono */
.meta-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 10px;
  border-width: 7px;
  border-style: solid;
  border-color: #1e2024 transparent transparent transparent;
}

/* Estado activo: apertura fluida en hover o foco */
.meta-note__trigger:hover .meta-tooltip,
.meta-note__trigger:focus-within .meta-tooltip,
.meta-tooltip:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.meta-tooltip__text {
  margin: 0 0 10px 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #f1f5f9;
  font-weight: 400;
}

.meta-tooltip__link {
  display: inline-block;
  color: #e5a83b;
  font-weight: 600;
  font-size: 0.8125rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.18s ease;
}

.meta-tooltip__link:hover {
  color: #f59e0b;
}


/* Lista de caracteristicas */
.pricing-card__features {
  list-style: none;
  margin-bottom: var(--space-8);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.45;
}

.feature-icon {
  color: #0D9488;
  font-weight: var(--font-bold);
  font-size: 1rem;
  line-height: 1.2;
  flex-shrink: 0;
}

.feature-icon--cta {
  color: #0D9488;
}

.feature-icon--star {
  color: #D97706;
}

.feature-highlight {
  background-color: rgba(180, 232, 204, 0.25);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  margin-top: var(--space-1);
  border: 1px solid var(--color-pastel-mint);
}

.pricing-card__footer {
  margin-top: auto;
}

/* Matriz Comparativa de Funciones */
.pricing-matrix-wrapper {
  background-color: #F8FAFC;
  border-radius: 20px;
  padding: var(--space-8);
  border: 1px solid var(--color-border-subtle);
}

.pricing-matrix__title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
}

.pricing-matrix__table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: var(--text-sm);
  background-color: #FFFFFF;
}

.pricing-matrix__table th,
.pricing-matrix__table td {
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--color-border-subtle);
  vertical-align: middle;
  color: var(--color-text-secondary);
}

.pricing-matrix__table thead th {
  font-family: var(--font-heading);
  font-weight: var(--font-semibold);
  color: var(--color-text-primary);
  background-color: #F1F5F9;
}

.th-feature,
.td-feature {
  width: 40%;
  font-weight: var(--font-medium);
  color: var(--color-text-primary);
}

.th-plan,
.pricing-matrix__table td:not(.td-feature) {
  text-align: center;
  width: 20%;
}

.th-plan--featured,
.td-plan--featured {
  background-color: rgba(180, 232, 204, 0.20);
  border-left: 1px solid rgba(82, 222, 151, 0.35);
  border-right: 1px solid rgba(82, 222, 151, 0.35);
}

.badge--xs {
  font-size: 0.65rem;
  padding: 0.1rem 0.4rem;
  vertical-align: middle;
  margin-left: var(--space-1);
}

.check-yes {
  color: #0D9488;
  font-size: 1.25rem;
  font-weight: var(--font-bold);
}

/* Badges de Confianza */
.pricing-trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-6);
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  background-color: #F1F5F9;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  border: 1px solid #E2E8F0;
}

.trust-badge__icon {
  font-size: 1.1rem;
}

/* Feedback visual al pre-seleccionar plan desde los botones */
.plan-select-highlight {
  outline: 3px solid var(--color-cta) !important;
  border-color: var(--color-cta) !important;
}


/* --------------------------------------------------------------------------
   RESPONSIVIDAD ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â Paso 5
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {

  /* Pricing: apilamiento y adaptaciones mobile */
  .pricing-card--featured {
    transform: none;
    margin-top: var(--space-4);
    margin-bottom: var(--space-4);
  }

  .pricing-card__desc {
    min-height: auto;
  }

  .pricing-matrix-wrapper {
    padding: var(--space-4);
  }

  .pricing-matrix__table th,
  .pricing-matrix__table td {
    padding: var(--space-3) var(--space-3);
    font-size: var(--text-xs);
  }

  .pricing-trust-badges {
    flex-direction: column;
    gap: var(--space-3);
  }

  /* FAQ: padding reducido */
  .faq__question {
    padding: var(--space-5) var(--space-5);
    font-size: var(--text-sm);
  }

  .faq__answer {
    padding: var(--space-3) var(--space-5) var(--space-5);
  }

  /* Formulario: grid a 1 columna */
  .form-row {
    grid-template-columns: 1fr;
  }

  .lead-form__form {
    padding: var(--space-6);
  }

  /* Footer: stack vertical */
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .site-footer__legal {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {

  .lead-form__form {
    padding: var(--space-5);
  }

  .lead-form__success {
    padding: var(--space-10) var(--space-5);
  }

  .success-title {
    font-size: var(--text-2xl);
  }
}


/* ==========================================================================
   ACORDEON FAQ — Visibilidad y altura automatica completa
   ========================================================================== */
.faq__answer {
  max-height: none !important;
  height: auto !important;
  overflow: visible !important;
}

.faq__answer[hidden] {
  display: none !important;
}

.faq__answer:not([hidden]) {
  display: block !important;
  max-height: none !important;
  height: auto !important;
  overflow: visible !important;
}

/* ==========================================================================
   ESTILOS H1 ROTATIVO CENTRADO ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â CSS GRID OVERLAP (sin saltos de layout)
   ========================================================================== */
.hero__title--centered {
  font-size: clamp(3rem, 6vw, 5.0rem);
  font-weight: 900;
  line-height: 1.15;
  width: 100%;
  margin: 0 auto;
  /* Anula completamente el gradiente de .hero__title base */
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
  text-shadow: none !important;
  color: var(--color-text-primary) !important;
}

/* El contenedor usa display:grid para que TODOS los ÃƒÆ’Ã‚Â­tems
   ocupen exactamente la misma celda, sin alterar el layout */
.hero__rotator-container {
  display: grid;
  place-items: center;
  width: 100%;
  text-align: center;
}

/* Todos los ÃƒÆ’Ã‚Â­tems apilan en la misma celda grid ÃƒÂ¢Ã¢â‚¬Â Ã¢â‚¬â„¢ cero layout shift */
.hero__rotator-item {
  grid-area: 1 / 1;             /* misma celda para todos */
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition:
    opacity    0.6s ease,
    transform  0.6s ease,
    visibility 0s   0.6s;       /* se oculta DESPUÃƒÆ’Ã¢â‚¬Â°S del fade out */
  pointer-events: none;
  text-align: center;
  color: var(--color-text-primary) !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: var(--color-text-primary) !important;
}

/* Estado ACTIVO: fade in suave desde abajo */
.hero__rotator-item.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition:
    opacity    0.6s ease,
    transform  0.6s ease,
    visibility 0s   0s;         /* visible INMEDIATAMENTE */
}


/* ==========================================================================
   HIGHLIGHT DE PALABRAS CLAVE EN H1 (Estilo Wati.io)
   Esquina superior izquierda en ÃƒÆ’Ã‚Â¡ngulo recto, resto redondeado
   ========================================================================== */
.hero-highlight {
  display: inline;
  background-color: var(--color-pastel-mint, #B4E8CC);
  color: #0F172A !important;
  -webkit-text-fill-color: #0F172A !important;
  font-weight: 900;
  padding: 0px 10px 2px 10px;       /* mÃƒÆ’Ã‚Â¡s compacto: sin padding-top, mÃƒÆ’Ã‚Â­nimo abajo */
  border-radius: 0 10px 10px 10px;
  border: 1.5px solid #0F172A;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  line-height: 1.0;                  /* altura justa al texto, sin aire extra */
}

/* Variante Alerta / Problema (Rojo suave) */
.hero-highlight--danger {
  background-color: var(--color-pastel-coral, #FFD4D2);
}

/* Recuadro inclinado +2Ãƒâ€šÃ‚Â° (sÃƒÆ’Ã‚Â³lo el fondo, no el texto) */
.hero-highlight--tilt {
  display: inline-block;
  transform: rotate(2deg);
  transform-origin: center center;
}

/* Texto interior contrarresta la rotaciÃƒÆ’Ã‚Â³n ÃƒÂ¢Ã¢â‚¬Â Ã¢â‚¬â„¢ queda perfectamente recto */
/* Funciona para ambos sentidos (+2Ãƒâ€šÃ‚Â° y -2Ãƒâ€šÃ‚Â°) */
.hero-highlight--tilt .hero-highlight__text {
  display: inline-block;
  transform: rotate(-2deg);
}

/* Recuadro inclinado -2Ãƒâ€šÃ‚Â° (sentido contrario, sensaciÃƒÆ’Ã‚Â³n casual) */
.hero-highlight--tilt-neg {
  display: inline-block;
  transform: rotate(-2deg);
  transform-origin: center center;
}

.hero-highlight--tilt-neg .hero-highlight__text {
  display: inline-block;
  transform: rotate(2deg); /* contrarresta el -2Ãƒâ€šÃ‚Â° del padre */
}

/* ==========================================================================
   BOTONES DE PESTAÃƒÆ’Ã¢â‚¬ËœAS (Estilo Offset Border Wati)
   ========================================================================== */

/* Boton principal: Fondo verde pleno, borde negro desplazado */
.btn-offset-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-cta, #52DE97); /* Verde pleno Neobrutalista */
  color: #064E3B !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 22px;
  border-radius: 12px;
  border: 2px solid #0F172A;
  box-shadow: -4px 4px 0px #0F172A; /* Borde inferior/izquierdo desplazado */
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn-offset-primary:hover {
  transform: translate(-4px, 4px); /* Se desplaza exactos 4px para encajar con el borde */
  box-shadow: 0px 0px 0px #0F172A;  /* El borde se colapsa quedando 100% alineado */
  background-color: var(--color-cta-hover, #3C9D9B) !important; /* Nuevo color al hover */
  color: #FFFFFF !important;
}

/* Boton secundario: Fondo blanco, borde negro plano */
.btn-offset-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #FFFFFF;
  color: #0F172A !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 22px;
  border-radius: 12px;
  border: 2px solid #0F172A;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.btn-offset-secondary:hover {
  background-color: #F1F5F9;
  color: #0F172A !important;
}

/* ==========================================================================
   MODAL STATE TILE / ONBOARDING STEP CARDS (Estilo Offset Shadow Aqua)
   ========================================================================== */
.modal-tile-step {
  position: relative;
  background-color: #CBF3F5 !important;
  background: #CBF3F5 !important;
  border: none !important;
  outline: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-radius: 20px !important;
  box-shadow: 5px 5px 0px 0px #0E9AA7 !important;
  padding: 1.8rem !important;
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), 
              box-shadow 0.22s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.modal-tile-step:hover {
  transform: translate(3px, 3px) !important;
  box-shadow: 2px 2px 0px 0px #0E9AA7 !important;
}

.modal-tile-step .how__step-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 4px;
  border: 1.5px solid rgba(14, 154, 167, 0.25);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.modal-tile-step:hover .how__step-icon {
  transform: scale(1.08) rotate(-3deg);
  border-color: #0E9AA7;
}

.modal-tile-step .how__step-title {
  color: #0F172A !important;
  font-weight: 700;
}

.modal-tile-step .how__step-body {
  color: #334155 !important;
  line-height: 1.55;
}

/* ==========================================================================
   BLOQUE 3 ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â ANTES Y DESPUÃƒÆ’Ã¢â‚¬Â°S (CELULARES COMPARATIVOS)
   ========================================================================== */
:root {
  --wepio-navy: #394A6D;
  --wepio-teal: #3C9D9B;
  --wepio-mint: #52DE97;
  --wepio-coral: #FF9B97;
  --wepio-lime: #C0FFB3;
  --wepio-coral-soft: #FFD4D2;
  --wepio-mint-soft: #B4E8CC;
}

.compare {
  width: 100%;
  max-width: 952px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  position: relative;
  margin: 28px auto 0;
}

/* Paneles */
.compare .panel {
  position: relative;
  border-radius: 16px;
  padding: 68px 16px 28px;
  display: flex;
  justify-content: center;
}
.compare .panel--bad {
  background: var(--wepio-coral-soft);
}
.compare .panel--good {
  background: var(--wepio-mint-soft);
}
.compare .pill {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .03em;
  text-transform: uppercase;
  background: #FFFFFF;
  border: 2px solid var(--wepio-navy);
  border-radius: 9999px;
  padding: 8px 18px;
  box-shadow: 3px 3px 0 var(--wepio-navy);
  z-index: 5;
}

.compare .stage {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* TelÃƒÆ’Ã‚Â©fono */
.compare .phone {
  width: 250px;
  height: 430px;
  background: #FFFFFF;
  border: 3px solid var(--wepio-navy);
  border-radius: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 6px 6px 0 var(--wepio-navy);
  flex: none;
  transition: transform .4s ease;
}
.compare .panel--bad .phone {
  transform: rotate(-2deg);
}
.compare .panel--bad:hover .phone {
  transform: rotate(0deg);
}
.compare .notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 18px;
  background: var(--wepio-navy);
  border-radius: 0 0 12px 12px;
  z-index: 3;
}
.compare .wa-head {
  background: var(--wepio-teal);
  height: 62px;
  padding: 24px 12px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #FFFFFF;
}
.compare .wa-head .av {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-border-subtle, #E2E8F0);
  flex: none;
}
.compare .wa-head .grow {
  flex: 1;
}
.compare .wa-head svg {
  width: 14px;
  height: 14px;
  stroke: #FFFFFF;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.compare .tabs {
  background: var(--wepio-teal);
  display: flex;
  gap: 6px;
  padding: 0 10px 8px;
}
.compare .tabs i {
  flex: 1;
  height: 14px;
  border-radius: 7px;
  background: var(--wepio-navy);
  color: #FFFFFF;
  font: 700 8px/14px var(--font-body, 'Inter', sans-serif);
  text-align: center;
  font-style: normal;
}
.compare .tabs i.r {
  background: var(--wepio-coral);
  color: var(--wepio-navy);
}
.compare .list {
  padding: 4px 0;
}
.compare .row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
}
.compare .row .av {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-border-subtle, #E2E8F0);
  flex: none;
}
.compare .row .ln {
  flex: 1;
  display: grid;
  gap: 5px;
}
.compare .row .ln b {
  height: 6px;
  border-radius: 3px;
  background: var(--color-border-subtle, #E2E8F0);
  display: block;
}
.compare .row .ln b:last-child {
  width: 60%;
}
.compare .badge {
  min-width: 22px;
  height: 16px;
  border-radius: 8px;
  background: var(--wepio-coral);
  color: var(--wepio-navy);
  border: 1.5px solid var(--wepio-navy);
  font: 700 8px/13px var(--font-body, 'Inter', sans-serif);
  text-align: center;
  padding: 0 4px;
}

.compare .chat {
  position: absolute;
  inset: 62px 0 44px 0;
  background: var(--color-border-subtle, #E2E8F0);
  padding: 34px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.compare .bub {
  max-width: 82%;
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 11px;
  line-height: 1.3;
  border: 1.5px solid var(--wepio-navy);
  background: #FFFFFF;
  color: var(--wepio-navy);
  font-weight: 500;
}
.compare .bub.out {
  align-self: flex-end;
  background: var(--wepio-lime);
}
.compare .bub small {
  display: block;
  text-align: right;
  font-size: 8px;
  color: var(--wepio-teal);
  font-weight: 700;
  margin-top: 2px;
}
.compare .over {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.compare .input {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 44px;
  background: #FFFFFF;
  border-top: 2px solid var(--wepio-navy);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
}
.compare .input span {
  flex: 1;
  height: 22px;
  border-radius: 11px;
  background: var(--color-border-subtle, #E2E8F0);
}
.compare .input i {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--wepio-teal);
  display: grid;
  place-items: center;
}
.compare .input i svg {
  width: 12px;
  height: 12px;
  stroke: #FFFFFF;
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
}
.compare .clock {
  position: absolute;
  left: 50%;
  margin-left: -22px;
  bottom: 56px;
  width: 44px;
  height: 44px;
  z-index: 4;
  filter: drop-shadow(2px 2px 0 var(--wepio-navy));
}

.compare .appt {
  background: #FFFFFF;
  border: 2px solid var(--wepio-navy);
  border-radius: 10px;
  padding: 8px;
  display: flex;
  gap: 8px;
  align-items: center;
  align-self: center;
  width: 88%;
}
.compare .appt .cal {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--wepio-mint);
  border: 2px solid var(--wepio-navy);
  display: grid;
  place-items: center;
  flex: none;
}
.compare .appt .cal svg {
  width: 16px;
  height: 16px;
  stroke: var(--wepio-navy);
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.compare .appt b {
  display: block;
  font: 700 11px/1.2 var(--font-heading, 'Outfit', sans-serif);
}
.compare .appt span {
  font-size: 10px;
  color: var(--wepio-navy);
}
.compare .appt em {
  display: block;
  font: 700 9px var(--font-body, 'Inter', sans-serif);
  color: var(--wepio-teal);
  font-style: normal;
  margin-top: 2px;
}

/* Etiquetas */
.compare .tags {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  max-width: 440px;
}
.compare .tag {
  position: relative;
  border: 2px solid var(--wepio-navy);
  border-radius: 10px;
  box-shadow: 3px 3px 0 var(--wepio-navy);
  padding: 10px 12px;
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.25;
  text-align: center;
  display: grid;
  place-items: center;
  min-height: 62px;
  transition: transform .3s ease;
  color: var(--wepio-navy);
}
.compare .tag--bad {
  background: var(--wepio-coral);
}
.compare .tag--good {
  background: var(--wepio-mint);
}
.compare .tag:hover {
  transform: translate(-2px, -2px) rotate(0deg) !important;
}
.compare .tag .mk {
  position: absolute;
  top: -10px;
  right: -8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--wepio-navy);
  display: grid;
  place-items: center;
}
.compare .tag .mk svg {
  width: 10px;
  height: 10px;
  fill: none;
  stroke: var(--wepio-navy);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Badge central de cambio */
.compare .swap {
  position: relative;
  z-index: 6;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px solid var(--wepio-navy);
  box-shadow: 3px 3px 0 var(--wepio-navy);
  display: grid;
  place-items: center;
  margin: 14px auto;
  transition: transform .5s ease;
}
.compare .swap svg {
  width: 32px;
  height: 32px;
  stroke: var(--wepio-navy);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(90deg);
}
.compare .swap:hover {
  transform: rotate(180deg);
}

/* Revelado y animaciones de scroll */
.js .compare .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.js .compare .reveal.in {
  opacity: 1;
  transform: none;
}

@media (min-width: 1080px) {
  .compare {
    column-gap: 28px;
  }
  .compare .panel {
    padding: 62px 20px 32px;
  }
  .compare .stage {
    height: 374px;
    transform: scale(0.85);
  }
}

/* Animaciones de microinteraccion */
@keyframes wepioPulse { 50% { transform: scale(1.18); } }
@keyframes wepioBuzz { 0%, 86%, 100% { translate: 0; } 88%, 92%, 96% { translate: -3px 0; } 90%, 94% { translate: 3px 0; } }
@keyframes wepioSpin { to { rotate: 360deg; } }
@keyframes wepioBob { 50% { translate: 0 -6px; } }
@keyframes wepioPop { 0% { opacity: 0; transform: translateY(12px) scale(.85); } 70% { transform: translateY(-2px) scale(1.03); } 100% { opacity: 1; transform: none; } }
@keyframes wepioPing { 0% { box-shadow: 0 0 0 0 var(--wepio-navy); } 70%, 100% { box-shadow: 0 0 0 8px transparent; } }
@keyframes wepioMoney { 0% { opacity: 0; transform: translate(-50%, 10px) scale(.6); } 2% { opacity: 1; transform: translate(-50%, 0) scale(1.15); } 5% { transform: translate(-50%, -3px) scale(1); } 14% { opacity: 1; } 30%, 100% { opacity: 0; transform: translate(-50%, var(--dy)); } }
@keyframes wepioChime { 0%, 86%, 100% { translate: 0; } 90% { translate: 0 -7px; } 94% { translate: 0 0; } }

.compare .badge, .compare .tabs i.r {
  animation: wepioPulse 1.4s ease-in-out infinite;
  transform-origin: center;
}
.compare .badge:nth-of-type(even), .compare .tabs i.r:nth-child(2) {
  animation-delay: -.7s;
}
.compare .panel--bad .phone {
  animation: wepioBuzz 5s ease-in-out infinite;
}
.compare .clock .hand {
  transform-origin: 22px 22px;
  animation: wepioSpin 3s linear infinite;
}
.compare .swap svg {
  animation: wepioSpin 8s linear infinite;
}
.compare .tag {
  animation: wepioBob 4s ease-in-out infinite;
}
.compare .tag:nth-child(even) {
  animation-delay: -2s;
}
.compare .tag:hover {
  animation-play-state: paused;
}
.compare .tag--good .mk {
  animation: wepioPing 2.2s ease-out infinite;
}

/* Wepio conversacion */
.js .compare .panel--good:not(.in) .chat > * {
  opacity: 0;
}
.compare .panel--good.in .chat > * {
  animation: wepioPop .5s ease both;
}
.compare .panel--good.in .chat > :nth-child(1) { animation-delay: .3s; }
.compare .panel--good.in .chat > :nth-child(2) { animation-delay: .9s; }
.compare .panel--good.in .chat > :nth-child(3) { animation-delay: 1.8s; }
.compare .panel--good.in .chat > :nth-child(4) { animation-delay: 2.7s; }
.compare .panel--good.in .chat > :nth-child(5) { animation-delay: 3.4s; }

.compare .panel--bad.in .over .bub {
  animation: wepioPop .5s ease both;
  animation-delay: .6s;
}
.compare .panel--bad.in .over .bub:last-child {
  animation-delay: 1.4s;
}

/* Dinero animado */
.compare .money {
  position: absolute;
  left: 50%;
  top: 170px;
  z-index: 6;
  opacity: 0;
  pointer-events: none;
  font: 800 21px/1 var(--font-heading, 'Outfit', sans-serif);
  font-style: normal;
  color: var(--wepio-navy);
  border: 2px solid var(--wepio-navy);
  border-radius: 9999px;
  padding: 6px 14px;
  box-shadow: 3px 3px 0 var(--wepio-navy);
  animation: wepioMoney 15s ease-out infinite;
  animation-delay: 4.4s;
}
.compare .money--lose {
  background: var(--wepio-coral);
  --dy: 46px;
}
.compare .money--gain {
  background: var(--wepio-mint);
  --dy: -46px;
}
.compare .money:nth-of-type(2) {
  animation-delay: 9.4s;
}
.compare .money:nth-of-type(3) {
  animation-delay: 14.4s;
}
.compare .panel--good .phone {
  animation: wepioChime 5s ease-in-out infinite;
}

/* Escritorio */
@media (min-width: 860px) {
  .compare {
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
  }
  .compare .panel {
    padding: 54px 12px 26px;
  }
  .compare .stage {
    display: block;
    height: 345px;
    transform: scale(0.78);
    transform-origin: top center;
  }
  .compare .phone {
    position: absolute;
    left: 50%;
    top: 0;
    margin-left: -125px;
  }
  .compare .panel--bad .phone {
    transform: rotate(-2deg);
  }
  .compare .tags {
    display: contents;
  }
  .compare .tag {
    position: absolute;
    width: 142px;
    z-index: 4;
  }
  .compare .panel--bad .tag:nth-child(1) { left: 0; top: 44px; transform: rotate(-3deg); }
  .compare .panel--bad .tag:nth-child(2) { right: 0; top: 30px; transform: rotate(3deg); }
  .compare .panel--bad .tag:nth-child(3) { left: 0; bottom: 34px; transform: rotate(3deg); }
  .compare .panel--bad .tag:nth-child(4) { right: 0; bottom: 54px; transform: rotate(-3deg); }
  .compare .panel--good .tag:nth-child(1) { left: 0; top: 40px; transform: rotate(-2deg); }
  .compare .panel--good .tag:nth-child(2) { right: 0; top: 26px; transform: rotate(2deg); }
  .compare .panel--good .tag:nth-child(3) { left: 0; bottom: 40px; transform: rotate(2deg); }
  .compare .panel--good .tag:nth-child(4) { right: 0; bottom: 54px; transform: rotate(-2deg); }
  .compare .swap {
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -34px 0 0 -34px;
  }
  .compare .swap svg {
    transform: none;
  }
}

@media (max-width: 380px) {
  .compare .tags {
    grid-template-columns: 1fr;
  }
  .compare .pill {
    font-size: 11px;
    padding: 7px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .compare * {
    animation: none !important;
    transition: none !important;
  }
  .js .compare .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .js .compare .panel--good:not(.in) .chat > * {
    opacity: 1 !important;
  }
}



/* ================================================================
   BLOQUE 6 — INTEGRACIONES (RESPONSIVE NOTEBOOKS & DESKTOP)
   ================================================================ */
.integraciones__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
}

.integraciones__content {
  width: 100%;
  max-width: 580px;
}

.integraciones__content .section-header__title {
  color: #0F172A !important;
  background: none !important;
  -webkit-text-fill-color: initial !important;
  text-align: left !important;
  font-size: clamp(1.85rem, 3.2vw, 2.85rem) !important;
  line-height: 1.32 !important;
  margin-bottom: 20px !important;
}

.integraciones__subtitle {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem) !important;
  color: #334155 !important;
  line-height: 1.6 !important;
  margin: 0 !important;
  max-width: 500px !important;
}

.integraciones__visual {
  width: 100%;
  max-width: 440px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: none;
}

.integraciones__visual svg {
  max-width: 440px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Notebooks y Pantallas medianas: Lado a Lado (2 Columnas) */
@media (min-width: 800px) {
  .integraciones__container {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
  }
  .integraciones__content {
    flex: 1 1 52% !important;
    max-width: none !important;
    padding-left: 10px;
  }
  .integraciones__visual {
    flex: 0 1 42% !important;
    max-width: 420px !important;
  }
}

/* Monitores Grandes */
@media (min-width: 1100px) {
  .integraciones__container {
    gap: 48px !important;
  }
  .integraciones__content {
    padding-left: 40px;
  }
  .integraciones__visual {
    flex: 0 1 440px !important;
    max-width: 440px !important;
  }
}
