/* ==========================================================================
   Diseño sobrio ("pro") — se activa con <body class="theme-dw theme-pro">
   Principios: un azul marino sólido, un solo acento, iconos de línea (Lucide),
   sin degradados ni brillos, tarjetas planas con líneas finas y más aire.
   Para volver al diseño anterior en una página basta con no activar $useProTheme.
   ========================================================================== */

.theme-dw.theme-pro {
  /* Paleta: neutros fríos + azul marino de marca + un acento */
  --dw-navy-900: #0a1433;
  --dw-navy-700: #13245e;
  --dw-blue-800: #13245e;
  --dw-indigo: #13245e;        /* los degradados acento→índigo pasan a ser sólidos */
  --dw-accent-dark: #13245e;
  --dw-accent: #4f7cff;        /* único acento: enlaces y detalles puntuales */
  --dw-violet: #c9cfdf;
  --dw-lavender: #f6f7f9;
  --dw-lavender-2: #eef0f4;
  --dw-border: #e3e6ec;
  --color-text-main: #0f1a33;
  --color-text-muted: #5a6478;
  --pro-ink: #0f1a33;
  --pro-muted: #5a6478;
  --pro-line: #e3e6ec;
  --pro-soft: #f6f7f9;
}

.theme-dw.theme-pro p { line-height: 1.7; }

/* ---------- Tipografía: títulos en peso medio, sin contraste ligera/negrita ---------- */
.theme-dw.theme-pro h1,
.theme-dw.theme-pro h2 {
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--pro-ink);
}

.theme-dw.theme-pro h1 strong,
.theme-dw.theme-pro h2 strong {
  font-weight: 600;
  color: inherit;
}

.theme-dw.theme-pro h3,
.theme-dw.theme-pro h4 { color: var(--pro-ink); letter-spacing: 0; }

.theme-dw.theme-pro .eyebrow {
  color: var(--pro-muted);
  font-weight: 600;
  letter-spacing: 0.12em;
}

/* ---------- Iconos Lucide ---------- */
.theme-dw.theme-pro [class^="icon-"],
.theme-dw.theme-pro [class*=" icon-"] {
  line-height: 1;
  display: inline-block;
  vertical-align: -0.125em;
}

/* ---------- Botones: sólidos, sin sombras de color ---------- */
.theme-dw.theme-pro .btn {
  border-radius: 8px;
  font-weight: 600;
  box-shadow: none;
}

.theme-dw.theme-pro .btn-primary,
.theme-dw.theme-pro .nav-links li a.btn {
  background: var(--dw-navy-700);
  border: 0;
  color: #fff;
  box-shadow: none;
}

.theme-dw.theme-pro .btn-primary:hover,
.theme-dw.theme-pro .nav-links li a.btn:hover {
  background: var(--dw-navy-900);
  transform: none;
  box-shadow: none;
}

.theme-dw.theme-pro .btn-secondary {
  background: #fff;
  border: 1px solid var(--pro-line);
  color: var(--pro-ink);
}

.theme-dw.theme-pro .btn-secondary:hover {
  background: var(--pro-soft);
  border-color: #c9cfdf;
  color: var(--pro-ink);
  transform: none;
}

/* Sobre fondos oscuros: principal blanco, secundario con borde claro */
.theme-dw.theme-pro .hero .btn-primary,
.theme-dw.theme-pro .navbar .nav-links li a.btn,
.theme-dw.theme-pro .cta-section .cta-text .btn-primary {
  background: #fff;
  color: var(--dw-navy-900);
}

.theme-dw.theme-pro .hero .btn-primary:hover,
.theme-dw.theme-pro .navbar .nav-links li a.btn:hover { background: #e8ecf6; }

.theme-dw.theme-pro .hero .btn-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.theme-dw.theme-pro .hero .btn-secondary:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }

/* ---------- Navbar ---------- */
.theme-dw.theme-pro .navbar.scrolled {
  background: rgba(10, 20, 51, 0.97);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.theme-dw.theme-pro .nav-links li a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, 0.08); }

.theme-dw.theme-pro .mega-icon {
  background: var(--pro-soft) !important;
  color: var(--dw-navy-700) !important;
  border: 1px solid var(--pro-line);
  box-shadow: none;
  font-size: 1.15rem;
}

.theme-dw.theme-pro .mega-menu-item:hover .mega-icon { transform: none; }

/* ---------- Hero: sobrio, sin efectos decorativos ---------- */
.theme-dw.theme-pro .hero {
  background: var(--dw-navy-900);
}

.theme-dw.theme-pro .hero::before,
.theme-dw.theme-pro .hero::after,
.theme-dw.theme-pro .hero-visual::before,
.theme-dw.theme-pro .hero-chips,
.theme-dw.theme-pro .hero-canvas,
.theme-dw.theme-pro .hero-visual .badge-3,
.theme-dw.theme-pro .hero-visual .badge-4,
.theme-dw.theme-pro .hero-person:has(.hero-person-placeholder) {
  display: none;
}

