/* =============================================================================
   WIDGET: Contacto con info — .rw-cif
   ============================================================================= */

.rw-cif {
    width: 100%;
    background: #ffffff;
    padding: 120px 200px 90px;
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

/* ── Columnas ────────────────────────────────────────────── */

.rw-cif__left {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.rw-cif__right {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* ── Cabeceras ───────────────────────────────────────────── */

.rw-cif__left-header,
.rw-cif__form-header {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.rw-cif__main-title,
.rw-cif__form-title {
    color: #4B3B47;
    font-size: 40px;
    font-family: 'Manrope', var(--rw-font-heading);
    font-weight: 300;
    line-height: 48px;
    margin: 0;
}

.rw-cif__main-desc,
.rw-cif__form-desc {
    color: #454545;
    font-size: 18px;
    font-family: 'Nunito', var(--rw-font-primary);
    font-weight: 400;
    line-height: 24px;
    margin: 0;
}

/* ── Oficinas ────────────────────────────────────────────── */

.rw-cif__offices {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.rw-cif__offices-row {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.rw-cif__office,
.rw-cif__schedule {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.rw-cif__schedule {
    gap: 32px;
}

.rw-cif__office-name,
.rw-cif__secondary-name {
    color: #4B3B47;
    font-size: 22px;
    font-family: 'Nunito', var(--rw-font-primary);
    font-weight: 600;
    line-height: 24px;
    margin: 0;
}

.rw-cif__office-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.rw-cif__office-row--top {
    align-items: flex-start;
}

.rw-cif__icon {
    flex-shrink: 0;
    width: 24px;
    display: flex;
    align-items: flex-start;
    color: #000000;
    padding-top: 2px;
}

.rw-cif__office-text {
    color: #454545;
    font-size: 18px;
    font-family: 'Nunito', var(--rw-font-primary);
    font-weight: 400;
    line-height: 24px;
}

.rw-cif__office-phone,
.rw-cif__office-email {
    color: #454545;
    font-size: 18px;
    font-family: 'Nunito', var(--rw-font-primary);
    font-weight: 600;
    line-height: 24px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.rw-cif__office-phone:hover,
.rw-cif__office-email:hover {
    color: #00938A;
}

/* ── Horario ─────────────────────────────────────────────── */

.rw-cif__schedule-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.rw-cif__schedule-item {
    display: flex;
    flex-direction: column;
}

.rw-cif__schedule-day {
    color: #454545;
    font-size: 18px;
    font-family: 'Nunito', var(--rw-font-primary);
    font-weight: 600;
    line-height: 24px;
}

.rw-cif__schedule-hours {
    color: #454545;
    font-size: 18px;
    font-family: 'Nunito', var(--rw-font-primary);
    font-weight: 400;
    line-height: 24px;
}

/* ── Sede secundaria ─────────────────────────────────────── */

.rw-cif__secondary {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ── Formulario ──────────────────────────────────────────── */

.rw-cif__form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.rw-cif__row {
    display: flex;
    gap: 24px;
}

.rw-cif__field {
    flex: 1 1 0;
    min-width: 0;
}

.rw-cif__input,
.rw-cif__textarea {
    width: 100%;
    padding: 10px 20px;
    background: #ffffff;
    outline: 1px solid #000000;
    outline-offset: -1px;
    border: none;
    font-size: 18px;
    font-family: 'Nunito', var(--rw-font-primary);
    font-weight: 400;
    line-height: 24px;
    color: #454545;
    appearance: none;
    -webkit-appearance: none;
}

.rw-cif__input {
    height: 59px;
}

.rw-cif__input::placeholder,
.rw-cif__textarea::placeholder {
    color: #454545;
}

.rw-cif__input:focus,
.rw-cif__textarea:focus {
    outline: 2px solid #00938A;
    outline-offset: -2px;
}

.rw-cif__textarea {
    height: 143px;
    padding-top: 10px;
    padding-bottom: 20px;
    resize: vertical;
    display: block;
}

/* ── Legal ───────────────────────────────────────────────── */

.rw-cif__legal {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-family: 'Nunito', var(--rw-font-primary);
    font-weight: 400;
    line-height: 24px;
    color: #454545;
}

.rw-cif__checkbox {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    border: 1px solid #454545;
    border-radius: 3px;
    appearance: none;
    -webkit-appearance: none;
    background: #ffffff;
    cursor: pointer;
    position: relative;
}

.rw-cif__checkbox:checked::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: #00938A;
    border-radius: 1px;
}

.rw-cif__legal label {
    cursor: pointer;
}

.rw-cif__legal a {
    color: #00938A;
    text-decoration: none;
}

.rw-cif__legal a:hover {
    text-decoration: underline;
}

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 1200px) {
    .rw-cif {
        padding: 80px 60px 60px;
        gap: 48px;
    }

    .rw-cif__offices-row {
        gap: 40px;
    }
}

@media (max-width: 900px) {
    .rw-cif {
        flex-direction: column;
        padding: 60px 40px;
    }

    .rw-cif__main-title,
    .rw-cif__form-title {
        font-size: 30px;
        line-height: 38px;
    }

    .rw-cif__offices-row {
        flex-direction: column;
        gap: 32px;
    }
}

@media (max-width: 600px) {
    .rw-cif {
        padding: 48px 24px;
        gap: 40px;
    }

    .rw-cif__row {
        flex-direction: column;
    }
}
