/* Responsive sizing for CUPOS LIMITADOS: fluid width that adapts to screen */
.pre-title {
  display: inline-block;
  padding: 10px 45px;
  box-sizing: border-box;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  white-space: nowrap; /* keep single line when possible */
  overflow: visible;
  width: min(90%, 680px); /* default: up to 90% of viewport but no more than 680px */
}

@media (width >= 601px) {
  .pre-title {
    width: min(70%, 720px); /* larger screens: allow wider box */
  }
}

@media (width >= 1024px) {
  .pre-title {
    width: min(90%, 1400px); /* mucho más ancho en desktop */
    min-width: 680px;
    max-width: 1400px;
  }

  /* Mantener la posición original de los botones y alinear sus tamaños en desktop */
  .landing-hero .button-container {
    margin-top: 28px; /* separación entre subtitle y botones */
    align-items: center; /* asegurar alineación vertical */
  }

  .landing-hero .cta-button-flex {
    min-width: 260px;
    max-width: 320px;
  }

  /* Evitar salto de línea en el botón de asesor en desktop */
  .landing-hero .btn-asesor {
    white-space: nowrap;
    min-width: 300px;
  }
}

/* Forzar salto de línea y alineación para el título de la tarjeta de problema */
.break-title {
  display: inline-block;
  text-align: left;
}

/* Evita salto de línea en móvil para el ítem de doble costo */
.nowrap-mobile {
  white-space: nowrap;
}

@media (width >= 601px) {
  .nowrap-mobile {
    white-space: normal;
  }
}

