/* ==========================================================================
   .Live — Refinamiento visual (transparencias, blur, sombras, tipografía)
   Se carga al final: sobrescribe sin modificar los CSS originales.
   Para revertir: quitar el <link> a este archivo en parts/head.php
   ========================================================================== */

/* ---------- Tipografía Outfit (alojada en el servidor) ---------- */
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/outfit/outfit-latin-wght-normal.woff2') format('woff2-variations'),
         url('../fonts/outfit/outfit-latin-wght-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
    --lv-violeta: #7c3aed;
    --lv-cian: #06b6d4;
    --lv-tinta: #0f172a;
    --lv-texto: #334155;
    --lv-suave: #64748b;
    --lv-degradado: linear-gradient(135deg, #7c3aed 0%, #4f46e5 50%, #06b6d4 100%);

    --lv-vidrio: rgba(255, 255, 255, 0.62);
    --lv-vidrio-fuerte: rgba(255, 255, 255, 0.78);
    --lv-borde-vidrio: rgba(255, 255, 255, 0.55);
    --lv-borde-fino: rgba(15, 23, 42, 0.07);
    --lv-blur: blur(18px) saturate(170%);

    --lv-sombra-1: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.04);
    --lv-sombra-2: 0 2px 4px rgba(15, 23, 42, 0.04), 0 12px 32px rgba(15, 23, 42, 0.07);
    --lv-sombra-3: 0 4px 8px rgba(15, 23, 42, 0.05), 0 24px 56px rgba(76, 29, 149, 0.14);
    --lv-sombra-color: 0 8px 24px rgba(124, 58, 237, 0.28);

    --lv-radio: 18px;
    --lv-curva: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px; /* las anclas no quedan tapadas por el header fijo */
}

body {
    font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "ss01";
}

body h1, body h2, body h3, body h4, body h5, body h6,
body .btn-main, body input, body select, body textarea, body button {
    font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif !important;
}

.light-scheme h1, .light-scheme h2 {
    letter-spacing: -0.012em;
}

.light-scheme p {
    color: var(--lv-texto);
}

::selection {
    background: rgba(124, 58, 237, 0.18);
    color: inherit;
}

/* ---------- Header de vidrio ---------- */
.light-scheme header.header-light,
.light-scheme header.transparent {
    background: rgba(255, 255, 255, 0.6) !important;
    -webkit-backdrop-filter: var(--lv-blur) !important;
    backdrop-filter: var(--lv-blur) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 1px 0 var(--lv-borde-fino), 0 8px 24px rgba(15, 23, 42, 0.03) !important;
    transition: background .35s ease, box-shadow .35s ease !important;
}

.light-scheme header.smaller {
    background: rgba(255, 255, 255, 0.78) !important;
    box-shadow: 0 1px 0 var(--lv-borde-fino), 0 12px 32px rgba(15, 23, 42, 0.07) !important;
}

#mainmenu > li > a {
    font-weight: 600 !important;
    letter-spacing: 0.005em;
}

/* ---------- Botones ---------- */
.btn-main {
    position: relative;
    border-radius: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em;
    box-shadow: var(--lv-sombra-color), inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
    transition: transform .35s var(--lv-curva), box-shadow .35s var(--lv-curva), filter .35s ease !important;
}

.btn-main::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.28) 50%, transparent 80%);
    transform: translateX(-120%);
    transition: transform .8s var(--lv-curva);
    pointer-events: none;
}

.btn-main:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 14px 32px rgba(124, 58, 237, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
    filter: saturate(1.1);
}

.btn-main:hover::after {
    transform: translateX(120%);
}

.btn-main:focus-visible {
    outline: 3px solid rgba(6, 182, 212, 0.55) !important;
    outline-offset: 3px;
}

/* ---------- Etiquetas de sección ---------- */
.pulse-badge {
    background: rgba(255, 255, 255, 0.55) !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(124, 58, 237, 0.16);
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.10);
    letter-spacing: 0.04em;
}

/* Etiqueta sobre fondos oscuros */
#section-contacto .pulse-badge,
.dark-scheme .pulse-badge {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.16);
    color: #e9d5ff !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

