/* Estética del sitio del Radio Club San Luis (radioclubsanluis.org.ar): mismas fuentes y paleta. */
:root {
  --sky: #EAF4FF; --white: #FFFFFF; --ink: #0F1C0F; --ink2: #3A4A3A; --ink3: #64748b;
  --orange: #FF5C1A; --orange-soft: #FFF1EA; --yellow: #FFD200; --blue: #1A7AFF; --blue-soft: #EFF6FF;
  --teal: #00C2A0; --green: #16a34a; --green-soft: #ECFDF3; --red: #dc2626; --red-soft: #FEF2F2;
  --border: #D4E4D4; --bg: #F5FAF0; --card: #FFFFFF;
  --display: 'Archivo Black', 'Bricolage Grotesque', sans-serif;
  --titulos: 'Bricolage Grotesque', 'DM Sans', sans-serif;
  --texto: 'DM Sans', system-ui, sans-serif;
  --mono: 'Share Tech Mono', ui-monospace, Menlo, monospace;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--texto); font-weight: 300; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-decoration: none; font-weight: 600; }
a:hover { color: var(--orange); }
strong, b { font-weight: 600; color: var(--ink); }
.container { max-width: 900px; margin: 0 auto; padding: 0 1.25rem; }
.hidden, [hidden] { display: none !important; }

/* ─── NAV ─── */
nav.top { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 2px solid var(--ink); display: flex; align-items: center; justify-content: space-between; padding: 0 1.5rem; height: 64px; }
.nav-logo { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; }
.nav-badge { background: var(--orange); color: #fff; font-family: var(--titulos); font-weight: 800; font-size: 1.05rem; letter-spacing: 0.05em; padding: 0.3rem 0.7rem; border-radius: 6px; }
.nav-name { font-family: var(--titulos); font-weight: 700; font-size: 0.95rem; color: var(--ink); }
.nav-links { display: flex; gap: 0.4rem; list-style: none; }
.nav-links a { font-family: var(--titulos); font-size: 0.82rem; font-weight: 700; color: var(--ink2); padding: 0.4rem 0.9rem; border-radius: 20px; transition: all 0.2s; letter-spacing: 0.02em; }
.nav-links a:hover { background: var(--ink); color: var(--white); }
.nav-links a.nav-login { border: 1.5px solid var(--ink); color: var(--ink); }
@media (max-width: 640px) { .nav-name { display: none; } nav.top { padding: 0 1rem; } }

/* ─── PAGE HEADER ─── */
.page-header { background: linear-gradient(135deg, #FFF7F0 0%, #FFECD2 40%, #E8F4FD 100%); border-bottom: 2px solid var(--border); padding: 2.5rem 0; position: relative; overflow: hidden; }
.page-header::before { content: ''; position: absolute; top: -40px; right: -40px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(255,92,26,0.08) 0%, transparent 70%); pointer-events: none; }
.page-eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--titulos); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; color: var(--orange); margin-bottom: 0.75rem; }
.page-header h1 { font-family: var(--display); font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 400; color: var(--ink); letter-spacing: -0.02em; margin-bottom: 0.5rem; line-height: 1.1; text-wrap: balance; }
.page-sub { font-size: 1.05rem; color: var(--ink2); line-height: 1.6; max-width: 62ch; }

/* ─── CONTENIDO ─── */
main { padding: 2.5rem 0 4rem; }
h2 { font-family: var(--titulos); font-weight: 800; letter-spacing: -0.02em; color: var(--ink); line-height: 1.15; }
h3 { font-family: var(--titulos); font-weight: 700; color: var(--ink); }
p { margin-bottom: 0.8rem; color: var(--ink2); }

