:root { --tinta: #1c2430; --suave: #5b6b7d; --linea: #d9e0e8; --fondo: #f4f6f9; --azul: #0b63c5; --verde: #12805c; --rojo: #b42318; --radio: 10px; }
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--tinta); background: var(--fondo); }
a { color: var(--azul); }
.envoltura { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
header.sitio { background: #fff; border-bottom: 1px solid var(--linea); }
header.sitio .envoltura { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .8rem; padding-bottom: .8rem; }
.logo { font-weight: 800; font-size: 1.3rem; letter-spacing: -.01em; color: var(--tinta); text-decoration: none; display: flex; align-items: center; gap: .5rem; }
.logo i { display: inline-block; width: 6px; height: 22px; border-radius: 3px; }
.botones-legales { display: flex; gap: .5rem; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .6rem 1rem; border-radius: 8px; border: 1px solid var(--linea); background: #fff; color: var(--tinta); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn:hover { border-color: #b7c3d0; }
.btn-primario { background: var(--azul); border-color: var(--azul); color: #fff; }
.btn-chico { padding: .35rem .7rem; font-size: .9rem; }
.btn-peligro { color: var(--rojo); border-color: #f0b4ae; }
.hero { padding: 3rem 0 2rem; }
.hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.15; margin: 0 0 .8rem; }
.hero p { font-size: 1.15rem; color: var(--suave); max-width: 640px; }
.grilla { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.tarjeta { background: #fff; border: 1px solid var(--linea); border-radius: var(--radio); padding: 1.2rem; }
.tarjeta h3 { margin: 0 0 .4rem; }
.precio { font-size: 1.9rem; font-weight: 800; margin: .3rem 0; }
.precio small { font-size: .95rem; font-weight: 500; color: var(--suave); }
section { margin: 2.2rem 0; }
h2 { font-size: 1.45rem; margin: 0 0 1rem; }
form .campo { display: grid; gap: .25rem; margin-bottom: .75rem; }
label { font-weight: 600; font-size: .93rem; }
input, select, textarea { font: inherit; padding: .55rem .7rem; border: 1px solid #c4ced9; border-radius: 8px; background: #fff; width: 100%; }
textarea { min-height: 90px; }
.check { display: flex; gap: .5rem; align-items: flex-start; font-weight: 500; }
.check input { width: auto; margin-top: .3rem; }
.fila { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.aviso { padding: .7rem .9rem; border-radius: 8px; background: #eef5ff; border: 1px solid #c7dcf7; margin: .8rem 0; }
.aviso.error { background: #fdecea; border-color: #f3b8b1; color: #7a1b12; }
.aviso.ok { background: #e7f6ef; border-color: #a9dcc4; color: #0b5a3f; }
footer.sitio { margin-top: 3rem; background: #fff; border-top: 1px solid var(--linea); padding: 1.6rem 0 2.4rem; font-size: .88rem; color: var(--suave); }
footer.sitio .enlaces { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: .8rem; }
.estrecho { max-width: 640px; }
.tabla { width: 100%; border-collapse: collapse; background: #fff; font-size: .92rem; }
.tabla th, .tabla td { padding: .5rem .6rem; border-bottom: 1px solid var(--linea); text-align: left; vertical-align: top; }
.tabla th { font-size: .82rem; text-transform: uppercase; letter-spacing: .03em; color: var(--suave); }
.etq { display: inline-block; padding: .1rem .5rem; border-radius: 999px; font-size: .8rem; font-weight: 700; background: #eef1f5; }
.etq.al_dia { background: #e3f6ec; color: #0b5a3f; } .etq.prueba { background: #e8f0fe; color: #174ea6; } .etq.por_vencer { background: #fff4d6; color: #6b4e00; }
.etq.gracia { background: #ffe8d6; color: #7a3a00; } .etq.solo_lectura, .etq.suspendida { background: #fde4e4; color: #7a1010; } .etq.baja { background: #e6e8eb; color: #3d4652; }
.kpis { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-bottom: 1.2rem; }
.kpi { background: #fff; border: 1px solid var(--linea); border-radius: var(--radio); padding: .8rem 1rem; }
.kpi b { display: block; font-size: 1.6rem; }
dialog { border: none; border-radius: 12px; padding: 1.4rem; width: min(680px, 94vw); box-shadow: 0 20px 60px rgba(0,0,0,.25); }
dialog::backdrop { background: rgba(15, 25, 40, .45); }
.acciones { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .8rem; }
code { background: #eef1f5; padding: .1rem .35rem; border-radius: 5px; }
.oculto { display: none !important; }