/* ---------- Tarjetas de planes ---------- */
.pricing-card-light {
    background: var(--lv-vidrio-fuerte) !important;
    -webkit-backdrop-filter: var(--lv-blur) !important;
    backdrop-filter: var(--lv-blur) !important;
    border: 1px solid var(--lv-borde-vidrio) !important;
    border-radius: 22px !important;
    box-shadow: var(--lv-sombra-2), inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
    transition: transform .45s var(--lv-curva), box-shadow .45s var(--lv-curva) !important;
}

.pricing-card-light:hover {
    transform: translateY(-6px) !important;
    box-shadow: var(--lv-sombra-3), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

.pricing-card-light .price-amount {
    letter-spacing: -0.03em;
}

.pricing-card-light .features-list li {
    border-color: rgba(15, 23, 42, 0.05) !important;
}

/* ---------- Bloque de estadísticas y banners oscuros ---------- */
.stats-glass-container {
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-radius: 24px !important;
    box-shadow: 0 30px 60px -12px rgba(46, 16, 101, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.soft-shadow.jarallax {
    border-radius: 24px !important;
    box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

.slogan-banner-card {
    box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.35) !important;
}

/* Tapa el filo oscuro de la esquina inferior derecha de la tarjeta "Ver Señal de Prueba" */
.slogan-overlap-card {
    margin-right: -1px;
    margin-bottom: -1px;
}

/* ---------- Preguntas frecuentes ---------- */
#faqAccordion .accordion-item {
    background: rgba(255, 255, 255, 0.7) !important;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid var(--lv-borde-fino) !important;
    border-radius: 16px !important;
    box-shadow: var(--lv-sombra-1);
    transition: box-shadow .35s var(--lv-curva), border-color .35s ease, transform .35s var(--lv-curva);
}

#faqAccordion .accordion-item:hover {
    border-color: rgba(124, 58, 237, 0.22) !important;
    box-shadow: var(--lv-sombra-2);
    transform: translateY(-1px);
}

#faqAccordion .accordion-item:has(.accordion-collapse.show) {
    border-color: rgba(124, 58, 237, 0.30) !important;
    box-shadow: 0 12px 32px rgba(124, 58, 237, 0.12);
}

#faqAccordion .accordion-button {
    font-weight: 600 !important;
    color: var(--lv-tinta) !important;
}

#faqAccordion .accordion-button:not(.collapsed) {
    color: var(--lv-violeta) !important;
}

#faqAccordion .accordion-button:focus-visible {
    outline: 3px solid rgba(6, 182, 212, 0.45);
    outline-offset: -3px;
}

#faqAccordion .accordion-body {
    background: transparent !important;
    border-top: 1px solid rgba(15, 23, 42, 0.06) !important;
    color: var(--lv-texto) !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
}

/* ---------- Sección de contacto ---------- */
#section-contacto {
    background-image:
        radial-gradient(60% 50% at 15% 10%, rgba(124, 58, 237, 0.35), transparent 70%),
        radial-gradient(50% 45% at 90% 90%, rgba(6, 182, 212, 0.22), transparent 70%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 27, 75, 0.88)),
        url('../images/background/support_bg.webp') !important;
    background-attachment: scroll !important; /* "fixed" generaba saltos y no funciona en iPhone */
}

.contact-box-light {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 24px !important;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.10) !important;
}

.contact-box-light .form-control,
.contact-box-light .form-select {
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.07) !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    transition: border-color .25s ease, box-shadow .25s ease, background .25s ease !important;
}

.contact-box-light .form-control:focus,
.contact-box-light .form-select:focus {
    background: rgba(255, 255, 255, 0.11) !important;
    border-color: rgba(6, 182, 212, 0.65) !important;
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.16) !important;
}

/* ---------- Imágenes y bloques destacados ---------- */
.light-scheme .rounded-4 {
    border-radius: 20px !important;
}

/* ---------- Footer ---------- */
.light-scheme footer {
    position: relative;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
    border-top: none !important;
}

