/* Contacto: composición del prototipo aprobado, con estilos acotados a esta página. */
.contact-page .container { width: min(1280px, calc(100% - 64px)); }
.contact-page .section-label,
.contact-page h2.section-label { font-family: Inter, sans-serif; font-size: 13px; font-weight: 600; line-height: 1.55; }
.contact-page .button { font-size: 15px; font-weight: 600; line-height: 1.3; gap: 8px; border-radius: 6px; }
.contact-page .button-soft { border-radius: 6px; }
.contact-page .button-soft:hover { background: #bee8c8; }
.contact-page .contact-field input,
.contact-page .contact-field select,
.contact-page .contact-field textarea { padding: 14px 16px; font-size: 15px; line-height: normal; }
.contact-hero {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    background: var(--text);
    color: #fff;
}
.contact-hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}
.contact-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(11, 12, 14, .55);
}
.contact-hero-content { position: relative; z-index: 1; margin: 0 auto; padding: 48px 0; }
.contact-hero h1 { margin: 16px 0 0; font-size: 60px; font-weight: 700; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.contact-cf7, .contact-cf7 .wpcf7 { min-width: 0; }
.contact-local-notice { margin-bottom: 20px !important; }
.contact-cf7 .wpcf7-form-control-wrap { display: block; min-width: 0; }
.contact-cf7 .wpcf7-list-item { margin: 0; }
.contact-consent .wpcf7-list-item label { display: flex; gap: 8px; align-items: flex-start; }
.contact-submit-row { position: relative; }
.contact-submit-row .wpcf7-spinner { position: absolute; right: 8px; top: 50%; margin: -12px 0 0; }
.contact-cf7 .wpcf7-not-valid-tip { display: block; margin-top: 6px; font-size: 13px; color: #aa2424; }
.contact-cf7 .wpcf7-not-valid { border-color: #aa2424; }
.contact-cf7 .wpcf7 form .wpcf7-response-output { margin: 0; padding: 14px 16px; border-width: 1px; border-radius: 2px; font-size: 14px; }
.contact-cf7 .wpcf7 form.sent .wpcf7-response-output { border-color: #1f6b3a; background: var(--soft); color: #1f6b3a; }
.contact-whatsapp-followup { margin-top: 20px; padding: 20px; border: 1px solid var(--line); border-radius: 2px; }
.contact-whatsapp-followup p { font-size: 14px; }
.contact-whatsapp-followup .button { width: 100%; }
.contact-submit { cursor: pointer; }
.contact-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.contact-field label { font-size: 13px; font-weight: 500; }
.contact-field label span { color: var(--brand-blue); }
.contact-field input, .contact-field select, .contact-field textarea {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: 2px;
    padding: 12px 14px;
    background: #fff;
    color: var(--text);
    font: inherit;
    font-size: 15px;
    line-height: 1.4;
}
.contact-field textarea { min-height: 100px; resize: vertical; }
.contact-field select { cursor: pointer; }
.contact-field input:focus, .contact-field select:focus, .contact-field textarea:focus { border-color: var(--brand-blue); }
.contact-consent { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--muted); }
.contact-consent input { flex-shrink: 0; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--brand-blue); }
.contact-consent a, .contact-form-notice a { text-decoration: underline; text-underline-offset: 3px; }
.contact-submit { width: 100%; }
.contact-submit:disabled { cursor: not-allowed; opacity: .65; }
.contact-submit:disabled:hover { background: var(--brand-blue); }
.contact-form-caption { margin: 0; text-align: center; font-size: 13px; color: var(--muted); }
.contact-form-notice { margin: 0; padding: 12px 16px; border-left: 2px solid var(--brand-blue); background: var(--gray); font-size: 13px; }
.contact-sidebar { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.contact-location-card { display: flex; flex-direction: column; gap: 16px; padding: 32px; max-width: 360px; }
.contact-address { display: flex; align-items: flex-start; gap: 10px; }
.contact-address .icon { width: 18px; height: 18px; margin-top: 2px; }
.contact-address p { margin: 0; font-size: 14px; }
.contact-hours { padding-left: 28px; font-size: 14px; color: var(--muted); }
.contact-hours p { margin: 0 0 4px; }
.contact-hours p:last-child { margin: 0; }
.contact-button-outline { border-color: var(--brand-blue); color: var(--brand-blue); background: transparent; }
.contact-button-outline:hover { color: #fff; background: var(--brand-blue); }
.contact-page .button .icon { width: 16px; height: 16px; }
.contact-workshop-photo { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; }
.contact-direct-buttons { display: flex; flex-direction: column; gap: 12px; }
.contact-direct-buttons .button { width: 100%; }
.contact-map { height: 420px; background: var(--gray); position: relative; overflow: hidden; }
/* B11: el recuadro nativo de Google queda fuera del área visible, igual que en Inicio */
.contact-map iframe { position: absolute; top: -190px; left: -460px; width: calc(100% + 920px); height: calc(100% + 380px); border: 0; display: block; }
.contact-differentiators { background: #181b35; color: #fff; }
.contact-page h2.section-label { margin: 0; }
.contact-differentiator-grid { margin-top: 24px; }
.contact-differentiator-grid > div { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.contact-differentiator-grid .icon { width: 24px; height: 24px; }
.contact-differentiator-grid h3 { margin: 0; font: 500 15px/1.55 Inter, sans-serif; letter-spacing: 0; }
.contact-differentiator-grid p { margin: 0; font-size: 13px; color: #9498b8; }
.contact-accordion { max-width: 720px; margin-top: 16px; }
.contact-accordion details { border-bottom: 1px solid var(--line); }
.contact-accordion summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; list-style: none; cursor: pointer; font-size: 16px; font-weight: 500; }
.contact-accordion summary::-webkit-details-marker { display: none; }
.contact-faq-indicator { position: relative; width: 16px; height: 16px; flex-shrink: 0; color: var(--muted); }
.contact-faq-indicator::before { content: ''; position: absolute; width: 6px; height: 6px; left: 3px; top: 4px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); }
.contact-accordion details[open] .contact-faq-indicator::before { transform: rotate(45deg); }
.contact-accordion details p { padding: 0; margin: 0 0 20px; font-size: 15px; line-height: 1.55; max-width: 72ch; color: var(--muted); }
.contact-page ~ .floating-whatsapp { right: 20px; }
.contact-page ~ .floating-whatsapp .icon { width: 26px; height: 26px; }
@media (max-width: 767px) {
    .contact-page .container { width: calc(100% - 32px); }
    .contact-hero { min-height: 260px; }
    .contact-hero h1 { font-size: 36px; }
    .contact-hero-content { padding: 32px 0; }
    .contact-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .contact-form-row { grid-template-columns: minmax(0, 1fr); }
    .contact-field input, .contact-field select, .contact-field textarea { font-size: 16px; }
    .contact-location-card { padding: 20px; max-width: none; }
    .contact-differentiator-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 16px; }
    .contact-page ~ .floating-whatsapp { bottom: 76px; }
}
