/* ==========================================================================
   PYMI - TECNOLOGÍA A TU ALCANCE
   Hoja de Estilos Principal
   ========================================================================== */

/* --- Variables de Diseño y Paleta Oficial --- */
:root {
  /* Paleta cromática */
  --bg-dark: #070913;
  --bg-surface: #0e1222;
  --bg-surface-elevated: #151b33;
  --bg-card: rgba(22, 28, 54, 0.65);
  --bg-card-hover: rgba(29, 38, 74, 0.85);

  --accent-green: #00e676;
  --accent-green-hover: #00c853;
  --accent-green-glow: rgba(0, 230, 118, 0.35);
  --accent-green-text: #052e16;

  --accent-cyan: #00d2d3;
  --accent-cyan-glow: rgba(0, 210, 211, 0.25);
  --accent-purple: #7928ca;
  --accent-purple-light: #9d4edd;
  --accent-blue: #2563eb;

  /* Colores de texto */
  --text-primary: #ffffff;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Bordes y líneas */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(0, 210, 211, 0.2);
  --border-green: rgba(0, 230, 118, 0.4);

  /* Sombras y elevaciones */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
  --shadow-green: 0 10px 30px -5px rgba(0, 230, 118, 0.4);
  --shadow-cyan: 0 10px 30px -5px rgba(0, 210, 211, 0.25);

  /* Tipografías */
  --font-title: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Transiciones */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  /* Radios */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(121, 40, 202, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(0, 210, 211, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(0, 230, 118, 0.06) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Tipografía global */
h1, h2, h3, h4, .font-title {
  font-family: var(--font-title);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
}

p {
  color: var(--text-secondary);
  font-size: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

button, input {
  font-family: inherit;
}

/* Contenedor central */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* Secciones */
.section {
  padding: 5.5rem 0;
  position: relative;
}

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

/* Encabezados de sección */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(0, 210, 211, 0.08);
  border: 1px solid var(--border-highlight);
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.section-tag.green {
  background: rgba(0, 230, 118, 0.1);
  border-color: rgba(0, 230, 118, 0.3);
  color: var(--accent-green);
}

.section-title {
  font-size: 2.35rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.highlight-cyan-blue {
  background: linear-gradient(135deg, #00d2d3 0%, #38bdf8 50%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.85rem;
  }
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

/* --- Botones --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.9rem 1.85rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #00e676 0%, #00df82 100%);
  color: #032010;
  box-shadow: var(--shadow-green);
  font-weight: 700;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #10f886 0%, #00e676 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 230, 118, 0.55);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

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

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 1.1rem 2.25rem;
  font-size: 1.1rem;
}

/* Iconos de botón */
.btn svg {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform var(--transition-fast);
}

.btn:hover svg {
  transform: scale(1.1);
}

/* ==========================================================================
   HEADER / NAVEGACIÓN
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-normal);
  background: rgba(7, 9, 19, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.header.scrolled {
  background: rgba(7, 9, 19, 0.92);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

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

.nav-link {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.35rem 0;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-green);
  transition: width var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
}

.mobile-toggle svg {
  width: 26px;
  height: 26px;
}

/* Drawer Móvil */
.mobile-drawer {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7, 9, 19, 0.98);
  backdrop-filter: blur(20px);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transform: translateY(-120%);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-slow);
  z-index: 999;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-drawer.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  font-size: 1.25rem;
  font-family: var(--font-title);
  font-weight: 600;
  color: var(--text-secondary);
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-link:hover {
  color: var(--accent-green);
}

@media (max-width: 992px) {
  .nav-links, .header-cta .btn {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 2.5rem);
  padding-bottom: 5rem;
  overflow: hidden;
}

/* Fondo del Hero usando slide-pyimi.jpg */
.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right bottom;
  opacity: 1;
}

/* Máscara de degradado para legibilidad del texto en la izquierda y máxima claridad de la imagen */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(7, 9, 19, 0.82) 0%,
    rgba(7, 9, 19, 0.65) 45%,
    rgba(7, 9, 19, 0.05) 75%,
    rgba(7, 9, 19, 0.20) 100%
  );
}

/* Canvas generativo de partículas orbitales luminosas */
.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 992px) {
  .hero-bg-overlay {
    background: linear-gradient(
      180deg,
      rgba(7, 9, 19, 0.84) 0%,
      rgba(7, 9, 19, 0.75) 55%,
      rgba(7, 9, 19, 0.88) 100%
    );
  }
  .hero-bg-img {
    object-position: center 25%;
    opacity: 0.6;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1.15rem;
  border-radius: var(--radius-full);
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.3);
  color: var(--accent-green);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(0, 230, 118, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

.hero-title {
  font-size: 3.4rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.hero-title .highlight {
  background: linear-gradient(135deg, #ffffff 30%, #00d2d3 70%, #00e676 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.35rem;
  }
}

.hero-subtitle {
  font-size: 1.35rem;
  font-weight: 500;
  color: #e2e8f0;
  margin-bottom: 2.25rem;
  max-width: 580px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.hero-feat-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.hero-feat-item svg {
  color: var(--accent-green);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ==========================================================================
   SECCIÓN: ¿QUÉ ES PYMI?
   ========================================================================== */
#que-es {
  position: relative;
  background: rgba(14, 18, 34, 0.35);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

/* Encabezado superior con tag y titular */
.about-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 3.25rem auto;
}

.about-header .section-tag {
  display: inline-flex;
  margin-bottom: 0.85rem;
}

.about-header .section-title {
  margin-bottom: 0;
}

#beneficios {
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

#beneficios .section-header {
  margin-bottom: 1.5rem;
}

/* Cabecera gráfica de esquina a esquina (Full Screen / 100% Viewport Width) */
.about-fullscreen-banner {
  width: 100%;
  position: relative;
  margin: 1.5rem 0 3.5rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: transparent;
}

.about-fullscreen-img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  filter: none;
  /* Sin ningún tipo de animación ni transformación */
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

.about-fullscreen-img:hover {
  transform: none !important;
}

@media (max-width: 992px) {
  .about-fullscreen-banner {
    margin: 1rem 0 2.5rem 0;
  }
}

/* Ocultar únicamente en la versión móvil */
@media (max-width: 768px) {
  .about-fullscreen-banner {
    display: none !important;
  }

  #beneficios .section-header {
    margin-bottom: 2.5rem;
  }
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 992px) {
  .about-header {
    margin-bottom: 2.5rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.about-left-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
}

.about-texts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-intro-text {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.75;
}

.about-cta-wrap {
  display: flex;
  align-items: center;
}

.about-pilar-cards {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.pilar-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.35rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
              background 0.35s ease,
              border-color 0.35s ease,
              box-shadow 0.35s ease;
  z-index: 1;
}

/* Sutil resplandor de fondo turquesa que aparece al pasar el cursor */
.pilar-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 18% 50%, rgba(0, 210, 211, 0.16) 0%, rgba(37, 99, 235, 0.05) 55%, transparent 80%);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
  z-index: -1;
}

.pilar-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 210, 211, 0.45);
  transform: translateX(8px);
  box-shadow: 
    0 12px 30px -5px rgba(0, 0, 0, 0.5),
    0 0 28px 2px rgba(0, 210, 211, 0.32),
    inset 0 0 16px rgba(0, 210, 211, 0.08);
}