.light-scheme footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.35), rgba(6, 182, 212, 0.35), transparent);
}

.light-scheme footer .widget h5 {
    color: var(--lv-tinta) !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em;
}

.light-scheme footer a {
    transition: color .25s ease;
}

/* ---------- Página de contacto (esquema oscuro) ---------- */
.dark-scheme header.transparent.smaller,
.dark-scheme header.smaller {
    background: rgba(10, 10, 18, 0.7) !important;
    -webkit-backdrop-filter: var(--lv-blur) !important;
    backdrop-filter: var(--lv-blur) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

/* ---------- Accesibilidad: menos movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn-main, .btn-main::after, .pricing-card-light, #faqAccordion .accordion-item {
        transition: none !important;
    }
    .btn-main:hover, .pricing-card-light:hover, #faqAccordion .accordion-item:hover {
        transform: none !important;
    }
}

/* ---------- Celulares: blur más liviano para rendimiento ---------- */
@media (max-width: 767px) {
    :root { --lv-blur: blur(12px) saturate(160%); }
    .pricing-card-light:hover { transform: none !important; }
}

/* ==========================================================================
   TRATAMIENTO DE IMÁGENES — misma firma visual en todo el sitio
   Contraste + saturación, tinte de marca (violeta → índigo → cian),
   viñeta, grano fino y bordes de vidrio.
   ========================================================================== */

:root {
    --lv-foto-filtro: contrast(1.18) saturate(1.22) brightness(0.98);
    --lv-fondo-filtro: contrast(1.45) saturate(1.45) brightness(0.85);
    --lv-grano: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Grano fino (textura común) ---------- */
.lv-grano {
    isolation: isolate;
}

.lv-grano::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--lv-grano);
    background-size: 160px 160px;
    mix-blend-mode: overlay;
    opacity: 0.16;
    pointer-events: none;
    z-index: 4;
    border-radius: inherit;
}

/* ---------- Banners oscuros con imagen de fondo ---------- */
.lv-banner {
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    box-shadow:
        0 40px 80px -20px rgba(46, 16, 101, 0.55),
        0 0 0 1px rgba(124, 58, 237, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.10) !important;
}

.lv-bg-img {
    opacity: 0.85 !important;
    filter: var(--lv-fondo-filtro) !important;
    object-fit: cover;
}

/* Tinte de marca + viñeta: da peso y unifica todas las fotos de fondo */
.lv-tinte {
    background:
        radial-gradient(120% 90% at 50% 50%, transparent 35%, rgba(5, 3, 20, 0.70) 100%),
        linear-gradient(115deg, rgba(10, 8, 30, 0.92) 0%, rgba(49, 18, 120, 0.72) 42%, rgba(37, 30, 140, 0.45) 70%, rgba(6, 182, 212, 0.30) 100%) !important;
}

/* Brillo superior tipo vidrio en el borde del banner */
.lv-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, transparent 28%);
    pointer-events: none;
    z-index: 4;
}

/* ---------- Recortes de personas sobre banners ---------- */
.lv-recorte {
    filter:
        var(--lv-foto-filtro)
        drop-shadow(-18px 0 40px rgba(124, 58, 237, 0.45))
        drop-shadow(0 20px 30px rgba(0, 0, 0, 0.45)) !important;
}

/* ---------- Foto principal (portada) ---------- */
.lv-foto-hero {
    filter:
        var(--lv-foto-filtro)
        drop-shadow(0 30px 45px rgba(76, 29, 149, 0.28))
        drop-shadow(0 0 1px rgba(124, 58, 237, 0.35)) !important;
}

#section-hero .col-lg-6:last-child {
    position: relative;
}

/* Halo de marca detrás de la foto principal */
#section-hero .col-lg-6:last-child::before {
    content: '';
    position: absolute;
    inset: 8% 6%;
    background:
        radial-gradient(closest-side at 35% 40%, rgba(124, 58, 237, 0.38), transparent 70%),
        radial-gradient(closest-side at 70% 65%, rgba(6, 182, 212, 0.30), transparent 70%);
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
}

