/* ==========================================================================
   DIGITAL21 - AVANT-GARDE / GLASS AURORA THEME
   Rompiendo el molde: Cero grillas aburridas, pura inmersión líquida.
   ========================================================================== */



:root {
    /* Paleta - Dark Mode Profundo pero colorido gracias a las luces */
    --bg-base: #030305;
    /* Casi negro espacial, no gris */

    /* Colores Aurora (Las manchas de luz flotantes) */
    --aurora-1: #FF2E93;
    /* Magenta agresivo */
    --aurora-2: #00E5FF;
    /* Cyan láser */
    --aurora-3: #4338CA;
    /* Indigo profundo */

    /* Textos */
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.85);

    /* Efecto Vidrio (Glassmorphism) */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);

    /* Tipografía */
    --font-display: 'Poppins', sans-serif;
    /* Títulos geométricos limpios */
    --font-body: 'Poppins', sans-serif;
    /* Textos muy legibles y modernos */

    /* Animaciones */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

.text-accent {
    color: var(--aurora-1) !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   FONDO ABSTRACTO (AURORA BLOBS)
   ========================================================================== */
.aurora-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: var(--bg-base);
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.5;
    /* Opacidad para que no sature la vista */
    animation: drift 20s infinite alternate ease-in-out;
}

.blob-1 {
    width: 50vw;
    height: 50vw;
    background: var(--aurora-1);
    top: -10%;
    left: -10%;
    animation-duration: 25s;
}

.blob-2 {
    width: 60vw;
    height: 60vw;
    background: var(--aurora-3);
    bottom: -20%;
    right: -10%;
    animation-duration: 30s;
    animation-delay: -5s;
}

.blob-3 {
    width: 40vw;
    height: 40vw;
    background: var(--aurora-2);
    top: 40%;
    left: 30%;
    animation-duration: 22s;
    animation-delay: -10s;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(15%, 15%) scale(1.3);
    }
}

/* ==========================================================================
   TIPOGRAFÍA Y CONTENEDORES
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1400px;
    /* Layout más ancho, moderno */
    margin: 0 auto;
    padding: 0 40px;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: var(--font-display);
}

i {
    /* Cursivas en Syne se ven extremadamente de vanguardia */
    font-style: italic;
    color: var(--aurora-1);
    /* Acento rosado */
}

/* ==========================================================================
   UTILIDADES DE ACCESIBILIDAD
   ========================================================================== */
/* Screen-reader only: visible para lectores, invisible visualmente */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   VARIABLES GLOBALES
   ========================================================================== */
.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: 0.3s;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a i {
    color: var(--aurora-1);
    font-size: 1.1rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--aurora-1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out-expo);
}

.nav-links a:hover {
    color: var(--aurora-1);
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

/* ==========================================================================
   BOTONES
   ========================================================================== */
.btn-solid,
.btn-ghost {
    border-radius: 100px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s var(--ease-out-expo);
}

/* Botón pill eliminado por solicitud del usuario */

.btn-solid {
    background: white;
    color: var(--bg-base);
    padding: 20px 48px;
    font-size: 0.9rem;
}

.btn-solid i {
    color: inherit;
    font-style: normal;
    margin-left: 8px;
    font-size: 1.2rem;
}

.btn-solid:hover {
    background: var(--aurora-1);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(255, 46, 147, 0.4);
}

.btn-ghost {
    background: transparent;
    color: white;
    padding: 20px 48px;
    font-size: 0.9rem;
    border: 1px solid var(--glass-border);
}

.btn-ghost:hover {
    background: var(--glass-bg);
    border-color: white;
}

/* ==========================================================================
   HERO SECTION (KINETIC TEXT)
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 15vh;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    border: 1px solid var(--glass-border);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
}

.dot-pulse {
    width: 8px;
    height: 8px;
    background-color: var(--aurora-1);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--aurora-1);
}

.hero-title {
    font-size: 5.5vw;
    /* Fluido ajustado, más pequeño en escritorio */
    line-height: 0.9;
    letter-spacing: -0.04em;
    font-weight: 800;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    font-weight: 300;
    margin-bottom: 48px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    /* Responsivo: Cae abajo en celulares */
}

