/* 
  Estilos Módulo Contacto EXF
  Recreación del diseño basado en columnas con flex/grid
*/

.exf-contact-section {
    padding: 60px 40px;
    background-color: var(--exf-cs-bg);
    color: var(--exf-cs-text);
    font-family: var(--wp--preset--font-family--body, inherit);
    border-radius: 12px;
}

.exf-contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.exf-contact-container--left {
    flex-direction: row-reverse;
}

/* LEFT COLUMN */
.exf-contact-info-col {
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
}

.exf-cs-subheading {
    font-size: 0.85em;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--exf-cs-accent);
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.exf-cs-heading {
    font-size: 3em;
    font-weight: 800;
    line-height: 1.1;
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--exf-cs-text);
}

.exf-cs-desc {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 40px;
    color: var(--exf-cs-text);
    opacity: 0.9;
}

.exf-cs-contact-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.exf-cs-item {
    display: flex;
    flex-direction: column;
}

.exf-cs-item-label {
    font-size: 0.75em;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--exf-cs-accent);
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.exf-cs-item-value {
    font-size: 1.8em;
    font-weight: 800;
    color: var(--exf-cs-text);
    text-decoration: none;
    display: inline-block;
    width: fit-content;
}

.exf-cs-underlined {
    border-bottom: 2px solid var(--exf-cs-text);
    padding-bottom: 2px;
    transition: opacity 0.3s ease;
}

.exf-cs-underlined:hover {
    opacity: 0.7;
}

/* RIGHT COLUMN (FORM) */
.exf-contact-form-col {
    flex: 1 1 400px;
}

.exf-cs-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.exf-cs-field {
    display: flex;
    flex-direction: column;
}

.exf-cs-field label {
    font-size: 0.85em;
    font-weight: 700;
    color: var(--exf-cs-accent);
    margin-bottom: 8px;
}

.exf-cs-field input[type="text"],
.exf-cs-field input[type="tel"],
.exf-cs-field input[type="email"],
.exf-cs-field textarea {
    width: 100%;
}

.exf-cs-privacy {
    margin-top: 10px;
}

.exf-cs-privacy label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9em;
    cursor: pointer;
}

.exf-cs-privacy input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--exf-cs-text);
    cursor: pointer;
}

.exf-cs-privacy a {
    color: var(--exf-cs-accent);
    text-decoration: underline;
    font-weight: 700;
}

.exf-cs-submit {
    margin-top: 20px;
    padding: 15px 30px;
    background-color: var(--exf-cs-btn-bg);
    color: var(--exf-cs-btn-text);
    border: none;
    border-radius: 4px;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.2s ease, opacity 0.3s ease;
}

.exf-cs-submit:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.exf-cs-submit .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.exf-error {
    color: #d32f2f;
}

.exf-success {
    color: #2e7d32;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .exf-contact-container,
    .exf-contact-container--left {
        flex-direction: column;
        gap: 40px;
    }
    
    .exf-cs-heading {
        font-size: 2.2em;
    }
    
    .exf-cs-item-value {
        font-size: 1.5em;
    }
}