#section-hero .col-lg-6:last-child > * {
    position: relative;
    z-index: 1;
}

/* ---------- Ilustración de soporte: marco de vidrio ---------- */
.lv-ilustracion {
    padding: 22px;
    background:
        radial-gradient(80% 70% at 30% 20%, rgba(124, 58, 237, 0.14), transparent 70%),
        radial-gradient(70% 60% at 80% 90%, rgba(6, 182, 212, 0.12), transparent 70%),
        rgba(255, 255, 255, 0.55);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 28px !important;
    box-shadow:
        0 30px 60px -18px rgba(76, 29, 149, 0.28),
        0 0 0 1px rgba(124, 58, 237, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    filter: saturate(1.12) contrast(1.06) !important;
}

/* ---------- Estadísticas ---------- */
.stats-glass-container {
    background:
        radial-gradient(60% 120% at 0% 0%, rgba(124, 58, 237, 0.55), transparent 60%),
        radial-gradient(50% 120% at 100% 100%, rgba(6, 182, 212, 0.38), transparent 60%),
        linear-gradient(115deg, #0b0a1f 0%, #24125c 55%, #1b2a6b 100%) !important;
}

/* ---------- Sección de contacto: grano común ---------- */
#section-contacto {
    isolation: isolate;
}

#section-contacto::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--lv-grano);
    background-size: 160px 160px;
    mix-blend-mode: overlay;
    opacity: 0.14;
    pointer-events: none;
    z-index: 0;
}

#section-contacto > .container {
    position: relative;
    z-index: 1;
}

/* ---------- Celulares: efectos más livianos ---------- */
@media (max-width: 767px) {
    #section-hero .col-lg-6:last-child::before { filter: blur(28px); }
}

/* ==========================================================================
   RITMO VERTICAL Y FONDO CONTINUO
   Menos espacio vacío entre secciones y un fondo con tinte de marca en lugar
   de blanco plano, para que la página se lea como una sola pieza.
   ========================================================================== */

/* Fondo continuo con tinte de marca */
.light-scheme #wrapper {
    background:
        radial-gradient(900px 640px at 8% 6%, rgba(124, 58, 237, 0.11), transparent 70%),
        radial-gradient(820px 600px at 94% 18%, rgba(6, 182, 212, 0.10), transparent 70%),
        radial-gradient(900px 700px at 12% 40%, rgba(79, 70, 229, 0.09), transparent 70%),
        radial-gradient(820px 640px at 90% 58%, rgba(124, 58, 237, 0.10), transparent 70%),
        radial-gradient(900px 640px at 15% 78%, rgba(6, 182, 212, 0.09), transparent 70%),
        linear-gradient(180deg, #f6f4fe 0%, #f0f3fd 35%, #f4f2fd 65%, #f1f5fd 100%) !important;
}

.light-scheme section,
.light-scheme .section,
.light-scheme div#content {
    background-color: transparent !important;
}

/* Las degradaciones a blanco del template ya no tienen sentido sobre el tinte */
.light-scheme .de-gradient-edge-bottom,
.light-scheme .de-gradient-edge-top {
    display: none !important;
}

/* Espaciado: secciones de contenido */
.light-scheme section {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
}

/* Secciones que solo contienen una tarjeta o banner: casi pegadas */
.light-scheme section.lv-sec-tarjeta {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

/* Portada: deja lugar al header fijo */
.light-scheme #section-hero {
    padding-top: 120px !important;
    padding-bottom: 56px !important;
}

#section-contacto {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
}

