:root {
  --bg: #050816;
  --bg-alt: #0b1020;
  --bg-soft: #111827;
  --primary: #6366f1;
  --primary-soft: rgba(99, 102, 241, 0.1);
  --text: #e5e7eb;
  --text-soft: #9ca3af;
  --border: #1f2933;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.7);
  --mouseX: 50%;
  --mouseY: 20%;
}

/* RESET BÁSICO */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #292e5e 0, #020617 55%);
  color: var(--text);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* Baja el botón flotante del chat */
.kalion-chat-wrapper { bottom: 0.55rem !important; }

/* En móvil el launcher se fija con bottom propio, así que también lo bajamos */
.kalion-chat-wrapper .kalion-chat-launcher { bottom: 0.55rem !important; }


/* Mejorar comportamiento táctil en móviles */
@media (hover: none) and (pointer: coarse) {
  html {
    -webkit-text-size-adjust: 100%;
    touch-action: manipulation;
  }
  
  body {
    -webkit-tap-highlight-color: transparent;
  }
}

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

/* ============================================
   SCROLLBARS KALION - ROSA MORADO NEÓN ULTRA BRILLANTE
   ============================================ */

/* Para navegadores Webkit (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 14px;
  height: 14px;
}

::-webkit-scrollbar-track {
  background: rgba(5, 8, 22, 0.9);
  border-radius: 12px;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ec4899, #8b5cf6, #10b981);
  border-radius: 12px;
  border: 2px solid rgba(5, 8, 22, 0.9);
  box-shadow: 
    0 0 20px rgba(236, 72, 153, 0.8),
    0 0 40px rgba(139, 92, 246, 0.6),
    0 0 60px rgba(16, 185, 129, 0.4),
    inset 0 0 20px rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  animation: kalionScrollGlow 2s ease-in-out infinite;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #f472b6, #a78bfa, #34d399);
  box-shadow: 
    0 0 30px rgba(236, 72, 153, 1),
    0 0 60px rgba(139, 92, 246, 0.8),
    0 0 90px rgba(16, 185, 129, 0.6),
    inset 0 0 30px rgba(255, 255, 255, 0.5);
  animation: none;
}

::-webkit-scrollbar-thumb:active {
  background: linear-gradient(180deg, #db2777, #7c3aed, #059669);
  box-shadow: 
    0 0 40px rgba(236, 72, 153, 1),
    0 0 80px rgba(139, 92, 246, 1),
    0 0 120px rgba(16, 185, 129, 0.8),
    inset 0 0 40px rgba(255, 255, 255, 0.7);
}

/* Animación de brillo pulsante Kalion */
@keyframes kalionScrollGlow {
  0%, 100% {
    box-shadow: 
      0 0 20px rgba(236, 72, 153, 0.8),
      0 0 40px rgba(139, 92, 246, 0.6),
      0 0 60px rgba(16, 185, 129, 0.4),
      inset 0 0 20px rgba(255, 255, 255, 0.3);
  }
  50% {
    box-shadow: 
      0 0 30px rgba(236, 72, 153, 1),
      0 0 60px rgba(139, 92, 246, 0.9),
      0 0 90px rgba(16, 185, 129, 0.7),
      inset 0 0 30px rgba(255, 255, 255, 0.5);
  }
}

/* Para Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #a855f7 rgba(5, 8, 22, 0.9);
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

button {
  font-family: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* UTILIDADES GENERALES */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

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

  .container {
    padding: 0 1rem;
  }

  .section__title {
    font-size: 1.75rem;
  }

  .section__subtitle {
    font-size: 0.95rem;
  }
}

.section--alt {
  background: radial-gradient(circle at top left, #111827 0, #020617 70%);
}

/* EYEBROW MÁS GRANDE */
.section__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section__title {
  font-size: 2rem;
  margin: 0 0 0.75rem;
}

.section__subtitle {
  margin: 0 0 2.5rem;
  color: var(--text-soft);
  max-width: 700px;
}

/* BOTONES */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.85rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease-out;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}

@media (max-width: 768px) {
  .btn {
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
    min-height: 44px;
  }
}

.btn--primary {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  box-shadow: 0 18px 30px rgba(129, 140, 248, 0.35);
  background-size: 220% 220%;
  animation: btnGradientShift 6s ease-in-out infinite;
}

@keyframes btnGradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.btn--primary:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 22px 40px rgba(129, 140, 248, 0.55);
}

/* Touch devices: usar :active en lugar de :hover */
@media (hover: none) and (pointer: coarse) {
  .btn--primary:hover {
    transform: none;
    box-shadow: 0 18px 30px rgba(129, 140, 248, 0.35);
  }
  
  .btn--primary:active {
    transform: scale(0.98);
    box-shadow: 0 12px 24px rgba(129, 140, 248, 0.45);
  }
}

.btn--outline {
  border-color: rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.7);
  color: var(--text-soft);
}

.btn--outline:hover {
  border-color: rgba(148, 163, 184, 0.8);
  color: var(--text);
}

.btn--full {
  width: 100%;
}

/* Botón WhatsApp principal */
.btn--whatsapp {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ecfdf5;
  box-shadow: 0 16px 30px rgba(34, 197, 94, 0.35);
  gap: 0.8rem;              /* un poco más de separación icono-texto */
  padding: 0.95rem 1.9rem;  /* botón un pelín más alto y ancho */
  margin-bottom: 1.2rem;    /* evita que quede pegado a las redes */
}

.btn--whatsapp:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 22px 40px rgba(34, 197, 94, 0.5);
}

/* Touch devices */
@media (hover: none) and (pointer: coarse) {
  .btn--whatsapp:hover {
    transform: none;
    box-shadow: 0 16px 30px rgba(34, 197, 94, 0.35);
  }
  
  .btn--whatsapp:active {
    transform: scale(0.98);
    box-shadow: 0 12px 24px rgba(34, 197, 94, 0.45);
  }
}


/* tamaño del logo dentro del círculo */
.btn-whatsapp__img {
  width: 25px;
  height: auto;
  display: block;
}

/* TOPBAR */

.topbar {
  background: radial-gradient(circle at top left, #111827, #020617);
  border-bottom: 1px solid rgba(15, 23, 42, 0.9);
  font-size: 0.78rem;
  color: var(--text-soft);
}

.topbar__content {
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
  padding: 0.35rem 1.5rem;
}

.topbar__content a {
  color: var(--text);
  font-weight: 500;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  padding: 0.25rem;
}

.topbar__content a:hover {
  text-decoration: underline;
}

.topbar__content a:active {
  color: #8b5cf6;
}

/* HEADER / NAVBAR */

.header {
  position: sticky;
  top: 0;
  z-index: 90;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(2, 6, 23, 0.9),
    rgba(2, 6, 23, 0.75),
    transparent
  );
  border-bottom: 1px solid rgba(15, 23, 42, 0.8);
  pointer-events: auto;
}