.theme-dw.theme-pro .hero h1,
.theme-dw.theme-pro .hero h1 strong { color: #fff; text-shadow: none; font-weight: 600; }

.theme-dw.theme-pro .hero-content p { color: rgba(255, 255, 255, 0.78); text-shadow: none; }

.theme-dw.theme-pro .hero-tag {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.theme-dw.theme-pro .hero-tag i { color: var(--dw-accent); }

.theme-dw.theme-pro .hero-video {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
  backdrop-filter: none;
}

.theme-dw.theme-pro .video-play {
  width: 76px;
  height: 76px;
  font-size: 1.6rem;
  color: var(--dw-navy-900);
  background: #fff;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.theme-dw.theme-pro .video-play::after { display: none; }
.theme-dw.theme-pro .video-play i { margin-left: 4px; }

.theme-dw.theme-pro .float-badge {
  border: 1px solid var(--pro-line);
  border-radius: 10px;
  box-shadow: 0 12px 30px -16px rgba(0, 0, 0, 0.5);
  animation: none;
}

.theme-dw.theme-pro .hero-visual .badge-1 { left: 4%; bottom: 12%; }
.theme-dw.theme-pro .hero-visual .badge-2 { right: 4%; top: 16%; }

/* ---------- Iconos: sin baldosas degradadas; línea azul marino sobre fondo neutro ---------- */
.theme-dw.theme-pro .badge-icon,
.theme-dw.theme-pro .video-feature-icon,
.theme-dw.theme-pro .module-icon,
.theme-dw.theme-pro .feature-list-icon,
.theme-dw.theme-pro .detail-card-icon,
.theme-dw.theme-pro .ddq-band-icon,
.theme-dw.theme-pro .connector-icon,
.theme-dw.theme-pro .ai-core-icon,
.theme-dw.theme-pro .plan-icon,
.theme-dw.theme-pro .authority-icon,
.theme-dw.theme-pro .usecase > i {
  background: var(--pro-soft);
  color: var(--dw-navy-700);
  border: 1px solid var(--pro-line);
  box-shadow: none;
  border-radius: 10px;
}

.theme-dw.theme-pro .video-feature-icon::after,
.theme-dw.theme-pro .module-icon::after,
.theme-dw.theme-pro .feature-list-icon::after,
.theme-dw.theme-pro .detail-card-icon::after,
.theme-dw.theme-pro .connector-icon::after,
.theme-dw.theme-pro .ai-core-icon::after {
  display: none;
}

.theme-dw.theme-pro .badge-icon-ok { color: #1d7a4f; }
.theme-dw.theme-pro .badge-icon-alert { color: #a36b00; }

/* ---------- Tarjetas: planas, sin elevación ni barras de color ---------- */
.theme-dw.theme-pro .video-feature,
.theme-dw.theme-pro .detailed-module-row,
.theme-dw.theme-pro .module-panel,
.theme-dw.theme-pro .faq-item,
.theme-dw.theme-pro .testimonial-card {
  border: 1px solid var(--pro-line);
  box-shadow: none;
  border-radius: 12px;
}

.theme-dw.theme-pro .video-feature:hover,
.theme-dw.theme-pro .detailed-module-row:hover,
.theme-dw.theme-pro .feature-list li:hover {
  transform: none;
  box-shadow: none;
  border-color: #c9cfdf;
}

.theme-dw.theme-pro .detailed-module-row:hover .module-icon { background: var(--pro-soft); color: var(--dw-navy-700); transform: none; box-shadow: none; }
.theme-dw.theme-pro .detailed-module-row:hover .module-visual img { transform: none; }
.theme-dw.theme-pro .detailed-module-row:hover .module-main h3 { color: var(--pro-ink); }

/* ---------- Banda de Due Diligence ---------- */
.theme-dw.theme-pro .ddq-band {
  background: #fff;
  border-bottom: 1px solid var(--pro-line);
}

.theme-dw.theme-pro .ddq-band-text h2,
.theme-dw.theme-pro .ddq-band-text h2 strong { font-weight: 600; }

/* ---------- Secciones: fondos neutros, sin lavanda ni ilustraciones de fondo ---------- */
.theme-dw.theme-pro .video-section { background: #fff; }
.theme-dw.theme-pro .video-container { border: 1px solid var(--pro-line); box-shadow: 0 30px 60px -40px rgba(10, 20, 51, 0.45); }
.theme-dw.theme-pro .video-grid::before { display: none; }
.theme-dw.theme-pro .solutions { background: var(--pro-soft); }
.theme-dw.theme-pro .features { background: #fff; }
.theme-dw.theme-pro .faq { background: var(--pro-soft); }
.theme-dw.theme-pro .clients { border-bottom: 1px solid var(--pro-line); }
.theme-dw.theme-pro .clients-title { color: var(--pro-muted); }
.theme-dw.theme-pro .clients-title strong { color: var(--pro-ink); font-weight: 600; }

/* Cifras */
.theme-dw.theme-pro .stats-band { background: var(--dw-navy-900); }
.theme-dw.theme-pro .stats-band::before { display: none; }
.theme-dw.theme-pro .stat strong {
  background: none;
  -webkit-text-fill-color: #fff;
  color: #fff;
  font-weight: 600;
}

/* Pestañas de módulos */
.theme-dw.theme-pro .module-tab {
  border-radius: 8px;
  border-color: var(--pro-line);
  color: var(--pro-ink);
  font-weight: 500;
}

.theme-dw.theme-pro .module-tab i { color: var(--pro-muted); }
.theme-dw.theme-pro .module-tab:hover { transform: none; box-shadow: none; border-color: #c9cfdf; }

.theme-dw.theme-pro .module-tab.active {
  background: var(--dw-navy-700);
  border-color: var(--dw-navy-700);
  color: #fff;
  box-shadow: none;
}

.theme-dw.theme-pro .module-tab.active i { color: #fff; }

.theme-dw.theme-pro .data-sources span {
  background: #fff;
  border-color: var(--pro-line);
  color: var(--pro-muted);
}

.theme-dw.theme-pro .subfeature h4::before { background: var(--dw-navy-700); }
.theme-dw.theme-pro .module-link { color: var(--dw-navy-700); }

/* Beneficios: lista simple con iconos de línea */
.theme-dw.theme-pro .feature-list li { border: 1px solid transparent; }
.theme-dw.theme-pro .feature-list strong { color: var(--pro-ink); font-weight: 600; }
.theme-dw.theme-pro .feature-mockup { display: none; }

/* Panel de evidencias (reemplaza el diagrama de órbita en el diseño sobrio) */
.theme-dw .evidence-panel { display: none; }

.theme-dw.theme-pro .evidence-panel {
  display: block;
  background: #fff;
  border: 1px solid var(--pro-line);
  border-radius: 14px;
  box-shadow: 0 30px 60px -40px rgba(10, 20, 51, 0.45);
  overflow: hidden;
}

.theme-dw.theme-pro .evidence-head,
.theme-dw.theme-pro .evidence-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: var(--pro-soft);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pro-ink);
}

.theme-dw.theme-pro .evidence-head { border-bottom: 1px solid var(--pro-line); }
.theme-dw.theme-pro .evidence-foot { border-top: 1px solid var(--pro-line); color: var(--pro-muted); font-weight: 500; }
.theme-dw.theme-pro .evidence-foot strong { color: var(--pro-ink); }

.theme-dw.theme-pro .evidence-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--pro-muted);
  border: 1px solid var(--pro-line);
  border-radius: 6px;
  padding: 0.15rem 0.5rem;
  background: #fff;
}

.theme-dw.theme-pro .evidence-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--pro-line);
}

.theme-dw.theme-pro .evidence-row:last-of-type { border-bottom: 0; }
.theme-dw.theme-pro .evidence-row strong { display: block; color: var(--pro-ink); font-weight: 600; font-size: 0.98rem; }
.theme-dw.theme-pro .evidence-row span { font-size: 0.85rem; color: var(--pro-muted); }

.theme-dw.theme-pro .evidence-state {
  flex-shrink: 0;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-size: 0.8rem !important;
  font-weight: 600;
}

.theme-dw.theme-pro .evidence-state.is-ok { background: #e7f4ec; color: #1d7a4f !important; }
.theme-dw.theme-pro .evidence-state.is-warn { background: #fdf3dc; color: #8a5a00 !important; }
.theme-dw.theme-pro .evidence-state.is-todo { background: var(--pro-soft); color: var(--pro-muted) !important; border: 1px solid var(--pro-line); }

/* ---------- Preguntas frecuentes ---------- */
.theme-dw.theme-pro .faq-item { background: #fff; }
.theme-dw.theme-pro .faq-item[open] { background: #fff; border-color: #c9cfdf; box-shadow: none; }
.theme-dw.theme-pro .faq-item summary { color: var(--pro-ink); font-weight: 600; }

.theme-dw.theme-pro .faq-item summary::after {
  background: transparent;
  color: var(--pro-muted);
  border: 1px solid var(--pro-line);
}

.theme-dw.theme-pro .faq-item[open] summary::after { background: transparent; color: var(--pro-ink); }
.theme-dw.theme-pro .faq-item p a { color: var(--dw-navy-700); font-weight: 600; }

/* ---------- Cierre con formulario: azul marino sólido ---------- */
.theme-dw.theme-pro .cta-section { background: var(--dw-navy-900); }
.theme-dw.theme-pro .cta-section::before,
.theme-dw.theme-pro .cta-section::after { display: none; }
.theme-dw.theme-pro .cta-text h2,
.theme-dw.theme-pro .cta-text h2 strong { color: #fff; font-weight: 600; }
.theme-dw.theme-pro .cta-text p { color: rgba(255, 255, 255, 0.78); }
.theme-dw.theme-pro .cta-benefits i { color: var(--dw-accent); }

.theme-dw.theme-pro .cta-form-box {
  border-radius: 14px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}

.theme-dw.theme-pro .cta-form-box h3 { color: var(--pro-ink); font-weight: 600; }
.theme-dw.theme-pro .form-group label { color: var(--pro-ink); font-weight: 500; }

.theme-dw.theme-pro .form-group input:focus,
.theme-dw.theme-pro .form-group select:focus {
  border-color: var(--dw-navy-700);
  box-shadow: 0 0 0 3px rgba(19, 36, 94, 0.12);
}

.theme-dw.theme-pro .form-disclaimer a { color: var(--dw-navy-700); }

/* ---------- Footer ---------- */
.theme-dw.theme-pro .footer { background: var(--dw-navy-900); }
.theme-dw.theme-pro .footer-col ul li a:hover { color: #fff; padding-left: 0; }

/* ---------- Móvil ---------- */
@media (max-width: 768px) {
  .theme-dw.theme-pro .navbar .nav-links li a.btn { background: #fff; color: var(--dw-navy-900); }
}

/* Títulos sobre fondos oscuros */
.theme-dw.theme-pro .footer h4,
.theme-dw.theme-pro .footer-col h4 { color: #fff; }
.theme-dw.theme-pro .ddq-authority h2,
.theme-dw.theme-pro .infra-text h2,
.theme-dw.theme-pro .module-highlight h4 { color: #fff; }

/* ==========================================================================
   Hero animado (diseño sobrio): malla de puntos en onda + halos de luz que se desplazan
   ========================================================================== */
.theme-dw.theme-pro .hero {
  background:
    radial-gradient(120% 80% at 50% 0%, #13245e 0%, rgba(19, 36, 94, 0) 60%),
    #0a1433;
  isolation: isolate;
}

/* Malla de puntos: visible en los bordes, atenuada detrás del texto */
.theme-dw.theme-pro .hero-canvas {
  display: block;
  opacity: 1;
  -webkit-mask-image: radial-gradient(ellipse 38% 30% at 50% 26%, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.35) 55%, #000 100%);
  mask-image: radial-gradient(ellipse 38% 30% at 50% 26%, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.35) 55%, #000 100%);
}

/* Halos de luz (azul de marca y acento) que se mueven lento */
.theme-dw.theme-pro .hero::before,
.theme-dw.theme-pro .hero::after {
  display: block;
  content: '';
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  will-change: transform;
}

.theme-dw.theme-pro .hero::before {
  width: 620px;
  height: 620px;
  top: -180px;
  left: -120px;
  transform: none;
  background: radial-gradient(circle, rgba(79, 124, 255, 0.35) 0%, rgba(79, 124, 255, 0) 70%);
  animation: proGlowA 22s ease-in-out infinite alternate;
}

.theme-dw.theme-pro .hero::after {
  width: 560px;
  height: 560px;
  right: -140px;
  bottom: -120px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.22) 0%, rgba(56, 189, 248, 0) 70%);
  animation: proGlowB 26s ease-in-out infinite alternate;
  opacity: 1;
}

@keyframes proGlowA {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(38vw, 12vh) scale(1.15); }
  100% { transform: translate(12vw, 28vh) scale(0.95); }
}

@keyframes proGlowB {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-34vw, -18vh) scale(1.1); }
  100% { transform: translate(-10vw, -6vh) scale(1); }
}

/* Línea de luz sutil en el borde inferior del hero */
.theme-dw.theme-pro .hero .container { z-index: 2; }

.theme-dw.theme-pro .hero-video {
  box-shadow: 0 -30px 80px -30px rgba(79, 124, 255, 0.45);
}

@media (prefers-reduced-motion: reduce) {
  .theme-dw.theme-pro .hero::before,
  .theme-dw.theme-pro .hero::after { animation: none; }
}

/* ==========================================================================
   Hero: tarjetas flotantes de vidrio oscuro con mini datos
   ========================================================================== */
.theme-dw.theme-pro .hero-visual .float-badge {
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.95rem 1.1rem 1rem;
  min-width: 230px;
  background: rgba(14, 27, 70, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: proFloat 7s ease-in-out infinite;
}

.theme-dw.theme-pro .hero-visual .badge-2 { animation-duration: 8s; animation-delay: -2s; }
.theme-dw.theme-pro .hero-visual .badge-3 { animation-duration: 9s; animation-delay: -4s; }

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

.theme-dw.theme-pro .hero-visual .badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-size: 1.05rem;
  background: rgba(79, 124, 255, 0.16);
  border: 1px solid rgba(79, 124, 255, 0.35);
  color: #a9c0ff;
}

.theme-dw.theme-pro .hero-visual .badge-icon-ok {
  background: rgba(34, 197, 94, 0.14);
  border-color: rgba(34, 197, 94, 0.35);
  color: #6ee7a0;
}

.theme-dw.theme-pro .hero .badge-text h4 { color: #fff; font-size: 0.95rem; font-weight: 600; }
.theme-dw.theme-pro .hero .badge-text p { color: rgba(255, 255, 255, 0.62); font-size: 0.8rem; }
.theme-dw.theme-pro .hero .badge-spark { color: #6ee7a0; }
.theme-dw.theme-pro .hero .badge-live { color: #a9c0ff; }
.theme-dw.theme-pro .hero .badge-progress { background: rgba(255, 255, 255, 0.12); }
.theme-dw.theme-pro .hero .badge-progress-label { color: rgba(255, 255, 255, 0.55); }

/* Tres tarjetas en el diseño sobrio: izquierda arriba, izquierda abajo, derecha */
.theme-dw.theme-pro .hero-visual .badge-3 { display: flex; top: 10%; left: 1%; right: auto; bottom: auto; }
.theme-dw.theme-pro .hero-visual .badge-1 { left: 5%; bottom: 10%; top: auto; }
.theme-dw.theme-pro .hero-visual .badge-2 { right: 3%; top: 26%; left: auto; bottom: auto; }

@media (max-width: 1100px) {
  .theme-dw.theme-pro .hero-visual .badge-3 { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .theme-dw.theme-pro .hero-visual .float-badge { animation: none; }
}

/* ---------- Sección bajo el hero en el diseño sobrio ---------- */
.theme-dw.theme-pro .ddq-intro {
  background: linear-gradient(180deg, #eef1f8 0%, #fff 100%);
  padding-top: 4.5rem;
}

.theme-dw.theme-pro .ddq-intro-card { border-color: var(--pro-line); }
.theme-dw.theme-pro .ddq-intro-text h2,
.theme-dw.theme-pro .ddq-intro-text h2 strong { font-weight: 600; }
.theme-dw.theme-pro .ddq-intro-text h2 strong { color: var(--dw-navy-700); }
.theme-dw.theme-pro .ddq-intro-text .eyebrow i { color: var(--dw-accent); font-size: 1rem; letter-spacing: 0; }
.theme-dw.theme-pro .ddq-intro-shot { background: var(--pro-soft); border-color: var(--pro-line); }

/* Iconos Lucide usados como baldosa (elemento <i>): centrados */
.theme-dw.theme-pro .ddq-intro-points i,
.theme-dw.theme-pro .usecase > i,
.theme-dw.theme-pro .story-checks i,
.theme-dw.theme-pro .ai-feature-list li i,
.theme-dw.theme-pro .connector-feature i,
.theme-dw.theme-pro .module-highlight > i { display: flex; vertical-align: middle; }

/* Sin barras de color decorativas en tarjetas (recurso típico de plantillas) */
.theme-dw.theme-pro .connector-card::before,
.theme-dw.theme-pro .testimonial-card::before { display: none; }
.theme-dw.theme-pro .plan-card.is-featured { border: 1px solid var(--dw-navy-700); box-shadow: none; }

/* ==========================================================================
   Ritmo de secciones (inspirado en sitios B2B de referencia):
   oscuro → claro con degradado → blanco → degradado intenso → blanco → claro → oscuro
   ========================================================================== */

/* Hero: transición suave hacia la franja clara */
.theme-dw.theme-pro .hero {
  background:
    radial-gradient(70% 55% at 50% 100%, rgba(79, 124, 255, 0.28) 0%, rgba(79, 124, 255, 0) 70%),
    radial-gradient(120% 80% at 50% 0%, #13245e 0%, rgba(19, 36, 94, 0) 60%),
    #0a1433;
}

/* Arcos concéntricos detrás del video (profundidad) */
.theme-dw.theme-pro .hero-visual::before {
  display: block;
  bottom: -55%;
  width: 115%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: none;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.025), 0 0 0 140px rgba(255, 255, 255, 0.018);
}

/* 1. Franja de propuestas de valor */
.theme-dw.theme-pro .value-strip {
  background: linear-gradient(180deg, #e9eefc 0%, #f6f8fd 55%, #fff 100%);
  border-bottom: 1px solid var(--pro-line);
}

.theme-dw.theme-pro .value-icon {
  color: #2747c9;
  border-color: #dfe5f5;
  box-shadow: 0 12px 26px -18px rgba(19, 36, 94, 0.55);
}

.theme-dw.theme-pro .value-item strong { color: #2747c9; font-weight: 600; }

/* 2. Entrada al DDQ: fondo blanco (la franja anterior ya trae el degradado) */
.theme-dw.theme-pro .ddq-intro { background: #fff; padding-top: 4rem; }

/* 3. Sección GRC con degradado intenso de marca */
.theme-dw.theme-pro .grc-section {
  position: relative;
  overflow: hidden;
  padding: 7rem 0;
  background:
    radial-gradient(55% 75% at 100% 0%, rgba(150, 110, 255, 0.40) 0%, rgba(150, 110, 255, 0) 60%),
    linear-gradient(135deg, #13245e 0%, #2a2fa6 50%, #5b3fd6 100%);
}

.theme-dw.theme-pro .grc-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 55%);
  mask-image: linear-gradient(90deg, #000 0%, transparent 55%);
  pointer-events: none;
}

.theme-dw.theme-pro .grc-section .container { position: relative; z-index: 1; }

.theme-dw.theme-pro .grc-section .eyebrow { color: rgba(255, 255, 255, 0.7); }
.theme-dw.theme-pro .grc-section h2,
.theme-dw.theme-pro .grc-section h2 strong { color: #fff; }
.theme-dw.theme-pro .grc-section .video-content p { color: rgba(255, 255, 255, 0.82); }

.theme-dw.theme-pro .grc-section .video-container {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  box-shadow: 0 50px 90px -40px rgba(5, 10, 40, 0.8);
}

.theme-dw.theme-pro .grc-section .video-feature {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
}

.theme-dw.theme-pro .grc-section .video-feature:hover { border-color: rgba(255, 255, 255, 0.4); }
.theme-dw.theme-pro .grc-section .video-feature span { color: #fff; }
.theme-dw.theme-pro .grc-section .video-feature small { color: rgba(255, 255, 255, 0.72); }

.theme-dw.theme-pro .grc-section .video-feature-icon {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.theme-dw.theme-pro .grc-section .btn-primary { background: #fff; color: var(--dw-navy-900); }
.theme-dw.theme-pro .grc-section .btn-primary:hover { background: #e8ecf6; }

.theme-dw.theme-pro .collage-card { border-color: var(--pro-line); }

/* 4. Cifras como "impacto": blanco, números grandes en azul marino */
.theme-dw.theme-pro .stats-band {
  padding: 5.5rem 0 5rem;
  background: #fff;
}

.theme-dw.theme-pro .stats-title {
  display: block;
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  color: var(--pro-muted);
  font-weight: 500;
}

.theme-dw.theme-pro .stats-title strong { color: var(--pro-ink); font-weight: 600; }

.theme-dw.theme-pro .stats-grid { padding-top: 0; padding-bottom: 0; }
.theme-dw.theme-pro .stat { border-left-color: var(--pro-line); }

.theme-dw.theme-pro .stat strong {
  font-size: clamp(3rem, 5vw, 4.25rem);
  font-weight: 700;
  -webkit-text-fill-color: #13245e;
  color: #13245e;
  letter-spacing: -0.02em;
}

.theme-dw.theme-pro .stat span { color: var(--pro-muted); font-size: 1rem; }

/* 5. Módulos: degradado suave con halo */
.theme-dw.theme-pro .solutions {
  background:
    radial-gradient(50% 40% at 85% 10%, rgba(79, 124, 255, 0.12) 0%, rgba(79, 124, 255, 0) 70%),
    radial-gradient(40% 35% at 10% 90%, rgba(56, 189, 248, 0.10) 0%, rgba(56, 189, 248, 0) 70%),
    linear-gradient(180deg, #eef2fb 0%, #f7f9fd 100%);
}

/* 6. Beneficios: halo detrás del panel de evidencias */
.theme-dw.theme-pro .features {
  background:
    radial-gradient(40% 60% at 80% 50%, rgba(79, 124, 255, 0.10) 0%, rgba(79, 124, 255, 0) 70%),
    #fff;
}

/* 7. Preguntas frecuentes: solo líneas, sin cajas */
.theme-dw.theme-pro .faq { background: #f7f9fd; }
.theme-dw.theme-pro .faq-list { gap: 0; border-top: 1px solid var(--pro-line); }

.theme-dw.theme-pro .faq-item,
.theme-dw.theme-pro .faq-item[open] {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--pro-line);
  border-radius: 0;
}

.theme-dw.theme-pro .faq-item summary { padding: 1.25rem 3rem 1.25rem 0; }
.theme-dw.theme-pro .faq-item p { padding: 0 3rem 1.4rem 0; }
.theme-dw.theme-pro .faq-item summary::after { right: 0; }

/* 8. Cierre con formulario: azul marino con degradado */
.theme-dw.theme-pro .cta-section {
  background:
    radial-gradient(60% 70% at 0% 0%, rgba(79, 124, 255, 0.30) 0%, rgba(79, 124, 255, 0) 60%),
    linear-gradient(180deg, #13245e 0%, #0a1433 100%);
}

/* ---------- Hero con fotos de personas: caras visibles, tarjetas sobre el video ---------- */
.theme-dw.theme-pro .hero-person { border-radius: 16px 16px 0 0; border-color: rgba(255, 255, 255, 0.16); box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.7); }
.theme-dw.theme-pro .hero-person img { object-position: center 20%; }
.theme-dw.theme-pro .person-1 { left: 1%;  width: 15%; height: 66%; }
.theme-dw.theme-pro .person-2 { left: 10.5%; width: 15.5%; height: 84%; }
.theme-dw.theme-pro .person-3 { right: 10.5%; width: 15.5%; height: 84%; }
.theme-dw.theme-pro .person-4 { right: 1%; width: 15%; height: 66%; }
.theme-dw.theme-pro .hero-visual:has(.hero-person img) .badge-3 { display: none; }
.theme-dw.theme-pro .hero-visual:has(.hero-person img) .badge-1 { left: 23%; bottom: 7%; top: auto; right: auto; }
.theme-dw.theme-pro .hero-visual:has(.hero-person img) .badge-2 { right: 23%; bottom: 7%; top: auto; left: auto; }
@media (max-width: 1100px) {
  .theme-dw.theme-pro .hero-visual:has(.hero-person img) .badge-1 { left: 18%; }
  .theme-dw.theme-pro .hero-visual:has(.hero-person img) .badge-2 { right: 18%; }
}

/* ==========================================================================
   Botones refinados: profundidad sutil, borde interior, flecha animada y brillo al pasar
   ========================================================================== */
.theme-dw.theme-pro .btn {
  position: relative;
  overflow: hidden;
  gap: 0.55rem;
  padding: 0.8rem 1.35rem;
  border-radius: 10px;
  font-weight: 600;
  letter-spacing: 0.005em;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.2s ease;
}

/* Flecha que se desliza (solo botones principales sin ícono propio) */
.theme-dw.theme-pro .btn-primary:not(:has(i))::after {
  content: "\e04d";                 /* Lucide: arrow-right */
  font-family: 'lucide';
  font-size: 1em;
  line-height: 1;
  transition: transform 0.25s ease;
}

.theme-dw.theme-pro .btn i { transition: transform 0.25s ease; }
.theme-dw.theme-pro .btn-primary:hover::after,
.theme-dw.theme-pro .btn-primary:hover i { transform: translateX(4px); }

/* Brillo diagonal que cruza el botón al pasar el cursor */
.theme-dw.theme-pro .btn-primary::before {
  display: block;
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 45%;
  height: 100%;
  opacity: 1;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.35) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}

.theme-dw.theme-pro .btn-primary:hover::before { left: 120%; }

/* --- Principal sobre fondo claro: azul marino con leve degradado y relieve --- */
.theme-dw.theme-pro .btn-primary {
  background: linear-gradient(180deg, #24379a 0%, #13245e 100%);
  color: #fff;
  border: 1px solid #0e1c4d;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 1px 2px rgba(10, 20, 51, 0.25),
    0 8px 20px -10px rgba(19, 36, 94, 0.65);
}

.theme-dw.theme-pro .btn-primary:hover {
  background: linear-gradient(180deg, #2c43b8 0%, #182c74 100%);
  color: #fff;
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 2px 4px rgba(10, 20, 51, 0.2),
    0 14px 28px -12px rgba(19, 36, 94, 0.75);
}

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

/* --- Principal sobre fondo oscuro (hero, sección GRC, menú): blanco con relieve --- */
.theme-dw.theme-pro .hero .btn-primary,
.theme-dw.theme-pro .grc-section .btn-primary,
.theme-dw.theme-pro .navbar .nav-links li a.btn,
.theme-dw.theme-pro .cta-section .cta-text .btn-primary {
  background: linear-gradient(180deg, #ffffff 0%, #e9edfb 100%);
  color: #0f1a33;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    inset 0 -1px 0 rgba(19, 36, 94, 0.12),
    0 10px 26px -12px rgba(0, 0, 0, 0.6),
    0 0 0 4px rgba(255, 255, 255, 0.06);
}

.theme-dw.theme-pro .hero .btn-primary:hover,
.theme-dw.theme-pro .grc-section .btn-primary:hover,
.theme-dw.theme-pro .navbar .nav-links li a.btn:hover {
  background: linear-gradient(180deg, #ffffff 0%, #dfe6fb 100%);
  color: #0f1a33;
  transform: translateY(-1px);
  box-shadow:
    inset 0 -1px 0 rgba(19, 36, 94, 0.12),
    0 16px 32px -12px rgba(0, 0, 0, 0.7),
    0 0 0 5px rgba(150, 175, 255, 0.18);
}

.theme-dw.theme-pro .hero .btn-primary::before,
.theme-dw.theme-pro .grc-section .btn-primary::before,
.theme-dw.theme-pro .navbar .nav-links li a.btn::before {
  background: linear-gradient(105deg, transparent 0%, rgba(79, 124, 255, 0.18) 50%, transparent 100%);
}

/* Botón del menú: más compacto y sin flecha */
.theme-dw.theme-pro .navbar .nav-links li a.btn { padding: 0.6rem 1.1rem; }
.theme-dw.theme-pro .navbar .nav-links li a.btn::after { content: none; }

/* --- Secundario sobre fondo claro --- */
.theme-dw.theme-pro .btn-secondary {
  background: #fff;
  color: #0f1a33;
  border: 1px solid #d5dbe8;
  box-shadow: 0 1px 2px rgba(10, 20, 51, 0.06);
}

.theme-dw.theme-pro .btn-secondary:hover {
  background: #f5f7fc;
  border-color: #b9c3dd;
  color: #13245e;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px -12px rgba(19, 36, 94, 0.45);
}

/* --- Secundario sobre fondo oscuro: vidrio --- */
.theme-dw.theme-pro .hero .btn-secondary,
.theme-dw.theme-pro .grc-section .btn-secondary {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.theme-dw.theme-pro .hero .btn-secondary:hover,
.theme-dw.theme-pro .grc-section .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  transform: translateY(-1px);
}

/* Foco visible para teclado */
.theme-dw.theme-pro .btn:focus-visible {
  outline: 3px solid rgba(79, 124, 255, 0.55);
  outline-offset: 2px;
}

/* ==========================================================================
   Pestañas de módulos: control segmentado dentro de un panel
   ========================================================================== */
.theme-dw.theme-pro .module-tabs {
  gap: 0.35rem;
  max-width: 1000px;
  padding: 0.45rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #dfe4ef;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(10, 20, 51, 0.04), 0 18px 40px -28px rgba(19, 36, 94, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.theme-dw.theme-pro .module-tab {
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  padding: 0.65rem 1rem;
  color: #3b4660;
  font-weight: 500;
  box-shadow: none;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.25s ease;
}

.theme-dw.theme-pro .module-tab i { color: #7a86a3; transition: color 0.2s ease; }

.theme-dw.theme-pro .module-tab:hover {
  background: #f1f4fb;
  color: #13245e;
  border-color: transparent;
  transform: none;
  box-shadow: none;
}

.theme-dw.theme-pro .module-tab:hover i { color: #2a3fb0; }

.theme-dw.theme-pro .module-tab.active {
  background: linear-gradient(180deg, #24379a 0%, #13245e 100%);
  border-color: #0e1c4d;
  color: #fff;
  font-weight: 600;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 8px 18px -10px rgba(19, 36, 94, 0.7);
}

.theme-dw.theme-pro .module-tab.active i { color: #a9c0ff; }

@media (max-width: 900px) {
  .theme-dw.theme-pro .module-tabs { padding: 0.4rem; }
  .theme-dw.theme-pro .module-tab { background: #f6f8fc; border: 1px solid #e6eaf3; }
}

@media (prefers-reduced-motion: reduce) {
  .theme-dw.theme-pro .btn,
  .theme-dw.theme-pro .btn::before,
  .theme-dw.theme-pro .btn::after { transition: none; }
}

/* Pestañas: una sola fila en escritorio */
@media (min-width: 1100px) {
  .theme-dw.theme-pro .module-tabs { width: fit-content; max-width: 100%; flex-wrap: nowrap; }
  .theme-dw.theme-pro .module-tab { padding: 0.6rem 0.85rem; font-size: 0.88rem; white-space: nowrap; }
}

/* ==========================================================================
   Páginas internas con el diseño sobrio
   ========================================================================== */

/* Hero de módulo (dos columnas): la malla de puntos se atenúa detrás del texto (izquierda) */
.theme-dw.theme-pro .hero--module .hero-canvas {
  -webkit-mask-image: radial-gradient(ellipse 42% 60% at 24% 48%, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.35) 55%, #000 100%);
  mask-image: radial-gradient(ellipse 42% 60% at 24% 48%, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.35) 55%, #000 100%);
}

/* Tarjetas flotantes del hero de módulo: en los bordes de la ilustración, sin taparla */
.theme-dw.theme-pro .hero--module .hero-visual .badge-1 { left: -36px; bottom: -22px; top: auto; right: auto; }
.theme-dw.theme-pro .hero--module .hero-visual .badge-2 { right: -36px; top: 28px; left: auto; bottom: auto; }
.theme-dw.theme-pro .hero--module .hero-visual .float-badge { min-width: 0; }

@media (max-width: 1024px) {
  .theme-dw.theme-pro .hero--module .hero-visual .badge-1 { left: 8px; }
  .theme-dw.theme-pro .hero--module .hero-visual .badge-2 { right: 8px; }
}

/* Marco de la ilustración del hero de módulo */
.theme-dw.theme-pro .module-hero-frame {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7);
  backdrop-filter: none;
}

/* Enlace "volver" en heros centrados: en su propia línea */
.theme-dw.theme-pro .hero--page .hero-back {
  display: flex;
  width: fit-content;
  margin: 0 auto 1rem;
}

/* Secciones claras: degradado suave en vez del SVG decorativo anterior */
.theme-dw.theme-pro .module-details,
.theme-dw.theme-pro .ai-core-section,
.theme-dw.theme-pro .integration-section,
.theme-dw.theme-pro .ddq-buyers {
  background:
    radial-gradient(45% 50% at 90% 0%, rgba(79, 124, 255, 0.10) 0%, rgba(79, 124, 255, 0) 70%),
    linear-gradient(180deg, #eef2fb 0%, #f8f9fd 60%, #fff 100%);
}

.theme-dw.theme-pro .related-modules { background: #f7f9fd; }
.theme-dw.theme-pro .ddq-steps { background: #f7f9fd; }
.theme-dw.theme-pro .ddq-usecases { background: linear-gradient(180deg, #f7f9fd 0%, #fff 100%); }
.theme-dw.theme-pro .ddq-story { background: #f7f9fd; }
.theme-dw.theme-pro .ddq-closing { background: #f7f9fd; }
.theme-dw.theme-pro .ddq-closing--light { background: #fff; }
.theme-dw.theme-pro .ai-modules-section { background: linear-gradient(180deg, #f7f9fd 0%, #fff 100%); }
.theme-dw.theme-pro .team-section { background: #f7f9fd; }

/* Tarjetas internas: planas con borde fino */
.theme-dw.theme-pro .detail-card,
.theme-dw.theme-pro .buyer-card,
.theme-dw.theme-pro .step,
.theme-dw.theme-pro .usecase,
.theme-dw.theme-pro .plan-card,
.theme-dw.theme-pro .related-card,
.theme-dw.theme-pro .connector-card,
.theme-dw.theme-pro .ai-core-card,
.theme-dw.theme-pro .team-card,
.theme-dw.theme-pro .story-checks {
  border-color: var(--pro-line);
  box-shadow: 0 1px 2px rgba(10, 20, 51, 0.04);
}

.theme-dw.theme-pro .detail-card:hover,
.theme-dw.theme-pro .buyer-card:hover,
.theme-dw.theme-pro .related-card:hover,
.theme-dw.theme-pro .connector-card:hover,
.theme-dw.theme-pro .ai-core-card:hover {
  transform: translateY(-3px);
  border-color: #c9d2e8;
  box-shadow: 0 18px 36px -24px rgba(19, 36, 94, 0.45);
}

.theme-dw.theme-pro .buyer-link,
.theme-dw.theme-pro .authority-link { color: var(--dw-navy-700); }
.theme-dw.theme-pro .authority-link { color: #a9c0ff; }

/* Etiquetas de comprador y de módulo en IA: azul marino, sin colores mezclados */
.theme-dw.theme-pro .buyer-who {
  background: var(--dw-navy-700);
  color: #fff;
}

.theme-dw.theme-pro .ai-module-badge {
  color: var(--dw-navy-700) !important;
  border-color: #c9d2e8 !important;
  background: #fff !important;
}

.theme-dw.theme-pro .ai-mockup-bar b { background: var(--dw-navy-700); }

/* Checks dentro de círculos (conectores, listas): glifo de Lucide */
.theme-dw.theme-pro .connector-feature i::before { content: "\e070"; font-family: 'lucide'; }
.theme-dw.theme-pro .connector-feature i,
.theme-dw.theme-pro .ai-feature-list li i,
.theme-dw.theme-pro .story-checks i {
  background: var(--dw-navy-700);
  color: #fff;
  box-shadow: none;
}

/* Iconos de las tarjetas con baldosa (sin degradado) */
.theme-dw.theme-pro .cert-icon {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

.theme-dw.theme-pro .step-num { color: #e3e8f4; }

/* Contacto: iconos de la columna de datos en azul marino neutro */
.theme-dw.theme-pro .contact-info ul li > div:first-child {
  background: var(--pro-soft) !important;
  color: var(--dw-navy-700) !important;
  border: 1px solid var(--pro-line);
}

.theme-dw.theme-pro .contact-info { border-color: var(--pro-line) !important; box-shadow: 0 1px 2px rgba(10, 20, 51, 0.04) !important; }
.theme-dw.theme-pro .contact-ddq-link a { color: var(--dw-navy-700); }

/* Nosotros: anillo de las fotos y enlaces sociales */
.theme-dw.theme-pro .team-img-wrapper { border-color: var(--dw-navy-700); }
.theme-dw.theme-pro .team-card .role { color: var(--dw-navy-700); }

/* Privacidad: tarjetas planas */
.theme-dw.theme-pro .privacy-section,
.theme-dw.theme-pro .privacy-content section {
  border-color: var(--pro-line);
  box-shadow: 0 1px 2px rgba(10, 20, 51, 0.04);
}

/* ==========================================================================
   Vida en las secciones claras: fondos animados (SVG) + foco de luz en tarjetas
   Variante A: anillos a la derecha · Variante B: anillos a la izquierda
   ========================================================================== */
.theme-dw.theme-pro .integration-section,
.theme-dw.theme-pro .module-details,
.theme-dw.theme-pro .ai-core-section,
.theme-dw.theme-pro .ddq-buyers,
.theme-dw.theme-pro .features,
.theme-dw.theme-pro .ddq-report,
.theme-dw.theme-pro .related-modules,
.theme-dw.theme-pro .ddq-steps {
  background:
    url('../img/bg-fx-a.svg') center / cover no-repeat,
    linear-gradient(180deg, #f2f4fd 0%, #eceffc 55%, #f6f7fd 100%);
}

.theme-dw.theme-pro .solutions,
.theme-dw.theme-pro .ddq-plans,
.theme-dw.theme-pro .ddq-usecases,
.theme-dw.theme-pro .team-section,
.theme-dw.theme-pro .ai-modules-section,
.theme-dw.theme-pro .ddq-story,
.theme-dw.theme-pro .stats-band {
  background:
    url('../img/bg-fx-b.svg') center / cover no-repeat,
    linear-gradient(180deg, #f6f7fd 0%, #eef1fc 50%, #f6f7fd 100%);
}

/* Secciones que siguen claras pero sin decoración pesada (para respirar) */
.theme-dw.theme-pro .faq { background: linear-gradient(180deg, #f6f7fd 0%, #eef1fb 100%); }
.theme-dw.theme-pro .ddq-intro { background: linear-gradient(180deg, #fff 0%, #f3f5fd 100%); }
.theme-dw.theme-pro .contact-section { background: url('../img/bg-fx-a.svg') center / cover no-repeat, #f2f4fd !important; }
.theme-dw.theme-pro .privacy-content { position: relative; }
.theme-dw.theme-pro .ddq-closing { background: url('../img/bg-fx-b.svg') center / cover no-repeat, #f2f4fd; }

/* Contenido siempre por encima del fondo */
.theme-dw.theme-pro .integration-section > .container,
.theme-dw.theme-pro .module-details > .container,
.theme-dw.theme-pro .ai-core-section > .container { position: relative; z-index: 1; }

/* Foco de luz que sigue al mouse dentro de las tarjetas (main.js define --mouse-x / --mouse-y) */
.theme-dw.theme-pro :is(.detail-card, .connector-card, .ai-core-card, .buyer-card, .plan-card, .usecase, .step,
  .related-card, .team-card, .detailed-module-row) {
  background-color: #fff;
  background-image: radial-gradient(420px circle at var(--mouse-x, 50%) var(--mouse-y, -200px), rgba(79, 124, 255, 0.10), transparent 45%);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background-position 0.2s ease;
}

.theme-dw.theme-pro :is(.detail-card, .connector-card, .ai-core-card, .buyer-card, .plan-card, .usecase, .step,
  .related-card, .team-card):hover {
  border-color: #c3cdec;
}

/* Iconos de las tarjetas: leve reacción al pasar el cursor */
.theme-dw.theme-pro :is(.detail-card, .connector-card, .ai-core-card, .plan-card) :is(.detail-card-icon, .connector-icon, .ai-core-icon, .plan-icon) {
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.theme-dw.theme-pro :is(.detail-card, .connector-card, .ai-core-card, .plan-card):hover :is(.detail-card-icon, .connector-icon, .ai-core-icon, .plan-icon) {
  transform: translateY(-2px);
  background: var(--dw-navy-700);
  border-color: var(--dw-navy-700);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .theme-dw.theme-pro :is(.detail-card, .connector-card, .ai-core-card, .plan-card):hover :is(.detail-card-icon, .connector-icon, .ai-core-icon, .plan-icon) { transform: none; }
}

/* IA integrada · casos de uso: panel blanco translúcido detrás del texto para que no choque con el fondo animado */
.theme-dw.theme-pro .ai-module-content {
  padding: 2rem 2.25rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(227, 230, 236, 0.9);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 2px rgba(10, 20, 51, 0.04), 0 20px 40px -32px rgba(19, 36, 94, 0.35);
}

.theme-dw.theme-pro .ai-module-content p { color: #3f4a61; }
.theme-dw.theme-pro .ai-module-content p:last-of-type { margin-bottom: 1.5rem; }
.theme-dw.theme-pro .ai-feature-list li:last-child { margin-bottom: 0; }

@media (max-width: 640px) {
  .theme-dw.theme-pro .ai-module-content { padding: 1.5rem 1.25rem; }
}