.hero-content {
    flex: 1;
    min-width: 320px;
}


/* ==========================================================================
   COMPONENTES VIDRIO (GLASS CARDS)
   ========================================================================== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 4px;
    /* Padding fino para doble efecto de borde */
    transition: transform 0.5s var(--ease-out-expo);
}

.card-inner {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 28px;
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.3);
}

.glass-icon {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 32px;
}

.glass-card h3 {
    font-size: 1.8rem;
    line-height: 1.1;
    margin-bottom: 16px;
}

.glass-card p {
    color: var(--text-secondary);
    font-weight: 300;
    font-size: 1rem;
    margin-bottom: 32px;
    flex-grow: 1;
}

.card-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.card-tags span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 6px 14px;
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    color: var(--text-primary);
}

/* ==========================================================================
   SECCIÓN SERVICIOS (ASYMMETRIC GRID)
   ========================================================================== */
.services-section {
    padding: 100px 0;
}

.services-section .glass-card {
    text-align: center;
}

.services-section .card-tags {
    justify-content: center;
}


.section-title-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 30px;
}

.section-title-mega {
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.04em;
}

.section-desc-side {
    max-width: 400px;
    color: var(--text-secondary);
    font-weight: 300;
    font-size: 1.1rem;
}

.text-center-full {
    flex-direction: column !important;
    text-align: center;
    align-items: center !important;
    gap: 16px !important;
    margin-bottom: 60px;
}


.glass-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

/* Rotura de Grilla Clásica */
.card-diarios {
    grid-column: 1 / 8;
}

.card-radios {
    grid-column: 8 / 13;
}

.card-empresas {
    grid-column: 1 / 6;
}

.card-tiendas {
    grid-column: 6 / 13;
}

/* ==========================================================================
   DISEÑO WEB (PLANES GRID)
   ========================================================================== */
.web-plans-section {
    padding: 80px 0 100px;
}

.web-plans-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: start;
    /* PREVIENE QUE LAS TARJETAS SE ESTIREN CUANDO UN ACORDEÓN SE ABRE */
}

.plan-web-card .card-inner {
    padding: 32px;
}

.plan-web-card .glass-icon {
    background: transparent;
    /* Fondo transparente */
    border: 2px solid var(--aurora-1);
    /* Borde redondo rosado */
    color: white;
    /* Ícono blanco */
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    /* Centrado horizontal */
    font-size: 2rem;
    transition: all 0.4s var(--ease-out-expo);
}

.plan-web-card .glass-icon i {
    color: white !important;
}

.plan-web-card:hover .glass-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 46, 147, 0.15);
    box-shadow: 0 0 20px rgba(255, 46, 147, 0.4);
}

.plan-web-card h3 {
    font-size: 1.4rem;
}

@media (max-width: 1280px) {
    .web-plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .web-plans-grid {
        grid-template-columns: 1fr;
    }
}



/* ==========================================================================
   PORTAFOLIO MASONRY
   ========================================================================== */
.portfolio-section {
    padding: 100px 0;
}

.text-center {
    text-align: center;
    margin-bottom: 60px;
}

.title-flex {
    /* Previene desajustes por el flex o anchos con la animación CSS */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.section-subtitle-mega {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 300;
    margin-top: 16px;
    max-width: 600px;
    line-height: 1.5;
}

/* ==========================================================================
   EFECTO MÁQUINA DE ESCRIBIR (TYPEWRITER)
   ========================================================================== */
.typewriter {
    color: var(--aurora-1);
    /* Color rosa */
    display: inline-block;
    overflow: hidden;
    /* Oculta el texto mientra se tipe */
    white-space: nowrap;
    /* Mantiene el texto en una sola línea */
    border-right: 0.1em solid var(--aurora-1);
    /* El cursor que parpadea */
    /* Ancho dinámico usando CH (caracteres) o max-width en animación */
    width: 0;
    animation:
        typing 2s steps(8, end) forwards,
        blink-caret .75s step-end infinite;
    animation-delay: 0.5s;
    vertical-align: bottom;
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 5ch;
    }

    /* 'RADIO' tiene justamente 5 caracteres */
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: var(--aurora-1);
    }
}

