/* ==========================================================================
   NEW-IA | Automatización WhatsApp con IA para Clínicas Dentales
   Paleta: Morados, Lilas y Acentos Gradiente
   ========================================================================== */

:root {
  /* Paleta Morada, Lila y Magenta basada en el degradado del botón */
  --bg-gradient: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #ec4899 100%);
  --bg-dark: #1e0b38;
  --bg-card: rgba(25, 10, 48, 0.68);
  --bg-card-hover: rgba(38, 15, 72, 0.85);
  --bg-glass: rgba(35, 12, 65, 0.78);
  
  --primary: #ffffff;
  --primary-light: #f3e8ff;
  --secondary: #7c3aed;
  --lilac-glow: #f3e8ff;
  --lilac-soft: #ffffff;
  --lilac-muted: #e9d5ff;
  
  /* Gradiente insignia del botón 'Ver cómo funciona' */
  --grad-primary: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #ec4899 100%);
  --grad-subtle: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.08) 100%);
  --grad-card: linear-gradient(180deg, rgba(38, 16, 74, 0.75) 0%, rgba(22, 8, 44, 0.85) 100%);
  --grad-border: linear-gradient(135deg, rgba(255, 255, 255, 0.45) 0%, rgba(236, 72, 153, 0.35) 100%);

  /* WhatsApp & Acentos */
  --wa-green: #25d366;
  --wa-dark: #128c7e;
  --coral-accent: #f43f5e;
  
  /* Textos y bordes */
  --text-main: #ffffff;
  --text-muted: #f1e7fb;
  --text-lilac: #ffffff;
  --text-dim: #e4d4f7;
  --border-color: rgba(255, 255, 255, 0.22);
  --border-glow: rgba(255, 255, 255, 0.55);
  
  /* Efectos y Sombras */
  --shadow-purple: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 35px rgba(255, 255, 255, 0.25);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace, SFMono-Regular, Consolas;
}

/* Reset y base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  font-family: var(--font-main);
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #ec4899 100%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Contenedores generales */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 90px 0;
  position: relative;
}

.section-darker {
  background-color: rgba(20, 8, 42, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* Tipografía */
h1, h2, h3, h4, h5 {
  color: #ffffff;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
}

h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
}

p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 40%, #fce7f3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
}

.text-lilac {
  color: var(--lilac-soft);
}

.font-mono {
  font-family: var(--font-mono);
}

/* Header & Barra de navegación */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.brand-logo:hover {
  transform: translateY(-1px);
}

.logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.4));
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.brand-name span {
  color: var(--lilac-glow);
}

.brand-tagline {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lilac-soft);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease, transform 0.2s ease;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--lilac-glow);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--grad-primary);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  outline: none;
}

.btn-primary {
  background: #ffffff;
  color: #7c3aed;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  border: 2px solid #ffffff;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: #fdf2f8;
  color: #ec4899;
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  font-weight: 700;
}

.btn-whatsapp:hover {
  background: #20bd5a;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.48);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}

/* Badges / Píldoras */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(147, 51, 234, 0.14);
  border: 1px solid rgba(192, 132, 252, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--lilac-soft);
  margin-bottom: 20px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--wa-green);
  box-shadow: 0 0 10px var(--wa-green);
  animation: pulse 2s infinite;
}

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

/* HERO SECTION */
.hero {
  padding: 60px 0 100px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 50px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-title {
  margin-bottom: 22px;
}

.hero-sub {
  font-size: 1.25rem;
  color: #e2e8f0;
  margin-bottom: 34px;
  line-height: 1.55;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
  width: 100%;
}

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

.hero-microcopy {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-dim);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-val {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--lilac-glow);
  font-family: var(--font-mono);
}

.metric-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* HERO IMAGE CONTAINER (FOTO DE LA MUJER) */
.hero-image-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-card-frame {
  position: relative;
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-lg);
  padding: 10px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.4), rgba(236, 72, 153, 0.2), rgba(124, 58, 237, 0.1));
  box-shadow: 0 25px 60px -15px rgba(124, 58, 237, 0.45);
}

