/* ===== CSS PARA PÁGINA DE CONTACTO ===== */
/* Extra Rápido Los Motilones - Estilos exclusivos para contactenos.html */

:root {
    --rojo-corporativo: #e31e24;
    --rojo-oscuro: #b71c1c;
    --gris-oscuro: #111;
    --gris-medio: #333;
    --gris-claro: #f8f9fa;
    --texto-oscuro: #222;
    --texto-claro: #666;
    --sombra-suave: 0 15px 35px rgba(0,0,0,0.08);
    --sombra-intensa: 0 20px 40px rgba(227,30,36,0.15);
}

/* ===== HERO ===== */
.hero-contacto {
    background: linear-gradient(rgba(0,0,0,0.85), rgba(227,30,36,0.75)), url('../img/slidenu.jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-contacto::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1), transparent 70%);
}

.hero-contacto h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    position: relative;
    z-index: 2;
}

.hero-contacto p {
    font-size: 18px;
    font-weight: 300;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ===== SECCIÓN BOTONES TOP ===== */
.top-buttons-section {
    padding: 60px 0 30px;
    background: #ffffff;
}

.top-buttons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.top-button-card {
    text-align: center;
    padding: 25px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--sombra-suave);
    transition: all 0.3s;
    border: 1px solid rgba(227,30,36,0.1);
    text-decoration: none;
    color: var(--texto-oscuro);
    display: block;
}

.top-button-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--sombra-intensa);
    border-color: var(--rojo-corporativo);
    text-decoration: none;
    color: var(--rojo-corporativo);
}

.top-button-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    transition: transform 0.3s;
}

.top-button-card:hover img {
    transform: scale(1.1);
}

.top-button-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.top-button-card p {
    font-size: 14px;
    color: var(--texto-claro);
    margin: 0;
}

/* ===== SECCIÓN PRINCIPAL ===== */
.contacto-section {
    padding: 60px 0 80px;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
}

/* ===== FORMULARIO DE CONTACTO ===== */
.formulario-card {
    background: white;
    border-radius: 25px;
    padding: 35px;
    box-shadow: var(--sombra-intensa);
    border: 1px solid rgba(227,30,36,0.1);
    height: 100%;
}

.formulario-header {
    margin-bottom: 30px;
    border-bottom: 3px solid var(--rojo-corporativo);
    padding-bottom: 15px;
}

.formulario-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gris-oscuro);
}

.formulario-header h2 i {
    color: var(--rojo-corporativo);
    margin-right: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 600;
    color: var(--gris-oscuro);
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group label i {
    color: var(--rojo-corporativo);
    margin-right: 5px;
}

.form-control {
    height: 50px;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    padding: 10px 18px;
    font-size: 15px;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--rojo-corporativo);
    box-shadow: 0 0 0 0.2rem rgba(227,30,36,0.15);
    outline: none;
}

textarea.form-control {
    height: 120px;
    resize: vertical;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 25px 0;
    background: var(--gris-claro);
    padding: 15px;
    border-radius: 12px;
}

.checkbox-container input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--rojo-corporativo);
}

.checkbox-container a {
    color: var(--rojo-corporativo);
    text-decoration: none;
    font-weight: 500;
}

.checkbox-container a:hover {
    text-decoration: underline;
}

.g-recaptcha {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

.btn-enviar {
    background: var(--rojo-corporativo);
    color: white;
    border: none;
    padding: 16px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    width: 100%;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 20px rgba(227,30,36,0.3);
}

.btn-enviar:hover {
    background: var(--rojo-oscuro);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(227,30,36,0.4);
}

/* ===== TABLA DE OFICINAS ===== */
.oficinas-card {
    background: white;
    border-radius: 25px;
    padding: 35px;
    box-shadow: var(--sombra-intensa);
    border: 1px solid rgba(227,30,36,0.1);
}

.oficinas-header {
    margin-bottom: 30px;
    border-bottom: 3px solid var(--rojo-corporativo);
    padding-bottom: 15px;
}

.oficinas-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gris-oscuro);
}

.oficinas-header h2 i {
    color: var(--rojo-corporativo);
    margin-right: 10px;
}

.oficinas-intro {
    background: var(--gris-claro);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 25px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.oficinas-intro p {
    margin: 0;
    font-size: 16px;
    color: var(--texto-oscuro);
}

.oficinas-intro i {
    color: var(--rojo-corporativo);
    margin-right: 8px;
}

.table-responsive {
    border-radius: 15px;
    overflow: hidden;
}

.table {
    margin-bottom: 0;
}

.table thead th {
    background: var(--gris-oscuro);
    color: white;
    font-weight: 600;
    border: none;
    padding: 15px;
    font-size: 16px;
}

.table tbody tr {
    transition: all 0.3s;
}

.table tbody tr:hover {
    background: rgba(227,30,36,0.05);
    transform: scale(1.01);
}

.table tbody td {
    padding: 15px;
    vertical-align: middle;
    border-bottom: 1px solid #eee;
}

.table tbody td img {
    width: 25px;
    margin-left: 5px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .hero-contacto h1 {
        font-size: 38px;
    }
    
    .top-buttons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 20px;
    }
    
    .formulario-card, .oficinas-card {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .hero-contacto {
        padding: 60px 0;
    }
    
    .hero-contacto h1 {
        font-size: 32px;
    }
    
    .top-buttons-section {
        padding: 40px 0 20px;
    }
    
    .top-buttons-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .contacto-section {
        padding: 40px 0;
    }
    
    .formulario-card, .oficinas-card {
        padding: 25px;
    }
    
    .checkbox-container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-contacto h1 {
        font-size: 28px;
    }
    
    .hero-contacto p {
        font-size: 16px;
    }
    
    .table thead th {
        font-size: 14px;
        padding: 10px;
    }
    
    .table tbody td {
        font-size: 13px;
        padding: 10px;
    }
    
    .btn-enviar {
        font-size: 16px;
        padding: 14px;
    }
}