.header__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
  position: relative;
  pointer-events: auto;
}

/* LOGO HEADER – imagen grande sin fondo */

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: transparent;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.nav a {
  color: var(--text-soft);
  position: relative;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  padding: 0.5rem 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #6366f1, #a855f7);
  transition: width 0.18s ease-out;
}

.nav a:hover {
  color: var(--text);
}

.nav a:hover::after {
  width: 100%;
}

.nav a:active {
  color: #8b5cf6;
}

/* Botón verde de análisis en el nav */
.nav__btn-analysis {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ffffff !important;
  padding: 0.6rem 1.2rem !important;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
  transition: all 0.3s ease;
  animation: pulseGreen 2s ease-in-out infinite;
}

.nav__btn-analysis::after {
  display: none;
}

.nav__btn-analysis:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.5);
  color: #ffffff !important;
}

.nav__btn-analysis:active {
  transform: translateY(0);
  color: #ffffff !important;
}

@keyframes pulseGreen {
  0%, 100% { 
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
  }
  50% { 
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.5);
  }
}

.header__btn {
  font-size: 0.85rem;
}

/* Menú hamburguesa para móvil */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 8px;
  cursor: pointer;
  padding: 10px;
  z-index: 111;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease;
}

.menu-toggle:active {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.5);
  transform: scale(0.95);
}

