/* BASE10 — hoja de estilos única */

/* Fuentes alojadas en el propio sitio (sin conexión a Google Fonts) */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/manrope-latin.woff2) format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 600 700; font-display: swap; src: url(/assets/fonts/intertight-latin.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/jetbrainsmono-500-latin.woff2) format("woff2"); }
:root {
  --ink: #0B1F5C;          /* azul marino corporativo (dominante) */
  --ink-2: #13296E;
  --blue: #3D68C8;         /* azul del logotipo (acento) */
  --blue-d: #2C53A8;
  --blue-l: #C9D6F0;
  --sky: #EEF2FA;          /* fondo suave */
  --sky-2: #F6F8FC;
  --line: #DCE3F1;
  --text: #17203F;
  --muted: #56607E;
  --ok: #128F7E;
  --white: #fff;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11,31,92,.06), 0 8px 24px rgba(11,31,92,.07);
  --wrap: 1180px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 90px; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--white); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-d); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding: clamp(40px, 5vw, 64px) 0; }
.section-sky { background: var(--sky-2); }
.section-blue { background: #DCE6F8; }
.section-dark { background: var(--ink); color: #D9E1F4; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark a:not(.btn) { color: #fff; }
.section-head { max-width: none; margin-bottom: 44px; }
.section-head p { font-size: 1.1rem; color: var(--muted); }
.section-dark .section-head p { color: #B9C5E3; }
.center { text-align: center; margin-inline: auto; }

.eyebrow { display: inline-block; font-family: var(--mono); font-size: .74rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.section-dark .eyebrow, .page-hero .eyebrow, .hero .eyebrow { color: #8FB0F2; }
.hero .eyebrow { color: #fff; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: var(--muted); max-width: none; }

/* Botones */
.btn { display: inline-flex; align-items: center; gap: .5em; background: var(--blue); color: #fff; font-weight: 700; padding: .85em 1.35em; border-radius: 999px; text-decoration: none; border: 2px solid var(--blue); transition: background .15s, border-color .15s, color .15s; font-size: 1rem; cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--blue-d); border-color: var(--blue-d); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--sky); color: var(--ink); border-color: var(--blue-l); }
.hero .btn-ghost, .page-hero .btn-ghost, .section-dark .btn-ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.hero .btn-ghost:hover, .page-hero .btn-ghost:hover, .section-dark .btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; }
.btn-sm { padding: .55em 1.1em; font-size: .95rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Cabecera */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 56px; height: 56px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.15rem; letter-spacing: .06em; }
.brand-text small { font-size: .74rem; color: var(--muted); font-weight: 600; }
.site-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; }
.site-nav > ul > li > a { display: block; padding: 10px 14px; text-decoration: none; color: var(--text); font-weight: 600; font-size: .98rem; border-radius: 8px; }
.site-nav > ul > li > a:hover { background: var(--sky); color: var(--ink); }
.site-nav > ul > li.is-active > a { color: var(--blue-d); }
.site-nav .nav-cta { margin-left: 8px; }
.site-nav .nav-cta .btn { color: #fff; }
.has-menu { position: relative; }
.has-menu > a::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); margin-left: 8px; opacity: .6; }
.menu { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-38%); width: 560px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 20px 50px rgba(11,31,92,.16); padding: 14px; display: grid; grid-template-columns: 1fr; gap: 12px; opacity: 0; visibility: hidden; transition: opacity .15s, visibility .15s; }
.menu::before { content: ""; position: absolute; inset: -12px 0 auto 0; height: 12px; }
.has-menu:hover .menu, .has-menu:focus-within .menu { opacity: 1; visibility: visible; }
.menu ul { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.menu li a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--text); }
.menu li a:hover { background: var(--sky); }
.menu li strong { display: block; color: var(--ink); font-size: .95rem; }
.menu li a.menu-sub { margin: -4px 0 0 12px; padding: 6px 12px; font-size: .84rem; font-weight: 600; color: var(--blue-d); }
.menu li a.menu-sub:hover { background: var(--sky); }
.footer-sub { display: block; margin: 6px 0 0 14px; font-size: .85rem; color: #9FB0D8 !important; }
.footer-sub::before { content: "+ "; }
.menu li span { display: block; font-size: .8rem; color: var(--muted); line-height: 1.35; }
.menu-feature { background: var(--ink); color: #D9E1F4; border-radius: var(--radius-sm); padding: 20px; text-decoration: none; display: flex; flex-direction: column; gap: 8px; }
.menu-feature .eyebrow { margin: 0; color: #8FB0F2; }
.menu-feature strong { color: #fff; font-size: 1.05rem; line-height: 1.3; }
.menu-feature span:last-child { font-size: .88rem; margin-top: auto; }
.menu-feature:hover { background: var(--ink-2); color: #fff; }
.nav-toggle { display: none; }

/* Hero portada */
.hero { background: linear-gradient(90deg, rgba(11,31,92,.95) 0%, rgba(11,31,92,.86) 45%, rgba(11,31,92,.62) 100%), url("/assets/img/hero-datacenter.webp") center / cover no-repeat, var(--ink); color: #D9E1F4; overflow: hidden; position: relative; }
.hero .trail-card { background: rgba(8,22,69,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 7vw, 96px); }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: #8FB0F2; }
.brk { color: var(--blue); white-space: nowrap; }
.hero .brk, .section-dark .brk, .trail-card .brk, .page-hero .brk { color: #8FB0F2; }
.hero h1 { color: #5B8CFF; }
.hero h1 .brk { color: #fff; }
.page-hero h1.h1-invert { color: #8FB0F2; }
.page-hero h1.h1-invert .brk { color: #fff; }
.hero .lead { color: #B9C5E3; }
.trust { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-top: 40px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); font-size: .9rem; color: #B9C5E3; }
.trust strong { color: #fff; font-weight: 700; }
.trust-badge { background: #fff; border-radius: 8px; padding: 4px 8px; }
.trust-badge img { height: 40px; width: auto; }

/* Motivo: la estela de elipses del logotipo = niveles de madurez */
.trail-card { position: relative; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 20px; padding: 28px 26px; }
.trail-card .trail-actions { margin-top: 22px; }
.hero-grid > .hero-copy { align-self: start; }
.hero-copy .actions { margin-top: 28px; }
.trail-note { color: #C9D6F0; font-size: .95rem; margin: 14px 0 0; }
.trail-card h2 { font-size: 1.3rem; color: #fff; font-weight: 700; margin-bottom: 4px; letter-spacing: 0; }
.trail-card > p { font-size: .88rem; color: #9FB0D8; margin-bottom: 18px; }
.trail { list-style: none; padding: 0; display: grid; gap: 8px; }
.trail li { display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 12px; transition: background .2s; }
.trail li:hover { background: rgba(255,255,255,.05); }
.trail .dot { justify-self: center; border-radius: 50%; transform: rotate(-32deg); }
.trail li:nth-child(1) .dot { width: 18px; height: 11px; background: #DCE5F7; }
.trail li:nth-child(2) .dot { width: 24px; height: 15px; background: #AFC3EE; }
.trail li:nth-child(3) .dot { width: 31px; height: 19px; background: #7A9BE0; }
.trail li:nth-child(4) .dot { width: 38px; height: 24px; background: #4D74CF; }
.trail li:nth-child(5) .dot { width: 46px; height: 29px; background: #2A55BE; box-shadow: 0 0 0 4px rgba(61,104,200,.25); }
.trail strong { color: #fff; display: block; font-size: 1rem; }
.trail span { font-size: .84rem; color: #9FB0D8; display: block; line-height: 1.4; }
.trail small { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; color: #8FB0F2; text-transform: uppercase; }

/* Áreas en la tarjeta del hero, con el mismo formato compacto de la lista .trail */
.trail-links li { display: block; padding: 0; }
.trail-links { gap: 2px; }
.trail-links a { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 12px; padding: 7px 12px; border-radius: 12px; color: inherit; text-decoration: none; transition: background .2s; }
.trail-links a:hover { background: rgba(255,255,255,.05); }
.trail-links a:hover strong { color: #8FB0F2; }
.trail-ico { justify-self: center; color: #8FB0F2; display: grid; place-items: center; }
.trail-ico svg { width: 22px; height: 22px; }

/* (lista de áreas anterior, ya no se usa) */
.area-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.area-list a { display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: inherit; transition: background .15s; }
.area-list a::after { content: "→"; color: #8FB0F2; opacity: 0; transform: translateX(-4px); transition: opacity .15s, transform .15s; }
.area-list a:hover { background: rgba(255,255,255,.06); }
.area-list a:hover::after { opacity: 1; transform: none; }
.area-ico { width: 40px; height: 40px; border-radius: 10px; background: rgba(143,176,242,.14); color: #8FB0F2; display: grid; place-items: center; }
.area-ico svg { width: 20px; height: 20px; }
.area-list strong { display: block; color: #fff; font-size: 1rem; line-height: 1.25; }
.area-list small { display: block; color: #9FB0D8; font-size: .82rem; line-height: 1.4; }

/* Cabecera de páginas interiores */
.page-hero { background: radial-gradient(900px 420px at 90% 0%, #1D3A8F 0%, transparent 65%), var(--ink); color: #D9E1F4; padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 72px); }
.page-hero h1 { color: #fff; max-width: 900px; }
.page-hero .lead { color: #B9C5E3; }
.crumbs { font-size: .85rem; margin-bottom: 18px; color: #9FB0D8; }
.crumbs a { color: #C9D6F0; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; padding: 0; list-style: none; }
.hero-pills li { border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 6px 14px; font-size: .88rem; color: #DCE5F7; }

/* Cifras */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.stat { padding: 28px 26px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-size: clamp(2rem, 3.4vw, 2.8rem); color: var(--ink); font-weight: 800; letter-spacing: -.03em; line-height: 1; margin-bottom: 8px; }
.stat span { font-size: .92rem; color: var(--muted); display: block; line-height: 1.45; }
.stats-float { margin-top: -48px; position: relative; z-index: 2; }

/* Rejillas y tarjetas */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.card p { color: var(--muted); font-size: .97rem; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.section-sky .card { box-shadow: 0 1px 2px rgba(11,31,92,.04); }
.section-dark .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
.section-dark .card p { color: #B9C5E3; }
a.card { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s, transform .15s; }
a.card:hover { border-color: var(--blue-l); box-shadow: var(--shadow); transform: translateY(-2px); }
a.card .more { margin-top: auto; padding-top: 14px; font-weight: 700; color: var(--blue-d); font-size: .93rem; }
.icon { width: 48px; height: 48px; border-radius: 12px; background: var(--sky); color: var(--blue-d); display: grid; place-items: center; margin-bottom: 18px; }
.icon svg { width: 24px; height: 24px; }
.section-dark .icon { background: rgba(143,176,242,.14); color: #8FB0F2; }
.card ul.mini { list-style: none; padding: 0; margin-top: 4px; }
.card ul.mini li { font-size: .9rem; color: var(--muted); padding: 5px 0 5px 18px; position: relative; border-top: 1px dashed var(--line); }
.card ul.mini li:first-child { border-top: 0; }
.card ul.mini li::before { content: ""; position: absolute; left: 0; top: 13px; width: 7px; height: 5px; border-radius: 50%; background: var(--blue); transform: rotate(-32deg); }
.tag { display: inline-block; font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; background: var(--sky); color: var(--blue-d); padding: 3px 8px; border-radius: 6px; margin-bottom: 12px; }
.section-dark .tag { background: rgba(143,176,242,.14); color: #8FB0F2; }

/* Banda destacada (Apple, auditoría) */
.feature { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; border-radius: 20px; padding: clamp(28px, 4vw, 48px); background: var(--sky); }
.feature-dark { background: var(--ink); color: #D9E1F4; }
.feature-dark h2, .feature-dark h3 { color: #fff; }
.feature-dark p { color: #B9C5E3; }
.feature-dark .eyebrow { color: #8FB0F2; }
.feature ul.checks { margin: 0; }

/* Listas con check */
ul.checks { list-style: none; padding: 0; display: grid; gap: 10px; }
ul.checks li { padding-left: 30px; position: relative; }
ul.checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.cols-2 { columns: 2; column-gap: 32px; }
.cols-2 li { break-inside: avoid; margin-bottom: 10px; }

/* Niveles (5) */
.levels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: lvl; }
.level { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; position: relative; }
.level .dot { display: block; border-radius: 50%; transform: rotate(-32deg); margin: 4px 0 18px; }
.level:nth-child(1) .dot { width: 20px; height: 12px; background: #C9D6F0; }
.level:nth-child(2) .dot { width: 26px; height: 16px; background: #9DB5EA; }
.level:nth-child(3) .dot { width: 32px; height: 20px; background: #6F91DD; }
.level:nth-child(4) .dot { width: 38px; height: 24px; background: #4A71CD; }
.level:nth-child(5) .dot { width: 44px; height: 28px; background: #2A55BE; }
.level small { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.level h3 { margin: 4px 0 8px; }
.level p { font-size: .9rem; color: var(--muted); margin-bottom: 12px; }
.level .eg { font-size: .8rem; color: var(--ink); background: var(--sky); border-radius: 8px; padding: 8px 10px; line-height: 1.4; }
.levels-note { margin-top: 22px; font-weight: 700; color: var(--ink); }
.section-dark .levels-note { color: #fff; }

/* Pasos numerados */
.steps { display: grid; gap: 16px; counter-reset: step; }
.steps-5 { grid-template-columns: repeat(5, 1fr); }
.steps-4 { grid-template-columns: repeat(4, 1fr); }
.steps-3 { grid-template-columns: repeat(3, 1fr); }
.step { counter-increment: step; padding: 24px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.step::before { content: counter(step, decimal-leading-zero); font-family: var(--mono); font-size: .8rem; color: var(--blue); font-weight: 500; margin-bottom: 14px; }
.step h3 { font-size: 1.08rem; }
.step p { font-size: .92rem; color: var(--muted); }
.step .out { margin-top: auto; font-size: .82rem; border-top: 1px solid var(--line); padding-top: 12px; color: var(--ink); }
.step .out b { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: block; font-weight: 500; }
.section-dark .step { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
.section-dark .step p { color: #B9C5E3; }
.section-dark .step .out { color: #fff; border-color: rgba(255,255,255,.12); }
.section-dark .step .out b { color: #9FB0D8; }

/* Planes */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { border: 1px solid var(--line); border-radius: 18px; padding: 30px 28px; background: #fff; display: flex; flex-direction: column; }
.plan .verb { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.plan h3 { font-size: 1.6rem; margin: 6px 0 4px; }
.plan .sub { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.plan ul.checks { font-size: .95rem; margin-bottom: 20px; }
.plan .foot { margin-top: auto; font-weight: 700; color: var(--ink); font-size: .95rem; border-top: 1px solid var(--line); padding-top: 16px; }
.plan-featured { background: var(--ink); border-color: var(--ink); color: #D9E1F4; box-shadow: 0 20px 50px rgba(11,31,92,.25); }
.plan-featured h3, .plan-featured .foot { color: #fff; }
.plan-featured .verb { color: #8FB0F2; }
.plan-featured .sub { color: #B9C5E3; }
.plan-featured .foot { border-color: rgba(255,255,255,.15); }
.plan .badge { align-self: flex-start; font-size: .75rem; font-weight: 700; background: var(--blue); color: #fff; padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }

/* Capas de ciberseguridad */
.layers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.layer-group { border-radius: var(--radius); background: #fff; border: 1px solid var(--line); padding: 22px; }
.layer-group header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.layer-group header h3 { margin: 0; font-size: 1.05rem; }
.layer-group header span { font-family: var(--mono); font-size: .75rem; color: var(--blue); }
.layer-group ol { list-style: none; padding: 0; display: grid; gap: 6px; margin: 0; }
.layer-group li { display: flex; gap: 10px; align-items: baseline; font-size: .9rem; padding: 7px 10px; background: var(--sky-2); border-radius: 8px; }
.layer-group li b { font-family: var(--mono); font-weight: 500; font-size: .74rem; color: var(--blue); min-width: 20px; }

/* Tabla mapa */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.map { border-collapse: collapse; width: 100%; min-width: 900px; font-size: .86rem; }
table.map th, table.map td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.map thead th { background: var(--sky); color: var(--ink); font-size: .78rem; }
table.map thead th small { display: block; font-family: var(--mono); font-size: .64rem; letter-spacing: .08em; color: var(--blue); font-weight: 500; }
table.map tbody th { color: var(--ink); white-space: nowrap; }
table.map tr:last-child td, table.map tr:last-child th { border-bottom: 0; }
.pk { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; font-size: .7rem; font-weight: 800; margin-right: 6px; color: #fff; vertical-align: 1px; }
.pk-e { background: #6F91DD; } .pk-b { background: #3D68C8; } .pk-p { background: var(--ink); }
.legend { display: flex; flex-wrap: wrap; gap: 18px; font-size: .86rem; color: var(--muted); margin-top: 14px; }

/* Logos */
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; list-style: none; padding: 0; }
.logo-wall li { background: #fff; border: 1px solid var(--line); border-radius: 12px; height: 96px; display: grid; place-items: center; padding: 16px 20px; }
.logo-wall img { max-width: 100%; object-fit: contain; }
.logo-wall li:has(> a) { padding: 0; transition: border-color .15s, box-shadow .15s; }
.logo-wall li > a { display: grid; place-items: center; width: 100%; height: 100%; padding: 16px 20px; border-radius: inherit; }
.logo-wall li:has(> a:hover), .logo-wall li:has(> a:focus-visible) { border-color: var(--blue, #2F5BEA); box-shadow: 0 4px 14px rgba(11,31,92,.08); }
.logo-wall li.dark { background: var(--ink); border-color: var(--ink); }
.logo-wall-sm li { height: 88px; }
.partner-group + .partner-group { margin-top: 26px; }
.logo-wall li.wide { grid-column: span 2; }
.logo-wall li.wide img { width: auto; max-width: 100%; max-height: 52px; }
/* «fill»: el logo ocupa toda la celda, con un margen mínimo */
.logo-wall li.fill { padding: 8px 10px; }
.logo-wall li.fill img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; }
.logo-wall li.wide.fill { padding: 22px 30px; }
/* Grupo de sellos (asociaciones y homologaciones): celdas y logos más pequeños */
.partner-group-small .logo-wall { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.partner-group-small .logo-wall li, .partner-group-small .logo-wall li.fill, .partner-group-small .logo-wall li.wide.fill { height: 64px; padding: 10px 14px; }
.partner-group-small .logo-wall img { width: auto !important; height: auto !important; max-width: 100% !important; max-height: 36px !important; object-fit: contain; }
.partner-group-title { font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.logos-note { font-size: .78rem; line-height: 1.5; color: var(--muted); max-width: none; margin: 14px 0 0; }

/* Equipo */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.person { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.avatar { flex: none; width: 54px; height: 54px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; letter-spacing: .02em; }
.person strong { display: block; color: var(--ink); }
.person .avatar { width: 72px; height: 72px; }
.avatar.has-photo { background: #fff; border: 2px solid var(--blue-l); overflow: hidden; padding: 0; }
.avatar.has-photo img, .ph.has-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.contacts .avatar { width: 72px; height: 72px; }
.person span { font-size: .88rem; color: var(--muted); }

.li-link { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; background: #EAF2FB; color: #0A66C2; vertical-align: middle; flex: none; transition: background .15s, color .15s; }
.li-link svg { width: 15px; height: 15px; fill: currentColor; }
.li-link:hover { background: #0A66C2; color: #fff; }
.person .li-link { margin-left: auto; }
.v2-team .li-link { margin-top: 10px; display: grid; }

/* Destacado NIA-ES 315 (Riesgos tecnológicos) */
.nia-banner { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; margin-top: 20px; padding: 28px 32px; border-radius: 18px; text-decoration: none; color: #D9E1F4; background: radial-gradient(600px 240px at 100% 0%, #1D3A8F 0%, transparent 70%), var(--ink); box-shadow: 0 18px 40px rgba(11,31,92,.22); transition: transform .15s, box-shadow .15s; }
.nia-banner:hover { transform: translateY(-2px); box-shadow: 0 24px 50px rgba(11,31,92,.3); color: #D9E1F4; }
.nia-ico { width: 64px; height: 64px; border-radius: 16px; background: rgba(143,176,242,.16); color: #8FB0F2; display: grid; place-items: center; }
.nia-ico svg { width: 32px; height: 32px; }
.nia-txt .eyebrow { margin-bottom: 6px; color: #8FB0F2; }
.nia-txt strong { display: block; color: #fff; font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.25; margin-bottom: 6px; }
.nia-txt small { display: block; color: #B9C5E3; font-size: .95rem; line-height: 1.5; }
.nia-cta { background: #fff; color: var(--ink); font-weight: 700; padding: .8em 1.3em; border-radius: 999px; white-space: nowrap; }
.nia-banner:hover .nia-cta { background: var(--sky); }
@media (max-width: 860px) { .nia-banner { grid-template-columns: 1fr; padding: 24px; } .nia-cta { justify-self: start; } }

/* Logos de soluciones de IA (IA y datos) */
.ai-logos-title { margin: 36px 0 14px; font-weight: 700; color: var(--ink); }
.ai-logos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.ai-logos li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 10px 14px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.ai-logo { height: 44px; display: grid; place-items: center; width: 100%; }
.ai-logo img { max-height: 40px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.ai-name { font-size: .82rem; font-weight: 700; color: var(--ink); line-height: 1.25; }
@media (max-width: 1080px) { .ai-logos { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .ai-logos { grid-template-columns: repeat(2, 1fr); } }

/* Novedades (portada) */
.news-card { display: grid; grid-template-columns: 300px 1fr; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: #fff; text-decoration: none; color: inherit; transition: box-shadow .15s, transform .15s, border-color .15s; }
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--blue-l); color: inherit; }
.news-visual { background: radial-gradient(400px 260px at 100% 0%, #1D3A8F 0%, transparent 70%), var(--ink); color: #fff; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; padding: 32px; }
.news-ico { width: 64px; height: 64px; border-radius: 16px; background: rgba(143,176,242,.16); color: #8FB0F2; display: grid; place-items: center; }
.news-ico svg { width: 32px; height: 32px; }
.news-norm { font-family: var(--mono); font-size: 1.5rem; font-weight: 500; letter-spacing: .02em; line-height: 1.1; }
.news-norm small { display: block; font-size: .8rem; color: #8FB0F2; margin-top: 4px; letter-spacing: .1em; text-transform: uppercase; }
.news-body { padding: 32px 36px; display: flex; flex-direction: column; align-items: flex-start; }
.news-badge { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; background: #E6F6F1; color: #0B7A62; padding: 5px 10px; border-radius: 999px; margin-bottom: 14px; }
.news-body h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin-bottom: 12px; }
.news-body p { color: var(--muted); }
.news-body .more { margin-top: auto; font-weight: 700; color: var(--blue-d); }
/* Últimas publicaciones de LinkedIn (portada, bajo Novedades) */
.li-feed { margin-top: 40px; }
.li-feed-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.li-feed-head .partner-group-title { margin: 0; }
.li-feed-head a { font-size: .9rem; font-weight: 600; text-decoration: none; }
.li-posts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.li-post { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .15s, transform .15s, border-color .15s; }
.li-post:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--blue-l); color: inherit; }
.li-post-img { display: block; aspect-ratio: 16 / 9; background: var(--sky); overflow: hidden; }
.li-post-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.li-post-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; flex: 1; }
.li-post-meta { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--muted); }
.li-post-meta svg { fill: #0A66C2; flex: none; }
.li-post-text { font-size: .92rem; line-height: 1.55; color: var(--text); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.li-post .more { margin-top: auto; font-size: .88rem; font-weight: 700; color: var(--blue-d); }
@media (max-width: 900px) { .li-posts { grid-template-columns: 1fr; } .li-post { flex-direction: row; } .li-post-img { flex: 0 0 34%; aspect-ratio: auto; } }
@media (max-width: 520px) { .li-post { flex-direction: column; } .li-post-img { flex: none; aspect-ratio: 16 / 9; } }
@media (max-width: 760px) { .news-card { grid-template-columns: 1fr; } .news-visual { flex-direction: row; align-items: center; padding: 24px; } .news-body { padding: 24px; } }

/* Contacto */
.contact-head { margin-bottom: 24px; }
.contact-lines { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 12px; }
.contact-lines a { display: inline-flex; gap: 12px; align-items: flex-start; color: var(--text); text-decoration: none; line-height: 1.45; }
.contact-lines a:hover { color: var(--blue-d); }
.contact-lines a:hover span { text-decoration: underline; }
.contact-lines svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--blue-d); }
.interest-tag { display: inline-flex; align-items: center; gap: 10px; background: var(--blue); color: #fff; font-weight: 800; font-size: 1.05rem; letter-spacing: .01em; padding: 10px 18px 10px 14px; border-radius: 999px; margin-bottom: 16px; box-shadow: 0 8px 20px rgba(61,104,200,.28); }
.interest-tag svg { width: 20px; height: 20px; }
.contact-head h2 { font-size: 1.6rem; margin-bottom: .3em; }
.contact-head p { color: var(--muted); margin: 0; }
.client-box { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; background: var(--sky); border: 1px solid var(--blue-l); border-radius: var(--radius); padding: 18px 20px; text-decoration: none; color: var(--text); transition: border-color .15s, box-shadow .15s; }
.client-box:hover { border-color: var(--blue); box-shadow: var(--shadow); color: var(--text); }
.client-box .team-ico { background: #fff; color: var(--blue-d); }
.client-box strong { display: block; color: var(--ink); font-size: 1.08rem; }
.client-box small { display: block; color: var(--muted); font-size: .88rem; line-height: 1.4; }
.client-box .portal-arrow { color: var(--blue-d); font-size: 1.4rem; }
.job-box { display: flex; gap: 16px; align-items: flex-start; margin-top: 16px; background: var(--ink); color: #D9E1F4; border-radius: var(--radius); padding: 22px 22px; }
.job-box strong { display: block; color: #fff; font-size: 1.15rem; margin-bottom: 4px; }
.job-box p { color: #B9C5E3; font-size: .93rem; margin: 0 0 14px; }
.job-box .btn { background: #fff; color: var(--ink); border-color: #fff; }
.job-box .btn:hover { background: var(--sky); border-color: var(--sky); }
.job-gdpr { margin-top: 14px; font-size: .8rem; color: #B9C5E3; }
.job-gdpr summary { cursor: pointer; color: #C9D6F0; font-weight: 600; }
.job-gdpr dl { display: grid; grid-template-columns: 110px 1fr; gap: 4px 10px; margin: 10px 0 0; }
.job-gdpr dt { font-weight: 700; color: #fff; }
.job-gdpr dd { margin: 0; }
.job-gdpr a { color: #fff; }
@media (max-width: 640px) { .job-gdpr dl { grid-template-columns: 1fr; } }

/* Equipos transversales (Empresa) */
.teams { margin-top: 28px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px 28px; }
.teams-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 18px; }
.teams-head p { margin: 0; color: var(--muted); font-size: .95rem; }
.teams-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.team-card { display: flex; gap: 14px; align-items: center; background: var(--ink); color: #D9E1F4; border-radius: 14px; padding: 16px 18px; }
.team-card strong { display: block; color: #fff; font-size: 1.05rem; }
.team-card span:not(.team-ico) { display: block; font-size: .88rem; color: #B9C5E3; }
.team-ico { flex: none; width: 44px; height: 44px; border-radius: 12px; background: rgba(143,176,242,.16); color: #8FB0F2; display: grid; place-items: center; }
.team-ico svg { width: 22px; height: 22px; }
.teams-flow { position: relative; height: 26px; margin: 4px 8%; }
.teams-flow i { position: absolute; inset: 0; border: 2px dashed var(--blue-l); border-top: 0; border-radius: 0 0 14px 14px; }
.teams-flow::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 12px; height: 12px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: translateX(-50%) rotate(45deg); }
.teams-areas { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.teams-areas li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: .86rem; font-weight: 700; color: var(--ink); background: var(--sky); border-radius: 12px; padding: 14px 8px; }
.teams-areas svg { width: 22px; height: 22px; color: var(--blue-d); }
@media (max-width: 960px) { .teams-areas { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .teams-grid { grid-template-columns: 1fr; } .teams-areas { grid-template-columns: repeat(2, 1fr); } .teams { padding: 20px; } }

/* Línea temporal */
.timeline { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 1080px) { .timeline { grid-template-columns: repeat(3, 1fr); } }
.timeline li { border-top: 3px solid var(--blue-l); padding-top: 18px; }
.timeline li:last-child { border-color: var(--blue); }
.timeline b { font-size: 1.6rem; color: var(--ink); display: block; font-weight: 800; letter-spacing: -.02em; }
.timeline strong { display: block; color: var(--ink); margin: 2px 0 6px; }
.timeline span { color: var(--muted); font-size: .93rem; }

/* Contenido de texto */
.prose { max-width: none; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--text); }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.sticky { position: sticky; top: 100px; }
.callout { border-radius: var(--radius); padding: 22px 24px; background: var(--sky); color: var(--ink); }
.callout strong { display: block; margin-bottom: 4px; }
.note { font-size: .9rem; color: var(--muted); }
.kpi-row { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 28px; }
.kpi-row div b { font-size: 2.6rem; font-weight: 800; color: #fff; display: block; line-height: 1; letter-spacing: -.03em; }
.kpi-row div span { color: #B9C5E3; font-size: .9rem; }

/* Normas NIA */
.norms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.norm { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: #fff; }
.norm b { font-family: var(--mono); font-size: .78rem; color: var(--blue); font-weight: 500; display: block; margin-bottom: 6px; }
.norm span { font-size: .88rem; color: var(--muted); display: block; line-height: 1.45; }
.contacts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

/* CTA final */
.cta-band { background: var(--blue); color: #fff; border-radius: 22px; padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1.3fr auto; gap: 24px; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band .brk { color: #C9D9FF; }
.cta-band p { color: #E3EAFA; margin: 0; font-size: 1.08rem; }
.cta-band .btn { background: #fff; color: var(--ink); border-color: #fff; }
.cta-band .btn:hover { background: var(--sky); border-color: var(--sky); }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.cta-band .actions { margin: 0; justify-content: flex-end; }

/* Formulario */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: .9rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--text); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(61,104,200,.18); }
.form textarea { min-height: 140px; resize: vertical; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); font-weight: 500; }
.form .check input { width: auto; margin-top: 4px; }
.form-msg { grid-column: 1 / -1; padding: 14px 16px; border-radius: 10px; background: #E6F5F2; color: #0B5E53; display: none; }
.form-msg.show { display: block; }
.gdpr-box { border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; font-size: .8rem; color: var(--muted); background: var(--sky-2); }
.gdpr-box strong { display: block; color: var(--ink); font-size: .85rem; margin-bottom: 8px; }
.gdpr-box dl { display: grid; grid-template-columns: 120px 1fr; gap: 4px 12px; margin: 0; }
.gdpr-box dt { font-weight: 700; color: var(--text); }
.gdpr-box dd { margin: 0; }
@media (max-width: 640px) { .gdpr-box dl { grid-template-columns: 1fr; } .gdpr-box dd { margin-bottom: 6px; } }

/* Cabecera con botón grande (Soporte) */
.hero-split { display: grid; grid-template-columns: 1.3fr .9fr; gap: 40px; align-items: center; }
.portal-btn { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; background: var(--blue); color: #fff; text-decoration: none; border-radius: 20px; padding: 28px 28px; box-shadow: 0 20px 50px rgba(0,0,0,.25); transition: background .15s, transform .15s; }
.portal-btn:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }
.portal-icon { width: 60px; height: 60px; border-radius: 16px; background: rgba(255,255,255,.16); display: grid; place-items: center; }
.portal-btn:hover .portal-icon { background: var(--sky); color: var(--blue-d); }
.portal-icon svg { width: 30px; height: 30px; }
.portal-btn strong { display: block; font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.2; letter-spacing: -.01em; }
.portal-btn small { display: block; font-size: .92rem; opacity: .85; margin-top: 4px; }
.portal-arrow { font-size: 1.8rem; transition: transform .15s; }
.portal-btn:hover .portal-arrow { transform: translateX(4px); }
@media (max-width: 960px) { .hero-split { grid-template-columns: 1fr; gap: 28px; } }

/* Horario de soporte */
.hours { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px 28px; box-shadow: var(--shadow); }
.hours-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 8px 14px; margin-bottom: 20px; }
.hours-head h3 { margin: 0; font-size: 1.15rem; }
.hours-status { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; color: #B42318; background: #FDECEA; border: 1px solid #F6C9C4; padding: 5px 12px; border-radius: 999px; }
.hours-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #E5484D; }
.hours-status.is-open { color: #0B7A62; background: #E6F6F1; border-color: #BFE8DB; }
.hours-status.is-open::before { background: #13A97F; }
.hours-week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.hours-day { display: flex; flex-direction: column; gap: 6px; border-radius: 12px; padding: 14px 12px; background: var(--sky-2); border: 1px solid transparent; }
.hours-day.is-today { background: var(--sky); border-color: var(--blue-l); }
.hours-dayname { font-weight: 800; color: var(--ink); font-size: .95rem; margin-bottom: 4px; }
.hours-day.is-today .hours-dayname::after { content: " · hoy"; font-weight: 600; color: var(--blue-d); font-size: .8rem; }
.hours-slot { font-variant-numeric: tabular-nums; font-size: .95rem; color: var(--text); }
.hours-slot.is-empty { color: #A5AEC6; }
.hours-compact { padding: 20px; box-shadow: none; background: var(--sky-2); }
.hours-compact .hours-head { margin-bottom: 12px; }
.hours-compact .hours-head h3 { font-size: 1rem; }
.hours-compact dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: .93rem; }
.hours-compact dt { font-weight: 700; color: var(--ink); }
.hours-compact dd { margin: 0; color: var(--text); font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  .hours { padding: 20px; }
  .hours-week { grid-template-columns: 1fr; gap: 6px; }
  .hours-day { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 10px 14px; }
  .hours-dayname { width: 100px; margin: 0; }
  .hours-slot.is-empty { display: none; }
}

/* Pie */
.site-footer { background: #081645; color: #9FB0D8; padding: 64px 0 28px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h2 { color: #fff; font-size: .78rem; font-family: var(--mono); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #C9D6F0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-logo-row { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.footer-logo-row img { background: #fff; border-radius: 12px; padding: 6px; width: 64px; }
.footer-social { margin-top: 18px; }
.footer-li { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.07); color: #C9D6F0; transition: background .15s, color .15s; }
.footer-li:hover { background: #fff; color: #0A66C2; }
.footer-li svg { width: 18px; height: 18px; fill: currentColor; }
.footer-brand p { max-width: 320px; }
.footer-badge { background: #fff; border-radius: 10px; padding: 4px 6px; width: 200px; }
.social { display: flex !important; gap: 10px !important; margin-top: 20px !important; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.07); color: #C9D6F0; transition: background .15s, color .15s; }
.social a:hover { background: #fff; color: var(--ink); text-decoration: none; }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-contact { gap: 12px !important; }
.footer-map { display: inline-flex; gap: 12px; align-items: flex-start; line-height: 1.45; }
.footer-map svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: #8FB0F2; }
.footer-map svg.fill { fill: currentColor; }
.footer-map:hover svg { color: #fff; }
.booking-frame { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 6px 24px rgba(11,31,92,.08); }
.booking-frame iframe { display: block; width: 100%; height: 900px; border: 0; }
@media (max-width: 640px) { .booking-frame iframe { height: 1100px; } }
.booking-consent { padding: 32px; max-width: 760px; }
.booking-consent h2 { margin-top: 0; }
@media (max-width: 640px) { .booking-consent { padding: 22px; } }
.footer-seals { margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1); }
.seal-list { display: flex; flex-wrap: wrap; gap: 20px; }
.seal-card { width: 220px; height: 300px; background: #fff; border-radius: 10px; padding: 14px; text-align: center; box-shadow: 0 6px 18px rgba(0,0,0,.18); transition: transform .15s ease; }
.seal-card:hover { transform: translateY(-2px); }
.site-footer .seal-card a { color: #000; text-decoration: none; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.site-footer .seal-card a:hover { text-decoration: none; }
.seal-card img { display: block; max-width: 100%; height: auto; margin: 0 auto; }
.seal-card--image img { height: 100%; width: auto; }
.seal-card--wide img { width: 100%; height: auto; }
.seal-card img:first-child:not(:only-child) { max-height: 112px; width: auto; }
.seal-card .seal-text + img { max-height: 42px; width: auto; }
.seal-text { color: #000; margin: 8px 0; }
.seal-text--spaced { margin-top: 20px; }
.seal-gap { margin-top: 10px; }
.seal-cif { font-weight: bold; font-size: 16px; }
.seal-name { font-weight: bold; font-size: 12px; }
.seal-valid { font-size: 10px; }
/* Sellos fuera del pie (Nosotros): mismos sellos, en tamaño reducido */
.seal-list--sm { gap: 14px; }
.seal-list--sm .seal-card { zoom: .62; box-shadow: 0 4px 14px rgba(11,31,92,.12); border: 1px solid var(--line); }
.seal-list--sm .seal-card a { color: #000; text-decoration: none; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .84rem; }

/* Responsive */
@media (max-width: 1080px) {
  .levels, .steps-5 { grid-template-columns: repeat(3, 1fr); }
  .layers, .norms { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  /* backdrop-filter convertiría la cabecera en contenedor del menú fijo */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav-toggle { display: grid; gap: 5px; place-content: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
  .nav-toggle > span:not(.sr) { width: 20px; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 76px 0 0 0; background: #fff; overflow-y: auto; padding: 16px; display: none; border-top: 1px solid var(--line); }
  .site-nav.open { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav > ul > li > a { padding: 14px 8px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .has-menu > a::after { display: none; }
  .menu { position: static; transform: none; width: auto; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 6px 0 14px; grid-template-columns: 1fr; }
  .menu ul { grid-template-columns: 1fr; }
  .site-nav .nav-cta { margin: 16px 0 0; }
  .site-nav .nav-cta .btn { justify-content: center; width: 100%; }
  .hero-grid, .feature, .split, .cta-band { grid-template-columns: 1fr; }
  .cta-band .actions { justify-content: flex-start; }
  .grid-3, .plans, .people, .steps-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sticky { position: static; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand-text small { display: none; }
  .grid-2, .grid-3, .grid-4, .plans, .people, .levels, .steps-5, .steps-4, .steps-3, .layers, .norms, .contacts, .timeline, .form { grid-template-columns: 1fr; }
  .cols-2 { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .seal-list { justify-content: center; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .stats-float { margin-top: -32px; }
  .stat { padding: 20px 18px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