.pilar-card:hover::before {
  opacity: 1;
}

.pilar-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.pilar-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 210, 211, 0.25));
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.4s ease;
}

.pilar-card:hover .pilar-icon-img {
  transform: scale(1.12) rotate(2deg);
  filter: drop-shadow(0 8px 22px rgba(0, 210, 211, 0.7));
}

.pilar-card-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.pilar-card-content p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SECCIÓN: BENEFICIOS ("¿CÓMO PYMI AYUDA A TU EMPRESA?")
   ========================================================================== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 992px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
  }
}

@media (max-width: 640px) {
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.65rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.benefit-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 210, 211, 0.3);
  transform: translateY(-6px);
  box-shadow: var(--shadow-cyan);
}

.benefit-card:hover::before {
  opacity: 1;
}

.benefit-icon-wrap {
  width: 46px;
  height: 46px;
  margin-bottom: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
}

.benefit-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 210, 211, 0.3));
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.35s ease;
}

.benefit-card:hover .benefit-icon-img {
  transform: scale(1.12) translateY(-2px);
  filter: drop-shadow(0 8px 24px rgba(0, 210, 211, 0.65));
}

.benefit-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
  background: linear-gradient(135deg, #00d2d3 0%, #38bdf8 50%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
  font-weight: 700;
  line-height: 1.3;
}

