/* Traductor Jurado Oficial — hoja de estilos principal
   Paleta: azul oscuro, rojo oscuro, negro, blanco y gris */

@font-face{
  font-family:"Lora";
  src:url("../fonts/lora-var.woff") format("woff");
  font-weight:400 700;
  font-style:normal;
  font-display:swap;
}

:root{
  --navy:#0B2A5B;
  --navy-deep:#071B3D;
  --navy-2:#153F82;
  --red:#B50F24;
  --red-deep:#8E0A1B;
  --black:#000;
  --ink:#1B1F27;
  --muted:#5A6270;
  --g50:#F5F6F8;
  --g100:#ECEEF2;
  --g200:#DDE1E7;
  --g300:#C4CAD3;
  --white:#fff;
  --radius:6px;
  --radius-lg:12px;
  --shadow:0 1px 2px rgba(7,27,61,.08),0 8px 24px rgba(7,27,61,.08);
  --serif:"Lora","Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif;
  --sans:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --wrap:1180px;
  --wrap-wide:1320px;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:96px}
body{margin:0;font-family:var(--sans);font-size:1.0625rem;line-height:1.65;color:var(--ink);background:var(--white);-webkit-font-smoothing:antialiased}
img,svg{max-width:100%;height:auto}
img{display:block}
a{color:var(--navy);text-decoration-thickness:1px;text-underline-offset:3px}
a:hover{color:var(--red)}
h1,h2,h3,h4{font-family:var(--serif);color:var(--navy);line-height:1.18;margin:0 0 .6em;font-weight:600;letter-spacing:-.005em}
h1{font-size:clamp(2rem,4.4vw,3.35rem);letter-spacing:-.015em}
h2{font-size:clamp(1.55rem,2.8vw,2.15rem)}
h3{font-size:1.25rem}
h4{font-size:1.08rem}
p{margin:0 0 1em}
ul,ol{margin:0 0 1.1em;padding-left:1.2em}
strong{font-weight:650}
:focus-visible{outline:3px solid var(--red);outline-offset:2px;border-radius:2px}
.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip-link{position:absolute;left:-999px;top:0;background:var(--black);color:#fff;padding:.7rem 1rem;z-index:1000}
.skip-link:focus{left:0;color:#fff}

.container{width:100%;max-width:var(--wrap);margin:0 auto;padding:0 1.25rem}
.container.wide{max-width:var(--wrap-wide)}

/* ---------- Botones ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;font:600 1rem/1.2 var(--sans);padding:.95rem 1.5rem;border-radius:var(--radius);border:2px solid transparent;text-decoration:none;cursor:pointer;transition:background-color .15s,color .15s,border-color .15s;white-space:nowrap}
.btn svg{width:1.15em;height:1.15em;flex:none}
.btn-primary{background:var(--red);color:#fff}
.btn-primary:hover{background:var(--red-deep);color:#fff}
.btn-navy{background:var(--navy);color:#fff}
.btn-navy:hover{background:var(--navy-deep);color:#fff}
.btn-outline{background:transparent;color:var(--navy);border-color:var(--navy)}
.btn-outline:hover{background:var(--navy);color:#fff}
.btn-light{background:#fff;color:var(--navy)}
.btn-light:hover{background:var(--g100);color:var(--navy)}
.btn-ghost-light{background:transparent;color:#fff;border-color:rgba(255,255,255,.6)}
.btn-ghost-light:hover{background:#fff;color:var(--navy)}
.btn-wa{background:#0E7A45;color:#fff}
.btn-wa:hover{background:#0A5C34;color:#fff}
.btn-sm{padding:.65rem 1.05rem;font-size:.95rem}
.btn-block{display:flex;width:100%}
.btn-row{display:flex;flex-wrap:wrap;gap:.75rem}

/* ---------- Barra superior ---------- */
.topbar{background:var(--black);color:#fff;font-size:.875rem}
.topbar .container{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding-top:.45rem;padding-bottom:.45rem}
.topbar a{color:#fff;text-decoration:none;display:inline-flex;align-items:center;gap:.4rem}
.topbar a:hover{color:#fff;text-decoration:underline}
.topbar svg{width:1em;height:1em}
.topbar .tb-right{display:flex;gap:1.4rem;align-items:center}
.topbar .tb-left strong{color:#fff}

/* ---------- Cabecera ---------- */
.site-header{background:#fff;border-bottom:1px solid var(--g200);position:sticky;top:0;z-index:50}
.site-header .container{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:74px}
.brand{display:flex;align-items:center;flex:none}
.brand img{height:50px;width:auto}
.nav{display:flex;align-items:center;gap:.15rem}
.nav>ul{display:flex;list-style:none;margin:0;padding:0;align-items:center;gap:.1rem}
.nav li{position:relative}
.nav a.nl,.nav button.nl{font:500 .95rem/1 var(--sans);color:var(--ink);text-decoration:none;background:none;border:0;padding:.85rem .7rem;cursor:pointer;display:inline-flex;align-items:center;gap:.3rem;border-radius:var(--radius)}
.nav a.nl:hover,.nav button.nl:hover,.nav li.open>button.nl{color:var(--red)}
.nav a.nl[aria-current="page"]{color:var(--red);box-shadow:inset 0 -3px 0 var(--red);border-radius:0}
.nav .caret{width:.7em;height:.7em;transition:transform .15s}
.nav li.open>button .caret{transform:rotate(180deg)}
.nav .btn{margin-left:.6rem}
.dropdown{display:none;position:absolute;left:0;top:100%;min-width:270px;background:#fff;border:1px solid var(--g200);border-top:3px solid var(--red);border-radius:0 0 var(--radius) var(--radius);box-shadow:var(--shadow);padding:.5rem;list-style:none;margin:0;z-index:60}
.nav li.open>.dropdown,.nav li.has-dd:focus-within>.dropdown{display:block}
.nav li.has-dd:focus-within>.mega{display:grid}
.dropdown a{display:flex;align-items:center;gap:.6rem;padding:.55rem .75rem;text-decoration:none;color:var(--ink);font-size:.95rem;border-radius:4px;line-height:1.3}
.dropdown a:hover{background:var(--g50);color:var(--red)}
.dropdown .dd-all{border-top:1px solid var(--g200);margin-top:.35rem;padding-top:.35rem}
.dropdown .dd-all a{font-weight:600;color:var(--navy)}
.mega{min-width:0;width:min(760px,92vw);left:50%;transform:translateX(-32%);display:none;padding:.9rem}
.nav li.open>.mega{display:grid;grid-template-columns:repeat(3,1fr);gap:0 .5rem}
.mega li{list-style:none}
.mega .dd-all{grid-column:1/-1}
.mega-cities{width:min(640px,92vw)}
.nav li.open>.mega-cities{grid-template-columns:repeat(3,1fr)}
.flag{width:26px;height:17px;border-radius:2px;border:1px solid rgba(0,0,0,.18);flex:none;object-fit:cover}
.burger{display:none;background:none;border:1px solid var(--g300);border-radius:var(--radius);padding:.6rem .7rem;cursor:pointer;color:var(--navy)}
.burger svg{width:24px;height:24px;display:block}

@media (max-width:1160px){
  .burger{display:inline-flex}
  .nav{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:1px solid var(--g200);box-shadow:var(--shadow);max-height:calc(100vh - 120px);overflow:auto;padding:.5rem 1.25rem 1.25rem;flex-direction:column;align-items:stretch}
  .nav.open{display:flex}
  .nav>ul{flex-direction:column;align-items:stretch;width:100%}
  .nav li{width:100%}
  .nav a.nl,.nav button.nl{width:100%;justify-content:space-between;padding:.95rem .25rem;border-bottom:1px solid var(--g100);font-size:1.02rem;border-radius:0}
  .nav a.nl[aria-current="page"]{box-shadow:none}
  .dropdown,.mega{position:static;box-shadow:none;border:0;border-left:3px solid var(--red);border-radius:0;transform:none;width:auto;min-width:0;margin:.25rem 0 .5rem .25rem;padding:.25rem .5rem}
  .nav li.open>.mega,.nav li.open>.mega-cities{grid-template-columns:1fr 1fr}
  .nav .btn{margin:1rem 0 0;width:100%}
}
@media (max-width:640px){
  .topbar .tb-left{display:none}
  .topbar .container{justify-content:center}
  .brand img{height:42px}
  .nav li.open>.mega,.nav li.open>.mega-cities{grid-template-columns:1fr}
}

/* ---------- Hero portada ---------- */
.hero{position:relative;color:#fff;background:linear-gradient(100deg,rgba(7,27,61,.97) 0%,rgba(11,42,91,.9) 52%,rgba(11,42,91,.72) 100%),url("../img/papel-timbrado.webp") center/cover no-repeat,var(--navy);overflow:hidden;isolation:isolate}
.hero::after{content:"";position:absolute;right:-140px;bottom:-190px;width:620px;height:620px;background:url("../img/sello.webp") center/contain no-repeat;opacity:.07;filter:invert(1);z-index:-1;pointer-events:none}
.hero .container{display:grid;grid-template-columns:1.2fr .8fr;gap:3.5rem;align-items:center;padding-top:4.5rem;padding-bottom:4.75rem}
.hero h1{color:#fff;max-width:17ch;font-size:clamp(2.1rem,4.6vw,3.6rem);margin-bottom:.5em}
.hero .lead{font-size:1.2rem;line-height:1.55;color:#E3E8F1;max-width:52ch;margin-bottom:1.6rem}
.hero .lead strong{color:#fff}
.hero-checks{list-style:none;padding:0;margin:1.8rem 0 0;display:grid;gap:.55rem;color:#E3E8F1;font-size:1rem}
.hero-checks li{display:flex;gap:.65rem;align-items:flex-start}
.hero-checks svg{width:1.25rem;height:1.25rem;flex:none;margin-top:.2rem;color:#fff}
.quote-card{position:relative;background:#fff;color:var(--ink);border-radius:var(--radius-lg);padding:2rem 1.75rem 1.6rem;box-shadow:0 20px 50px rgba(0,0,0,.35)}
.quote-card h2{font-size:1.5rem;margin-bottom:.45rem;padding-right:96px}
.quote-card p{color:var(--muted);font-size:.98rem}
.quote-card .btn{margin-top:.55rem}
.quote-card .small{font-size:.88rem;margin:1rem 0 0;color:var(--muted)}
.stamp{position:absolute;right:-26px;top:-46px;width:132px;height:132px;transform:rotate(-9deg);filter:drop-shadow(0 6px 10px rgba(0,0,0,.28))}
.stamp svg{width:100%;height:100%;display:block}
@media (max-width:980px){
  .hero .container{grid-template-columns:1fr;gap:2.75rem;padding-top:3rem;padding-bottom:3.5rem}
  .hero h1{max-width:20ch}
  .stamp{right:-8px}
}

/* ---------- Cabecera de páginas interiores ---------- */
.page-hero{background:var(--g50);border-bottom:1px solid var(--g200);position:relative;overflow:hidden;isolation:isolate}
.page-hero::after{content:"";position:absolute;right:-90px;top:-70px;width:340px;height:340px;background:url("../img/sello.webp") center/contain no-repeat;opacity:.07;z-index:-1}
.page-hero .container{padding-top:2.4rem;padding-bottom:2.6rem}
.page-hero h1{margin-bottom:.4em;max-width:22ch;font-size:clamp(1.9rem,4vw,3rem)}
.page-hero .lead{font-size:1.15rem;color:#39414F;max-width:62ch;margin-bottom:1.4rem}
.hero-flag{display:flex;align-items:center;gap:.9rem;margin-bottom:1rem}
.hero-flag img{width:64px;height:auto;aspect-ratio:3/2;border-radius:3px;border:1px solid rgba(0,0,0,.2);box-shadow:0 2px 6px rgba(0,0,0,.15)}
.hero-flag span{font-weight:600;color:var(--navy);font-size:1rem}
.crumbs{font-size:.9rem;color:var(--muted);margin-bottom:1.1rem}
.crumbs ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.3rem}
.crumbs li+li::before{content:"/";margin-right:.3rem;color:var(--g300)}
.crumbs a{color:var(--muted)}
.crumbs a:hover{color:var(--red)}

/* ---------- Secciones ---------- */
.section{padding:4.25rem 0}
.section.alt{background:var(--g50)}
.section.dark{background:var(--navy);color:#E3E8F1}
.section.dark h2,.section.dark h3{color:#fff}
.section-head{max-width:70ch;margin-bottom:2.2rem}
.section-head.center{margin-left:auto;margin-right:auto;text-align:center}
.section-head p{color:var(--muted);font-size:1.1rem}
.section.dark .section-head p{color:#D6DDEA}
.split{display:grid;grid-template-columns:1fr 1fr;gap:3.5rem;align-items:center}
.split.top{align-items:start}
@media (max-width:900px){.split{grid-template-columns:1fr;gap:2rem}}
.figure-frame{border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow);border:1px solid var(--g200)}
.figure-frame img{width:100%}

/* Franja de confianza */
.trust{background:#fff;border-bottom:1px solid var(--g200)}
.trust ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr)}
.trust li{display:flex;gap:.9rem;align-items:flex-start;padding:1.5rem 1.25rem;border-left:1px solid var(--g200);font-size:.97rem;line-height:1.4}
.trust li:first-child{border-left:0}
.trust svg{width:2rem;height:2rem;flex:none;color:var(--red)}
.trust b{display:block;color:var(--navy);font-family:var(--serif);font-size:1.05rem;margin-bottom:.15rem}
.trust span{color:var(--muted)}
@media (max-width:980px){.trust ul{grid-template-columns:1fr 1fr}.trust li:nth-child(3){border-left:0}.trust li{border-top:1px solid var(--g200)}.trust li:nth-child(-n+2){border-top:0}}
@media (max-width:560px){.trust ul{grid-template-columns:1fr}.trust li{border-left:0;border-top:1px solid var(--g200)}.trust li:first-child{border-top:0}}

/* Pasos */
.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;counter-reset:step}
.steps li{position:relative;background:#fff;border:1px solid var(--g200);border-radius:var(--radius-lg);padding:2.6rem 1.6rem 1.6rem;counter-increment:step}
.steps li::before{content:counter(step);position:absolute;left:1.5rem;top:-1.2rem;width:2.5rem;height:2.5rem;border-radius:50%;background:var(--red);color:#fff;font:600 1.2rem/2.5rem var(--serif);text-align:center;box-shadow:0 0 0 5px #fff}
.section.alt .steps li::before{box-shadow:0 0 0 5px var(--g50)}
.steps h3{margin-bottom:.4rem}
.steps p{margin:0;color:#3B4351;font-size:.99rem}
@media (max-width:900px){.steps{grid-template-columns:1fr;gap:2rem}}

/* Mosaicos de idiomas / ciudades */
.tiles{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:.75rem}
.tile a{display:flex;align-items:center;gap:.8rem;padding:.85rem 1rem;background:#fff;border:1px solid var(--g200);border-radius:var(--radius);text-decoration:none;color:var(--ink);height:100%;transition:border-color .15s,box-shadow .15s}
.tile a:hover{border-color:var(--red);box-shadow:0 2px 10px rgba(7,27,61,.1);color:var(--ink)}
.tile img{width:38px;height:auto;aspect-ratio:3/2;border-radius:3px;border:1px solid rgba(0,0,0,.2);flex:none}
.tile b{display:block;color:var(--navy);font-weight:600;line-height:1.25}
.tile small{display:block;color:var(--muted);font-size:.85rem;line-height:1.3}
.tile .pin{width:38px;height:38px;flex:none;color:var(--navy);background:var(--g100);border-radius:50%;padding:9px}
.tile-plain a{padding:.7rem .95rem}

/* Tarjetas de documentos */
.cards{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1.1rem}
.card{background:#fff;border:1px solid var(--g200);border-radius:var(--radius-lg);padding:1.35rem 1.4rem;display:flex;flex-direction:column;height:100%}
.card h3{font-size:1.12rem;margin-bottom:.35rem}
.card h3 a{text-decoration:none;color:var(--navy)}
.card h3 a:hover{color:var(--red)}
.card p{color:#3B4351;font-size:.96rem;margin:0 0 .8rem}
.card .more{margin-top:auto;font-weight:600;font-size:.95rem;text-decoration:none;color:var(--red)}
.card .more:hover{text-decoration:underline}
.card .ico{width:2.4rem;height:2.4rem;color:var(--navy);margin-bottom:.7rem}
.section.alt .card{background:#fff}

/* ---------- Contenido tipo artículo ---------- */
.layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:3.5rem;align-items:start}
@media (max-width:1000px){.layout{grid-template-columns:1fr;gap:2.5rem}}
.prose{max-width:74ch}
.prose h2{margin-top:2.2rem}
.prose h2:first-child{margin-top:0}
.prose h3{margin-top:1.6rem}
.prose ul{list-style:none;padding-left:0}
.prose ul li{position:relative;padding-left:1.4rem;margin-bottom:.45rem}
.prose ul li::before{content:"";position:absolute;left:.1rem;top:.72em;width:.5rem;height:.5rem;background:var(--red);border-radius:1px}
.prose ol{padding-left:1.3rem}
.prose ol li{margin-bottom:.45rem;padding-left:.2rem}
.prose ol li::marker{font-weight:700;color:var(--red)}
.prose table,.table{width:100%;border-collapse:collapse;margin:1.2rem 0 1.6rem;font-size:.98rem}
.prose th,.prose td,.table th,.table td{padding:.75rem .9rem;border:1px solid var(--g200);text-align:left;vertical-align:top}
.prose th,.table th{background:var(--g50);color:var(--navy);font-weight:650}
.table-wrap{overflow-x:auto}
.callout{background:var(--g50);border:1px solid var(--g200);border-left:4px solid var(--red);border-radius:var(--radius);padding:1.1rem 1.3rem;margin:1.5rem 0}
.callout p:last-child{margin-bottom:0}
.callout.navy{border-left-color:var(--navy)}
.aside-card{position:sticky;top:96px;background:#fff;border:1px solid var(--g200);border-top:4px solid var(--red);border-radius:var(--radius-lg);padding:1.6rem 1.5rem;box-shadow:var(--shadow)}
.aside-card h2{font-size:1.35rem;margin-bottom:.5rem}
.aside-card p{font-size:.97rem;color:var(--muted)}
.aside-card .btn{margin-bottom:.6rem}
.aside-card hr{border:0;border-top:1px solid var(--g200);margin:1.2rem 0}
.aside-card ul{list-style:none;padding:0;margin:0;font-size:.95rem}
.aside-card li{display:flex;gap:.55rem;align-items:flex-start;margin-bottom:.5rem}
.aside-card li svg{width:1.1rem;height:1.1rem;color:var(--red);flex:none;margin-top:.28rem}
.price-tag{display:flex;align-items:baseline;gap:.5rem;margin:.2rem 0 .9rem;font-family:var(--serif);color:var(--navy)}
.price-tag b{font-size:2.3rem;line-height:1}
.price-tag span{font-size:1rem;color:var(--muted);font-family:var(--sans)}

/* Listas de enlaces (ciudades, idiomas) */
.link-cols{list-style:none;margin:0;padding:0;columns:3 210px;column-gap:1.5rem}
.link-cols li{break-inside:avoid;margin-bottom:.3rem}
.link-cols a{text-decoration:none;color:var(--navy);display:inline-block;padding:.15rem 0}
.link-cols a:hover{color:var(--red);text-decoration:underline}
.filter{display:flex;gap:.75rem;flex-wrap:wrap;margin-bottom:1.5rem}
.filter input,.filter select,.field input,.field select,.field textarea{font:inherit;padding:.8rem .9rem;border:1px solid var(--g300);border-radius:var(--radius);background:#fff;color:var(--ink);width:100%}
.filter input{flex:1 1 260px;width:auto}
.filter select{flex:1 1 200px;width:auto}
.field{margin-bottom:1rem}
.field label{display:block;font-weight:600;font-size:.95rem;margin-bottom:.3rem;color:var(--navy)}
.field textarea{min-height:130px;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus,.filter input:focus,.filter select:focus{border-color:var(--navy);outline:3px solid rgba(11,42,91,.2);outline-offset:0}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 1rem}
@media (max-width:640px){.form-grid{grid-template-columns:1fr}}
.form-note{font-size:.9rem;color:var(--muted)}
.hp{position:absolute;left:-9999px}

/* Métodos de pago */
.pay{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.6rem}
.pay li{display:inline-flex;align-items:center;gap:.5rem;padding:.55rem .95rem;background:#fff;border:1px solid var(--g300);border-radius:999px;font-weight:600;font-size:.95rem;color:var(--navy)}
.pay svg{width:1.1rem;height:1.1rem;color:var(--red)}
.pay.on-dark li{background:transparent;border-color:rgba(255,255,255,.35);color:#fff}
.pay.on-dark svg{color:#fff}
.pay-big{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:1rem;list-style:none;margin:0;padding:0}
.pay-big li{background:#fff;border:1px solid var(--g200);border-radius:var(--radius-lg);padding:1.3rem 1.3rem}
.pay-big svg{width:2rem;height:2rem;color:var(--red);margin-bottom:.5rem}
.pay-big h3{margin-bottom:.3rem;font-size:1.15rem}
.pay-big p{margin:0;color:#3B4351;font-size:.96rem}

/* FAQ */
.faq details{background:#fff;border:1px solid var(--g200);border-radius:var(--radius);margin-bottom:.7rem}
.faq summary{cursor:pointer;list-style:none;padding:1.05rem 3rem 1.05rem 1.25rem;font-weight:600;color:var(--navy);position:relative;line-height:1.4}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";position:absolute;right:1.25rem;top:50%;width:.6rem;height:.6rem;border-right:2px solid var(--red);border-bottom:2px solid var(--red);transform:translateY(-70%) rotate(45deg);transition:transform .15s}
.faq details[open] summary::after{transform:translateY(-30%) rotate(-135deg)}
.faq details[open] summary{border-bottom:1px solid var(--g100)}
.faq .ans{padding:1rem 1.25rem 1.1rem;color:#2E3542}
.faq .ans p:last-child{margin-bottom:0}

/* Banda CTA */
.cta-band{background:var(--navy);color:#fff;position:relative;overflow:hidden;isolation:isolate}
.cta-band::after{content:"";position:absolute;left:-120px;top:-120px;width:420px;height:420px;background:url("../img/sello.webp") center/contain no-repeat;opacity:.08;filter:invert(1);z-index:-1}
.cta-band .container{display:flex;align-items:center;justify-content:space-between;gap:2rem;padding-top:3.2rem;padding-bottom:3.2rem;flex-wrap:wrap}
.cta-band h2{color:#fff;margin-bottom:.3rem;font-size:clamp(1.5rem,2.6vw,2rem)}
.cta-band p{margin:0;color:#D6DDEA;max-width:58ch}

/* Blog */
.post-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:1.4rem}
.post-card{background:#fff;border:1px solid var(--g200);border-radius:var(--radius-lg);padding:1.5rem;display:flex;flex-direction:column;height:100%}
.post-card h2,.post-card h3{font-size:1.25rem;margin-bottom:.5rem}
.post-card h2 a,.post-card h3 a{text-decoration:none}
.post-card p{color:#3B4351;font-size:.98rem}
.post-meta{font-size:.88rem;color:var(--muted);margin-bottom:.6rem}
.post-card .more{margin-top:auto;font-weight:600;color:var(--red);text-decoration:none}
.post-card .more:hover{text-decoration:underline}
.article-meta{color:var(--muted);font-size:.95rem;margin:0 0 1.2rem}
.toc{background:var(--g50);border:1px solid var(--g200);border-radius:var(--radius);padding:1rem 1.3rem;margin:0 0 2rem}
.toc b{display:block;font-family:var(--serif);color:var(--navy);margin-bottom:.4rem}
.toc ol{margin:0;padding-left:1.2rem;font-size:.97rem}
.toc a{text-decoration:none}
.related{margin-top:3rem;padding-top:2rem;border-top:1px solid var(--g200)}

/* Pie */
.site-footer{background:var(--navy-deep);color:#C9D2E2;font-size:.97rem}
.site-footer a{color:#E9EEF7;text-decoration:none}
.site-footer a:hover{color:#fff;text-decoration:underline}
.footer-main{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:2.5rem;padding:3.6rem 0 2.6rem}
.footer-main img{height:66px;width:auto;margin-bottom:1rem}
.footer-main h3{font-family:var(--sans);font-size:.95rem;color:#fff;font-weight:650;margin-bottom:.9rem;letter-spacing:.01em}
.footer-main ul{list-style:none;padding:0;margin:0}
.footer-main li{margin-bottom:.45rem}
.footer-contact li{display:flex;gap:.55rem;align-items:flex-start}
.footer-contact svg{width:1.1rem;height:1.1rem;flex:none;margin-top:.28rem;color:#fff}
.footer-pay{border-top:1px solid rgba(255,255,255,.14);padding:1.3rem 0;display:flex;gap:1rem 1.5rem;align-items:center;flex-wrap:wrap}
.footer-pay b{color:#fff;font-weight:650}
.footer-bottom{background:var(--black);color:#B7BFCC;font-size:.9rem}
.footer-bottom .container{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding-top:1rem;padding-bottom:1rem}
.footer-bottom ul{list-style:none;padding:0;margin:0;display:flex;gap:1.3rem;flex-wrap:wrap}
@media (max-width:900px){.footer-main{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.footer-main{grid-template-columns:1fr}}

/* Botón flotante WhatsApp */
.wa-float{position:fixed;right:1.1rem;bottom:1.1rem;z-index:80;display:flex;align-items:center;gap:.6rem;background:#0E7A45;color:#fff;text-decoration:none;padding:.85rem 1.1rem;border-radius:999px;font-weight:600;box-shadow:0 8px 22px rgba(0,0,0,.28)}
.wa-float:hover{background:#0A5C34;color:#fff}
.wa-float svg{width:1.6rem;height:1.6rem;flex:none}
@media (max-width:560px){.wa-float span{display:none}.wa-float{padding:.9rem}}

.not-found{text-align:center;padding:5rem 0}
.tag-list{display:flex;flex-wrap:wrap;gap:.5rem;list-style:none;padding:0;margin:0 0 1.2rem}
.tag-list li{background:#fff;border:1px solid var(--g300);border-radius:999px;padding:.25rem .8rem;font-size:.9rem;color:var(--navy)}

@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
@media print{.topbar,.site-header,.wa-float,.cta-band,.site-footer,.aside-card{display:none}body{font-size:12pt}}

/* Iconos en línea */
.ic{width:1.25em;height:1.25em;flex:none;vertical-align:-.2em}
.tb-right .ic,.footer-contact .ic{width:1.05em;height:1.05em}

/* Los mosaicos y tarjetas dentro de .prose no deben heredar las viñetas de las listas */
.prose .tiles li,.prose .cards li,.prose .link-cols li,.prose .post-list li{padding-left:0}
.prose .tiles li::before,.prose .cards li::before,.prose .link-cols li::before,.prose .post-list li::before{content:none}

/* Barra superior en pantallas pequeñas: evita que el teléfono se parta en varias líneas */
.topbar a{white-space:nowrap}
@media (max-width:480px){
  .topbar{font-size:.8rem}
  .topbar .tb-right{gap:.9rem}
  .topbar .tb-right a span{display:none}
}