.menu-toggle span {
  width: 26px;
  height: 3px;
  background: linear-gradient(90deg, #e5e7eb, #cbd5e1);
  border-radius: 3px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.menu-toggle.active {
  background: rgba(99, 102, 241, 0.3);
  border-color: rgba(139, 92, 246, 0.6);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.menu-toggle.active span {
  background: linear-gradient(90deg, #8b5cf6, #6366f1);
  box-shadow: 0 0 8px rgba(139, 92, 246, 0.5);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

@media (max-width: 768px) {
  .topbar {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: linear-gradient(
      165deg, 
      #1a1f3a 0%,
      #0f1729 30%,
      #1a1d35 70%,
      #0f1729 100%
    );
    flex-direction: column;
    padding: 5rem 0 2rem;
    gap: 0;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-right: 2px solid;
    border-image: linear-gradient(
      180deg,
      rgba(99, 102, 241, 0.8),
      rgba(139, 92, 246, 0.8),
      rgba(99, 102, 241, 0.8)
    ) 1;
    box-shadow: 
      4px 0 40px rgba(99, 102, 241, 0.3),
      inset -1px 0 20px rgba(99, 102, 241, 0.1);
    z-index: 110;
    overflow-y: auto;
  }

  .nav.active {
    left: 0;
  }

  .nav a {
    font-size: 1.15rem;
    font-weight: 600;
    padding: 1.4rem 2rem;
    min-height: 60px;
    display: flex;
    align-items: center;
    color: #c4b5fd;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
    letter-spacing: 0.02em;
  }
  
  /* Efecto de barra lateral animada */
  .nav a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(
      180deg,
      #6366f1,
      #8b5cf6,
      #a855f7
    );
    transform: scaleY(0);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
  }
  
  /* Flecha indicadora */
  .nav a::after {
    content: '→';
    position: absolute;
    right: 2rem;
    opacity: 0;
    transform: translateX(-15px);
    transition: all 0.3s ease;
    color: #a78bfa;
    font-size: 1.3rem;
    font-weight: 700;
  }
  
  .nav a:active {
    background: linear-gradient(
      90deg, 
      rgba(99, 102, 241, 0.25) 0%,
      rgba(139, 92, 246, 0.15) 50%,
      transparent 100%
    );
    color: #e9d5ff;
    padding-left: 2.5rem;
  }
  
  /* Botón verde de análisis en móvil */
  .nav__btn-analysis {
    background: linear-gradient(135deg, #22c55e, #16a34a) !important;
    color: #ffffff !important;
    margin: 1rem 2rem;
    padding: 1.2rem 2rem !important;
    border-radius: 12px !important;
    text-align: center;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
    border-bottom: none !important;
    min-height: auto !important;
  }
  
  .nav__btn-analysis::before,
  .nav__btn-analysis::after {
    display: none !important;
  }
  
  .nav__btn-analysis:active {
    background: linear-gradient(135deg, #16a34a, #15803d) !important;
    color: #ffffff !important;
    padding: 1.2rem 2rem !important;
    transform: scale(0.98);
  }
  
  .nav a:active::before {
    transform: scaleY(1);
  }
  
  .nav a:active::after {
    opacity: 1;
    transform: translateX(0);
  }
  
  /* Efecto de tap más visible en móviles */
  @media (hover: none) {
    .nav a:active {
      background: linear-gradient(
        90deg, 
        rgba(99, 102, 241, 0.3) 0%,
        rgba(139, 92, 246, 0.15) 50%,
        transparent 100%
      );
      transform: scale(0.98);
    }
  }
  
  /* Scroll suave para el menú */
  .nav {
    scrollbar-width: thin;
    scrollbar-color: rgba(139, 92, 246, 0.5) transparent;
  }
  
  .nav::-webkit-scrollbar {
    width: 6px;
  }
  
  .nav::-webkit-scrollbar-track {
    background: transparent;
  }
  
  .nav::-webkit-scrollbar-thumb {
    background: linear-gradient(
      180deg,
      rgba(99, 102, 241, 0.5),
      rgba(139, 92, 246, 0.5)
    );
    border-radius: 3px;
  }

  .header__btn {
    display: none;
  }

  /* Overlay con efecto Kalion cuando el menú está abierto */
  body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 320px;
    width: calc(100% - 320px);
    height: 100%;
    background: linear-gradient(
      90deg,
      rgba(15, 23, 42, 0.7) 0%,
      rgba(0, 0, 0, 0.6) 100%
    );
    backdrop-filter: blur(3px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 105;
  }

  body.menu-open::after {
    opacity: 1;
    pointer-events: auto;
  }
  
  body.menu-open {
    overflow: hidden;
  }
}

/* HERO */

.hero {
  padding: 4rem 0 5rem;
  position: relative;
  overflow: hidden;
}

/* spotlight reactivo en el hero */
.hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  pointer-events: none;
  mix-blend-mode: screen;
  background:
    radial-gradient(
      circle at var(--mouseX) var(--mouseY),
      rgba(69, 57, 182, 0.815),
      transparent 55%
    );
  opacity: 0.7;
  transition: opacity 0.3s ease-out;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: 3rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero {
    padding: 3rem 0 4rem;
  }

  .hero__content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero__card {
    max-width: 500px;
    margin: 0 auto;
  }
}

.hero__text h1 {
  font-size: clamp(2.3rem, 4vw, 3rem);
  margin: 0 0 1rem;
}

.hero__text p {
  color: var(--text-soft);
  font-size: 1.02rem;
  margin: 0 0 1.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .hero__text h1 {
    font-size: clamp(1.75rem, 7vw, 2.3rem);
  }

  .hero__text p {
    font-size: 0.95rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .hero__actions .btn {
    width: 100%;
  }
}

.hero__note {
  font-size: 0.9rem;
  color: var(--text-soft);
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.badge {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 999px;
  padding: 0.7rem 1.1rem;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(55, 65, 81, 0.8);
}

.badge__title {
  font-size: 1.05rem;
  font-weight: 600;
}

.badge__text {
  font-size: 0.8rem;
  color: var(--text-soft);
}

/* flotación suave de badges */
.hero__badges .badge {
  animation: badgeFloat 6s ease-in-out infinite alternate;
}

.hero__badges .badge:nth-child(2) {
  animation-delay: 0.6s;
}

.hero__badges .badge:nth-child(3) {
  animation-delay: 1.1s;
}

@keyframes badgeFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

/* Hero Card (Panel) */

.hero__card {
  background: radial-gradient(circle at top, #111827, #020617);
  border-radius: var(--radius-xl);
  padding: 1.8rem 1.6rem;
  border: 1px solid rgba(55, 65, 81, 0.8);
  box-shadow: var(--shadow-soft);
  animation: heroFloat 5s ease-in-out infinite alternate;
  position: relative;
  overflow: hidden;
}


@keyframes heroFloat {
  0% {
    transform: translateY(0);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.7);
  }
  50% {
    transform: translateY(-14px);
    box-shadow: 0 32px 70px rgba(129, 140, 248, 0.6);
  }
  100% {
    transform: translateY(-8px);
    box-shadow: 0 26px 55px rgba(15, 23, 42, 0.9);
  }
}

.hero-card__header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.3rem;
  font-size: 0.9rem;
}

.hero-card__header h2 {
  font-size: 1.05rem;
  margin: 0;
}
.hero-card__header span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-card__header strong {
  color: #22c55e;
  font-weight: 600;
  position: relative;
  letter-spacing: 0.02em;
  text-shadow: 0 0 8px rgba(34, 197, 94, 0.85);
  animation: statusPulse 1.1s ease-in-out infinite;
}

.hero-card__header strong::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow:
    0 0 0 0 rgba(34, 197, 94, 0.8),
    0 0 12px rgba(34, 197, 94, 0.9);
  margin-right: 0.25rem;
  animation: statusPing 1.1s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes statusPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.06);
    opacity: 1;
  }
}




.hero-card__metrics {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.6rem;
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.metric__label {
  font-size: 0.8rem;
  color: var(--text-soft);
}

.metric__bar {
  height: 7px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  overflow: hidden;
  border: 1px solid rgba(55, 65, 81, 0.7);
}

.metric__fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #6366f1, #22c55e);
  width: 70%;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.9s ease-out;
}

.metric__fill--2 {
  width: 78%;
}

.metric__fill--3 {
  width: 82%;
}

.metric__fill--4 {
  width: 75%;
}

.metric__fill.bar-active {
  transform: scaleX(1);
}

.hero-card__summary {
  border-radius: 18px;
  padding: 1rem 1.1rem;
  background: radial-gradient(circle at top left, rgba(96, 165, 250, 0.1), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(55, 65, 81, 0.8);
}

.summary__value {
  margin: 0 0 0.35rem;
  font-size: 1.4rem;
  font-weight: 600;
}

.summary__text {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-soft);
}

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

  .hero__card {
    max-width: 420px;
    margin-inline: auto;
  }
}

/* Hero scroll indicator */

.hero__scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  margin-top: 2.5rem;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.scroll-indicator {
  width: 28px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  position: relative;
  overflow: hidden;
}

.scroll-indicator span {
  position: absolute;
  left: 50%;
  width: 6px;
  height: 10px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #6366f1, #22c55e);
  animation: scrollDot 1.4s infinite;
}

@keyframes scrollDot {
  0% { top: 6px; opacity: 0; }
  20% { top: 6px; opacity: 1; }
  80% { top: 24px; opacity: 1; }
  100% { top: 28px; opacity: 0; }
}


/* GRID / CARDS GENERALES */

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 960px) {
  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.card {
  border-radius: var(--radius-lg);
  border: 2px solid rgba(139, 92, 246, 0.3);
  background: linear-gradient(
    135deg, 
    rgba(99, 102, 241, 0.08) 0%,
    rgba(15, 23, 42, 0.95) 50%,
    rgba(139, 92, 246, 0.08) 100%
  );
  padding: 1.8rem 1.6rem;
  box-shadow: 
    0 12px 35px rgba(99, 102, 241, 0.25),
    inset 0 1px 1px rgba(139, 92, 246, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6, #a855f7, #ec4899);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.6);
}

.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(139, 92, 246, 0.1),
    transparent
  );
  transition: left 0.6s ease;
}

.card:hover::after {
  left: 100%;
}

.card:hover {
  border-color: rgba(139, 92, 246, 0.6);
  background: linear-gradient(
    135deg, 
    rgba(99, 102, 241, 0.15) 0%,
    rgba(15, 23, 42, 0.98) 50%,
    rgba(139, 92, 246, 0.15) 100%
  );
  box-shadow: 
    0 0 0 1px rgba(139, 92, 246, 0.4),
    0 20px 48px rgba(99, 102, 241, 0.4),
    0 0 80px rgba(139, 92, 246, 0.2);
  transform: translateY(-8px) scale(1.02);
}

.card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.15rem;
  font-weight: 700;
  background: linear-gradient(135deg, #a78bfa, #8b5cf6, #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
  text-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
}

.card:hover h3 {
  background: linear-gradient(135deg, #ffffff, #e9d5ff, #c4b5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transform: translateX(4px);
}

.card p {
  margin: 0;
  font-size: 0.95rem;
  color: #d1d5db;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.card:hover p {
  color: #f3f4f6;
}

/* CTA */

.cta {
  background: 
    linear-gradient(135deg, 
      rgba(99, 102, 241, 0.15) 0%,
      rgba(15, 23, 42, 0.95) 30%,
      rgba(139, 92, 246, 0.15) 70%,
      rgba(99, 102, 241, 0.15) 100%
    ),
    linear-gradient(135deg, #111827, #020617);
  border-top: 2px solid rgba(139, 92, 246, 0.4);
  border-bottom: 2px solid rgba(139, 92, 246, 0.4);
  box-shadow: 
    inset 0 1px 0 rgba(139, 92, 246, 0.2),
    inset 0 -1px 0 rgba(139, 92, 246, 0.2),
    0 0 60px rgba(99, 102, 241, 0.15);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(139, 92, 246, 0.08),
    transparent
  );
  animation: ctaShimmer 8s infinite;
}

@keyframes ctaShimmer {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

.cta__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.cta__content h2 {
  margin: 0 0 0.5rem;
  background: linear-gradient(135deg, #ffffff, #e9d5ff, #c4b5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 40px rgba(139, 92, 246, 0.3);
}

.cta__content p {
  margin: 0;
  color: #d1d5db;
  font-size: 1.05rem;
}

@media (max-width: 768px) {
  .cta__content {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* FAQ */

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

.faq__item {
  border-radius: var(--radius-lg);
  border: 2px solid rgba(139, 92, 246, 0.3);
  background: linear-gradient(
    135deg, 
    rgba(99, 102, 241, 0.08),
    rgba(15, 23, 42, 0.95),
    rgba(139, 92, 246, 0.08)
  );
  padding: 1.2rem 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 4px 16px rgba(99, 102, 241, 0.15),
    inset 0 1px 1px rgba(139, 92, 246, 0.1);
}

.faq__item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6, #a855f7, #ec4899);
  opacity: 0.7;
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
}

.faq__item:hover {
  border-color: rgba(139, 92, 246, 0.5);
  background: linear-gradient(
    135deg, 
    rgba(99, 102, 241, 0.12),
    rgba(15, 23, 42, 0.98),
    rgba(139, 92, 246, 0.12)
  );
  box-shadow: 
    0 8px 24px rgba(139, 92, 246, 0.25),
    0 0 40px rgba(99, 102, 241, 0.15);
  transform: translateY(-2px);
}

.faq__item:hover::before {
  opacity: 1;
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.7);
}

.faq__item[open] {
  border-color: rgba(139, 92, 246, 0.7);
  background: linear-gradient(
    135deg, 
    rgba(99, 102, 241, 0.15),
    rgba(15, 23, 42, 0.98),
    rgba(139, 92, 246, 0.15)
  );
  box-shadow: 
    0 0 0 1px rgba(139, 92, 246, 0.5),
    0 12px 32px rgba(99, 102, 241, 0.35),
    0 0 60px rgba(139, 92, 246, 0.2);
}

.faq__item[open]::before {
  opacity: 1;
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.8);
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  background: linear-gradient(135deg, #e9d5ff, #c4b5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}

.faq__item:hover summary {
  background: linear-gradient(135deg, #ffffff, #e9d5ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.faq__item[open] summary {
  background: linear-gradient(135deg, #ffffff, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.faq__item summary::after {
  content: "+";
  float: right;
  font-weight: 700;
  font-size: 1.4rem;
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  display: inline-block;
  filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.5));
}

.faq__item:hover summary::after {
  transform: rotate(90deg) scale(1.1);
  filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.7));
}

.faq__item[open] summary::after {
  content: "−";
  transform: rotate(180deg) scale(1.1);
  background: linear-gradient(135deg, #a855f7, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 15px rgba(168, 85, 247, 0.8));
}

.faq__item p {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  color: #d1d5db;
  line-height: 1.7;
  animation: fadeInDown 0.3s ease;
}

.faq__item[open] p {
  color: #e5e7eb;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* CONTACTO */

.contact {
  width: 100%;
  max-width: 1120px;       /* mismo ancho que .container */
  margin: 0 auto;          /* centra el bloque */
  padding: 0 1.5rem;       /* margen lateral interior */
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: flex-start;
}



.contact__info h2 {
  margin: 0 0 0.75rem;
  background: linear-gradient(135deg, #ffffff, #e9d5ff, #c4b5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 40px rgba(139, 92, 246, 0.3);
}

.contact__info p {
  margin: 0 0 1rem;
  color: #d1d5db;
  line-height: 1.7;
}

.contact__list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #d1d5db;
  font-size: 0.95rem;
}

.contact__list li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.contact__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #8b5cf6;
  font-weight: bold;
  font-size: 1.1rem;
}

.contact__list li + li {
  margin-top: 0.3rem;
}

.contact__actions {
  margin-top: 1.5rem;
}

/* Sociales en la sección contacto */

.socials {
  margin-top: 2rem;
}

.socials__label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-soft);
  margin: 0 0 0.6rem;
}

.socials__items {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  border: 2px solid rgba(139, 92, 246, 0.3);
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.08),
    rgba(15, 23, 42, 0.95)
  );
  color: #e9d5ff;
  transition:
    transform 0.2s ease-out,
    box-shadow 0.2s ease-out,
    border-color 0.2s ease-out,
    background 0.2s ease-out;
  position: relative;
  overflow: hidden;
}