.benefit-card p {
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.55;
}

/* Botón de acción centrado en Beneficios */
.benefits-cta-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2.25rem;
}

/* ==========================================================================
   SECCIÓN DUAL: TODO INCLUIDO + PROCESO SIMPLE (2 COLUMNAS EMPAREJADAS)
   ========================================================================== */
.combined-section {
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.anchor-offset {
  position: relative;
  top: -100px;
  visibility: hidden;
  pointer-events: none;
}

.combined-two-cols {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.75rem;
  align-items: stretch;
}

.combined-col {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.col-header {
  min-height: 105px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-bottom: 1.75rem;
}

.col-title {
  font-size: clamp(1.85rem, 3.2vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0.6rem 0 0.35rem 0;
  line-height: 1.2;
}

.col-subtitle {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.col-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* --------------------------------------------------------------------------
   COLUMNA IZQUIERDA: LISTA DE 10 ÍTEMS (TODO INCLUIDO)
   -------------------------------------------------------------------------- */
.included-body-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.included-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
  justify-content: space-between;
}

.included-item-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.68rem 1.05rem;
  position: relative;
  transition: all var(--transition-normal);
  flex: 1;
}

.included-item-card:hover {
  border-color: rgba(0, 210, 211, 0.4);
  background: var(--bg-card-hover);
  transform: translateX(5px);
  box-shadow: 0 4px 18px rgba(0, 210, 211, 0.08);
}

.included-num {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.92rem;
  background: linear-gradient(135deg, #00d2d3 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  line-height: 1;
  flex-shrink: 0;
  width: 22px;
}

.included-item-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(0, 210, 211, 0.12) 0%, rgba(37, 99, 235, 0.12) 100%);
  border: 1px solid rgba(0, 210, 211, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
  transition: all var(--transition-normal);
}

.included-item-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

.included-item-card:hover .included-item-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.2) 0%, rgba(0, 210, 211, 0.2) 100%);
  border-color: rgba(0, 230, 118, 0.45);
  color: var(--accent-green);
  box-shadow: 0 0 12px rgba(0, 230, 118, 0.25);
}

.included-item-content {
  flex: 1;
  min-width: 0;
}

.included-item-content h3 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: #ffffff;
  line-height: 1.25;
  transition: color var(--transition-fast);
}

.included-item-card:hover .included-item-content h3 {
  color: var(--accent-cyan);
}

.included-item-content p {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.42;
  margin: 0;
}

/* --------------------------------------------------------------------------
   COLUMNA DERECHA: PROCESO SIMPLE (4 PASOS)
   -------------------------------------------------------------------------- */
.steps-body-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  flex: 1;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.step-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.45rem;
  position: relative;
  transition: all var(--transition-normal);
  flex: 1;
}

.step-card:hover {
  border-color: rgba(0, 210, 211, 0.35);
  background: var(--bg-card-hover);
  transform: translateX(6px);
}

.step-num-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d2d3 0%, #2563eb 100%);
  color: #ffffff;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 210, 211, 0.15);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, background 0.35s ease;
  transform-origin: center center;
  will-change: transform;
}