/* Footer integrado al fondo */
.light-scheme footer {
    background: rgba(255, 255, 255, 0.45) !important;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

@media (max-width: 991px) {
    .light-scheme section { padding-top: 48px !important; padding-bottom: 48px !important; }
    .light-scheme section.lv-sec-tarjeta { padding-top: 14px !important; padding-bottom: 14px !important; }
    .light-scheme #section-hero { padding-top: 100px !important; padding-bottom: 40px !important; }
    #section-contacto { padding-top: 56px !important; padding-bottom: 56px !important; }
}

/* Subtítulo del banner del slogan */
.slogan-banner-card p {
    color: rgba(255, 255, 255, 0.78) !important;
}

/* ==========================================================================
   PLANES — concepto "escenario": panel con malla de color, grilla de puntos
   y foco de luz sobre el plan recomendado. Sin foto de fondo.
   ========================================================================== */
#section-planes > .container {
    position: relative;
    padding: 56px 40px 48px;
    border-radius: 32px;
    background:
        radial-gradient(60% 55% at 62% 62%, rgba(219, 39, 119, 0.10), transparent 70%),
        radial-gradient(55% 60% at 0% 0%, rgba(124, 58, 237, 0.16), transparent 70%),
        radial-gradient(50% 60% at 100% 100%, rgba(6, 182, 212, 0.16), transparent 70%),
        rgba(255, 255, 255, 0.55);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow:
        0 40px 80px -30px rgba(76, 29, 149, 0.30),
        0 0 0 1px rgba(124, 58, 237, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    isolation: isolate;
    overflow: hidden;
}

/* Grilla de puntos que se desvanece hacia los bordes */
#section-planes > .container::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(76, 29, 149, 0.16) 1px, transparent 1.4px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(75% 70% at 50% 40%, #000 30%, transparent 100%);
    mask-image: radial-gradient(75% 70% at 50% 40%, #000 30%, transparent 100%);
    pointer-events: none;
    z-index: -1;
}

#section-planes .pulse-badge {
    background: rgba(255, 255, 255, 0.75) !important;
}

#section-planes h2 {
    color: var(--lv-tinta) !important;
}

/* Tarjetas: vidrio blanco más definido sobre el panel */
#section-planes .pricing-card-light {
    background: rgba(255, 255, 255, 0.82) !important;
    border: 1px solid rgba(255, 255, 255, 0.95) !important;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 18px 40px -16px rgba(46, 16, 101, 0.22),
        inset 0 1px 0 #ffffff !important;
}

/* Plan recomendado: borde en degradado de marca y foco de luz */
#section-planes .pricing-card-light.featured {
    border: 2px solid transparent !important;
    background:
        linear-gradient(rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.96)) padding-box,
        linear-gradient(135deg, #7c3aed, #db2777 55%, #06b6d4) border-box !important;
    box-shadow:
        0 30px 60px -18px rgba(124, 58, 237, 0.45),
        0 0 0 6px rgba(124, 58, 237, 0.06) !important;
    transform: translateY(-10px);
}

#section-planes .pricing-card-light.featured:hover {
    transform: translateY(-14px) !important;
}

@media (max-width: 991px) {
    #section-planes > .container { padding: 40px 18px 32px; border-radius: 24px; }
    #section-planes .pricing-card-light.featured { transform: none; }
}

/* ==========================================================================
   CONTACTO — concepto "señal": base oscura con aurora de marca, ondas de
   transmisión que nacen arriba y grilla en perspectiva. Sin foto.
   ========================================================================== */
#section-contacto {
    position: relative;
    overflow: hidden;
    background:
        repeating-radial-gradient(circle at 50% -8%, rgba(255, 255, 255, 0.07) 0 1px, transparent 1.5px 64px),
        radial-gradient(55% 45% at 50% 0%, rgba(124, 58, 237, 0.55), transparent 70%),
        radial-gradient(40% 50% at 0% 100%, rgba(6, 182, 212, 0.28), transparent 70%),
        radial-gradient(40% 50% at 100% 90%, rgba(219, 39, 119, 0.22), transparent 70%),
        linear-gradient(180deg, #0b0920 0%, #120d33 55%, #0a0b24 100%) !important;
    background-attachment: scroll !important;
}

/* Las ondas se apagan hacia abajo */
#section-contacto::before {
    content: '';
    position: absolute;
    left: -10%;
    right: -10%;
    bottom: -2px;
    height: 46%;
    background-image:
        linear-gradient(rgba(124, 58, 237, 0.35) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 58, 237, 0.35) 1px, transparent 1px);
    background-size: 64px 64px;
    transform: perspective(600px) rotateX(62deg);
    transform-origin: 50% 100%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 70%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 70%);
    opacity: 0.55;
    pointer-events: none;
    z-index: 0;
}

