* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Animación suave en dispositivos PC*/
@media (hover: hover) {
    .jm-tarjeta-ventaja:hover {
        /* El efecto neón solo se activa en PC */
        transform: translateY(-5px);
        border-color: var(--color-principal);
    }
}

/*==============================================
    BANNER CONTACTO
================================================*/
.jm-banner-contacto {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    position: relative;
}

/* video de fondo*/
.contenedor-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

/* overlay oscuro */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.788);
    z-index: 0;
}

/* caja contenido banner */
.contenido-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 100px;
    width: 70%;
    padding: 20px;
}

/*etiqueta decorativa*/
.jm-badge-banner {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 600;
    color: #ccff0b;
    padding: 0.35rem 0.75rem;
    border-radius: 16px;
    margin-bottom: 1rem;
    display: inline-block;
}

/*titulo banner*/
.jm-banner-contacto h1 {
    color: #fff;
    font-size: 3.5rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

/*palabra esencial*/
.aurora {
    /* Colores estilo Aurora: Cian, Morado, Azul */
    background: linear-gradient(to right,
            #ccff0b,
            #fdfcff,
            #ccff0b,
            #7f7f7f);
    background-size: 300% auto;

    /* El recorte mágico */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

    /* Animación fluida */
    animation: aurora-flow 5s linear infinite;

    /* Importante para que la animación fluya bien */
}

/*animacion aurora*/
@keyframes aurora-flow {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 300% center;
    }
}

/*parrafo banner*/
.jm-banner-contacto p {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.jm-banner-contacto p span {
    color: #ccff0b;
}

@media screen and (max-width: 768px) {
    .contenido-banner {
        margin-top: 50px;
        width: 90%;
    }

    .jm-banner-contacto h1 {
        font-size: 2.5rem;
    }

}

/* --- SECCIÓN INTERACTIVA PRE-FORMULARIO --- */
.jm-introduccion-interactiva {
    background-image: linear-gradient(to bottom, rgba(104, 103, 103, 0.185), rgba(173, 173, 173, 0.212)), url(../imagenes/fondo-nosotros.webp);
    background-size: cover;
    background-position: center;
    padding: 80px 20px 40px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.jm-animacion-fondo {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    height: 100%;
    overflow: hidden;
}

.jm-animacion-fondo ul {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.jm-circles li {
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: #ccff0b;
    animation: jm-animate-circles 10s linear infinite;
    bottom: -150px;
}

.jm-circles li:nth-child(1) {
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}

.jm-circles li:nth-child(2) {
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 8s;
}

.jm-circles li:nth-child(3) {
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 3s;
}

.jm-circles li:nth-child(4) {
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 12s;
}

.jm-circles li:nth-child(5) {
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.jm-circles li:nth-child(6) {
    left: 90%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
    animation-duration: 15s;
}

.jm-circles li:nth-child(7) {
    left: 30%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}

.jm-circles li:nth-child(8) {
    left: 45%;
    width: 25px;
    height: 25px;
    animation-delay: 0s;
    animation-duration: 5s;
}

.jm-circles li:nth-child(9) {
    left: 15%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 5s;
}

.jm-circles li:nth-child(10) {
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 12s;
}

/*Animacion circular*/
@keyframes jm-animate-circles {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100% {
        transform: translateY(-3000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }
}

/* --- CAJA CONTENIDO INTRO --- */
.jm-bloque-central-intro {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/*Mini titulo*/
.jm-mini-titulo {
    color: #ccff0b;
    font-size: 0.8rem;
    background-color: #363535a6;
    padding: 10px 30px;
    border-radius: 30px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: inline-block;
}

/*titulo */
.jm-bloque-central-intro h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 10px 0 20px 0;
}

/*parrafo intro*/
.jm-bloque-central-intro p {
    color: var(--jm-texto-gris);
    font-size: 1.05rem;
    line-height: 1.7;
    font-weight: 600;
    margin-bottom: 50px;
}

/*Grilla de tarjetas*/
.jm-grid-ventajas-contacto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

/*tarjeta de ventaja*/
.jm-tarjeta-ventaja {
    background-color: rgba(54, 53, 53, 0.74);
    border: 2px solid rgba(39, 39, 39, 0.671);
    padding: 30px 20px;
    border-radius: 12px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

/*efecto hover*/
.jm-tarjeta-ventaja:hover {
    transform: translateY(-5px);
    border: 2px solid #ccff0b;
}

/*icono*/
.jm-tarjeta-ventaja i {
    font-size: 2rem;
    color: #ccff0b;
    margin-bottom: 15px;
}

.jm-tarjeta-ventaja h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.jm-tarjeta-ventaja p {
    font-size: 0.9rem;
    color: #fdfcff;
    font-weight: 400;
    margin: 0;
    line-height: 1.4;
}



/*---------- CONTATO JM MULTISERVICIOS ----------*/
.jm-contacto-seccion {
    background-position: center;
    background-repeat: no-repeat;
    color: var(--jm-texto-blanco);
    padding: 100px 20px;
    font-family: 'Montserrat', sans-serif;
    overflow: hidden;
    position: relative;
}

.jm-contacto-contenedor {
    max-width: 1200px;
    margin: 0 auto;
    display: table;
    width: 100%;
}

/*---------------- Columna del formulario ----------------*/
.jm-contacto-col-form,
.jm-contacto-col-info {
    display: table-cell;
    width: 60%;
    vertical-align: top;
    padding: 0 25px;
    box-sizing: border-box;
}

/*contenedor de nombre y apellido*/
.jm-form-grupo {
    margin-bottom: 22px;
    position: relative;
}

/*filas dobles*/
.jm-form-fila-doble {
    display: table;
    width: 100%;
    margin-bottom: 10px;
}

/*grupo de inputs*/
.jm-form-fila-doble .jm-form-grupo {
    display: table-cell;
    width: 50%;
}

/*separacion de inputs*/
.jm-form-fila-doble .jm-form-grupo:first-child {
    padding-right: 12px;
}

/*separacion de inputs*/
.jm-form-fila-doble .jm-form-grupo:last-child {
    padding-left: 12px;
}

/*etiqueta del formulario*/
.jm-form-grupo label {
    display: block;
    text-align: left;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #272727;
}

/*contenedor de inputs*/
.jm-input-contenedor {
    position: relative;
    background-color: #3d3d3dd5;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

input::placeholder {
    color: #ffffffab;
}

/*icono del input iconos*/
.jm-input-contenedor i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #ccff0b;
    font-size: 1rem;
    transition: color 0.3s ease;
}

/*textarea*/
.jm-textarea-contenedor i {
    top: 20px;
    transform: none;
}

/*inputs*/
.jm-input-contenedor input,
.jm-input-contenedor select,
.jm-input-contenedor textarea {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 14px 15px 14px 45px;
    color: #fffffff0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    box-sizing: border-box;
}

.jm-input-contenedor select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

/* Opciones del select oscurecidas */
.jm-input-contenedor select option,
.jm-input-contenedor select optgroup {
    background-color: #363636;
    color: #ccff0b;
}

/* texto de los inputs */
.jm-input-contenedor textarea {
    resize: none;
}

/* Estados de interacción e inputs válidos/inválidos */
.jm-input-contenedor:hover {
    border-color: rgba(255, 255, 255, 0.377);
}

/*inputs enfocados */
.jm-form-grupo.enfocado .jm-input-contenedor {
    border-color: var(--color-principal);
    box-shadow: 0 0 15px #27272741;
}

.jm-form-grupo.enfocado i {
    color: var(--color-principal);
}

/*inputs invalidos */
.jm-form-grupo.invalido .jm-input-contenedor {
    border-color: #f70000;
    box-shadow: 0 0 10px rgba(255, 51, 51, 0.1);
}

.jm-form-grupo.invalido i {
    color: var(--jm-rojo-error);
}

/* Mensajes de error ocultos por defecto */
.jm-error-mensaje {
    color: #f70000;
    font-size: 0.78rem;
    font-weight: 500;
    margin-top: 6px;
    display: none;
}

.jm-form-grupo.invalido .jm-error-mensaje {
    display: block;
}

.jm-textarea-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 6px;
}

textarea::placeholder {
    color: #ffffffb4 !important;
}

#jm-contador-caracteres {
    font-size: 0.78rem;
    color: rgb(44, 44, 44);
    font-weight: 600;
    white-space: nowrap;
    margin-left: auto;
}

/* --- BOTÓN DE ENVÍO PREMIUM --- */
.jm-btn-formulario {
    width: 100%;
    background-color: #caff0b;
    color: #000000;
    border: none;
    border-radius: 6px;
    padding: 16px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*efecto del boton de enviar */
.jm-btn-formulario:hover:not(:disabled) {
    background-color: #ffffff;
    box-shadow: 0 10px 25px rgba(64, 65, 64, 0.664);
    transform: translateY(-2px);
}

/*boton de formulario deshabilitado */
.jm-btn-formulario:disabled {
    background-color: #000000c4;
    color: #bbbdb8;
    cursor: not-allowed;
    border: 1px solid rgba(204, 255, 11, 0.05);
}


/*loader de carga */
.jm-loader {
    width: 20px;
    height: 20px;
    border: 3px solid #000000;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: jm-rotar 0.6s linear infinite;
    position: absolute;
    display: none;
}

/*ocultar texto cuando se esta procesando*/
.jm-btn-formulario.procesando .jm-btn-texto {
    visibility: hidden;
    opacity: 0;
}

/*mostrar loader cuando se esta procesando*/
.jm-btn-formulario.procesando .jm-loader {
    display: block;
}

/*animacion de rotacion del loader*/
@keyframes jm-rotar {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* --- COLUMNA DERECHA: TARJETAS INFORMATIVAS --- */
.jm-info-tarjeta-corporativa {
    background-color: #000000;
    border: 1px solid rgba(255, 255, 255, 0.295);
    border-radius: 12px;
    padding: 35px;
    margin-bottom: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/*titulo de la tarjeta*/
.jm-info-tarjeta-corporativa h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 5px;
    color: #caff0b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/*subtitulo de la tarjeta*/
.jm-info-subtitulo {
    color: #cacaca;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

/*contenedor de informacion de contacto*/
.jm-info-lista-items {
    display: block;
}

/*enlace de informacion de contacto*/
.jm-info-item-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

jm-info-item-link:last-child {
    margin-bottom: 0;
}

/*efecto del enlace de informacion de contacto*/
a.jm-info-item-link:hover {
    transform: translateX(5px);
}

/*caja de iconos de informacion de contacto*/
.jm-info-icono-caja {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 18px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

/*icono de informacion de contacto*/
.jm-info-icono-caja i {
    color: var(--color-principal);
    font-size: 1.2rem;
}

/*caja de iconos de informacion de contacto estilo whatsapp*/
.jm-info-icono-caja.wa-style {
    background-color: rgba(37, 211, 101, 0.24);
    border-color: rgba(37, 211, 102, 0.2);
}

/*icono de informacion de contacto estilo whatsapp*/
.jm-info-icono-caja.wa-style i {
    color: #25d366;
}

/*efecto del icono de informacion de contacto*/
a.jm-info-item-link:hover .jm-info-icono-caja {
    border-color: #25d366;
    box-shadow: 0 0 10px #25d366;
}

/*texto de la caja de informacion de contacto*/
.jm-info-texto-caja span {
    display: block;
    font-size: 0.9rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 3px;
    text-align: left;
}

/*texto de la caja de informacion de contacto*/
.jm-info-texto-caja p {
    margin: 0;
    font-size: 0.85rem;
    color: #9e9e9e;
    line-height: 1.5;
    font-weight: 500;
    text-align: left;
}

@media (max-width: 768px) {
    .jm-contacto-seccion {
        padding: 0;
        width: 95vw;
    }

    .jm-contacto-contenedor {
        padding: 0;
    }

    .jm-info-tarjeta-corporativa {
        padding: 0;
        width: 100%;
    }

    .jm-contacto-col-form,
    .jm-contacto-col-info {
        width: 100%;
        float: none;
        margin-bottom: 0;
    }

    .jm-contacto-col-info {
        margin-top: 40px;
        padding: 35px 25px;
    }

    .jm-contacto-titulo {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .jm-contacto-intro {
        font-size: 0.9rem;
    }

    .jm-form-input,
    .jm-form-select,
    .jm-form-textarea {
        font-size: 0.85rem;
    }

    .jm-contacto-seccion {
        padding: 60px 15px;
    }

}

/* --- BLOQUE: MAPA INTERACTIVO --- */
.jm-mapa-marco {
    position: relative;
    width: 100%;
    height: 280px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/*estilo de mapa oscuro premium*/
.jm-mapa-marco iframe {
    filter: grayscale(1) invert(0.92) contrast(1.1);

}

/*capa de boton de direcciones*/
.jm-mapa-overlay-boton {
    position: absolute;
    bottom: 15px;
    right: 15px;
    z-index: 10;
}

/*boton de direcciones*/
.jm-btn-direcciones {
    background-color: #0b0f17;
    color: #ffffff;
    border: 1px solid rgba(204, 255, 11, 0.3);
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

/*icono de boton de direcciones*/
.jm-btn-direcciones i {
    color: var(--color-principal);
}

/*boton de direcciones al hacer hover*/
.jm-btn-direcciones:hover {
    background-color: #2b2a2a;
    color: var(--color-principal);
    border-color: var(--color-principal);
}

.jm-mapa-contenedor-wrapper h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 5px;
    color: #141414;
    text-transform: uppercase;
    letter-spacing: 0.5px;

}

/* --- RESPONSIVE DESIGN (UX DE ALTO NIVEL) --- */
@media (max-width: 1024px) {

    .jm-contacto-col-form,
    .jm-contacto-col-info {
        padding: 0 15px;
    }

    .jm-form-encabezado h2 {
        font-size: 1.9rem;
    }
}

@media (max-width: 768px) {
    .jm-contacto-contenedor {
        display: block;
    }

    .jm-contacto-col-form,
    .jm-contacto-col-info {
        display: block;
        width: 100%;
        padding: 0;
    }

    .jm-contacto-col-info {
        margin-top: 50px;
    }

    .jm-info-item-link {
        padding: px;
    }


    .jm-mapa-marco {
        height: 320px;
    }
}

@media (max-width: 480px) {
    .jm-contacto-section {
        padding: 50px 15px;
    }

    .jm-form-fila-doble {
        display: block;
    }

    .jm-form-fila-doble .jm-form-grupo {
        display: block;
        width: 100%;
        padding: 0 !important;
    }

    .jm-form-encabezado h2 {
        font-size: 1.6rem;
    }

    .jm-info-tarjeta-corporativa {
        padding: 22px;
    }
}