/* ==========================================
   CONTACT PAGE
========================================== */
#contacto {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ------------------------------------------
   Page Header
------------------------------------------ */
#contacto .section-header {
    text-align: center;
    margin-bottom: 50px;
}

#contacto .section-header h1 {
    font-size: 42px;
    color: #b00000;
    text-transform: uppercase;
    margin-bottom: 15px;
}

#contacto .section-header p {
    font-size: 18px;
    color: #666;
}

/* ------------------------------------------
   Layout
------------------------------------------ */
.contact-container {
    width: 900px;
    margin: auto;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* ==========================================
   LEFT COLUMN
========================================== */
.contact-info {
    flex: 1;
    border: 1px solid #ddd;
    background: #fafafa;
    padding: 35px;
}

.contact-info h2 {
    color: #b00000;
    margin-bottom: 30px;
    font-size: 28px;
}

.info-item {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-item h3 {
    color: #222;
    margin-bottom: 10px;
    font-size: 18px;
}

.info-item p {
    color: #555;
    line-height: 1.7;
}

.info-item a {
    color: #b00000;
}

.info-item a:hover {
    text-decoration: underline;
}

/* ==========================================
   RIGHT COLUMN
========================================== */
.contact-form {
    flex: 2;
    border: 1px solid #ddd;
    padding: 35px;
    background: white;
}

.contact-form h2 {
    color: #b00000;
    margin-bottom: 30px;
    font-size: 28px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    width: 94%;
    padding: 12px;
    border: 1px solid #ccc;
    font-size: 15px;
    font-family: inherit;
    transition: border-color .2s;
}

.contact-form textarea {
    resize: vertical;
    min-height: 180px;
}

.contact-form select {
    width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #b00000;
}

.contact-form button {
    width: fit-content;
    padding: 14px 35px;
    background: #b00000;
    color: white;
    border: none;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background .2s;
}

.contact-form button:hover {
    background: #8a0000;
}

/* ========================================
    MODAL
=====================================*/
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    width: 400px;
    max-width: 90%;
}

/* ==========================================
   MAP (future use)
========================================== */
#mapa {
    margin-top: 70px;
}

#mapa h2 {
    text-align: center;
    color: #b00000;
    margin-bottom: 25px;
}

.map-placeholder {
    height: 420px;
    background: #efefef;
    border: 1px solid #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #777;
    font-size: 22px;
}

/* ==========================================
   Responsive
========================================== */
@media screen and (max-width: 500px) {
    #contacto {
        padding: 0 20px;
    }

    .contact-container {
        flex-direction: column;
    }

    #contacto .section-header h1 {
        font-size: 34px;
    }

    .contact-info,
    .contact-form {
        width: 100%;
        padding: 25px;
    }

    .contact-form button {
        width: 100%;
    }
}