﻿/* Contact page: shared storefront colors, independent of checkout and drawers. */
.contacto-page {
    --contacto-accent: var(--main-bg-color, #333);
    --contacto-on-accent: var(--main-letra, #fff);
    --contacto-border: #e3e6eb;
    --contacto-muted: #68717e;
    padding-bottom: 48px;
    color: #262b33;
}
.contacto-page :is(a, button, input, textarea, select):focus-visible { outline: 3px solid var(--contacto-accent); outline-offset: 3px; }
.contacto-page .page-header { margin-bottom: 28px; }
.contacto-page .page-header__breadcrumb { padding: 18px 0 12px; }
.contacto-page .breadcrumb { gap: 4px; margin: 0; font-size: 12px; }
.contacto-page .contacto-heading { margin: 0; padding-top: 16px; }
.contacto-eyebrow { display: block; margin-bottom: 6px; color: var(--contacto-muted); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.contacto-page .contacto-heading h1 { margin: 0; color: #252a32; font-size: clamp(28px, 3vw, 36px); font-weight: 750; line-height: 1.2; letter-spacing: -.035em; }
.contacto-heading > p { max-width: 720px; margin: 12px 0 0; color: var(--contacto-muted); font-size: 14px; line-height: 1.65; }
.contacto-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: 28px; }
.contacto-info, .contacto-form { min-width: 0; }
.contacto-card { border: 1px solid var(--contacto-border); border-radius: 18px; background: #fff; box-shadow: 0 3px 10px rgba(25, 30, 40, .025); }
.contacto-section-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.contacto-icon { display: flex; align-items: center; justify-content: center; flex: 0 0 46px; width: 46px; height: 46px; border: 1px solid var(--contacto-border); border-radius: 14px; background: #fff; color: var(--contacto-accent); font-size: 20px; }
.contacto-page h2 { margin: 0; color: #303741; font-size: 21px; line-height: 1.3; font-weight: 700; letter-spacing: -.025em; }
.contacto-section-heading p { margin: 5px 0 0; color: var(--contacto-muted); font-size: 13px; line-height: 1.5; }
.contacto-branches { display: grid; gap: 14px; }
.contacto-branch { padding: 22px; }
.contacto-branch__heading { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.contacto-page h3 { margin: 0; color: #303741; font-size: 15px; line-height: 1.5; font-weight: 700; }
.contacto-branch__heading h3 { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.contacto-branch__tag { padding: 4px 8px; border-radius: 6px; background: #f2f4f6; color: #68717e; font-size: 10px; font-weight: 650; line-height: 1.5; }
.contacto-details { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.contacto-details li { display: flex; align-items: flex-start; gap: 12px; min-width: 0; color: #505967; font-size: 13px; line-height: 1.65; }
.contacto-details li > i { flex: 0 0 18px; width: 18px; margin-top: 4px; color: #929aa5; font-size: 14px; text-align: center; }
.contacto-details :is(a, span) { min-width: 0; overflow-wrap: anywhere; }
.contacto-details a { color: #505967; text-decoration: none; }
.contacto-details a:hover { color: var(--contacto-accent); text-decoration: underline; }
.contacto-hours { white-space: pre-line; }
.contacto-channels { margin-top: 14px; padding: 22px; }
.contacto-channels > h3 { margin-bottom: 14px; }
.contacto-social { margin-top: 20px; }
.contacto-social:first-child { margin-top: 0; }
.contacto-social__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.contacto-social__list a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--contacto-border); border-radius: 10px; background: #f8f9fb; color: #626c79; font-size: 17px; transition: background .15s, color .15s; }
.contacto-social__list a:hover { border-color: var(--contacto-accent); background: var(--contacto-accent); color: var(--contacto-on-accent); }
.contacto-extra { margin-top: 14px; padding: 22px; }
.contacto-extra p { display: grid; gap: 4px; margin: 0; color: var(--contacto-muted); font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.contacto-extra p + p { margin-top: 16px; }
.contacto-extra strong { color: #303741; font-weight: 650; }
.contacto-note { margin: 0 0 16px; color: var(--contacto-muted); font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.contacto-description { margin: 18px 4px 0; }
.contacto-form { padding: 28px; }
.contacto-form .contacto-icon { border: 0; background: #f4f5f7; }
.contacto-form__heading { margin-bottom: 14px; }
.contacto-form__hint { margin: 0 0 24px; color: var(--contacto-muted); font-size: 11px; line-height: 1.5; }
.contacto-page #formContacto .form-row { margin: 0 -8px; }
.contacto-page #formContacto .form-group { min-width: 0; margin-bottom: 18px; padding: 0 8px; }
.contacto-page #formContacto label { display: block; margin-bottom: 7px; color: #505967; font-size: 12px; line-height: 1.5; font-weight: 600; }
.contacto-page #formContacto .form-control { width: 100%; min-width: 0; height: 46px; padding: 11px 13px; border: 1px solid #dce1e7; border-radius: 10px; background: #f8f9fb; color: #303741; font-size: 13px; line-height: 1.5; box-shadow: none; }
.contacto-page #formContacto select.form-control { appearance: auto; cursor: pointer; }
.contacto-page #formContacto .form-control::placeholder { color: #959da8; opacity: 1; }
.contacto-page #formContacto .form-control:focus { border-color: var(--contacto-accent); background: #fff; }
.contacto-page #formContacto textarea.form-control { height: auto; min-height: 132px; resize: vertical; }
.contacto-page #formContacto .select2-container { width: 100% !important; min-width: 0; max-width: 100%; }
.contacto-page #formContacto .select2-selection--single { height: 46px; padding: 0; border: 1px solid #dce1e7; border-radius: 10px; background-color: #f8f9fb; }
.contacto-page #formContacto .select2-selection__rendered { padding: 11px 32px 11px 13px; color: #303741; font-size: 13px; line-height: 22px; }
.contacto-page #formContacto .select2-container--focus .select2-selection { border-color: var(--contacto-accent); outline: 3px solid var(--contacto-accent); outline-offset: 2px; }
.contacto-page #formContacto .form-check { display: flex; align-items: flex-start; gap: 10px; padding: 0; }
.contacto-page #formContacto .form-check-input { position: relative; flex: 0 0 16px; margin: 2px 0 0; }
.contacto-page #formContacto .form-check-label { flex: 1; margin: 0; color: var(--contacto-muted); font-size: 11px; line-height: 1.6; font-weight: 400; cursor: pointer; }
.contacto-page #formContacto .input-check__input:checked ~ .input-check__box { background: var(--contacto-accent); }
.contacto-page #formContacto .input-check__input:focus-visible ~ .input-check__box { outline: 2px solid var(--contacto-accent); outline-offset: 3px; }
.contacto-form__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.contacto-page .contacto-form__actions .btn { display: flex; align-items: center; justify-content: center; flex: 1 1 210px; gap: 8px; min-height: 46px; height: auto; margin: 0; padding: 12px 14px; border-radius: 10px; font-size: 13px; font-weight: 650; line-height: 1.5; white-space: normal; }
.contacto-page .contacto-form__actions .submitConsulta.btn-primary { border-color: var(--contacto-accent); background: var(--contacto-accent); color: var(--contacto-on-accent); }
.contacto-page .contacto-form__actions .whatsapp { border-color: #22c764; background: #22c764; color: #fff; }
.contacto-page .contacto-form__actions .whatsapp:hover { border-color: #1bad56; background: #1bad56; }
.contacto-page #formContacto .input-validation-error { border-color: #c13d4b; background: #fff7f8; }
.contacto-page #formContacto .field-validation-error { display: block; margin-top: 5px; color: #bd3544; font-size: 11px; }
.contacto-map { margin-top: 28px; overflow: hidden; }
.contacto-map__heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; padding: 24px 28px; }
.contacto-map__heading > div { min-width: 0; }
.contacto-map__heading p { margin: 6px 0 0; color: var(--contacto-muted); font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.contacto-map__link { display: flex; align-items: center; justify-content: center; flex-shrink: 0; gap: 8px; min-height: 42px; padding: 10px 14px; border: 1px solid var(--contacto-border); border-radius: 10px; background: #f8f9fb; color: #505967; font-size: 12px; font-weight: 600; line-height: 1.5; }
.contacto-map__link:hover { border-color: var(--contacto-accent); color: var(--contacto-accent); }
.contacto-map iframe { display: block; width: 100%; height: 320px; border: 0; background: #f1f3f5; }
@media (max-width: 991px) {
    .contacto-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .contacto-form { grid-row: 1; }
    .contacto-section-heading { margin-bottom: 16px; }
}
@media (max-width: 575px) {
    .contacto-page { padding-bottom: 32px; }
    .contacto-page .page-header { margin-bottom: 22px; }
    .contacto-page .page-header__breadcrumb { padding-top: 12px; }
    .contacto-page .contacto-heading { padding-top: 12px; }
    .contacto-heading > p { font-size: 13px; }
    .contacto-form { padding: 20px; }
    .contacto-page h2 { font-size: 19px; }
    .contacto-section-heading { gap: 10px; }
    .contacto-icon { flex-basis: 40px; width: 40px; height: 40px; border-radius: 12px; font-size: 18px; }
    .contacto-section-heading p { font-size: 12px; }
    .contacto-page #formContacto .form-control { font-size: 16px; }
    .contacto-page #formContacto .form-control::placeholder { font-size: 12px; }
    .contacto-page #formContacto .select2-selection__rendered { font-size: 16px; }
    .contacto-branches { grid-template-columns: minmax(0, 1fr); }
    .contacto-branch, .contacto-channels, .contacto-extra { padding: 20px; }
    .contacto-map { margin-top: 24px; }
    .contacto-map__heading { gap: 14px; padding: 20px; }
    .contacto-map__link { width: 100%; }
    .contacto-map iframe { height: 280px; }
}