.step-card:hover .step-num-badge {
  transform: scale(1.22);
  box-shadow: 0 6px 16px rgba(0, 210, 211, 0.25);
  background: linear-gradient(135deg, #00e676 0%, #00d2d3 50%, #2563eb 100%);
}

.step-card-content {
  flex: 1;
}

.step-card-content h3 {
  font-size: 1.12rem;
  margin-bottom: 0.35rem;
  background: linear-gradient(135deg, #00d2d3 0%, #38bdf8 50%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
  font-weight: 700;
  line-height: 1.3;
}

.step-card-content p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.steps-cta-wrap {
  width: 100%;
}

@media (max-width: 992px) {
  .combined-two-cols {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .col-header {
    min-height: auto;
  }

  .included-item-card {
    flex: none;
  }

  .step-card {
    flex: none;
  }
}

@media (max-width: 640px) {
  .included-item-card {
    padding: 0.65rem 0.85rem;
    gap: 0.7rem;
  }
  .included-item-icon {
    width: 32px;
    height: 32px;
  }
  .included-item-icon svg {
    width: 16px;
    height: 16px;
  }
  .included-num {
    font-size: 0.85rem;
    width: 20px;
  }
  .included-item-content h3 {
    font-size: 0.92rem;
  }
  .included-item-content p {
    font-size: 0.78rem;
  }
  .step-card {
    padding: 1rem 1.15rem;
    gap: 0.95rem;
  }
  .step-num-badge {
    width: 40px;
    height: 40px;
    font-size: 1.15rem;
  }
}

/* ==========================================================================
   SECCIÓN: PLANES PYMI (PRECIO Y SUSCRIPCIÓN - 2 COLUMNAS)
   ========================================================================== */
.plan-section {
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.pricing-grid-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
  align-items: stretch;
}

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.25rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  overflow: hidden;
}

.plan-card:hover {
  border-color: rgba(0, 210, 211, 0.4);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 24px rgba(0, 210, 211, 0.12);
}

.plan-card-featured {
  background: linear-gradient(180deg, rgba(21, 27, 51, 0.95) 0%, rgba(14, 18, 34, 0.98) 100%);
  border: 2px solid rgba(0, 230, 118, 0.45);
  box-shadow: 0 20px 50px -10px rgba(0, 230, 118, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.plan-card-featured:hover {
  border-color: rgba(0, 230, 118, 0.7);
  box-shadow: 0 24px 60px -10px rgba(0, 230, 118, 0.3), 0 0 35px rgba(0, 230, 118, 0.2);
}

.plan-featured-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: linear-gradient(135deg, #00e676 0%, #00df82 100%);
  color: #032010;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
}

.plan-badge-duration {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(0, 210, 211, 0.12);
  border: 1px solid rgba(0, 210, 211, 0.35);
  color: var(--accent-cyan);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
}

.plan-header {
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.5rem;
}

.plan-name {
  font-size: 1.45rem;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.plan-term-sub {
  font-size: 0.88rem;
  color: var(--accent-cyan);
  margin-bottom: 0.85rem;
  font-weight: 600;
}

.plan-price-block {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.plan-price {
  font-size: 2.75rem;
  font-weight: 800;
  font-family: var(--font-title);
  color: #ffffff;
  line-height: 1;
}

.plan-period {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 500;
}

.plan-duration-note {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 0.4rem;
  margin-bottom: 0;
  font-weight: 500;
}

.plan-includes-title {
  font-size: 0.98rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1.15rem;
}

.plan-checklist {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 0.9rem;
  margin-bottom: 2rem;
  flex: 1;
}

.plan-checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: #e2e8f0;
  line-height: 1.35;
}

.plan-checklist-item svg {
  color: var(--accent-green);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.plan-extra-clarification {
  font-size: 0.82rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid #f59e0b;
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  margin-bottom: 1.25rem;
  line-height: 1.45;
}

.plan-btn-wrap {
  margin-top: auto;
  margin-bottom: 1.5rem;
}

.plan-btn-wrap .btn {
  width: 100%;
}

.plan-disclaimer {
  font-size: 0.8rem;
  color: var(--text-dim);
  background: rgba(0, 0, 0, 0.25);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--accent-cyan);
  line-height: 1.45;
}

.plan-disclaimer strong {
  color: var(--text-muted);
}

@media (max-width: 992px) {
  .pricing-grid-wrapper {
    grid-template-columns: 1fr;
    max-width: 620px;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .plan-card {
    padding: 2rem 1.35rem;
  }
  .plan-price {
    font-size: 2.35rem;
  }
  .plan-checklist {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }
}

/* ==========================================================================
   SECCIÓN: PREGUNTAS FRECUENTES (ACORDEÓN)
   ========================================================================== */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.faq-item.active {
  border-color: rgba(0, 210, 211, 0.35);
  background: var(--bg-card-hover);
}

.faq-question {
  width: 100%;
  padding: 1.4rem 1.75rem;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: #ffffff;
  font-size: 1.08rem;
  font-weight: 600;
  font-family: var(--font-title);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--accent-green);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--accent-cyan);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent-green);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal), opacity var(--transition-normal);
  opacity: 0;
}

.faq-answer-inner {
  padding: 0 1.75rem 1.4rem 1.75rem;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  opacity: 1;
}

/* ==========================================================================
   SECCIÓN: AGENDAR REUNIÓN VIRTUAL (FORMULARIO DE CONTACTO SUTIL)
   ========================================================================== */
.booking-section {
  padding: 4.5rem 0 5rem 0;
  position: relative;
}

.booking-grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 3.5rem;
  align-items: center;
  max-width: 1040px;
  margin: 0 auto;
}

/* Columna Izquierda: Información */
.booking-info-col {
  display: flex;
  flex-direction: column;
}

.booking-title {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
  font-family: var(--font-title);
}

.booking-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.booking-perks {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.booking-perk-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.booking-perk-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0, 210, 211, 0.08);
  border: 1px solid rgba(0, 210, 211, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-cyan);
  transition: all var(--transition-fast);
}

