/* Paleta Biraterra (DESIGN §0): verde olivo, crema, dorado, rojo de urgencia. */
:root {
  --olive: #333A17; --olive-deep: #23290F; --ink: #2A3012;
  --cream: #F5F1E2; --paper: #FDFCF6; --gold: #C4A343; --gold-soft: #E4D5A8;
  --red: #C63B32; --muted: #75785C; --line: #E3DCC4; --wa: #1FAF54;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font-family: var(--sans); }
button { cursor: pointer; }
a { color: var(--olive); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; text-wrap: balance; }

.brand { font-family: var(--serif); letter-spacing: 0.22em; }
.brand .a, .t .a { color: var(--gold); }
.btn { display: inline-block; border: none; border-radius: 8px; background: var(--gold); color: var(--olive-deep); font-weight: 700; font-size: 16px; padding: 13px 30px; text-decoration: none; text-align: center; }
.btn.olive { background: var(--olive); color: var(--cream); }
.btn.ghost { background: none; border: 1.5px solid var(--olive); color: var(--olive); font-weight: 600; }
.btn.small { padding: 9px 16px; font-size: 14px; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.55; cursor: progress; }
.eyebrow { font-size: 11.5px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin: 0 0 8px; }
.mini { font-size: 12px; color: var(--muted); }

/* ---------- Sitio público ---------- */
.topnav { background: var(--olive-deep); color: var(--cream); display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; gap: 12px; }
.topnav .brand { font-size: 15px; color: var(--cream); text-decoration: none; }
.topnav .brand small { display: block; font-family: var(--sans); font-size: 8.5px; letter-spacing: 0.34em; color: var(--gold-soft); text-transform: uppercase; }
.topnav .wa { color: var(--gold-soft); text-decoration: none; font-size: 13.5px; font-weight: 600; }
.hero { background: var(--olive); color: var(--cream); padding: 56px 20px 60px; text-align: center; }
.hero h1 { font-size: clamp(30px, 5.2vw, 46px); line-height: 1.15; margin: 8px auto 14px; max-width: 20ch; }
.hero p { color: #E9E4D0; max-width: 36em; margin: 0 auto 26px; font-size: 17px; }
.hero .btn { font-size: 18px; padding: 15px 36px; }
.hero .mini { color: var(--gold-soft); margin-top: 14px; }
.trust { display: flex; justify-content: center; gap: 8px; margin-top: 22px; flex-wrap: wrap; }
.trust span { font-size: 12px; border: 1px solid rgba(228,213,168,0.4); border-radius: 999px; padding: 4px 12px; color: var(--gold-soft); }
.wrap { max-width: 960px; margin: 0 auto; padding: 48px 20px; }
.wrap h2 { font-size: clamp(24px, 3.6vw, 32px); margin: 0 0 10px; }
.lede { color: var(--muted); max-width: 40em; }
.servicios { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-top: 22px; }
.serv { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 20px 18px; }
.serv .ico { font-size: 26px; }
.serv b { display: block; margin: 8px 0 4px; font-size: 16.5px; }
.serv span { font-size: 14px; color: var(--muted); }
.pasos { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-top: 22px; counter-reset: paso; }
.paso { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 20px 18px; }
.paso .n { font-family: var(--serif); font-size: 28px; color: var(--gold); }
.paso b { display: block; margin: 6px 0 4px; }
.paso span { font-size: 14px; color: var(--muted); }
.banda { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-final { text-align: center; padding: 54px 20px; }
.cta-final h2 { margin-bottom: 8px; }
.juridico { background: var(--olive-deep); color: var(--cream); }
.juridico .lede { color: #E9E4D0; }
.juridico a { color: var(--gold-soft); }
.disclaimer { font-size: 12.5px; color: var(--muted); border: 1px dashed var(--line); border-radius: 8px; padding: 10px 14px; margin-top: 18px; }
footer.pie { background: var(--olive-deep); color: #B9B39A; font-size: 13px; padding: 26px 20px; text-align: center; }
footer.pie a { color: var(--gold-soft); }
footer.pie .firma { margin-top: 10px; letter-spacing: 0.12em; font-size: 11px; }
footer.pie .firma b { color: var(--cream); }

/* ---------- Wizard ---------- */
.wiz { max-width: 520px; margin: 0 auto; padding: 18px 18px 60px; }
.plogo { text-align: center; font-family: var(--serif); letter-spacing: 0.2em; font-size: 17px; color: var(--olive); margin: 10px 0 2px; text-decoration: none; display: block; }
.plogo .a { color: var(--gold); }
.plogosub { text-align: center; font-size: 8.5px; letter-spacing: 0.34em; color: var(--muted); text-transform: uppercase; margin-bottom: 14px; }
.pprog { height: 4px; background: var(--line); border-radius: 4px; margin: 6px 0 18px; overflow: hidden; }
.pprog i { display: block; height: 100%; background: var(--gold); width: 0%; transition: width 0.35s ease; }
.wstep { display: none; }
.wstep.on { display: block; animation: fadein 0.3s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .wstep.on { animation: none; } }
.phero { background: var(--olive); color: var(--cream); border-radius: 14px; padding: 26px 20px; text-align: center; }
.phero h1 { font-size: 24px; margin: 0 0 8px; line-height: 1.25; }
.phero p { font-size: 14.5px; color: #E9E4D0; margin: 0 0 16px; }
.phero .mini { color: var(--gold-soft); margin-top: 12px; }
.qtitle { font-size: 20px; font-weight: 700; margin: 6px 0 2px; font-family: var(--sans); }
.qsub { font-size: 13px; color: var(--muted); margin: 0 0 16px; }
.field { margin-bottom: 14px; }
.field > label, .field > .lbl { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); padding: 12px 12px; font-size: 16px; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 999px; padding: 10px 16px; font-size: 14.5px; }
.pill.sel { border-color: var(--olive); background: var(--olive); color: var(--cream); font-weight: 600; }
.wnav { display: flex; gap: 10px; margin-top: 20px; }
.wnav .btn { flex: 1; padding: 13px 10px; font-size: 16px; }
.wnav .back { flex: 0 0 auto; background: none; border: 1.5px solid var(--line); color: var(--muted); border-radius: 8px; padding: 12px 16px; font-size: 16px; }
.werr { color: var(--red); font-size: 13.5px; min-height: 18px; margin: 8px 0 0; }
.photorow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.photoslot { border: 1.5px dashed var(--line); border-radius: 10px; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; background: var(--paper); position: relative; }
.photoslot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photoslot .cap { font-size: 10px; color: var(--muted); }
.photoslot .quitar { position: absolute; top: 4px; right: 4px; border: none; background: rgba(35,41,15,0.75); color: #fff; border-radius: 50%; width: 22px; height: 22px; font-size: 12px; line-height: 22px; padding: 0; }
.addphotos { width: 100%; margin-top: 12px; background: var(--paper); border: 1.5px solid var(--olive); color: var(--olive); font-weight: 600; border-radius: 8px; padding: 12px; font-size: 15px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin-top: 8px; }
.consent input { width: auto; margin-top: 3px; }
.pdone { text-align: center; padding: 40px 10px; }
.pdone .check { width: 68px; height: 68px; border-radius: 50%; background: var(--olive); color: var(--gold); font-size: 32px; display: grid; place-items: center; margin: 0 auto 18px; }
.pdone h2 { font-size: 24px; margin: 0 0 8px; }
.pdone p { font-size: 15px; color: var(--muted); }
.pdone .folio { font-size: 12px; color: var(--muted); letter-spacing: 0.1em; margin-top: 18px; }
.legal { max-width: 760px; margin: 0 auto; padding: 40px 20px 70px; font-size: 15.5px; }
.legal h1 { font-size: 30px; }
.legal h2 { font-size: 20px; margin-top: 28px; }
