/* =========================================================
   Blog de KYC Digital (misma identidad que kycdigital.com.mx)
   ========================================================= */
:root {
    --blue: #1058f0;
    --blue-600: #0b49d1;
    --blue-50: #eef4ff;
    --blue-100: #dde8fe;
    --cielo: #6aa3ff;
    --navy: #0a1a3f;
    --navy-900: #071330;
    --ink: #0f1b33;
    --text: #3b475e;
    --muted: #5d6a82;
    --line: #e2e8f2;
    --bg-soft: #f5f8fd;
    --green: #22a35b;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow: 0 10px 30px rgba(16, 40, 90, .08);
    --shadow-lg: 0 24px 60px rgba(16, 40, 90, .16);
    --header-h: 78px;
    --curva: cubic-bezier(.65, .05, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 1rem; line-height: 1.65; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }
body.kb-sin-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-600); }
h1, h2, h3 { color: var(--ink); line-height: 1.18; letter-spacing: -.015em; margin: 0; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--cielo); outline-offset: 2px; border-radius: 4px; }

.kb-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.kb-ico { width: 20px; height: 20px; flex: none; }
.kb-oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.kb-saltar { position: absolute; left: 12px; top: -60px; z-index: 300; background: #fff; padding: 10px 16px; border-radius: 8px; box-shadow: var(--shadow); }
.kb-saltar:focus { top: 12px; }

/* Botones */
.kb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border: 2px solid transparent; border-radius: 10px; font-weight: 700; font-size: .92rem; line-height: 1.2; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.kb-btn:hover { transform: translateY(-1px); }
.kb-btn .kb-ico { width: 18px; height: 18px; transition: transform .2s; }
.kb-btn:hover .kb-ico { transform: translateX(3px); }
.kb-btn--azul { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(16, 88, 240, .32); }
.kb-btn--azul:hover { background: var(--blue-600); color: #fff; }
.kb-btn--linea { color: #fff; border-color: rgba(255, 255, 255, .5); }
.kb-btn--linea:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .08); }
.kb-btn--sm { padding: 10px 18px; font-size: .84rem; box-shadow: none; }
.kb-btn--ancho { width: 100%; }

.kb-sobre { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.kb-sobre--claro { color: var(--cielo); }
.kb-h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 800; }
.kb-dato { display: inline-flex; align-items: center; gap: 7px; font-size: .84rem; font-weight: 500; }
.kb-dato .kb-ico { width: 16px; height: 16px; }

/* ---------- Encabezado ---------- */
.kb-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.admin-bar .kb-header { top: 32px; }
.kb-header__fila { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.kb-marca { display: flex; align-items: center; gap: 14px; flex: none; color: var(--ink); }
.kb-marca img { height: 50px; width: auto; }
.kb-marca span { padding-left: 14px; border-left: 2px solid var(--line); font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; color: var(--ink); }
.kb-nav { display: flex; align-items: center; flex: 1; justify-content: space-between; gap: 20px; min-width: 0; }
.kb-nav__lista { display: flex; align-items: center; gap: 22px; }
.kb-nav__lista a { position: relative; display: block; padding: 8px 0; color: var(--ink); font-weight: 600; font-size: .88rem; white-space: nowrap; }
.kb-nav__lista a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.kb-nav__lista a:hover, .kb-nav__lista .current-menu-item a { color: var(--blue); }
.kb-nav__lista a:hover::after, .kb-nav__lista .current-menu-item a::after { transform: scaleX(1); }
.kb-nav__acciones { display: flex; align-items: center; gap: 12px; flex: none; }
.kb-redes { display: flex; gap: 2px; }
.kb-redes a, .kb-buscar-btn { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--navy); background: none; border: 0; cursor: pointer; transition: background .2s, color .2s; }
.kb-redes a:hover, .kb-buscar-btn:hover { background: var(--blue-50); color: var(--blue); }
.kb-redes .kb-ico { width: 16px; height: 16px; }
.kb-menu-btn { display: none; margin-left: auto; background: none; border: 0; color: var(--ink); padding: 8px; cursor: pointer; }
.kb-menu-btn .kb-ico { width: 28px; height: 28px; }
.kb-buscador { border-top: 1px solid var(--line); padding: 16px 0; background: #fff; }
.kb-busqueda { display: flex; align-items: center; gap: 12px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 6px 6px 6px 16px; max-width: 640px; margin: 0 auto; }
.kb-busqueda > .kb-ico { color: var(--muted); }
.kb-busqueda input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; color: var(--ink); padding: 8px 0; outline: none; }

/* ---------- Carrusel de la portada ---------- */
.kb-hero { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; }
.kb-hero__ventana { overflow: hidden; }
.kb-hero__pista { display: flex; transition: transform .9s var(--curva); will-change: transform; }
.kb-slide { position: relative; flex: 0 0 100%; min-height: clamp(480px, 62vh, 620px); display: flex; align-items: center; overflow: hidden; }
.kb-slide__img { position: absolute; inset: 0 0 0 34%; background: var(--navy-900); overflow: hidden; }
.kb-slide__img img, .kb-slide__img .kb-sin-imagen { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7.5s ease-out; }
.kb-slide.is-on .kb-slide__img img { transform: scale(1); }
.kb-slide__img::before { content: ""; position: absolute; z-index: 1; left: 0; top: 0; bottom: 0; width: 3px; background: var(--navy-900); }
.kb-slide__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-900) 0%, rgba(7, 19, 48, .86) 26%, rgba(7, 19, 48, .28) 62%, rgba(7, 19, 48, .08) 100%), linear-gradient(0deg, rgba(7, 19, 48, .55), transparent 40%); }
.kb-slide__texto { position: relative; z-index: 2; padding-top: 56px; padding-bottom: 56px; }
.kb-slide__texto > * { max-width: 640px; opacity: 0; transform: translateY(18px); transition: opacity .6s ease .25s, transform .7s var(--curva) .25s; }
.kb-slide.is-on .kb-slide__texto > * { opacity: 1; transform: none; }
.kb-slide.is-on .kb-slide__titulo { transition-delay: .32s; }
.kb-slide.is-on .kb-slide__resumen { transition-delay: .42s; }
.kb-slide.is-on .kb-slide__pie { transition-delay: .52s; }
.kb-pastilla { display: inline-block; padding: 6px 14px; border-radius: 99px; background: rgba(106, 163, 255, .16); border: 1px solid rgba(106, 163, 255, .45); color: #bcd5ff; font-size: .76rem; font-weight: 700; letter-spacing: .03em; margin-bottom: 18px; }
.kb-slide__titulo { font-size: clamp(1.9rem, 3.8vw, 3.1rem); font-weight: 800; line-height: 1.12; letter-spacing: -.025em; margin-bottom: 18px; color: #fff; }
.kb-slide__titulo a { color: #fff; }
.kb-slide__titulo a:hover { color: #d6e4ff; }
.kb-slide__resumen { font-size: 1.05rem; color: rgba(255, 255, 255, .82); margin-bottom: 26px; max-width: 560px; }
.kb-slide__pie { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; color: rgba(255, 255, 255, .78); }

.kb-hero__controles { position: relative; border-top: 1px solid rgba(255, 255, 255, .12); background: rgba(7, 19, 48, .92); }
.kb-hero__barra { display: flex; align-items: stretch; gap: 20px; }
.kb-tabs { display: flex; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.kb-tabs::-webkit-scrollbar { display: none; }
.kb-tab { position: relative; flex: 1 1 0; min-width: 210px; display: flex; gap: 12px; align-items: flex-start; padding: 18px 20px 20px 0; margin-right: 20px; background: none; border: 0; color: rgba(255, 255, 255, .58); text-align: left; cursor: pointer; transition: color .25s; }
.kb-tab:hover, .kb-tab[aria-current] { color: #fff; }
.kb-tab__num { font-size: .78rem; font-weight: 800; color: var(--cielo); line-height: 1.5; }
.kb-tab__txt { font-size: .82rem; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kb-tab__barra { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: rgba(255, 255, 255, .12); }
.kb-tab__barra i { display: block; height: 100%; background: var(--cielo); transform: scaleX(0); transform-origin: left; }
.kb-tab[aria-current] .kb-tab__barra { background: rgba(255, 255, 255, .22); }
.kb-flechas { display: flex; align-items: center; gap: 8px; flex: none; }
.kb-flechas button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); color: #fff; cursor: pointer; transition: background .2s; }
.kb-flechas button:hover { background: var(--blue); border-color: var(--blue); }

/* ---------- Secciones y tarjetas ---------- */
.kb-seccion { padding: 76px 0; }
.kb-seccion--suave { background: var(--bg-soft); }
.kb-encabezado { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.kb-ver-todo { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; white-space: nowrap; }
.kb-rejilla { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.kb-tarjeta { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow .3s, transform .3s, border-color .3s; }
.kb-tarjeta:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: #d3ddef; }
.kb-tarjeta__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--blue-50); }
.kb-tarjeta__img img, .kb-tarjeta__img .kb-sin-imagen { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--curva); }
.kb-tarjeta:hover .kb-tarjeta__img img { transform: scale(1.06); }
.kb-tarjeta__cuerpo { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 22px; }
.kb-etiqueta { align-self: flex-start; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.kb-tarjeta h3 { font-size: 1.18rem; line-height: 1.3; margin-bottom: 10px; }
.kb-tarjeta h3 a { color: var(--ink); }
.kb-tarjeta h3 a:hover { color: var(--blue); }
.kb-tarjeta p { font-size: .93rem; color: var(--muted); margin-bottom: 18px; }
.kb-tarjeta__pie { display: flex; gap: 16px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); }
.kb-tarjeta__pie .kb-dato { font-size: .78rem; }
.kb-sin-imagen { display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--blue)); color: rgba(255, 255, 255, .55); }
.kb-sin-imagen .kb-ico { width: 64px; height: 64px; }

.kb-temas { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.kb-tema { position: relative; display: block; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); color: var(--ink); transition: box-shadow .25s, transform .25s, background .25s, color .25s; }
.kb-tema:hover { background: var(--navy); color: #fff; transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.kb-tema__ico { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--blue-50); color: var(--blue); margin-bottom: 18px; }
.kb-tema strong { display: block; font-size: 1.05rem; line-height: 1.3; padding-right: 26px; }
.kb-tema small { display: block; margin-top: 4px; font-size: .84rem; color: var(--muted); }
.kb-tema:hover small { color: rgba(255, 255, 255, .7); }
.kb-tema__flecha { position: absolute; right: 22px; bottom: 28px; color: var(--blue); transition: transform .25s, color .25s; }
.kb-tema:hover .kb-tema__flecha { color: var(--cielo); transform: translateX(4px); }

.kb-vacio { max-width: 560px; margin: 0 auto; text-align: center; padding: 30px 0; }
.kb-vacio__ico { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--blue-50); color: var(--blue); margin-bottom: 22px; }
.kb-vacio__ico .kb-ico { width: 34px; height: 34px; }
.kb-vacio .kb-h2 { margin-bottom: 12px; }
.kb-vacio p { color: var(--muted); margin-bottom: 22px; }
.kb-vacio .kb-busqueda { margin-bottom: 20px; }

.navigation.pagination { margin-top: 44px; }
.nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); font-weight: 600; font-size: .9rem; }
a.page-numbers:hover { border-color: var(--blue); color: var(--blue); }
.page-numbers.current { background: var(--blue); border-color: var(--blue); color: #fff; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.kb-lista-hero { padding: 72px 0; background: radial-gradient(circle at 85% 10%, rgba(16, 88, 240, .45), transparent 50%), var(--navy-900); color: #fff; }
.kb-lista-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
.kb-lista-hero p { margin: 14px 0 0; max-width: 640px; color: rgba(255, 255, 255, .8); }

/* ---------- Artículo ---------- */
.kb-lectura { position: fixed; left: 0; right: 0; top: 0; height: 4px; z-index: 200; pointer-events: none; }
.admin-bar .kb-lectura { top: 32px; }
.kb-lectura i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--cielo)); transform: scaleX(0); transform-origin: left; }