/* --- PALETA DE COLORES CENTRALIZADA --- */
:root {
  --color-primary: var(--cy-accent, #e67542); /* Naranja principal */
  --color-primary-dark: var(--cy-orange-dark, #d66532); /* Naranja para hover */
  --color-danger: var(--cy-danger, #d9534f); /* Rojo para iconos de alerta */
  --color-secondary: var(--cy-brand, #37284f); /* Morado oscuro */
  --color-accent-green: var(--cy-success, #3dbc73); /* Verde para éxito/checkmarks */
  --color-accent-teal: var(--cy-link, #31989d); /* Turquesa para botón ghost */
  --color-mercadopago: #009ee3; /* Azul de MercadoPago */
  --color-mercadopago-dark: #008acb; /* Azul de MercadoPago para hover */
  --color-whatsapp: #25d366; /* Verde de WhatsApp */
  --color-whatsapp-dark: #20b858; /* Verde de WhatsApp para hover */
  /* Keep true white stable across themes; use surface tokens for adaptive panels. */
  --color-white: #fff;
  --color-dark-bg: #222;
  --color-text-gray: var(--cy-text-muted, #666);
  --color-text-light-gray: var(--cy-gray-300, #ccc);
  --color-text-quote: var(--cy-gray-600, #555);
  --color-bg-gray: var(--cy-bg, #f4f7f6);
  --color-card-bg: var(--cy-surface, #f9f9fb);
  --indicator-bar-height: 32px;
}

/* --- ESTILOS ESPECÍFICOS LANDING --- */
body {
  background-color: var(--cy-bg, var(--color-white));
  color: var(--cy-text, #111816);
  font-family: var(--cy-font-body, Montserrat, sans-serif);
  margin: 0;
}

/* =========================================
   ECONOMIC TICKER BAR
   ========================================= */
.economic-ticker {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--indicator-bar-height);
  background: var(--cy-surface-alpha, rgb(255 255 255 / 96%));
  border-bottom: 1px solid var(--cy-border, rgb(0 0 0 / 6%));
  box-shadow: var(--cy-shadow-md, 0 6px 20px rgb(0 0 0 / 5%));
  backdrop-filter: blur(6px);
  z-index: 1000001;
  display: flex;
  align-items: center;
  overflow: hidden;
  font-family: Montserrat, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-secondary, var(--cy-brand, #37284f));
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 0 24px;
  white-space: nowrap;
  animation: ticker-scroll 25s linear infinite;
  will-change: transform;
}

.ticker-item {
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.85;
  display: inline-flex;
  align-items: center;
}

.ticker-item strong {
  font-weight: 700;
  color: var(--color-secondary, var(--cy-brand, #37284f));
}

.ticker-value {
  font-weight: 500;
  color: var(--cy-text-muted, rgb(55 40 79 / 85%));
}

.ticker-item::after {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgb(0 0 0 / 18%);
  margin-left: 18px;
}

[data-theme='dark'] .ticker-item::after {
  background: rgb(255 255 255 / 22%);
}

.economic-ticker.paused .ticker-track,
.economic-ticker:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
    transform: translateX(0);
  }
}

@media (width <= 768px) {
  .ticker-item {
    font-size: 0.66rem;
  }
  .ticker-track {
    gap: 16px;
  }
}

body.has-indicator-bar {
  padding-top: calc(var(--indicator-bar-height) + 75px);
}

body.has-indicator-bar .custom-navbar {
  top: var(--indicator-bar-height);
  margin-top: 0;
}

/* FORZAR VISIBILIDAD DE FOOTER GLOBALMENTE */
footer {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Ocultamos elementos globales que no queremos aquí */
.nav-menu,
.hamburger {
  display: none !important;
}

/* Mostrar navbar en esta landing y darle estilo base */
.custom-navbar {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: transparent;
  position: relative;
  z-index: 100;
}

.landing-header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.9rem, 2vw, 1.4rem);
  margin-left: auto;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--cy-radius-full, 999px);
  border: 1px solid var(--cy-border, rgb(0 0 0 / 10%));
  background: var(--cy-surface, #fff);
  color: var(--cy-text, #111816);
  box-shadow: var(--cy-shadow-sm, 0 2px 8px rgb(0 0 0 / 10%));
  cursor: pointer;
  flex: 0 0 auto;
}

.theme-toggle:focus-visible {
  outline: 3px solid var(--cy-focus-ring, rgba(49, 152, 157, 0.35));
  outline-offset: 2px;
}

[data-theme='dark'] .theme-toggle {
  background: var(--cy-surface-raised, #222a33);
}
.custom-navbar .logo-img {
  height: 60px;
}

@media (min-width: 601px) {
  .nav-menu {
    display: flex !important;
    gap: 18px;
  }
  .hamburger {
    display: none !important;
  }
}
@media (max-width: 600px) {
  .nav-menu {
    display: none !important;
  }
  .hamburger {
    display: block !important;
  }
}

/* 1. POPUP MODAL (Imagen Promocional) */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(
    55 40 79 / 90%
  ); /* No se puede usar variable en rgba() directamente en todos los navegadores */
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  backdrop-filter: blur(5px);
}
.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  position: relative;
  max-width: 90%;
  width: 800px;
  animation: popup-zoom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popup-zoom {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.popup-img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 20px 50px rgb(0 0 0 / 50%);
  display: block;
  border: 4px solid var(--color-white);
}

.popup-close {
  position: absolute;
  top: -20px;
  right: -20px;
  background: var(--color-primary);
  color: var(--color-white);
  border: 3px solid var(--color-white);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 5px 15px rgb(0 0 0 / 30%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}
.popup-close:hover {
  transform: scale(1.1);
  background: var(--color-primary-dark);
}

/* 2. HERO SECTION (Con Transparencia Corporativa) */
.landing-hero {
  position: relative;
  background-image: url('../img/at2026-scaled.webp');
  background-size: cover;
  background-position: center;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  padding: 20px;
}
.landing-hero .landing-hero-content {
  margin-top: 20px; /* reduce extra top spacing */
  padding-top: 20px;
}

/* Overlay Morado (Igual al sitio principal) */
.landing-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgb(55 40 79 / 94%) 0%, rgb(55 40 79 / 82%) 100%);
  z-index: 1;
}
.landing-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin-top: 60px;
  padding-top: 40px;
}

.pre-title {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 1.2rem;
  color: var(--color-primary);
  font-weight: 800;
  margin-bottom: 10px;
  background: var(--color-white);
  display: inline-block;
  padding: 10px 45px;
  border-radius: 50px;
  border: 2px solid var(--color-primary);
  box-shadow:
    0 0 15px rgb(49 152 157 / 60%),
    0 0 30px rgb(49 152 157 / 30%);
  margin-top: 40px;
  min-width: 220px;
  max-width: 100%;
}
.main-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 15px;
}
.sub-title {
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 25px;
  opacity: 0.95;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btn {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 20px 45px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.1rem;
  text-transform: uppercase;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-primary);
  box-shadow: 0 10px 25px rgb(230 117 66 / 40%);
}
.cta-btn:hover {
  background-color: var(--color-accent-green);
  border-color: var(--color-accent-green);
  color: var(--color-white);
  transform: translateY(-3px);
}
.cta-btn.btn-asesor.clicked {
  background-color: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
}
.cta-btn.btn-control:hover {
  background-color: var(--color-accent-green);
  border-color: var(--color-accent-green);
  color: var(--color-white);
  transform: translateY(-3px);
}
.cta-btn.btn-control.clicked {
  background-color: var(--color-accent-teal) !important;
  border-color: var(--color-accent-teal) !important;
}

/* Animación para el botón CTA al hacer clic */
@keyframes fade-out-click-btn {
  0% {
    background-color: var(--color-accent-green);
    border-color: var(--color-accent-green);
    color: var(--color-white);
  }
  60% {
    background-color: var(--color-accent-green);
    border-color: var(--color-accent-green);
    color: var(--color-white);
  }
  100% {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
  }
}

.cta-btn.clicked {
  background-color: var(--color-accent-green);
  border-color: var(--color-accent-green);
  color: var(--color-white);
  animation: fade-out-click-btn 0.5s ease-in-out forwards;
}

.cta-btn.btn-asesor.clicked {
  background-color: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
}
.cta-btn.btn-control:hover {
  background-color: var(--color-accent-green);
  border-color: var(--color-accent-green);
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgb(61 188 115 / 40%);
}
.cta-btn.btn-control.clicked {
  background-color: var(--color-accent-teal) !important;
  border-color: var(--color-accent-teal) !important;
}

/* Estilo Ghost para botón asesor */
.btn-ghost {
  background-color: transparent !important;
  border: 3px solid var(--color-accent-teal) !important;
  color: var(--color-accent-teal) !important;
  box-shadow: none !important;
  font-weight: 800 !important;
}

.btn-ghost:hover {
  background-color: var(--color-accent-teal) !important;
  color: var(--color-white) !important;
  box-shadow: 0 0 20px rgb(49 152 157 / 60%) !important;
}

/* SECCIONES GENERALES */
.section {
  padding: 80px 20px;
}
.container {
  max-width: 1600px;
  margin: 0 auto;
}
.section-title {
  color: var(--color-secondary);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-align: center;
  line-height: 1.2;
}
.section-subtitle {
  text-align: center;
  color: var(--color-text-gray);
  max-width: 750px;
  margin: 0 auto 12px;
  line-height: 1.6;
  font-size: 1.1rem;
}

/* Asegurar que EL RESULTADO actúe como título centrado y la lista quede justo debajo en desktop */
.section-subtitle strong {
  display: block;
  margin: 6px 0 8px;
  font-size: 1.25rem;
  font-weight: 800;
}
.section-subtitle + .section-subtitle-list {
  margin-top: 40px;
}

/* Lead sentence (problema) — tamaño mayor para destacar */
.subtitle-lead {
  display: block;
  font-size: 1.35rem; /* más grande en desktop */
  font-weight: 700;
  color: var(--color-text-gray);
  margin-bottom: 6px;
}

/* Lista de subtitulo en sección Problema: X rojas en lugar de bullets */
.section-subtitle-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 30px;
  padding-left: 320px; /* mover la lista más a la derecha en desktop */
  max-width: 700px;
  color: var(--color-text-gray);
}

.section-subtitle-list li {
  display: flex; /* cada item como fila */
  align-items: center; /* alinear símbolo y texto verticalmente */
  gap: 12px;
  font-weight: 600;
  margin: 10px auto; /* centrar cada item horizontalmente */
  padding: 6px 12px;
  max-width: 620px; /* ancho del item para la columna central */
  box-sizing: border-box;
}

.section-subtitle-list li::before {
  content: '✖';
  color: var(--color-danger);
  font-weight: 900;
  font-size: 1.05rem;
  line-height: 1;
  display: inline-block;
  transform: translateY(0); /* ajustar verticalmente para perfecta alineación */
}

/* PROBLEMA (Grid) */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.problem-card {
  background: var(--color-card-bg);
  padding: 35px;
  border-radius: 15px;
  border-top: 5px solid var(--color-primary);
  box-shadow: 0 5px 15px rgb(0 0 0 / 5%);
}
.problem-card h3 {
  color: var(--color-secondary);
  margin-top: 0;
  font-size: 1.3rem;
}

/* SOLUCIÓN (Fondo Morado) */
.solution-section {
  background-color: var(--color-secondary);
  color: var(--color-white);
}
.solution-section .section-title {
  color: var(--color-white);
}
.solution-section .section-subtitle {
  color: rgb(255 255 255 / 90%);
}
.solution-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
}
.solution-list li {
  margin-bottom: 25px;
  padding-left: 40px;
  position: relative;
  font-size: 1.15rem;
}

.solution-list + .button-container {
  margin-top: 40px;
}

.solution-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--color-accent-green);
  font-size: 1.3rem;
}

/* PROCESO (Pasos) */
.process-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  margin-top: 50px;
}
.step-card {
  flex: 1;
  min-width: 250px;
  text-align: center;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0 auto 20px;
  box-shadow: 0 5px 15px rgb(230 117 66 / 30%);
}

/* PRECIO (Caja Destacada) */
.pricing-box {
  background: var(--color-white);
  border: 3px solid var(--color-secondary);
  border-radius: 25px;
  padding: 60px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgb(55 40 79 / 15%);
  position: relative;
  overflow: hidden;
}
.pricing-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: var(--color-accent-green);
}
.price-tag {
  font-size: 4rem;
  color: var(--color-secondary);
  font-weight: 800;
  margin: 25px 0 5px;
  letter-spacing: -2px;
}
.check-list {
  text-align: left;
  margin: 35px auto;
  max-width: 450px;
  font-size: 1.1rem;
}
.check-list div {
  margin-bottom: 12px;
  display: flex;
  gap: 10px;
}

/* CUALIFICACIÓN */
.qual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 40px;
}
.qual-col h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.qual-yes h3 {
  color: var(--color-accent-green);
}
.qual-no h3 {
  color: var(--color-primary);
}
.qual-list li {
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
  list-style: none;
}
.qual-yes li::before {
  content: '\f164';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--color-accent-green);
}
.qual-no li::before {
  content: '\f071';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--color-primary);
}