/* Variante para PORTAFOLIO (10 caracteres) */
.typewriter-portfolio {
    color: var(--aurora-1);
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 0.1em solid var(--aurora-1);
    width: 0;
    animation:
        typing-portfolio 2s steps(10, end) forwards,
        blink-caret .75s step-end 3;
    /* Cursor parpadea solo 3 veces */
    animation-delay: 0.8s;
    vertical-align: bottom;
}

@keyframes typing-portfolio {
    from {
        width: 0;
    }

    to {
        width: 10.5ch;
        border-color: transparent;
        /* Oculta el cursor al final */
    }
}

.portfolio-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: start;
    /* PREVIENE QUE LAS TARJETAS SE ESTIREN JUNTO CON EL ACORDEÓN ABIERTO */
}

.portfolio-item {
    padding: 4px;
    padding-bottom: 24px;
}

.p-image-box {
    border-radius: 28px;
    overflow: hidden;
    margin-bottom: 32px;
}

.p-image-box img {
    width: 100%;
    height: auto;
    transform: scale(1.05);
    transition: transform 0.8s var(--ease-out-expo), opacity 0.8s var(--ease-out-expo);
    opacity: 0.8;
}

.portfolio-item:hover img {
    transform: scale(1);
    opacity: 1;
}

.p-info {
    padding: 0 24px;
}

.p-info h4 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.p-info p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.p-btn {
    margin-top: 24px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    color: white;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.4s var(--ease-out-expo);
}

.p-btn:hover {
    background: var(--aurora-1);
    border-color: var(--aurora-1);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(255, 46, 147, 0.3);
}

.p-btn i {
    font-size: 1rem;
    color: inherit !important;
}

.plan-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--aurora-1);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    font-family: var(--font-display);
    text-align: center;
}

/* ==========================================================================
   ACORDEÓN PLANES (DETAILS/SUMMARY)
   ========================================================================== */
.plan-details {
    margin-top: 24px;
    border-top: 1px solid var(--glass-border);
    padding-top: 16px;
}

.plan-details summary {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: white;
    /* "Que incluye" en blanco como solicitó el usuario */
    background: rgba(255, 255, 255, 0.04);
    /* Fondo sutil para que parezca botón */
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    cursor: pointer;
    list-style: none;
    /* Oculta al flecha nativa */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
    user-select: none;
}

.plan-details summary:hover {
    background: rgba(255, 255, 255, 0.08);
    /* Brillo al pasar el cursor */
    border-color: var(--aurora-1);
    /* Borde rosado interactivao */
}

.plan-details summary::-webkit-details-marker {
    display: none;
    /* Safari/Chrome support */
}

/* El botón '+' interactivo */
.plan-details summary::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 400;
    color: white;
    /* Más blanco */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 46, 147, 0.15);
    /* Fondo para que parezca un botón físico */
    transition: all 0.4s var(--ease-out-expo);
    animation: pulsateHint 2s infinite;
    /* Animación para invitar al clic */
}

@keyframes pulsateHint {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 46, 147, 0.4);
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(255, 46, 147, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 46, 147, 0);
    }
}

.plan-details[open] summary {
    border-color: var(--glass-border);
    /* Reseteo visual al abrir */
    background: transparent;
}

.plan-details[open] summary::after {
    transform: rotate(45deg);
    /* Se convierte en X */
    background: rgba(255, 255, 255, 0.1);
    color: white;
    animation: none;
    /* Se detiene el pulso al abrir */
}