.kb-art-hero { position: relative; display: flex; align-items: flex-end; min-height: clamp(460px, 66vh, 640px); background: var(--navy-900); color: #fff; overflow: hidden; }
.kb-art-hero__img { position: absolute; inset: 0; }
.kb-art-hero__img img, .kb-art-hero__img .kb-sin-imagen { width: 100%; height: 100%; object-fit: cover; }
.kb-art-hero__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--navy-900) 4%, rgba(7, 19, 48, .82) 42%, rgba(7, 19, 48, .35) 100%); }
.kb-art-hero__texto { position: relative; padding-top: 72px; padding-bottom: 54px; }
.kb-migas { display: flex; flex-wrap: wrap; gap: 8px; font-size: .84rem; font-weight: 600; color: rgba(255, 255, 255, .6); margin-bottom: 18px; }
.kb-migas a { color: #bcd5ff; }
.kb-migas a:hover { color: #fff; }
.kb-art-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.5rem); font-weight: 800; line-height: 1.08; letter-spacing: -.028em; max-width: 960px; }
.kb-art-hero__resumen { font-size: clamp(1.02rem, 1.5vw, 1.22rem); max-width: 760px; color: rgba(255, 255, 255, .85); margin: 20px 0 0; }
.kb-art-hero__datos { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .18); color: rgba(255, 255, 255, .85); }