/* FOOTER */
@media (width <= 768px) {
  .landing-hero {
    align-items: flex-start;
    padding-top: 40px;
  } /* Más arriba aún */
  .landing-hero-content {
    margin-top: 0 !important;
    padding-top: 60px !important;
  } /* Bajamos más en móvil */
  .main-title {
    font-size: 2rem;
  }
  .sub-title {
    font-size: 1.15rem;
  }
  .qual-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .pricing-box {
    padding: 40px 20px;
  }
  .price-tag {
    font-size: 3rem;
  }

  .cta-btn {
    padding: 15px 10px !important;
    font-size: 0.85rem !important;
    white-space: nowrap;
  }
  .pre-title {
    font-size: 0.85rem;
  }

  /* Reducir tamaño de 'EL RESULTADO' en móvil para mejor ajuste */
  .section-subtitle strong {
    font-size: 1.05rem;
  }

  /* Desactivar hover en móvil para botones CTA */
  .cta-btn:hover,
  .cta-btn.btn-control:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    transform: none;
    box-shadow: 0 10px 25px rgb(230 117 66 / 40%);
  }

  /* Efecto de toque verde breve en móvil */
  .cta-btn.btn-control.mobile-touched {
    background-color: var(--color-accent-green) !important;
    border-color: var(--color-accent-green) !important;
    color: var(--color-white) !important;
    animation: mobile-touch-fade 0.6s ease-out forwards;
  }
}

/* Animación para efecto de toque en móvil */
@keyframes mobile-touch-fade {
  0% {
    background-color: var(--color-accent-green);
    border-color: var(--color-accent-green);
  }
  50% {
    background-color: var(--color-accent-green);
    border-color: var(--color-accent-green);
  }
  100% {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
  }
}

/* --- NUEVAS CLASES PARA ESTILOS EN LÍNEA --- */

/* Utility color classes (para usar en el HTML y mantener estilos limpios) */
.brand-orange {
  color: var(--color-primary);
}
.text-white {
  color: var(--color-white);
}

/* Contenedores de botones */
.button-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.section-highlight-text + .button-container {
  margin-top: 40px;
}

/* Estilo flex para botones anchos */
.cta-button-flex {
  flex: 1;
  min-width: 250px;
  max-width: 450px;
  box-sizing: border-box;
}

/* Botón especial MercadoPago */
.btn-mercadopago {
  background-color: var(--color-mercadopago);
  border-color: var(--color-mercadopago);
  box-shadow: 0 10px 25px rgb(0 158 227 / 40%);
}

.btn-mercadopago:hover {
  background-color: var(--color-mercadopago-dark);
  border-color: var(--color-mercadopago-dark);
}

/* Iconos de la sección "Problema" */
.problem-card h3 {
  color: var(--color-secondary);
  margin-top: 0;
  font-size: 1.3rem;
  display: flex;
  align-items: flex-start; /* alinea icono al tope del título de dos líneas */
  gap: 0.8rem;
}

.problem-icon {
  color: var(--color-primary);
  margin-right: 0; /* el gap ahora lo maneja el h3 */
  font-size: 2.6rem; /* mucho más grande para ocupar el alto de dos líneas */
  line-height: 1;
  min-width: 2.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (width <= 768px) {
  .problem-icon {
    font-size: 2.2rem; /* ajustado para móviles pero aún notablemente mayor */
    margin-right: 0;
    min-width: 2.2rem;
  }
  .problem-card h3 {
    font-size: 1.05rem;
    gap: 0.6rem;
  }
}

/* Texto destacado en secciones */
.section-highlight-text {
  text-align: center;
  margin-top: 50px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-secondary);
}

/* Párrafo introductorio de la sección "Solución" */
.solution-intro-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 50px;
  font-size: 1.1rem;
}

.solution-list + .button-container {
  margin-top: 40px;
}

/* Estilos de la caja de precios */
#oferta {
  background-color: var(--color-bg-gray);
}

.pricing-box-title {
  color: var(--color-secondary);
  margin-top: 0;
  text-transform: uppercase;
  font-weight: 800;
}

.pricing-box-subtitle {
  color: var(--color-text-gray);
  margin-bottom: 30px;
  font-weight: 700; /* más grueso */
}

.check-list .check-icon {
  color: var(--color-accent-green);
}

.check-list .bonus-icon {
  color: var(--color-primary);
}

/* Hacer más pesado (negrita) el texto de cada elemento de la lista de oferta */
.check-list > div {
  font-weight: 700;
}

.check-list > div strong {
  font-weight: 900; /* si hay <strong> dentro, enfatizar aún más */
}

.pricing-box-quote {
  font-style: italic;
  margin: 30px 0;
  color: var(--color-text-quote);
}

/* CTA de WhatsApp antes del Footer */
.footer-whatsapp-cta {
  background-color: var(--color-bg-gray);
  padding: 60px 20px;
  text-align: center;
}

.footer-question {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin: 0 0 20px;
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background-color: var(--color-whatsapp);
  color: var(--color-white);
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgb(37 211 102 / 30%);
}
.whatsapp-link i {
  font-size: 1.5rem;
}