.social-pill::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(139, 92, 246, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.social-pill:hover::before {
  left: 100%;
}

.social-pill:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 
    0 0 0 1px rgba(139, 92, 246, 0.4),
    0 8px 20px rgba(99, 102, 241, 0.3);
  border-color: rgba(139, 92, 246, 0.6);
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.15),
    rgba(15, 23, 42, 0.98)
  );
  color: #ffffff;
}

/* Iconos genéricos redes */

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: lowercase;
}

/* tamaño dentro de píldoras */
.social-pill__icon.icon {
  width: 22px;
  height: 22px;
  border: 1px solid rgba(148, 163, 184, 0.9);
}

/* mismos estilos blancos para todas las redes */
.icon--ig,
.icon--tt,
.icon--fb {
  background: transparent;
  color: #f9fafb;
}

/* contacto - formulario */

.contact__form {
  background: linear-gradient(
    135deg, 
    rgba(99, 102, 241, 0.08),
    rgba(15, 23, 42, 0.98),
    rgba(139, 92, 246, 0.08)
  );
  border-radius: var(--radius-xl);
  border: 2px solid rgba(139, 92, 246, 0.4);
  padding: 2rem 1.8rem;
  box-shadow: 
    0 12px 40px rgba(99, 102, 241, 0.25),
    inset 0 1px 1px rgba(139, 92, 246, 0.1),
    0 0 60px rgba(139, 92, 246, 0.15);
  position: relative;
  overflow: hidden;
}

.contact__form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6, #a855f7, #ec4899);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.6);
}

.form__glow {
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 0 0, rgba(99, 102, 241, 0.45), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(139, 92, 246, 0.35), transparent 55%);
  opacity: 0.2;
  pointer-events: none;
  mix-blend-mode: screen;
  animation: formGlow 10s linear infinite alternate;
}

@keyframes formGlow {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-8%, 4%, 0); }
  100% { transform: translate3d(6%, -6%, 0); }
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 1;
}

.form__group label {
  font-size: 0.9rem;
  font-weight: 600;
  background: linear-gradient(135deg, #e9d5ff, #c4b5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.form__group input,
.form__group textarea {
  border-radius: 12px;
  border: 2px solid rgba(139, 92, 246, 0.3);
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.05),
    rgba(15, 23, 42, 0.95)
  );
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: #f3f4f6;
  outline: none;
  transition:
    border-color 0.3s ease-out,
    box-shadow 0.3s ease-out,
    transform 0.2s ease-out,
    background 0.3s ease-out;
}

