/* ==========================================================================
   HYPSEN.AI - HOJA DE ESTILOS CORPORATIVA
   Diseño: Sobrio, Técnico y Confiable (Sin gradients neón ni glassmorphism)
   ========================================================================== */

/* Importar tipografía Plus Jakarta Sans e Inter */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* Variables de diseño de alta gama */
:root {
  --blue: #2563EB;
  --blue-hover: #1D4ED8;
  --blue-light: #EFF6FF;
  --blue-accent: #3B82F6;
  --navy: #0F172A;
  --navy-light: #1E293B;
  --text: #0F172A;
  --text-secondary: #475569;
  --bg-light: #FFFFFF;
  --bg-tinte: #F8FAFC;
  --border: #E2E8F0;
  --border-radius-lg: 24px;
  --border-radius-md: 16px;
  --border-radius-pill: 50px;
  --shadow-card: 0 20px 40px -15px rgba(15, 23, 42, 0.07);
  --shadow-hover: 0 25px 50px -12px rgba(37, 99, 235, 0.15);
  --shadow-pill: 0 8px 30px rgba(15, 23, 42, 0.08);
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset básico */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  color: var(--text);
  background-color: var(--bg-light);
  line-height: 1.65;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-size: 18px;
  overflow-x: hidden;
}

/* Enlaces */
a {
  color: var(--blue);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  text-decoration: underline;
}

/* Encabezados */
h1, h2, h3, h4, h5, h6 {
  color: var(--navy);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.5em;
}

h1 {
  font-size: 40px; /* Móvil por defecto, escalado en media query */
}

h2 {
  font-size: 28px;
  margin-bottom: 0.8em;
}

h3 {
  font-size: 22px;
  font-weight: 600;
}

/* Kicker / Etiqueta superior */
.kicker {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  display: block;
  margin-bottom: 0.8rem;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background-color: var(--blue);
  color: var(--bg-light);
}

.btn-primary:hover {
  background-color: #2b3db0;
}

.btn-secondary {
  border-color: var(--blue);
  color: var(--blue);
  background-color: transparent;
}

.btn-secondary:hover {
  background-color: rgba(58, 79, 196, 0.05);
}

.btn-terciary {
  color: var(--blue);
  background: none;
  border: none;
  padding: 0;
  font-size: 18px;
}

.btn-terciary::after {
  content: " →";
}

.btn-terciary:hover {
  text-decoration: underline;
}

/* Layout y Espaciado */
.section {
  padding: 80px 20px;
}

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

.w-text-limit {
  max-width: 68ch;
}

/* Alternancia de Fondos */
.bg-white {
  background-color: var(--bg-light);
}

.bg-tinte {
  background-color: var(--bg-tinte);
}

.bg-navy {
  background-color: var(--navy);
  color: var(--bg-light);
}

.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 {
  color: var(--bg-light);
}

/* ==========================================================================
   NAVEGACIÓN / HEADER
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: var(--transition);
}

.header-scrolled {
  box-shadow: 0 4px 20px rgba(22, 35, 61, 0.05);
}

.header-container {
  max-width: 1240px;
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
}

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

/* Menú Desktop */
.nav-menu {
  display: none;
  list-style: none;
  align-items: center;
  height: 100%;
}

.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-link {
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.nav-link:hover, .nav-item:hover > .nav-link {
  color: var(--blue);
  text-decoration: none;
}

/* Icono dropdown */
.nav-link::after {
  content: "";
  display: inline-block;
  margin-left: 6px;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid var(--text-secondary);
  transition: var(--transition);
}

.nav-link.no-arrow::after {
  display: none;
}

.nav-item:hover > .nav-link::after {
  transform: rotate(180deg);
  border-top-color: var(--blue);
}

/* MEGAMENÚ */
.megamenu {
  position: absolute;
  top: 68px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--bg-light);
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.04);
  border-radius: var(--border-radius-md);
  padding: 24px;
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1001;
}

.nav-item:hover .megamenu,
.nav-item:focus-within .megamenu {
  display: grid;
  opacity: 1;
  visibility: visible;
}

.megamenu-1col {
  width: 420px;
  grid-template-columns: 1fr;
}

.megamenu-2col {
  width: 720px;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.megamenu-3col {
  width: 940px;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
}

.megamenu-column-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}

