@font-face{font-family:Montserrat;src:url('../fonts/montserrat-latin.woff2') format('woff2');font-weight:500 800;font-display:swap}
@font-face{font-family:'Source Sans 3';src:url('../fonts/source-sans-3-latin.woff2') format('woff2');font-weight:400 600;font-display:swap}
:root{
  --navy:#061b3a;--ink:#172f43;--muted:#486172;--bg:#f3f7fb;--card:#ffffff;--line:rgba(40,81,123,.16);
  --sky:#0CB6FF;--sky-soft:#e3f4fc;--blue:#2851a3;--hot:#e2504c;--cold:#2f9fe0;--warn:#fff4e5;--warn-line:#f0b25a;
  --heading:Montserrat,system-ui,sans-serif;--body:'Source Sans 3',system-ui,sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{background:var(--bg);color:var(--ink);font:400 18px/1.55 var(--body);-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit}
.wrap{width:min(1080px,calc(100% - 32px));margin-inline:auto}
h1,h2,h3{font-family:var(--heading);color:var(--navy);line-height:1.15;letter-spacing:-.01em}
.eyebrow{font:700 12px/1 var(--heading);letter-spacing:.12em;text-transform:uppercase;color:#296680;margin-bottom:14px}

/* encabezado */
.top{padding:22px 0}
.top .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px}
.top img{width:110px;height:auto}
.top a.back{font:600 15px var(--body);text-decoration:none;color:#17678c}

/* portada */
.hero{padding:30px 0 40px}
.hero h1{font-size:clamp(36px,6vw,58px);max-width:720px}
.hero h1 span{color:#147ca8}
.hero p{margin-top:18px;max-width:600px;color:var(--muted);font-size:19px}
.jump{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}
.jump a{display:inline-flex;align-items:center;min-height:46px;padding:0 20px;border-radius:99px;border:1.5px solid #63d4ff;background:#fff;font:600 16px var(--body);text-decoration:none;color:var(--ink)}
.jump a:hover{background:var(--sky-soft)}

/* advertencias */
.warn{background:var(--warn);border:1.5px solid var(--warn-line);border-radius:22px;padding:24px 26px;margin:10px 0 50px}
.warn h2{font-size:20px;display:flex;align-items:center;gap:10px}
.warn ul{margin-top:12px;padding-left:22px}
.warn li{margin-top:6px}

/* secciones */
section.block{padding:30px 0 60px;border-top:1px solid var(--line)}
.block>header{margin-bottom:28px;max-width:680px}
.block h2{font-size:clamp(28px,4vw,38px)}
.block>header p{margin-top:12px;color:var(--muted)}
.freq{display:inline-flex;align-items:center;gap:8px;margin-top:14px;padding:6px 14px;border-radius:99px;background:var(--sky-soft);color:#17678c;font:600 15px var(--body)}

/* reglas de ubicación */
.rules{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.note{display:flex;gap:16px;align-items:flex-start;background:var(--sky-soft);border:1.5px solid #9fd8f5;border-radius:20px;padding:22px 24px;margin-top:24px}
.note svg{flex:none;width:64px;height:64px}
.note h3{font-size:18px}.note ol{margin-top:8px;padding-left:20px}.note li{margin-top:4px}
.rule{background:var(--card);border:1px solid var(--line);border-radius:20px;padding:22px 18px;text-align:center}
.rule svg{width:84px;height:84px;margin:0 auto 12px}
.rule strong{display:block;font:700 16px/1.3 var(--heading);color:var(--navy)}
.rule span{display:block;margin-top:6px;font-size:15px;color:var(--muted);line-height:1.4}

/* pasos */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;counter-reset:paso}
.step{background:var(--card);border:1px solid var(--line);border-radius:22px;overflow:hidden;display:flex;flex-direction:column}
.step figure{background:linear-gradient(160deg,#f7fbfe,#e6f1f8);aspect-ratio:1/1;display:grid;place-items:center;border-bottom:1px solid var(--line)}
.step figure svg{width:82%;height:82%}
.step .txt{padding:18px 20px 22px}
.step h3{font-size:18px;display:flex;gap:10px;align-items:baseline}
.step h3::before{counter-increment:paso;content:counter(paso,decimal-leading-zero);font:800 15px var(--heading);color:var(--sky)}
.step p{margin-top:8px;font-size:16px;color:var(--muted);line-height:1.45}
.step .alert{margin-top:10px;font-size:15px;color:#9a3b1c;font-weight:600}

/* llamar */
.call{background:linear-gradient(120deg,#233e4c,#172c38);color:#eaf4fa;border-radius:28px;padding:40px;display:grid;grid-template-columns:1fr auto;gap:30px;align-items:center;margin-bottom:60px}
.call h2{color:#fff;font-size:30px}
.call ul{margin-top:14px;padding-left:20px;color:#bcd6e5}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 26px;border-radius:99px;background:#fff;color:#061b3a;font:700 16px var(--body);text-decoration:none;white-space:nowrap}
.btn:hover{background:#e3f4fc}
:root[data-theme=dark] .call{background:linear-gradient(120deg,#1d3644,#132531);border:1px solid var(--line)}
footer{padding:26px 0 40px;font-size:14px;color:var(--muted);border-top:1px solid var(--line)}

/* ilustraciones: trazos comunes */
.ill .o{fill:#fff;stroke:#284a63;stroke-width:2.2;stroke-linejoin:round;stroke-linecap:round}
.ill .s{fill:none;stroke:#284a63;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.ill .hl{fill:#bfe9fb;stroke:var(--sky);stroke-width:2.6}
.ill .hls{fill:none;stroke:var(--sky);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.ill .w{fill:#9fd8f5;stroke:none}
.ill .bt{fill:#d7eefb;stroke:#284a63;stroke-width:2.2;stroke-linejoin:round}
.ill .red{fill:var(--hot)}.ill .blue{fill:var(--cold)}
.ill .no{fill:none;stroke:var(--hot);stroke-width:4;stroke-linecap:round}
.ill .arr{fill:none;stroke:var(--blue);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.ill .arrh{fill:var(--blue)}
.ill .cloth{fill:#ffd98a;stroke:#b98a2e;stroke-width:2;stroke-linejoin:round}

/* modo oscuro */
:root[data-theme=dark]{--navy:#eef6fb;--ink:#dbe8f1;--muted:#9fb6c6;--bg:#0f1c26;--card:#172a37;--line:rgba(180,215,235,.14);--sky-soft:#173a4c;--warn:#2b2418;--warn-line:#8a6a2e}
:root[data-theme=dark] body{color-scheme:dark}
:root[data-theme=dark] .eyebrow{color:#7fcbea}
:root[data-theme=dark] .hero h1 span{color:#5fc8f2}
:root[data-theme=dark] .jump a{background:transparent;color:var(--ink)}
:root[data-theme=dark] .jump a:hover{background:#173a4c}
:root[data-theme=dark] .top a.back,:root[data-theme=dark] .freq{color:#7fcbea}
:root[data-theme=dark] .step .alert{color:#ff9a7a}
:root[data-theme=dark] .step figure{background:linear-gradient(160deg,#e9f3f9,#d6e8f2)}
:root[data-theme=dark] .rule svg{background:#e9f3f9;border-radius:16px;padding:6px}
:root[data-theme=dark] .note{border-color:#2f6f8c}
:root[data-theme=dark] .note svg{background:#e9f3f9;border-radius:14px;padding:4px}
:root[data-theme=dark] .logo-color{display:none}:root[data-theme=dark] .logo-white{display:block}
.logo-white{display:none}
.top-end{display:flex;align-items:center;gap:14px}
.theme-btn{width:44px;height:44px;border-radius:50%;border:1.5px solid var(--line);background:var(--card);color:var(--ink);display:grid;place-items:center;cursor:pointer}
.theme-btn svg{width:20px;height:20px}
.theme-btn:focus-visible{outline:2px solid #74dcff;outline-offset:2px}
@media(max-width:1000px){.rules{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.rules{grid-template-columns:repeat(2,1fr)}.steps{grid-template-columns:repeat(2,1fr)}.call{grid-template-columns:1fr}}
@media(max-width:560px){body{font-size:17px}.steps{grid-template-columns:1fr}.rule svg{width:70px;height:70px}.call{padding:28px 22px}.warn{padding:20px}}

/* Botón de modo, igual al del inicio v53: flotante abajo a la izquierda, vidrio */
.modo-float{position:fixed;left:24px;bottom:26px;z-index:60;width:44px;height:44px;display:grid;place-items:center;padding:0;font:inherit;border-radius:50%;background:#144256e8;border:1px solid #8fd9f577;box-shadow:0 5px 24px #0005;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);color:#c9f2ff;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.modo-float:hover{background:#1d5a71}
.modo-float svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.modo-float .i-luna{display:none}
:root[data-theme=dark] .modo-float .i-sol{display:none}
:root[data-theme=dark] .modo-float .i-luna{display:block}
:root:not([data-theme=dark]) .modo-float{background:#edf8f1ed;border-color:#649ba877;color:#17678c;box-shadow:0 5px 24px #234b6126}
:root:not([data-theme=dark]) .modo-float:hover{background:#d1e9f5}
.modo-float:focus-visible{outline:2px solid #74dcff;outline-offset:3px}
@media(max-width:680px){.modo-float{left:16px;bottom:20px;width:40px;height:40px}}
@media(hover:none){.modo-float:hover{background:#144256e8}:root:not([data-theme=dark]) .modo-float:hover{background:#edf8f1ed}}
@supports not ((backdrop-filter:blur(10px)) or (-webkit-backdrop-filter:blur(10px))){.modo-float{background:#163344}:root:not([data-theme=dark]) .modo-float{background:#eaf3f8}}
@media(prefers-reduced-transparency:reduce){.modo-float{background:#163344;backdrop-filter:none;-webkit-backdrop-filter:none}:root:not([data-theme=dark]) .modo-float{background:#eaf3f8}}

.accs{display:flex;flex-direction:column;gap:14px;padding-bottom:56px}
.acc{background:var(--card);border:1px solid var(--line);border-radius:22px;overflow:hidden}
.acc>summary{list-style:none;display:flex;align-items:center;gap:12px;padding:20px 24px;cursor:pointer}
.acc>summary::-webkit-details-marker{display:none}
.acc-t{display:flex;flex-direction:column;gap:4px;font:700 20px/1.2 var(--heading)}
.acc-t small{font:500 14px/1.3 var(--body);opacity:.7}
.acc-chev{margin-left:auto;width:24px;height:24px;flex:none;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;transition:transform .25s}
.acc[open] .acc-chev{transform:rotate(180deg)}
.acc>summary:focus-visible{outline:3px solid #63d4ff;outline-offset:-3px;border-radius:22px}
.acc-in{padding:0 24px 24px}
.acc-in .warn{margin:0}
.acc-warn{border-color:#e9a23b}
.acc-h{font-size:20px;margin-bottom:6px}
@media(max-width:600px){.acc>summary{padding:16px 18px}.acc-in{padding:0 14px 18px}.acc-t{font-size:18px}}
