:root {
  --bg: #08090c;
  --panel: #17191e;
  --panel-2: #1d2027;
  --border: #31343c;
  --text: #f2f3f5;
  --muted: #aeb1bb;
  --accent: #ff9800;
  --accent-light: #ffb443;
  --accent-dim: #573700;
  --heading-bg: #303a4c;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--accent-light); text-decoration: none; }
a:hover { color: #ffcf85; }
.site-header { background: #08090b; border-bottom: 1px solid #23262e; }
.navbar-brand { letter-spacing: -.4px; }
.nav-link { color: #e8e8eb !important; }
.nav-link:hover { color: var(--accent) !important; }
.brand-symbol { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 9px; color: #070707; background: var(--accent); font-weight: 900; font-size: 24px; font-style: italic; }
.brand-muted { color: #e3e3e5; font-weight: 500; }
.text-accent { color: var(--accent); }
.page-footer { color: #c3c5cb; font-size: .88rem; }
.footer-links { margin-top: 7px; font-size: .8rem; }
.footer-links span { margin: 0 7px; color: #727781; }
.home-main { padding: 65px 0 10px; }
.hero-emblem { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 132px; height: 132px; margin: auto auto 22px; border-radius: 50%; border: 2px solid #6d4917; box-shadow: inset 0 0 0 6px #0c0f13, 0 0 0 1px #3c301e; color: var(--accent); }
.hero-emblem span { font-size: 35px; line-height: 1.15; font-weight: 900; font-style: italic; letter-spacing: -2px; }
.hero-emblem small { font-size: 7px; letter-spacing: 1.2px; color: #c8ba9f; margin-top: 6px; }
.hero-pretitle { font-size: 1.25rem; color: #d9d9df; margin-bottom: 5px; }
.hero h1 { font-weight: 750; letter-spacing: -2.4px; font-size: clamp(3rem, 6vw, 4.6rem); line-height: 1.12; margin-bottom: 12px; }
.hero h1 span { color: var(--accent); }
.hero-subtitle { font-size: clamp(1.1rem, 2vw, 1.5rem); color: #e0e0e4; }
.hero-intro { color: var(--muted); margin: 10px auto 34px; }
.home-options { max-width: 1050px; margin: 0 auto; }
.choice-card { background: var(--panel); border: 1px solid #292c33; border-radius: 18px; padding: 30px; display: flex; flex-direction: column; min-height: 270px; transition: border-color .2s ease, transform .2s ease; }
.choice-card:hover { border-color: #734b15; transform: translateY(-2px); }
.choice-icon { width: 45px; height: 45px; color: var(--accent); font-size: 27px; }
.choice-card h2 { font-size: 1.32rem; font-weight: 700; }
.choice-card p { color: #c9cad0; flex: 1; margin-top: 12px; line-height: 1.55; }
.choice-card .btn { align-self: flex-end; }
.btn-accent { background: var(--accent); border: 1px solid var(--accent); color: #181003; font-weight: 650; padding: .65rem 1.2rem; border-radius: 10px; }
.btn-accent:hover, .btn-accent:focus { background: #ffb13b; border-color: #ffb13b; color: #1d1200; }
.btn-outline-accent { border: 1px solid var(--accent); color: var(--accent); background: transparent; border-radius: 10px; padding: .65rem 1.2rem; font-weight: 650; }
.btn-outline-accent:hover { background: var(--accent); color: #201000; }
.home-follow-up { margin-top: 55px; color: #e4e5e7; }
.home-follow-up a { font-weight: 650; }
.info-card { border-radius: 15px; background: var(--panel); overflow: hidden; border: 1px solid #262831; }
.info-card h2 { font-size: 1.1rem; margin: 0; padding: 16px 17px; background: var(--heading-bg); font-weight: 650; }
.info-card-highlight h2 { background: #683d0c; }
.info-card-body { padding: 19px; color: #d9d9df; }
.info-card-body p:last-child { margin-bottom: 0; }
.icon-paragraph { display: flex; align-items: flex-start; gap: 12px; margin-top: 24px; }
.icon-paragraph > span:first-child { color: var(--accent); font-size: 22px; flex-shrink: 0; width: 26px; }
.form-shell { background: var(--panel); border-radius: 16px; border: 1px solid #2a2c32; overflow: hidden; }
.form-shell-heading { background: var(--heading-bg); padding: 17px 22px; }
.form-shell-heading h1 { margin: 0; font-size: clamp(1.15rem, 2.2vw, 1.45rem); font-weight: 600; }
.form-shell-body { padding: 22px; }
.type-selector { display: flex; align-items: center; gap: 0; flex-wrap: wrap; margin-bottom: 24px; }
.type-selector > span { margin-right: 16px; }
.type-pill { padding: 8px 16px; border: 1px solid #50525b; color: #e5e5e5; background: #2a2d34; }
.type-pill:nth-child(2) { border-radius: 10px 0 0 10px; }
.type-pill:last-child { border-radius: 0 10px 10px 0; }
.type-pill.active { background: #71480d; border-color: #925b0a; color: #fff; }
.notice-box { background: #111c2d; border: 1px solid #76839b; border-radius: 12px; color: #e3e8f0; padding: 12px 15px; font-size: .91rem; margin-bottom: 21px; }
.wizard-tabs { display: flex; flex-wrap: wrap; gap: 4px; background: #23262e; border-radius: 11px; padding: 5px; width: max-content; max-width: 100%; margin-bottom: 18px; }
.wizard-tab { color: #b5b6c0; font-size: .86rem; padding: 8px 11px; border-radius: 8px; }
.wizard-tab.active { color: #191000; background: var(--accent); font-weight: 700; }
.wizard-tab.done { color: #ffd698; }
.wizard-step { display: none; padding: 5px 2px 15px; min-height: 290px; }
.wizard-step.active { display: block; }
.step-helper { font-style: italic; color: var(--muted); margin-bottom: 22px; font-size: .91rem; }
.field-label { display: block; margin: 0 0 7px; font-size: .91rem; font-weight: 550; }
.form-control, .form-select { background: #20232b; color: #f2f3f5; border: 1px solid #51545c; border-radius: 7px; padding: .77rem .86rem; }
.form-control::placeholder { color: #9fa2af; opacity: 1; }
.form-control:focus, .form-select:focus { background: #242832; color: #fff; border-color: var(--accent); box-shadow: 0 0 0 .18rem rgba(255, 152, 0, .14); }
.form-select { color-scheme: dark; }
.form-select option { background: #20232b; color: #fff; }
.form-control[type="file"]::file-selector-button { background: #323740; color: #f2f3f5; }
.form-text { color: #aeb0bd; }
.form-check-input { background-color: #23272f; border-color: #868a96; }
.form-check-input:checked { background-color: var(--accent); border-color: var(--accent); }
.form-check-input:focus { box-shadow: 0 0 0 .2rem rgba(255, 152, 0, .2); }
.required-asterisk { color: var(--accent); }
.muted { color: var(--muted); }
.wizard-controls { border-top: 1px solid #333640; padding-top: 18px; display: flex; align-items: center; gap: 10px; }
.file-panel { padding: 22px; border: 1px dashed #747780; border-radius: 12px; background: #1b1e24; }
.confirmation-heading { font-size: 1.2rem; }
.privacy-check { margin-top: 22px; }
.honeypot { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.simple-main { max-width: 790px; padding: 64px 0 10px; }
.simple-card { background: var(--panel); border: 1px solid #32363d; border-radius: 18px; padding: clamp(24px, 5vw, 45px); }
.simple-card h1 { font-size: clamp(1.9rem, 4vw, 2.45rem); font-weight: 700; margin: 8px 0 15px; }
.simple-card h2 { font-size: 1.25rem; }
.simple-card > p { color: #c9cbd1; }
.eyebrow { color: var(--accent); font-weight: 750; font-size: .77rem; letter-spacing: 1.5px; }
.success-card { text-align: center; }
.success-icon { display: grid; place-items: center; margin: 0 auto 15px; width: 65px; height: 65px; border-radius: 50%; background: #4f390d; color: #ffc36c; font-size: 36px; }
.receipt-row { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 14px 17px; background: #22252e; border: 1px solid #3c4049; border-radius: 9px; margin: 12px 0; text-align: left; }
.receipt-row strong { color: var(--accent-light); font-family: ui-monospace, SFMono-Regular, monospace; word-break: break-all; }
.result-box { border: 1px solid #4f535b; background: #222630; padding: 20px; border-radius: 12px; line-height: 1.9; }
.status-badge { display: inline-block; border-radius: 999px; padding: 3px 12px; font-weight: 650; font-size: .84rem; }
.status-recibido { color: #c0dfff; background: #16415f; }
.status-revision { color: #ffe3a6; background: #5a4312; }
.status-atencion { color: #d2c1ff; background: #3a295f; }
.status-concluido { color: #c1ffd7; background: #1d5536; }
.status-noprocede { color: #ffc8c8; background: #622d33; }
.admin-table { --bs-table-bg: transparent; --bs-table-color: #e8e8ed; --bs-table-border-color: #3e414a; }
.admin-table a { font-weight: 600; }
.admin-section-title { font-size: 1.08rem; border-bottom: 1px solid #3d4149; padding-bottom: 10px; margin-bottom: 15px; }
.details-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.details-grid .details-full { grid-column: 1 / -1; }
.details-grid dt { color: #aeb2bf; font-weight: 500; font-size: .82rem; }
.details-grid dd { margin: 5px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 768px) {
 .home-main { padding-top: 34px; }
 .hero h1 { letter-spacing: -1.2px; }
 .choice-card { min-height: auto; padding: 23px; }
 .form-shell-body { padding: 15px; }
 .wizard-tab { padding: 7px 8px; font-size: .77rem; }
 .simple-main { padding: 30px 12px; }
 .details-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .choice-card { transition: none; } }
