/* ruevue · estilos comunes (portada, informe y páginas de temas) */
:root{--forest:#1d3528;--forest2:#2b4a38;--leaf:#5fad5f;--leaf2:#8cc98c;--cream:#fcf8f1;--sand:#f3ecdf;--mist:#e6efe2;--ink:#14241b;--muted:#5b6a61;--warn:#c7792b;--alert:#b8473a;
--radius:16px;font-family:"Avenir Next","Segoe UI",system-ui,-apple-system,Roboto,sans-serif;font-size:16px}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--cream);color:var(--ink);line-height:1.45}
a{color:var(--forest)}
.wrap{max-width:1040px;margin:0 auto;padding:0 18px}
/* Rapport */
#report{display:none;padding:8px 0 40px}
.rhead{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap;margin:10px 0 18px}
.rhead h2{margin:0;font-size:clamp(22px,4vw,32px);letter-spacing:-.03em;color:var(--forest);max-width:22em}
.rhead p{margin:4px 0 0;color:var(--muted);font-size:14px}
.actions{display:flex;gap:8px;flex-wrap:wrap}
.btn{font:inherit;font-weight:700;background:var(--forest);color:var(--cream);border:0;border-radius:12px;padding:12px 18px;cursor:pointer;text-decoration:none;display:inline-block}
.btn.ghost{background:transparent;color:var(--forest);border:2px solid var(--forest);padding:10px 16px}
.btn:focus-visible{outline:3px solid var(--leaf);outline-offset:2px}
/* Botones del informe: en móvil, una línea; «Partager» y «PDF» estrechos con icono encima, «Nouvelle adresse» ocupa el resto. */
.actions .ic,.actions .sm{display:none}
@media (max-width:600px){
.rhead .actions{display:grid;grid-template-columns:repeat(2,minmax(max-content,80px)) minmax(0,1fr);width:100%}
.rhead .actions .btn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:8px 4px;font-size:13px;line-height:1.2;text-align:center}
.rhead .actions .btn.ghost{padding:6px 4px}
.rhead .actions .ic{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.rhead .actions .lg{display:none}.rhead .actions .sm{display:inline}
.rhead .actions #bNew{font-size:14px;padding:8px 10px}
#bNew span{text-box:trim-both cap alphabetic} /* centra «Nouvelle adresse» por la tinta, no por el hueco de las letras con rabo */
}
@supports not (text-box:trim-both cap alphabetic){@media (max-width:600px){#bNew span{position:relative;top:.12em}}}
.summary{background:var(--forest);color:var(--cream);border-radius:20px;padding:20px 22px;margin-bottom:16px}
.summary h3{margin:0 0 10px;font-size:17px}
.summary ul{margin:0;padding:0;list-style:none;display:grid;gap:8px}
.summary li{display:flex;gap:10px;align-items:flex-start}
.dot{flex:none;width:12px;height:12px;border-radius:50%;margin-top:5px}
.dot.good{background:var(--leaf)}.dot.mid{background:#e3b25a}.dot.bad{background:#e07b6a}
.grid{display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));grid-auto-flow:row dense}
.grid>.questions{margin-top:0}
.card{background:#fff;border:1px solid #e4e9df;border-radius:var(--radius);padding:18px 18px 16px}
.card.wide{grid-column:1/-1}
.card h3{margin:0 0 12px;font-size:16px;color:var(--forest);display:flex;justify-content:space-between;gap:8px;align-items:baseline}
.card h3 small{font-weight:400;color:var(--muted);font-size:13px}
.big{font-size:38px;font-weight:800;letter-spacing:-.04em;color:var(--forest);line-height:1}
.big small{font-size:15px;font-weight:500;color:var(--muted);letter-spacing:0}
.note{font-size:14px;color:var(--muted);margin:10px 0 0}
.row{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #eef1ea;font-size:15px}
.row:last-child{border-bottom:0}
.row>span:last-child{color:var(--muted);white-space:nowrap;padding-left:8px}
.mode{display:inline-block;min-width:44px;text-align:center;font-size:12px;font-weight:700;border-radius:6px;padding:2px 6px;margin-right:8px;color:#fff;background:var(--forest2)}
.mode.metro{background:#2f6fb3}
.mode.rer{background:#6b3fa0}.mode.tram{background:#2f8f6a}.mode.train{background:#8a4b1d}.mode.future{background:#fff;color:#8a5a12;border:1.5px dashed #c7922b;min-width:auto}
.lines{font-size:13px;color:var(--muted)}
.chip{display:inline-block;font-size:12px;font-weight:700;line-height:1.5;border-radius:4px;padding:0 6px;margin:2px 0 2px 5px;background:var(--mist);color:var(--forest)}
.chip.metro{background:rgba(47,111,179,.13);color:#245a93}.chip.rer{background:rgba(107,63,160,.13);color:#5a3488}
.chip.tram{background:rgba(47,143,106,.13);color:#24705a}.chip.train{background:rgba(138,75,29,.13);color:#7a4219}.chip.bus{background:rgba(43,74,56,.11);color:#2b4a38}
.more-lines{font:inherit;font-size:12px;font-weight:700;line-height:1.5;margin:2px 0 2px 5px;padding:0 7px;border:1px solid #cfd8cb;border-radius:4px;background:#fff;color:var(--forest);cursor:pointer}
.more-lines:hover{background:var(--mist)}.more-lines:focus-visible{outline:2px solid var(--leaf);outline-offset:1px}
.future{border:1.5px dashed #d9b36b;background:#fdf6e8;border-radius:12px;padding:4px 12px 10px;margin-top:10px}.future .row{border-bottom:0}.future p{margin:0;font-size:14px;color:#6b4a12}
.tag{display:inline-block;background:var(--mist);color:var(--forest);border-radius:99px;padding:6px 12px;margin:0 6px 6px 0;font-size:14px}
.tag.t{background:#f6e6d8;color:#7a4317}
.tag.high{background:#f7dcd7;color:#8a2a1e;font-weight:600}.tag.mid{background:#f6e6d8;color:#7a4317}.tag.low{background:#eef1ea;color:#5b6a61}.tag.unknown{background:#f1f1ec;color:#4c5a51}.tag small{font-size:12px;opacity:.85}
.range{position:relative;height:12px;background:var(--mist);border-radius:6px;margin:16px 0 6px}
.range i{position:absolute;top:0;bottom:0;background:var(--leaf2);border-radius:6px}
.range b{position:absolute;top:-4px;width:4px;height:20px;background:var(--forest);border-radius:2px}
.rlab{display:flex;justify-content:space-between;font-size:13px;color:var(--muted)}
.meter{display:flex;gap:6px;margin:6px 0 2px}.meter i{flex:1;height:12px;border-radius:6px;background:var(--mist)}
.meter.l1 i:nth-child(-n+1),.meter.l2 i:nth-child(-n+2),.meter.l3 i:nth-child(-n+3),.meter.l4 i:nth-child(-n+4){background:var(--forest)}
.gauge{display:block;width:100%;max-width:230px;height:auto;margin:2px auto 0}
.gauge-t{text-align:center;font-size:24px;font-weight:800;color:var(--forest);letter-spacing:-.03em;margin:-4px 0 0}
.tiles{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
.tile{background:var(--mist);border-radius:12px;padding:10px 12px}
.tile b{display:block;font-size:28px;font-weight:800;color:var(--forest);letter-spacing:-.03em;line-height:1.05}
.tile span{font-size:13px;color:var(--muted)}
.tile.top{background:var(--forest)}.tile.top b{color:var(--cream)}.tile.top span{color:#cfe0c8}
.daily{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
.dgroup{border:1.5px solid #dfe8d9;border-radius:14px;padding:12px 14px 6px;background:#fbfdf9}
.dgroup h4{display:flex;align-items:center;gap:8px;margin:0 0 4px;padding-bottom:8px;border-bottom:1.5px solid #dfe8d9;font-size:15px;color:var(--forest)}
.dgroup h4 i{width:28px;height:28px;border-radius:9px;background:var(--mist);display:grid;place-items:center}
.place{display:flex;justify-content:space-between;gap:10px;padding:7px 0;border-bottom:1px solid #eef1ea;font-size:15px}
.place:last-child{border-bottom:0}.place b{font-weight:700;color:var(--ink)}.place small{display:block;color:var(--muted);font-size:12.5px}
.place em{font-style:normal;color:var(--forest);font-weight:700;white-space:nowrap;align-self:center}
.verdict{display:inline-block;margin:0 0 10px;padding:4px 10px;border-radius:99px;background:var(--mist);color:var(--forest);font-size:13px;font-weight:700}
.bikehead{display:flex;align-items:center;gap:14px;margin-bottom:10px}
.bikeico{flex:none;width:58px;height:58px;border-radius:16px;background:var(--forest);display:grid;place-items:center}
.bikehead .big{font-size:40px}.bikehead p{margin:0;color:var(--muted);font-size:14px}
.dock{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid #eef1ea;font-size:15px}.dock:last-child{border-bottom:0}
.dock i{flex:none;width:26px;height:26px;border-radius:50%;background:var(--leaf);color:#fff;font-style:normal;font-weight:800;font-size:12px;display:grid;place-items:center}
.dock span{flex:1}.dock em{font-style:normal;color:var(--muted);white-space:nowrap}
.hbar{display:grid;grid-template-columns:minmax(110px,auto) 1fr 34px;gap:10px;align-items:center;font-size:14px;margin:7px 0}
.hbar div{height:10px;background:var(--mist);border-radius:5px;overflow:hidden}.hbar div i{display:block;height:100%;background:var(--leaf)}
.hbar span:last-child{text-align:right;font-weight:700;color:var(--forest)}
.dpe{display:flex;gap:4px;margin-top:6px}.dpe div{flex:1;text-align:center}
.dpe i{display:block;border-radius:5px;color:#fff;font-style:normal;font-weight:800;padding:6px 0}
.dpe span{display:block;font-size:12px;color:var(--muted);margin-top:4px}
.questions{background:var(--sand);border-radius:var(--radius);padding:18px 20px;margin-top:14px}
.questions h3{margin:0 0 8px;color:var(--forest);font-size:16px}
.questions ol{margin:0;padding-left:20px}.questions li{margin:6px 0}
.credits{font-size:13px;color:var(--muted);margin:18px 0 0}
.loading{padding:46px 0 60px;text-align:center;color:var(--muted)}
.ldr{position:relative;width:150px;height:150px;margin:0 auto 6px}
.ldr .pin{position:absolute;left:50%;top:8px;width:72px;margin-left:-36px;transform-origin:50% 100%;animation:drop 1.4s cubic-bezier(.33,.66,.4,1) infinite;will-change:transform}
.ldr .pin img,.ldr .pin svg{display:block;width:100%;height:auto}.ldr .pin svg{position:absolute;inset:0}
.eye-iris{animation:look 2.8s ease-in-out infinite}
.lid{transform-box:fill-box;animation:blink 2.8s ease-in-out infinite}.lid.top{transform-origin:50% 0}.lid.bot{transform-origin:50% 100%}
@keyframes look{0%,12%{transform:translateX(0)}25%,40%{transform:translateX(-58px)}55%,70%{transform:translateX(58px)}85%,100%{transform:translateX(0)}}
@keyframes blink{0%,44%,52%,100%{transform:scaleY(0)}48%{transform:scaleY(1)}}
.ldr .shadow{position:absolute;left:50%;bottom:16px;width:52px;height:12px;margin-left:-26px;border-radius:50%;background:#1d352833;animation:shadow 1.4s cubic-bezier(.33,.66,.4,1) infinite}
.ldr .ring{position:absolute;left:50%;bottom:9px;width:130px;height:28px;margin-left:-65px;border:2px solid var(--leaf);border-radius:50%;opacity:0;animation:ring 1.4s ease-out infinite}
.ldr .ring.r2{animation-delay:.47s}.ldr .ring.r3{animation-delay:.94s}
@keyframes drop{0%,100%{transform:translateY(-6px)}45%{transform:translateY(22px) scale(1.05,.93)}60%{transform:translateY(16px) scale(.98,1.02)}}
@keyframes shadow{0%,100%{transform:scale(.55);opacity:.45}45%{transform:scale(1);opacity:.9}}
@keyframes ring{0%{transform:scale(.25);opacity:.8}100%{transform:scale(1.15);opacity:0}}
.lstep{font-weight:700;color:var(--forest);font-size:18px;margin:4px 0 4px;min-height:1.4em;transition:opacity .25s}
.lbar{width:220px;max-width:70%;height:6px;margin:16px auto 0;border-radius:3px;background:var(--mist);overflow:hidden}
.lbar i{display:block;width:40%;height:100%;border-radius:3px;background:var(--leaf);animation:lbar 1.3s ease-in-out infinite}
@keyframes lbar{0%{transform:translateX(-110%)}100%{transform:translateX(260%)}}
@media (prefers-reduced-motion:reduce){.ldr .pin,.ldr .shadow,.ldr .ring,.lbar i,.eye-iris,.lid{animation:none}.ldr .ring{opacity:.3}}
/* Dialogues */
dialog{border:0;border-radius:20px;max-width:460px;width:calc(100% - 32px);padding:24px;background:var(--cream);color:var(--ink)}
dialog::backdrop{background:#14241bb3}
dialog h3{margin:0 0 8px;color:var(--forest);font-size:20px}
dialog input[type=email]{width:100%;font:inherit;padding:13px;border:2px solid var(--forest);border-radius:10px;margin:10px 0}
dialog label.ck{display:flex;gap:10px;font-size:14px;margin:8px 0;align-items:flex-start}
dialog label.ck input{margin-top:3px;width:18px;height:18px;flex:none}
dialog .note{font-size:13px;color:var(--muted);margin:8px 0}dialog .note a{color:inherit}
dialog .err{color:var(--alert);font-size:14px;min-height:1em;margin:6px 0}
.offer{display:flex;justify-content:space-between;align-items:center;gap:10px;width:100%;font:inherit;text-align:left;background:#fff;border:2px solid var(--forest);border-radius:12px;padding:14px;margin:8px 0;cursor:pointer}
.offer b{color:var(--forest)}
/* Cookies */
#ck{position:fixed;left:12px;right:12px;bottom:12px;max-width:560px;margin:0 auto;background:var(--forest);color:var(--cream);border-radius:16px;padding:16px;display:none;z-index:50;font-size:14px}
#ck p{margin:0 0 12px}
#ck .b{display:flex;gap:8px}
#ck button{flex:1;font:inherit;font-weight:700;padding:11px;border-radius:10px;border:2px solid var(--cream);cursor:pointer;background:transparent;color:var(--cream)}
footer{border-top:1px solid var(--mist);margin-top:30px;padding:22px 0 40px;color:var(--muted);font-size:14px}
footer nav{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:8px}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
/* Impresión y PDF: el mismo aspecto que en pantalla, en A4 y a dos columnas */
@page{size:A4;margin:11mm 10mm}
@media print{
.extra[hidden]{display:inline!important}.more-lines{display:none!important}
html{-webkit-print-color-adjust:exact;print-color-adjust:exact}
body{background:#fff;zoom:.8}
.nav,.nav-cta,.actions,.noprint,#ck,footer,dialog{display:none!important}
.top{border-bottom:0}.topin{padding-top:0;padding-bottom:8px}
.brand img{width:54px;filter:none}.brand b{font-size:30px}
.wrap{max-width:none;padding-left:0;padding-right:0}
#report{padding:0}
.rhead{margin:0 0 12px}
.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.card,.summary,.questions,.dgroup{break-inside:avoid}
.card.wide{break-inside:avoid}
.daily{grid-template-columns:repeat(2,minmax(0,1fr))}
a{color:inherit;text-decoration:none}
.credits a{text-decoration:underline}
}
.card.center .note{text-align:center}
img,svg{max-width:100%}
/* ── Cabecera ── */
.top{border-bottom:1px solid #e9e3d6}
.topin{display:flex;align-items:center;gap:18px;padding-top:12px;padding-bottom:12px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;margin-right:auto}
.brand img{width:66px;height:auto;filter:drop-shadow(0 6px 10px #1d352829)}
.brand b{font-size:36px;letter-spacing:-.045em;color:var(--forest);font-weight:800}
.nav{display:flex;gap:22px}
.nav a{text-decoration:none;color:var(--ink);font-weight:600;font-size:15px}
.nav a:hover{color:var(--forest);text-decoration:underline;text-underline-offset:4px}
.nav-cta{padding:11px 16px;font-size:15px}
@media (max-width:900px){.nav{display:none}}
@media (max-width:600px){.brand img{width:52px}.brand b{font-size:29px}.nav-cta{padding:9px 12px;font-size:14px}}
/* ── Buscador ── */
.searchbox{position:relative;max-width:620px}
.sb{display:flex;align-items:center;gap:8px;background:#fff;border:2px solid var(--forest);border-radius:16px;padding:6px 6px 6px 14px;box-shadow:0 6px 0 var(--forest)}
.sb:focus-within{outline:3px solid var(--leaf);outline-offset:3px}
.sb svg{flex:none;width:22px;height:22px;color:var(--muted)}
.sb input{flex:1;min-width:0;border:0;outline:0;font:inherit;font-size:18px;padding:12px 4px;background:transparent;color:var(--ink)}
.sb .btn{padding:13px 20px;font-size:16px;border-radius:11px}
@media (max-width:420px){.sb .btn{padding:12px 13px}.sb input{font-size:16px}}
.sug{position:absolute;left:0;right:0;top:calc(100% + 12px);background:#fff;border:2px solid var(--forest);border-radius:14px;overflow:hidden;z-index:20;text-align:left}
.sug button{display:block;width:100%;text-align:left;font:inherit;padding:13px 16px;border:0;background:none;border-bottom:1px solid var(--mist);cursor:pointer;color:var(--ink)}
.sug button:last-child{border-bottom:0}
.sug button:hover,.sug button:focus{background:var(--mist);outline:none}
.sug small{color:var(--muted)}
.sug .empty{padding:13px 16px;color:var(--muted);font-size:15px}
.checks{display:flex;flex-wrap:wrap;gap:8px 18px;margin:18px 0 0;padding:0;list-style:none;font-size:14px;color:var(--muted)}
.checks li{display:flex;align-items:center;gap:6px}
.checks li::before{content:"";width:16px;height:16px;flex:none;background:no-repeat center/16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%235fad5f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
/* ── Portada: hero en dos columnas ── */
.hero{padding:34px 0 40px}
.hgrid{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);gap:48px;align-items:center}
.hero h1{font-size:clamp(36px,4.9vw,60px);line-height:.98;letter-spacing:-.045em;color:var(--forest);margin:0 0 18px;font-weight:800}
.hero .lead{font-size:clamp(17px,1.6vw,19px);color:var(--muted);margin:0 0 26px;max-width:32em}
@media (max-width:960px){.hgrid{grid-template-columns:minmax(0,1fr);gap:34px}}
/* Panel de ejemplo */
.panel{background:var(--forest);color:var(--cream);border-radius:26px;padding:20px;box-shadow:0 24px 50px -24px #1d352888}
.panel-h{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap;margin:2px 4px 14px}
.panel-h strong{font-size:17px}
.panel-h span{font-size:12px;background:#ffffff1c;border-radius:99px;padding:3px 10px;color:#d9e6d3}
.ptiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
@media (max-width:560px){.ptiles{grid-template-columns:repeat(2,minmax(0,1fr))}.ptiles .pt:last-child:nth-child(odd){grid-column:1/-1}}
.pt{position:relative;background:#ffffff10;border:1px solid #ffffff1f;border-radius:14px;padding:11px 12px 12px;min-width:0}
.pt-h{display:flex;align-items:center;gap:7px;font-size:12.5px;color:#d9e6d3;font-weight:600;margin-bottom:8px}
.pt-h .ic{width:20px;height:20px;color:var(--cream)}
.pt b{display:block;font-size:22px;font-weight:800;letter-spacing:-.03em;line-height:1.05}
.pt small{display:block;font-size:12px;color:#c6d6bf;margin-top:3px;line-height:1.3}
.pt .st{position:absolute;top:12px;right:11px;width:8px;height:8px;border-radius:50%}
.st.good{background:var(--leaf)}.st.mid{background:#e3b25a}.st.bad{background:#e07b6a}
.pt .dpebar{display:flex;gap:2px;margin:4px 0 0}.pt .dpebar i{flex:1;height:18px;border-radius:3px}
.pchart{margin-top:10px;background:#ffffff10;border:1px solid #ffffff1f;border-radius:14px;padding:12px 14px}
.pchart-h{display:flex;justify-content:space-between;font-size:12.5px;color:#d9e6d3;font-weight:600}
.pbars{display:flex;align-items:flex-end;gap:8px;height:56px;margin-top:10px}
.pbars i{flex:1;background:var(--leaf2);border-radius:4px 4px 0 0}.pbars i:last-child{background:var(--leaf)}
.pyears{display:flex;gap:8px;font-size:11px;color:#c6d6bf;margin-top:4px}.pyears span{flex:1;text-align:center}
/* ── Cifras ── */
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:24px 0;border-top:1px solid #e9e3d6;border-bottom:1px solid #e9e3d6}
.stats div{text-align:center;padding:6px}
.stats b{display:block;font-size:34px;font-weight:800;letter-spacing:-.04em;color:var(--forest);line-height:1.1}
.stats span{font-size:14px;color:var(--muted)}
@media (max-width:700px){.stats{grid-template-columns:repeat(2,1fr);gap:14px 10px}.stats b{font-size:28px}}
/* ── Secciones ── */
.sec{padding:56px 0 8px}
.sec-h{max-width:640px;margin:0 auto 30px;text-align:center}
.sec-h h2,.sec h2{font-size:clamp(26px,3.6vw,38px);letter-spacing:-.035em;color:var(--forest);margin:0 0 10px;line-height:1.08}
.sec-h p{color:var(--muted);font-size:17px;margin:0}
/* Iconos de tema */
.ic{width:24px;height:24px;flex:none}
.icb{flex:none;width:48px;height:48px;border-radius:14px;background:var(--mist);display:grid;place-items:center;color:var(--forest)}
.icb .ic{width:30px;height:30px}
.card h3 .ttl{display:flex;align-items:center;gap:9px}
.card h3 .ic{width:24px;height:24px;color:var(--forest)}
/* Tarjetas de temas */
.feats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
@media (max-width:960px){.feats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:620px){.feats{grid-template-columns:1fr}}
.feat{display:flex;flex-direction:column;background:#fff;border:1px solid #e4e9df;border-radius:20px;padding:22px;text-decoration:none;color:var(--ink);transition:border-color .2s,transform .2s}
.feat:hover{border-color:var(--leaf);transform:translateY(-2px)}
.feat-h{display:flex;align-items:center;gap:14px;padding-bottom:14px;margin-bottom:14px;border-bottom:1px solid #eef1ea}
.feat-h h3{margin:0;font-size:19px;color:var(--forest);letter-spacing:-.02em}
.feat p{margin:0 0 14px;color:var(--muted);font-size:15.5px;line-height:1.5}
.chips{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 16px;padding:0;list-style:none}
.chips li{background:var(--sand);border-radius:99px;padding:4px 11px;font-size:13px;color:#4a564e}
.more{margin-top:auto;font-weight:700;color:var(--forest);font-size:15px;display:inline-flex;align-items:center;gap:6px}
.more svg{width:16px;height:16px;transition:transform .2s}.feat:hover .more svg{transform:translateX(3px)}
/* Pasos */
.steps{display:grid;gap:14px;grid-template-columns:repeat(3,minmax(0,1fr));padding:0;margin:0;list-style:none;counter-reset:s}
@media (max-width:760px){.steps{grid-template-columns:1fr}}
.steps li{background:var(--sand);border-radius:var(--radius);padding:20px;counter-increment:s}
.steps li::before{content:counter(s);display:inline-grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--forest);color:var(--cream);font-weight:700;margin-bottom:12px}
.steps b{display:block;margin-bottom:4px;font-size:17px;color:var(--forest)}
/* Preguntas */
.faq{max-width:760px;margin:0 auto}
.faq details{background:#fff;border:1px solid #e4e9df;border-radius:16px;margin:0 0 10px}
.faq summary{list-style:none;cursor:pointer;padding:17px 52px 17px 20px;font-weight:700;font-size:16.5px;position:relative;color:var(--ink)}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";position:absolute;right:20px;top:50%;width:12px;height:12px;margin-top:-8px;border-right:2.2px solid var(--forest);border-bottom:2.2px solid var(--forest);transform:rotate(45deg);transition:transform .2s}
.faq details[open] summary::after{transform:rotate(225deg);margin-top:-2px}
.faq details p{margin:0;padding:0 20px 18px;color:#3f4b44;line-height:1.6}
/* Bandeau final */
.cta{margin:60px 0 0;background:var(--forest);color:var(--cream);border-radius:28px;padding:38px 28px;text-align:center}
.cta h2{color:var(--cream);font-size:clamp(26px,3.4vw,36px);letter-spacing:-.035em;margin:0 0 8px}
.cta p{margin:0 0 22px;color:#cfe0c8}
.cta .btn{background:var(--cream);color:var(--forest)}
.cta .searchbox{margin:0 auto}
.cta .sb{box-shadow:none;border-color:var(--cream)}
/* ── Páginas de tema ── */
.fhero{background:var(--forest);color:var(--cream);padding:30px 0 46px}
.crumbs{font-size:14px;color:#cfe0c8;margin:0 0 22px}
.crumbs a{color:#cfe0c8;text-decoration:none}.crumbs a:hover{text-decoration:underline}
.crumbs span{margin:0 7px;opacity:.6}
.fhero .kick{display:flex;align-items:center;gap:12px;margin:0 0 14px;font-weight:700;color:var(--leaf2);font-size:17px}
.fhero .kick .icb{background:#ffffff16;color:var(--cream);width:44px;height:44px}
.fhero h1{font-size:clamp(32px,4.6vw,54px);line-height:1.02;letter-spacing:-.04em;margin:0 0 16px;max-width:15em}
.fhero .lead{font-size:18px;color:#dbe8d5;max-width:38em;margin:0 0 26px}
.fhero .sb{box-shadow:none;border-color:var(--cream)}
.fhero .checks{color:#cfe0c8}
.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:48px;align-items:center}
.split.rev>:first-child{order:2}
@media (max-width:900px){.split{grid-template-columns:1fr;gap:26px}.split.rev>:first-child{order:0}}
.prose p{font-size:17px;line-height:1.6;color:#33413a;margin:0 0 14px}
.ticks{list-style:none;padding:0;margin:16px 0 0}
.ticks li{position:relative;padding:0 0 10px 28px;line-height:1.5;color:#33413a}
.ticks li::before{content:"";position:absolute;left:0;top:3px;width:18px;height:18px;background:no-repeat center/18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%235fad5f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.window{background:#fff;border:1px solid #e4e9df;border-radius:20px;box-shadow:0 22px 44px -26px #1d352866;overflow:hidden}
.window-bar{display:flex;align-items:center;gap:6px;padding:11px 14px;border-bottom:1px solid #eef1ea;font-size:13px;color:var(--muted)}
.window-bar i{width:9px;height:9px;border-radius:50%;background:#dfe5d9}
.window-bar span{margin-left:8px}
.window-body{padding:14px;background:#f8f6f0}
.window-body .card{border-radius:14px}
.window-body .card+.card{margin-top:12px}
.facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
@media (max-width:760px){.facts{grid-template-columns:1fr}}
.fact{background:#fff;border:1px solid #e4e9df;border-radius:18px;padding:20px}
.fact b{display:block;font-size:30px;font-weight:800;color:var(--forest);letter-spacing:-.03em;line-height:1.1;margin-bottom:6px}
.fact p{margin:0;color:#3f4b44;line-height:1.5}
.uses{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
@media (max-width:760px){.uses{grid-template-columns:1fr}}
.use{background:#fff;border:1px solid #e4e9df;border-radius:18px;padding:22px}
.use h3{margin:0 0 8px;font-size:18px;color:var(--forest)}
.use p{margin:0;color:#3f4b44;line-height:1.55}
.databox{max-width:820px;margin:0 auto;background:var(--sand);border-radius:22px;padding:26px 28px}
.databox h2{font-size:22px;margin:0 0 8px}
.databox h3{font-size:16px;margin:18px 0 6px;color:var(--forest)}
.databox p{margin:0;color:#3f4b44;line-height:1.6}
.ttable{width:100%;border-collapse:collapse;font-size:15px;background:#fff;border-radius:16px;overflow:hidden;border:1px solid #e4e9df}
.ttable th,.ttable td{text-align:left;padding:11px 14px;border-bottom:1px solid #eef1ea;vertical-align:top}
.ttable th{background:var(--mist);color:var(--forest);font-size:14px}
.ttable tr:last-child td{border-bottom:0}
.others{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.others a{display:inline-flex;align-items:center;gap:9px;background:#fff;border:1px solid #e4e9df;border-radius:99px;padding:8px 16px 8px 10px;text-decoration:none;color:var(--ink);font-weight:600;font-size:15px}
.others a:hover{border-color:var(--leaf)}
.others .ic{color:var(--forest);width:22px;height:22px}
.ex-label{font-size:12.5px;color:var(--muted);margin:8px 2px 0}
footer .foot{display:flex;gap:30px;flex-wrap:wrap;justify-content:space-between}
footer .foot p{max-width:560px;margin:0}
footer .flinks{display:grid;grid-template-columns:repeat(2,auto);gap:6px 26px}
footer .flinks a{text-decoration:none}footer .flinks a:hover{text-decoration:underline}
/* Connectivité */
.fib{display:flex;align-items:center;gap:14px}.fib .big{white-space:nowrap}.fib p{margin:0;color:var(--muted);font-size:14px}
.fbar{height:10px;background:var(--mist);border-radius:5px;overflow:hidden;margin:12px 0 4px}.fbar i{display:block;height:100%;background:var(--leaf);border-radius:5px}
.card>h4{margin:14px 0 2px;font-size:14px;color:var(--forest)}
.op{display:grid;grid-template-columns:1fr auto auto;gap:6px;align-items:center;padding:7px 0;border-bottom:1px solid #eef1ea;font-size:15px}.op:last-of-type{border-bottom:0}
.op i{font-style:normal;font-size:12px;font-weight:800;border-radius:6px;padding:3px 7px;min-width:40px;text-align:center;background:#f1f1ec;color:#a3aca5;text-decoration:line-through}
.op i.on{background:var(--mist);color:var(--forest);text-decoration:none}.op i.plus{background:var(--forest);color:var(--cream)}
/* Selector de ciudades (página Transports) */
.ctabs{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:0 0 18px}
.ctabs button{font:inherit;font-weight:600;font-size:15px;border:1.5px solid #dfe5d9;background:#fff;color:var(--ink);border-radius:99px;padding:8px 15px;cursor:pointer}
.ctabs button:hover{border-color:var(--leaf)}
.ctabs button[aria-selected=true]{background:var(--forest);border-color:var(--forest);color:var(--cream)}
.ctabs button:focus-visible{outline:3px solid var(--leaf);outline-offset:2px}
.cpanel+.cpanel{margin-top:22px}
.cpanel .cname{margin:0 0 10px;color:var(--forest);font-size:18px}
.cities.js .cname{display:none}.cities.js .cpanel+.cpanel{margin-top:0}
.cpanel .src,.cities+.cnote{font-size:13.5px;color:var(--muted);margin:10px 2px 0}
.cities+.cnote{margin-top:6px}.cnote b{color:var(--forest)}
/* Riesgos: una fila por riesgo con su explicación */
.risk{display:flex;gap:10px;padding:9px 0;border-bottom:1px solid #eef1ea}.risk:last-of-type{border-bottom:0}
.risk>i{flex:none;width:10px;height:10px;border-radius:50%;margin-top:6px;background:#b9c4bb}
.risk.high>i{background:#d1543f}.risk.mid>i{background:#e3a33f}
.risk b{font-size:15px;color:var(--ink)}.risk small{font-size:12.5px;color:var(--muted);margin-left:4px}
.risk.high small{color:#8a2a1e;font-weight:600}.risk.mid small{color:#7a4317;font-weight:600}
.risk p{margin:3px 0 0;font-size:13.5px;color:var(--muted);line-height:1.45}
.verdict-ok{margin:6px 0 4px;padding:10px 12px;border-radius:10px;background:var(--mist);color:var(--forest);font-weight:600;font-size:15px}
