/* Formulario de datos antes de pagar — con los colores y letras de la web. */
:root {
    --cream: #f2eadc;
    --paper: #fbf8f1;
    --ink: #36312b;
    --muted: #756e64;
    --clay: #9a8466;
    --gold: #b79b70;
    --line: #53483a2e;
    --alerta: #9b4a3a;
    color-scheme: light;
    box-sizing: border-box;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: inherit; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

.hoja { max-width: 34rem; margin: 0 auto; padding: 28px 22px 64px; }

.volver { color: var(--clay); font-size: 14px; text-decoration: none; }
.volver:hover { text-decoration: underline; }

.encabezado { border-bottom: 1px solid var(--line); padding-bottom: 22px; margin: 34px 0 26px; }
h1 { font-family: Georgia, serif; font-weight: 400; font-size: 34px; line-height: 1.15; margin: 0 0 6px; }
.precio { font-family: Georgia, serif; color: var(--clay); font-size: 22px; margin: 0 0 14px; }
.intro { color: var(--muted); font-size: 15px; margin: 0; max-width: 60ch; }

.alerta {
    background: #f4e2db; color: var(--alerta);
    border-left: 3px solid var(--alerta);
    padding: 12px 14px; margin: 0 0 22px; font-size: 15px;
}

.campo { margin-bottom: 20px; }
label { display: block; font-size: 15px; margin-bottom: 4px; }
.ayuda { color: var(--muted); font-size: 13px; margin: 0 0 6px; }

input {
    width: 100%;
    font: inherit;
    color: var(--ink);
    background: #fff;
    border: 1px solid #53483a40;
    border-radius: 2px;
    padding: 12px 13px;
    min-height: 48px;
}
input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px #b79b7040; }
.con-error input { border-color: var(--alerta); }
.error { color: var(--alerta); font-size: 14px; margin: 6px 0 0; }

.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.boton {
    display: inline-flex; justify-content: center; align-items: center;
    width: 100%;
    margin-top: 10px;
    font: inherit; font-size: 14px; letter-spacing: .03em;
    color: #fff; background: var(--clay);
    border: 0; border-radius: 2px;
    padding: 16px 23px;
    cursor: pointer; text-decoration: none;
    transition: background .25s;
}
.boton:hover { background: #7f6c52; }
.boton:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.nota { color: var(--muted); font-size: 13px; text-align: center; margin: 14px 0 0; }

@media (max-width: 480px) {
    h1 { font-size: 29px; }
}

.aviso-ok { background: #e7e9dc; color: #4f5d3f; border-left: 3px solid #6e7f5a; padding: 12px 14px; font-size: 15px; }
.nota a { color: var(--clay); }

select, textarea {
    width: 100%; font: inherit; color: var(--ink); background: #fff;
    border: 1px solid #53483a40; border-radius: 2px; padding: 12px 13px; min-height: 48px;
}
textarea { resize: vertical; line-height: 1.6; }
select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px #b79b7040; }
.con-error select, .con-error textarea { border-color: var(--alerta); }
.campo-check label { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.campo-check input { width: 18px; height: 18px; min-height: 0; margin-top: 3px; flex: none; accent-color: var(--clay); }
