/* ESTILOS COMUNES DE DEREX ABOGADOS: cambia aquí colores y tipografía para toda la web */
:root{--azul:#6286b6;--marino:#1f3350;--amarillo:#fdef3e;--texto:#1f2a3a;--gris:#eef2f7;--fuente:system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif}
*{box-sizing:border-box}
body{margin:0;font:1.125rem/1.65 var(--fuente);color:var(--texto);background:#fff}
a{color:var(--marino)}
a:hover{color:var(--azul)}
:focus-visible{outline:3px solid var(--amarillo);outline-offset:2px}
header{background:var(--azul)}
.wrap{max-width:62rem;margin:0 auto;padding:0 1.25rem}
header .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem 2rem;padding-top:.5rem;padding-bottom:.5rem}
header img{height:64px;width:auto;display:block}
nav ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.25rem 1.4rem}
nav a{color:#fff;font-weight:500;font-size:1.15rem;text-decoration:none;padding:.3rem 0;border-bottom:3px solid transparent}
nav a:hover,nav a[aria-current]{color:#fff;border-bottom-color:var(--amarillo)}
.hero{background:var(--marino);color:#fff;padding:4rem 0}
.hero h1{font-size:clamp(2.2rem,5vw,3.2rem);font-weight:500;line-height:1.15;margin:0 0 1rem;max-width:20ch}
.hero p{max-width:40rem;font-size:1.25rem;margin:0 0 1.75rem}
.btn{display:inline-block;background:var(--amarillo);color:var(--marino);font-weight:700;padding:.75rem 1.5rem;text-decoration:none;border-radius:4px}
.btn:hover{background:#fff;color:var(--marino)}
main .wrap{padding-top:2.5rem;padding-bottom:3rem}
main h1{font-size:2.0rem;line-height:1.2;margin:0 0 1rem;color:var(--marino)}
main h2{font-size:1.4rem;color:var(--marino);margin:2rem 0 .5rem}
main p,main li{max-width:42rem}
.areas{display:grid;grid-template-columns:repeat(auto-fit,minmax(16rem,1fr));gap:1.5rem;margin-top:1rem}
.areas a{display:block;padding:1.25rem;background:var(--gris);border-left:6px solid var(--amarillo);text-decoration:none;color:var(--texto)}
.areas a:hover{background:#e1e8f1}
.areas h2{margin:0 0 .4rem;font-size:1.2rem}
.areas p{margin:0}
.entradas{list-style:none;padding:0}
.entradas li{padding:1rem 0;border-bottom:1px solid #d5dce6}
.entradas time,.fecha{color:#4a5a70;font-size:.95rem}
.entradas h2{margin:.1rem 0}
.horario{display:grid;grid-template-columns:auto 1fr;gap:.4rem 1.5rem;max-width:34rem}
.horario dt{font-weight:700}
.horario dd{margin:0}
footer{background:var(--marino);color:#fff;padding:1.5rem 0;font-size:1rem}
footer a{color:#fff}
footer p{margin:.2rem 0}
