/* Estilos integrados de módulos, precio, testimonios y modo claro (antes en línea en index.html). Debe cargarse al final. */
/* Corrección integrada: mantiene visibles las imágenes, textos y animaciones de los módulos. */
.feature.inventory .inventory-icon,
.feature.service .service-visual {
  display: grid !important;
  place-items: center !important;
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate !important;
  animation: xiroModuleFloat 5.8s ease-in-out infinite !important;
}
.feature.inventory .inventory-icon {
  width: 100% !important;
  height: 206px !important;
  margin: 6px auto 12px !important;
  border-radius: 13px !important;
  background: radial-gradient(circle, rgba(126, 71, 255, .28), transparent 68%) !important;
}
.feature.service .service-visual {
  width: 100% !important;
  height: 206px !important;
  margin: 2px auto 12px !important;
  border-radius: 13px !important;
  background: radial-gradient(circle, rgba(0, 218, 231, .24), transparent 68%) !important;
  animation-delay: -1.7s !important;
}
.feature.inventory .inventory-icon::before,
.feature.inventory .inventory-icon::after,
.feature.inventory .inventory-icon i,
.feature.inventory .inventory-icon b,
.feature.inventory .inventory-icon em,
.feature.service .service-visual .phone,
.feature.service .service-visual .scan { display: none !important; }
.feature.inventory .inventory-icon > img,
.feature.service .service-visual > img {
  display: block !important;
  position: relative !important;
  z-index: 1 !important;
  width: min(100%, 306px) !important;
  height: 204px !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  transform: none !important;
  animation: none !important;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .38)) !important;
}
.feature.service .service-visual > img { width: min(100%, 306px) !important; height: 204px !important; }
.feature.inventory h3,.feature.service h3 { position: relative; z-index: 2; margin-top: 8px !important; }
.feature.inventory p,.feature.service p { position: relative; z-index: 2; }
@keyframes xiroModuleFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (max-width: 700px) {
  .feature.inventory .inventory-icon { height: 168px !important; }
  .feature.service .service-visual { height: 168px !important; }
  .feature.inventory .inventory-icon > img,
  .feature.service .service-visual > img { width: min(100%, 252px) !important; height: 168px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .feature.inventory .inventory-icon,.feature.service .service-visual { animation: none !important; }
}
/* Las filas de módulos son accesos a su ficha explicativa. */
.module-list article { cursor: pointer; }
.module-list article:hover b, .module-list article:focus-visible b { transform: translate(5px, -5px) scale(1.12); }
.module-list article:focus-visible { outline: 2px solid var(--cyan); outline-offset: -3px; }
/* Logo oficial dentro de la vista previa de Xiro. */
.device .mini-brand { display: block; width: 74px; height: 20px; overflow: hidden; line-height: 0; }
.device .mini-brand img { display: block; width: 74px; max-width: none; height: auto; transform: translateY(-4px); mix-blend-mode: screen; filter: saturate(1.08) contrast(1.05); }
.app-bar .app-icon { display: grid; position: relative; place-items: center; width: 22px; height: 22px; overflow: hidden; padding: 0; border: 1px solid rgba(91,238,244,.32); border-radius: 6px; background: linear-gradient(145deg, #1be8e2, #526bff 65%, #b45cff); box-shadow: 0 3px 10px rgba(0,222,227,.28); }
.app-bar .app-icon img { display: block; width: 19px; height: 19px; object-fit: contain; }
/* Entrada escalonada y señales visuales de confianza para la plataforma. */
.modules { position: relative; isolation: isolate; }
.modules::before { content: ''; position: absolute; z-index: -1; top: 13%; right: -9%; width: 350px; height: 350px; border-radius: 50%; background: radial-gradient(circle, rgba(0,229,230,.055), transparent 68%); filter: blur(18px); pointer-events: none; }
.modules .modules-head > div, .modules .modules-head > p, .modules .module-list article { opacity: 0; transform: translateY(24px); }
.modules.security-entered .modules-head > div { animation: moduleRise .72s cubic-bezier(.22,.8,.26,1) both; }
.modules.security-entered .modules-head > p { animation: moduleRise .72s .13s cubic-bezier(.22,.8,.26,1) both; }
.modules.security-entered .module-list article { animation: moduleRise .62s cubic-bezier(.22,.8,.26,1) both; }
.modules.security-entered .module-list article:nth-child(1) { animation-delay: .26s; }
.modules.security-entered .module-list article:nth-child(2) { animation-delay: .34s; }
.modules.security-entered .module-list article:nth-child(3) { animation-delay: .42s; }
.modules.security-entered .module-list article:nth-child(4) { animation-delay: .50s; }
.module-list { position: relative; }
.module-list::before { content: ''; position: absolute; z-index: 1; top: 0; left: 0; width: 68px; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); opacity: .62; animation: trustLine 5.5s ease-in-out infinite; pointer-events: none; }
.module-list article { position: relative; overflow: hidden; }
.module-list article::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 2px; background: linear-gradient(var(--cyan), #6d72ff); opacity: 0; transition: opacity .3s ease; }
.module-list article::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(105,235,239,.055) 50%, transparent 65%); transform: translateX(-115%); transition: transform .65s ease; pointer-events: none; }
.module-list article > span::after { content: ''; display: inline-block; width: 4px; height: 4px; margin: 0 0 1px 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 3px rgba(0,229,230,.08), 0 0 9px rgba(0,229,230,.65); }
.module-list article:hover::before, .module-list article:focus-visible::before { opacity: 1; }
.module-list article:hover::after, .module-list article:focus-visible::after { transform: translateX(115%); }
body.light-theme .modules::before { background: radial-gradient(circle, rgba(0,152,159,.08), transparent 68%); }
body.light-theme .module-list article::after { background: linear-gradient(105deg, transparent 35%, rgba(0,139,148,.06) 50%, transparent 65%); }
@keyframes moduleRise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes trustLine { 0%, 100% { transform: translateX(0); opacity: .28; } 50% { transform: translateX(340px); opacity: .74; } }
@media (prefers-reduced-motion: reduce) { .modules .modules-head > div, .modules .modules-head > p, .modules .module-list article { opacity: 1; transform: none; animation: none !important; } .module-list::before { animation: none; } }
/* Marco tecnológico para las ilustraciones de los módulos. */
.feature.inventory .inventory-icon,
.feature.service .service-visual { border: 1px solid transparent !important; border-radius: 18px !important; background: linear-gradient(#10151e, #10151e) padding-box, linear-gradient(135deg, rgba(0,229,230,.88), rgba(102,104,255,.72) 49%, rgba(196,88,255,.9)) border-box !important; box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset, 0 14px 30px rgba(0,0,0,.3), 0 0 28px rgba(31,133,238,.16); }
.feature.inventory .inventory-icon::after,
.feature.service .service-visual::after { content: ''; display: block !important; position: absolute; z-index: 2; inset: 5px; border: 1px solid rgba(255,255,255,.1); border-radius: 13px; pointer-events: none; }
.feature.inventory .inventory-icon > img,
.feature.service .service-visual > img { border-radius: 14px; }
.feature.inventory:hover .inventory-icon,
.feature.service:hover .service-visual { box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 18px 35px rgba(0,0,0,.36), 0 0 38px rgba(57,154,255,.27); }
/* Iconos específicos de cada módulo en sus fichas de detalle. */
.module-icon { position: relative; overflow: hidden; }
.module-icon::after { content: ''; position: absolute; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.28); filter: blur(13px); right: -12px; top: -13px; }
.module-icon svg { position: relative; z-index: 1; width: 28px; height: 28px; fill: none; stroke: #071017; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px rgba(255,255,255,.38)); }
/* Tipografía única y uniforme para toda la interfaz. */
*, *::before, *::after { font-family: Inter, Arial, sans-serif !important; }
/* Movimiento ambiental lento para el llamado a la acción final. */
.final-cta::after { content: ''; position: absolute; z-index: 0; inset: 1px; border-radius: inherit; background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.08), transparent 43%); pointer-events: none; animation: ctaSurfaceBreath 15s ease-in-out infinite; }
.final-cta .cta-light { animation: ctaAmbientGlow 14s ease-in-out infinite !important; will-change: transform, opacity; }
.final-cta .light-b { animation-delay: -7s !important; }
.final-cta .button { animation: ctaButtonBreath 6s ease-in-out infinite; }
.final-cta .button:hover, .final-cta .button:focus-visible { animation-play-state: paused; }
@keyframes ctaAmbientGlow { 0%,100% { opacity: .18; transform: scale(1); } 50% { opacity: .3; transform: scale(1.09); } }
@keyframes ctaSurfaceBreath { 0%,100% { opacity: .18; } 50% { opacity: .42; } }
@keyframes ctaButtonBreath { 0%,100% { box-shadow: 0 8px 30px rgba(0,229,230,.17); } 50% { box-shadow: 0 12px 36px rgba(55,176,255,.29), 0 0 0 4px rgba(66,187,255,.035); } }
@media (prefers-reduced-motion: reduce) { .final-cta::after, .final-cta .cta-light, .final-cta .button { animation: none !important; } }
/* Movimiento más visible, manteniendo un ritmo lento y limpio. */
.final-cta::before { content: ''; position: absolute; z-index: 0; inset: 0; pointer-events: none; background: radial-gradient(circle at 12% 85%, rgba(0,229,230,.32), transparent 29%), radial-gradient(circle at 88% 16%, rgba(152,80,255,.3), transparent 32%); background-size: 135% 135%; animation: ctaAuroraShift 12s ease-in-out infinite alternate; }
.final-cta .cta-light { animation: ctaVisibleGlow 10s ease-in-out infinite !important; }
.final-cta .light-b { animation-delay: -5s !important; }
.final-cta .button::before { animation: ctaButtonSweep 8s ease-in-out infinite; }
@keyframes ctaAuroraShift { 0% { background-position: 0% 100%; opacity: .6; } 50% { background-position: 55% 40%; opacity: 1; } 100% { background-position: 100% 0%; opacity: .65; } }
@keyframes ctaVisibleGlow { 0%,100% { opacity: .18; transform: translate3d(-8px, 5px, 0) scale(1); } 50% { opacity: .42; transform: translate3d(22px, -14px, 0) scale(1.13); } }
@keyframes ctaButtonSweep { 0%,72% { transform: translateX(-130%); opacity: 0; } 77% { opacity: .65; } 89% { transform: translateX(130%); opacity: .65; } 90%,100% { transform: translateX(130%); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .final-cta::before, .final-cta .button::before { animation: none !important; } }
/* Sección de precio y selector de tema. */
.theme-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.17); border-radius: 999px; background: rgba(255,255,255,.045); color: #e8ebf1; cursor: pointer; font-size: 11px; font-weight: 700; transition: .25s ease; }
.theme-toggle span { display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; color: #061014; background: linear-gradient(135deg, var(--cyan), #a56cff); font-size: 15px; line-height: 1; }
.theme-toggle i { font-style: normal; }
.language-switcher { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(255,255,255,.05); }
.language-switcher button { appearance: none; border: 0; border-radius: 999px; padding: 6px 9px; background: transparent; color: #a8acb7; font: 700 11px/1 inherit; letter-spacing: .07em; cursor: pointer; transition: .2s ease; }
.language-switcher button:hover, .language-switcher button:focus-visible { color: var(--cyan); outline: none; }
.language-switcher button.active { color: #071012; background: var(--cyan); box-shadow: 0 2px 10px rgba(0,229,230,.28); }
.theme-toggle:hover { transform: translateY(-2px); border-color: var(--cyan); box-shadow: 0 9px 22px rgba(0,229,230,.15); }
.pricing { position: relative; overflow: hidden; padding: 130px 0; border-top: 1px solid #202129; border-bottom: 1px solid #202129; background: radial-gradient(circle at 14% 88%, rgba(0,229,230,.12), transparent 30%), radial-gradient(circle at 90% 15%, rgba(145,68,255,.16), transparent 35%), #0d0f14; }
.pricing::before { content: ''; position: absolute; inset: 0; opacity: .035; pointer-events: none; background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px); background-size: 50px 50px; }
.pricing-grid { position: relative; display: grid; grid-template-columns: minmax(0,1fr) minmax(330px,.76fr); align-items: center; gap: clamp(45px,10vw,150px); }
.pricing-copy h2 { margin: 19px 0; font-size: clamp(42px,5vw,59px); line-height: 1.03; letter-spacing: -3.7px; }
.pricing-copy > p:not(.eyebrow) { max-width: 450px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.pricing-copy ul { display: grid; gap: 13px; margin: 32px 0 0; padding: 0; list-style: none; color: #d7d9df; font-size: 13px; }
.pricing-copy li { display: flex; align-items: center; gap: 11px; }
.pricing-copy li span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: rgba(0,229,230,.12); color: var(--cyan); font-size: 12px; }
.price-card { position: relative; padding: 31px; overflow: hidden; border: 1px solid rgba(108,136,186,.4); border-radius: 20px; background: linear-gradient(145deg, rgba(31,37,50,.97), rgba(14,16,23,.98)); box-shadow: 0 26px 60px rgba(0,0,0,.3), inset 0 1px rgba(255,255,255,.09); }
.price-card::after { content: ''; position: absolute; width: 230px; height: 230px; top: -130px; right: -110px; border-radius: 50%; background: var(--purple); filter: blur(60px); opacity: .24; pointer-events: none; }
.price-top { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.price-label { color: var(--cyan); font: 700 10px Inter, sans-serif; letter-spacing: 1.35px; }
.price-badge { padding: 7px 9px; border-radius: 999px; background: rgba(0,229,230,.11); color: #bdfdfd; font-size: 9px; font-weight: 800; letter-spacing: .6px; }
.price-card h3 { position: relative; z-index: 1; margin: 27px 0 7px; font-size: 28px; letter-spacing: -1.5px; }
.price-description { position: relative; z-index: 1; margin: 0; color: #a8acb7; font-size: 12px; line-height: 1.6; }
.price-main { position: relative; z-index: 1; display: flex; align-items: flex-end; gap: 7px; margin: 30px 0 8px; }
.price-main > span { padding-bottom: 9px; color: #aeb3bd; font-size: 10px; font-weight: 700; letter-spacing: .8px; }
.price-main strong { font-size: clamp(43px,5vw,57px); line-height: .9; letter-spacing: -3.7px; }
.price-main small { padding-bottom: 7px; color: #9499a5; font-size: 12px; }
.price-usd { position: relative; z-index: 1; color: #9ca2af; font-size: 12px; }
.price-usd b { color: #d7fbfb; }
.price-button { position: relative; z-index: 1; width: 100%; justify-content: space-between; margin-top: 27px; }
.price-note { position: relative; z-index: 1; margin: 15px 0 0; color: #777d89; font-size: 9px; line-height: 1.5; text-align: center; }
/* Modo claro: conserva la jerarquía y contraste de todos los componentes. */
body.light-theme { --bg: #f4f7fb; --panel: #fff; --white: #142033; --muted: #58657a; background: #f4f7fb; color: #142033; }
body.light-theme .noise { opacity: .015; }
body.light-theme .desktop-nav a, body.light-theme .footer a, body.light-theme .text-link { color: #4c586a; }
body.light-theme .nav-cta, body.light-theme .theme-toggle { border-color: #cbd4e1; background: rgba(255,255,255,.78); color: #172033; }
body.light-theme .language-switcher { border-color: #cbd4e1; background: rgba(255,255,255,.78); }
body.light-theme .language-switcher button { color: #58657a; }
body.light-theme .language-switcher button.active { color: #fff; background: #116775; }
body.light-theme .feature, body.light-theme .result-quote, body.light-theme .stats article, body.light-theme .module-list article, body.light-theme .price-card { border-color: #d9e1eb; background: #fff; box-shadow: 0 12px 28px rgba(32,54,81,.07); }
body.light-theme .feature p, body.light-theme .section-intro>p:last-child, body.light-theme .modules-head>p, body.light-theme .module-list p, body.light-theme .person p { color: #647085; }
body.light-theme .ticker { border-color: #dce3ec; background: #fff; } body.light-theme .ticker .ticker-track span { color: #526075; }
body.light-theme .pricing { border-color: #dce4ed; background: radial-gradient(circle at 14% 88%, rgba(0,189,194,.14), transparent 30%), radial-gradient(circle at 90% 15%, rgba(145,68,255,.13), transparent 35%), #edf3f8; }
body.light-theme .pricing-copy ul { color: #334156; } body.light-theme .price-description, body.light-theme .price-usd { color: #58657a; } body.light-theme .price-usd b { color: #116775; } body.light-theme .price-note { color: #758096; }
body.light-theme .price-badge { color: #087d80; background: rgba(0,161,165,.11); }
body.light-theme .footer { border-color: transparent; }
@media (max-width: 900px) { .language-switcher { margin-left: auto; } .theme-toggle { margin-left: 0; } .pricing { padding: 95px 0; } .pricing-grid { grid-template-columns: 1fr; gap: 45px; } .price-card { width: min(100%, 480px); } }
@media (max-width: 700px) { .theme-toggle i { display: none; } .theme-toggle { min-width: 40px; padding: 8px; justify-content: center; } .pricing { padding: 78px 0; } .pricing-copy h2 { letter-spacing: -2.6px; } .price-card { padding: 26px 22px; } }
/* Animación suave y moderna para la sección de precio. */
.pricing::after { content: ''; position: absolute; width: 420px; height: 420px; right: -175px; bottom: -235px; border-radius: 50%; background: radial-gradient(circle, rgba(0,229,230,.2), transparent 67%); filter: blur(16px); pointer-events: none; animation: priceAura 11s ease-in-out infinite; }
.price-card { animation: priceCardFloat 7s ease-in-out infinite; }
.price-card:hover { animation-play-state: paused; }
.price-badge { animation: priceBadgeGlow 4.5s ease-in-out infinite; }
@keyframes priceAura { 0%,100% { opacity: .34; transform: translate3d(0,0,0) scale(1); } 50% { opacity: .7; transform: translate3d(-22px,-16px,0) scale(1.07); } }
@keyframes priceCardFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes priceBadgeGlow { 0%,100% { box-shadow: 0 0 0 rgba(0,229,230,0); } 50% { box-shadow: 0 0 17px rgba(0,229,230,.22); } }
/* Entrada progresiva del precio y perímetro visual de protección. */
.pricing-copy, .price-card { opacity: 0; translate: 0 28px; }
.pricing.security-entered .pricing-copy { animation: priceRise .72s cubic-bezier(.22,.8,.26,1) both; }
.pricing.security-entered .price-card { animation: priceCardFloat 7s .64s ease-in-out infinite, priceRise .72s .16s cubic-bezier(.22,.8,.26,1) both; }
.pricing.security-entered .price-card:hover { animation-play-state: paused, running; }
.price-card::before { content: ''; position: absolute; inset: 0; border: 1px solid rgba(0,229,230,.24); border-radius: inherit; box-shadow: inset 0 0 28px rgba(0,229,230,.035); pointer-events: none; }
.price-card .price-top::before { content: ''; display: inline-block; width: 5px; height: 5px; margin: 0 7px 1px 0; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 3px rgba(0,229,230,.08), 0 0 10px rgba(0,229,230,.6); }
@keyframes priceRise { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: reduce) { .pricing::after, .price-card, .price-badge { animation: none !important; } }
@media (prefers-reduced-motion: reduce) { .pricing-copy, .price-card { opacity: 1; translate: none; } }
/* Acabado completo del modo claro: superficie, logos, imágenes y ventanas. */
body.light-theme .brand-image { border-radius: 10px; background: #101722; box-shadow: 0 6px 16px rgba(24,41,65,.13); }
body.light-theme .brand-image img, body.light-theme .email-nav img, body.light-theme .mobile-email img { mix-blend-mode: normal; filter: none; }
body.light-theme .app-download { border-color: #d5deea; background: linear-gradient(125deg, #fff, #f0f7fa 58%, #f5f0ff); }
body.light-theme .app-download::after { opacity: .055; }
body.light-theme .store-button { border-color: #cbd6e3; background: #fff; color: #172033; }
body.light-theme .store-button small, body.light-theme .app-screen>small, body.light-theme .app-bar i { color: #68758a; }
body.light-theme .final-cta { border-color: #d3deea; background: linear-gradient(120deg, #fff, #eef8fa 55%, #f5efff); box-shadow: 0 18px 45px rgba(28,48,75,.09); }
body.light-theme .final-cta > p:not(.eyebrow), body.light-theme .final-cta .eyebrow { color: #58657a; }
body.light-theme .module-card, body.light-theme .demo-card { border-color: #cbd7e4; background: linear-gradient(145deg, #fff, #f3f7fb 64%); box-shadow: 0 30px 80px rgba(24,44,70,.24); }
body.light-theme .module-card h2, body.light-theme .demo-heading h2, body.light-theme .step-copy h3, body.light-theme .module-points b { color: #142033; }
body.light-theme .module-summary, body.light-theme .module-points span, body.light-theme .module-note p { color: #59677b; }
body.light-theme .module-points article, body.light-theme .field input, body.light-theme .field select, body.light-theme .field textarea, body.light-theme .upload-field, body.light-theme .checks label, body.light-theme .radios label { border-color: #d3dce7; background: #fff; color: #172033; }
body.light-theme .module-note { border-color: rgba(0,159,168,.28); background: rgba(0,189,194,.07); }
body.light-theme .demo-heading, body.light-theme .demo-progress { border-color: #d9e1eb; }
body.light-theme .demo-close, body.light-theme .module-close { border-color: #c9d4e0; background: #fff; color: #172033; }
body.light-theme .inventory-icon, body.light-theme .service-visual { box-shadow: 0 12px 24px rgba(30,56,85,.13) !important; }
/* Separación visual entre precio y llamada a la acción. */
.final-cta { margin-top: 34px; }
/* Selector de tema con iconos SVG nítidos. */
.theme-toggle { padding: 7px 13px 7px 7px; border-color: rgba(132,153,180,.38); box-shadow: 0 5px 15px rgba(13,29,48,.08); }
.theme-toggle span { width: 26px; height: 26px; background: linear-gradient(135deg, #2ee2e1, #468dff 52%, #b666ff); box-shadow: 0 3px 9px rgba(53,123,240,.27); }
.theme-toggle span svg { width: 15px; height: 15px; fill: none; stroke: #081722; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
body.light-theme .theme-toggle { border-color: #c4d1df; background: #fff; box-shadow: 0 7px 18px rgba(30,55,85,.11); }
/* Contraste completo de testimonios para el modo claro. */
body.light-theme .testimonial-carousel { border-color: #d4dfeb; background: radial-gradient(circle at 92% 5%, rgba(130,92,255,.13), transparent 33%), radial-gradient(circle at 2% 100%, rgba(0,199,207,.1), transparent 30%), #fff; box-shadow: 0 16px 35px rgba(27,53,80,.09); }
body.light-theme .testimonial-carousel::before { color: rgba(109,76,214,.1); }
body.light-theme .testimonial-carousel .eyebrow { color: #68758a; }
body.light-theme .testimonial blockquote { color: #1a2739; text-shadow: none; }
body.light-theme .testimonial .person p { color: #6b778a; }
body.light-theme .testimonial .person strong { color: #233146; }
body.light-theme .testimonial-controls { border-top-color: #dfe6ee; }
body.light-theme .testimonial-controls::before { color: #7b8799; }
body.light-theme .testimonial-arrow { border-color: #ccd7e4; background: #fff; color: #25334a; box-shadow: 0 3px 10px rgba(29,53,82,.06); }
body.light-theme .testimonial-dots button { background: #aeb9c7; }
/* Carrusel de testimonios: una lectura cálida, clara y controlada por la persona. */
.testimonial-carousel { min-height: 320px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.testimonial-viewport { position: relative; min-height: 172px; }
.testimonial { display: none; animation: testimonialIn .42s cubic-bezier(.2,.8,.2,1); }
.testimonial.active { display: block; }
.testimonial blockquote { max-width: 530px; font-size: clamp(22px, 2.1vw, 29px); font-weight: 500; line-height: 1.32; letter-spacing: -1.45px; margin: 27px 0 28px; }
.testimonial .person { margin: 0; }
.testimonial .person > b { width: 34px; height: 34px; background: linear-gradient(135deg, #1ba9bb, #9258df); box-shadow: 0 7px 16px rgba(0, 0, 0, .25); }
.testimonial-controls { display: flex; align-items: center; gap: 12px; padding-top: 21px; border-top: 1px solid rgba(255,255,255,.08); }
.testimonial-arrow { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; background: rgba(255,255,255,.04); color: #f7f8fb; cursor: pointer; font: 500 17px Manrope, sans-serif; transition: .22s ease; }
.testimonial-arrow:hover, .testimonial-arrow:focus-visible { border-color: var(--cyan); background: rgba(0,229,230,.1); color: var(--cyan); transform: translateY(-2px); outline: none; }
.testimonial-dots { display: flex; gap: 7px; }
.testimonial-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; background: #555a66; cursor: pointer; transition: width .25s ease, background .25s ease; }
.testimonial-dots button.active { width: 23px; background: linear-gradient(90deg, var(--cyan), var(--purple)); }
.testimonial-dots button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
@keyframes testimonialIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 700px) { .testimonial-carousel { min-height: 304px; } .testimonial-viewport { min-height: 166px; } .testimonial blockquote { font-size: clamp(20px, 6vw, 25px); margin: 24px 0; } }
@media (prefers-reduced-motion: reduce) { .testimonial { animation: none; } }
/* Refinamiento visual del carrusel de comentarios. */
.testimonial-carousel { position: relative; isolation: isolate; padding: 31px 34px 26px; border: 1px solid rgba(135, 83, 255, .72); background: radial-gradient(circle at 88% 0%, rgba(106, 71, 231, .18), transparent 35%), radial-gradient(circle at 0% 105%, rgba(0, 229, 230, .1), transparent 33%), linear-gradient(135deg, #171923 0%, #101116 58%, #11101a 100%); box-shadow: 0 24px 55px rgba(0, 0, 0, .28), inset 0 1px rgba(255,255,255,.06); }
.testimonial-carousel::before { content: '“'; position: absolute; z-index: -1; top: 34px; right: 28px; color: rgba(141, 95, 255, .12); font: 900 156px/.68 Georgia, serif; pointer-events: none; }
.testimonial-carousel::after { content: ''; position: absolute; z-index: -1; right: -75px; bottom: -100px; width: 250px; height: 250px; border-radius: 50%; background: #703bda; opacity: .16; filter: blur(65px); pointer-events: none; }
.testimonial-carousel .eyebrow { color: #d5d8e0; font-size: 10px; letter-spacing: 1.8px; }
.testimonial-carousel .eyebrow span { width: 32px; box-shadow: 0 0 10px rgba(0,229,230,.55); }
.testimonial-viewport { min-height: 180px; padding-right: 8px; }
.testimonial blockquote { position: relative; max-width: 520px; color: #fafaff; text-wrap: balance; text-shadow: 0 2px 18px rgba(0,0,0,.24); }
.testimonial .person { align-items: center; }
.testimonial .person > b { position: relative; width: 39px; height: 39px; border: 1px solid rgba(255,255,255,.3); font-size: 9px; background: linear-gradient(135deg, #24d5dd, #6552db 56%, #bb71ff); box-shadow: 0 8px 20px rgba(39, 107, 197, .32); }
.testimonial .person > b::after { content: '✓'; position: absolute; right: -3px; bottom: -2px; display: grid; place-items: center; width: 13px; height: 13px; border: 2px solid #151720; border-radius: 50%; background: #2ad58b; color: #061514; font: 800 8px Arial, sans-serif; }
.testimonial .person p { color: #9da2b0; font-size: 10px; }
.testimonial .person strong { color: #fff; font-size: 11px; }
.testimonial-controls { justify-content: space-between; gap: 9px; padding-top: 16px; border-top-color: rgba(255,255,255,.11); }
.testimonial-controls::before { content: 'OPINIONES VERIFICADAS'; margin-right: auto; color: #7e8595; font: 500 8px 'DM Mono', monospace; letter-spacing: 1.15px; }
.testimonial-arrow { width: 38px; height: 38px; border-color: rgba(191, 197, 212, .28); background: rgba(255,255,255,.055); box-shadow: inset 0 1px rgba(255,255,255,.08); }
.testimonial-dots { order: 3; gap: 6px; margin-left: 4px; }
.testimonial-dots button { width: 6px; height: 6px; background: #606779; }
.testimonial-dots button.active { width: 27px; box-shadow: 0 0 13px rgba(0,229,230,.45); }
@media (max-width: 700px) { .testimonial-carousel { padding: 27px 24px 22px; } .testimonial-carousel::before { top: 38px; right: 15px; font-size: 115px; } .testimonial-viewport { min-height: 178px; } .testimonial-controls::before { display: none; } .testimonial-controls { justify-content: flex-start; } .testimonial-dots { margin-left: auto; } }
.footer-links { flex-wrap: wrap; }
