/* VARIABLES CORPORATIVAS */
:root {
    --color-secondary: #D20A11;
}


/* Estilos adicionales para la vista de Resultados */
img-fluid {
    width: 120px;
    height: 200px;
}


/* Tabla de resultados */
.table-responsive {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.table {
    margin-bottom: 0;
    background: white;
}

    .table th {
        border: none;
        padding: 15px;
        font-weight: 600;
        font-family: "Shojumaru", system-ui;
        font-size: 0.9rem;
    }

    .table td {
        padding: 15px;
        border-color: #f1f3f4;
        vertical-align: middle;
    }

    .table tbody tr {
        transition: var(--transition);
    }

        .table tbody tr:hover {
            background-color: rgba(217, 37, 52, 0.05);
            transform: translateX(5px);
        }

/* Estilos para selects en formularios */
.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
    background: #fff;
}

    .form-control:focus {
        border-color: #D92534;
        box-shadow: 0 0 0 0.2rem rgba(217, 37, 52, 0.25);
        outline: none;
    }

/* Mejoras responsive para la tabla */
@media (max-width: 768px) {
    .table th,
    .table td {
        padding: 10px 8px;
        font-size: 0.85rem;
    }

    .contact-box {
        padding: 25px 20px;
    }
}

@media (max-width: 576px) {
    .table {
        font-size: 0.8rem;
    }

        .table th,
        .table td {
            padding: 8px 5px;
        }

    .contact-hero-title {
        font-size: 1.8rem;
    }

    .contact-hero-subtitle {
        font-size: 1rem;
    }
}


/*titulo de la seccion*/
.contact-section h2 {
    font-size: 40px;
    font-weight: bold;
    color: var(--color-secondary);
    position: relative;
    padding-bottom: 15px;
    text-align-last: center;
}

/**Video de la seccion**/


.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 15px; /* opcional, se ve moderno */
}

    .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }







/*boton Flotante*/
.flotante {
    position: fixed;
    bottom: 60px;
    right: 80px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}


.btn-flotante {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #1e5ec9;
    color: white;
    border: none;
    padding: 14px 22px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
    cursor: pointer;
    transition: all .3s ease;
    animation: pulso 2.5s infinite;
}

    .btn-flotante i {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: rgba(255,255,255,0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        transition: all .3s ease;
    }

    .btn-flotante:hover {
        background: #d20a11;
        transform: translateY(-5px) scale(1.05);
        box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    }

        .btn-flotante:hover i {
            background: rgba(255,255,255,0.3);
            transform: rotate(10deg) scale(1.1);
        }

.flotante {
    position: fixed;
    bottom: 60px;
    right: 80px;
    z-index: 9999;
}

.ondas-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.onda {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 3px solid #1e5ec9;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: expand-ring 2s ease-out infinite;
    opacity: 0;
}

.onda-2 {
    animation-delay: 1s;
    border-color: #ff6b35;
}

@keyframes expand-ring {
    0% {
        width: 60px;
        height: 60px;
        opacity: 0.8;
    }

    100% {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

.btn-flotante {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #1e5ec9;
    color: white;
    border: none;
    padding: 14px 22px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
    cursor: pointer;
    transition: all .3s ease;
}