.megamenu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.megamenu-item a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  transition: background-color 0.15s ease, transform 0.15s ease;
  text-decoration: none;
}

.megamenu-item a:hover {
  background-color: var(--bg-tinte);
  text-decoration: none;
}

.megamenu-item-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.megamenu-item-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.megamenu-item:hover .megamenu-item-title {
  color: var(--blue);
}

.megamenu-item a:hover {
  text-decoration: none;
}

/* Dropdown simple */
.dropdown-simple {
  position: absolute;
  top: 68px;
  left: 0;
  background-color: var(--bg-light);
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.04);
  border-radius: var(--border-radius-md);
  width: 280px;
  padding: 10px;
  display: none;
  opacity: 0;
  visibility: hidden;
  list-style: none;
  z-index: 1001;
}

.nav-item:hover .dropdown-simple,
.nav-item:focus-within .dropdown-simple {
  display: block;
  opacity: 1;
  visibility: visible;
}

.dropdown-simple-item a {
  display: block;
  padding: 10px 14px;
  color: var(--navy);
  font-weight: 500;
  font-size: 14px;
  border-radius: 8px;
  transition: background-color 0.15s ease;
}

.dropdown-simple-item a:hover {
  background-color: var(--bg-tinte);
  color: var(--blue);
  text-decoration: none;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lang-selector {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.lang-btn {
  cursor: pointer;
  color: var(--text-secondary);
  transition: var(--transition);
}

.lang-btn:hover {
  color: var(--blue);
}

.lang-btn.active {
  color: var(--navy);
  font-weight: 700;
  pointer-events: none;
}

/* Hamburguesa Móvil */
.burger {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  width: 24px;
  height: 24px;
  position: relative;
  z-index: 1100;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--navy);
  position: absolute;
  left: 0;
  transition: var(--transition);
}

.burger span:nth-child(1) { top: 4px; }
.burger span:nth-child(2) { top: 11px; }
.burger span:nth-child(3) { top: 18px; }

.burger.open span:nth-child(1) { transform: rotate(45deg); top: 11px; }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg); top: 11px; }

/* Menú Abierto Móvil */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: var(--bg-light);
  z-index: 1050;
  padding: 90px 24px 100px 24px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transition: right 0.3s ease-in-out;
}

.mobile-drawer.open {
  right: 0;
}

.mobile-nav {
  list-style: none;
  margin-bottom: auto;
}

.mobile-nav-item {
  border-bottom: 1px solid var(--border);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  color: var(--navy);
  font-weight: 600;
  font-size: 18px;
}

.mobile-nav-link::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: rotate(45deg);
  transition: var(--transition);
}

.mobile-nav-link.no-arrow::after {
  display: none;
}

/* Acordeón Móvil */
.mobile-submenu {
  display: none;
  padding-bottom: 16px;
  padding-left: 16px;
  list-style: none;
}

.mobile-submenu-item {
  margin-top: 14px;
}

.mobile-submenu-title {
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
}

.mobile-submenu-desc {
  font-size: 13px;
  color: var(--text-secondary);
}

.mobile-nav-item.active .mobile-submenu {
  display: block;
}

.mobile-nav-item.active .mobile-nav-link::after {
  transform: rotate(225deg);
}

.mobile-drawer-bottom {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Ajustes del Main Content y Reducción del Espacio Superior del Hero Banner */
.main-content {
  margin-top: 72px;
}

.main-content > section:first-of-type {
  padding-top: 16px !important;
}

/* ==========================================================================
   BLOQUE DE RESPUESTA DIRECTA (OPTIMIZACIÓN LLM / SEO)
   ========================================================================== */
/* ==========================================================================
   BLOQUE DE RESPUESTA DIRECTA (REDISEÑO DE 3 COLUMNAS SEGUNDO REFERENCIA)
   ========================================================================== */
.direct-response-block {
  background-color: var(--bg-tinte);
  border-left: 4px solid var(--blue);
  border-radius: 0 6px 6px 0;
  padding: 24px 30px;
  margin-top: 40px;
  margin-bottom: 40px;
  font-size: 17px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.6;
}

.direct-response-card {
  background-color: var(--bg-tinte);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border);
  padding: 44px 44px;
  margin: 24px 0 40px 0;
}

.direct-response-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 44px;
  align-items: center;
}

