/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Mar 26 2026 | 06:34:50 */
/* =========================================
   SECCIÓN: EL MAPA TÁCTICO (EL PUNTO DULCE)
   ========================================= */

.map-section {
    padding: 100px 5%;
    background-color: #020202; 
}

.map-title {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4vw, 3.5rem);
    text-align: center;
    margin-bottom: 60px;
    text-transform: uppercase;
}

.map-title span {
    color: var(--accent-color);
}

/* --- EL CONTENEDOR --- */
.map-wrapper {
    position: relative;
    width: 100%;
    height: 70vh; 
    border: 1px solid rgba(0, 243, 255, 0.2); 
    border-radius: 12px;
    overflow: hidden; 
    cursor: default;
    background: radial-gradient(circle at center, #0a1128 0%, #020202 100%);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.05), inset 0 0 40px #000;
}

.map-layer {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}

.map-grid-pattern {
    position: absolute;
    width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(0, 243, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px; 
}

.layer-base {
    z-index: 1;
    filter: blur(3px) brightness(0.4); 
    transition: filter 0.3s ease;
}

.layer-base .pain-point p {
    color: transparent; 
}

.layer-reveal {
    z-index: 2;
    background-color: rgba(5, 5, 5, 0.95); 
    /* El radio lo dicta el JS mediante --scan-size */
    clip-path: circle(var(--scan-size, 0px) at var(--mouse-x, 50%) var(--mouse-y, 50%));
    transition: clip-path 0.7s cubic-bezier(0.25, 1, 0.5, 1); 
    pointer-events: none;
}

.neon-grid {
    background-image: 
        linear-gradient(rgba(204, 255, 0, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(204, 255, 0, 0.15) 1px, transparent 1px);
    background-size: 50px 50px;
    filter: drop-shadow(0 0 5px rgba(204, 255, 0, 0.3));
}

/* --- PUNTOS DE DOLOR --- */
.points-container {
    position: relative;
    width: 100%; height: 100%;
    z-index: 3;
}

.pain-point {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    width: 380px;
    max-width: 85vw; /* Evita que el texto se salga en móviles */
    transform: translate(-50%, -50%); 
}

.pain-point .icon {
    font-size: 2.5rem; 
    filter: grayscale(100%);
    opacity: 0.4;
}

.pain-point p {
    font-size: 1.25rem; 
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
}

.layer-reveal .pain-point {
    transform: translate(-50%, -50%) scale(1.05);
}

.layer-reveal .pain-point .icon {
    font-size: 3rem; 
    filter: grayscale(0%);
    opacity: 1;
    animation: pulseNeon 2s infinite; 
}

.layer-reveal .pain-point p {
    color: #fff;
    font-size: 1.35rem; 
    text-shadow: 0 0 10px rgba(255,255,255,0.6);
}

.layer-reveal .pain-point strong {
    color: var(--accent-color); 
    font-weight: 700;
    text-shadow: 0 0 10px rgba(204, 255, 0, 0.5);
}

/* --- LUPA VISUAL (SINCRONIZADA) --- */
.scan-ring {
    position: absolute;
    z-index: 10;
    
    /* EL TRUCO: El tamaño es exactamente el doble del radio que manda el JS */
    width: calc(var(--scan-size, 0px) * 2); 
    height: calc(var(--scan-size, 0px) * 2);
    
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    pointer-events: none; 
    
    transform: translate(-50%, -50%);
    top: var(--mouse-y, 50%);
    left: var(--mouse-x, 50%);
    
    box-shadow: 0 0 30px rgba(204, 255, 0, 0.3), inset 0 0 30px rgba(204, 255, 0, 0.15);
    background: radial-gradient(circle, rgba(204,255,0,0.03) 0%, transparent 70%);
    
    opacity: 0;
    /* Incluimos width y height en la transición para que el cambio de tamaño sea suave */
    transition: opacity 0.3s ease, 
                top 0.7s cubic-bezier(0.25, 1, 0.5, 1), 
                left 0.7s cubic-bezier(0.25, 1, 0.5, 1),
                width 0.7s cubic-bezier(0.25, 1, 0.5, 1),
                height 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.map-wrapper.is-scanning .scan-ring {
    opacity: 1;
}

/* === PUNTOS DE SONAR INTERACTIVOS === */
.sonar-container {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 20;
    pointer-events: none;
}

.sonar-dot {
    position: absolute;
    width: 24px;
    height: 24px;
    background: var(--accent-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 0 15px var(--accent-color);
    transition: opacity 0.3s ease;
}

.sonar-dot::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 100%; height: 100%;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    box-sizing: border-box;
    animation: sonar-ping 2s infinite ease-out;
}

.map-wrapper.is-scanning .sonar-dot.active {
    opacity: 0;
    pointer-events: none;
}

/* =========================================
   RESPONSIVIDAD (SIN TAMAÑOS DE LUPA FIJOS)
   ========================================= */

@media (max-width: 1024px) {
    .map-wrapper { height: 60vh; }
    .pain-point { width: 300px; }
}

@media (max-width: 768px) {
    .map-section { padding: 60px 20px; }
    .map-wrapper { height: 500px; }

    .pain-point { width: 220px; }
    .pain-point .icon { font-size: 1.8rem; }
    .pain-point p { font-size: 1rem; }
    .layer-reveal .pain-point .icon { font-size: 2.2rem; }
    .layer-reveal .pain-point p { font-size: 1.1rem; }

    .sonar-dot { width: 30px; height: 30px; }
}

@media (max-width: 480px) {
    .map-title { font-size: 1.5rem; }
    .pain-point { width: 170px; }
}

/* ANIMACIONES */
@keyframes sonar-ping {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(4); opacity: 0; }
}

@keyframes pulseNeon {
    0% { filter: drop-shadow(0 0 2px var(--accent-color)); transform: scale(1); }
    50% { filter: drop-shadow(0 0 10px var(--accent-color)); transform: scale(1.05); }
    100% { filter: drop-shadow(0 0 2px var(--accent-color)); transform: scale(1); }
}