.plan-features-list {
    list-style: none;
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 12px;
    animation: fadeInDown 0.4s var(--ease-out-expo);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.plan-features-list li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.plan-features-list li i {
    color: var(--aurora-1);
    /* Tick rosa */
    font-style: normal;
    font-size: 1.1rem;
}

.plan-cta {
    margin-top: 32px;
    width: 100%;
}

.plan-cta i {
    color: var(--aurora-1) !important;
    /* Color rosado interactivo forzado */
    font-size: 1.2rem;
    margin-right: 8px;
    /* Espacio entre el icono y la letra */
    transition: color 0.4s var(--ease-out-expo);
}

.plan-cta:hover i {
    color: white !important;
    /* El ícono se vuelve blanco puro sin fallas */
}

/* ==========================================================================
   SUPER FOOTER MINIMAL / BRUTALIST
   ========================================================================== */
.vanguard-footer {
    padding: 80px 0 40px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(40px);
}

.footer-massive-cta {
    text-align: left;
    padding-bottom: 80px;
    margin-bottom: 80px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-massive-cta h2 {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 50px;
    letter-spacing: -0.05em;
    text-align: center;
}

/* --- Grid Contacto 2 columnas --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* --- Header del formulario --- */
.contact-form-header {
    margin-bottom: 24px;
}

.contact-form-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 46, 147, 0.12);
    color: var(--aurora-1);
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    border: 1px solid rgba(255, 46, 147, 0.25);
    margin-bottom: 16px;
}

.contact-form-header h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-form-header p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* --- Panel visual derecho --- */
.contact-visual-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    padding: 20px 0;
}

/* --- Esfera orbital --- */
.contact-orb-wrapper {
    position: relative;
    width: 220px;
    height: 220px;
}

.contact-orb {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orb-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 50%;
    z-index: 10;
    filter: drop-shadow(0 0 20px rgba(255, 46, 147, 0.6));
    animation: orbLogoPulse 3s ease-in-out infinite;
}

@keyframes orbLogoPulse {

    0%,
    100% {
        filter: drop-shadow(0 0 20px rgba(255, 46, 147, 0.6));
    }

    50% {
        filter: drop-shadow(0 0 35px rgba(0, 229, 255, 0.8));
    }
}

.orb-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    will-change: transform;
}

.ring-1 {
    width: 120px;
    height: 120px;
    border-color: rgba(255, 46, 147, 0.4);
    animation: spinRing 8s linear infinite;
}

.ring-2 {
    width: 170px;
    height: 170px;
    border-color: rgba(0, 229, 255, 0.3);
    border-style: dashed;
    animation: spinRing 14s linear infinite reverse;
}

.ring-3 {
    width: 220px;
    height: 220px;
    border-color: rgba(67, 56, 202, 0.25);
    animation: spinRing 20s linear infinite;
}

@keyframes spinRing {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* --- Íconos que orbitan --- */
.orb-dot {
    position: absolute;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 50%;
    left: 50%;
    font-size: 1rem;
    z-index: 5;
}

.orb-dot i {
    font-size: 1rem;
    color: white !important;
    font-style: normal;
}

.dot-wa {
    background: #25D366;
    transform: translate(-50%, -50%) rotate(0deg) translateX(85px) rotate(0deg);
    animation: orbitDot 8s linear infinite;
}

.dot-fb {
    background: #1877F2;
    transform: translate(-50%, -50%) rotate(90deg) translateX(85px) rotate(-90deg);
    animation: orbitDot 8s linear infinite;
    animation-delay: -2s;
}

.dot-ig {
    background: linear-gradient(135deg, #833AB4, #fd1d1d, #fcb045);
    transform: translate(-50%, -50%) rotate(180deg) translateX(85px) rotate(-180deg);
    animation: orbitDot 8s linear infinite;
    animation-delay: -4s;
}

.dot-mail {
    background: var(--aurora-1);
    transform: translate(-50%, -50%) rotate(270deg) translateX(85px) rotate(-270deg);
    animation: orbitDot 8s linear infinite;
    animation-delay: -6s;
}

@keyframes orbitDot {
    from {
        transform: translate(-50%, -50%) rotate(var(--start, 0deg)) translateX(85px) rotate(calc(var(--start, 0deg) * -1));
    }

    to {
        transform: translate(-50%, -50%) rotate(calc(var(--start, 0deg) + 360deg)) translateX(85px) rotate(calc((var(--start, 0deg) + 360deg) * -1));
    }
}

/* Con CSS custom property por dot */
.dot-wa {
    --start: 0deg;
}

.dot-fb {
    --start: 90deg;
}

.dot-ig {
    --start: 180deg;
}

.dot-mail {
    --start: 270deg;
}

/* --- Contadores animados --- */
.contact-stats {
    display: flex;
    gap: 24px;
    justify-content: center;
    width: 100%;
}

.cstat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px 20px;
    flex: 1;
    transition: all 0.3s ease;
}

.cstat-item:hover {
    border-color: var(--aurora-1);
    background: rgba(255, 46, 147, 0.08);
    transform: translateY(-4px);
}

.cstat-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.03em;
    line-height: 1;
}

