/* =====================================================================
   Grupo Bomontec — styles.css
   Tokens · base · componentes · secciones · páginas · utilidades · responsive
   ===================================================================== */

/* ---------- Fuentes (servidas desde el propio dominio) ---------- */
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('../fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('../fonts/plus-jakarta-sans-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/IBMPlexMono-Regular.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/IBMPlexMono-Medium.woff2') format('woff2'); }

/* ---------- Tokens ---------- */
:root {
  --navy-950: #040914;
  --navy-900: #071226;
  --navy-800: #0b1b3a;
  --navy-700: #102850;
  --navy-600: #1a3a6e;
  --blue: #1f5fd1;
  --cyan: #2cc3ff;
  --orange: #ed7a00;
  --orange-2: #ff9a2e;
  --gold: #d59b43;
  --ink: #0f1b2d;
  --text: #22304a;
  --muted: #5b6b82;
  --line: #dfe6f0;
  --soft: #f4f7fb;
  --soft-2: #eaf0f8;
  --white: #fff;
  --green: #13964b;
  --red: #d9313f;
  --amber: #e5a100;
  --font: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --radius: 22px;
  --radius-2: 14px;
  --radius-3: 10px;
  --shadow: 0 24px 60px rgba(13, 35, 64, .14);
  --shadow-2: 0 10px 30px rgba(13, 35, 64, .10);
  --container: 1240px;
  --header-h: 80px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --grad: linear-gradient(135deg, var(--orange) 0%, var(--orange-2) 100%);
  --grad-text: linear-gradient(90deg, #ffb45c 0%, var(--orange) 60%, #ff7a1a 100%);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-size: 100%; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: var(--white); padding-top: var(--header-h); overflow-x: hidden; overflow-x: clip; -webkit-font-smoothing: antialiased; }
body.nav-open { overflow: hidden; }
img, svg, picture { max-width: 100%; display: block; }
[hidden] { display: none !important; }
html { overflow-x: hidden; }
.container, .grid > *, .brand-grid > *, .verbs > *, .packages > *, .tabs > *, .need-grid > *, .feature-grid > * { min-width: 0; }
img { height: auto; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy-700); }
h1, h2, h3, h4 { font-family: var(--font); color: var(--ink); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.1vw, 2.6rem); }
h3 { font-size: 1.3rem; }
h4, .h4 { font-size: 1.08rem; }
.h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.h4 { display: flex; align-items: center; gap: .5rem; }
.h4 .ico { color: var(--orange); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.note { font-size: .92rem; color: var(--muted); text-align: center; margin-top: 2rem; }
ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
code { font-family: var(--mono); font-size: .9em; background: var(--soft); padding: .1em .35em; border-radius: 6px; }
::selection { background: var(--orange); color: #fff; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--orange); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 1000; font-weight: 600; }
.skip-link:focus { top: 12px; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .9em 1.45em; border-radius: 999px; font-weight: 700; font-size: .98rem; line-height: 1; border: 1.5px solid transparent; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s, border-color .25s; white-space: nowrap; font-family: var(--font); }
.btn .btn-ico { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.btn:hover .btn-ico { transform: translateX(3px); }
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: .7em 1.1em; font-size: .9rem; }
.btn-lg { padding: 1.05em 1.8em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(237, 122, 0, .3); }
.btn-primary:hover { color: #fff; box-shadow: 0 14px 30px rgba(237, 122, 0, .4); }
.btn-secondary { background: var(--navy-700); color: #fff; }
.btn-secondary:hover { background: var(--navy-800); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy-700); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy-700); color: var(--navy-700); background: var(--soft); }
.btn-link { background: transparent; color: var(--navy-700); padding-left: .4em; padding-right: .4em; }
.btn-link:hover { color: var(--orange); transform: none; }
.btn-light { background: #fff; color: var(--navy-800); }
.btn-light:hover { color: var(--navy-900); box-shadow: 0 14px 30px rgba(0, 0, 0, .25); }
.btn-outline-light { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn-outline-light:hover { color: #fff; background: rgba(255, 255, 255, .14); border-color: #fff; }
.section-dark .btn-ghost, .section-navy .btn-ghost, .aside-card.dark .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }
.section-dark .btn-ghost:hover, .section-navy .btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.section-dark .btn-link, .section-navy .btn-link { color: #fff; }
.inline-link { display: inline-flex; align-items: center; gap: .35em; font-weight: 700; color: var(--navy-700); }
.inline-link .ico { width: 1em; height: 1em; transition: transform .2s; }
.inline-link:hover .ico { transform: translateX(3px); }
.section-dark .inline-link, .section-navy .inline-link, .card.dark .inline-link { color: #ffb45c; }

/* ---------- Etiquetas, chips, pills ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .6em; font-family: var(--mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--navy-700); font-weight: 500; margin: 0 0 .9rem; }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(237, 122, 0, .18); }
.eyebrow.light { color: rgba(255, 255, 255, .8); }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.chip { display: inline-flex; align-items: center; gap: .4em; padding: .42em .85em; border-radius: 999px; font-size: .86rem; font-weight: 600; background: var(--soft); color: var(--navy-800); border: 1px solid var(--line); line-height: 1.2; }
.chip .ico { width: 1em; height: 1em; color: var(--orange); }
.chip.orange { background: rgba(237, 122, 0, .1); border-color: rgba(237, 122, 0, .3); color: #a65400; }
a.chip:hover { border-color: var(--orange); color: var(--orange); }
.chip-row.small .chip { font-size: .78rem; padding: .32em .7em; }
.chip-row.light .chip, .section-dark .chip, .section-navy .chip, .card.dark .chip, .brand-card .chip, .product-card .chip, .aside-card.dark .chip { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #e9eff8; }
.pill { display: inline-flex; align-items: center; padding: .25em .7em; border-radius: 999px; font-size: .78rem; font-weight: 700; font-family: var(--mono); letter-spacing: .04em; }
.pill-soon { background: rgba(213, 155, 67, .18); color: #9a6a16; border: 1px solid rgba(213, 155, 67, .4); }
.product-card .pill-soon, .product-hero .pill-soon { color: #ffd38f; }
.pill-nuevo { background: rgba(31, 95, 209, .12); color: var(--blue); }
.pill-en_curso { background: rgba(229, 161, 0, .15); color: #8a6100; }
.pill-cerrado { background: rgba(19, 150, 75, .12); color: var(--green); }
.card-meta { display: inline-flex; align-items: center; gap: .4em; font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.card-meta .ico { width: 1em; height: 1em; color: var(--orange); }
.icon-box { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 14px; background: var(--navy-700); color: #fff; flex: none; }
.icon-box .ico { width: 24px; height: 24px; }
.icon-box.orange { background: var(--grad); color: #fff; box-shadow: 0 8px 18px rgba(237, 122, 0, .25); }
.icon-box.big { width: 76px; height: 76px; border-radius: 22px; }
.icon-box.big .ico { width: 36px; height: 36px; }
.section-dark .icon-box, .section-navy .icon-box, .card.dark .icon-box, .brand-card .icon-box, .product-card .icon-box, .aside-card.dark .icon-box { background: rgba(255, 255, 255, .1); color: #fff; }

/* ---------- Cabecera ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 900; height: var(--header-h); background: linear-gradient(180deg, var(--navy-950), var(--navy-900)); border-bottom: 1px solid rgba(255, 255, 255, .08); }
/* Sombra al hacer scroll: solo cambia la opacidad de una capa, sin mover ni redimensionar la cabecera */
.site-header::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 28px; background: linear-gradient(180deg, rgba(4, 9, 20, .32), rgba(4, 9, 20, 0)); opacity: 0; transition: opacity .4s var(--ease); pointer-events: none; }
.site-header.scrolled::after { opacity: 1; }
.scroll-progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: transparent; }
.scroll-progress span { display: block; height: 100%; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left center; will-change: transform; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; height: 100%; flex: none; }
.brand picture { display: block; flex: none; }
.brand img { width: auto; height: 42px; max-width: none; flex: none; }
.main-nav { min-width: 0; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), 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); }
.main-nav { display: flex; align-items: center; gap: 18px; height: 100%; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; height: 100%; }
.nav-item { position: relative; height: 100%; display: flex; align-items: center; }
.nav-link { display: inline-flex; align-items: center; gap: .3em; padding: .55em .85em; border-radius: 10px; color: rgba(255, 255, 255, .86); font-weight: 600; font-size: .95rem; transition: background .2s, color .2s; }
.nav-link:hover, .nav-item.open > .nav-link, .nav-item.active > .nav-link { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-item.active > .nav-link::after { content: ''; position: absolute; left: 50%; bottom: -1px; transform: translateX(-50%); width: 24px; height: 3px; border-radius: 3px; background: var(--orange); }
.nav-caret { width: .9em; height: .9em; opacity: .7; transition: transform .25s; }
.nav-item.open .nav-caret { transform: rotate(180deg); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { display: inline-flex; align-items: center; gap: .4em; color: rgba(255, 255, 255, .8); font-weight: 600; font-size: .9rem; font-family: var(--mono); white-space: nowrap; }
@media (min-width: 1081px) and (max-width: 1699px) { .nav-phone { display: none; } }
/* Menú principal con siete entradas: espaciado más compacto en anchos medios */
@media (min-width: 1081px) and (max-width: 1699px) { .main-nav { gap: 6px; } .nav-link { padding: .55em .6em; font-size: .92rem; } .header-inner { gap: 16px; } .nav-cta { gap: 10px; } }
@media (min-width: 1081px) and (max-width: 1279px) { .nav-cta > .btn-primary { display: none; } }
.nav-phone:hover { color: #fff; }
.nav-phone .ico { width: 1em; height: 1em; color: var(--orange); }
/* Mega menús */
.mega { position: absolute; top: calc(100% - 6px); left: 50%; transform: translateX(-50%) translateY(10px); min-width: 320px; background: #fff; border-radius: 18px; box-shadow: 0 30px 80px rgba(4, 9, 20, .35); border: 1px solid var(--line); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s .22s; z-index: 950; }
.nav-item.open > .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); transition-delay: 0s; }
.mega::before { content: ''; position: absolute; left: 50%; top: -7px; width: 14px; height: 14px; background: #fff; border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: translateX(-50%) rotate(45deg); }
.mega-inner { padding: 14px; }
.mega-simple { display: grid; gap: 4px; width: 340px; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr 260px; gap: 10px; width: min(900px, calc(100vw - 48px)); }
.mega-col { display: flex; flex-direction: column; gap: 2px; }
.mega-title { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 10px 12px 6px; }
.mega-link { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--ink); transition: background .2s; }
.mega-link:hover { background: var(--soft); color: var(--ink); }
.mega-link .icon-box { width: 40px; height: 40px; border-radius: 11px; background: var(--soft-2); color: var(--navy-700); }
.mega-link .icon-box .ico { width: 20px; height: 20px; }
.mega-link:hover .icon-box { background: var(--navy-700); color: #fff; }
.mega-link strong { display: block; font-size: .95rem; line-height: 1.25; }
.mega-link small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.3; margin-top: 2px; }
.mega-link.compact { padding: 7px 12px; }
.mega-aside { background: var(--navy-800); border-radius: 14px; padding: 20px; color: #fff; display: flex; flex-direction: column; gap: 10px; }
.mega-aside .eyebrow { color: rgba(255, 255, 255, .8); margin-bottom: .2rem; }
.mega-aside p { font-size: .9rem; color: rgba(255, 255, 255, .8); margin-bottom: 6px; }
.mega-aside .btn { align-self: flex-start; }
.mega-aside .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }

/* ---------- Fondos decorativos ---------- */
.hero-mesh { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-mesh span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.hero-mesh .m1 { width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; left: -12%; top: -30%; background: radial-gradient(circle, rgba(31, 95, 209, .75), transparent 65%); animation: drift 22s ease-in-out infinite alternate; }
.hero-mesh .m2 { width: 48vw; height: 48vw; max-width: 620px; max-height: 620px; right: -10%; bottom: -30%; background: radial-gradient(circle, rgba(237, 122, 0, .55), transparent 65%); animation: drift 26s ease-in-out infinite alternate-reverse; }
.hero-mesh .m3 { width: 36vw; height: 36vw; max-width: 460px; max-height: 460px; left: 40%; top: 40%; background: radial-gradient(circle, rgba(44, 195, 255, .35), transparent 65%); animation: drift 30s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(6%, 8%, 0) scale(1.12); } }
.grid-overlay { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }

.net-overlay { position: absolute; inset: 0; pointer-events: none; background: url('../img/svg/bg-network.svg') center / cover no-repeat; opacity: .5; -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); }
.section-navy { background-image: url('../img/svg/bg-topo-dark.svg'), linear-gradient(160deg, var(--navy-700), var(--navy-800) 60%, var(--navy-900)); background-size: 1600px 1000px, auto; background-position: center top, 0 0; }
.section-soft { background-image: url('../img/svg/bg-topo-light.svg'); background-size: 1600px 1000px; background-position: center top; }
.cta-band { background-image: url('../img/svg/bg-topo-dark.svg'); background-size: 1600px 1000px; background-position: center; }
.svg-layers { width: 100%; max-width: 540px; height: auto; display: block; margin: 0 auto; filter: drop-shadow(0 20px 40px rgba(4, 9, 20, .35)); }
.svg-flow { width: 100%; height: auto; display: block; border-radius: 20px; box-shadow: var(--shadow-2); }
.verbs-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: center; }
.verbs-layout .verbs { grid-template-columns: repeat(2, 1fr); }
.figure-photo { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.figure-photo img { width: 100%; height: 100%; object-fit: cover; }
.world-map { position: relative; width: 100%; max-width: 1100px; margin: 0 auto; }
.world-map > img { width: 100%; height: auto; opacity: .75; }
.world-map .wm-marker { position: absolute; transform: translate(-50%, -50%); width: 10px; height: 10px; }
.world-map .wm-marker i { position: absolute; inset: 0; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 3px rgba(237, 122, 0, .25); }
.world-map .wm-marker i::after { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 1.5px solid rgba(255, 154, 46, .8); animation: ripple 2.6s ease-out infinite; animation-delay: var(--d, 0s); }
.world-map .wm-marker span { position: absolute; left: 14px; top: -4px; white-space: nowrap; font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .8); }
.world-map .wm-marker.hq i { background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .25), 0 0 20px rgba(255, 180, 92, .8); }
.world-map .wm-marker.left span { left: auto; right: 14px; }
.world-map .wm-region { position: absolute; transform: translate(-50%, -50%); font-family: var(--mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 180, 92, .9); pointer-events: none; }
@keyframes ripple { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.wm-legend { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 28px 0 0; padding: 0; }
.wm-legend li { list-style: none; padding: 16px 18px; border-radius: var(--radius-2); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.wm-legend strong { display: block; color: #fff; margin-bottom: 2px; }
.wm-legend span { font-size: .88rem; color: rgba(255, 255, 255, .7); }
.area-photo { width: 320px; aspect-ratio: 16 / 10; border-radius: var(--radius-2); overflow: hidden; position: relative; flex: none; box-shadow: var(--shadow-2); }
.area-photo img { width: 100%; height: 100%; object-fit: cover; }
.area-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(7, 18, 38, .6)); }
.area-head-side { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; flex: none; }
.logo-light { background: #fff; padding: 10px 16px; border-radius: 12px; display: inline-flex; }
.diagram-wrap { margin: 28px 0 8px; }

/* ---------- Hero (portada) ---------- */
.hero { position: relative; background: var(--navy-900); color: #fff; min-height: min(calc(100vh - var(--header-h)), 880px); display: flex; align-items: center; overflow: hidden; padding: 72px 0 96px; isolation: isolate; }
.hero-photo { position: absolute; inset: 0; z-index: -2; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 18, 38, .97) 0%, rgba(7, 18, 38, .78) 45%, rgba(7, 18, 38, .55) 100%), linear-gradient(180deg, rgba(7, 18, 38, .2) 0%, transparent 40%, var(--navy-900) 100%); }
.hero .hero-mesh { z-index: -1; }
.hero .grid-overlay { z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; position: relative; }
.hero h1 { color: #fff; margin-bottom: 1.1rem; max-width: 13ch; }
.hero .lead { color: rgba(255, 255, 255, .78); max-width: 56ch; margin-bottom: 2rem; }
.hero-badge { display: inline-flex; align-items: center; gap: .6em; padding: .45em .95em .45em .6em; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .9); margin-bottom: 1.4rem; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(237, 122, 0, .6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(237, 122, 0, .6); } 70% { box-shadow: 0 0 0 10px rgba(237, 122, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(237, 122, 0, 0); } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4rem; }
.hero-claims { list-style: none; margin: 2.2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.hero-claims li { display: inline-flex; align-items: center; gap: .5em; font-size: .95rem; color: rgba(255, 255, 255, .85); font-weight: 600; }
.hero-claims .ico { width: 1.1em; height: 1.1em; color: var(--orange); }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .35); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--orange); animation: cue 1.8s infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
/* Órbita */
.hero-visual { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.orbit { position: relative; width: min(440px, 80vw); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.orbit .ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14); inset: 0; }
.orbit .r2 { inset: 17%; border-style: dashed; animation: spin 60s linear infinite; }
.orbit .r3 { inset: 34%; border-color: rgba(255, 255, 255, .22); }
.orbit .sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(237, 122, 0, .0) 0deg, rgba(237, 122, 0, .28) 60deg, transparent 62deg); animation: spin 7s linear infinite; -webkit-mask-image: radial-gradient(circle, transparent 30%, #000 31%); mask-image: radial-gradient(circle, transparent 30%, #000 31%); }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit-core { position: relative; width: 36%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .25); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; box-shadow: 0 0 60px rgba(237, 122, 0, .2), inset 0 0 30px rgba(31, 95, 209, .25); }
.orbit-core .ico { width: 34px; height: 34px; color: var(--orange); }
.orbit .node { position: absolute; display: inline-flex; align-items: center; gap: .45em; padding: .42em .8em .42em .5em; border-radius: 999px; background: rgba(7, 18, 38, .85); border: 1px solid rgba(255, 255, 255, .22); font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; color: #fff; backdrop-filter: blur(6px); white-space: nowrap; animation: float 6s ease-in-out infinite; }
.orbit .node i { display: inline-flex; width: 24px; height: 24px; border-radius: 50%; background: var(--grad); align-items: center; justify-content: center; }
.orbit .node i .ico { width: 14px; height: 14px; }
.orbit .n1 { left: 50%; top: -4%; transform: translateX(-50%); animation-delay: 0s; }
.orbit .n2 { right: -6%; top: 30%; animation-delay: -1.2s; }
.orbit .n3 { right: 2%; bottom: 8%; animation-delay: -2.4s; }
.orbit .n4 { left: 0; bottom: 10%; animation-delay: -3.6s; }
.orbit .n5 { left: -6%; top: 30%; animation-delay: -4.8s; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.hero-panel { width: min(440px, 80vw); display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(10px); }
.hero-pillar { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 14px 8px 12px; border-radius: 12px; background: rgba(7, 18, 38, .5); position: relative; }
.hero-pillar .icon-box { width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, .1); }
.hero-pillar .icon-box .ico { width: 18px; height: 18px; }
.hero-pillar strong { display: block; font-size: .85rem; color: #fff; line-height: 1.2; }
.hero-pillar small { display: block; font-size: .7rem; color: rgba(255, 255, 255, .65); line-height: 1.2; }
.led { position: absolute; top: 8px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: blink 2.6s infinite; }
.led-1 { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); animation-delay: -.8s; }
.led-2 { background: var(--orange); box-shadow: 0 0 8px var(--orange); animation-delay: -1.6s; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
/* Titular por palabras */
.words.ready .w { display: inline-block; opacity: 0; transform: translateY(.6em) rotate(2deg); animation: wordIn .7s var(--ease) forwards; animation-delay: calc(var(--i) * 60ms + 80ms); }
@keyframes wordIn { to { opacity: 1; transform: none; } }

/* ---------- Franja de marcas ---------- */
.brand-strip { background: var(--navy-950); color: #fff; border-top: 1px solid rgba(255, 255, 255, .06); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.brand-strip-inner { display: flex; align-items: center; gap: 32px; padding: 22px 0; }
.brand-strip-label { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); white-space: nowrap; }
.brand-strip-logos { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex: 1; flex-wrap: wrap; }
.brand-strip-logos a { display: flex; flex-direction: column; align-items: center; gap: 4px; opacity: .78; transition: opacity .2s, transform .2s; }
.brand-strip-logos a:hover { opacity: 1; transform: translateY(-2px); }
.brand-strip-logos img { height: 34px; width: auto; }
.brand-strip-logos a[title="Blindium"] img { height: 46px; }
.brand-strip-logos a[title="Bomonsis Cybersecurity"] img { height: 44px; }
.brand-strip-sds img { height: 22px !important; filter: brightness(0) invert(1); }
.brand-strip-logos small { font-family: var(--mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.brand-strip-neo span { font-family: var(--mono); font-size: 1.6rem; font-weight: 500; letter-spacing: .1em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }

/* ---------- Secciones ---------- */
.section { position: relative; padding: clamp(72px, 9vw, 112px) 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--navy-900); color: rgba(255, 255, 255, .85); overflow: hidden; }
.section-navy { background: linear-gradient(160deg, var(--navy-700), var(--navy-800) 60%, var(--navy-900)); color: rgba(255, 255, 255, .88); overflow: hidden; }
.section-dark h2, .section-dark h3, .section-navy h2, .section-navy h3, .section-dark h1, .section-navy h1 { color: #fff; }
.section-dark .lead, .section-navy .lead, .section-dark .section-head p, .section-navy .section-head p { color: rgba(255, 255, 255, .72); }
.section-dark .muted, .section-navy .muted { color: rgba(255, 255, 255, .6); }
.section-dark .eyebrow, .section-navy .eyebrow { color: rgba(255, 255, 255, .8); }
.section-dark .card-meta, .section-navy .card-meta { color: rgba(255, 255, 255, .6); }
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head.left, .section-head.stack { text-align: left; margin-left: 0; }
.section-head h2 { margin-bottom: .6rem; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-head .lead { margin-top: .5rem; }
.section-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.section-head.stack .btn { margin-top: 1rem; }

/* ---------- Grids y tarjetas ---------- */
.grid { display: grid; gap: 22px; }
.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 { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; overflow: hidden; color: var(--text); }
.card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(237, 122, 0, .08), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover::before { opacity: 1; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(237, 122, 0, .35); }
.card h3 { margin: .2rem 0 0; }
.card p { color: var(--muted); font-size: .97rem; margin: 0; }
.card.plain { gap: 10px; }
.card.plain:hover { transform: none; box-shadow: none; border-color: var(--line); }
.card.plain::before { display: none; }
.card-arrow { position: absolute; right: 22px; top: 22px; width: 36px; height: 36px; border-radius: 50%; background: var(--soft); color: var(--navy-700); display: inline-flex; align-items: center; justify-content: center; transition: background .2s, color .2s, transform .3s var(--ease); }
.card-arrow .ico { width: 18px; height: 18px; }
.card:hover .card-arrow { background: var(--orange); color: #fff; transform: translate(2px, -2px); }
.card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.section-dark .card, .section-navy .card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .85); }
.section-dark .card p, .section-navy .card p { color: rgba(255, 255, 255, .7); }
.section-dark .card:hover, .section-navy .card:hover { border-color: rgba(255, 180, 92, .5); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.section-dark .card-arrow, .section-navy .card-arrow { background: rgba(255, 255, 255, .1); color: #fff; }
a.card { cursor: pointer; }
.value-card h3 { font-size: 1.15rem; }
.link-card { padding-right: 70px; }
.service-card { flex-direction: row; align-items: flex-start; gap: 16px; padding: 22px 60px 22px 22px; }
.service-card .card-body { display: flex; flex-direction: column; gap: 6px; }
.service-card h3 { font-size: 1.05rem; margin: 0; }
.service-card p { font-size: .92rem; }
.service-card .icon-box { width: 46px; height: 46px; border-radius: 12px; background: var(--soft-2); color: var(--navy-700); transition: background .2s, color .2s; }
.service-card:hover .icon-box { background: var(--grad); color: #fff; }
.service-card .card-arrow { top: 50%; transform: translateY(-50%); }
.service-card:hover .card-arrow { transform: translateY(-50%) translateX(2px); }
.sector-card { padding-right: 70px; }
.sector-card .icon-box { background: var(--soft-2); color: var(--navy-700); transition: background .2s, color .2s; }
.sector-card:hover .icon-box { background: var(--navy-700); color: #fff; }
.sector-card h3 { font-size: 1.1rem; }

/* Ecosistema de marcas */
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.brand-grid .brand-card:nth-child(4), .brand-grid .brand-card:nth-child(5) { grid-column: span 1; }
.brand-card { position: relative; background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: rgba(255, 255, 255, .85); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.brand-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(237, 122, 0, .18), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.brand-card:hover::before { opacity: 1; }
.brand-card:hover { transform: translateY(-5px); box-shadow: 0 24px 60px rgba(4, 9, 20, .4); border-color: rgba(255, 180, 92, .45); }
.brand-card h3 { color: #fff; margin: 0; font-size: 1.2rem; }
.brand-card p { color: rgba(255, 255, 255, .7); font-size: .95rem; margin: 0; }
.brand-card .card-meta { color: #ffb45c; }
.brand-logo { height: 64px; display: flex; align-items: center; margin-bottom: 6px; }
.brand-logo img { max-height: 64px; width: auto; max-width: 220px; }
.brand-card[data-brand="sds"] .brand-logo img { max-height: 26px; filter: brightness(0) invert(1); }
.brand-card[data-brand="tecnologias"] .brand-logo img { max-height: 52px; }
.brand-wordmark { font-family: var(--mono); font-size: 2.4rem; letter-spacing: .08em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.brand-card .chip-row { margin: 4px 0 6px; }
.brand-card .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }
.brand-card .btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.brand-card .btn-link { color: #ffb45c; }

/* Verbos */
.verbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.verb { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 28px 28px 28px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.verb::before { content: ''; position: absolute; inset: 0; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(31, 95, 209, .08), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.verb:hover::before { opacity: 1; }
.verb:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.verb-num { position: absolute; right: 22px; top: 18px; font-family: var(--mono); font-size: 2.2rem; font-weight: 500; color: var(--soft-2); line-height: 1; }
.verb h3 { margin: 6px 0 0; }
.verb p { color: var(--muted); font-size: .97rem; margin: 0; }

/* Problema */
.problem-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.problem-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.problem-list li { display: flex; align-items: flex-start; gap: 14px; padding: 18px; border-radius: var(--radius-2); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); font-size: .95rem; line-height: 1.45; transition: background .2s, border-color .2s; }
.problem-list li:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 180, 92, .4); }
.problem-list .icon-box { width: 42px; height: 42px; border-radius: 11px; }
.problem-list .icon-box .ico { width: 20px; height: 20px; }

/* Cifras */
.section-stats { padding: 64px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { padding: 26px; border-radius: var(--radius-2); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.stat-value { font-family: var(--mono); font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 500; color: #fff; line-height: 1; display: flex; align-items: baseline; gap: 2px; }
.stat-suffix { color: var(--orange); }
.stat-label { display: block; margin-top: 8px; color: rgba(255, 255, 255, .7); font-size: .92rem; }

/* Pestañas */
.tabs { display: grid; gap: 22px; }
.tab-list { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 100%; }
.tab { display: inline-flex; align-items: center; gap: .5em; padding: .7em 1.05em; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy-800); font-weight: 600; font-size: .9rem; cursor: pointer; font-family: var(--font); transition: background .2s, color .2s, border-color .2s, transform .2s; }
.tab .ico { width: 1.1em; height: 1.1em; color: var(--orange); }
.tab:hover { border-color: var(--navy-700); transform: translateY(-1px); }
.tab.active { background: var(--navy-700); color: #fff; border-color: var(--navy-700); }
.tab.active .ico { color: #ffb45c; }
.tab-panel { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-2); animation: fadeIn .35s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tab-panel-inner { display: grid; grid-template-columns: 1fr 1.6fr; }
.tab-intro { padding: 36px; background: linear-gradient(160deg, var(--soft), #fff); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; border-radius: var(--radius) 0 0 var(--radius); }
.tab-intro h3 { margin: 10px 0 0; font-size: 1.35rem; }
.tab-intro p { color: var(--muted); margin: 0; }
.tab-intro .hero-actions { margin-top: 10px; }
.service-list { list-style: none; margin: 0; padding: 14px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.service-list a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; color: var(--ink); transition: background .2s; }
.service-list a:hover { background: var(--soft); }
.service-list a > .ico { width: 22px; height: 22px; color: var(--navy-700); }
.service-list strong { display: block; font-size: .95rem; line-height: 1.25; }
.service-list small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.3; }
.service-list .arrow { margin-left: auto; width: 16px; height: 16px; color: var(--orange); opacity: 0; transition: opacity .2s, transform .2s; }
.service-list a:hover .arrow { opacity: 1; transform: translateX(2px); }

/* Productos */
.product-card { background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: rgba(255, 255, 255, .85); border-color: rgba(255, 255, 255, .1); }
.product-card h3 { color: #fff; font-size: 1.25rem; display: flex; flex-direction: column; gap: 2px; }
.product-card h3 small { font-size: .8rem; font-weight: 500; color: rgba(255, 255, 255, .6); }
.product-card p { color: rgba(255, 255, 255, .72); }
.product-card .card-meta { color: #ffb45c; }
.product-card:hover { border-color: rgba(255, 180, 92, .5); box-shadow: 0 24px 60px rgba(4, 9, 20, .4); }
.product-card .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }
.product-card .btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.product-card .btn-link { color: #ffb45c; }
.product-logo { height: 70px; display: flex; align-items: center; }
.product-logo img { max-height: 64px; width: auto; max-width: 230px; }
.product-card.cat-mobility .product-logo img[alt="Samsung SDS EMM On-Prem"] { max-height: 26px; filter: brightness(0) invert(1); }
.product-wordmark { font-family: var(--mono); font-weight: 500; font-size: 1.6rem; letter-spacing: .04em; color: #fff; }
.product-wordmark.big { font-size: 2.6rem; }
.product-rows { display: grid; gap: 16px; }
.product-row { display: grid; grid-template-columns: 220px 1fr auto; gap: 28px; align-items: center; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.product-row:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: rgba(237, 122, 0, .35); }
.product-row-logo { background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); border-radius: var(--radius-2); padding: 20px; display: flex; align-items: center; justify-content: center; min-height: 120px; }
.product-row-logo img { max-height: 70px; width: auto; max-width: 180px; }
.product-row-logo img[alt="Samsung SDS EMM On-Prem"] { max-height: 24px; filter: brightness(0) invert(1); }
.product-row-body h3 { margin: 4px 0 6px; }
.product-row-body p { color: var(--muted); font-size: .95rem; margin: 0; }
.product-row-body .chip-row { margin: 10px 0 0; }
.product-row-actions { display: flex; flex-direction: column; gap: 8px; }
.product-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.product-hero-logo { display: flex; align-items: center; justify-content: center; padding: 40px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(8px); }
.product-hero-logo img { max-height: 160px; width: auto; max-width: 100%; }
.product-hero-logo img[alt="Samsung SDS EMM On-Prem"] { max-height: 40px; filter: brightness(0) invert(1); }
.product-kind { font-family: var(--mono); font-size: .85rem; letter-spacing: .06em; color: rgba(255, 255, 255, .75); margin: -.4rem 0 .9rem; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.feature { display: flex; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-2); background: #fff; transition: border-color .2s, box-shadow .2s; }
.feature:hover { border-color: rgba(237, 122, 0, .4); box-shadow: var(--shadow-2); }
.feature .icon-box { width: 42px; height: 42px; border-radius: 11px; background: var(--soft-2); color: var(--navy-700); }
.feature .icon-box .ico { width: 20px; height: 20px; }
.feature strong { display: block; margin-bottom: 4px; color: var(--ink); }
.feature p { font-size: .9rem; color: var(--muted); margin: 0; }
.benefit { flex-direction: row; align-items: flex-start; }
.benefit-ico { width: 26px; height: 26px; color: var(--green); flex: none; margin-top: 2px; }
.benefit strong { color: var(--ink); display: block; margin-bottom: 2px; }
.plan-card h4 { margin: 8px 0 4px; font-size: 1.3rem; }
.plan-card.featured { border-color: var(--orange); box-shadow: var(--shadow-2); }
.package-tag { display: inline-flex; align-self: flex-start; padding: .3em .75em; border-radius: 999px; background: rgba(237, 122, 0, .12); color: #a65400; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; }

/* Paquetes */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.package-card { padding: 30px; }
.package-card h3 { font-size: 1.45rem; margin: 10px 0 0; }
.package-sub { color: var(--navy-700) !important; font-weight: 600; }
.package-mode { display: flex; align-items: center; gap: .4em; font-family: var(--mono); font-size: .8rem; color: var(--muted) !important; }
.package-mode .ico { width: 1em; height: 1em; color: var(--orange); }
.package-for { font-size: .95rem; }
.package-card .checklist { margin: 6px 0 10px; }
.package-card.featured { background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: rgba(255, 255, 255, .85); border-color: transparent; box-shadow: var(--shadow); }
.package-card.featured h3 { color: #fff; }
.package-card.featured p, .package-card.featured .package-sub, .package-card.featured .package-mode { color: rgba(255, 255, 255, .8) !important; }
.package-card.featured .package-tag { background: var(--grad); color: #fff; }
.package-card.featured .checklist li { color: rgba(255, 255, 255, .85); }
.package-card.featured .checklist .ico { color: #ffb45c; }

/* Listas */
.checklist { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 10px; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; font-size: .97rem; line-height: 1.5; }
.checklist .ico { width: 20px; height: 20px; color: var(--green); flex: none; margin-top: 2px; }
.checklist.two-col { grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
.dot-list { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; font-size: .95rem; }
.dot-list li::marker { color: var(--orange); }
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.steps-list li { display: flex; gap: 12px; counter-increment: s; }
.steps-list li::before { content: counter(s, decimal-leading-zero); font-family: var(--mono); color: var(--orange); font-weight: 500; flex: none; }
.steps-list strong { display: block; font-size: .95rem; color: var(--ink); }
.steps-list span { display: block; font-size: .88rem; color: var(--muted); }
.mini-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: m; }
.mini-steps li { display: grid; grid-template-columns: 36px 1fr; gap: 0 12px; counter-increment: m; padding: 12px 14px; border-radius: 12px; background: var(--soft); }
.mini-steps li::before { content: counter(m, decimal-leading-zero); font-family: var(--mono); color: var(--orange); font-weight: 500; grid-row: span 2; align-self: center; font-size: 1.1rem; }
.mini-steps strong { color: var(--ink); font-size: .95rem; }
.mini-steps span { color: var(--muted); font-size: .88rem; }
.aside-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.aside-links a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--ink); transition: background .2s; }
.aside-links a:hover { background: var(--soft); }
.aside-links a > .ico { width: 20px; height: 20px; color: var(--navy-700); }
.aside-links strong { display: block; font-size: .92rem; line-height: 1.25; }
.aside-links small { display: block; color: var(--muted); font-size: .78rem; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .95rem; }
.contact-list .ico { width: 20px; height: 20px; color: var(--orange); flex: none; margin-top: 2px; }
.intl-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 10px; }
.intl-list li { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.intl-list strong { color: var(--ink); }
.intl-list span { color: var(--muted); }
.intl-list.light li { border-color: rgba(255, 255, 255, .15); }
.intl-list.light strong { color: #fff; }
.intl-list.light span { color: rgba(255, 255, 255, .75); }
.intl-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-2); }

/* Metodología */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; position: relative; }
.steps::before { content: ''; position: absolute; left: 4%; right: 4%; top: 34px; height: 2px; background: linear-gradient(90deg, transparent, var(--orange), transparent); opacity: .5; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-2); padding: 22px 18px; display: flex; flex-direction: column; gap: 6px; transition: transform .3s var(--ease), box-shadow .3s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--grad); color: #fff; font-family: var(--mono); font-weight: 500; font-size: .95rem; box-shadow: 0 8px 18px rgba(237, 122, 0, .3); margin-bottom: 6px; }
.step h3 { font-size: 1.05rem; margin: 0; }
.step p { color: var(--muted); font-size: .88rem; margin: 0; }
.section-navy .step { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); }
.section-navy .step h3 { color: #fff; }
.section-navy .step p { color: rgba(255, 255, 255, .7); }

/* Marquesina */
.section-frameworks { padding-bottom: 72px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: .5em; padding: .75em 1.2em; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); color: #fff; font-family: var(--mono); font-size: .9rem; white-space: nowrap; }
.marquee-item .ico { width: 1.1em; height: 1.1em; color: var(--orange); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Casos */
.cases { display: grid; gap: 12px; }
.case { display: grid; grid-template-columns: 48px 50px 1fr 24px; gap: 18px; align-items: center; padding: 22px 26px; border: 1px solid var(--line); border-radius: var(--radius-2); background: #fff; color: var(--text); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.case:hover { transform: translateX(6px); box-shadow: var(--shadow-2); border-color: rgba(237, 122, 0, .4); }
.case-num { font-family: var(--mono); color: var(--orange); font-size: 1.1rem; }
.case .icon-box { background: var(--soft-2); color: var(--navy-700); }
.case h3 { font-size: 1.1rem; margin: 0 0 2px; }
.case p { margin: 0; color: var(--ink); font-size: .95rem; }
.case small { display: block; color: var(--muted); font-size: .85rem; margin-top: 4px; }
.case .arrow { color: var(--orange); }
.section-dark .case { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .85); }
.section-dark .case h3 { color: #fff; }
.section-dark .case p { color: rgba(255, 255, 255, .85); }
.section-dark .case small { color: rgba(255, 255, 255, .6); }
.section-dark .case .icon-box { background: rgba(255, 255, 255, .1); color: #fff; }

/* Bandas con fotografía */
.band { position: relative; color: #fff; padding: clamp(80px, 10vw, 130px) 0; overflow: hidden; background: var(--navy-900); isolation: isolate; }
.band-media { position: absolute; inset: 0; z-index: -1; }
.band-media img { width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.band-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 18, 38, .96) 0%, rgba(7, 18, 38, .8) 50%, rgba(7, 18, 38, .45) 100%); }
.band-inner { max-width: 640px; }
.band h2 { color: #fff; }
.band .lead { color: rgba(255, 255, 255, .8); }
.band-list { list-style: none; margin: 1.4rem 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px; }
.band-list li { display: flex; align-items: center; gap: .5em; font-size: .95rem; color: rgba(255, 255, 255, .9); }
.band-list .ico { width: 1.1em; height: 1.1em; color: var(--orange); flex: none; }

/* Split y layouts */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-grid.tight { gap: 22px; align-items: stretch; }
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-2); background: #fff; overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 700; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ico { width: 22px; height: 22px; color: var(--orange); transition: transform .3s var(--ease); flex: none; }
.faq-item[open] .faq-ico { transform: rotate(45deg); }
.faq-body { padding: 0 22px 20px; color: var(--muted); font-size: .97rem; }
.faq-item[open] { border-color: rgba(237, 122, 0, .4); box-shadow: var(--shadow-2); }

/* Subnavegación pegajosa */
.subnav { position: sticky; top: var(--header-h); z-index: 800; background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); transition: top .3s var(--ease); }
.subnav-inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-top: 8px; padding-bottom: 8px; }
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav a { display: inline-flex; align-items: center; gap: .4em; padding: .55em .9em; border-radius: 999px; font-size: .86rem; font-weight: 600; color: var(--navy-800); white-space: nowrap; transition: background .2s, color .2s; }
.subnav a .ico { width: 1em; height: 1em; color: var(--orange); }
.subnav a:hover, .subnav a.active { background: var(--navy-700); color: #fff; }
.subnav a.active .ico { color: #ffb45c; }

/* Cabeceras de área y de sector */
.area-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 36px; }
.area-head-main { display: flex; gap: 20px; align-items: flex-start; }
.area-head-main .eyebrow { margin-bottom: .4rem; }
.area-head-main h2 { margin-bottom: .4rem; }
.area-head-main .lead { margin-bottom: .6rem; max-width: 60ch; }
.area-num { font-family: var(--mono); font-size: 2.6rem; color: var(--soft-2); line-height: 1; margin-top: 4px; }
.section-soft .area-num { color: #d8e1ee; }
.area-head-cta { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; flex: none; }
.sector-layout { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: start; }
.sector-aside { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 70px); }
.sector-main .hero-actions { margin-top: 1.4rem; }

/* Soluciones por necesidad */
.need-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.need-card h3 { font-size: 1.25rem; }
.need-card .chip-row { margin: 6px 0; }

/* Páginas interiores: hero */
.page-hero { position: relative; background: var(--navy-900); color: #fff; padding: clamp(64px, 8vw, 100px) 0 clamp(56px, 7vw, 88px); overflow: hidden; isolation: isolate; }
.page-hero-tall { padding-top: clamp(90px, 11vw, 140px); padding-bottom: clamp(80px, 10vw, 120px); }
.page-hero-photo { position: absolute; inset: 0; z-index: -2; }
.page-hero-photo img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.page-hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 18, 38, .96) 0%, rgba(7, 18, 38, .75) 50%, rgba(7, 18, 38, .5) 100%), linear-gradient(180deg, transparent 50%, var(--navy-900) 100%); }
.page-hero .hero-mesh, .page-hero .grid-overlay { z-index: -1; }
.page-hero-inner { max-width: 820px; position: relative; }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: rgba(255, 255, 255, .78); }
.page-hero .lead a { color: #ffb45c; }
.page-hero-detail { padding-top: 40px; }
.detail-hero { display: flex; gap: 26px; align-items: flex-start; }
.detail-hero .icon-box.big { margin-top: 8px; }
.breadcrumbs { margin-bottom: 26px; font-size: .85rem; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumbs li + li::before { content: '/'; margin-right: 6px; color: rgba(255, 255, 255, .35); }
.breadcrumbs a { color: rgba(255, 255, 255, .7); }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs span { color: #ffb45c; }
.detail-grid { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; }
.detail-main { display: grid; gap: 40px; }
.detail-main h2 { margin-bottom: .6rem; }
.detail-main h3 { margin-bottom: 1rem; }
.detail-aside { display: grid; gap: 18px; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.aside-card h3 { margin: 0; font-size: 1.15rem; }
.aside-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.aside-card.dark { background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); border-color: transparent; color: rgba(255, 255, 255, .85); }
.aside-card.dark h3 { color: #fff; }
.aside-card.dark p { color: rgba(255, 255, 255, .75); }
.aside-card.dark .contact-list a { color: #fff; }
.aside-card.dark .btn-outline-light { border-color: rgba(255, 255, 255, .35); }
.aside-card.sticky { position: sticky; top: calc(var(--header-h) + 20px); }
.aside-card .btn { align-self: flex-start; }
.aside-card .inline-link { margin-top: 4px; }

/* Formulario */
.section-contact { background: var(--soft); }
.contact-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 32px; align-items: start; }
.contact-aside { display: grid; gap: 16px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-2); }
.form-head { margin-bottom: 22px; }
.form-head h2 { font-size: 1.6rem; margin-bottom: .3rem; }
.form-head p { color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: .92rem; color: var(--ink); }
.req { color: var(--orange); }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="search"], input[type="number"], input[type="date"], select, textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 4px rgba(31, 95, 209, .12); }
textarea { resize: vertical; min-height: 130px; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6b82' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field-msg { display: none; font-size: .82rem; color: var(--red); }
.field.error input, .field.error textarea, .field.error select { border-color: var(--red); }
.field.error .field-msg, .check.error .field-msg { display: block; }
.field-captcha { max-width: 320px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: rgba(229, 161, 0, .1); border: 1px solid rgba(229, 161, 0, .35); font-size: .86rem; color: #6b4a00; margin: 4px 0 16px; }
.field-notice .ico { width: 20px; height: 20px; color: var(--amber); flex: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--text); margin-bottom: 12px; cursor: pointer; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--orange); flex: none; }
.check small { display: block; color: var(--muted); font-size: .82rem; }
.form-actions { margin-top: 10px; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 16px; }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; margin-bottom: 18px; font-size: .95rem; }
.alert .ico { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.alert-error { background: rgba(217, 49, 63, .08); border: 1px solid rgba(217, 49, 63, .3); color: #8f1b26; }
.alert-success { background: rgba(19, 150, 75, .1); border: 1px solid rgba(19, 150, 75, .3); color: #0f6b38; }

/* Tablas */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-2); background: #fff; }
.data-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.data-table th, .data-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.data-table th { background: var(--soft); font-family: var(--mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--navy-800); }
.data-table tr:last-child td { border-bottom: 0; }
.data-table td a { font-weight: 700; }

/* Legal */
.legal-layout { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 20px); background: var(--soft); border-radius: var(--radius-2); padding: 22px; font-size: .9rem; }
.legal-toc ol { padding-left: 1.2em; margin: 10px 0; display: grid; gap: 4px; }
.legal-toc a { color: var(--navy-800); }
.legal-body { max-width: 780px; }
.legal-body section { margin-bottom: 36px; }
.legal-body h2 { font-size: 1.35rem; margin-bottom: .6rem; scroll-margin-top: calc(var(--header-h) + 20px); }
.legal-body p, .legal-body li { font-size: .98rem; }
.legal-body .table-wrap { margin: 16px 0; }
.legal-box { background: rgba(237, 122, 0, .08); border: 1px solid rgba(237, 122, 0, .3); border-radius: var(--radius-2); padding: 20px 22px; margin: 24px 0; }
.legal-box strong { display: block; margin-bottom: 6px; color: var(--ink); }
.legal-box p { margin: 0; font-size: .95rem; }

/* CTA final */
.cta-band { position: relative; background: var(--navy-900); color: #fff; padding: clamp(72px, 9vw, 110px) 0; overflow: hidden; isolation: isolate; }
.cta-band .hero-mesh, .cta-band .grid-overlay { z-index: -1; }
.cta-inner { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.cta-copy h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
.cta-copy p { color: rgba(255, 255, 255, .78); font-size: 1.1rem; margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.cta-note { margin-top: 28px; font-size: .85rem; color: rgba(255, 255, 255, .55); }

/* Pie */
.site-footer { position: relative; background: var(--navy-950); color: rgba(255, 255, 255, .78); padding: 72px 0 32px; font-size: .95rem; }
.footer-accent { height: 4px; background: var(--grad); position: absolute; top: 0; left: 0; right: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { width: 220px; height: auto; max-width: 100%; margin-bottom: 18px; }
.footer-claim { color: #ffb45c; font-weight: 600; font-size: .95rem; }
.footer-about { color: rgba(255, 255, 255, .65); font-size: .92rem; }
.footer-brand .contact-list { margin-top: 18px; }
.footer-brand .contact-list a { color: #fff; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); display: inline-flex; align-items: center; justify-content: center; color: #fff; transition: background .2s, border-color .2s; }
.social a:hover { background: var(--orange); border-color: var(--orange); }
.social .ico { width: 18px; height: 18px; }
.footer-col h4 { color: #fff; font-family: var(--mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a { color: rgba(255, 255, 255, .72); }
.footer-col a:hover { color: #ffb45c; }
.footer-brands { margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
.footer-brands-label { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.footer-brands-list { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-brands-list a { padding: .35em .8em; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .8); font-size: .82rem; font-weight: 600; transition: border-color .2s, color .2s; }
.footer-brands-list a:hover { border-color: var(--orange); color: #fff; }
.footer-bottom { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); display: grid; grid-template-columns: 1fr 1fr auto; gap: 24px; align-items: start; font-size: .82rem; color: rgba(255, 255, 255, .55); }
.footer-bottom p { margin: 0 0 6px; }
.footer-legal-links a { color: rgba(255, 255, 255, .75); }
.footer-legal-links a:hover { color: #ffb45c; }
.footer-trademark { max-width: 440px; }
.back-top { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); display: inline-flex; align-items: center; justify-content: center; color: #fff; transition: background .2s; }
.back-top:hover { background: var(--orange); }

/* Cookies */
.cookie-banner { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); width: min(960px, calc(100vw - 32px)); z-index: 1200; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 20px 24px; display: flex; gap: 20px; align-items: center; justify-content: space-between; }
.cookie-banner[hidden] { display: none; }
.cookie-text strong { display: block; color: var(--ink); margin-bottom: 4px; }
.cookie-text p { margin: 0; font-size: .9rem; color: var(--muted); }
.cookie-actions { display: flex; gap: 8px; flex: none; flex-wrap: wrap; }
.modal { position: fixed; inset: 0; z-index: 1300; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[aria-hidden="true"] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4, 9, 20, .6); backdrop-filter: blur(4px); }
.modal-panel { position: relative; background: #fff; border-radius: 18px; padding: 32px; width: min(560px, 100%); box-shadow: var(--shadow); }
.modal-close { position: absolute; right: 14px; top: 14px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.modal-panel h3 { margin-bottom: .4rem; }
.modal-panel > p { color: var(--muted); font-size: .95rem; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }

/* Accesibilidad */
.a11y { position: fixed; right: 18px; bottom: 18px; z-index: 1100; }
.a11y-btn { width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--navy-700); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-2); transition: background .2s, transform .2s; }
.a11y-btn:hover { background: var(--orange); transform: translateY(-2px); }
.a11y-btn .ico { width: 26px; height: 26px; }
.a11y-panel { position: absolute; right: 0; bottom: 60px; width: 280px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 18px; display: grid; gap: 12px; font-size: .9rem; }
.a11y-panel[hidden] { display: none; }
.a11y-head { display: flex; justify-content: space-between; align-items: center; }
.a11y-close { border: 0; background: transparent; cursor: pointer; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; }
.a11y-close:hover { background: var(--soft); }
.a11y-group { display: grid; gap: 6px; }
.a11y-seg { display: flex; gap: 4px; }
.a11y-seg button { flex: 1; padding: 8px; border: 1px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer; font: inherit; font-size: .82rem; }
.a11y-seg button[aria-pressed="true"] { background: var(--navy-700); color: #fff; border-color: var(--navy-700); }
.a11y-toggle { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.a11y-toggle input { width: 18px; height: 18px; accent-color: var(--orange); }
.a11y-actions { display: flex; justify-content: flex-end; }
html.a11y-text-1 { font-size: 112%; }
html.a11y-text-2 { font-size: 125%; }
/* Alto contraste: ver «Capa 6b» al final del archivo */
html.a11y-links a { text-decoration: underline; }
html.a11y-spacing body { letter-spacing: .04em; word-spacing: .08em; line-height: 1.9; }
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { animation: none !important; transition: none !important; }

/* Panel de solicitudes y acceso */
.gate { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--navy-900); position: relative; padding: 40px 20px; }
.gate-card { position: relative; background: #fff; border-radius: var(--radius); padding: 40px; width: min(440px, 100%); box-shadow: var(--shadow); }
.gate-brand { background: var(--navy-900); border-radius: 12px; padding: 16px; margin-bottom: 20px; display: flex; justify-content: center; }
.gate-brand img { width: 200px; height: auto; }
.gate h1 { font-size: 1.6rem; }
.gate-form { margin-top: 16px; }
.gate .note { font-size: .85rem; margin-top: 18px; text-align: center; }
body.page-panel { padding-top: 0; background: var(--soft); }
.panel-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 28px; background: #fff; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.panel-brand { display: flex; align-items: center; gap: 14px; font-weight: 700; color: var(--ink); }
.panel-brand img { width: 150px; height: auto; }
.panel-nav { display: flex; gap: 4px; }
.panel-nav a { padding: 8px 14px; border-radius: 999px; font-weight: 600; color: var(--navy-800); font-size: .9rem; }
.panel-nav a.active, .panel-nav a:hover { background: var(--navy-700); color: #fff; }
.panel-user { display: flex; align-items: center; gap: 10px; font-size: .9rem; }
.panel { padding: 28px; max-width: 1400px; margin: 0 auto; }
.panel-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 20px; }
.panel-stats div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.panel-stats strong { display: block; font-family: var(--mono); font-size: 1.8rem; color: var(--navy-800); }
.panel-stats span { font-size: .85rem; color: var(--muted); }
.panel-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; }
.panel-filters input[type="search"] { flex: 1; min-width: 240px; }
.panel-filters select, .panel-filters input { width: auto; padding: 9px 12px; }
.panel-filters label { font-size: .85rem; display: flex; align-items: center; gap: 6px; }
.panel-table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.panel-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.panel-table th, .panel-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.panel-table th { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--soft); }
.panel-pages { display: flex; gap: 6px; margin-top: 16px; flex-wrap: wrap; }
.panel-pages a { padding: 6px 12px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-size: .85rem; }
.panel-pages a.active { background: var(--navy-700); color: #fff; }
.panel-lead { display: grid; grid-template-columns: 1.4fr .6fr; gap: 20px; align-items: start; }
.panel-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.panel-narrow { max-width: 640px; }
.panel-dl { display: grid; grid-template-columns: 160px 1fr; gap: 6px 14px; font-size: .92rem; margin: 16px 0; }
.panel-dl dt { color: var(--muted); }
.panel-dl dd { margin: 0; }
.panel-message { white-space: pre-wrap; background: var(--soft); padding: 16px; border-radius: 12px; font-size: .95rem; }
.panel-meta { margin-top: 12px; font-size: .9rem; }
.panel-danger { margin-top: 24px; padding-top: 18px; border-top: 1px dashed var(--line); }

/* ---------- Aparición y movimiento ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.visible { opacity: 1; transform: none; }
.js .reveal.delay-1 { transition-delay: .12s; }
.js .reveal.delay-2 { transition-delay: .24s; }
.js .reveal.delay-3 { transition-delay: .36s; }
.js .stagger > .reveal:nth-child(2) { transition-delay: .08s; }
.js .stagger > .reveal:nth-child(3) { transition-delay: .16s; }
.js .stagger > .reveal:nth-child(4) { transition-delay: .24s; }
.js .stagger > .reveal:nth-child(5) { transition-delay: .32s; }
.js .stagger > .reveal:nth-child(6) { transition-delay: .40s; }
.js .stagger > .reveal:nth-child(n+7) { transition-delay: .46s; }
.no-anim .reveal { opacity: 1 !important; transform: none !important; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .mega-grid { grid-template-columns: 1fr 1fr; }
  .mega-aside { grid-column: span 2; flex-direction: row; align-items: center; flex-wrap: wrap; }
}
@media (max-width: 1080px) {
  :root { --header-h: 70px; }
  .nav-toggle { display: inline-flex; }
  .main-nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: var(--navy-900); flex-direction: column; align-items: stretch; gap: 0; padding: 16px 20px 40px; overflow-y: auto; transform: translateX(100%); transition: transform .35s var(--ease); z-index: 890; }
  .main-nav.open { transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; height: auto; gap: 2px; }
  .nav-item { height: auto; flex-direction: column; align-items: stretch; }
  .nav-link { padding: 14px 10px; font-size: 1.1rem; justify-content: space-between; border-bottom: 1px solid rgba(255, 255, 255, .08); border-radius: 0; }
  .nav-item.active > .nav-link::after { display: none; }
  .mega { position: static; transform: none; min-width: 0; width: 100%; box-shadow: none; border: 0; background: transparent; opacity: 1; visibility: visible; pointer-events: auto; display: none; }
  .mega::before { display: none; }
  .nav-item.open > .mega { display: block; }
  .mega-inner { padding: 8px 0 14px; }
  .mega-simple, .mega-grid { width: 100%; grid-template-columns: 1fr; gap: 2px; }
  .mega-link { color: #fff; }
  .mega-link:hover { background: rgba(255, 255, 255, .06); color: #fff; }
  .mega-link small { color: rgba(255, 255, 255, .6); }
  .mega-link .icon-box { background: rgba(255, 255, 255, .1); color: #fff; }
  .mega-title { color: rgba(255, 255, 255, .5); }
  .mega-aside { margin-top: 10px; }
  .nav-cta { flex-direction: column; align-items: stretch; margin-top: 20px; gap: 12px; }
  .nav-cta .btn { justify-content: center; }
  .nav-phone { justify-content: center; }
  .hero { min-height: 0; padding: 56px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { max-width: none; }
  .hero-visual { order: 2; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .verbs { grid-template-columns: repeat(2, 1fr); }
  .packages { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps::before { display: none; }
  .problem-layout, .split-grid, .faq-layout, .detail-grid, .contact-grid, .sector-layout, .legal-layout, .product-hero-grid, .verbs-layout { grid-template-columns: 1fr; }
  .wm-legend { grid-template-columns: repeat(2, 1fr); }
  .area-head-side { align-items: flex-start; }
  .detail-aside, .sector-aside { position: static; }
  .aside-card.sticky { position: static; }
  .legal-toc { position: static; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-actions { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { grid-template-columns: 1fr; }
  .product-row { grid-template-columns: 180px 1fr; }
  .product-row-actions { grid-column: span 2; flex-direction: row; }
  .subnav { top: var(--header-h); }
}
@media (max-width: 760px) {
  body { font-size: 1rem; }
  .container { padding: 0 18px; }
  .grid-2, .grid-3, .grid-4, .brand-grid, .verbs, .packages, .need-grid, .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .problem-list { grid-template-columns: 1fr; }
  .tab-panel-inner { grid-template-columns: 1fr; }
  .tab-intro { border-right: 0; border-bottom: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0; padding: 26px; }
  .service-list { grid-template-columns: 1fr; }
  .tab-list { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; scrollbar-width: none; }
  .tab-list::-webkit-scrollbar { display: none; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 24px 20px; }
  .checklist.two-col { grid-template-columns: 1fr; }
  .band-list { grid-template-columns: 1fr; }
  .brand-strip-inner { flex-direction: column; gap: 16px; align-items: flex-start; }
  .brand-strip-logos { justify-content: flex-start; gap: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cookie-banner { flex-direction: column; align-items: stretch; bottom: 10px; }
  .cookie-actions { justify-content: flex-end; }
  .case { grid-template-columns: 40px 1fr 20px; }
  .case .icon-box { display: none; }
  .area-head { flex-direction: column; align-items: flex-start; }
  .area-head-cta { flex-direction: row; align-items: flex-start; }
  .area-num { display: none; }
  .area-photo { width: 100%; }
  .wm-legend { grid-template-columns: 1fr; }
  .world-map .wm-marker span { display: none; }
  .world-map .wm-region { font-size: .55rem; letter-spacing: .1em; }
  .verbs-layout .verbs { grid-template-columns: 1fr; }
  .detail-hero { flex-direction: column; }
  .product-row { grid-template-columns: 1fr; }
  .product-row-actions { grid-column: auto; }
  .intl-list li { grid-template-columns: 1fr; gap: 2px; }
  .hero-panel { grid-template-columns: 1fr; }
  .orbit .node { font-size: .64rem; }
  .a11y { right: 12px; bottom: 12px; }
  .section-actions { flex-direction: column; align-items: stretch; }
  .section-actions .btn { justify-content: center; }
}
@media (max-width: 420px) {
  .steps, .stats-grid { grid-template-columns: 1fr; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
}
@media print {
  .site-header, .site-footer, .cookie-banner, .modal, .a11y, .subnav, .scroll-cue, .hero-mesh, .grid-overlay { display: none !important; }
  body { padding-top: 0; color: #000; }
  .js .reveal { opacity: 1; transform: none; }
  .section-dark, .section-navy, .hero, .page-hero, .cta-band { background: #fff !important; color: #000; }
}


/* =====================================================================
   Capa 2 · detalle y efectos ligeros (solo CSS, transform/opacity)
   ===================================================================== */
:root { --header-h: 112px; --topbar-h: 32px; }
.topbar { height: var(--topbar-h); background: linear-gradient(90deg, rgba(237, 122, 0, .18), rgba(7, 18, 38, 0) 55%), rgba(4, 9, 20, .85); border-bottom: 1px solid rgba(255, 255, 255, .07); font-size: .8rem; color: rgba(255, 255, 255, .8); overflow: hidden; transition: height .3s var(--ease), opacity .3s; }
.topbar-inner { height: var(--topbar-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar-left { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.topbar-left .led { position: static; width: 8px; height: 8px; flex: none; }
.topbar-left strong { color: #fff; white-space: nowrap; }
.topbar-text { color: rgba(255, 255, 255, .65); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-right { display: inline-flex; align-items: center; gap: 14px; flex: none; }
.topbar-right a { display: inline-flex; align-items: center; gap: .4em; color: #fff; font-family: var(--mono); font-weight: 500; }
.topbar-right a .ico { width: 1em; height: 1em; color: var(--orange); }
.topbar-cta { padding: .25em .75em; border-radius: 999px; border: 1px solid rgba(255, 154, 46, .6); font-family: var(--font) !important; font-weight: 700 !important; font-size: .78rem; transition: background .2s, border-color .2s; }
.topbar-cta:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.header-inner { height: calc(var(--header-h) - var(--topbar-h)); }
.subnav { top: var(--header-h); }

/* Botones: destello */
.btn-primary, .btn-light, .btn-secondary { position: relative; overflow: hidden; }
.btn-primary::after, .btn-light::after, .btn-secondary::after { content: ''; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg); transition: left .6s var(--ease); pointer-events: none; }
.btn-primary:hover::after, .btn-light:hover::after, .btn-secondary:hover::after { left: 125%; }
.btn > span, .btn > .btn-ico { position: relative; z-index: 1; }

/* Tarjetas: línea de acento, icono y flecha */
.card::after, .brand-card::after, .verb::after { content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); border-radius: 3px 3px 0 0; }
.card:hover::after, .brand-card:hover::after, .verb:hover::after { transform: scaleX(1); }
.card.plain::after { display: none; }
.card .icon-box, .verb .icon-box, .feature .icon-box, .case .icon-box { transition: transform .35s var(--ease), background .25s, color .25s, box-shadow .25s; }
.card:hover .icon-box, .verb:hover .icon-box, .feature:hover .icon-box, .case:hover .icon-box { transform: translateY(-3px) scale(1.06) rotate(-4deg); }
.card:hover .icon-box.orange { box-shadow: 0 12px 24px rgba(237, 122, 0, .35); }
.verb:hover .verb-num { color: var(--orange); }
.verb-num { transition: color .3s; }
.card h3, .verb h3 { transition: color .25s; }
a.card:hover h3 { color: var(--navy-700); }
.brand-logo img, .product-logo img { transition: transform .4s var(--ease); }
.brand-card:hover .brand-logo img, .product-card:hover .product-logo img { transform: scale(1.05); }

/* Etiqueta de función en tarjetas de servicio */
.service-card { border-left: 3px solid var(--fn, var(--line)); }
.service-card.fn-govern { --fn: #6651c8; }
.service-card.fn-comply { --fn: #0777b6; }
.service-card.fn-detect { --fn: var(--orange); }
.service-card.fn-prevent { --fn: #13964b; }
.service-card.fn-recover { --fn: #d59b43; }
.service-card.fn-protect { --fn: #d92f78; }
.fn-tag { display: inline-flex; align-items: center; gap: .4em; font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fn, var(--muted)); margin-top: 2px; }
.fn-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--fn, var(--muted)); }
.service-card::after { display: none; }

/* Productos: color por categoría */
.product-card { border-top: 3px solid var(--cat, rgba(255, 255, 255, .1)); background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 18px 18px; }
.product-card.cat-network { --cat: var(--orange); }
.product-card.cat-resilience { --cat: #2cc3ff; }
.product-card.cat-identity { --cat: #6651c8; }
.product-card.cat-trust { --cat: #13964b; }
.product-card.cat-mobility { --cat: #d59b43; }
.product-card::after { display: none; }

/* Paquete destacado */
.package-card.featured { position: relative; box-shadow: 0 30px 70px rgba(4, 9, 20, .35), 0 0 0 1px rgba(255, 180, 92, .35); }
.package-card.featured::before { background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 180, 92, .18), transparent 60%); }

/* Pasos y cifras */
.step-num { transition: transform .35s var(--ease), box-shadow .3s; }
.step:hover .step-num { transform: scale(1.1) rotate(-6deg); box-shadow: 0 14px 28px rgba(237, 122, 0, .4); }
.stat { position: relative; overflow: hidden; transition: transform .3s var(--ease), border-color .3s; }
.stat::after { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.stat:hover { transform: translateY(-3px); border-color: rgba(255, 180, 92, .4); }
.stat:hover::after { transform: scaleX(1); }

/* Enlaces y figuras */
.inline-link span, .footer-col a, .mega-link strong { background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .3s var(--ease); }
.footer-col a:hover { background-size: 100% 1px; }
.figure-photo { position: relative; }
.figure-photo img { transition: transform .8s var(--ease); }
.figure-photo:hover img { transform: scale(1.035); }
.figure-photo::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); pointer-events: none; }
.area-photo img { transition: transform .8s var(--ease); }
.area-photo:hover img { transform: scale(1.04); }

/* Cabeceras de sección: subrayado */
.section-head h2 { position: relative; display: inline-block; }
.section-head.stack h2, .section-head.left h2 { display: block; }
.section-head h2::after { content: ''; display: block; width: 56px; height: 3px; border-radius: 3px; background: var(--grad); margin: 14px auto 0; opacity: .9; }
.section-head.stack h2::after, .section-head.left h2::after { margin-left: 0; }

/* Aparición: leve escala */
.js .reveal { transform: translateY(22px) scale(.985); }

/* Por qué Grupo Bomontec */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why-item { position: relative; display: flex; gap: 16px; padding: 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); transition: transform .3s var(--ease), background .3s, border-color .3s; overflow: hidden; }
.why-item:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .1); border-color: rgba(255, 180, 92, .45); }
.why-item h3 { color: #fff; font-size: 1.08rem; margin: 0 0 6px; }
.why-item p { color: rgba(255, 255, 255, .72); font-size: .93rem; margin: 0; }
.why-num { position: absolute; right: 18px; top: 12px; font-family: var(--mono); font-size: 1.6rem; color: rgba(255, 255, 255, .08); }
.why-item .icon-box { background: var(--grad); color: #fff; }

/* Recursos */
.resource-card h3 { font-size: 1.05rem; }
.resource-card .chip-row { margin: 4px 0; }
.resource-card .card-actions { align-items: center; justify-content: space-between; }

/* Evaluador */
.evaluator-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.evaluator { padding: 30px; gap: 18px; }
.evaluator:hover { transform: none; box-shadow: var(--shadow-2); }
.ev-head { display: flex; flex-direction: column; gap: 10px; }
.ev-label { font-family: var(--mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ev-progress { height: 6px; border-radius: 6px; background: var(--soft-2); overflow: hidden; }
.ev-progress span { display: block; height: 100%; width: 0; background: var(--grad); transition: width .4s var(--ease); }
.ev-question { font-size: 1.2rem; font-weight: 700; color: var(--ink); line-height: 1.35; margin: 4px 0 14px; }
.ev-options { display: grid; gap: 10px; }
.ev-option { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; font-size: .97rem; }
.ev-option:hover { border-color: var(--navy-700); transform: translateX(3px); }
.ev-option.selected { border-color: var(--orange); background: rgba(237, 122, 0, .07); }
.ev-option input { position: absolute; opacity: 0; pointer-events: none; }
.ev-radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); flex: none; position: relative; transition: border-color .2s; }
.ev-option.selected .ev-radio { border-color: var(--orange); }
.ev-option.selected .ev-radio::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--orange); }
.ev-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; }
.ev-result { display: grid; gap: 16px; text-align: center; }
.ev-score { position: relative; width: 150px; height: 150px; margin: 0 auto; }
.ev-score svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ev-score .track { fill: none; stroke: var(--soft-2); stroke-width: 12; }
.ev-score .bar { fill: none; stroke: var(--orange); stroke-width: 12; stroke-linecap: round; stroke-dasharray: 408; stroke-dashoffset: 408; transition: stroke-dashoffset 1.2s var(--ease); }
.ev-score.high .bar { stroke: var(--green); }
.ev-score.low .bar { stroke: var(--red); }
.ev-score-val { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ev-score-val span { font-family: var(--mono); font-size: 1.9rem; font-weight: 500; color: var(--ink); line-height: 1; }
.ev-score-val small { font-size: .72rem; color: var(--muted); font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; }
.ev-result h3 { margin: 0; }
.ev-result p { color: var(--muted); margin: 0; }
.ev-result .hero-actions { justify-content: center; margin-top: 4px; }
.ev-note { margin: 0; }

/* CTA fija en móvil */
.sticky-cta { display: none; }

/* Alerta de incidente */
.alert-urgent { background: rgba(217, 49, 63, .08); border: 1px solid rgba(217, 49, 63, .35); color: #7a1620; }
.alert-urgent .ico { color: var(--red); }
.alert-urgent a { color: #7a1620; font-weight: 700; }

/* Badge partner */
.partner-badge { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); }
.partner-badge img { width: 72px; height: auto; max-height: 82px !important; filter: none !important; }
.partner-badge span { font-family: var(--mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }

@media (max-width: 1080px) {
  :root { --header-h: 102px; --topbar-h: 32px; }
  .topbar-text { display: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .evaluator-layout { grid-template-columns: 1fr; }
  .sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1150; display: flex; gap: 8px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(7, 18, 38, .92); backdrop-filter: blur(12px); border-top: 1px solid rgba(255, 255, 255, .1); transform: translateY(110%); transition: transform .35s var(--ease); }
  .sticky-cta.show { transform: none; }
  .sticky-cta .btn { flex: 1; justify-content: center; }
  .sticky-cta .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); flex: 0 0 auto; }
  .a11y { bottom: 76px; }
  .cookie-banner { bottom: 70px; }
}
@media (max-width: 760px) {
  .topbar-left strong { font-size: .74rem; }
  .topbar-right a:not(.topbar-cta) span { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .section-head h2::after { width: 44px; margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) { .btn-primary::after, .btn-light::after, .btn-secondary::after { display: none; } }


/* =====================================================================
   Capa 3 · scroll, tarjetas avanzadas e interacción
   ===================================================================== */
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }


/* Parallax en fotos de bandas y cabeceras (solo navegadores con animaciones ligadas al scroll) */
@supports (animation-timeline: view()) {
  .band-media img, .page-hero-photo img { height: 120%; position: relative; top: -10%; animation: parallaxY linear both; animation-timeline: view(); }
  @keyframes parallaxY { from { transform: translateY(-5%); } to { transform: translateY(5%); } }
}

/* Iconos que se dibujan */
.card:hover .icon-box .ico *, .verb:hover .icon-box .ico *, .feature:hover .icon-box .ico *, .why-item:hover .icon-box .ico * { stroke-dasharray: 90; stroke-dashoffset: 90; animation: iconDraw .9s var(--ease) forwards; }
@keyframes iconDraw { to { stroke-dashoffset: 0; } }

/* Hero: red de nodos reactiva */
.hero-net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: .9; }
.hero.has-canvas .net-overlay { display: none; }

/* Historia con diagrama fijo (Qué hacemos) */
.story { align-items: start; }
.story-sticky { position: sticky; top: calc(var(--header-h) + 24px); }
.story-steps { grid-template-columns: 1fr !important; gap: 18px; }
.story-step { padding: 30px; min-height: 160px; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s, opacity .35s; }
.js .story-step.visible:not(.active) { opacity: .5; }
.story-step.active { border-color: rgba(237, 122, 0, .55); box-shadow: var(--shadow-2); transform: translateX(8px); }
.story-step.active .verb-num { color: var(--orange); }
.story-step.active .icon-box { background: var(--grad); }
.svg-layers .dl-label rect { transition: stroke .3s, fill .3s, stroke-width .3s; }
.svg-layers .dl-label.active rect { stroke: #ff9a2e; stroke-width: 2; fill: #1a3a6e; }
.svg-layers .dl-label.active text { fill: #ffd9b0; }
.svg-layers .dl-core { transition: stroke-width .3s; }
.svg-layers .dl-core.active { stroke-width: 6; }

/* Línea de tiempo (metodología) */
.steps.timeline::before { display: none; }
.timeline-track { position: absolute; left: 4%; right: 4%; top: 34px; height: 3px; border-radius: 3px; background: rgba(237, 122, 0, .18); overflow: hidden; }
.timeline-track span { display: block; height: 100%; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease) .2s; }
.timeline.lit .timeline-track span { transform: scaleX(1); }
.timeline .step-num { position: relative; }
.timeline .step-num i { position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--orange); opacity: 0; transform: scale(.5); transition: opacity .4s, transform .5s var(--ease); transition-delay: calc(var(--i) * .25s + .5s); }
.timeline.lit .step-num i { opacity: .9; transform: scale(1); }
.timeline.lit .step-num { animation: numPop .5s var(--ease) both; animation-delay: calc(var(--i) * .25s + .45s); }
@keyframes numPop { 0% { transform: scale(.8); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }

/* Cifras con barra */
.stat::after { display: none; }
.stat-bar { display: block; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .1); margin-top: 14px; overflow: hidden; }
.stat-bar i { display: block; height: 100%; width: var(--w, 60%); background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) .25s; }
.stat.visible .stat-bar i { transform: scaleX(1); }

/* Marquesina doble */
.marquee-reverse { margin-top: 12px; }
.marquee-reverse .marquee-track { animation-direction: reverse; animation-duration: 52s; }
.marquee-item.ghost { color: rgba(255, 255, 255, .4); border-color: rgba(255, 255, 255, .08); background: transparent; }

/* Banda de texto en movimiento */
.ticker { overflow: hidden; padding: 26px 0; background: var(--navy-950); border-top: 1px solid rgba(255, 255, 255, .06); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.ticker-row { display: flex; white-space: nowrap; width: max-content; font-weight: 800; font-size: clamp(2.2rem, 6vw, 4.6rem); letter-spacing: -.03em; line-height: 1.1; }
.ticker-row span { display: inline-flex; align-items: center; gap: .3em; padding-right: .3em; }
.ticker-row i { font-style: normal; color: var(--orange); }
.ticker-row.outline { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .4); animation: tickLeft 44s linear infinite; }
.ticker-row.fill { color: #fff; margin-top: 6px; animation: tickRight 50s linear infinite; }
@keyframes tickLeft { to { transform: translateX(-33.333%); } }
@keyframes tickRight { from { transform: translateX(-33.333%); } to { transform: translateX(0); } }
@supports (animation-timeline: view()) {
  .ticker-row.outline { animation: tickScrollL linear both; animation-timeline: view(); }
  .ticker-row.fill { animation: tickScrollR linear both; animation-timeline: view(); }
  @keyframes tickScrollL { from { transform: translateX(0); } to { transform: translateX(-30%); } }
  @keyframes tickScrollR { from { transform: translateX(-30%); } to { transform: translateX(0); } }
}

/* Tarjetas de servicio con giro */
.service-card.flip { padding: 0; border: 0; background: transparent; overflow: visible; display: block; perspective: 1400px; box-shadow: none; }
.service-card.flip::before, .service-card.flip::after { display: none; }
.service-card.flip:hover { transform: translateY(-4px); box-shadow: none; }
.flip-inner { display: grid; transform-style: preserve-3d; transition: transform .7s var(--ease); }
.flip-face { grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden; position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 22px 60px 22px 22px; border: 1px solid var(--line); border-left: 3px solid var(--fn, var(--line)); border-radius: var(--radius); background: #fff; transition: box-shadow .3s; }
.service-card.flip:hover .flip-front { box-shadow: var(--shadow); }
.flip-front .card-body { display: flex; flex-direction: column; gap: 6px; }
.flip-back { transform: rotateY(180deg); flex-direction: column; gap: 8px; padding: 22px; background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: rgba(255, 255, 255, .88); border-color: transparent; border-left-color: var(--fn, var(--orange)); box-shadow: var(--shadow); }
.flip-back .card-meta { color: #ffb45c; }
.flip-back ul { margin: 0; padding-left: 1.1em; font-size: .9rem; display: grid; gap: 4px; }
.flip-back li::marker { color: var(--orange); }
.flip-back .inline-link { color: #ffb45c; margin-top: auto; padding-top: 6px; }
.service-card.flip:hover .flip-inner, .service-card.flip:focus-visible .flip-inner { transform: rotateY(180deg); }
.service-card.flip .card-arrow { top: 50%; transform: translateY(-50%); }

/* Productos: panel simulado y borde animado */
.product-card { position: relative; }
.product-card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--ang), transparent 0 55%, var(--cat, #ffb45c) 78%, transparent 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s; pointer-events: none; z-index: 3; }
.product-card:hover::before { opacity: 1; animation: spinAng 2.6s linear infinite; }
@keyframes spinAng { to { --ang: 360deg; } }
.product-mock { position: absolute; left: 16px; right: 16px; top: 16px; height: 78px; transform: translateY(-12px); opacity: 0; transition: transform .5s var(--ease), opacity .35s; pointer-events: none; z-index: 2; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .45)); }
.product-mock svg { width: 100%; height: 100%; display: block; }
.product-card:hover .product-mock { transform: translateY(0); opacity: 1; }
.product-card:hover .product-logo { opacity: .08; }
.product-logo { transition: opacity .3s; }
.mock-bars rect { transform-box: fill-box; transform-origin: bottom; transform: scaleY(.15); transition: transform .55s var(--ease); transition-delay: calc(var(--i) * 45ms + .1s); }
.product-card:hover .mock-bars rect { transform: scaleY(1); }
.mock-line { stroke-dasharray: 220; stroke-dashoffset: 220; transition: stroke-dashoffset 1.1s var(--ease) .25s; }
.product-card:hover .mock-line { stroke-dashoffset: 0; }

/* Rejilla bento (portada) */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(200px, auto); gap: 18px; }
.bento-soc { grid-column: span 2; grid-row: span 2; }
.b-wide { grid-column: span 2; }
.bento-item { padding: 22px; gap: 8px; display: flex; flex-direction: column; color: rgba(255, 255, 255, .85); padding-right: 56px; }
.bento-item .product-logo { height: 46px; }
.bento-item .product-logo img { max-height: 42px; max-width: 170px; }
.bento-item .product-logo .logo-light { padding: 5px 10px; border-radius: 9px; }
.bento-item h3 { font-size: 1.05rem; margin: 0; }
.bento-item h3 small { font-size: .74rem; }
.bento-item p { font-size: .88rem; }
.bento-item .chip-row { margin: 2px 0 0; }
.bento-item .card-arrow { background: rgba(255, 255, 255, .1); color: #fff; }
.b-sm .product-mock { height: 54px; }
.bento-soc { background: linear-gradient(160deg, #10306a, var(--navy-900)); background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(160deg, #10306a, var(--navy-900)); background-size: 18px 18px, auto; color: rgba(255, 255, 255, .85); border-color: rgba(255, 255, 255, .14); padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.bento-soc::after { display: none; }
.soc-head { display: flex; align-items: center; gap: 10px; }
.soc-head .led { position: static; width: 9px; height: 9px; }
.soc-head .card-meta { color: #ffb45c; }
.soc-time { margin-left: auto; font-family: var(--mono); font-size: .8rem; color: rgba(255, 255, 255, .6); }
.soc-title h3 { color: #fff; font-size: 1.4rem; margin: 0 0 4px; }
.soc-title p { font-size: .92rem; color: rgba(255, 255, 255, .7); margin: 0; }
.soc-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.soc-metrics > span { padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); display: flex; flex-direction: column; gap: 4px; }
.soc-metrics small { font-size: .66rem; color: rgba(255, 255, 255, .6); font-family: var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.soc-metrics strong { font-family: var(--mono); font-size: 1.3rem; color: #fff; font-weight: 500; }
.soc-chart { display: grid; grid-template-columns: 1fr 120px; gap: 14px; align-items: end; height: 84px; }
.soc-chart svg { width: 100%; height: 80px; }
.soc-line { fill: none; stroke: #ffb45c; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 600; stroke-dashoffset: 600; }
.bento-soc.visible .soc-line { animation: drawLine 2.2s var(--ease) forwards .3s; }
.soc-area { opacity: 0; transition: opacity 1s 1.2s; }
.bento-soc.visible .soc-area { opacity: 1; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
.soc-bars { display: flex; align-items: flex-end; gap: 6px; height: 70px; }
.soc-bars i { flex: 1; height: var(--h); background: linear-gradient(180deg, #2cc3ff, rgba(44, 195, 255, .15)); border-radius: 4px 4px 0 0; transform: scaleY(0); transform-origin: bottom; transition: transform .8s var(--ease); }
.bento-soc.visible .soc-bars i { transform: scaleY(1); }
.soc-bars i:nth-child(2) { transition-delay: .08s; } .soc-bars i:nth-child(3) { transition-delay: .16s; } .soc-bars i:nth-child(4) { transition-delay: .24s; } .soc-bars i:nth-child(5) { transition-delay: .32s; } .soc-bars i:nth-child(6) { transition-delay: .4s; } .soc-bars i:nth-child(7) { transition-delay: .48s; } .soc-bars i:nth-child(8) { transition-delay: .56s; }
.soc-feed { display: grid; gap: 6px; }
.soc-feed > span { display: flex; align-items: center; gap: 10px; font-size: .84rem; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .05); }
.soc-feed > span.new { animation: feedIn .5s var(--ease); }
@keyframes feedIn { from { opacity: 0; transform: translateY(-8px); } }
.soc-feed em { margin-left: auto; font-style: normal; font-family: var(--mono); font-size: .68rem; color: rgba(255, 255, 255, .5); white-space: nowrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot-ok { background: var(--green); box-shadow: 0 0 8px var(--green); }
.dot-warn { background: var(--orange); box-shadow: 0 0 8px var(--orange); }
.soc-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.soc-foot .small { color: rgba(255, 255, 255, .45); }

/* Sectores con foto */
.sector-card.has-photo { padding: 0; min-height: 320px; display: grid; color: #fff; border: 0; background: var(--navy-900); }
.sector-card.has-photo::before { display: none; }
.sector-photo { grid-area: 1 / 1; overflow: hidden; border-radius: inherit; }
.sector-photo img { width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: transform 1s var(--ease), opacity .4s; }
.sector-body { grid-area: 1 / 1; position: relative; padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; background: linear-gradient(180deg, rgba(7, 18, 38, .05) 0%, rgba(7, 18, 38, .5) 40%, rgba(7, 18, 38, .96) 100%); border-radius: inherit; }
.sector-card.has-photo h3 { color: #fff; font-size: 1.15rem; margin: 0; }
.sector-card.has-photo p { color: rgba(255, 255, 255, .78); font-size: .9rem; }
.sector-card.has-photo .icon-box { background: rgba(255, 255, 255, .14); color: #fff; width: 42px; height: 42px; margin-bottom: auto; }
.sector-needs { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .55s var(--ease), opacity .4s; }
.sector-needs li { display: flex; gap: .45em; align-items: flex-start; font-size: .82rem; color: #ffd9b0; line-height: 1.35; }
.sector-needs .ico { width: 1em; height: 1em; color: var(--orange); flex: none; margin-top: 2px; }
.sector-card.has-photo:hover .sector-needs, .sector-card.has-photo:focus-visible .sector-needs { max-height: 140px; opacity: 1; }
.sector-card.has-photo:hover .sector-photo img { transform: scale(1.07); opacity: .55; }
.sector-card.has-photo .card-arrow { background: rgba(255, 255, 255, .14); color: #fff; z-index: 2; }

/* Mapa: rutas y tooltips */
.wm-routes { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.wm-routes path { fill: none; stroke: rgba(255, 154, 46, .7); stroke-width: 1.5; stroke-dasharray: 5 9; vector-effect: non-scaling-stroke; animation: dashMove 1.8s linear infinite; animation-delay: var(--d, 0s); }
@keyframes dashMove { to { stroke-dashoffset: -14; } }
.world-map .wm-marker { cursor: pointer; z-index: 2; outline-offset: 6px; }
.world-map .wm-marker:hover, .world-map .wm-marker:focus-within { z-index: 7; }
.world-map .wm-marker .wm-tip { position: absolute; left: 50%; bottom: 22px; top: auto; transform: translate(-50%, 6px); width: 250px; padding: 12px 14px; border-radius: 12px; background: rgba(7, 18, 38, .97); border: 1px solid rgba(255, 180, 92, .45); box-shadow: 0 20px 44px rgba(0, 0, 0, .5); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility 0s .25s; text-align: left; white-space: normal; font-family: var(--font); text-shadow: none; letter-spacing: 0; font-size: .85rem; }
.world-map .wm-marker .wm-tip::after { content: ''; position: absolute; left: 50%; bottom: -6px; width: 10px; height: 10px; background: rgba(7, 18, 38, .97); border-right: 1px solid rgba(255, 180, 92, .45); border-bottom: 1px solid rgba(255, 180, 92, .45); transform: translateX(-50%) rotate(45deg); }
.world-map .wm-marker .wm-tip strong { display: block; color: #fff; font-size: .9rem; }
.world-map .wm-marker .wm-tip em { display: block; font-style: normal; font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: #ffb45c; margin: 2px 0 6px; }
.world-map .wm-marker .wm-tip > span { position: static; display: block; font-size: .82rem; color: rgba(255, 255, 255, .8); line-height: 1.4; white-space: normal; text-shadow: none; }
.world-map .wm-marker:hover .wm-tip, .world-map .wm-marker:focus-within .wm-tip, .world-map .wm-marker:focus-visible .wm-tip { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }

/* Selector de situación (paquetes) */
.picker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 24px; padding: 14px 18px; border-radius: var(--radius-2); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.picker-label { display: inline-flex; align-items: center; gap: .4em; font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.picker-label .ico { color: var(--orange); }
.picker-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.picker-btn { padding: .5em .9em; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: .82rem; font-weight: 600; color: var(--navy-800); cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.picker-btn:hover { border-color: var(--navy-700); transform: translateY(-1px); }
.picker-btn.active { background: var(--navy-700); color: #fff; border-color: var(--navy-700); }
.packages .package-card { transition: transform .4s var(--ease), box-shadow .4s, opacity .4s, border-color .4s; }
.packages.filtered .package-card:not(.match) { opacity: .4; transform: scale(.975); }
.packages.filtered .package-card.match { border-color: var(--orange); box-shadow: 0 28px 60px rgba(237, 122, 0, .22); transform: translateY(-6px); }

/* Simulador de impacto */
.simulator { padding: 28px; gap: 18px; }
.simulator:hover { transform: none; box-shadow: var(--shadow-2); }
.simulator::after { display: none; }
.sim-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sim-controls label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--ink); }
.sim-empty { display: flex; gap: 8px; align-items: center; color: var(--muted); margin: 0; }
.sim-empty .ico { color: var(--orange); }
.sim-result { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; animation: fadeIn .4s var(--ease); }
.sim-block { padding: 18px; border-radius: 14px; background: var(--soft); }
.sim-block h4 { display: flex; align-items: center; gap: .5em; margin: 0 0 10px; font-size: .95rem; }
.sim-block h4 .ico { color: var(--orange); }
.sim-block ul { margin: 0; padding-left: 1.1em; display: grid; gap: 4px; font-size: .92rem; }
.sim-block li::marker { color: var(--orange); }
.sim-block .chip-row { margin: 0; }
.sim-block a { font-weight: 600; }
.sim-reco { grid-column: span 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 22px; border-radius: 14px; background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: #fff; }
.sim-reco strong { display: block; font-size: 1.15rem; }
.sim-reco span { color: rgba(255, 255, 255, .72); font-size: .9rem; }
.sim-reco .hero-actions { margin: 0; }

/* Buscador instantáneo */
.nav-search { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .2s, border-color .2s, transform .2s; }
.nav-search:hover { background: rgba(255, 255, 255, .14); border-color: #fff; transform: translateY(-1px); }
.nav-search .ico { width: 18px; height: 18px; }
.search-overlay { position: fixed; inset: 0; z-index: 1400; display: flex; align-items: flex-start; justify-content: center; padding: 10vh 20px 20px; }
.search-overlay[aria-hidden="true"] { display: none; }
.search-backdrop { position: absolute; inset: 0; background: rgba(4, 9, 20, .72); backdrop-filter: blur(6px); }
.search-panel { position: relative; width: min(760px, 100%); background: #fff; border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; animation: fadeIn .25s var(--ease); }
.search-box { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.search-box > .ico { color: var(--orange); width: 22px; height: 22px; flex: none; }
.search-box input { border: 0; padding: 6px 0; font-size: 1.05rem; border-radius: 0; }
.search-box input:focus { box-shadow: none; }
.search-close { border: 1px solid var(--line); background: #fff; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.search-hint { padding: 10px 18px; font-size: .8rem; color: var(--muted); background: var(--soft); }
.search-hint kbd { font-family: var(--mono); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; background: #fff; }
.search-results { list-style: none; margin: 0; padding: 8px; max-height: 54vh; overflow-y: auto; display: grid; gap: 2px; }
.search-results li a { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; color: var(--ink); }
.search-results li a:hover, .search-results li a.active { background: var(--soft); }
.search-results .icon-box { width: 36px; height: 36px; border-radius: 10px; background: var(--soft-2); color: var(--navy-700); }
.search-results .icon-box .ico { width: 18px; height: 18px; }
.search-results strong { display: block; font-size: .95rem; line-height: 1.25; }
.search-results small { display: block; color: var(--muted); font-size: .8rem; }
.search-type { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.search-empty { padding: 22px; color: var(--muted); text-align: center; }
.search-group { padding: 10px 12px 4px; font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }


@media (max-width: 1240px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-soc { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 1080px) {
  .story-sticky { position: static; }
  .js .story-step.visible:not(.active) { opacity: 1; }
  .story-step.active { transform: none; }
  .timeline-track { display: none; }
  .nav-search { width: 100%; height: 46px; border-radius: 12px; gap: 8px; justify-content: center; margin-bottom: 4px; }
  .nav-search::after { content: attr(aria-label); font-weight: 600; font-size: .95rem; }
  .sim-controls, .sim-result { grid-template-columns: 1fr; }
  .sim-reco { grid-column: auto; }
}
@media (max-width: 760px) {
  .bento { grid-template-columns: 1fr; }
  .bento-soc, .b-wide { grid-column: auto; }
  .soc-metrics { grid-template-columns: 1fr 1fr; }
  .soc-chart { grid-template-columns: 1fr; height: auto; }
  .soc-bars { display: none; }
  .search-overlay { padding: 12px; }
  .search-results { max-height: 60vh; }
  .ticker { padding: 18px 0; }
  .picker { padding: 12px 14px; }
  .service-card.flip:hover .flip-inner { transform: none; }
}


/* =====================================================================
   Capa 4 · menú móvil/tablet, hero a todo el ancho, fotos en productos
   ===================================================================== */
/* La cabecera no debe crear un contenedor para el panel fijo del menú (sin desenfoque ni transform con el menú abierto) */
.site-header.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; }
body.nav-open .site-header { transform: none !important; }
body.nav-open .sticky-cta, body.nav-open .a11y, body.nav-open .cookie-banner { display: none !important; }
.nav-backdrop { display: none; }

/* Hero a todo el ancho */
.hero .container { max-width: none; padding-left: clamp(24px, 5vw, 96px); padding-right: clamp(24px, 5vw, 96px); }
.hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 96px); }
.hero h1 { max-width: 15ch; }
.hero .lead { max-width: 60ch; }
.hero-visual { justify-self: end; }
.orbit, .hero-panel { width: min(520px, 90vw); }

/* Productos: fotografía al pasar */
.product-mock { display: none !important; }
.product-card:hover .product-logo { opacity: 1; }
.product-card > * { position: relative; z-index: 1; }
.product-photo { position: absolute !important; inset: 0; z-index: 0 !important; border-radius: inherit; overflow: hidden; opacity: 0; transition: opacity .6s var(--ease); pointer-events: none; }
.product-photo img, .product-photo picture { width: 100%; height: 100%; }
.product-photo img { object-fit: cover; transform: scale(1.1); transition: transform 1.4s var(--ease); }
.product-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 18, 38, .55) 0%, rgba(7, 18, 38, .85) 70%, rgba(7, 18, 38, .96) 100%); }
.product-card:hover .product-photo { opacity: 1; }
.product-card:hover .product-photo img { transform: scale(1); }

/* Barra de incidentes en móvil */
@media (max-width: 760px) {
  .topbar-right a:not(.topbar-cta) { display: none; }
  .topbar-left strong { white-space: normal; line-height: 1.1; }
}

/* Menú móvil y tablet: panel lateral con fondo oscurecido */
@media (max-width: 1080px) {
  .main-nav { left: auto; right: 0; width: min(440px, 100%); height: calc(100dvh - var(--header-h)); bottom: auto; top: var(--header-h); padding: 14px 18px 40px; box-shadow: -20px 0 60px rgba(0, 0, 0, .35); border-left: 1px solid rgba(255, 255, 255, .08); background: linear-gradient(180deg, var(--navy-900), var(--navy-950)); overscroll-behavior: contain; }
  body.nav-open .nav-backdrop { display: block; position: fixed; inset: 0; top: var(--header-h); z-index: 880; background: rgba(4, 9, 20, .55); animation: fadeIn .25s var(--ease); }
  .nav-list { gap: 0; }
  .nav-link { padding: 14px 8px; font-size: 1.05rem; }
  .nav-item.has-menu > .nav-link .nav-caret { width: 1.1em; height: 1.1em; opacity: .9; }
  .nav-item.open > .nav-link { color: #ffb45c; }
  .mega-inner { padding: 4px 0 12px; }
  .mega-link { padding: 10px 8px; }
  .mega-aside { padding: 16px; }
  .mega-aside .btn { align-self: stretch; justify-content: center; }
  .nav-cta { padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .08); }
}
@media (max-width: 480px) {
  .main-nav { width: 100%; border-left: 0; }
  body.nav-open .nav-backdrop { display: none; }
}


/* Capa 4b · ajustes */
@media (max-width: 1080px) {
  .nav-item.open > .mega { transform: none; left: auto; }
  .mega { left: auto; }
}
.cta-band .band-media { position: absolute; inset: 0; z-index: -2; }
.cta-band .band-media img { opacity: .5; }
.cta-band .band-media::after { background: linear-gradient(90deg, rgba(7, 18, 38, .92) 0%, rgba(7, 18, 38, .7) 60%, rgba(7, 18, 38, .55) 100%); }
.section-globe { isolation: isolate; }
.section-photo { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.section-photo img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.section-photo::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(7, 18, 38, .2) 0%, rgba(7, 18, 38, .85) 70%, var(--navy-900) 100%); }
.section-globe .world-map > img { opacity: .9; }


/* Capa 4c · hero sin hueco central, desplegable móvil a una columna */
.hero .container { max-width: 1560px; }
.hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); }
.hero-visual { justify-self: center; }
.orbit, .hero-panel { width: min(560px, 42vw); }
@media (min-width: 1600px) { .hero h1 { font-size: 4.4rem; max-width: 14ch; } .hero .lead { font-size: 1.3rem; } }
@media (max-width: 1080px) { .orbit, .hero-panel { width: min(440px, 86vw); } .hero-visual { justify-self: stretch; align-items: center; } }
@media (max-width: 480px) { .mega-grid { grid-template-columns: 1fr; } .mega-link small { display: none; } }


/* Capa 4d · banda de texto: una sola fila en movimiento continuo */
.ticker { padding: 22px 0; }
.ticker-row.fill { margin-top: 0; animation: tickLeft 38s linear infinite; }
@supports (animation-timeline: view()) { .ticker-row.fill { animation: tickLeft 38s linear infinite; animation-timeline: auto; } }
.ticker:hover .ticker-row.fill { animation-play-state: paused; }


/* Capa 4e · correcciones móvil: hero a una columna y desplegable sin columnas implícitas */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .mega-aside { grid-column: auto; }
  .mega-inner.mega-grid, .mega-inner.mega-simple { grid-template-columns: 1fr; }
}


/* Capa 5 · banda de alianza certificada (Samsung SDS) */
.section-partner { padding-top: 56px; padding-bottom: 24px; }
.partner-strip { display: grid; grid-template-columns: 220px 1fr 240px; gap: 40px; align-items: center; padding: 36px 40px; border-radius: var(--radius); background: linear-gradient(135deg, #fff, var(--soft)); border: 1px solid var(--line); box-shadow: var(--shadow-2); position: relative; overflow: hidden; }
.partner-strip::before { content: ''; position: absolute; inset: 0; background: url('../img/svg/bg-topo-light.svg') center / 1600px 1000px; opacity: .6; pointer-events: none; }
.partner-strip > * { position: relative; }
.partner-strip-badge { display: flex; justify-content: center; }
.partner-strip-badge img { width: 190px; height: auto; filter: drop-shadow(0 14px 30px rgba(13, 35, 64, .22)); transition: transform .5s var(--ease); }
.partner-strip:hover .partner-strip-badge img { transform: translateY(-4px) rotate(-2deg); }
.partner-strip-body h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: .5rem; }
.partner-strip-body .lead { font-size: 1.05rem; margin-bottom: .4rem; }
.partner-strip-body .chip-row { margin: 10px 0 14px; }
.partner-strip-body .hero-actions { margin-top: 4px; }
.partner-note { margin-top: 14px; font-size: .78rem; }
.partner-strip-logos { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 22px 18px; border-radius: var(--radius-2); background: #fff; border: 1px solid var(--line); }
.partner-strip-logos img { width: 180px; height: auto; }
.partner-strip-logos .plus { font-family: var(--mono); font-size: 1.6rem; color: var(--orange); line-height: 1; }
@media (max-width: 1080px) { .partner-strip { grid-template-columns: 180px 1fr; } .partner-strip-logos { grid-column: span 2; flex-direction: row; justify-content: center; gap: 24px; } }
@media (max-width: 760px) { .partner-strip { grid-template-columns: 1fr; padding: 26px 22px; gap: 22px; } .partner-strip-badge img { width: 150px; } .partner-strip-logos { grid-column: auto; flex-wrap: wrap; } .partner-strip-logos img { width: 140px; } }


/* Capa 5b · seis nodos en la órbita del hero */
.orbit .n1 { left: 50%; top: -4%; transform: translateX(-50%); }
.orbit .n2 { right: -5%; top: 20%; bottom: auto; }
.orbit .n3 { right: -3%; top: auto; bottom: 20%; }
.orbit .n6 { left: 50%; bottom: -4%; transform: translateX(-50%); animation-delay: -6s; }
.orbit .n4 { left: -3%; bottom: 20%; }
.orbit .n5 { left: -5%; top: 20%; }
@media (max-width: 760px) { .orbit .n2, .orbit .n3 { right: 0; } .orbit .n4, .orbit .n5 { left: 0; } }


/* Capa 5c · flecha de las tarjetas de producto en su sitio */
.product-card > .card-arrow { position: absolute; right: 20px; top: 20px; z-index: 2; }
.bento-item > .card-arrow { right: 18px; top: 18px; }
.product-card:hover > .card-arrow { background: var(--orange); color: #fff; transform: translate(2px, -2px); }


/* Capa 5d · tarjetas de sector: foto a sangre y panel de texto */
.sector-card.has-photo { min-height: 380px; display: block; }
.sector-card.has-photo .sector-photo { position: absolute; inset: 0; border-radius: inherit; }
.sector-card.has-photo .sector-photo picture, .sector-card.has-photo .sector-photo img { display: block; width: 100%; height: 100%; }
.sector-card.has-photo .sector-photo img { object-fit: cover; opacity: .95; }
.sector-card.has-photo .sector-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 18, 38, .15) 0%, rgba(7, 18, 38, .35) 45%, rgba(7, 18, 38, .75) 100%); }
.sector-card.has-photo .sector-body { position: relative; z-index: 1; min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end; padding: 14px; background: none; }
.sector-card.has-photo .sector-body .icon-box { position: absolute; top: 16px; left: 16px; margin: 0; background: rgba(7, 18, 38, .7); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .15); }
.sector-text { display: block; padding: 18px 18px 16px; border-radius: 16px; background: rgba(7, 18, 38, .84); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 16px 40px rgba(0, 0, 0, .35); transition: background .3s, border-color .3s; }
.sector-card.has-photo:hover .sector-text { background: rgba(7, 18, 38, .92); border-color: rgba(255, 180, 92, .45); }
.sector-card.has-photo .sector-text h3 { margin: 0 0 6px; font-size: 1.12rem; }
.sector-card.has-photo .sector-text p { margin: 0; font-size: .88rem; color: rgba(255, 255, 255, .8); }
.sector-card.has-photo .sector-needs { margin-top: 0; }
.sector-card.has-photo:hover .sector-needs, .sector-card.has-photo:focus-visible .sector-needs { margin-top: 10px; }
.sector-card.has-photo:hover .sector-photo img { transform: scale(1.06); opacity: .95; }
.sector-card.has-photo .card-arrow { top: 16px; right: 16px; background: rgba(7, 18, 38, .7); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .15); }
@media (max-width: 760px) { .sector-card.has-photo, .sector-card.has-photo .sector-body { min-height: 300px; } }

/* ============================================================
   Capa 6: idiomas y captcha de imagen
   ============================================================ */
.lang-switcher { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: #fff; font-family: var(--mono); font-size: .78rem; font-weight: 600; letter-spacing: .08em; cursor: pointer; transition: background .2s, border-color .2s; }
.lang-btn:hover, .lang-switcher.open .lang-btn { background: rgba(255, 255, 255, .14); border-color: #fff; }
.lang-btn .ico { width: 16px; height: 16px; }
.lang-btn .chev { width: 12px; height: 12px; opacity: .7; transition: transform .2s; }
.lang-switcher.open .lang-btn .chev { transform: rotate(180deg); }
.lang-menu { position: absolute; top: calc(100% + 10px); right: 0; min-width: 180px; margin: 0; padding: 6px; list-style: none; background: #fff; border-radius: 14px; box-shadow: 0 18px 50px rgba(5, 16, 38, .25); border: 1px solid rgba(11, 28, 58, .08); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 60; }
.lang-switcher.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu li { margin: 0; }
.lang-menu a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 12px; border-radius: 9px; color: var(--navy, #0b1c3a); font-weight: 600; font-size: .9rem; text-decoration: none; transition: background .15s; }
.lang-menu a:hover { background: rgba(11, 28, 58, .06); }
.lang-menu a.active { background: rgba(242, 106, 33, .1); }
.lang-menu a .code { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; opacity: .55; }
.lang-menu a.active .code { color: var(--orange, #f26a21); opacity: 1; }
@media (max-width: 1080px) {
  .lang-switcher { order: -1; }
  .lang-btn { display: none; }
  .lang-menu { position: static; opacity: 1; visibility: visible; transform: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); box-shadow: none; padding: 6px; border-radius: 12px; }
  .lang-menu a { justify-content: center; color: #fff; padding: 10px 6px; }
  .lang-menu a .name { display: none; }
  .lang-menu a .code { opacity: 1; font-size: .82rem; color: #fff; }
  .lang-menu a:hover { background: rgba(255, 255, 255, .12); }
  .lang-menu a.active { background: var(--orange, #f26a21); }
  .lang-menu a.active .code { color: #fff; }
}
.lang-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 12px; background: rgba(242, 106, 33, .08); border: 1px solid rgba(242, 106, 33, .25); font-size: .92rem; margin: 0 0 22px; }
.lang-note .ico { width: 18px; height: 18px; flex: none; color: var(--orange, #f26a21); margin-top: 2px; }

.captcha-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.captcha-img { display: inline-flex; border-radius: 10px; overflow: hidden; border: 1px solid rgba(11, 28, 58, .14); background: #0b1c3a; line-height: 0; flex: none; }
.captcha-img img { display: block; width: 160px; height: 48px; }
.captcha-refresh { width: 44px; height: 44px; flex: none; border-radius: 10px; border: 1px solid rgba(11, 28, 58, .16); background: #fff; color: var(--navy, #0b1c3a); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .2s, border-color .2s; }
.captcha-refresh:hover { background: rgba(11, 28, 58, .05); border-color: var(--navy, #0b1c3a); }
.captcha-refresh .ico { width: 18px; height: 18px; transition: transform .4s; }
.captcha-refresh:active .ico { transform: rotate(180deg); }
.field-captcha input { flex: 1 1 140px; max-width: 220px; font-family: var(--mono); letter-spacing: .28em; text-transform: uppercase; }

/* ============================================================
   Capa 6b: alto contraste (panel de accesibilidad)
   Superficies sólidas negro/blanco, texto sólido, sin fotos ni degradados.
   ============================================================ */
html.a11y-contrast { --text: #000; --muted: #000; --line: #000; --soft: #fff; --soft-2: #fff; }
html.a11y-contrast body { background: #fff; color: #000; }
html.a11y-contrast *, html.a11y-contrast *::before, html.a11y-contrast *::after { text-shadow: none !important; }
html.a11y-contrast .grad-text { background: none !important; -webkit-text-fill-color: currentColor !important; color: inherit !important; }
html.a11y-contrast :is(.hero-photo, .page-hero-photo, .band-media, .section-photo, .sector-photo, .product-photo, .hero-mesh, .grid-overlay, .net-overlay, .hero-net, .sweep, .area-photo) { display: none !important; }
html.a11y-contrast :is(.section, .section-soft, .section-contact, main, .subnav) { background: #fff !important; background-image: none !important; }
/* Superficies claras: texto negro */
html.a11y-contrast body :is(p, li, span, small, strong, em, b, h1, h2, h3, h4, h5, label, td, th, dt, dd, a, button, figcaption, blockquote, cite, legend, summary, kbd, div) { color: #000 !important; opacity: 1; }
/* Superficies oscuras: fondo negro, texto blanco */
html.a11y-contrast :is(.site-header, .topbar, .hero, .page-hero, .section-dark, .section-navy, .band, .cta-band, .site-footer, .brand-strip, .ticker, .brand-card, .product-card, .product-row-logo, .package-card.featured, .aside-card.dark, .flip-back, .bento-soc, .sector-card.has-photo, .sim-reco, .mega-aside, .icon-box, .btn-primary, .btn-secondary, .tab.active, .picker-btn.active, .a11y-btn, .a11y-seg button[aria-pressed="true"], .captcha-img, .orbit-core, .lang-menu a.active, .sticky-cta, .gate) { background: #000 !important; background-image: none !important; color: #fff !important; border-color: #fff !important; }
html.a11y-contrast :is(.site-header, .topbar, .hero, .page-hero, .section-dark, .section-navy, .band, .cta-band, .site-footer, .brand-strip, .ticker, .brand-card, .product-card, .product-row-logo, .package-card.featured, .aside-card.dark, .flip-back, .bento-soc, .sector-card.has-photo, .sim-reco, .mega-aside, .icon-box, .btn-primary, .btn-secondary, .tab.active, .picker-btn.active, .a11y-btn, .a11y-seg button[aria-pressed="true"], .captcha-img, .orbit-core, .lang-menu a.active, .sticky-cta, .gate) :is(p, li, span, small, strong, em, b, h1, h2, h3, h4, h5, label, td, th, dt, dd, a, button, figcaption, blockquote, cite, legend, summary, kbd, div) { color: #fff !important; }
/* Islas claras dentro de superficies oscuras */
html.a11y-contrast :is(.site-header, .topbar, .hero, .page-hero, .section-dark, .section-navy, .band, .cta-band, .site-footer, .brand-strip, .ticker, .brand-card, .product-card, .product-row-logo, .package-card.featured, .aside-card.dark, .flip-back, .bento-soc, .sector-card.has-photo, .sim-reco, .mega-aside, .icon-box, .btn-primary, .btn-secondary, .tab.active, .picker-btn.active, .a11y-btn, .a11y-seg button[aria-pressed="true"], .captcha-img, .orbit-core, .lang-menu a.active, .sticky-cta, .gate) :is(.mega, .lang-menu, .btn-light, .search-panel, .cookie-banner, .a11y-panel, .modal-box, .card:not(.brand-card):not(.product-card):not(.sector-card):not(.package-card.featured), .aside-card:not(.dark), .package-card:not(.featured), .partner-strip, .tab-intro, input, select, textarea) { background: #fff !important; background-image: none !important; color: #000 !important; }
html.a11y-contrast :is(.site-header, .topbar, .hero, .page-hero, .section-dark, .section-navy, .band, .cta-band, .site-footer, .brand-strip, .ticker, .brand-card, .product-card, .product-row-logo, .package-card.featured, .aside-card.dark, .flip-back, .bento-soc, .sector-card.has-photo, .sim-reco, .mega-aside, .icon-box, .btn-primary, .btn-secondary, .tab.active, .picker-btn.active, .a11y-btn, .a11y-seg button[aria-pressed="true"], .captcha-img, .orbit-core, .lang-menu a.active, .sticky-cta, .gate) :is(.mega, .lang-menu, .btn-light, .search-panel, .cookie-banner, .a11y-panel, .modal-box, .card:not(.brand-card):not(.product-card):not(.sector-card):not(.package-card.featured), .aside-card:not(.dark), .package-card:not(.featured), .partner-strip, .tab-intro, input, select, textarea) :is(p, li, span, small, strong, em, b, h1, h2, h3, h4, h5, label, td, th, dt, dd, a, button, figcaption, blockquote, cite, legend, summary, kbd, div) { color: #000 !important; }
/* Elementos oscuros dentro de islas claras (botones, iconos, panel lateral del menú) */
html.a11y-contrast :is(.site-header, .topbar, .hero, .page-hero, .section-dark, .section-navy, .band, .cta-band, .site-footer, .brand-strip, .ticker, .brand-card, .product-card, .product-row-logo, .package-card.featured, .aside-card.dark, .flip-back, .bento-soc, .sector-card.has-photo, .sim-reco, .mega-aside, .icon-box, .btn-primary, .btn-secondary, .tab.active, .picker-btn.active, .a11y-btn, .a11y-seg button[aria-pressed="true"], .captcha-img, .orbit-core, .lang-menu a.active, .sticky-cta, .gate) :is(.mega, .lang-menu, .btn-light, .search-panel, .cookie-banner, .a11y-panel, .modal-box, .card:not(.brand-card):not(.product-card):not(.sector-card):not(.package-card.featured), .aside-card:not(.dark), .package-card:not(.featured), .partner-strip, .tab-intro, input, select, textarea) :is(.mega-aside, .icon-box, .btn-primary, .btn-secondary, .lang-menu a.active, .tab.active, .picker-btn.active) { background: #000 !important; background-image: none !important; color: #fff !important; }
html.a11y-contrast :is(.site-header, .topbar, .hero, .page-hero, .section-dark, .section-navy, .band, .cta-band, .site-footer, .brand-strip, .ticker, .brand-card, .product-card, .product-row-logo, .package-card.featured, .aside-card.dark, .flip-back, .bento-soc, .sector-card.has-photo, .sim-reco, .mega-aside, .icon-box, .btn-primary, .btn-secondary, .tab.active, .picker-btn.active, .a11y-btn, .a11y-seg button[aria-pressed="true"], .captcha-img, .orbit-core, .lang-menu a.active, .sticky-cta, .gate) :is(.mega, .lang-menu, .btn-light, .search-panel, .cookie-banner, .a11y-panel, .modal-box, .card:not(.brand-card):not(.product-card):not(.sector-card):not(.package-card.featured), .aside-card:not(.dark), .package-card:not(.featured), .partner-strip, .tab-intro, input, select, textarea) :is(.mega-aside, .icon-box, .btn-primary, .btn-secondary, .lang-menu a.active, .tab.active, .picker-btn.active) :is(p, li, span, small, strong, em, b, h1, h2, h3, h4, h5, label, td, th, dt, dd, a, button, figcaption, blockquote, cite, legend, summary, kbd, div) { color: #fff !important; }
/* Bordes visibles y enlaces subrayados */
html.a11y-contrast :is(.card, .aside-card, .package-card, .tab, .chip, .picker-btn, .btn-ghost, .btn-outline-light, .lang-btn, .nav-search, input, select, textarea, .field-notice, .alert) { border-color: currentColor !important; }
html.a11y-contrast :is(.chip, .pill) { background: transparent !important; }
html.a11y-contrast :is(main, .site-footer) a:not(.btn):not(.card):not(.chip) { text-decoration: underline !important; }
html.a11y-contrast .reveal { opacity: 1 !important; transform: none !important; }
html.a11y-contrast .story-step { opacity: 1 !important; }

/* ============================================================
   Capa 6c: recuadro de logotipo en la ficha de producto
   Logotipo e insignia de partner apilados (antes iban en fila y se solapaban)
   ============================================================ */
.product-hero-logo { flex-direction: column; text-align: center; min-width: 0; }
.product-hero-logo > picture, .product-hero-logo > .logo-light { display: block; max-width: 100%; }
.product-hero-logo > picture img { display: block; height: auto; margin: 0 auto; }
.product-hero-logo .partner-badge { width: 100%; justify-content: center; }
.product-hero-logo .partner-badge picture { flex: none; }
/* Las columnas de las fichas no deben ensancharse por el contenido de sus bloques en móvil */
.detail-grid > *, .detail-main > *, .detail-aside > * { min-width: 0; }
/* Botones con texto largo: pasan a dos líneas en vez de salirse de su tarjeta */
.aside-card .btn { max-width: 100%; }
.aside-card .btn > span { white-space: normal; line-height: 1.25; text-align: center; }
@media (max-width: 760px) {
  .btn { max-width: 100%; }
  .btn > span { white-space: normal; line-height: 1.25; text-align: center; }
}
/* Tarjetas giratorias y textos legales: ajustarse al ancho disponible en tableta y móvil */
.flip-inner { grid-template-columns: minmax(0, 1fr); }
.flip-face { min-width: 0; overflow-wrap: break-word; hyphens: auto; }
/* En tableta, tres columnas de tarjetas quedan demasiado estrechas: pasan a dos */
@media (min-width: 761px) and (max-width: 1080px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.legal-layout > * { min-width: 0; }

/* ============================================================
   Capa 6d: «Servicios por necesidad» en móvil como desplegable
   En PC y tableta se mantienen las pestañas.
   ============================================================ */
.tab-picker { display: none; }
@media (max-width: 760px) {
  .tabs { position: relative; }
  .tab-picker { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 16px 12px 12px; margin-bottom: 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-2); color: var(--navy-800); font: inherit; text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
  .tab-picker:focus-visible, .tabs.picker-open .tab-picker { border-color: var(--navy-700); }
  .tab-picker-ico { width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--navy-700); color: #ffb45c; display: inline-flex; align-items: center; justify-content: center; }
  .tab-picker-ico .ico { width: 20px; height: 20px; }
  .tab-picker-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
  .tab-picker-text small { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
  .tab-picker-text strong { font-size: 1rem; line-height: 1.3; }
  .tab-picker-chev { width: 20px; height: 20px; flex: none; color: var(--orange); transition: transform .25s var(--ease); }
  .tabs.picker-open .tab-picker-chev { transform: rotate(180deg); }
  /* Lista desplegable sobre el contenido */
  .tab-list { position: absolute; z-index: 30; left: 0; right: 0; top: 82px; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 2px; padding: 6px; overflow: visible; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px rgba(4, 9, 20, .22); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s; }
  .tabs.picker-open .tab-list { opacity: 1; visibility: visible; transform: none; transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s; }
  .tab-list .tab { width: 100%; justify-content: flex-start; text-align: left; border: 0; border-radius: 12px; padding: 12px 12px; font-size: .95rem; line-height: 1.3; background: transparent; color: var(--navy-800); transform: none; }
  .tab-list .tab:hover { transform: none; background: var(--soft); }
  .tab-list .tab .ico { width: 20px; height: 20px; flex: none; color: var(--orange); }
  .tab-list .tab.active { background: rgba(242, 106, 33, .1); color: var(--navy-900); }
  .tab-list .tab.active .ico { color: var(--orange); }
  .tab-list .tab.active::after { content: ''; margin-left: auto; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--orange); }
}

/* ============================================================
   Capa 7: actualidad (blog) y su editor en el panel
   ============================================================ */
.post-grid .post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-card-photo { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy-900); }
.post-card-photo picture, .post-card-photo img { display: block; width: 100%; height: 100%; }
.post-card-photo img { object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-card-photo img { transform: scale(1.04); }
.post-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card-body h3 { margin: 0; font-size: 1.15rem; line-height: 1.3; }
.post-card-body h3 a { color: inherit; text-decoration: none; }
.post-card-body h3 a:hover { color: var(--navy-700); }
.post-card-body p { margin: 0; color: var(--muted); font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card-body .inline-link { margin-top: auto; }
.post-featured { display: grid; grid-template-columns: 1.15fr 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-2); margin-bottom: 36px; }
.post-featured-photo { display: block; min-height: 340px; background: var(--navy-900); }
.post-featured-photo picture, .post-featured-photo img { display: block; width: 100%; height: 100%; }
.post-featured-photo img { object-fit: cover; }
.post-featured-body { padding: 40px; display: flex; flex-direction: column; gap: 14px; }
.post-featured-body h2 { margin: 0; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.2; }
.post-featured-body h2 a { color: inherit; text-decoration: none; }
.post-featured-body .lead { margin: 0; }
.pill-featured { background: rgba(237, 122, 0, .12); color: #a24d00; display: inline-flex; align-items: center; gap: .35em; width: fit-content; }
.pill-featured .ico { width: 14px; height: 14px; }
.post-hero .page-hero-inner h1 { max-width: 22ch; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; color: rgba(255, 255, 255, .82); font-size: .92rem; }
.post-meta span { display: inline-flex; align-items: center; gap: .45em; }
.post-meta .ico { width: 16px; height: 16px; color: var(--orange); }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.post-body { max-width: 760px; font-size: 1.08rem; line-height: 1.75; }
.post-body .post-excerpt { font-weight: 600; color: var(--navy-800); }
.post-body h2 { font-size: 1.45rem; margin: 2em 0 .6em; }
.post-body h3 { font-size: 1.2rem; margin: 1.6em 0 .5em; }
.post-body h4 { font-size: 1.05rem; margin: 1.4em 0 .4em; }
.post-body p { margin: 0 0 1.1em; }
.post-body ul { margin: 0 0 1.2em; padding-left: 1.3em; }
.post-body li { margin-bottom: .4em; }
.post-body li::marker { color: var(--orange); }
.post-body blockquote { margin: 1.6em 0; padding: 18px 24px; border-left: 4px solid var(--orange); background: var(--soft); border-radius: 10px; font-size: 1.05rem; }
.post-body blockquote p { margin: 0; }
.post-body a { color: var(--navy-700); text-decoration: underline; text-underline-offset: 3px; }
.post-body code { font-family: var(--mono); font-size: .9em; background: var(--soft); padding: .1em .4em; border-radius: 6px; }
.post-source { margin: 2em 0 1em; padding: 18px 22px; border: 1px solid var(--line); border-radius: 14px; display: flex; flex-direction: column; gap: 6px; }
.post-source a { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.post-source a .ico { width: 16px; height: 16px; flex: none; }
.post-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 1.5em 0; }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.pagination a { min-width: 42px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; text-align: center; font-weight: 600; text-decoration: none; color: var(--navy-800); }
.pagination a.active { background: var(--navy-700); color: #fff; border-color: var(--navy-700); }
@media (max-width: 1080px) {
  .post-layout { grid-template-columns: 1fr; gap: 28px; }
  .post-featured { grid-template-columns: 1fr; }
  .post-featured-photo { min-height: 0; aspect-ratio: 16 / 9; }
  .post-featured-body { padding: 26px; }
}

/* Panel: blog */
.panel-blog-head { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.panel-switch { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); flex: 1; min-width: 320px; }
.panel-switch-text { flex: 1; }
.panel-switch small { display: block; color: var(--muted); font-size: .85rem; }
.panel-switch-dot { width: 14px; height: 14px; border-radius: 50%; flex: none; background: #c0392b; box-shadow: 0 0 0 4px rgba(192, 57, 43, .15); }
.panel-switch.on .panel-switch-dot { background: #1aa260; box-shadow: 0 0 0 4px rgba(26, 162, 96, .18); }
.panel-posts td { vertical-align: middle; }
.panel-order { white-space: nowrap; }
.panel-order form { display: inline-flex; flex-direction: column; gap: 2px; vertical-align: middle; margin-right: 8px; }
.icon-btn { width: 28px; height: 24px; border: 1px solid var(--line); background: #fff; border-radius: 6px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--navy-800); }
.icon-btn .ico { width: 14px; height: 14px; }
.icon-btn:disabled { opacity: .3; cursor: default; }
.panel-row-actions { display: flex; flex-wrap: wrap; gap: 6px; min-width: 300px; }
.panel-row-actions form { display: inline-flex; gap: 6px; }
.row-muted td { background: #fafbfd; }
.pill-draft { background: #fff3cd; color: #7a5200; }
.pill-published { background: #e3f6ec; color: #136b3c; }
.pill-archived { background: #eceff3; color: #4b5563; }
.btn-danger { color: #b3261e; }
.panel-editor { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .7fr); gap: 20px; align-items: start; }
.panel-editor .panel-card h3 { margin: 18px 0 10px; font-size: 1.05rem; }
.panel-editor textarea.mono { font-family: var(--mono); font-size: .9rem; line-height: 1.5; }
.panel-help { font-size: .85rem; margin-top: 8px; }
.panel-help ul { margin: 8px 0 0; padding-left: 1.2em; }
.panel-cover { display: block; width: 100%; height: auto; border-radius: 10px; margin: 6px 0 14px; }
.panel-editor-actions { display: flex; gap: 10px; margin-top: 16px; }
@media (max-width: 1080px) { .panel-editor { grid-template-columns: 1fr; } }
.panel-editor .field-msg { display: block; font-size: .8rem; color: var(--muted); margin-top: 4px; }
.panel-editor .field.error .field-msg { color: var(--red); }

/* Imagen de la noticia con pie de foto */
.post-figure { margin: 0 0 2em; }
.post-figure picture, .post-figure img { display: block; width: 100%; height: auto; border-radius: var(--radius-2); }
.post-figure figcaption { margin-top: 10px; font-size: .88rem; line-height: 1.5; color: var(--muted); padding-left: 12px; border-left: 3px solid var(--orange); }
.post-hero .page-hero-inner h1 { max-width: 26ch; }

/* Móvil y tableta: aire alrededor del radar del hero (separado de las claims arriba y del panel de pilares abajo) */
@media (max-width: 1080px) { .hero-visual { margin-top: 36px; gap: 34px; } .orbit { margin: 18px auto; } }

/* Portada: franja de actualidad (noticia principal + lista con miniaturas) */
.section-news { padding-top: clamp(40px, 5vw, 64px); }
.news-strip { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 2.6vw, 34px); box-shadow: var(--shadow-2); }
.news-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.news-head h2 { margin: 6px 0 0; font-size: clamp(1.4rem, 2.3vw, 1.9rem); }
.news-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 30px; align-items: start; }
.news-lead { display: grid; gap: 16px; }
.news-lead-media { display: block; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: var(--navy-900); }
.news-lead-media picture, .news-lead-media img, .news-thumb picture, .news-thumb img { display: block; width: 100%; height: 100%; }
.news-lead-media img, .news-thumb img { object-fit: cover; transition: transform .6s var(--ease); }
.news-lead:hover .news-lead-media img, .news-item:hover .news-thumb img { transform: scale(1.04); }
.news-lead h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.2; margin: 4px 0 8px; }
.news-lead h3 a, .news-item h4 a { color: var(--ink); text-decoration: none; }
.news-lead h3 a:hover, .news-item h4 a:hover { color: var(--navy-700); }
.news-summary { color: var(--muted); font-size: .98rem; margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.news-meta .pill-featured { font-family: var(--font); letter-spacing: 0; text-transform: none; }
.news-cat { padding: 2px 9px; border-radius: 999px; background: var(--soft); color: var(--navy-800); }
.news-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.news-item { display: grid; grid-template-columns: 124px 1fr; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.news-item:first-child { border-top: 0; padding-top: 0; }
.news-thumb { display: block; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--navy-900); }
.news-item h4 { font-size: .98rem; line-height: 1.3; margin: 4px 0 0; font-weight: 700; }
.news-item .news-meta { font-size: .66rem; }
@media (max-width: 1080px) { .news-grid { grid-template-columns: 1fr; gap: 22px; } .news-list { border-top: 1px solid var(--line); padding-top: 6px; } }
@media (max-width: 480px) { .news-item { grid-template-columns: 100px 1fr; } }