/* Formulario: vidrio oscuro sobre el nuevo fondo */
.contact-box-light {
    background: rgba(255, 255, 255, 0.05) !important;
    -webkit-backdrop-filter: blur(22px) saturate(160%) !important;
    backdrop-filter: blur(22px) saturate(160%) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow:
        0 40px 90px -25px rgba(0, 0, 0, 0.65),
        0 0 0 1px rgba(124, 58, 237, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.10) !important;
}

/* ==========================================================================
   AJUSTE FINO — celular, contacto.php y página de resultado
   ========================================================================== */

/* Menú: sin la numeración automática del template */
#mainmenu > li::before {
    content: none !important;
}

/* Banner del slogan: el título se ajusta al ancho en pantallas chicas */
.slogan-banner-card h2,
.slogan-banner-card p {
    width: 100%;
    max-width: 100%;
    white-space: normal !important;
}

@media (max-width: 767px) {
    .slogan-banner-card {
        padding: 48px 20px 110px 20px !important;
    }

    .slogan-banner-card h2 {
        font-size: 22px !important;
        line-height: 1.3 !important;
    }

    /* Banners con parallax: la imagen cubre toda la tarjeta (sin cortes de color) */
    .lv-banner [id^="jarallax-container"] img,
    .lv-banner .lv-bg-img {
        top: 0 !important;
        height: 100% !important;
        margin-top: 0 !important;
        transform: none !important;
    }
}

/* ---------- contacto.php: mismo concepto "señal" que la portada ---------- */
body.dark-scheme {
    background: #0a0920 !important;
}

body.dark-scheme #wrapper {
    background:
        repeating-radial-gradient(circle at 50% 4%, rgba(255, 255, 255, 0.06) 0 1px, transparent 1.5px 64px),
        radial-gradient(50% 40% at 50% 8%, rgba(124, 58, 237, 0.50), transparent 70%),
        radial-gradient(40% 45% at 0% 70%, rgba(6, 182, 212, 0.22), transparent 70%),
        radial-gradient(40% 45% at 100% 85%, rgba(219, 39, 119, 0.20), transparent 70%),
        linear-gradient(180deg, #0b0920 0%, #120d33 55%, #0a0b24 100%) !important;
}

body.dark-scheme section,
body.dark-scheme #content {
    background: transparent !important;
}

body.dark-scheme #planes-streaming .jarallax-img,
body.dark-scheme [id^="jarallax-container"] {
    opacity: 0 !important;
}

body.dark-scheme .form-container-box {
    background: rgba(255, 255, 255, 0.05) !important;
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    backdrop-filter: blur(22px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 24px !important;
    box-shadow: 0 40px 90px -25px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(124, 58, 237, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.10) !important;
}

body.dark-scheme footer {
    background: rgba(10, 9, 32, 0.55) !important;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

/* ---------- Página de resultado: paleta de marca ---------- */
body.light-scheme .contact-card {
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: var(--lv-blur);
    backdrop-filter: var(--lv-blur);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 28px;
    box-shadow: 0 40px 80px -30px rgba(76, 29, 149, 0.35), 0 0 0 1px rgba(124, 58, 237, 0.06), inset 0 1px 0 #ffffff;
}

body.light-scheme .contact-card .text-gradient {
    background: var(--lv-degradado);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-scheme .status-icon.success {
    color: var(--lv-violeta);
    text-shadow: 0 0 30px rgba(124, 58, 237, 0.35);
}

body.light-scheme .status-icon.error {
    color: #db2777;
    text-shadow: 0 0 30px rgba(219, 39, 119, 0.30);
}

body.light-scheme .action-btn,
body.light-scheme .action-btn.success,
body.light-scheme .action-btn.error {
    background: var(--lv-degradado);
    border-radius: 14px;
    box-shadow: var(--lv-sombra-color), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

body.light-scheme .action-btn:hover {
    box-shadow: 0 14px 32px rgba(124, 58, 237, 0.38);
}