.booking-perk-item:hover .booking-perk-icon {
  background: rgba(0, 230, 118, 0.12);
  border-color: var(--accent-green);
  color: var(--accent-green);
}

.booking-perk-icon svg {
  width: 17px;
  height: 17px;
}

.booking-perk-text h4 {
  font-size: 0.94rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.15rem;
  font-family: var(--font-title);
}

.booking-perk-text p {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0;
}

.booking-direct-hint {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.84rem;
  color: var(--text-muted);
}

.booking-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-green);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.booking-whatsapp-link:hover {
  color: #55ff99;
  transform: translateX(3px);
}

.booking-whatsapp-link svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

/* Columna Derecha: Tarjeta de Formulario Sutil */
.booking-form-card {
  background: rgba(15, 20, 38, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem 1.85rem;
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  position: relative;
  transition: border-color var(--transition-normal);
}

.booking-form-card:hover {
  border-color: rgba(0, 210, 211, 0.25);
}

.form-header {
  margin-bottom: 1.25rem;
}

.form-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
  font-family: var(--font-title);
}

.form-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.form-group {
  margin-bottom: 0.9rem;
  display: flex;
  flex-direction: column;
}

.form-label {
  display: flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 500;
  color: #cbd5e1;
  margin-bottom: 0.35rem;
}

.required-star {
  color: #ff477e;
  font-size: 0.85rem;
  margin-left: 0.2rem;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  pointer-events: none;
  transition: color var(--transition-fast);
}

.form-input {
  width: 100%;
  background: rgba(7, 9, 19, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 0.68rem 0.85rem 0.68rem 2.45rem;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.form-input::placeholder {
  color: #475569;
  font-size: 0.86rem;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background: rgba(14, 18, 34, 0.9);
  box-shadow: 0 0 0 2px rgba(0, 210, 211, 0.18);
}

.input-wrapper:focus-within .input-icon {
  color: var(--accent-cyan);
}

.field-error {
  display: none;
  color: #ff6b8b;
  font-size: 0.78rem;
  margin-top: 0.25rem;
  font-weight: 500;
}

.form-group.has-error .form-input {
  border-color: #ff3366;
  background: rgba(35, 10, 20, 0.5);
  box-shadow: 0 0 0 2px rgba(255, 51, 102, 0.2);
}

.form-group.has-error .input-icon {
  color: #ff477e;
}

.form-group.has-error .field-error {
  display: block;
}

.btn-submit-booking {
  width: 100%;
  margin-top: 0.6rem;
  padding: 0.82rem 1.25rem;
  font-size: 0.92rem;
  font-weight: 600;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 230, 118, 0.3);
  cursor: pointer;
}

.btn-submit-booking:hover {
  box-shadow: 0 10px 25px rgba(0, 230, 118, 0.45);
}

.form-privacy-note {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 0.8rem;
  text-align: center;
  line-height: 1.4;
}

/* Tarjeta de Confirmación / Éxito */
.booking-success {
  text-align: center;
  padding: 1.25rem 0.25rem;
  animation: fadeInBooking 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInBooking {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.success-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.15) 0%, rgba(0, 210, 211, 0.12) 100%);
  border: 1.5px solid var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  color: var(--accent-green);
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.3);
}