.cstat-plus {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--aurora-1);
    vertical-align: super;
}

.cstat-label {
    display: block;
    font-size: 0.72rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: 4px;
}

/* --- Canales de contacto --- */
.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.channel-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    color: white;
    transition: all 0.3s var(--ease-out-expo);
    cursor: pointer;
}

.channel-item i {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-style: normal;
}

.channel-wa i {
    background: rgba(37, 211, 102, 0.15);
    color: #25D366 !important;
}

.channel-mail i {
    background: rgba(255, 46, 147, 0.15);
    color: var(--aurora-1) !important;
}

.channel-support i {
    background: rgba(0, 229, 255, 0.15);
    color: var(--aurora-2) !important;
}

.channel-wa:hover {
    border-color: #25D366;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.2);
    transform: translateX(6px);
}

.channel-mail:hover {
    border-color: var(--aurora-1);
    box-shadow: 0 4px 20px rgba(255, 46, 147, 0.2);
    transform: translateX(6px);
}

.channel-support:hover {
    border-color: var(--aurora-2);
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.2);
    transform: translateX(6px);
}

.ch-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.ch-value {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
}

.btn-massive {
    padding: 24px 64px;
    font-size: 1rem;
}

.footer-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 80px;
    border-bottom: 1px solid var(--glass-border);
}

.f-brand p {
    color: var(--text-secondary);
    margin-top: 24px;
    max-width: 300px;
    font-weight: 300;
}

.f-social {
    display: flex;
    gap: 15px;
    margin-top: 24px;
}

.f-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    /* Quitamos subrayado */
    font-size: 1.2rem;
    transition: all 0.4s var(--ease-out-expo);
}

.f-social a:hover {
    background: var(--aurora-1);
    border-color: var(--aurora-1);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 46, 147, 0.4);
}

.f-links,
.f-nav,
.f-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.f-nav a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 300;
    transition: all 0.3s var(--ease-out-expo);
    display: flex;
    align-items: center;
    gap: 8px;
}

.f-nav a:hover {
    color: var(--aurora-1);
    transform: translateX(8px);
}

.f-nav a i {
    color: white !important;
    font-size: 1rem;
    transition: 0.3s;
}

.f-nav a:hover i {
    transform: scale(1.2);
}

.footer-isotipo {
    width: 64px;
    height: auto;
    margin: 8px auto;
    /* Centrado automático para la imagen */
    border-radius: 12px;
}

.f-center {
    align-items: center;
    text-align: center;
}

.f-links h5,
.f-nav h5,
.f-contact h5 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: var(--aurora-1);
    margin-bottom: 16px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    /* Para que la linea abarque solo el texto */
    cursor: default;
}

.f-links h5::after,
.f-contact h5::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: white;
    /* Línea blanca interactiva */
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out-expo);
}

.f-links h5:hover::after,
.f-contact h5:hover::after {
    transform: scaleX(1);
}

.f-links a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.f-links a:hover {
    color: var(--aurora-1);
    padding-left: 8px;
}

.f-links p,
.f-contact p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.f-contact .contact-desc {
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.contact-item i {
    color: white !important;
    font-size: 1.1rem;
    margin-top: 4px;
}

.contact-item strong {
    color: white;
    font-weight: 500;
    margin-right: 4px;
}

.contact-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.contact-item:hover {
    transform: translateX(5px);
}

/* ==========================================================================
   FORMULARIO DE CONTACTO PREMIUM
   ========================================================================== */
.contact-form-card {
    max-width: 600px;
    margin: 40px auto 0;
    padding: 40px;
    border-radius: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
    width: 100%;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s var(--ease-out-expo);
    box-sizing: border-box;
}

.contact-form textarea {
    height: 120px;
    resize: none;
}

.contact-form select {
    appearance: none;
    cursor: pointer;
}

.contact-form select option {
    background: #030305;
    color: white;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--aurora-1);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(255, 46, 147, 0.2);
}