.direct-response-title {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin: 0 0 14px 0;
}

.direct-response-text {
  font-size: 19px;
  line-height: 1.65;
  color: var(--navy);
  font-weight: 400;
  margin: 0;
}

.direct-response-image-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--border);
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 340px;
}

.direct-response-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 992px) {
  .direct-response-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  
  .direct-response-image-card {
    max-width: 100%;
  }
}

.direct-response-chart-header {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chart-bars-container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  height: 95px;
  padding-top: 10px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 4px;
}

.chart-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.chart-bar {
  width: 100%;
  max-width: 18px;
  background: var(--navy);
  border-radius: 4px 4px 0 0;
  transition: height 0.3s ease;
}

.chart-bar.accent {
  background: var(--blue);
}

.chart-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 6px;
}

@media (max-width: 992px) {
  .direct-response-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ==========================================================================
   HERO Y SECCIONES
   ========================================================================== */
.hero {
  padding: 100px 20px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-visual {
  width: 100%;
  display: flex;
  justify-content: center;
}

.visual-placeholder {
  width: 100%;
  max-width: 600px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background-color: var(--bg-light);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

/* ==========================================================================
   TARJETAS Y REJILLAS
   ========================================================================== */
.grid-2col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.grid-3col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.grid-4col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.card {
  background-color: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 30px;
  transition: var(--transition);
}

.card:hover {
  border-color: var(--blue);
  box-shadow: 0 6px 20px rgba(58, 79, 196, 0.03);
}

.card-icon {
  font-size: 28px;
  margin-bottom: 16px;
  display: inline-block;
}

.card-title {
  font-size: 20px;
  margin-bottom: 12px;
}

.card-desc {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* ==========================================================================
   TABLA COMPARATIVA
   ========================================================================== */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 6px;
  margin: 40px 0;
}

.table-comp {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 16px;
}

.table-comp th, .table-comp td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
}

.table-comp th {
  background-color: var(--navy);
  color: var(--bg-light);
  font-weight: 600;
}

.table-comp tbody tr:nth-child(even) {
  background-color: var(--bg-tinte);
}

.table-comp tbody tr:last-child td {
  border-bottom: none;
}

.table-comp td:first-child {
  font-weight: 600;
  color: var(--navy);
}

/* ==========================================================================
   ACORDEÓN PREGUNTAS FRECUENTES (NATIVO / ACCESIBLE)
   ========================================================================== */
.faq-container {
  max-width: 800px;
  margin: 40px auto 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-details summary {
  list-style: none;
  font-weight: 600;
  font-size: 18px;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  outline: none;
}

.faq-details summary::-webkit-details-marker {
  display: none;
}

.faq-details summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 400;
  color: var(--text-secondary);
  transition: var(--transition);
}

.faq-details[open] summary::after {
  content: "-";
  transform: rotate(180deg);
}

.faq-content {
  padding-top: 12px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
}

/* ==========================================================================
   BLOQUES METACÁNICOS, NUMÉRICOS Y CITAS
   ========================================================================== */
.mechanism-block {
  background-color: var(--bg-tinte);
  border-radius: 6px;
  padding: 30px;
  margin: 30px 0;
  border: 1px solid var(--border);
}

.mechanism-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  display: block;
}

.quote-block {
  border-left: 4px solid var(--blue);
  padding-left: 24px;
  font-size: 20px;
  font-style: italic;
  color: var(--navy);
  margin: 30px 0;
}

.stat-item {
  text-align: center;
  padding: 20px;
}

.stat-number {
  font-size: 72px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-desc {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ==========================================================================
   PLANES DE PRECIOS
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 40px;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card-popular {
  border-color: var(--blue);
  border-width: 2px;
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 30px;
  background-color: var(--blue);
  color: var(--bg-light);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

.pricing-title {
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 4px;
}

.pricing-price {
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.pricing-price-sub {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: -6px;
  margin-bottom: 12px;
}

.pricing-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 20px;
  min-height: 40px;
}

.pricing-features-list {
  list-style: none;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: auto; /* Empuja el CTA al fondo */
}

.pricing-feature-item {
  font-size: 15px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--text);
}

.pricing-feature-check {
  color: var(--success);
  font-weight: 700;
}

/* Slider de Horas en Precios */
.hours-selector-container {
  background-color: var(--bg-tinte);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 30px;
  margin-bottom: 40px;
  text-align: center;
}

.slider-label {
  font-weight: 600;
  margin-bottom: 16px;
  display: block;
}

.hours-slider {
  width: 100%;
  max-width: 500px;
  height: 6px;
  background-color: var(--border);
  border-radius: 3px;
  outline: none;
  -webkit-appearance: none;
}

.hours-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background-color: var(--blue);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: var(--transition);
}

.hours-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.slider-output {
  margin-top: 16px;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
}

.slider-output span {
  color: var(--blue);
}

/* ==========================================================================
   FORMULARIOS Y MODALES
   ========================================================================== */
.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: 6px;
  border: 1px solid var(--border);
  font-family: var(--font-sans);
  font-size: 16px;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(58, 79, 196, 0.1);
}

/* Validaciones HTML5 Nativas */
.form-control:user-invalid {
  border-color: var(--danger);
  background-color: rgba(192, 57, 43, 0.02);
}

/* Estilo del modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(22, 35, 61, 0.6);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease-in-out;
}

.modal-overlay.open {
  display: flex;
  opacity: 1;
}

.modal-card {
  background-color: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 100%;
  max-width: 520px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(22, 35, 61, 0.15);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.25s ease-in-out;
}

.modal-overlay.open .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  color: var(--text-secondary);
  cursor: pointer;
  background: none;
  border: none;
}

.modal-close:hover {
  color: var(--navy);
}

.modal-title {
  font-size: 26px;
  margin-bottom: 8px;
}

.modal-desc {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: var(--navy);
  color: var(--bg-tinte);
  padding: 60px 20px 40px 20px;
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  height: 28px;
  width: auto;
  align-self: flex-start;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 30ch;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col-title {
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bg-light);
  margin-bottom: 6px;
}

.footer-link {
  color: #aeb4be;
  text-decoration: none;
}

.footer-link:hover {
  color: var(--bg-light);
  text-decoration: underline;
}

.footer-divider {
  border: 0;
  border-top: 1px solid #233454;
  margin: 30px 0;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: #8c95a5;
  font-size: 14px;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal-link {
  color: #8c95a5;
}

.footer-legal-link:hover {
  color: var(--bg-light);
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVE)
   ========================================================================== */

/* Tablet (768px y superior) */
@media (min-width: 768px) {
  h1 {
    font-size: 48px;
  }
  
  h2 {
    font-size: 32px;
  }
  
  .grid-2col {
    grid-template-columns: 1fr 1fr;
  }
  
  .grid-3col {
    grid-template-columns: 1fr 1fr 1fr;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
  
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* Desktop (1024px y superior) */
@media (min-width: 1024px) {
  h1 {
    font-size: 56px;
  }
  
  h2 {
    font-size: 36px;
  }
  
  .nav-menu {
    display: flex;
  }
  
  .burger {
    display: none;
  }
  
  .mobile-drawer {
    display: none;
  }
  
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
  }
  
  .grid-4col {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr 1fr 1fr;
    max-width: 1200px;
  }
  
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  }
}

/* ==========================================================================
   COMPONENTES DE ALTA GAMA E INSPIRACIÓN UI REFINADA
   ========================================================================== */

/* Pastillas y Botones Pill */
.btn-pill {
  border-radius: var(--border-radius-pill);
  padding: 14px 28px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-pill);
}