.success-icon-wrap svg {
  width: 26px;
  height: 26px;
}

.success-title {
  font-size: 1.25rem;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-family: var(--font-title);
}

.success-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.35rem;
}

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.success-actions .btn {
  width: 100%;
  max-width: 280px;
}

.btn-reset-form {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.82rem;
  cursor: pointer;
  text-decoration: underline;
  transition: color var(--transition-fast);
  padding: 0.2rem 0.4rem;
}

.btn-reset-form:hover {
  color: #ffffff;
}

/* Responsividad */
@media (max-width: 992px) {
  .booking-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .booking-section {
    padding: 3.5rem 0 4rem 0;
  }
  .booking-title {
    font-size: 1.7rem;
  }
  .booking-form-card {
    padding: 1.5rem 1.15rem;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #0c0614;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2.5rem 0;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 1.25rem;
  margin-bottom: 1.5rem;
  max-width: 320px;
}

.footer-col-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  font-family: var(--font-title);
}

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

.footer-link {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--accent-green);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 0.85rem;
}

.contact-item svg {
  color: var(--accent-green);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.social-links {
  display: flex;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.social-icon-btn:hover {
  background: var(--accent-green);
  color: #032010;
  border-color: var(--accent-green);
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a:hover {
  color: var(--text-secondary);
}

/* ==========================================================================
   BOTÓN FLOTANTE DE WHATSAPP (CONVERSIÓN PERMANENTE - ABAJO A LA IZQUIERDA)
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  left: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  left: calc(24px + env(safe-area-inset-left, 0px));
  z-index: 990;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.whatsapp-float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00e676 0%, #00df82 100%);
  color: #032010;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 230, 118, 0.45);
  transition: all var(--transition-normal);
  position: relative;
}

.whatsapp-float-btn:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 230, 118, 0.7);
}

.whatsapp-float-btn svg {
  width: 29px;
  height: 29px;
  fill: currentColor;
}

.whatsapp-badge-pulse {
  position: absolute;
  top: 0;
  right: 0;
  width: 13px;
  height: 13px;
  background: #ff3366;
  border: 2px solid #070913;
  border-radius: 50%;
}

.whatsapp-tooltip {
  background: #151b33;
  color: #ffffff;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-10px);
  transition: all var(--transition-normal);
}

.floating-whatsapp:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 600px) {
  .floating-whatsapp {
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    left: calc(16px + env(safe-area-inset-left, 0px));
  }
  .whatsapp-float-btn {
    width: 48px;
    height: 48px;
  }
  .whatsapp-float-btn svg {
    width: 26px;
    height: 26px;
  }
  .whatsapp-tooltip {
    display: none;
  }
}

/* ==========================================================================
   CHATBOT AMATISTA (ACTIVADOR FLOTANTE Y VENTANA MODERNA)
   ========================================================================== */

/* 1. Activador Flotante (Launcher) */
.amatista-launcher {
  position: fixed;
  bottom: 24px;
  right: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  right: calc(24px + env(safe-area-inset-right, 0px));
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 8px 8px;
  background: linear-gradient(135deg, rgba(16, 24, 52, 0.95) 0%, rgba(10, 15, 34, 0.98) 100%);
  border: 1px solid rgba(0, 240, 255, 0.35);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 22px rgba(0, 240, 255, 0.22);
  cursor: pointer;
  color: #ffffff;
  font-family: var(--font-primary);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.28s ease;
  animation: amatistaFloatIntro 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes amatistaFloatIntro {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.amatista-launcher:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(0, 240, 255, 0.7);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.6), 0 0 32px rgba(0, 240, 255, 0.42);
}

.amatista-launcher:active {
  transform: translateY(0) scale(0.98);
}

/* Ocultar launcher cuando el chat está abierto */
.amatista-launcher.chat-is-open {
  transform: scale(0.7);
  opacity: 0;
  pointer-events: none;
}

/* Avatar con indicador de disponibilidad (+13% tamaño: 44px -> 50px) */
.amatista-avatar-wrap {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, #00f0ff 0%, #7928ca 100%);
  flex-shrink: 0;
}

/* Avatar encabezado (+12.5% tamaño: 48px -> 54px) */
.amatista-avatar-wrap.header-size {
  width: 54px;
  height: 54px;
}

.amatista-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* Indicador verde de disponibilidad */
.amatista-status-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  background: #00e676;
  border: 2px solid #0a0f22;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0, 230, 118, 0.8);
}

/* Textos del launcher */
.amatista-launcher-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.25;
}

.amatista-launcher-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.amatista-launcher-subtitle {
  font-size: 0.75rem;
  color: #00f0ff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* 2. Ventana Flotante del Chatbot */
.amatista-chat-window {
  position: fixed;
  bottom: 24px;
  right: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  right: calc(24px + env(safe-area-inset-right, 0px));
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 600px;
  max-height: calc(100vh - 48px);
  background: linear-gradient(180deg, #0a0f22 0%, #060917 100%);
  border: 1px solid rgba(0, 240, 255, 0.28);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 35px rgba(0, 240, 255, 0.18);
  z-index: 1005;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transform-origin: bottom right;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.9) translateY(24px);
  transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.32s ease;
}

.amatista-chat-window.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
}

/* 3. Encabezado del Chat */
.amatista-chat-header {
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(14, 22, 50, 0.95) 0%, rgba(8, 12, 28, 0.95) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
}

.amatista-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.amatista-header-text {
  min-width: 0;
}

.amatista-header-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.amatista-header-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin: 0;
}