.whatsapp-link:hover {
  background-color: var(--color-whatsapp-dark);
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgb(37 211 102 / 40%);
}

/* Estilos del Footer */
.main-footer {
  /* Public footer: keep it neutral/black in both themes */
  background-color: #000;
  color: var(--color-white);
  padding: 60px 5% 30px;
  font-family: Montserrat, sans-serif;
}

.main-footer .footer-brand-copy {
  color: rgb(255 255 255 / 82%);
}

.main-footer .footer-links a {
  color: rgb(255 255 255 / 80%);
}

.main-footer .footer-bottom {
  color: rgb(255 255 255 / 60%);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-container > div:nth-child(2),
.footer-container > div:nth-child(3) {
  align-self: start;
}

.footer-logo-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  text-align: left;
  align-self: start;
}

.footer-logo-bg {
  background: var(--color-white);
  padding: 15px;
  border-radius: 12px;
  display: inline-block;
  width: fit-content;
}

.footer-logo-img {
  height: 52.5px;
  width: auto;
}

.footer-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--color-primary); /* Naranja principal */
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgb(255 255 255 / 80%);
  text-decoration: none;
  transition: all 0.3s;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 20px;
  display: inline-block;
  background-color: transparent;
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-links a.clicked {
  background-color: var(--color-accent-green);
  color: var(--color-white) !important;
  animation: fadeOutClickFooter 1.5s ease-in-out forwards;
}

@keyframes fadeOutClickFooter {
  0% {
    background-color: var(--color-accent-green);
    color: var(--color-white);
  }
  60% {
    background-color: var(--color-accent-green);
    color: var(--color-white);
  }
  100% {
    background-color: transparent;
    color: rgb(255 255 255 / 80%);
  }
}

/* Redes Sociales en la columna Conectemos */
.footer-socials {
  display: flex;
  gap: 15px;
  justify-content: flex-start;
}

.social-icon {
  width: 45px;
  height: 45px;
  background-color: rgb(255 255 255 / 10%);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:focus,
.social-icon:active {
  background-color: var(--color-accent-green) !important;
  outline: none;
  transform: translateY(-3px);
}

.social-icon.whatsapp:hover {
  background-color: var(--color-whatsapp-dark);
  transform: translateY(-3px);
}
.social-icon.instagram:hover {
  background-color: #e4405f;
  transform: translateY(-3px);
}
.social-icon.linkedin:hover {
  background-color: #0077b5;
  transform: translateY(-3px);
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgb(255 255 255 / 10%);
  text-align: center;
  font-size: 0.9rem;
  color: rgb(255 255 255 / 60%);
}

@media (width <= 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo-bg,
  .footer-socials {
    margin: 0 auto;
  }

  .footer-logo-box {
    align-items: center;
    text-align: center;
  }

  .footer-logo-box p {
    margin-left: 0;
    margin-right: 0;
  }

  .footer-links a {
    padding: 8px 12px;
    border-radius: 20px;
    display: inline-block;
    margin: 8px 5px; /* Más espacio vertical y horizontal */
    color: rgb(255 255 255 / 80%) !important;
    text-decoration: none;
    transition: none;
    font-size: 1.1rem; /* Aumentamos un poco más la fuente para mejor lectura */
  }

  .footer-links a:hover {
    color: rgb(255 255 255 / 80%) !important;
  }

  .footer-socials {
    justify-content: center;
  }

  /* Ajustes para la lista de subtítulo en móvil: mantener una columna central */
  .section-subtitle-list {
    text-align: center;
    margin: 0 auto 20px;
    max-width: 340px;
    padding-left: 0; /* quitar desplazamiento en móvil */
  }

  .section-subtitle-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: auto;
    padding: 8px 6px;
    margin: 8px auto;
    justify-content: flex-start;
    width: 100%;
  }

  .section-subtitle-list li::before {
    transform: translateY(0);
  }
}

.landing-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 75px;
  background-color: rgb(255 255 255 / 96%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgb(0 0 0 / 8%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  box-sizing: border-box;
  z-index: 1000;
  box-shadow: 0 2px 15px rgb(0 0 0 / 8%);
  line-height: 0;
}

/* ============================================================
   WIDGET COUNTDOWN EN NAVBAR - RENTA 2026
   ============================================================ */
.landing-header .countdown-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0 !important;
  height: auto !important;
  padding: 0 !important;
  position: static !important;
  margin: 0 !important;
  flex: 0 1 auto !important;
  min-width: 0 !important;
  overflow: visible !important;
}

.landing-header .countdown-label {
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 0 !important;
  padding: 1px 2px !important;
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  color: #fff;
  background: #000;
  border-radius: 2px 2px 0 0;
  border: none !important;
  white-space: nowrap;
  line-height: 0.8 !important;
  display: block !important;
}

.landing-header .countdown-display {
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  font-size: 0.9rem;
  font-weight: 900;
  color: #a02020;
  letter-spacing: 0.5px;
  margin: 0 !important;
  padding: 1px 2px !important;
  line-height: 0.8 !important;
  background: linear-gradient(
    135deg,
    rgb(160 32 32 / 15%) 0%,
    rgb(160 32 32 / 8%) 30%,
    rgb(160 32 32 / 12%) 70%,
    rgb(160 32 32 / 6%) 100%
  );
  border: 1px solid rgb(160 32 32 / 30%);
  border-radius: 0 0 2px 2px;
  white-space: nowrap;
  display: block !important;
}