.btn-pill .arrow-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* Contenedor Hero de Gran Impacto (24px Rounded) */
.container-hero-wide {
  width: calc(100% - 32px);
  max-width: 1440px;
  margin: 0 auto;
  padding: 0;
}

.hero-card-container {
  background: #0F172A;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card-elevated);
  padding: 56px 48px;
  margin-top: 16px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  min-height: 460px;
}

.hero-card-container.hero-has-bg {
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-card-container.hero-has-bg::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.80) 50%, rgba(15, 23, 42, 0.40) 100%);
  z-index: 1;
}

.hero-card-container.hero-has-bg > * {
  position: relative;
  z-index: 2;
}

.hero-card-container.hero-has-bg h1,
.hero-card-container.hero-has-bg p,
.hero-card-container.hero-has-bg nav,
.hero-card-container.hero-has-bg span {
  color: #FFFFFF !important;
}

.hero-card-container h1 {
  text-align: left !important;
  max-width: 25ch;
  line-height: 1.22;
  margin-left: 0;
}

.hero-card-container .hero-subtitle {
  text-align: left !important;
  max-width: 58ch;
  margin-left: 0;
  color: rgba(255, 255, 255, 0.9) !important;
}

.hero-card-container.hero-has-bg .hero-ticker-pill {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  backdrop-filter: blur(8px);
}