.form__group input::placeholder,
.form__group textarea::placeholder {
  color: #9ca3af;
}

.form__group input:focus,
.form__group textarea:focus {
  border-color: rgba(139, 92, 246, 0.7);
  box-shadow: 
    0 0 0 3px rgba(139, 92, 246, 0.2),
    0 8px 24px rgba(99, 102, 241, 0.3);
  transform: translateY(-2px);
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.08),
    rgba(15, 23, 42, 0.98)
  );
}

.form__group input:hover,
.form__group textarea:hover {
  border-color: rgba(139, 92, 246, 0.5);
}

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

/* FOOTER */

.footer {
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  background: #020617;
}

.footer__content {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 2rem;
  padding: 2.5rem 1.5rem 1.5rem;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.footer__col a {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--text-soft);
}

.footer__col a:hover {
  color: var(--text);
}

.footer__heading {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 0.6rem;
  color: #cbd5f5;
}

.footer__col--brand {
  max-width: 380px;
}

/* LOGO FOOTER */

.footer__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: transparent;
  margin-bottom: 0.6rem;
}

.footer__logo img {
  height: 32px;
  width: auto;
}

.footer__text {
  margin: 0;
  font-size: 0.85rem;
}

.footer__col--contact a {
  margin-bottom: 0.25rem;
}

/* iconos redondos en el footer */

.footer__socials {
  margin-top: 0.6rem;
  display: flex;
  gap: 0.4rem;
}

.footer-social.icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  transition:
    transform 0.18s ease-out,
    box-shadow 0.18s ease-out,
    border-color 0.18s ease-out;
}

/* usan los mismos estilos blancos */
.footer-social.icon.icon--ig,
.footer-social.icon.icon--tt,
.footer-social.icon.icon--fb {
  background: transparent;
  color: #f9fafb;
}

.footer-social.icon:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.9);
}

.footer__bottom {
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  padding: 0.9rem 0 1.2rem;
}

.footer__bottom-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.footer__links {
  display: flex;
  gap: 1.2rem;
}

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

.footer__links a:hover {
  color: var(--text);
}

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

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

/* PROCESO – timeline */

.process__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
  gap: 2.5rem;
  align-items: flex-start;
  margin-top: 2rem;
}

.process__intro h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.process__intro p {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--text-soft);
}

.process__bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text-soft);
  font-size: 0.93rem;
}

.process__bullets li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.4rem;
}

.process__bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
}

.process__steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.process-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.2rem;
}

.process-step__marker {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.process-step__number {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
}

.process-step__line {
  flex: 1;
  width: 2px;
  margin-top: 0.3rem;
  background: linear-gradient(to bottom, var(--primary), transparent);
  opacity: 0.7;
}

.process-step:last-child .process-step__line {
  display: none;
}

.process-step__body h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.process-step__body p {
  margin: 0 0 0.5rem;
  font-size: 0.93rem;
  color: var(--text-soft);
}

.process-step__bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-soft);
}

.process-step__bullets li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.25rem;
}

.process-step__bullets li::before {
  content: "›";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-size: 0.75rem;
}

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

  .process-step {
    grid-template-columns: auto minmax(0, 1fr);
  }
}

/* BENEFICIOS – layout dos columnas + stats */

/* Sección con imagen de fondo conect.jpg - ESTÁTICO */
#resultados {
  position: relative;
  background: 
    linear-gradient(
      135deg,
      rgb(0, 0, 0) 30%,
      rgba(63, 61, 185, 0.877) 80%
    ),
    url('images/conect.jpg') center/cover no-repeat;
  background-attachment: scroll;
  padding: 6rem 0;
}

#resultados::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at bottom left,
    rgba(34, 197, 94, 0.1) 0%,
    transparent 60%
  );
  pointer-events: none;
}

#resultados .container {
  position: relative;
  z-index: 1;
}

.benefits__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
  gap: 2.5rem;
  margin-top: 2.2rem;
  align-items: flex-start;
}

.benefits__highlights {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.benefit-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  padding: 1rem 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: radial-gradient(circle at top left, rgba(99, 102, 241, 0.08), rgba(15, 23, 42, 0.96));
}

.benefit-row__icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  border: 1px solid rgba(129, 140, 248, 0.6);
}

.benefit-row h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.benefit-row p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.benefits__stats {
  display: grid;
  gap: 0.9rem;
}

.benefit-stat {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(31, 41, 55, 0.95);
  padding: 0.85rem 1rem;
  background: radial-gradient(circle at top, rgba(34, 197, 94, 0.12), rgba(15, 23, 42, 0.98));
}

.benefit-stat__value {
  margin: 0 0 0.2rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.benefit-stat__label {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-soft);
}

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

/* QUIÉNES SOMOS – layout dinámico */

/* Sección con imagen de fondo de portátil - ESTÁTICO */
#quienes-somos {
  position: relative;
  background: 
    linear-gradient(
      135deg,
      rgba(0, 0, 0, 0.979) 20%,
      rgba(73, 71, 218, 0.637) 100%
    ),
    url('images/portatil.jpg') center/cover no-repeat;
  background-attachment: scroll; /* Fondo estático, no parallax */
  padding: 6rem 0;
}

#quienes-somos::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    rgba(99, 102, 241, 0.1) 0%,
    transparent 60%
  );
  pointer-events: none;
}

#quienes-somos .container {
  position: relative;
  z-index: 1;
}

.about__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  margin-top: 1.5rem;
  align-items: flex-start;
}

.about__main {
  max-width: 680px;
}

.about__text {
  margin: 0 0 1rem;
  color: var(--text-soft);
  font-size: 0.98rem;
}

.about__pill {
  display: inline-block;
  margin-bottom: 1.1rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(129, 140, 248, 0.55);
  background: radial-gradient(circle at top left, rgba(129, 140, 248, 0.1), rgba(15, 23, 42, 0.98));
  font-size: 0.9rem;
}

.about__list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.about__list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.4rem;
}

.about__list li::before {
  content: "▹";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.8rem;
  color: var(--primary);
}

/* Panel lateral */

.about__panel {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(31, 41, 55, 0.95);
  padding: 1.4rem 1.3rem;
  background: radial-gradient(circle at top, rgba(15, 118, 110, 0.08), rgba(15, 23, 42, 0.98));
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.7);
}

.about__panel-title {
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-soft);
}

.about__stat {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(31, 41, 55, 0.9);
}

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

.about__stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-soft);
}

.about__stat-value {
  font-size: 0.95rem;
  font-weight: 500;
}

.about__note {
  margin-top: 1rem;
  font-size: 0.86rem;
  color: var(--text-soft);
  border-radius: 0.9rem;
  padding: 0.7rem 0.8rem;
  background: rgba(15, 23, 42, 0.9);
}

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

  .about__panel {
    max-width: 420px;
  }
}

