/* ===================================================
   CONTACTO PAGE — css/contacto.css
   Página: Contacto
   =================================================== */

.contact-section {
    padding: 70px 0 35px;
    background-color: var(--bg-white);
}

.contact-lead {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 40px;
}

.contact-grid {
    align-items: stretch; /* So form and image match conceptually */
}

/* Form Styles */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row p {
    display: flex;
    gap: 15px;
}

.form-row p input,
.form-row p textarea {
    flex: 1;
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #d3d3d3;
    border-radius: 8px;
    font-family: 'Mulish', sans-serif;
    font-size: 15px;
    color: #333;
    transition: border-color 0.3s ease;
}

.form-row p input::placeholder,
.form-row p textarea::placeholder {
    color: #999;
}

.form-row p input:focus,
.form-row p textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}
.mensaje .wpcf7-form-control-wrap{
    width:100%;
}
.form-row.mensaje p textarea {
    resize: vertical;
    min-height: 140px;
}

.form-submit {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.form-submit .btn {
    background-image: url('../../images/boton_icono_huevo.svg');
    background-position:28px 11px;
    background-repeat:no-repeat;
    border: none;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    padding-left: 60px;
    align-items: center;
    gap: 10px;
}

/* Location Section */
.location-section {
    padding: 35px 0;
    background-color: var(--bg-white);
}

.location-title {
    font-size: 36px;
    font-weight: 900;
    font-style: italic;
    color: #000;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.location-title span {
    color: var(--primary-green);
}

.location-schedule {
    font-size: 16px;
    color: #333;
    margin-bottom: 50px;
}

/* Info Row */
.contact-info-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.c-info-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.c-info-text p {
    margin: 0;
    color: #333;
    font-size: 15px;
    line-height: 1.5;
}

.c-info-text strong {
    font-weight: 800;
    color: #000;
}

/* Map */
.contact-map {
    width: 100%;
    height: 400px;
    border-radius: 14px;
    overflow: hidden;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.border-radius-14 {
    border-radius: 14px;
}

.page-template-contacto .sus-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.page-template-contacto .sus-image {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
}
.page-template-contacto .sus-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 900px) {
    .contact-info-row {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .page-template-contacto .sus-grid > .sus-image{
        order: -1;
    }
    .form-row p {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .page-template-contacto .contact-grid {
        align-items: stretch;
    }
    .page-template-contacto .sus-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .location-title {
        font-size: 20px;
    }
    
    .form-submit p {
        justify-content: stretch;
        width: 100%;
    }
    
    .form-submit p .btn {
        width: 100%;
        justify-content: center;
    }
}