.kb-art { display: grid; grid-template-columns: 240px minmax(0, 1fr) 280px; gap: 56px; align-items: start; padding-top: 60px; padding-bottom: 80px; }
.kb-art__izq, .kb-art__der { position: sticky; top: calc(var(--header-h) + 28px); }
.kb-indice summary { list-style: none; font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; pointer-events: none; }
.kb-indice summary::-webkit-details-marker { display: none; }
.kb-indice ol { border-left: 2px solid var(--line); }
.kb-indice a { display: block; margin-left: -2px; padding: 8px 0 8px 14px; border-left: 2px solid transparent; font-size: .86rem; font-weight: 500; line-height: 1.35; color: var(--muted); transition: color .2s, border-color .2s; }
.kb-indice a:hover { color: var(--ink); }
.kb-indice a.is-on { color: var(--blue); border-left-color: var(--blue); font-weight: 700; }
.kb-compartir { margin-top: 30px; }
.kb-compartir > span { display: block; font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.kb-compartir > div { display: flex; flex-wrap: wrap; gap: 8px; }
.kb-compartir a, .kb-compartir button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.kb-compartir a:hover, .kb-compartir button:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.kb-compartir button.is-ok { background: var(--green); border-color: var(--green); color: #fff; }
.kb-compartir .kb-ico { width: 16px; height: 16px; }

.kb-promo { position: relative; overflow: hidden; padding: 28px 24px; border-radius: var(--radius-lg); background: radial-gradient(circle at 100% 0, rgba(16, 88, 240, .55), transparent 58%), var(--navy); color: rgba(255, 255, 255, .85); }
.kb-promo .kb-sobre { color: var(--cielo); }
.kb-promo h2 { color: #fff; font-size: 1.22rem; line-height: 1.25; margin-bottom: 16px; }
.kb-promo ul { margin-bottom: 20px; }
.kb-promo li { display: flex; gap: 10px; font-size: .86rem; padding: 5px 0; line-height: 1.4; }
.kb-promo li .kb-ico { width: 18px; height: 18px; color: var(--cielo); }

/* Contenido del artículo */
.kb-contenido { font-size: 1.07rem; line-height: 1.8; color: var(--text); min-width: 0; }
.kb-contenido > p:first-child { font-size: 1.22rem; line-height: 1.65; color: var(--ink); font-weight: 500; }
.kb-contenido h2 { font-size: clamp(1.45rem, 2.2vw, 1.85rem); font-weight: 800; margin: 2.1em 0 .65em; }
.kb-contenido h3 { font-size: 1.2rem; margin: 1.8em 0 .5em; }
.kb-contenido a { text-decoration: underline; text-underline-offset: 3px; }
.kb-contenido strong { color: var(--ink); }
.kb-contenido ul, .kb-contenido ol { margin: 0 0 1.3em; }
.kb-contenido ul li { position: relative; padding: 4px 0 4px 30px; }
.kb-contenido ul li::before { content: ""; position: absolute; left: 3px; top: .82em; width: 12px; height: 7px; border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(-45deg); }
.kb-contenido ol { counter-reset: paso; }
.kb-contenido ol li { position: relative; counter-increment: paso; padding: 6px 0 6px 44px; }
.kb-contenido ol li::before { content: counter(paso); position: absolute; left: 0; top: 7px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue-50); color: var(--blue); font-size: .85rem; font-weight: 800; }
.kb-contenido blockquote { margin: 1.8em 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--blue); font-size: 1.2rem; font-weight: 600; color: var(--ink); }
.kb-contenido img { border-radius: var(--radius); }
.kb-contenido figure { margin: 1.8em 0; }
.kb-contenido figcaption { font-size: .84rem; color: var(--muted); margin-top: 8px; }
.kb-claves { margin: 0 0 2em; padding: 24px 26px; border-radius: var(--radius); background: var(--blue-50); border: 1px solid var(--blue-100); }
.kb-claves > :first-child { margin-top: 0; }
.kb-claves h2, .kb-claves h3 { margin: 0 0 10px; font-size: 1.05rem; color: var(--blue-600); }
.kb-claves ul { margin: 0; font-size: .98rem; }
.kb-nota { margin: 2em 0; padding: 22px 26px; border-radius: var(--radius); background: var(--navy); color: rgba(255, 255, 255, .88); font-size: 1rem; }
.kb-nota p:last-child { margin: 0; }
.kb-nota strong, .kb-nota a { color: #fff; }
.kb-aviso { margin: 2.6em 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: .84rem; line-height: 1.6; color: var(--muted); }

.kb-pagina { max-width: 820px; }

/* ---------- Llamado y pie ---------- */
.kb-cta { background: var(--navy-900); padding: 0 0 1px; }
.kb-cta__caja { display: grid; grid-template-columns: 1.6fr auto; gap: 36px; align-items: center; padding-top: 62px; padding-bottom: 62px; color: rgba(255, 255, 255, .82); }
.kb-cta .kb-sobre { color: var(--cielo); }
.kb-cta h2 { color: #fff; font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 800; margin-bottom: 10px; }
.kb-cta p { margin: 0; max-width: 620px; }
.kb-cta__botones { display: flex; flex-wrap: wrap; gap: 12px; }
.kb-pie { background: var(--navy); color: rgba(255, 255, 255, .72); font-size: .92rem; padding: 56px 0 28px; }
.kb-pie__fila { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.kb-pie__marca p { max-width: 340px; margin: 16px 0; }
.kb-pie h3 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.kb-pie li { padding: 4px 0; }
.kb-pie a { color: rgba(255, 255, 255, .72); }
.kb-pie a:hover { color: #fff; }
.kb-redes--claro { gap: 10px; }
.kb-redes--claro a { width: 38px; height: 38px; color: #fff; border: 1px solid rgba(255, 255, 255, .35); }
.kb-redes--claro a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.kb-pie__legal { padding-top: 22px; font-size: .78rem; }
.kb-pie__legal p { margin: 0 0 4px; }

/* ---------- Tamaños de pantalla ---------- */
@media (max-width: 1240px) {
    .kb-art { grid-template-columns: 210px minmax(0, 1fr); gap: 44px; }
    .kb-art__der { grid-column: 2; position: static; }
    .kb-nav__lista { gap: 16px; }
    .kb-redes:not(.kb-redes--claro) { display: none; }
}

@media (max-width: 1080px) {
    :root { --header-h: 68px; }
    .kb-menu-btn { display: block; }
    .kb-marca img { height: 42px; }
    .kb-nav { position: fixed; inset: var(--header-h) 0 0; display: none; flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 16px 24px 32px; background: #fff; overflow-y: auto; }
    .admin-bar .kb-nav { top: calc(var(--header-h) + 46px); }
    .kb-nav.is-open { display: flex; }
    .kb-nav__lista { flex-direction: column; align-items: stretch; gap: 0; }
    .kb-nav__lista a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; white-space: normal; }
    .kb-nav__lista a::after { display: none; }
    .kb-nav__acciones { flex-wrap: wrap; justify-content: space-between; margin-top: 20px; }
    .kb-redes:not(.kb-redes--claro) { display: flex; }
    .kb-nav__acciones .kb-btn { width: 100%; padding: 14px; }

    .kb-rejilla { grid-template-columns: repeat(2, 1fr); }
    .kb-art { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 32px; }
    .kb-art__izq { position: static; display: flex; flex-direction: column; gap: 18px; }
    .kb-art__der { grid-column: auto; }
    .kb-indice { padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; }
    .kb-indice summary { margin: 0; pointer-events: auto; cursor: pointer; }
    .kb-indice[open] summary { margin-bottom: 12px; }
    .kb-compartir { margin-top: 0; display: flex; align-items: center; gap: 14px; }
    .kb-compartir > span { margin: 0; }
    .kb-contenido { max-width: 760px; }
    .kb-cta__caja, .kb-pie__fila { grid-template-columns: 1fr; }
    .kb-pie__fila { grid-template-columns: 1fr 1fr; }
    .kb-pie__marca { grid-column: 1 / -1; }

    .kb-slide { min-height: 0; display: block; }
    .kb-slide__img { position: relative; inset: auto; aspect-ratio: 16 / 9; }
    .kb-slide__img::before { display: none; }
    .kb-slide__img::after { background: linear-gradient(0deg, var(--navy-900) 0%, rgba(7, 19, 48, .15) 55%); }
    .kb-slide__texto { padding-top: 22px; padding-bottom: 34px; }
    .kb-tab { min-width: 220px; }
}

@media (max-width: 680px) {
    body { font-size: .98rem; }
    .kb-wrap { padding: 0 18px; }
    .kb-seccion { padding: 54px 0; }
    .kb-rejilla { grid-template-columns: 1fr; gap: 22px; }
    .kb-encabezado { align-items: flex-start; flex-direction: column; margin-bottom: 26px; }
    .kb-flechas { display: none; }
    .kb-hero__barra { padding-right: 0; }
    .kb-tab { min-width: 76%; margin-right: 14px; }
    .kb-art-hero__texto { padding-top: 96px; padding-bottom: 34px; }
    .kb-contenido { font-size: 1rem; }
    .kb-contenido > p:first-child { font-size: 1.1rem; }
    .kb-pie__fila { grid-template-columns: 1fr; }
    .kb-cta__botones .kb-btn { width: 100%; }
    .kb-marca span { padding-left: 10px; }
    .admin-bar .kb-header { top: 0; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .kb-hero__pista, .kb-slide__img img, .kb-slide__texto > *, .kb-tarjeta, .kb-tarjeta__img img { transition: none !important; }
    .kb-tab__barra i { display: none; }
}
