/* ===== Página de contacto ===== */
.contacto { padding-bottom: 56px; }
.contacto-hero { margin: 0 0 32px; padding: 44px 0 40px; }
.contacto-hero > * { max-width: 640px; }
.contacto-kicker { display: inline-block; margin: 0 0 14px; padding: 5px 10px; border-radius: 8px; color: var(--negro); background: var(--accent); font: 700 12px var(--font-text); letter-spacing: .08em; text-transform: uppercase; }
.contacto-hero h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1; letter-spacing: -.035em; color: var(--crema); }
.contacto-intro { margin: 14px 0 0; font-size: 17px; line-height: 1.55; color: var(--gris-texto); }
.contacto-intro strong { color: var(--lima); }

.contacto-grid { display: grid; gap: 20px; align-items: start; }
@media (min-width: 900px) { .contacto-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px; } }
.contacto-tarjeta { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-grande); padding: 28px; box-shadow: var(--sombra-suave); }
@media (max-width: 520px) { .contacto-tarjeta { padding: 18px; border-radius: 16px; } }

.bloque-motivo { margin: 0 0 18px; padding: 0; border: 0; }
.bloque-motivo legend { margin: 0 0 10px; padding: 0; font: 600 15px var(--font-text); }
.motivos { display: flex; flex-wrap: wrap; gap: 8px; }
.motivo { position: relative; cursor: pointer; }
.motivo input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.motivo > span { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 14px; border: 1.5px solid var(--border); border-radius: 999px; background: var(--surface); font: 600 14px var(--font-text); transition: border-color .15s, background .15s; }
.motivo:hover > span { border-color: #9C9A92; }
.motivo input:checked + span { background: var(--fg); border-color: var(--fg); color: var(--surface); }
.motivo input:focus-visible + span { outline: 3px solid var(--fg); outline-offset: 2px; }
.motivo-emoji { font-size: 15px; line-height: 1; }

.contacto .field textarea { width: 100%; min-height: 140px; padding: 12px; font: 15px/1.5 var(--font-text); color: var(--fg); background: #fff; border: 1px solid var(--border); border-radius: var(--radius); resize: vertical; }
.contacto .field input:focus, .contacto .field textarea:focus { border-color: var(--fg); outline: none; box-shadow: 0 0 0 3px rgba(200,255,61,.6); }
.contacto .field textarea[aria-invalid="true"] { border-color: var(--danger); }
.contacto .mayus { text-transform: uppercase; }
.contacto .mayus::placeholder { text-transform: none; }
.etiqueta-mensaje { display: flex; justify-content: space-between; gap: 8px; }
.contador { font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.contador.cerca { color: var(--danger); }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contacto-enviar { width: 100%; margin-top: 4px; }
.contacto-privacidad { margin: 12px 0 0; font-size: 12.5px; color: var(--muted); }
.contacto-privacidad a { color: var(--fg); }

.contacto-hecho { text-align: center; padding: 24px 4px; }
.hecho-icono { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: var(--accent); font: 700 30px var(--font-title); animation: hecho-pop .35s ease-out; }
@keyframes hecho-pop { from { transform: scale(.5); opacity: 0; } }
.contacto-hecho h2 { font-size: 26px; margin-bottom: 10px; outline: none; }
.contacto-hecho p { max-width: 46ch; margin: 0 auto 10px; }
.hecho-acciones { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }

.contacto-lateral { display: grid; gap: 14px; }
.lateral-caja { padding: 20px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); }
.lateral-caja h2 { font-size: 18px; margin-bottom: 8px; }
.lateral-caja p { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.lateral-caja.oscura { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.lateral-caja.oscura h2 { color: var(--bg); }
.lateral-caja.oscura p { color: #C9C7BE; }
.email-directo { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 6px 6px 14px; border-radius: 12px; background: rgba(255,255,255,.08); }
.email-directo a { color: var(--accent); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.email-directo a:hover { text-decoration: underline; }
.copiar { flex: none; min-height: 34px; padding: 0 12px; border: 0; border-radius: 8px; background: var(--accent); color: var(--fg); font: 600 13px var(--font-text); cursor: pointer; }
.consejos { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.consejos strong { color: var(--fg); }
.atajos { margin: 0; padding: 0; list-style: none; }
.atajos li + li { border-top: 1px solid #ECEAE3; }
.atajos a { display: flex; justify-content: space-between; align-items: center; padding: 11px 2px; text-decoration: none; font-weight: 600; font-size: 14px; }
.atajos a:hover span { text-decoration: underline; }
.pedido-ayuda { margin: 18px 0 10px; }

/* Campos y motivos con el mismo tacto que el checkout */
.contacto .field input { height: 48px; border-radius: var(--r-control); font-size: 16px; }
.contacto .field textarea { border-radius: var(--r-control); font-size: 16px; }
.contacto .field input:focus, .contacto .field textarea:focus { border-color: var(--negro); box-shadow: 0 0 0 1px var(--negro), 0 0 0 5px rgba(200, 255, 61, .55); }
.motivo > span { min-height: 44px; }
.motivo input:checked + span { color: var(--lima); }
.contacto-enviar { min-height: 54px; border-radius: var(--r-control); font-size: 16px; }
.lateral-caja { border-radius: var(--r-tarjeta); }
.lateral-caja.oscura { background: repeating-linear-gradient(90deg, #17181B 0 46px, var(--negro) 46px 92px); border-top: 4px solid var(--lima); }
.atajos a { min-height: 44px; }
.atajos a:hover { color: var(--fg); }