.amatista-ai-badge {
  font-size: 0.65rem;
  font-weight: 800;
  color: #00f0ff;
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid rgba(0, 240, 255, 0.35);
  border-radius: 6px;
  padding: 1px 5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.amatista-header-desc {
  font-size: 0.8rem;
  color: #94a3b8;
  margin: 0 0 2px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.amatista-status-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.amatista-status-indicator {
  width: 8px;
  height: 8px;
  background: #00e676;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(0, 230, 118, 0.9);
  display: inline-block;
}

.amatista-status-label {
  font-size: 0.72rem;
  color: #00e676;
  font-weight: 600;
}

.amatista-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.amatista-header-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.amatista-header-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border-color: rgba(0, 240, 255, 0.4);
}

/* 4. Cuerpo de Mensajes */
.amatista-chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: radial-gradient(circle at 50% 0%, rgba(0, 240, 255, 0.05) 0%, transparent 60%);
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 240, 255, 0.2) transparent;
}

.amatista-chat-body::-webkit-scrollbar {
  width: 5px;
}
.amatista-chat-body::-webkit-scrollbar-thumb {
  background: rgba(0, 240, 255, 0.25);
  border-radius: 10px;
}

/* Filas de mensaje */
.amatista-msg-row {
  display: flex;
  gap: 10px;
  max-width: 90%;
  animation: amatistaMsgAppear 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.amatista-msg-row.bot {
  align-self: flex-start;
}

.amatista-msg-row.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.amatista-msg-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(0, 240, 255, 0.4);
}

.amatista-msg-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.amatista-msg-bubble {
  padding: 12px 15px;
  border-radius: 18px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #e2e8f0;
}