.hero-img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: top center;
  border-radius: calc(var(--radius-lg) - 4px);
  display: block;
  filter: contrast(1.03) brightness(0.98);
}

.hero-author-tag {
  margin-top: 18px;
  text-align: center;
}

.hero-author-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  display: inline-block;
  background: linear-gradient(135deg, #ffffff 20%, var(--lilac-glow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 25px rgba(168, 85, 247, 0.4);
}

/* Tarjetas flotantes sobre la imagen */
.floating-badge {
  position: absolute;
  background: rgba(18, 10, 36, 0.88);
  border: 1px solid rgba(192, 132, 252, 0.4);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 14px;
  animation: float 4s ease-in-out infinite;
}

.floating-top {
  top: 24px;
  left: -28px;
  animation-delay: 0s;
}

.floating-bottom {
  bottom: 24px;
  right: -24px;
  animation-delay: 2s;
}

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

.floating-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.floating-icon.wa {
  background: #25d366;
}

.floating-text-top {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.floating-text-main {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

/* SECCIÓN PROBLEMA */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.section-tag {
  color: var(--lilac-glow);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin-bottom: 12px;
  display: inline-block;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.problem-card {
  background: var(--grad-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.problem-card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 63, 94, 0.4);
}

.card-leak-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(244, 63, 94, 0.12);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.25);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.problem-card-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.problem-card h3 {
  font-size: 1.35rem;
  color: #ffffff;
  margin-bottom: 14px;
}

.problem-step-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.problem-step-list li {
  position: relative;
  padding-left: 26px;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.problem-step-list li::before {
  content: '✕';
  position: absolute;
  left: 0;
  top: 1px;
  color: #fb7185;
  font-weight: 800;
  font-size: 0.9rem;
}

.problem-summary-banner {
  background: rgba(28, 14, 53, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 30px;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.problem-summary-banner p {
  font-size: 1.1rem;
  color: var(--lilac-soft);
}

/* SECCIÓN SOLUCIÓN Y SIMULADOR */
.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.solution-flow-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  position: relative;
}

.solution-flow-card:hover {
  border-color: var(--lilac-glow);
  box-shadow: 0 8px 30px rgba(168, 85, 247, 0.15);
}

.flow-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.flow-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: white;
}

/* SIMULADOR WHATSAPP EN VIVO */
.wa-mockup {
  background: #0b141a;
  border-radius: 28px;
  border: 2px solid rgba(168, 85, 247, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 35px rgba(124, 58, 237, 0.2);
  overflow: hidden;
  max-width: 420px;
  margin: 0 auto;
}

.wa-header {
  background: #1f2c34;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wa-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 0.9rem;
}

.wa-contact-info {
  flex: 1;
}

.wa-contact-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #e9edef;
}

.wa-contact-status {
  font-size: 0.75rem;
  color: #25d366;
}

.wa-body {
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 380px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 0);
  background-size: 16px 16px;
}

.wa-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.45;
  position: relative;
}

.wa-msg.in {
  background: #202c33;
  color: #e9edef;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.wa-msg.out {
  background: #005c4b;
  color: #e9edef;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.wa-time {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: right;
  margin-top: 4px;
}

.wa-tag {
  display: inline-block;
  background: rgba(147, 51, 234, 0.25);
  color: var(--lilac-glow);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 4px;
}

/* SECCIÓN BENEFICIOS */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: all 0.3s ease;
  position: relative;
}

.benefit-card:hover {
  transform: translateY(-5px);
  border-color: var(--lilac-glow);
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.2);
}

.benefit-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(147, 51, 234, 0.15);
  border: 1px solid rgba(192, 132, 252, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--lilac-glow);
  margin-bottom: 20px;
}

.benefit-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--wa-green);
  font-weight: 700;
  font-size: 0.82rem;
  margin-top: 14px;
}

/* CÓMO FUNCIONA (3 PASOS) */
.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
  margin-top: 40px;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, #7c3aed, #ec4899, #7c3aed);
  z-index: 1;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 26px;
  text-align: center;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--lilac-glow);
}