.hero-ticker-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-tinte);
  padding: 8px 18px;
  border-radius: var(--border-radius-pill);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 24px;
}

.hero-ticker-pill .live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Widget de Interfaz Simulada (Audio Waveform & Score) */
.ui-mockup-card {
  background: var(--navy);
  color: #FFFFFF;
  border-radius: var(--border-radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
  position: relative;
}

.ui-mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.voice-wave-bars {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 30px;
}

.voice-wave-bars span {
  width: 4px;
  background: var(--blue-accent);
  border-radius: 4px;
  animation: waveBar 1.2s infinite ease-in-out alternate;
}

.voice-wave-bars span:nth-child(1) { height: 12px; animation-delay: 0.1s; }
.voice-wave-bars span:nth-child(2) { height: 28px; animation-delay: 0.3s; }
.voice-wave-bars span:nth-child(3) { height: 18px; animation-delay: 0.2s; }
.voice-wave-bars span:nth-child(4) { height: 32px; animation-delay: 0.4s; }
.voice-wave-bars span:nth-child(5) { height: 14px; animation-delay: 0.15s; }

@keyframes waveBar {
  0% { transform: scaleY(0.4); }
  100% { transform: scaleY(1); }
}

/* Avatar Stack & Social Proof */
.social-proof-stack {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.avatar-group {
  display: flex;
}

.avatar-group img, .avatar-group .avatar-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  margin-left: -12px;
  background: var(--blue-light);
  color: var(--blue);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.avatar-group img:first-child, .avatar-group .avatar-placeholder:first-child {
  margin-left: 0;
}

/* Bento Grid System */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(12, 1fr);
  }
  
  .bento-col-4 { grid-column: span 4; }
  .bento-col-5 { grid-column: span 5; }
  .bento-col-6 { grid-column: span 6; }
  .bento-col-7 { grid-column: span 7; }
  .bento-col-8 { grid-column: span 8; }
  .bento-col-12 { grid-column: span 12; }
}

.bento-card {
  background: #FFFFFF;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border);
  padding: 36px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--blue-accent);
}

.bento-card-accent {
  background: var(--blue);
  color: #FFFFFF;
  border-color: var(--blue);
}

.bento-card-accent h2, .bento-card-accent h3, .bento-card-accent p {
  color: #FFFFFF;
}

.bento-card-dark {
  background: var(--navy);
  color: #FFFFFF;
  border-color: var(--navy);
}

.bento-card-dark h2, .bento-card-dark h3, .bento-card-dark p {
  color: #FFFFFF;
}

.bento-metric {
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--blue);
  margin-bottom: 12px;
}

.bento-card-accent .bento-metric, .bento-card-dark .bento-metric {
  color: #FFFFFF;
}

/* Rediseño Moderno de Tarjetas de Funciones Principales (SaaS Executive Style) */
.features-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.feature-showcase-card {
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}

.feature-showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  border-color: rgba(37, 99, 235, 0.35);
}

.feature-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.feature-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.feature-showcase-card:hover .feature-icon-badge {
  background: var(--blue);
  color: #FFFFFF;
}

.feature-card-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--bg-tinte);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.feature-card-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.feature-card-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 24px;
  flex: 1;
}

.feature-card-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.feature-showcase-card:hover .feature-card-link {
  gap: 10px;
}

@media (max-width: 992px) {
  .features-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .features-showcase-grid {
    grid-template-columns: 1fr;
  }
}
.steps-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.step-showcase-card {
  display: flex;
  flex-direction: column;
  position: relative;
}

.step-card-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  z-index: 1;
}

.step-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.step-card-badge-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: -22px;
  z-index: 10;
}

.step-card-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  border: 3px solid #FFFFFF;
}

.step-card-content {
  background-color: var(--bg-tinte);
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 34px 24px 28px 24px;
  text-align: center;
  margin-top: -22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.step-card-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}