.amatista-msg-row.bot .amatista-msg-bubble {
  background: #111833;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top-left-radius: 4px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.amatista-msg-row.user .amatista-msg-bubble {
  background: linear-gradient(135deg, #0070f3 0%, #00f0ff 100%);
  color: #040919;
  font-weight: 500;
  border-top-right-radius: 4px;
  box-shadow: 0 4px 16px rgba(0, 112, 243, 0.35);
}

.amatista-msg-bubble p {
  margin: 0 0 8px 0;
}

.amatista-msg-bubble p:last-child {
  margin-bottom: 0;
}

.amatista-msg-bubble strong {
  color: #ffffff;
}

.amatista-msg-row.user .amatista-msg-bubble strong {
  color: #040919;
}

.amatista-msg-time {
  font-size: 0.7rem;
  color: #64748b;
  padding: 0 4px;
}

.amatista-msg-row.user .amatista-msg-time {
  text-align: right;
}

/* Botón de acción WhatsApp dentro del chat */
.amatista-action-btn-wrap {
  margin-top: 10px;
}

.amatista-wa-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #00e676 0%, #00df82 100%);
  color: #032010 !important;
  font-weight: 700;
  font-size: 0.86rem;
  padding: 8px 14px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 230, 118, 0.4);
  transition: all var(--transition-fast);
}

.amatista-wa-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 230, 118, 0.6);
}

/* Indicador de escritura "Amatista está respondiendo..." */
.amatista-typing-bubble {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  background: #111833;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  border-top-left-radius: 4px;
  width: fit-content;
}

.amatista-typing-dot {
  width: 6px;
  height: 6px;
  background: #00f0ff;
  border-radius: 50%;
  animation: amatistaTyping 1.4s infinite ease-in-out;
}

.amatista-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.amatista-typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes amatistaTyping {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1.1); opacity: 1; }
}

/* Chips rápidos */
.amatista-quick-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
  padding: 4px 2px;
}

.amatista-quick-title {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 600;
}

.amatista-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.amatista-chip {
  background: rgba(0, 240, 255, 0.07);
  border: 1px solid rgba(0, 240, 255, 0.22);
  color: #e2e8f0;
  font-size: 0.78rem;
  padding: 6px 11px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  transition: all var(--transition-fast);
}

.amatista-chip:hover {
  background: rgba(0, 240, 255, 0.18);
  border-color: rgba(0, 240, 255, 0.5);
  color: #ffffff;
  transform: translateY(-1px);
}

/* 5. Pie del Chat / Formulario */
.amatista-chat-footer {
  padding: 12px 14px 14px 14px;
  background: rgba(8, 12, 28, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.amatista-chat-form {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #111833;
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 999px;
  padding: 4px 6px 4px 14px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.amatista-chat-form:focus-within {
  border-color: rgba(0, 240, 255, 0.6);
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.2);
}

.amatista-chat-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
}

.amatista-chat-input::placeholder {
  color: #64748b;
  font-size: 0.85rem;
}

.amatista-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00f0ff 0%, #0070f3 100%);
  border: none;
  color: #040919;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.amatista-send-btn:hover {
  transform: scale(1.08);
}

.amatista-send-btn:active {
  transform: scale(0.95);
}

.amatista-chat-footer-brand {
  margin-top: 6px;
  text-align: center;
  font-size: 0.68rem;
  color: #64748b;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   RESPONSIVE PARA DISPOSITIVOS MÓVILES
   ========================================================================== */
@media (max-width: 600px) {
  .amatista-launcher {
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    right: calc(16px + env(safe-area-inset-right, 0px));
    padding: 6px 14px 6px 6px;
    gap: 10px;
  }
  .amatista-avatar-wrap {
    width: 43px;
    height: 43px;
  }
  .amatista-launcher-title {
    font-size: 0.86rem;
  }
  .amatista-launcher-subtitle {
    font-size: 0.68rem;
  }

  /* Chat a pantalla casi completa en móvil */
  .amatista-chat-window {
    top: calc(12px + env(safe-area-inset-top, 0px));
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    left: calc(12px + env(safe-area-inset-left, 0px));
    right: calc(12px + env(safe-area-inset-right, 0px));
    width: auto;
    max-width: none;
    height: auto;
    max-height: none;
    border-radius: 20px;
    transform-origin: center bottom;
  }
}

/* ==========================================================================
   MODAL PARA TÉRMINOS Y POLÍTICA
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  max-width: 650px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2.25rem;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.modal-title {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.modal-body {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.modal-body p {
  margin-bottom: 1rem;
}

/* ==========================================================================
   REVEAL ANIMATIONS AL HACER SCROLL
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