.contact-form .btn-massive {
    width: 100%;
    margin-top: 10px;
}

.f-legal {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }

    .card-diarios,
    .card-radios {
        grid-column: span 12;
    }

    .card-empresas,
    .card-tiendas {
        grid-column: span 6;
    }



    .portfolio-masonry {
        grid-template-columns: 1fr 1fr;
    }
}

/* ==========================================================================
   SISTEMA DE REVELADO (SCROLL REVEAL)
   ========================================================================== */
/* Los elementos empiezan visibles para seguridad */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

/* Solo si JS está cargado los ocultamos para la animación */
.js-active .reveal:not(.active) {
    opacity: 0;
    transform: translateY(30px);
    pointer-events: none;
}

.reveal.active {
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: all;
}

/* Delays para grillas */
.reveal-1 {
    transition-delay: 0.1s;
}

.reveal-2 {
    transition-delay: 0.2s;
}

.reveal-3 {
    transition-delay: 0.3s;
}

.reveal-4 {
    transition-delay: 0.4s;
}

/* ==========================================================================
   NAVEGACIÓN GLASSED (REAJUSTADA)
   ========================================================================== */
.navbar {
    position: fixed;
    top: 30px;
    width: 100%;
    z-index: 2000;
}

.nav-social {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-left: 20px;
}

.nav-social a {
    color: white;
    font-size: 1.4rem;
    transition: all 0.3s var(--ease-out-expo);
    display: flex;
    align-items: center;
    text-decoration: none;
    /* Quitamos subrayado en el header */
}

.nav-social a i {
    color: white !important;
}

.nav-social a:hover i {
    color: var(--aurora-1) !important;
}

.nav-glass {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 15, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 12px 32px;
    /* Restauramos padding original de escritorio */
    border-radius: 100px;
    position: relative;
    z-index: 3000;
    /* Aseguramos que el contenedor de los links sea superior al overlay */
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: white;
    text-decoration: none;
}

.logo-accent {
    color: transparent;
    -webkit-text-stroke: 1px white;
}

.nav-toggle {
    display: none;
    /* Oculto en escritorio */
    background: transparent;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    position: relative;
    z-index: 2100;
}

@media (max-width: 768px) {


    .navbar {
        top: 15px;
    }

    .nav-glass {
        padding: 10px 20px;
    }

    .logo {
        font-size: 1.4rem;
    }



    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        height: 100vh;
        background: #030305;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 25px;
        transform: translateX(100%);
        transition: transform 0.4s var(--ease-out-expo);
        border-left: 1px solid var(--glass-border);
        z-index: 3100;
        /* Superior al nav-glass para seguridad */
        padding-top: 60px;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 1.5rem;
        color: white !important;
        text-transform: capitalize;
        /* Más legible que todo en mayúsculas en móvil */
        letter-spacing: 0.05em;
        width: 100%;
        justify-content: center;
        padding: 10px;
    }

    .nav-links a i {
        font-size: 1.8rem;
        color: var(--aurora-1);
        /* Mantenemos el icono rosado brillante */
    }

    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.6);
        /* Un poco más claro para no ensuciar el diseño */
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
        z-index: 2500;
        /* Por debajo del menú y del logo */
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .section-title-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .card-empresas,
    .card-tiendas {
        grid-column: span 12;
    }



    .portfolio-masonry {
        grid-template-columns: 1fr;
    }

    .footer-massive-cta h2 {
        font-size: 2.2rem;
    }

    /* --- Contacto responsive --- */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-form-card {
        padding: 28px 20px;
    }

    .contact-visual-panel {
        gap: 24px;
    }

    .contact-orb-wrapper {
        width: 160px;
        height: 160px;
    }

    .orb-logo {
        width: 54px;
        height: 54px;
    }

    .ring-1 {
        width: 86px;
        height: 86px;
    }

    .ring-2 {
        width: 120px;
        height: 120px;
    }

    .ring-3 {
        width: 160px;
        height: 160px;
    }

    .dot-wa,
    .dot-fb,
    .dot-ig,
    .dot-mail {
        width: 28px;
        height: 28px;
    }

    .dot-wa {
        transform: translate(-50%, -50%) rotate(0deg) translateX(60px) rotate(0deg);
    }

    .dot-fb {
        transform: translate(-50%, -50%) rotate(90deg) translateX(60px) rotate(-90deg);
    }

    .dot-ig {
        transform: translate(-50%, -50%) rotate(180deg) translateX(60px) rotate(-180deg);
    }

    .dot-mail {
        transform: translate(-50%, -50%) rotate(270deg) translateX(60px) rotate(-270deg);
    }

    .orb-dot i {
        font-size: 0.8rem;
    }

    .contact-stats {
        gap: 10px;
    }

    .cstat-num {
        font-size: 1.7rem;
    }

    .cstat-plus {
        font-size: 1.2rem;
    }

    .cstat-item {
        padding: 12px 10px;
    }


    .contact-form .btn-massive {
        padding: 16px 24px;
        font-size: 0.9rem;
    }

    .footer-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .blob {
        filter: blur(80px);
    }

    .hero-layout {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .hero-radio-wrapper {
        width: 100%;
        max-width: 100%;
        margin-right: 0;
    }
}

