/* =========================================
   PÁGINA CONTACTO (CORREGIDA Y ESTANDARIZADA)
   ========================================= */

.hero-contact {
    background: linear-gradient(rgba(17, 24, 39, 0.85), rgba(17, 24, 39, 0.85)),
        url('https://images.unsplash.com/photo-1497366216548-37526070297c?ixlib=rb-4.0.3&auto=format&fit=crop&w=2400&q=80');
    background-size: cover;
    background-position: center;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 60px;
}

/* 2. TÍTULO DE SECCIÓN (El que pediste agregar) */
.section-header-wrapper {
    text-align: center;
    margin-top: 80px;
    /* Espacio arriba */
    margin-bottom: 20px;
    /* Espacio abajo antes del contenido */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

/* 3. CONTENEDOR PRINCIPAL */
.contact-container-standard {
    max-width: 1200px;
    margin: 40px auto 100px auto;
    /* Margen inferior amplio */
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    /* Sidebar | Formulario */
    gap: 60px;
    align-items: start;
}

/* 4. SIDEBAR (Tarjeta negra) */
.contact-info-card {
    background: #111;
    color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-top: 5px solid var(--accent, #c5a059);
    position: sticky;
    top: 100px;
}

.contact-eyebrow {
    color: var(--accent, #c5a059);
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 15px;
}

.contact-headline-small {
    font-size: 2rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
}

.contact-desc-small {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* OFICINAS */
.office-mini-item {
    margin-bottom: 25px;
}

.office-mini-title {
    color: #fff;
    font-weight: 700;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.office-mini-title svg {
    fill: var(--accent, #c5a059);
    width: 18px;
    margin-right: 10px;
}

.office-mini-address {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-left: 28px;
    line-height: 1.4;
}

.channel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.channel-item h4 {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
    margin-bottom: 5px;
}

.channel-item p {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

/* 5. FORMULARIO */
.form-side-wrapper {
    background: transparent;
}

.contact-form-wrapper {
    background: #fff;
    padding: 50px;
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
}

.form-header {
    margin-bottom: 30px;
}

.form-header h2 {
    font-size: 2.2rem;
    color: #111;
    margin-bottom: 10px;
    font-weight: 800;
}

.form-header p {
    color: #64748b;
}

/* INPUTS */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-col {
    flex: 1;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.3s;
    font-family: inherit;
    /* Ensure textarea inherits font */
}

.form-input:focus,
.form-textarea:focus {
    background: #fff;
    border-color: var(--accent, #c5a059);
    outline: none;
}

.form-textarea {
    height: 120px;
    resize: vertical;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #334155;
    font-size: 0.9rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0 30px;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.4;
}

.checkbox-group input {
    margin-top: 3px;
    accent-color: var(--accent, #c5a059);
}

.submit-btn {
    width: 100%;
    padding: 20px;
    background: var(--accent, #c5a059);
    color: #fff;
    border: none;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #b08d4b;
}

/* Responsive */
@media (max-width: 900px) {
    .contact-container-standard {
        grid-template-columns: 1fr;
        margin: 40px auto;
        gap: 40px;
    }

    .contact-info-card {
        position: static;
        order: 2;
    }

    .form-side-wrapper {
        order: 1;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-col {
        margin-bottom: 20px;
    }
}