/* ========================================
   CONTACTO EVOLED
======================================== */

.evo-contact {
    position: relative;
    padding: 100px 15px;
    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(220, 0, 0, 0.18),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #050505 0%,
            #111111 55%,
            #1c1c1c 100%
        );
    overflow: hidden;
}

.evo-contact::before {
    content: "";
    position: absolute;
    top: -160px;
    right: -130px;
    width: 420px;
    height: 420px;
    border: 70px solid rgba(255, 255, 255, 0.025);
    border-radius: 50%;
}

.evo-contact::after {
    content: "";
    position: absolute;
    bottom: -190px;
    left: -150px;
    width: 430px;
    height: 430px;
    border: 75px solid rgba(220, 0, 0, 0.035);
    border-radius: 50%;
}

.evo-contact .container {
    position: relative;
    z-index: 2;
    max-width: 1170px;
    margin: 0 auto;
}

.evo-contact__panel {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    overflow: hidden;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

/* ========================================
   LADO IZQUIERDO
======================================== */

.evo-contact__info {
    padding: 70px 65px;
}

.evo-contact__tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: #d60000;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.evo-contact__tag::before {
    content: "";
    width: 32px;
    height: 3px;
    background: #d60000;
}

.evo-contact__info h2 {
    max-width: 560px;
    margin: 0 0 20px;
    color: #111111;
    font-size: 44px;
    font-weight: 800;
    line-height: 1.12;
}

.evo-contact__intro {
    max-width: 570px;
    margin: 0 0 38px;
    color: #666666;
    font-size: 16px;
    line-height: 1.8;
}

.evo-contact__list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.evo-contact__item {
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 16px 18px;
    color: #222222;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 11px;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

a.evo-contact__item:hover {
    color: #222222;
    border-color: #d60000;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
    transform: translateX(5px);
}

.evo-contact__item-icon {
    display: flex;
    flex: 0 0 50px;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: #ffffff;
    font-size: 18px;
    background: #151515;
    border-radius: 10px;
    transition:
        background 0.25s ease,
        box-shadow 0.25s ease;
}

a.evo-contact__item:hover .evo-contact__item-icon {
    background: linear-gradient(135deg, #ff2b2b, #a90000);
    box-shadow: 0 0 18px rgba(220, 0, 0, 0.3);
}

.evo-contact__item-text {
    min-width: 0;
}

.evo-contact__item-text small {
    display: block;
    margin-bottom: 3px;
    color: #999999;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.evo-contact__item-text strong {
    display: block;
    color: #222222;
    font-size: 15px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

/* ========================================
   LADO DERECHO
======================================== */

.evo-contact__action {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 65px 45px;
    color: #ffffff;
    text-align: center;
    background:
        radial-gradient(
            circle at center,
            rgba(125, 0, 0, 0.12),
            transparent 52%
        ),
        linear-gradient(
            145deg,
            #171717 0%,
            #050505 100%
        );
}

/* Línea roja superior */

.evo-contact__line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    overflow: hidden;
    background: linear-gradient(
        90deg,
        #700000,
        #e00000,
        #ff3b3b,
        #e00000,
        #700000
    );
    box-shadow:
        0 0 12px rgba(255, 0, 0, 0.55),
        0 0 25px rgba(255, 0, 0, 0.25);
}

.evo-contact__line::after {
    content: "";
    position: absolute;
    top: 0;
    left: -35%;
    width: 30%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.9),
        transparent
    );
    animation: evoLineScan 4s ease-in-out infinite;
}

/* ========================================
   LOGO WHATSAPP TIPO LED
======================================== */

.evo-contact__whatsapp-icon {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 95px;
    height: 95px;
    margin-bottom: 28px;
    color: #ffffff;
    font-size: 46px;
    background:
        radial-gradient(
            circle at 35% 30%,
            #ff9b9b 0%,
            #ff3d3d 18%,
            #d40000 52%,
            #650000 100%
        );
    border: 2px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    box-shadow:
        0 0 8px rgba(255, 0, 0, 0.9),
        0 0 18px rgba(255, 0, 0, 0.7),
        0 0 35px rgba(255, 0, 0, 0.45),
        0 0 65px rgba(255, 0, 0, 0.25),
        inset 0 3px 8px rgba(255, 255, 255, 0.2),
        inset 0 -8px 16px rgba(70, 0, 0, 0.45);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

/* Mantiene el icono blanco encima del resplandor */

.evo-contact__whatsapp-icon i {
    position: relative;
    z-index: 3;
}

/* Resplandor pulsante */

.evo-contact__whatsapp-icon::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    width: 135%;
    height: 135%;
    background:
        radial-gradient(
            circle,
            rgba(255, 0, 0, 0.42) 0%,
            rgba(255, 0, 0, 0.18) 45%,
            transparent 72%
        );
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0.85);
    animation: evoPulse 2.2s ease-out infinite;
}