.step-card-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

@media (max-width: 992px) {
  .steps-showcase-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.step-number-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

/* FAQ a 2 Columnas (Inspirado en Referencia UI) */
.faq-2col-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 40px;
}

@media (min-width: 992px) {
  .faq-2col-container {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
  }
}

/* ==========================================================================
   REDISEÑO MODERNO DE PREGUNTAS FRECUENTES (EXECUTIVE ACCORDION & SUPPORT CARD)
   ========================================================================== */
/* Flujo Secuencial del Ciclo de Capacitación (7 etapas) */
.cycle-flow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.cycle-step-card {
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
  position: relative;
  text-decoration: none !important;
}

.cycle-step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  border-color: rgba(37, 99, 235, 0.35);
}

.cycle-step-badge {
  font-size: 12px;
  font-weight: 800;
  color: var(--blue);
  background: rgba(37, 99, 235, 0.08);
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 16px;
  border: 1px solid rgba(37, 99, 235, 0.15);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  width: fit-content;
}

.cycle-step-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.cycle-step-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 24px;
  flex: 1;
}

.cycle-step-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.cycle-step-card:hover .cycle-step-link {
  gap: 10px;
}

/* Flujo Vertical Numerado con Conector */
.vertical-step-container {
  max-width: 860px;
  margin: 40px auto 0 auto;
  position: relative;
}

.vertical-step-container::before {
  content: "";
  position: absolute;
  top: 40px;
  bottom: 40px;
  left: 39px;
  width: 2px;
  background: rgba(37, 99, 235, 0.25);
  z-index: 1;
}

.vertical-step-item {
  display: flex;
  gap: 28px;
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
}

.vertical-step-num {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--blue);
  color: var(--blue);
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.14);
}

.vertical-step-body {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  flex: 1;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
  transition: all 0.3s ease;
}

.vertical-step-body:hover {
  transform: translateX(4px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

@media (max-width: 640px) {
  .vertical-step-container::before {
    display: none;
  }
  .vertical-step-item {
    flex-direction: column;
    gap: 16px;
  }
  .vertical-step-num {
    width: 60px;
    height: 60px;
    font-size: 18px;
  }
}

/* ==========================================================================
   SECCIÓN INDEPENDIENTE: TARJETA DE ASESORÍA B2B DIRECTA
   ========================================================================== */
.b2b-advisory-card {
  background: #0F172A;
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 44px 48px;
  color: #FFFFFF;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14);
  position: relative;
  overflow: hidden;
  margin: 30px 0;
}

.b2b-advisory-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

@media (max-width: 992px) {
  .b2b-advisory-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.faq-contact-card-dark {
  background: #0F172A;
  border-radius: 20px;
  padding: 32px 28px;
  color: #FFFFFF;
  margin-top: 24px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.faq-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.faq-status-pill .live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  display: inline-block;
}

.faq-accordion-card {
  background: #FFFFFF;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-accordion-card:hover {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.faq-accordion-card summary {
  list-style: none;
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  user-select: none;
  outline: none;
}

.faq-accordion-card summary::-webkit-details-marker {
  display: none;
}

.faq-toggle-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-tinte);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.faq-accordion-card summary:hover .faq-toggle-icon {
  background: rgba(37, 99, 235, 0.12);
  color: var(--blue);
}

.faq-accordion-card details[open] .faq-toggle-icon {
  background: var(--blue);
  color: #FFFFFF;
  transform: rotate(45deg);
}

.faq-answer-body {
  padding: 0 24px 22px 24px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  margin-top: 4px;
  padding-top: 16px;
}

.faq-contact-box {
  background-color: #FFFFFF;
  border-radius: var(--border-radius-md);
  padding: 30px;
  border: 1px solid var(--border);
  margin-top: 24px;
}

.faq-contact-box .phone-link {
  font-size: 20px;
  font-weight: 700;
  color: var(--blue);
  display: inline-block;
  margin-top: 10px;
}

/* Pre-Footer Hero Banner */
.pre-footer-banner {
  background-color: var(--navy);
  background-image: linear-gradient(180deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.82) 100%), url('../images/pre_footer_bg.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #FFFFFF;
  border-radius: var(--border-radius-lg);
  padding: 72px 40px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.16);
  margin-top: 60px;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.pre-footer-banner h2 {
  color: #FFFFFF;
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}


.pre-footer-banner p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 20px;
  max-width: 650px;
  margin: 0 auto 32px auto;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   BOTÓN FLOTANTE DE WHATSAPP (EXECUTIVE B2B FLOATING BUTTON)
   ========================================================================== */
.whatsapp-float-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 99999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF !important;
  padding: 12px 20px 12px 14px;
  border-radius: 50px;
  box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.5), 0 8px 16px -6px rgba(0, 0, 0, 0.2);
  text-decoration: none !important;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.whatsapp-float-btn:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 15px 35px -5px rgba(37, 211, 102, 0.65), 0 12px 24px -6px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.7);
  color: #FFFFFF !important;
}

