/* ==========================================================================
   Contacto (contacto.php) — diseño 2026, prefijo co-.
   Boceto aprobado: mockups/contacto-rediseno-2026.html.
   «Motivo» y «Medio preferido» son radios con aspecto de botón (mismos name y value que el antiguo <select>).
   ========================================================================== */
.co { padding: 40px 0 80px; }
.co-wrap { width: var(--b-max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.co-side h1 { font-size: var(--b-fs-h1, clamp(34px, 3.4vw, 50px)); font-weight: 800; line-height: 1.05; }
.co-side > p { margin-top: 12px !important; color: var(--b-muted); font-size: var(--b-fs-lead, 20px); max-width: 30em; }

.co-mail { margin-top: 26px; padding: 24px 26px; display: grid; gap: 6px; }
.co-mail-ico { width: 52px; height: 52px; margin-bottom: 6px; border-radius: 16px; display: grid; place-items: center; background: var(--b-pink-soft); color: var(--b-pink-ink); }
.co-mail-ico svg { width: 26px; height: 26px; }
.co-mail h2 { font-size: var(--b-fs-h3, 24px); font-weight: 800; line-height: 1.15; }
.co-mail p { color: var(--b-muted); font-size: 17px; }
.co-mail-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; }
.co-mail-link { font-size: 22px; font-weight: 800; color: var(--b-pink-ink); text-decoration: none; word-break: break-all; }
.co-mail-link:hover { text-decoration: underline; }
.co-copy { min-height: 40px; padding: 4px 14px; font-size: 15px; }

/* Atajos por si la duda ya está resuelta */
.co-quick { margin-top: 22px; }
.co-quick h3 { font-size: 18px; font-weight: 800; color: var(--b-muted); }
.co-quick ul { list-style: none; padding: 0; margin: 10px 0 0 !important; display: grid; gap: 8px; }
.co-quick a { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: var(--b-surface); color: var(--b-text); font-size: 18px; font-weight: 700; text-decoration: none; box-shadow: var(--b-shadow); }
.co-quick a:hover { box-shadow: var(--b-shadow-hover); }
.co-quick a::after { content: '→'; margin-left: auto; color: var(--b-muted); font-weight: 800; }
.co-quick span { font-size: 22px; }

/* Formulario */
.co-form { padding: 30px 32px; }
.co-form h2 { font-size: var(--b-fs-h2, 28px); font-weight: 800; line-height: 1.1; }
.co-block { margin: 22px 0 0; padding: 0; border: 0; min-width: 0; }
.co-legend { display: block; margin-bottom: 8px; padding: 0; font-size: 17px; font-weight: 700; }
.co-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.co-chip { position: relative; }
.co-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.co-chip span {
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 48px; padding: 6px 16px;
    border: 3px solid var(--b-line); border-radius: 999px; background: var(--b-surface);
    font-size: 17px; font-weight: 700; cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease;
}
.co-chip span:hover { border-color: var(--b-line-strong); }
.co-chip input:checked + span { border-color: var(--b-blue); background: var(--b-blue-soft); }
.co-chip input:focus-visible + span { outline: 4px solid var(--b-focus); outline-offset: 3px; }
.co-chip i { font-style: normal; font-size: 19px; }
.co-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.co-field { display: block; margin-top: 18px; }
.co-field label { display: block; margin-bottom: 6px; font-size: 17px; font-weight: 700; }
.co-field input, .co-field textarea {
    width: 100%; min-height: 56px; padding: 10px 16px;
    border: 3px solid var(--b-line); border-radius: 16px;
    background: var(--b-surface); font-size: 19px; font-weight: 600;
}
.co-field textarea { min-height: 170px; resize: vertical; line-height: 1.45; }
.co-field input:focus, .co-field textarea:focus { border-color: var(--b-blue); outline: none; }
.co-count { display: block; margin-top: 4px; text-align: right; color: var(--b-muted); font-size: 14px; font-weight: 600; }
.co-handle { margin-top: 12px; max-width: 420px; }
.co-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 22px; }
.co-actions .b-btn { min-width: 240px; padding-inline: 32px; }
.co-actions .b-btn svg { fill: none; }
.co-actions .b-btn:disabled { opacity: .7; cursor: progress; }
.co-actions p { color: var(--b-muted); font-size: 15px; font-weight: 600; }
.co-feedback { margin-top: 18px; padding: 14px 18px; border-radius: 16px; font-size: 18px; font-weight: 700; }
.co-feedback--success { background: var(--b-green-soft); color: var(--b-green-ink); }
.co-feedback--error { background: #fdecec; color: #9b1c1c; }

/* En móvil los atajos van después del formulario */
.co-quick--end { display: none; }
@media (max-width: 900px) {
    .co-wrap { grid-template-columns: 1fr; gap: 26px; }
    .co-side .co-quick { display: none; }
    .co-quick--end { display: block; margin-top: 0; }
}
@media (max-width: 640px) {
    .co { padding-top: 20px; }
    .co-side > p { font-size: var(--b-fs-lead, 18px); }
    .co-form { padding: 22px 18px 24px; }
    .co-form h2 { font-size: var(--b-fs-h2, 24px); }
    .co-grid { grid-template-columns: 1fr; }
    .co-actions .b-btn { width: 100%; min-width: 0; }
}