/* Animaciones de aparición (scroll) */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

.reveal--up {
  transform: translateY(24px);
}

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

/* Microinteracciones en tarjetas */

.service-card,
.benefit-row,
.process-step__body,
.about__panel {
  transition:
    transform 0.25s ease-out,
    box-shadow 0.25s ease-out,
    border-color 0.25s ease-out,
    background 0.25s ease-out;
}

.service-card:hover,
.benefit-row:hover,
.process-step__body:hover,
.about__panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.85);
  border-color: rgba(129, 140, 248, 0.7);
}

/* Tarjetas con efecto tilt 3D (si lo usas) */

.tilt-card {
  will-change: transform, box-shadow;
  transition:
    transform 0.25s ease-out,
    box-shadow 0.25s ease-out,
    border-color 0.25s ease-out;
}

.tilt-card:hover {
  box-shadow: 0 22px 50px rgba(129, 140, 248, 0.65);
  border-color: rgba(129, 140, 248, 0.9);
}

/* Botón flotante WhatsApp – IZQUIERDA */

.whatsapp-fab {
  position: fixed;
  left: 1.5rem;
  right: auto;
  bottom: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(22, 163, 74, 0.35);
  z-index: 40;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: all 0.2s ease;
  animation: whatsappPulse 1.2s ease-in-out infinite;
}

@keyframes whatsappPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 10px 20px rgba(22, 163, 74, 0.35), 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 12px 25px rgba(22, 163, 74, 0.45), 0 0 0 10px rgba(34, 197, 94, 0);
  }
}

.whatsapp-fab:hover {
  animation: none;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 30px rgba(22, 163, 74, 0.5);
}

/* Touch devices */
@media (hover: none) and (pointer: coarse) {
  .whatsapp-fab:hover {
    transform: none;
  }
  
  .whatsapp-fab:active {
    transform: scale(0.9);
    box-shadow: 0 8px 16px rgba(22, 163, 74, 0.4);
  }
}

.fab-whatsapp__img {
  width: 26px;
  height: auto;
  display: block;
}

/* =========================================================
   WIDGET DE CHAT KALION (n8n embedded)
   ========================================================= */

/* Contenedor que fija el chat abajo a la derecha */
.kalion-chat-wrapper {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 60;
}

/* Ajustes básicos del host del componente */
.kalion-chat-wrapper n8n-embedded-chat-interface {
  display: block;
}

/* =========================================================
   WIDGET DE CHAT KALION (n8n embedded)
   ========================================================= */

.kalion-chat-wrapper {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 60;
}

.kalion-chat-wrapper n8n-embedded-chat-interface {
  display: block;
}

@media (max-width: 768px) {
  .kalion-chat-wrapper {
    right: 0.75rem;
    bottom: 1.25rem;
  }
}
/* ============================================
   FIX CRÍTICO MÓVIL - CHAT BOT & WHATSAPP
   ============================================ */

@media (max-width: 768px) {
  /* Chat bot limitado */
  .kalion-chat-wrapper {
    right: 0.75rem !important;
    bottom: 1.25rem !important;
    max-width: calc(100vw - 1.5rem) !important;
    z-index: 50 !important;
  }
  
  .kalion-chat-wrapper iframe,
  .kalion-chat-wrapper n8n-embedded-chat-interface {
    max-width: 360px !important;
    max-height: 500px !important;
  }
  
  .kalion-chat-wrapper button {
    min-width: 54px !important;
    min-height: 54px !important;
    -webkit-tap-highlight-color: transparent !important;
  }
  
  /* WhatsApp bot - mismo tamaño que chatbot */
  .whatsapp-fab {
    width: 48px !important;
    height: 48px !important;
    left: 0.75rem !important;
    bottom: 0.75rem !important;
    min-width: 48px !important;
    min-height: 48px !important;
  }
  
  .fab-whatsapp__img {
    width: 26px !important;
  }
}

@media (max-width: 480px) {
  /* Chat bot aún más pequeño */
  .kalion-chat-wrapper {
    right: 0.5rem !important;
    bottom: 1rem !important;
    max-width: calc(100vw - 1rem) !important;
  }
  
  .kalion-chat-wrapper iframe,
  .kalion-chat-wrapper n8n-embedded-chat-interface {
    max-width: calc(100vw - 1.5rem) !important;
    max-height: 450px !important;
  }
  
  .kalion-chat-wrapper button {
    min-width: 48px !important;
    min-height: 48px !important;
  }
  
  /* WhatsApp bot - mismo tamaño que chatbot */
  .whatsapp-fab {
    width: 48px !important;
    height: 48px !important;
    left: 0.5rem !important;
    bottom: 0.5rem !important;
    min-width: 48px !important;
    min-height: 48px !important;
  }
  
  .fab-whatsapp__img {
    width: 26px !important;
  }
}

/* ============================================
   FONDO FORMULARIO - IMAGEN CARRETERA
   ============================================ */

.contact__form {
  background-image: url('');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

/* Overlay oscuro para que el formulario se lea bien */
.contact__form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(16, 9, 51, 0.92) 30%, 
    rgba(30, 21, 70, 0.726) 70%);
  border-radius: inherit;
  z-index: 0;
}

/* Asegurar que el contenido esté encima del overlay */
.contact__form > * {
  position: relative;
  z-index: 1;
}

.form__glow {
  z-index: 0;
}

/* Mejorar contraste de labels e inputs */
.contact__form label {
  color: #e5e7eb;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.contact__form input,
.contact__form textarea {
  background: rgba(17, 24, 39, 0.8);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #e5e7eb;
  backdrop-filter: blur(10px);
}

.contact__form input:focus,
.contact__form textarea:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
  background: rgba(17, 24, 39, 0.9);
}

.contact__form input::placeholder,
.contact__form textarea::placeholder {
  color: #9ca3af;
}

/* Responsive: menos overlay en móvil para ver más la imagen */
@media (max-width: 768px) {
  .contact__form::before {
    background: linear-gradient(135deg, 
      rgba(11, 16, 32, 0.88) 0%, 
      rgba(26, 26, 46, 0.85) 100%);
  }
}
/* ====== Inputs de FECHA y HORA del formulario de contacto ====== */

.contact__form input[type="date"],
.contact__form select {
  width: 100%;
  padding: 1rem 1.3rem;
  border-radius: 12px;
  border: 2px solid rgba(139, 92, 246, 0.3);
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.95),
    rgba(26, 26, 46, 0.95)
  );
  color: #e9d5ff;
  font-size: 0.95rem;
  font-weight: 500;
  outline: none;
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.3),
    inset 0 1px 2px rgba(99, 102, 241, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.contact__form input[type="date"]:hover,
.contact__form select:hover {
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 
    0 4px 16px rgba(139, 92, 246, 0.2),
    inset 0 1px 2px rgba(99, 102, 241, 0.15);
}

/* Placeholder y texto sin seleccionar */
.contact__form select {
  color: #c4b5fd;
}

.contact__form select option:first-child {
  color: #9ca3af;
}

/* Opciones del select con mejor estilo */
.contact__form select option {
  background: linear-gradient(
    135deg,
    #1a1d35,
    #0f1729
  );
  color: #781add;
  padding: 0.8rem;
  font-weight: 500;
}

.contact__form select option:hover,
.contact__form select option:checked {
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.3),
    rgba(139, 92, 246, 0.2)
  );
  color: #ffffff;
}