.whatsapp-icon-svg {
  width: 28px;
  height: 28px;
  fill: #FFFFFF;
  flex-shrink: 0;
}

.whatsapp-pulse-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50px;
  border: 2px solid #25D366;
  opacity: 0;
  pointer-events: none;
  animation: waPulse 2.5s infinite;
}

@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

@media (max-width: 640px) {
  .whatsapp-float-btn {
    bottom: 20px;
    right: 20px;
    padding: 12px;
    border-radius: 50%;
  }
  .whatsapp-text {
    display: none;
  }
}

/* ==========================================================================
   OPTIMIZACIÓN RESPONSIVA COMPLETA Y AJUSTES MÓVILES (ALL SCREENS & BREAKPOINTS)
   ========================================================================== */

/* Tablet & Mobile Landscape (< 992px) */
@media (max-width: 992px) {
  .hero-card-container {
    padding: 44px 28px !important;
  }
  .b2b-advisory-card {
    padding: 36px 28px !important;
  }
  .pre-footer-banner {
    padding: 48px 24px !important;
  }
  .pre-footer-banner h2 {
    font-size: 30px !important;
  }
  .pre-footer-banner p {
    font-size: 17px !important;
  }
  .direct-response-card {
    padding: 32px 24px !important;
  }
  .comparison-table-wrap, .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Mobile Portrait (< 640px) */
@media (max-width: 640px) {
  h1 {
    font-size: 32px !important;
    line-height: 1.2 !important;
    word-break: break-word;
  }
  h2 {
    font-size: 24px !important;
    line-height: 1.25 !important;
  }
  h3 {
    font-size: 20px !important;
  }
  .hero {
    padding: 60px 16px !important;
  }
  .section {
    padding: 44px 16px !important;
  }
  .hero-card-container {
    padding: 32px 18px !important;
    border-radius: 16px !important;
  }
  .hero-subtitle {
    font-size: 16px !important;
    line-height: 1.5 !important;
    margin-bottom: 20px !important;
  }
  .hero-ctas {
    flex-direction: column !important;
    width: 100% !important;
  }
  .hero-ctas .btn {
    width: 100% !important;
    justify-content: center !important;
  }
  .b2b-advisory-card {
    padding: 28px 18px !important;
    border-radius: 16px !important;
  }
  .b2b-advisory-card h2 {
    font-size: 24px !important;
  }
  .pre-footer-banner {
    padding: 36px 18px !important;
    border-radius: 16px !important;
    margin-top: 40px !important;
    margin-bottom: 40px !important;
  }
  .pre-footer-banner h2 {
    font-size: 24px !important;
  }
  .pre-footer-banner p {
    font-size: 15px !important;
  }
  .direct-response-card {
    padding: 24px 16px !important;
    border-radius: 12px !important;
  }
  .direct-response-title {
    font-size: 20px !important;
  }
  .direct-response-text {
    font-size: 16px !important;
  }
  .modal-card {
    padding: 24px 18px !important;
    margin: 10px !important;
    width: calc(100% - 20px) !important;
  }
  .modal-title {
    font-size: 22px !important;
  }
  .ui-mockup-card {
    padding: 16px !important;
  }
  .footer-grid {
    gap: 28px !important;
  }
  .footer-contact-details {
    font-size: 14px !important;
  }
}

/* Extra Small Screens (< 400px) */
@media (max-width: 400px) {
  h1 {
    font-size: 28px !important;
  }
  h2 {
    font-size: 22px !important;
  }
  .btn {
    padding: 12px 20px !important;
    font-size: 15px !important;
  }
}



