/* ==========================================================================
   SIBENITO THEME - ESTILOS DE LA PLANTILLA DE CONTACTO
   ========================================================================== */

.sibenito-contact-page {
    padding-top: 40px;
    padding-bottom: 70px;
    background-color: #ffffff;
}

.sibenito-contact-page .contact-main-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
    max-width: var(--container-width, 1320px);
    margin: 0 auto;
    padding-left: var(--padding-x, 15px);
    padding-right: var(--padding-x, 15px);
    box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   1. TARJETAS DE INFORMACIÓN RÁPIDA (GRID DE 4 COLUMNAS)
   -------------------------------------------------------------------------- */
.sibenito-contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

.sibenito-contact-card {
    background: #fbfbfb;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 25px 20px;
    display: flex;
    align-items: center;
    gap: 18px;
    transition: all 0.3s ease;
}

.sibenito-contact-card:hover {
    border-color: #111111;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.contact-card-icon {
    width: 52px;
    height: 52px;
    background: #111111;
    color: var(--gn-accent-color, #f8cb3a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.sibenito-contact-card:hover .contact-card-icon {
    background: var(--gn-accent-color, #f8cb3a);
    color: #111111;
}

.contact-card-info h4 {
    font-family: var(--gn-font-headings, 'Syne', sans-serif);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #111111;
    margin: 0 0 5px 0;
    letter-spacing: 0.5px;
}

.contact-card-info p {
    font-size: 14px;
    color: #555555;
    margin: 0;
    line-height: 1.4;
}

.contact-card-info p a {
    color: #111111;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.contact-card-info p a:hover {
    color: var(--gn-accent-color, #f8cb3a);
}

/* --------------------------------------------------------------------------
   2. DOS COLUMNAS: FORMULARIO DE CONTACTO + INFORMACIÓN ADICIONAL
   -------------------------------------------------------------------------- */
.sibenito-contact-two-cols {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    width: 100%;
}

/* COLUMNA IZQUIERDA: FORMULARIO */
.sibenito-contact-form-col {
    flex: 1 1 60%;
    width: 60%;
}

.contact-form-box {
    background: #ffffff;
    border: 1px solid #111111;
    border-radius: 10px;
    padding: 35px 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.contact-box-title {
    font-family: var(--gn-font-headings, 'Syne', sans-serif);
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    color: #111111;
    margin: 0 0 8px 0;
    letter-spacing: 0.5px;
}

.contact-box-subtitle {
    font-size: 14px;
    color: #666666;
    margin: 0 0 25px 0;
    line-height: 1.5;
}

.sibenito-contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row-pair {
    display: flex;
    gap: 20px;
}

.form-row-pair .form-row {
    flex: 1;
    margin: 0;
}

.sibenito-contact-form .form-row {
    display: flex;
    flex-direction: column;
    margin: 0;
}

.sibenito-contact-form label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #111111;
    margin-bottom: 6px;
    display: block;
}

.sibenito-contact-form label .required {
    color: #d9534f;
}

.sibenito-contact-form label .optional {
    color: #888888;
    font-weight: 400;
    text-transform: none;
    font-size: 12px;
}

.sibenito-contact-form input.input-text,
.sibenito-contact-form textarea.input-text {
    width: 100%;
    height: 45px;
    padding: 0 15px;
    background: #fbfbfb;
    border: 1px solid #cccccc;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    color: #111111;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.sibenito-contact-form textarea.input-text {
    height: auto;
    padding-top: 12px;
    padding-bottom: 12px;
    resize: vertical;
}

.sibenito-contact-form input.input-text:focus,
.sibenito-contact-form textarea.input-text:focus {
    background: #ffffff;
    border-color: #111111;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

.sibenito-btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 50px;
    padding: 0 35px;
    background: #111111;
    color: #ffffff;
    font-family: var(--gn-font-headings, 'Syne', sans-serif);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #111111;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.sibenito-btn-submit:hover {
    background: var(--gn-accent-color, #f8cb3a);
    color: #111111;
    border-color: var(--gn-accent-color, #f8cb3a);
}

.sibenito-contact-response {
    padding: 15px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    margin-top: 10px;
}

.sibenito-contact-response.success {
    background-color: #e8f8f0;
    color: #1e7e34;
    border: 1px solid #c3e6cb;
}

.sibenito-contact-response.error {
    background-color: #fdf2f2;
    color: #d9534f;
    border: 1px solid #f5c6cb;
}

/* COLUMNA DERECHA: INFO Y WHATSAPP */
.sibenito-contact-info-col {
    flex: 1 1 40%;
    width: 40%;
}

.contact-info-card {
    background: #fbfbfb;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-info-title {
    font-family: var(--gn-font-headings, 'Syne', sans-serif);
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    color: #111111;
    margin: 0;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.contact-info-desc {
    font-size: 14px;
    color: #555555;
    line-height: 1.6;
    margin: 0;
}

.contact-whatsapp-box {
    background: #ffffff;
    border: 2px solid #25d366;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.whatsapp-icon {
    font-size: 32px;
    color: #25d366;
    flex-shrink: 0;
}

.whatsapp-details h5 {
    font-family: var(--gn-font-headings, 'Syne', sans-serif);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    color: #111111;
    margin: 0 0 5px 0;
}

.whatsapp-details p {
    font-size: 13px;
    color: #666666;
    margin: 0 0 15px 0;
}

.sibenito-btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: #25d366;
    color: #ffffff;
    font-family: var(--gn-font-headings, 'Syne', sans-serif);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.sibenito-btn-whatsapp:hover {
    background: #128c7e;
    color: #ffffff;
    transform: translateX(3px);
}

.contact-social-section h4 {
    font-family: var(--gn-font-headings, 'Syne', sans-serif);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    color: #111111;
    margin: 0 0 12px 0;
}

.contact-social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.contact-social-links a {
    width: 40px;
    height: 40px;
    background: #111111;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-social-links a:hover {
    background: var(--gn-accent-color, #f8cb3a);
    color: #111111;
    transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   3. SECCIÓN DE MAPA
   -------------------------------------------------------------------------- */
.sibenito-contact-map-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.map-box-header h2 {
    font-family: var(--gn-font-headings, 'Syne', sans-serif);
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    color: #111111;
    margin: 0 0 6px 0;
}

.map-box-header p {
    font-size: 14px;
    color: #666666;
    margin: 0;
}

.map-iframe-wrapper {
    width: 100%;
    border: 1px solid #111111;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN (MEDIA QUERIES)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .sibenito-contact-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sibenito-contact-two-cols {
        flex-direction: column;
    }

    .sibenito-contact-form-col,
    .sibenito-contact-info-col {
        width: 100%;
        flex: 1 1 100%;
    }
}

@media (max-width: 600px) {
    .sibenito-contact-cards-grid {
        grid-template-columns: 1fr;
    }

    .form-row-pair {
        flex-direction: column;
        gap: 18px;
    }

    .contact-form-box,
    .contact-info-card {
        padding: 25px 20px;
    }

    .sibenito-btn-submit {
        width: 100%;
    }
}