/* Efecto al hacer foco (click) */
.contact__form input[type="date"]:focus,
.contact__form select:focus {
  border-color: #8b5cf6;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.98),
    rgba(26, 26, 46, 0.98)
  );
  box-shadow:
    0 0 0 3px rgba(139, 92, 246, 0.2),
    0 8px 24px rgba(99, 102, 241, 0.3),
    inset 0 1px 3px rgba(99, 102, 241, 0.2);
  transform: translateY(-1px);
}

/* Icono del calendario */
.contact__form input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1) hue-rotate(210deg) saturate(2);
  opacity: 0.9;
  cursor: pointer;
  width: 20px;
  height: 20px;
  transition: all 0.3s ease;
}

.contact__form input[type="date"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Flecha del select */
.contact__form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23a78bfa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 20px;
  padding-right: 3rem;
}

/* Responsive móvil */
@media (max-width: 768px) {
  .contact__form input[type="date"],
  .contact__form select {
    padding: 1.1rem 1.2rem;
    font-size: 16px;
  }
  
  .contact__form select {
    background-position: right 1rem center;
  }
}

/* ============================================
   WEB ANALYSIS SECTION - KALION STYLE
   ============================================ */

.web-analysis-section {
  padding: 2rem 0;
  position: relative;
  overflow: hidden;
}

.analysis-hero {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
  border-radius: 16px;
  padding: 18px 24px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(99, 102, 241, 0.25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  animation: fadeInUp 0.8s ease-out;
}

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

.analysis-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.2) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.18) 0%, transparent 40%);
  pointer-events: none;
  animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.deco-circle {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(35px);
}

.deco-circle-1 {
  top: -110px;
  right: -110px;
  animation: float 6s ease-in-out infinite;
}

.deco-circle-2 {
  bottom: -110px;
  left: -110px;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-15px) scale(1.05); }
}

.analysis-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.analysis-left {
  flex: 1;
  max-width: 450px;
}

.analysis-right {
  flex: 1;
  max-width: 420px;
}

.analysis-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.4);
  padding: 4px 10px;
  border-radius: 50px;
  margin-bottom: 8px;
  animation: fadeIn 0.8s ease-out 0.2s both;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.analysis-badge-green {
  background: rgba(34, 197, 94, 0.2);
  border: 2px solid rgba(34, 197, 94, 0.5);
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
  animation: badgePulse 2s ease-in-out infinite, fadeIn 0.8s ease-out 0.2s both;
}

@keyframes badgePulse {
  0%, 100% { 
    transform: scale(1);
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
  }
  50% { 
    transform: scale(1.05);
    box-shadow: 0 6px 24px rgba(34, 197, 94, 0.5);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.6);
}

.analysis-badge-green .badge-dot {
  background: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.8);
}

@keyframes pulse {
  0%, 100% { 
    transform: scale(1);
    opacity: 1;
  }
  50% { 
    transform: scale(1.3);
    opacity: 0.7;
  }
}

.badge-text {
  color: var(--primary);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.analysis-badge-green .badge-text {
  color: #22c55e;
  text-shadow: 0 2px 8px rgba(34, 197, 94, 0.4);
}

.analysis-title {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
  animation: fadeIn 0.8s ease-out 0.3s both;
}

.gradient-text {
  background: linear-gradient(135deg, #6366f1 0%, #a78bfa 50%, #8b5cf6 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.analysis-subtitle {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.5;
  animation: fadeIn 0.8s ease-out 0.4s both;
  margin-bottom: 0;
}

.analysis-subtitle strong {
  color: #22c55e;
  font-weight: 600;
}

.analysis-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 0;
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

.form-group-full {
  width: 100%;
}

.url-input {
  width: 100%;
  padding: 11px 14px;
  font-size: 12.5px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 2px solid rgba(99, 102, 241, 0.25);
  border-radius: 9px;
  outline: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.url-input-large {
  padding: 12px 15px;
  font-size: 13px;
}

.url-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.url-input:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
  transform: translateY(-1px);
}

.analyze-btn {
  width: 100%;
  padding: 12px 28px;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border: none;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(99, 102, 241, 0.4);
  background-size: 200% 200%;
  animation: btnGradientShift 3s ease infinite;
}

.analyze-btn-large {
  padding: 13px 30px;
  font-size: 13.5px;
  font-weight: 700;
}

@keyframes btnGradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.analyze-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.analyze-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(99, 102, 241, 0.6);
}

.analyze-btn:hover::before {
  left: 100%;
}

.analyze-btn:active {
  transform: translateY(-1px);
}

.analyze-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-note {
  font-size: 10px;
  color: var(--text-soft);
  text-align: center;
  margin-top: 4px;
  opacity: 0.75;
  line-height: 1.3;
}

/* Features en línea horizontal debajo de todo */
.analysis-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  animation: fadeIn 0.8s ease-out 0.7s both;
  position: relative;
  z-index: 1;
  padding-top: 8px;
  border-top: 1px solid rgba(99, 102, 241, 0.15);
}

.analysis-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 12px 10px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  border: 1px solid rgba(99, 102, 241, 0.2);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: default;
}

.analysis-feature:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.25);
}

.feature-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25) 0%, rgba(139, 92, 246, 0.25) 100%);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
  transition: transform 0.3s ease;
}

.analysis-feature:hover .feature-icon {
  transform: scale(1.15) rotate(5deg);
}

.feature-text {
  color: var(--text-soft);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 1100px) {
  .analysis-left {
    max-width: 100%;
  }
  
  .analysis-right {
    max-width: 100%;
  }
  
  .analysis-features {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
}

@media (max-width: 900px) {
  .analysis-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 16px;
  }

  .analysis-left {
    max-width: 100%;
  }

  .analysis-right {
    max-width: 100%;
    width: 100%;
  }
  
  .analysis-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .web-analysis-section {
    padding: 1.75rem 0;
  }

  .analysis-hero {
    padding: 20px 18px;
  }

  .analysis-title {
    font-size: 1.2rem;
  }

  .analysis-subtitle {
    font-size: 0.78rem;
    margin-bottom: 0;
  }

  .analysis-content {
    margin-bottom: 14px;
  }

  .analysis-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .deco-circle {
    width: 180px;
    height: 180px;
  }

  .deco-circle-1 {
    top: -90px;
    right: -90px;
  }

  .deco-circle-2 {
    bottom: -90px;
    left: -90px;
  }
  
  .form-note {
    font-size: 9.5px;
  }
}