.check { margin: 0 0 1.25rem; padding: 1rem 1.25rem; border: 1px solid var(--border); border-radius: 1rem; background: #F6FAF6; }
.check h2 { font-size: 1.15rem; margin: 0 0 0.5rem; }
.check ul { margin: 0; padding-left: 1.3rem; }
.check li { margin-bottom: 0.25rem; color: var(--ink2); }

.indice { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.25rem 0 2.25rem; }
.indice a { display: inline-block; padding: 0.4rem 0.8rem; border: 1.5px solid var(--ink); border-radius: 9999px; color: var(--ink); font-size: 0.85rem; font-weight: 700; font-family: var(--titulos); transition: background-color 0.2s, color 0.2s; }
.indice a:hover { background: var(--ink); color: #fff; }

.callout { margin: 1.1rem 0; padding: 1rem 1.1rem; border: 1px solid #dbeafe; border-radius: 1rem; background: var(--blue-soft); color: #1e3a8a; font-size: 0.95rem; }
.callout strong { display: block; margin-bottom: 0.25rem; color: #1d4ed8; }
.callout.warn { border-color: #fed7aa; background: #fff7ed; color: #7c2d12; }
.callout.warn strong { color: #c2410c; }
.callout.ok { border-color: #bbf7d0; background: var(--green-soft); color: #14532d; }
.callout.ok strong { color: var(--green); }
.callout.err { border-color: #fecaca; background: var(--red-soft); color: #7f1d1d; }
.callout.err strong { color: var(--red); }
.callout ul { margin: 0.4rem 0 0; padding-left: 1.2rem; }
.callout p:last-child { margin-bottom: 0; }

/* ─── PASOS (secciones del formulario) ─── */
.paso { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 2.25rem; scroll-margin-top: 6rem; }
.paso-num { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 9999px; background: var(--orange); color: #fff; font-weight: 800; font-size: 1.05rem; font-family: var(--titulos); box-shadow: 0 4px 12px rgba(255, 92, 26, 0.3); }
.paso.listo .paso-num { background: var(--green); box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3); }
.paso-body { flex: 1; min-width: 0; }
fieldset { border: 1px solid var(--border); border-radius: 1rem; background: var(--card); padding: 1.25rem 1.4rem 1rem; box-shadow: 0 12px 32px rgba(15, 28, 15, 0.05); }
fieldset:disabled { opacity: 0.75; }
legend { font-family: var(--titulos); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; color: var(--ink); padding: 0 0.4rem; }
.nota { background: var(--orange-soft); border-left: 3px solid var(--orange); padding: 0.7rem 0.9rem; margin: 0.5rem 0 1rem; font-size: 0.92rem; color: var(--ink2); border-radius: 0 0.6rem 0.6rem 0; }
.campo { padding: 0.8rem 0; border-bottom: 1px dashed var(--border); }
.campo:last-child { border-bottom: 0; }
label.tit { display: block; font-family: var(--titulos); font-weight: 700; font-size: 0.98rem; margin-bottom: 0.15rem; color: var(--ink); }
.req { color: var(--orange); }
.opcional { font-family: var(--titulos); font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink3); border: 1px solid var(--border); padding: 0.05rem 0.4rem; margin-left: 0.4rem; border-radius: 9999px; font-weight: 700; vertical-align: middle; }
.ayuda { font-size: 0.88rem; color: var(--ink3); margin: 0.1rem 0 0.5rem; }
input[type=text], input[type=date], input[type=email], input[type=tel], input[type=number], select, textarea {
  width: 100%; max-width: 460px; font: inherit; font-weight: 400; font-size: 0.98rem; padding: 0.6rem 0.8rem;
  border: 1.5px solid var(--border); border-radius: 10px; background: var(--white); color: var(--ink); transition: border-color 0.15s, box-shadow 0.15s;
}
textarea { max-width: 100%; min-height: 4.5rem; resize: vertical; }
input:focus, select:focus, textarea:focus, button:focus-visible { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,92,26,0.18); }
input[type=file] { font-size: 0.9rem; color: var(--ink2); max-width: 100%; }
input[type=file]::file-selector-button { font: inherit; font-family: var(--titulos); font-weight: 700; font-size: 0.82rem; padding: 0.45rem 0.9rem; border-radius: 9999px; border: 1.5px solid var(--ink); background: var(--white); color: var(--ink); cursor: pointer; margin-right: 0.7rem; }
input[type=file]::file-selector-button:hover { background: var(--ink); color: #fff; }
.radios { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.3rem; }
.radios label { display: inline-flex; align-items: center; gap: 0.5rem; cursor: pointer; border: 1.5px solid var(--border); background: var(--white); padding: 0.5rem 0.9rem; border-radius: 9999px; font-size: 0.92rem; font-weight: 400; }
.radios input { accent-color: var(--orange); margin: 0; }
.radios label:has(input:checked) { border-color: var(--orange); background: var(--orange-soft); font-weight: 600; }
.checkline { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.95rem; color: var(--ink2); cursor: pointer; }
.checkline input { accent-color: var(--orange); width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; flex-shrink: 0; }
.err { color: var(--red); font-size: 0.86rem; margin-top: 0.35rem; display: none; font-weight: 600; }
.campo.malo input, .campo.malo select, .campo.malo textarea { border-color: var(--red); background: var(--red-soft); }
.campo.malo .err { display: block; }

/* facsímil del certificado */
.cert { border: 1px solid var(--border); background: #FBFBF7; padding: 0.9rem 1rem; margin: 0.5rem 0 1rem; border-radius: 0.8rem; }
.cert-barras { height: 20px; margin-bottom: 0.6rem; opacity: 0.7; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 5px, var(--ink) 5px 8px, transparent 8px 12px); }
.cert-linea { font-family: var(--mono); font-size: 0.85rem; text-align: center; color: var(--ink2); }
.cert-pie { font-family: var(--mono); font-size: 0.8rem; text-align: right; margin-top: 0.7rem; color: var(--ink3); }
.cert b { background: var(--orange-soft); border: 1px solid var(--orange); color: var(--orange); padding: 0 0.25rem; font-weight: 600; border-radius: 4px; }
.cert-pie-txt { font-size: 0.85rem; color: var(--ink3); margin: 0.6rem 0 0; }

/* mapa */
.mapa-caja { margin-top: 0.5rem; border: 1.5px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--white); }
.mapa { height: 340px; width: 100%; background: var(--sky); }
.mapa-barra { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; padding: 0.6rem 0.7rem; background: #F6FAF6; border-bottom: 1px solid var(--border); }
.mapa-barra input { flex: 1 1 220px; max-width: none; font-size: 0.9rem; padding: 0.5rem 0.7rem; }
.mapa-pie { padding: 0.55rem 0.75rem; font-family: var(--mono); font-size: 0.8rem; color: var(--ink3); background: #F6FAF6; border-top: 1px solid var(--border); }
.mapa-pie b { color: var(--green); }

/* documentos */
.oficiales { margin: 0 0 1rem; padding: 0.8rem 1rem; background: var(--blue-soft); border: 1px solid #dbeafe; border-radius: 0.8rem; }
.oficiales h3 { font-size: 0.9rem; margin-bottom: 0.4rem; color: #1d4ed8; }
.oficiales ul { margin: 0; padding-left: 1.2rem; font-size: 0.92rem; line-height: 1.9; }
.docs .campo { display: grid; gap: 0.25rem; }
.estado { font-size: 0.86rem; margin-top: 0.2rem; font-weight: 600; }
.estado.ok { color: var(--green); }
.estado.mal { color: var(--red); }
.estado.info { color: var(--ink3); font-weight: 400; }
.doc-actual { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; font-size: 0.88rem; color: var(--ink2); margin: 0.2rem 0 0.4rem; }
.doc-actual .pill { background: var(--green-soft); color: #14532d; border: 1px solid #bbf7d0; border-radius: 9999px; padding: 0.15rem 0.6rem; font-weight: 600; font-size: 0.8rem; }

/* botones */
.btn { font: inherit; font-family: var(--titulos); font-weight: 800; font-size: 0.95rem; cursor: pointer; border-radius: 9999px; padding: 0.8rem 1.6rem; border: 1.5px solid transparent; transition: all 0.2s; letter-spacing: 0.02em; }
.btn-primario { background: var(--orange); color: #fff; box-shadow: 0 4px 14px rgba(255,92,26,0.3); }
.btn-primario:hover { background: #e94f12; }
.btn-primario:disabled { opacity: 0.5; cursor: not-allowed; box-shadow: none; }
.btn-secundario { background: var(--white); color: var(--ink); border-color: var(--ink); padding: 0.5rem 1rem; font-size: 0.85rem; }
.btn-secundario:hover { background: var(--ink); color: #fff; }
.acciones { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 1.5rem; }
#progreso { font-size: 0.92rem; color: var(--ink2); }
.barra { height: 6px; background: var(--border); border-radius: 9999px; overflow: hidden; width: 100%; max-width: 320px; }
.barra > div { height: 100%; background: var(--orange); width: 0; transition: width 0.3s; }

/* resultado / banner de seguimiento */
.banner { margin: 0 0 1.5rem; padding: 1rem 1.25rem; border-radius: 1rem; border: 1px solid var(--border); background: var(--white); display: grid; gap: 0.4rem; }
.banner .estado-pill { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--titulos); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.25rem 0.7rem; border-radius: 9999px; background: var(--sky); color: #1e3a8a; width: fit-content; }
.banner .estado-pill.ok { background: var(--green-soft); color: #14532d; }
.banner .estado-pill.warn { background: #fff7ed; color: #c2410c; }
.banner .estado-pill.err { background: var(--red-soft); color: #7f1d1d; }

/* reenviar enlace */
.reenviar { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px dashed var(--border); font-size: 0.92rem; }
.reenviar form { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin-top: 0.5rem; }
.reenviar input { max-width: 240px; font-size: 0.9rem; padding: 0.5rem 0.7rem; }

/* footer */
footer.site { background: #111827; color: #fff; margin-top: 3rem; padding: 2.5rem 0; }
footer.site .container { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 720px) { footer.site .container { grid-template-columns: 2fr 1fr; } }
footer .f-club { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.8rem; }
footer .f-club .nav-badge { font-size: 1.3rem; }
footer h3 { color: #fff; font-size: 1.1rem; }
footer p, footer a { color: #d1d5db; font-size: 0.9rem; margin: 0; }
footer a:hover { color: #93c5fd; }
footer .f-since { color: #9ca3af; font-size: 0.78rem; }
footer h4 { font-family: var(--titulos); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: #9ca3af; margin-bottom: 0.6rem; }
footer ul { list-style: none; display: grid; gap: 0.4rem; }
.f-bottom { background: rgba(0,0,0,0.3); border-top: 1px solid rgba(255,255,255,0.08); padding: 0.9rem 0; text-align: center; font-family: var(--titulos); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; color: rgba(255,255,255,0.4); }

/* honeypot */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

@media (max-width: 640px) {
  .paso { gap: 0.6rem; } .paso-num { width: 2.1rem; height: 2.1rem; font-size: 0.95rem; }
  fieldset { padding: 1rem 1rem 0.6rem; } legend { font-size: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* ─── ASISTENTE POR PASOS ─── */
.avance { display: grid; gap: 0.4rem; margin-bottom: 1rem; }
.avance-txt { font-family: var(--titulos); font-size: 0.9rem; color: var(--ink2); }
.avance-txt strong { font-size: 1.3rem; color: var(--orange); margin-right: 0.3rem; }
.avance-txt span { color: var(--ink3); font-weight: 400; font-family: var(--texto); }
.avance .barra { max-width: none; height: 8px; }
.stepper { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1.5rem; padding: 0; }
.stepper li { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.8rem 0.35rem 0.4rem; border: 1.5px solid var(--border); border-radius: 9999px; background: var(--white); font-family: var(--titulos); font-weight: 700; font-size: 0.82rem; color: var(--ink3); cursor: default; }
.stepper li .n { display: inline-flex; align-items: center; justify-content: center; width: 1.6rem; height: 1.6rem; border-radius: 9999px; background: var(--border); color: var(--ink2); font-size: 0.78rem; font-weight: 800; }
.stepper li.alcanzado { cursor: pointer; color: var(--ink2); }
.stepper li.alcanzado:hover { border-color: var(--ink); }
.stepper li.completo .n { background: var(--green); color: #fff; }
.stepper li.actual { border-color: var(--orange); color: var(--ink); background: var(--orange-soft); }
.stepper li.actual .n { background: var(--orange); color: #fff; box-shadow: 0 3px 10px rgba(255,92,26,0.35); }
.paso-panel[hidden] { display: none; }
.paso-panel .paso { margin-bottom: 1rem; }
.nav-pasos { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed var(--border); }
.nav-pasos .espacio { flex: 1; }
.nav-pasos #progreso { font-size: 0.88rem; color: var(--ink3); }
/* checklist inicial */
.lista-docs { list-style: none; display: grid; gap: 0.5rem; margin: 0.6rem 0 0; padding: 0; }
.lista-docs li { display: grid; grid-template-columns: 1.6rem 1fr; gap: 0.6rem; align-items: start; padding: 0.6rem 0.7rem; border: 1px solid var(--border); border-radius: 0.8rem; background: var(--white); }
.lista-docs .ico { width: 1.5rem; height: 1.5rem; border-radius: 9999px; border: 2px solid var(--border); display: inline-flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 800; color: #fff; margin-top: 0.1rem; }
.lista-docs li.ok .ico { background: var(--green); border-color: var(--green); }
.lista-docs .nom { font-family: var(--titulos); font-weight: 700; font-size: 0.95rem; color: var(--ink); }
.lista-docs .det { font-size: 0.86rem; color: var(--ink3); margin-top: 0.1rem; }
.lista-docs .det a { white-space: nowrap; }
.lista-docs .opcional { margin-left: 0.4rem; }
/* revisión */
.resumen { border: 1px solid var(--border); border-radius: 0.8rem; background: var(--white); margin-bottom: 1rem; overflow: hidden; }
.resumen header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.6rem 0.9rem; background: #F6FAF6; border-bottom: 1px solid var(--border); font-family: var(--titulos); font-weight: 800; font-size: 0.95rem; }
.resumen header a { font-size: 0.82rem; }
.resumen dl { display: grid; grid-template-columns: minmax(140px, 38%) 1fr; margin: 0; }
.resumen dt, .resumen dd { padding: 0.45rem 0.9rem; font-size: 0.9rem; border-bottom: 1px dashed var(--border); margin: 0; }
.resumen dt { color: var(--ink3); } .resumen dd { color: var(--ink); font-weight: 400; word-break: break-word; }
.resumen dd.falta { color: var(--red); font-weight: 600; }
.resumen dl > :nth-last-child(-n+2) { border-bottom: 0; }
@media (max-width: 560px) { .resumen dl { grid-template-columns: 1fr; } .resumen dt { padding-bottom: 0; border-bottom: 0; } .nav-pasos .btn { flex: 1 1 auto; text-align: center; } }
.ingreso .paso-num { font-size: 1.3rem; }
.ingreso input[type=text] { max-width: 280px; font-size: 1.15rem; letter-spacing: 0.08em; font-family: var(--mono); }
.ingreso .acciones { margin-top: 1rem; }
#in-msg { font-size: 0.9rem; color: var(--red); font-weight: 600; }
.salir { margin-top: 2rem; text-align: right; }
input[readonly] { background: #F3F6F1; color: var(--ink2); border-style: dashed; }

.gestionar { margin: 0 0 1.2rem; }
.gestionar ul { margin: 0.5rem 0 0; padding-left: 1.2rem; display: grid; gap: 0.35rem; }
.gestionar li span { color: var(--ink3); font-size: 0.86rem; }

.btn-texto { background: transparent; border-color: transparent; color: var(--ink3); text-decoration: underline; text-underline-offset: 3px; padding: 0.5rem 0.6rem; font-size: 0.85rem; font-weight: 700; }
.btn-texto:hover { color: var(--orange); }
.nav-pasos { row-gap: 0.8rem; }

.firma { color: #c2410c; }
figure.ejemplo { margin: 0.5rem 0 0.6rem; }
figure.ejemplo img { display: block; max-width: 100%; width: 420px; border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 8px 24px rgba(15,28,15,0.08); background: #fff; }
figure.ejemplo.chica img { width: 220px; }
figure.ejemplo figcaption { font-size: 0.82rem; color: var(--ink3); margin-top: 0.3rem; }
figure.ejemplo figcaption .firma { font-size: 0.86rem; }
.aviso-pdf { margin: 0.4rem 0 1rem; }