.step-number-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 3px solid var(--lilac-glow);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  margin: -10px auto 24px;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
}

/* CASO DE ÉXITO FUSET */
.case-study-box {
  background: linear-gradient(135deg, rgba(28, 14, 53, 0.9) 0%, rgba(16, 9, 31, 0.95) 100%);
  border: 1px solid rgba(192, 132, 252, 0.35);
  border-radius: var(--radius-lg);
  padding: 50px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.case-study-box::after {
  content: '"';
  position: absolute;
  top: 10px;
  right: 30px;
  font-size: 160px;
  line-height: 1;
  color: rgba(168, 85, 247, 0.08);
  font-family: serif;
  pointer-events: none;
}

.case-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.quote-text {
  font-size: 1.28rem;
  font-style: italic;
  color: #f1f5f9;
  line-height: 1.6;
  margin-bottom: 24px;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.quote-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
}

.author-name {
  font-weight: 700;
  color: white;
}

.author-role {
  font-size: 0.85rem;
  color: var(--lilac-soft);
}

.case-metrics-card {
  background: rgba(14, 7, 26, 0.8);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* CALCULADORA DE INGRESOS PERDIDOS */
.roi-calculator {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin: 40px 0;
  box-shadow: var(--shadow-purple);
}

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

.calc-input-group {
  margin-bottom: 24px;
}

.calc-label {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--lilac-soft);
}

.calc-slider {
  width: 100%;
  accent-color: var(--primary-light);
  height: 8px;
  background: rgba(168, 85, 247, 0.2);
  border-radius: 4px;
  cursor: pointer;
}

.calc-result-box {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.25) 0%, rgba(236, 72, 153, 0.15) 100%);
  border: 1px solid rgba(192, 132, 252, 0.4);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
}

.calc-result-val {
  font-size: 3.2rem;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-mono);
  margin: 8px 0;
  text-shadow: 0 0 25px rgba(168, 85, 247, 0.5);
}

/* OBJECIONES / FAQ ACORDEÓN */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-item.active {
  border-color: var(--lilac-glow);
  box-shadow: 0 6px 25px rgba(168, 85, 247, 0.15);
}

.faq-question {
  width: 100%;
  padding: 22px 26px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.12rem;
  font-weight: 700;
  color: #ffffff;
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.3rem;
  color: var(--lilac-glow);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: #ec4899;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 26px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding: 0 26px 22px;
}

/* CTA FINAL */
.final-cta {
  background: rgba(25, 8, 48, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
  padding: 100px 0;
}

.final-cta-card {
  max-width: 780px;
  margin: 0 auto;
}

.final-cta-card h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 18px;
}

.final-cta-card p {
  font-size: 1.2rem;
  margin-bottom: 36px;
}

/* FOOTER */
.footer {
  background: rgba(18, 6, 36, 0.94);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 60px 0 30px;
  font-size: 0.92rem;
}

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

.footer-col h4 {
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* BOTÓN FLOTANTE MÓVIL (STICKY) */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(14, 7, 26, 0.95);
  backdrop-filter: blur(12px);
  padding: 12px 18px;
  border-top: 1px solid var(--border-color);
  z-index: 999;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
}

.mobile-sticky-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  border-radius: var(--radius-full);
  background: var(--wa-green);
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
}

/* MENÚ HAMBURGUESA MÓVIL */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: white;
  font-size: 1.6rem;
  cursor: pointer;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-microcopy {
    justify-content: center;
  }

  .solution-grid {
    grid-template-columns: 1fr;
  }

  .case-grid {
    grid-template-columns: 1fr;
  }
  
  .steps-container {
    grid-template-columns: 1fr;
  }
  
  .steps-container::before {
    display: none;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .calculator-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #0f081c;
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-links.show {
    display: flex;
  }

  .nav-actions {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .mobile-sticky-cta {
    display: block;
  }

  .hero-img {
    height: 420px;
  }

  .floating-badge {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin-top: 14px;
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
