/* RadProChile — CSS compartido del BLOG (base-rp-blog1)
 *
 * Generado por extraer_css_comun.py: las reglas IDENTICAS que estaban repetidas
 * dentro del <style> de cada articulo. Se sacan aca para que el navegador las
 * baje UNA vez y las reuse al pasar de un articulo a otro.
 *
 * NO EDITAR A MANO de forma aislada: si se cambia una regla aca, cambia en
 * todos los articulos. Para regenerar, correr el script y subir la version.
 */
@font-face {
 font-family: 'Plus Jakarta Sans';
 font-style: normal;
 font-weight: 400 800;
 font-display: optional;
 src: url(/assets/fonts/plus-jakarta-sans-400-800.woff2) format('woff2');
}
@font-face {
 font-family: 'Plus Jakarta Sans';
 font-style: italic;
 font-weight: 700;
 font-display: optional;
 src: url(/assets/fonts/plus-jakarta-sans-400-800.woff2) format('woff2');
}
:root {
 --brand: #004652;
 --brand-dark: #002e38;
 --brand-mid: #005f6e;
 --cyan: #00b4c8;
 --cyan-h: #00cce0;
 --off: #f4f8f9;
 --gray: #6b7280;
 --dark: #0d1f26;
 --text: #1a2e33;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', sans-serif; background: var(--off); color: var(--text); font-size: 16px; line-height: 1.5; }
a { text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.header::before { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,0.97); backdrop-filter: blur(10px); z-index: -1; }
.header-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.logo { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 18px; width: auto; display: block; }
.logo:hover { opacity: 0.82; }
.nav-links { display: flex; align-items: center; gap: 28px; background: #ffffff; }
.nav-link { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #4b5563; transition: color 0.15s; }
.nav-link:hover { color: var(--brand); }
.nav-cta { padding: 9px 20px; font-size: 0.8rem; }
.btn-cyan { display: inline-block; background: var(--cyan); color: #fff; font-weight: 700; font-size: 0.9rem; padding: 14px 28px; border-radius: 8px; border: none; cursor: pointer; transition: background 0.18s, transform 0.15s; }
.btn-cyan:hover { background: var(--cyan-h); transform: translateY(-1px); }
.footer { background: #060f12; padding: 24px 20px; text-align: center; border-top: 1px solid rgba(255,255,255,0.05); }
.footer p { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.22); }
.wa-float { position: fixed; bottom: 22px; right: 22px; z-index: 9999; display: flex; align-items: center; gap: 10px; background: #25D366; color: #fff; border-radius: 50px; padding: 13px 18px 13px 14px; box-shadow: 0 6px 20px rgba(37,211,102,0.45); text-decoration: none; font-family: inherit; transition: transform .15s ease; }
.wa-float:hover { transform: scale(1.05); }
.wa-float svg { width: 26px; height: 26px; flex-shrink: 0; }
.wa-float span { font-size: 0.85rem; font-weight: 700; white-space: nowrap; }
@media (max-width: 480px) { .wa-float { bottom: 16px; right: 16px; padding: 12px 15px 12px 12px; } }
/* ─── MENÚ HAMBURGUESA (mobile) ─── */
.hamburger {
 display: none;
 flex-direction: column;
 justify-content: center;
 gap: 5px;
 width: 40px;
 height: 40px;
 padding: 8px;
 border: none;
 background: transparent;
 cursor: pointer;
 z-index: 200;
}
.hamburger span {
 display: block;
 height: 2.5px;
 width: 100%;
 background: var(--brand);
 border-radius: 2px;
 transition: transform .25s ease, opacity .2s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
/* Solo mobile: menu hamburguesa, nav en drawer */
/* FIX RESPONSIVE DEL MENU (Alicia · 12-oct-2026) ───
   El corte estaba en 767px, pero el nav de escritorio (6 enlaces + el boton
   Diagnostico) necesita ~950px. Entre 768 y ~1000 el logo y el nav se pegaban
   (separacion 0 desde 880px) y el logo se comprimia de 146px a 96px: se veia
   apretado y "perdia". Se sube el corte a 1024, donde el nav entra con ~130px
   de aire. Solo afecta al menu: el bloque no toca nada mas. */
@media (max-width: 1024px) {
 .hamburger { display: flex; }
 .nav-links {
 position: fixed;
 top: 0; right: 0; bottom: 0;
 width: 78%;
 max-width: 300px;
 flex-direction: column;
 align-items: flex-start;
 justify-content: flex-start;
 gap: 6px;
 padding: 84px 28px 28px;
 background: #ffffff !important;
 box-shadow: -8px 0 30px rgba(0,0,0,0.25);
 border-left: 1px solid #e2eaec;
 z-index: 2000;
 transform: translateX(100%);
 transition: transform .28s ease;
 }
 .nav-links.open { transform: translateX(0); }
 .nav-link { font-size: 1rem; letter-spacing: 0.02em; padding: 12px 0; width: 100%; text-align: left; color: #1f2937; border-bottom: 1px solid #f0f4f5; }
 .nav-cta { margin-top: 18px; width: 100%; text-align: center; }
 /* overlay */
 .nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1900; }
 .nav-overlay.open { display: block; }
}
@media (min-width: 1025px) {
 .nav-overlay { display: none !important; }
}
.footer .flogo { display: block; margin: 0 auto 14px; width: fit-content; }
.footer .flogo img { height: 18px; width: auto; display: block; opacity: 0.85; }
.footer .flogo:hover img { opacity: 1; }