/* ============================================
   LANGUAGE SWITCHER - IMPROVED DESIGN
   ============================================ */

.language-switcher {
  position: fixed;
  top: 1.2rem;
  right: 1.2rem;
  margin-left: 0;
  z-index: 101;
  pointer-events: auto;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.15),
    rgba(139, 92, 246, 0.15)
  );
  border: 2px solid rgba(139, 92, 246, 0.4);
  color: white;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.1);
  backdrop-filter: blur(10px);
  gap: 0;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.lang-btn:hover {
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.25),
    rgba(139, 92, 246, 0.25)
  );
  border-color: rgba(139, 92, 246, 0.6);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.25);
  transform: translateY(-2px);
}

.lang-btn.active {
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.3),
    rgba(139, 92, 246, 0.3)
  );
  border-color: rgba(139, 92, 246, 0.8);
}

@media (hover: none) and (pointer: coarse) {
  .lang-btn:hover {
    transform: none;
  }
  
  .lang-btn:active {
    transform: scale(0.95);
  }
}

.lang-code {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.lang-arrow {
  display: none;
}

.lang-btn.active .lang-arrow {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: linear-gradient(135deg, rgba(11, 16, 32, 0.98), rgba(26, 26, 46, 0.98));
  border: 2px solid rgba(139, 92, 246, 0.3);
  border-radius: 12px;
  min-width: 160px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 1000;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.lang-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  min-height: 44px;
}

.lang-option::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.4), transparent);
  transition: width 0.3s ease;
}

.lang-option:hover::before {
  width: 100%;
}

.lang-option:hover {
  background: rgba(139, 92, 246, 0.15);
  padding-left: 20px;
}

.lang-option.active {
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.3), rgba(99, 102, 241, 0.2));
  font-weight: 700;
  border-left: 4px solid #8b5cf6;
}

.lang-option.active::after {
  content: '✓';
  margin-left: auto;
  font-size: 16px;
  color: #8b5cf6;
}

.lang-option-flag {
  font-size: 20px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.lang-option-text {
  flex: 1;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .language-switcher {
    top: 1.2rem;
    right: 1.2rem;
  }
  
  .lang-btn {
    width: 40px;
    height: 40px;
    padding: 0;
  }
  
  .lang-code {
    font-size: 11px;
  }
  
  .lang-arrow {
    display: none;
  }
  
  .lang-dropdown {
    min-width: 160px;
  }
}

@media (max-width: 640px) {
  .language-switcher {
    position: fixed;
    top: 5.5rem;
    right: 1rem;
    bottom: auto;
    left: auto;
    z-index: 102;
  }
  
  .lang-btn {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(139, 92, 246, 0.25));
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
    backdrop-filter: blur(20px);
  }
  
  .lang-code {
    font-size: 12px;
    display: block;
    letter-spacing: 0.12em;
    font-weight: 700;
  }
  
  .lang-btn:hover {
    transform: none;
  }
  
  .lang-btn:active {
    transform: scale(0.95);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.35), rgba(139, 92, 246, 0.35));
  }
  
  .lang-dropdown {
    right: 0;
    left: auto;
    top: calc(100% + 12px);
    bottom: auto;
    min-width: 180px;
  }
  
  .lang-option {
    padding: 14px 18px;
    font-size: 15px;
  }
}

@keyframes textPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.lang-btn:hover .lang-code {
  animation: textPulse 0.5s ease-in-out;
}

/* ============================================
   BOTÓN NARANJA - RESERVA UNA LLAMADA
   ============================================ */

/* Botón naranja en el nav (mismo tamaño que el verde) */
.nav__btn-booking {
  background: linear-gradient(135deg, #f97316, #ea580c) !important;
  color: #ffffff !important;
  padding: 0.6rem 1.2rem !important;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
  transition: all 0.3s ease;
  animation: pulseOrange 2s ease-in-out infinite;
}

.nav__btn-booking::after {
  display: none;
}

.nav__btn-booking:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5);
  color: #ffffff !important;
}

.nav__btn-booking:active {
  transform: translateY(0);
  color: #ffffff !important;
}

@keyframes pulseOrange {
  0%, 100% { 
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
  }
  50% { 
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5);
  }
}

/* =========================================================
   CHATBOT KALION (iframe: chat-bot.html)
   ========================================================= */
:root { --vh: 1vh; }

.kalion-chat-wrapper {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 99999 !important;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  pointer-events: none;
}

.kalion-chat-wrapper * { pointer-events: auto; }

.kalion-chat-launcher {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.kalion-chat-launcher:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.55);
}

.kalion-chat-launcher svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.kalion-chat-launcher.hidden { display: none !important; }

.kalion-chat-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #22c55e;
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.4);
}

.kalion-chat-badge.show { display: flex; }

.kalion-chat-panel {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 420px;
  height: 600px;
  background: #0b1020;
  border-radius: 24px;
  overflow: hidden;
  display: none;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px #1f2937;
}

.kalion-chat-panel.open { display: block; }

.kalion-chat-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 24px;
  background: transparent;
}

/* Bloqueo del body cuando el chat está abierto en móvil */
body.kalion-chat-open {
  position: fixed;
  width: 100%;
  overflow: hidden;
  left: 0;
  right: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .kalion-chat-wrapper .kalion-chat-panel {
    width: 380px;
    height: 550px;
  }
}

/* MÓVIL: fullscreen real (y override de reglas antiguas con !important) */
@media (max-width: 768px) {
  .kalion-chat-wrapper {
    right: 1rem !important;
    bottom: 1rem !important;
    max-width: none !important;
  }

  .kalion-chat-wrapper .kalion-chat-launcher {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    width: 54px;
    height: 54px;
    z-index: 100000 !important;
  }

  .kalion-chat-wrapper .kalion-chat-launcher svg {
    width: 26px;
    height: 26px;
  }

  .kalion-chat-wrapper .kalion-chat-panel {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: calc(var(--vh, 1vh) * 100) !important;
    max-width: none !important;
    max-height: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #0b1020 !important;
    z-index: 100001 !important;
  }

  .kalion-chat-wrapper .kalion-chat-iframe {
    border-radius: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
  }

  /* Override por si existe algún "max-width/max-height" viejo */
  .kalion-chat-wrapper iframe {
    max-width: none !important;
    max-height: none !important;
  }
}

@media (max-width: 480px) {
  .kalion-chat-wrapper .kalion-chat-launcher {
    width: 48px;
    height: 48px;
    right: 1rem;
    bottom: 1rem;
  }
  .kalion-chat-wrapper .kalion-chat-launcher svg {
    width: 24px;
    height: 24px;
  }
}