/* Desktop: centrar widget y aumentar tamaños para visibilidad */
@media (width > 768px) {
  .landing-header {
    position: fixed !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 5% !important;
    height: 75px !important;
    gap: 0 !important;
    line-height: 1.2 !important;
  }

  .landing-logo {
    position: static !important;
    left: auto !important;
    flex: 0 0 auto !important;
  }

  .landing-header-tools {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  .landing-header .countdown-container {
    position: static !important;
    flex: none !important;
    margin: 0 auto !important;
    gap: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    height: auto !important;
    overflow: visible !important;
  }

  .landing-header .countdown-label {
    font-size: 0.7rem !important;
    line-height: 1 !important;
    padding: 1px 2px !important;
    margin: 0 !important;
    display: block !important;
    height: auto !important;
    min-height: 6px !important;
    white-space: nowrap !important;
    letter-spacing: 0.3px !important;
    position: static !important;
    top: auto !important;
    transform: none !important;
    z-index: auto !important;
  }

  .landing-header .countdown-display {
    font-size: 1.5rem !important;
    line-height: 1.2 !important;
    padding: 1px 2px !important;
    margin: 0 !important;
    display: block !important;
    height: auto !important;
    white-space: nowrap !important;
    letter-spacing: 0.7px !important;
    animation: none !important;
  }

  .landing-header .countdown-display::after {
    display: none !important;
  }
}

/* Responsive móvil para el widget - MEDIA QUERY ÚNICA DEFINITIVA */
@media (width <= 768px) {
  .landing-header {
    padding: 8px 3% !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: auto !important;
    min-height: auto !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
  }

  .landing-header-tools {
    gap: 10px !important;
    flex: 0 1 auto !important;
  }

  .landing-logo {
    max-height: 50px !important;
    height: auto !important;
    width: auto !important;
    flex: 0 1 auto !important;
  }

  .landing-header .countdown-container {
    position: static !important;
    transform: none !important;
    gap: 0 !important;
    padding: 0 !important;
    flex: 0 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    margin-left: 0 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .landing-header .countdown-label {
    font-size: 0.7rem !important;
    line-height: 1 !important;
    padding: 0.5px 1px !important;
    letter-spacing: 0.3px !important;
    border-radius: 1px 1px 0 0 !important;
    border: none !important;
    margin: 0 !important;
    white-space: nowrap !important;
    overflow: visible !important;
    display: block !important;
  }

  .landing-header .countdown-display {
    font-size: 0.85rem !important;
    line-height: 1 !important;
    padding: 0.5px 1px !important;
    letter-spacing: 0.3px !important;
    border-radius: 0 0 1px 1px !important;
    border: 1px solid rgb(160 32 32 / 20%) !important;
    margin: 0 !important;
    white-space: nowrap !important;
    overflow: visible !important;
    display: block !important;
  }
}

.landing-header a {
  display: flex;
  align-items: center;
  height: 100%;
  text-decoration: none;
}

.landing-logo {
  width: auto;
  max-height: 60px;
  height: auto;
  display: block;
  max-width: 100%;
  object-fit: contain;
}

/* Custom style for larger button text */
.btn-large-text {
  font-size: 1.3em !important;
  padding-top: 22px !important;
  padding-bottom: 22px !important;
}

/* ============================================================
   Rescate visual 2026-03: dirección cálida y más editorial
   ============================================================ */
.landing-hero {
  min-height: 78vh;
  align-items: flex-end;
  padding: 3rem 2rem 4rem;
}

.landing-hero::before {
  background: linear-gradient(130deg, rgb(34 24 52 / 92%) 8%, rgb(116 51 28 / 72%) 100%);
}

.landing-hero-content {
  max-width: 760px;
}

.pre-title {
  background: rgb(255 255 255 / 12%);
  color: #fff3ea;
  border-color: rgb(255 255 255 / 28%);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.main-title,
.sub-title,
.landing-hero .button-container {
  text-align: left;
}

.landing-hero .button-container {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.problem-card {
  text-align: left;
  background: linear-gradient(180deg, rgb(255 248 243 / 96%) 0%, rgb(255 255 255 / 100%) 100%);
  border: 1px solid rgb(230 117 66 / 12%);
  border-left: 5px solid var(--color-primary);
  box-shadow: 0 16px 32px rgb(55 40 79 / 8%);
}

.solution-section {
  background: linear-gradient(180deg, rgb(255 250 246 / 100%) 0%, rgb(247 244 250 / 100%) 100%);
}

.solution-section,
.solution-section .section-title,
.solution-section .solution-intro-text p,
.solution-section .solution-list li {
  color: var(--cy-text, #111816);
}

.solution-section .section-subtitle {
  color: #5f726c;
}

.cta-btn,
.step-number {
  background-color: #b5562d;
  border-color: #b5562d;
}

.cta-btn:hover,
.cta-btn.btn-control:hover,
.cta-btn.clicked,
.cta-btn.btn-control.mobile-touched {
  background-color: #237548 !important;
  border-color: #237548 !important;
}

.cta-btn.btn-asesor.clicked {
  background-color: #b5562d !important;
  border-color: #b5562d !important;
}

.cta-btn.btn-control.clicked,
.btn-ghost {
  border-color: #1f6f73 !important;
  color: #1f6f73 !important;
}

.btn-ghost:hover {
  background-color: #1f6f73 !important;
}

.brand-orange,
.qual-no h3,
.qual-no li::before,
.problem-icon,
.check-list .bonus-icon {
  color: #b5562d;
}

.qual-yes h3,
.qual-yes li::before,
.check-list .check-icon {
  color: #237548;
}

.btn-mercadopago {
  background-color: #0075ac;
  border-color: #0075ac;
}

.btn-mercadopago:hover {
  background-color: #005f8a;
  border-color: #005f8a;
}

.whatsapp-link {
  background-color: #1b7c44;
}

.whatsapp-link:hover {
  background-color: #145f33;
}

.pricing-box {
  background: linear-gradient(180deg, rgb(255 250 246 / 100%) 0%, rgb(255 255 255 / 100%) 100%);
  border: 1px solid rgb(230 117 66 / 14%);
  box-shadow: 0 22px 48px rgb(55 40 79 / 12%);
}

.pricing-box::before {
  background: linear-gradient(90deg, var(--color-primary) 0%, #f1a267 100%);
}

.qual-col {
  box-shadow: 0 18px 38px rgb(55 40 79 / 10%);
}

@media (min-width: 900px) {
  .landing-hero {
    justify-content: flex-start;
    padding: 4rem 5rem 5rem;
  }
}

@media (max-width: 768px) {
  .main-title,
  .sub-title,
  .landing-hero .button-container {
    text-align: center;
  }

  .landing-hero .button-container {
    justify-content: center;
  }
}

/* ============================================================
   Cierre visual 2026-03-11: legibilidad dark + ritmo uniforme
   ============================================================ */
.landing-hero {
  min-height: max(76vh, 680px);
  padding: clamp(5.25rem, 9.5vw, 6.5rem) clamp(1.25rem, 4vw, 3rem) clamp(4rem, 7vw, 5rem);
}

.landing-hero-content {
  width: min(760px, 100%);
  margin-top: clamp(3rem, 6.5vw, 4.85rem);
  padding-top: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(0.9rem, 2.2vw, 1.4rem);
}

.pre-title {
  margin-top: 0;
  margin-bottom: 0;
  align-self: flex-start;
}

.main-title {
  margin: 0;
  max-width: 13ch;
  text-wrap: balance;
}

.sub-title {
  margin: 0;
  max-width: 60ch;
  color: rgb(250 241 234 / 95%);
  text-wrap: pretty;
}

.landing-hero .button-container {
  margin-top: 0;
  gap: 14px;
}

.section-title {
  text-wrap: balance;
}

.section-subtitle,
.solution-intro-text p,
.qual-text,
.faq-answer {
  text-wrap: pretty;
}

.section-title,
.section-subtitle,
.subtitle-lead,
.problem-card h3,
.problem-card p,
.solution-list li,
.step-card,
.step-card p,
.pricing-box,
.pricing-box li,
.pricing-box-subtitle,
.pricing-box-quote,
.qual-col,
.qual-col li,
.footer-brand-copy,
.footer-links a,
.footer-question,
.landing-header .countdown-label,
.landing-header .countdown-display,
.ticker-item strong,
.ticker-value {
  color: var(--cy-text, #111816);
}

.landing-header .countdown-label {
  color: rgb(255 255 255);
}

.landing-header .countdown-display {
  color: rgb(124 24 24);
}

.problem-card,
.pricing-box,
.qual-col,
.faq-item {
  color: var(--cy-text, #111816);
}

[data-theme='dark'] .landing-hero::before {
  background: linear-gradient(130deg, rgb(17 11 27 / 94%) 6%, rgb(101 42 24 / 78%) 100%);
}

[data-theme='dark'] .custom-navbar {
  background: rgb(12 10 19 / 82%);
  border-bottom-color: rgb(255 255 255 / 8%);
}

[data-theme='dark'] .nav-menu .nav-link,
[data-theme='dark'] .countdown-label,
[data-theme='dark'] .countdown-display {
  color: rgb(245 236 231 / 94%) !important;
}

[data-theme='dark'] .landing-header .countdown-label {
  background: rgb(245 236 231 / 12%);
  border: 1px solid rgb(255 220 201 / 16%) !important;
}

[data-theme='dark'] .landing-header .countdown-display {
  background: linear-gradient(135deg, rgb(255 120 120 / 8%) 0%, rgb(255 120 120 / 4%) 100%);
  border-color: rgb(255 192 192 / 18%);
}

[data-theme='dark'] .main-title {
  color: rgb(250 243 237 / 98%);
}

[data-theme='dark'] .pre-title {
  background: rgb(255 244 238 / 10%);
  color: rgb(255 232 220 / 96%);
  border-color: rgb(255 214 191 / 22%);
}

[data-theme='dark'] .sub-title {
  color: rgb(249 236 226 / 92%);
}

[data-theme='dark'] .problem-card,
[data-theme='dark'] .pricing-box,
[data-theme='dark'] .qual-col,
[data-theme='dark'] .faq-item {
  background: linear-gradient(180deg, rgb(30 23 39 / 96%) 0%, rgb(22 17 31 / 100%) 100%);
  border-color: rgb(230 117 66 / 24%);
  box-shadow: 0 18px 42px rgb(6 3 10 / 28%);
}

[data-theme='dark'] .solution-section {
  background: linear-gradient(180deg, rgb(25 18 32 / 100%) 0%, rgb(19 15 27 / 100%) 100%);
}

[data-theme='dark'] .section-title,
[data-theme='dark'] .section-subtitle,
[data-theme='dark'] .subtitle-lead,
[data-theme='dark'] .problem-card h3,
[data-theme='dark'] .problem-card p,
[data-theme='dark'] .solution-list li,
[data-theme='dark'] .qual-col,
[data-theme='dark'] .qual-col li,
[data-theme='dark'] .faq-question,
[data-theme='dark'] .faq-answer,
[data-theme='dark'] .pricing-box,
[data-theme='dark'] .pricing-box li,
[data-theme='dark'] .pricing-box-subtitle,
[data-theme='dark'] .pricing-box-quote,
[data-theme='dark'] .step-card,
[data-theme='dark'] .step-card p,
[data-theme='dark'] .footer-brand-copy,
[data-theme='dark'] .footer-links a,
[data-theme='dark'] .footer-question,
[data-theme='dark'] .ticker-item strong,
[data-theme='dark'] .ticker-value {
  color: rgb(244 238 232 / 96%);
}

[data-theme='dark'] .section-highlight-text,
[data-theme='dark'] .subtitle-lead {
  color: rgb(255 216 198 / 94%);
}

[data-theme='dark'] .btn-ghost {
  background: rgb(255 255 255 / 4%);
  border-color: rgb(255 219 197 / 26%);
  color: rgb(255 238 227 / 96%) !important;
}

[data-theme='dark'] .btn-ghost:hover,
[data-theme='dark'] .btn-ghost:focus {
  background: rgb(255 255 255 / 10%);
  border-color: rgb(255 219 197 / 26%) !important;
}

@media (max-width: 768px) {
  .landing-hero {
    min-height: auto;
    padding-top: clamp(5.15rem, 14.5vw, 6.25rem);
  }

  .landing-hero-content {
    align-items: center;
    width: min(100%, 34rem);
    margin-top: clamp(2.35rem, 10vw, 3.3rem);
  }

  .pre-title {
    align-self: center;
  }
}

/* ============================================================
   Fix produccion 2026-03-19: hero roto, jerarquia y mobile
   ============================================================ */
.landing-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(700px, 86vh, 960px);
  width: 100%;
  margin-left: 0;
  padding:
    calc(var(--indicator-bar-height) + 5.85rem)
    clamp(1rem, 4vw, 3rem)
    clamp(4rem, 7vw, 5.25rem);
  align-items: center;
  justify-content: center;
  overflow: clip;
}

.landing-hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: clamp(110px, 18vw, 180px);
  background: linear-gradient(180deg, rgb(255 255 255 / 0%) 0%, rgb(249 248 250 / 100%) 100%);
  pointer-events: none;
  z-index: 1;
}

.landing-hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, 760px);
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2.45rem);
  border-radius: 28px;
  border: 1px solid rgb(255 230 214 / 22%);
  background: linear-gradient(180deg, rgb(53 27 39 / 50%) 0%, rgb(53 27 39 / 30%) 100%);
  box-shadow: 0 32px 72px rgb(32 14 24 / 24%);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: clamp(1rem, 2vw, 1.4rem);
}

.main-title {
  max-width: 12ch;
  font-size: clamp(2.25rem, 5vw, 4.8rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.sub-title {
  max-width: 58ch;
  font-size: clamp(1rem, 1.45vw, 1.14rem);
  line-height: 1.7;
}

.pre-title {
  align-self: flex-start;
  width: auto;
  min-width: 0;
  max-width: 100%;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  background: rgb(255 247 241 / 90%);
  border: 1px solid rgb(181 86 45 / 16%);
  color: #7a3f21;
  font-size: 0.8rem;
  letter-spacing: 0.11em;
  white-space: normal;
  text-align: left;
}

.landing-hero .button-container {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.85rem;
}

.landing-hero .cta-button-flex {
  min-width: 220px;
  justify-content: center;
}

.section {
  padding: clamp(4.25rem, 7vw, 6rem) 0;
}

.container {
  width: min(1120px, calc(100% - 2rem));
}

.problem-grid,
.steps-grid,
.qual-grid {
  gap: clamp(1rem, 2vw, 1.5rem);
}

.problem-card,
.step-card,
.pricing-box,
.qual-col {
  border-radius: 24px;
}

.footer-whatsapp-cta {
  padding-inline: 1rem;
}

[data-theme='dark'] .landing-hero-content {
  background: linear-gradient(180deg, rgb(21 13 27 / 82%) 0%, rgb(47 24 31 / 62%) 100%);
  border-color: rgb(255 214 191 / 14%);
  box-shadow: 0 34px 74px rgb(6 3 10 / 42%);
}

[data-theme='dark'] .landing-hero::after {
  background: linear-gradient(180deg, rgb(19 15 27 / 0%) 0%, rgb(19 15 27 / 100%) 100%);
}

@media (max-width: 900px) {
  .landing-hero {
    justify-content: flex-start;
    padding-top: calc(var(--indicator-bar-height) + 4.9rem);
  }

  .landing-hero-content {
    width: min(100%, 34rem);
  }

  .main-title {
    max-width: 11ch;
  }
}

@media (max-width: 768px) {
  .custom-navbar {
    min-height: 64px;
    padding-inline: 1rem;
  }

  body.has-indicator-bar {
    padding-top: calc(var(--indicator-bar-height) + 64px);
  }

  .custom-navbar .logo-img {
    height: 48px;
  }

  .landing-header-tools {
    gap: 0.7rem;
  }

  .landing-header .countdown-container {
    min-width: 0;
  }

  .landing-header .countdown-label,
  .landing-header .countdown-display {
    white-space: nowrap;
  }

  .landing-hero {
    min-height: auto;
    padding:
      calc(var(--indicator-bar-height) + 4.65rem)
      0.9rem
      2.75rem;
  }

  .landing-hero-content {
    align-items: center;
    text-align: center;
    padding: 1.25rem 1rem 1.1rem;
    border-radius: 22px;
  }

  .main-title,
  .sub-title,
  .pre-title {
    max-width: 100%;
    text-align: center;
  }

  .main-title {
    font-size: clamp(2rem, 10vw, 2.9rem);
    line-height: 0.96;
  }

  .sub-title {
    font-size: 0.98rem;
    line-height: 1.58;
  }

  .pre-title {
    align-self: center;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
  }

  .landing-hero .button-container {
    justify-content: center;
  }

  .landing-hero .cta-button-flex {
    width: 100%;
    min-width: 0;
  }

  .container {
    width: min(100%, calc(100% - 1.2rem));
  }

  .section-title {
    font-size: clamp(1.8rem, 8vw, 2.3rem);
  }
}

/* Ajuste fino 2026-03-19b: alineacion impecable hero + respiracion cards */
.landing-hero-content {
  align-items: center;
  text-align: center;
}

.main-title,
.sub-title,
.pre-title {
  text-align: center;
}

.pre-title {
  align-self: center;
  margin-inline: auto;
}

.landing-hero .button-container {
  justify-content: center;
}

.landing-hero .cta-button-flex {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 370px);
  min-width: 270px;
  min-height: 66px;
  padding: 0.95rem 1.5rem;
  text-align: center;
  line-height: 1.1;
  white-space: nowrap;
}

.problem-card,
.step-card,
.pricing-box,
.qual-col {
  padding: clamp(1.25rem, 2vw, 1.65rem);
}

.problem-card h3,
.problem-card p,
.step-card h3,
.step-card p,
.pricing-box p,
.pricing-box li,
.qual-col h3,
.qual-col li {
  overflow-wrap: break-word;
}

@media (max-width: 768px) {
  .landing-hero .cta-button-flex {
    width: 100%;
    min-width: 0;
    min-height: 58px;
    white-space: normal;
    text-wrap: balance;
    padding-inline: 1rem;
  }

  .problem-card,
  .step-card,
  .pricing-box,
  .qual-col {
    padding: 1.15rem 1rem;
  }
}

/* Premium pass 2026-03-19c: motion y acabado editorial */
:root {
  --landing-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --landing-ease-soft: cubic-bezier(0.25, 1, 0.5, 1);
}

.landing-hero::before {
  animation: rentaHeroGlow 16s ease-in-out infinite alternate;
  transform-origin: center;
}

.landing-hero-content {
  overflow: hidden;
}

.landing-hero-content::after {
  content: '';
  position: absolute;
  inset: -40% auto auto -20%;
  width: 42%;
  height: 180%;
  background: linear-gradient(90deg, rgb(255 255 255 / 0%) 0%, rgb(255 236 226 / 0.1) 50%, rgb(255 255 255 / 0%) 100%);
  transform: rotate(18deg) translate3d(-120%, 0, 0);
  pointer-events: none;
  mix-blend-mode: screen;
  animation: premiumShine 9s 1.2s infinite;
}

.landing-hero-content > * {
  opacity: 0;
  transform: translateY(18px);
  animation: landingFadeUp 0.8s var(--landing-ease-soft) forwards;
}

.landing-hero-content > *:nth-child(1) {
  animation-delay: 0.08s;
}

.landing-hero-content > *:nth-child(2) {
  animation-delay: 0.18s;
}

.landing-hero-content > *:nth-child(3) {
  animation-delay: 0.28s;
}

.landing-hero-content > *:nth-child(4) {
  animation-delay: 0.4s;
}

.problem-card,
.step-card,
.pricing-box,
.qual-col {
  transition:
    transform 260ms var(--landing-ease-out),
    box-shadow 260ms var(--landing-ease-out),
    border-color 260ms var(--landing-ease-out),
    background-color 260ms var(--landing-ease-out);
}

.problem-card:hover,
.step-card:hover,
.pricing-box:hover,
.qual-col:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 42px rgb(44 24 26 / 12%);
}

.cta-btn,
.whatsapp-link {
  transition:
    transform 180ms var(--landing-ease-out),
    box-shadow 220ms var(--landing-ease-out),
    background-color 220ms var(--landing-ease-out),
    border-color 220ms var(--landing-ease-out),
    color 220ms var(--landing-ease-out);
}

.cta-btn:hover,
.whatsapp-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgb(181 86 45 / 24%);
}

.cta-btn:active,
.whatsapp-link:active {
  transform: translateY(0) scale(0.985);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 700ms var(--landing-ease-soft),
    transform 700ms var(--landing-ease-soft);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-theme='dark'] .problem-card:hover,
[data-theme='dark'] .step-card:hover,
[data-theme='dark'] .pricing-box:hover,
[data-theme='dark'] .qual-col:hover {
  box-shadow: 0 26px 48px rgb(6 3 10 / 30%);
}

@keyframes landingFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes premiumShine {
  0%,
  72%,
  100% {
    transform: rotate(18deg) translate3d(-120%, 0, 0);
    opacity: 0;
  }
  12%,
  28% {
    opacity: 1;
  }
  40% {
    transform: rotate(18deg) translate3d(300%, 0, 0);
    opacity: 0;
  }
}

@keyframes rentaHeroGlow {
  from {
    transform: scale(1);
    filter: saturate(1);
  }
  to {
    transform: scale(1.03);
    filter: saturate(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-hero::before,
  .landing-hero-content::after,
  .landing-hero-content > *,
  .reveal-on-scroll,
  .problem-card,
  .step-card,
  .pricing-box,
  .qual-col,
  .cta-btn,
  .whatsapp-link {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* Hotfix 2026-03-19d: countdown perfectamente centrado en desktop */
@media (width > 768px) {
  .landing-header {
    position: fixed !important;
    display: grid !important;
    grid-template-columns: max-content 1fr max-content;
    align-items: center !important;
    padding-inline: 5% !important;
    column-gap: 1rem;
    line-height: 1 !important;
  }

  .landing-logo {
    grid-column: 1;
    justify-self: start;
  }

  .landing-header-tools {
    grid-column: 2 / 4;
    display: grid !important;
    grid-template-columns: 1fr max-content 1fr;
    align-items: center;
    width: 100%;
    margin-left: 0 !important;
    gap: 0 !important;
  }

  .landing-header .countdown-container {
    grid-column: 2;
    justify-self: center;
    margin: 0 !important;
  }

  .landing-header-tools .theme-toggle {
    grid-column: 3;
    justify-self: end;
  }

  .landing-header .countdown-container {
    transform: translateX(-78px);
  }

  .landing-hero-content {
    transform: translateX(-34px);
  }
}

/* Hotfix 2026-03-20a: cierre final consistente */
.section-qualification {
  padding-top: clamp(3.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(2.8rem, 4vw, 3.75rem);
}

.section-qualification .qual-grid {
  margin-top: clamp(1rem, 2vw, 1.5rem);
}

.section-qualification .qual-col {
  border: 1px solid rgb(230 117 66 / 20%);
}

.footer-whatsapp-cta {
  padding-top: clamp(2rem, 3.8vw, 2.9rem);
  padding-bottom: clamp(3rem, 4.8vw, 4rem);
}

/* Public site cleanup 2026-03-20b: remove AI-style accent stripes */
.problem-card {
  border-left-width: 1px;
}

.pricing-box::before {
  content: none;
  display: none;
}

/* Footer system 2026-03-20c: align landing footer with public site */
.main-footer {
  background: #020202;
  color: rgb(255 255 255 / 96%);
  padding: clamp(4.2rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 4rem) 1.6rem;
}

.main-footer .footer-container {
  max-width: 1320px;
  grid-template-columns: minmax(320px, 1.45fr) minmax(160px, 0.7fr) minmax(220px, 0.9fr);
  grid-template-areas:
    'brand explora conectemos'
    'brand explora legal';
  column-gap: clamp(2.5rem, 5vw, 6.5rem);
  row-gap: 1.5rem;
}

.main-footer .footer-container > div:first-child {
  grid-area: brand;
}

.main-footer .footer-container > div:nth-child(2) {
  grid-area: explora;
}

  .main-footer .footer-container > div:nth-child(3) {
    grid-area: legal;
    margin-top: -0.85rem;
  }

.main-footer .footer-container > div:nth-child(4) {
  grid-area: conectemos;
}

.main-footer .footer-logo-box {
  gap: 1rem;
  padding-top: 0.2rem;
}

.main-footer .footer-logo-bg {
  min-height: auto;
  padding: 15px;
  border-radius: 12px;
  background: #1d2430;
  border: 1px solid rgb(255 255 255 / 6%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 4%);
}

.main-footer .footer-logo-img {
  width: auto !important;
  height: 52.5px !important;
  max-height: 52.5px !important;
  object-fit: contain;
}

[data-theme='light'] .main-footer .footer-logo-bg {
  background: #f2f5fa;
  border-color: rgb(19 24 32 / 10%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 85%);
}

[data-theme='dark'] .main-footer .footer-logo-bg {
  background: #1d2430;
  border-color: rgb(255 255 255 / 6%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 4%);
}

.main-footer .footer-logo-box p,
.main-footer .footer-brand-copy {
  max-width: 320px;
  margin: 0;
  color: rgb(255 255 255 / 76%);
  font-size: 0.98rem;
  line-height: 1.55;
}

.main-footer .footer-title {
  margin: 0 0 0.95rem;
  color: #e67542;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.main-footer .footer-links li {
  margin: 0 0 0.7rem;
}

.main-footer .footer-links a {
  display: inline-block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgb(255 255 255 / 95%) !important;
  font-size: 1rem;
  line-height: 1.9;
}

.main-footer .footer-links a:hover {
  color: #e67542 !important;
  padding-left: 0;
}

.main-footer .footer-socials {
  gap: 0.8rem;
}

.main-footer .social-icon {
  width: 42px;
  height: 42px;
  background: rgb(255 255 255 / 8%);
  border: 1px solid rgb(255 255 255 / 7%);
}

.main-footer .footer-bottom {
  max-width: 1320px;
  margin: clamp(3rem, 5vw, 4rem) auto 0;
  padding-top: 1.4rem;
  border-top: 1px solid rgb(255 255 255 / 9%);
  color: rgb(255 255 255 / 62%);
}

@media (width <= 900px) {
  .main-footer .footer-container {
    grid-template-columns: 1fr;
    grid-template-areas:
      'brand'
      'explora'
      'conectemos'
      'legal';
    row-gap: 1.9rem;
    text-align: center;
  }

  .main-footer .footer-logo-box,
  .main-footer .footer-container > div:nth-child(2),
  .main-footer .footer-container > div:nth-child(3),
  .main-footer .footer-container > div:nth-child(4) {
    align-items: center;
    justify-self: center;
    text-align: center;
  }

  .main-footer .footer-logo-box p,
  .main-footer .footer-brand-copy {
    text-align: center;
  }

  .main-footer .footer-socials {
    justify-content: center;
  }
}