/* ==========================================================================
   BOTONES DE NAVEGACIÓN VERTICAL (FLOAT)
   ========================================================================== */
.scroll-nav {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 4000;
}

.scroll-nav button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--aurora-1);
    /* Fondo rosado sólido */
    border: none;
    color: white !important;
    /* Flecha blanca pura */
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s var(--ease-out-expo);
    box-shadow: 0 4px 15px rgba(255, 46, 147, 0.3);
}

.scroll-nav button:hover {
    transform: translateY(-3px) scale(1.1);
    filter: brightness(1.2);
    box-shadow: 0 8px 25px rgba(255, 46, 147, 0.5);
}

.scroll-nav button i {
    color: white !important;
}

.nav-close {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 2.2rem;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3500;
}

.nav-close:hover {
    color: var(--aurora-1);
    transform: rotate(90deg);
}



@media (max-width: 768px) {
    .nav-close {
        display: block;
    }

    .scroll-nav {
        bottom: 20px;
        right: 20px;
    }

    .scroll-nav button {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   BOTÓN FLOTANTE WHATSAPP
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    left: 28px;
    width: 58px;
    height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 5000;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s var(--ease-out-expo), background 0.3s ease;
    will-change: transform;
}

/* Anillo de pulso — ::after con border, no relleno → no cubre el icóno */
.whatsapp-float::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid rgba(37, 211, 102, 0.8);
    background: transparent;
    animation: waPulse 2.5s ease-out infinite;
    will-change: transform, opacity;
    pointer-events: none;
}

.whatsapp-float i {
    font-size: 2rem;
    color: white !important;
    font-style: normal;
    line-height: 1;
    position: relative;
    z-index: 1;
}

/* Pulso compositor-friendly: solo transform + opacity */
@keyframes waPulse {
    0% {
        transform: scale(1);
        opacity: 0.9;
    }

    80% {
        transform: scale(2.3);
        opacity: 0;
    }

    100% {
        transform: scale(2.3);
        opacity: 0;
    }
}

/* Tooltip "¡Escríbenos!" */
.whatsapp-tooltip {
    position: absolute;
    left: 70px;
    background: rgba(10, 10, 15, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-8px);
    transition: all 0.3s var(--ease-out-expo);
    border: 1px solid rgba(37, 211, 102, 0.3);
    letter-spacing: 0.05em;
}

/* Flecha del tooltip */
.whatsapp-tooltip::before {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-right-color: rgba(37, 211, 102, 0.3);
}

/* Hover: agrandar y mostrar tooltip */
.whatsapp-float:hover {
    transform: scale(1.12) translateY(-3px);
    background: #20ba58;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.7);
    animation: none;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Mobile: sin tooltip, más pequeño */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 90px;
        left: 20px;
    }

    .whatsapp-float i {
        font-size: 1.7rem;
    }

    .whatsapp-tooltip {
        display: none;
    }
}