/* Reflejo brillante del LED */

.evo-contact__whatsapp-icon::after {
    content: "";
    position: absolute;
    z-index: 2;
    top: 15px;
    left: 20px;
    width: 30px;
    height: 17px;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    filter: blur(2px);
    transform: rotate(-25deg);
}

.evo-contact__whatsapp-icon:hover {
    transform: scale(1.08);
    box-shadow:
        0 0 12px rgba(255, 40, 40, 1),
        0 0 28px rgba(255, 0, 0, 0.8),
        0 0 55px rgba(255, 0, 0, 0.55),
        0 0 95px rgba(255, 0, 0, 0.35),
        inset 0 3px 8px rgba(255, 255, 255, 0.25),
        inset 0 -8px 16px rgba(70, 0, 0, 0.45);
}

/* ========================================
   TEXTOS DEL LADO DERECHO
======================================== */

.evo-contact__action-label {
    margin-bottom: 9px;
    color: #f12626;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.evo-contact__action h3 {
    max-width: 380px;
    margin: 0 0 17px;
    color: #ffffff;
    font-size: 31px;
    font-weight: 800;
    line-height: 1.25;
}

.evo-contact__action p {
    max-width: 350px;
    margin: 0 0 28px;
    color: #c8c8c8;
    font-size: 15px;
    line-height: 1.75;
}

/* ========================================
   BOTÓN ROJO
======================================== */

.evo-contact__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 225px;
    padding: 15px 27px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    background: linear-gradient(
        135deg,
        #ff2b2b 0%,
        #d10000 48%,
        #a90000 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    box-shadow:
        0 10px 25px rgba(220, 0, 0, 0.3),
        0 0 20px rgba(220, 0, 0, 0.12);
    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.evo-contact__button:hover {
    color: #ffffff;
    text-decoration: none;
    background: linear-gradient(
        135deg,
        #ff5555 0%,
        #e00000 50%,
        #bd0000 100%
    );
    box-shadow:
        0 12px 32px rgba(220, 0, 0, 0.48),
        0 0 28px rgba(255, 0, 0, 0.22);
    transform: translateY(-4px);
}

.evo-contact__button:focus {
    color: #ffffff;
    text-decoration: none;
    outline: 3px solid rgba(255, 70, 70, 0.35);
    outline-offset: 4px;
}

.evo-contact__number {
    margin-top: 18px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* ========================================
   ANIMACIONES
======================================== */

@keyframes evoPulse {
    0% {
        opacity: 0.65;
        transform: translate(-50%, -50%) scale(0.82);
    }

    55% {
        opacity: 0.25;
        transform: translate(-50%, -50%) scale(1.12);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.35);
    }
}

@keyframes evoLineScan {
    0%,
    25% {
        left: -35%;
    }

    65%,
    100% {
        left: 110%;
    }
}

/* ========================================
   TABLET
======================================== */

@media (max-width: 900px) {
    .evo-contact {
        padding: 70px 15px;
    }

    .evo-contact__panel {
        grid-template-columns: 1fr;
    }

    .evo-contact__info {
        padding: 52px 38px;
    }

    .evo-contact__info h2 {
        font-size: 37px;
    }

    .evo-contact__action {
        padding: 62px 35px;
    }
}

/* ========================================
   CELULAR
======================================== */

@media (max-width: 520px) {
    .evo-contact {
        padding: 50px 12px;
    }

    .evo-contact__panel {
        border-radius: 14px;
    }

    .evo-contact__info {
        padding: 42px 23px;
    }

    .evo-contact__info h2 {
        font-size: 30px;
    }

    .evo-contact__intro {
        font-size: 15px;
    }

    .evo-contact__item {
        align-items: flex-start;
        padding: 14px;
    }

    .evo-contact__item-icon {
        flex-basis: 46px;
        width: 46px;
        height: 46px;
    }

    .evo-contact__item-text strong {
        font-size: 14px;
    }

    .evo-contact__action {
        padding: 55px 24px 50px;
    }

    .evo-contact__whatsapp-icon {
        width: 86px;
        height: 86px;
        font-size: 42px;
    }

    .evo-contact__action h3 {
        font-size: 27px;
    }

    .evo-contact__button {
        width: 100%;
        min-width: 0;
    }
}

/* ========================================
   ACCESIBILIDAD:
   DESACTIVA ANIMACIONES SI EL USUARIO
   TIENE REDUCCIÓN DE MOVIMIENTO
======================================== */

@media (prefers-reduced-motion: reduce) {
    .evo-contact__whatsapp-icon::before,
    .evo-contact__line::after {
        animation: none;
    }

    .evo-contact__item,
    .evo-contact__button,
    .evo-contact__whatsapp-icon {
        transition: none;
    }
}