/* ==========================================================================
   OmniPRIT — sistema de diseño del sitio
   Base, tipografía, componentes y estructura común (cabecera, pie).
   Lo propio de cada página va en su hoja (home.css, …).
   ========================================================================== */

@font-face { font-family: 'Archivo'; src: url(../fonts/archivo-var.woff2) format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url(../fonts/plex-sans-var.woff2) format('woff2'); font-weight: 100 700; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url(../fonts/plex-mono-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url(../fonts/plex-mono-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }

:root {
  --blue: #0047FF;
  --blue-2: #2E6BFF;
  --blue-hi: #7FA6FF;
  --blue-soft: #EAF0FF;
  --blue-deep: #0A1F7A;

  --night: #060A14;
  --night-2: #0B1222;
  --night-3: #121B30;

  --ink: #0C1424;
  --ink-2: #2A3550;
  --muted: #5E6B85;
  --paper: #F5F4F0;
  --paper-2: #EDECE6;
  --white: #FFFFFF;
  --line: #E2E0D8;
  --line-2: #D3D1C8;

  --ok: #109A55;
  --ok-soft: #E3F6EC;
  --soon: #8A4F00;
  --soon-bg: #FBF1E2;
  --soon-line: #E7C99A;

  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --body: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --hdr: 72px;
  --r-s: 8px;
  --r: 14px;
  --r-l: 22px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --sh-1: 0 1px 2px rgba(12, 20, 36, .06), 0 2px 8px rgba(12, 20, 36, .04);
  --sh-2: 0 2px 4px rgba(12, 20, 36, .04), 0 12px 32px -8px rgba(12, 20, 36, .14);
  --sh-3: 0 4px 8px rgba(6, 10, 20, .08), 0 40px 80px -24px rgba(6, 10, 20, .35);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink-2); font: 400 1.0625rem/1.62 var(--body); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
b, strong { font-weight: 600; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 4px; }
@view-transition { navigation: auto; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.mono { font-family: var(--mono); font-weight: 500; letter-spacing: .02em; }
.ico { flex: none; }

/* ---------- Tipografía ---------- */
.h1, .h2, h3 { font-family: var(--display); color: var(--ink); text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
.h1 { font-size: clamp(2.6rem, 1.15rem + 5.3vw, 5.5rem); line-height: .97; font-weight: 720; font-stretch: 106%; letter-spacing: -.042em; }
.h2 { font-size: clamp(2rem, 1.2rem + 2.9vw, 3.5rem); line-height: 1.02; font-weight: 680; font-stretch: 100%; letter-spacing: -.035em; }
h3 { font-size: 1.25rem; line-height: 1.2; font-weight: 650; letter-spacing: -.015em; }
.lead { font-size: clamp(1.06rem, 1rem + .3vw, 1.22rem); line-height: 1.58; color: var(--muted); max-width: 38em; text-wrap: pretty; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 .78rem/1 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--blue); margin-bottom: 22px; }
.eyebrow .mono { color: var(--muted); }
.eyebrow--light { color: var(--blue-hi); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 4px rgba(61, 220, 132, .16); animation: pulse-dot 2.4s ease-in-out infinite; }
@keyframes pulse-dot { 50% { box-shadow: 0 0 0 7px rgba(61, 220, 132, 0); } }

.shead { max-width: 820px; margin-bottom: clamp(48px, 6vw, 80px); }
.shead .lead { margin-top: 22px; }
.shead--center { text-align: center; margin-left: auto; margin-right: auto; }
.shead--center .lead { margin-left: auto; margin-right: auto; }

.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue); }
.link .ico { transition: transform .35s var(--ease); }
.link:hover .ico { transform: translateX(4px); }

.ticks { display: grid; gap: 12px; margin: 28px 0 32px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.ticks .ico { color: var(--blue); margin-top: 4px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-block; font-size: .86rem; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-2); background: var(--white); transition: border-color .2s, color .2s; }
.chips a:hover { border-color: var(--blue); color: var(--blue); }

.badge-soon { display: inline-block; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--soon); background: var(--soon-bg); border: 1px solid var(--soon-line); padding: 5px 9px; border-radius: 6px; }

/* ---------- Secciones oscuras ---------- */
.dark { position: relative; background: var(--night); color: rgba(255, 255, 255, .72); isolation: isolate; }
.dark .h1, .dark .h2, .dark h3 { color: #fff; }
.dark .lead { color: rgba(255, 255, 255, .62); }
.grain::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- Botones ---------- */
.btn { --bh: 46px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--bh); max-width: 100%; padding: 6px 20px; border-radius: 11px; font: 600 .97rem/1.2 var(--body); letter-spacing: -.005em; text-align: center; transition: background .25s, color .25s, border-color .25s, box-shadow .25s, transform .4s var(--ease); will-change: transform; }
.btn .ico { transition: transform .35s var(--ease); }
.btn > span { min-width: 0; overflow-wrap: anywhere; }
.btn:hover .ico:last-child { transform: translateX(3px); }
.btn--sm { --bh: 40px; padding: 6px 16px; font-size: .9rem; border-radius: 10px; }
.btn--lg { --bh: 56px; padding: 8px 26px; font-size: 1.02rem; border-radius: 13px; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .22) inset, 0 8px 24px -8px rgba(0, 71, 255, .6); }
.btn--primary:hover { background: #1658FF; box-shadow: 0 1px 0 rgba(255, 255, 255, .22) inset, 0 12px 32px -8px rgba(0, 71, 255, .75); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghost-light { border: 1px solid rgba(255, 255, 255, .2); color: #fff; }
.btn--ghost-light:hover { border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .04); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--blue-soft); }

/* ---------- Marca ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.brand .mark { flex: none; }
.hdr .brand__name { overflow: hidden; text-overflow: clip; white-space: nowrap; }
.hdr__cta { flex: none; }
.brand__name { font: 700 1.28rem/1 var(--display); letter-spacing: -.03em; color: var(--ink); }
.brand__name b { font-weight: 700; color: var(--blue); }

/* ---------- Cabecera ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--hdr); transition: background .35s, border-color .35s, backdrop-filter .35s; border-bottom: 1px solid transparent; }
.hdr__in { min-width: 0; height: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); display: flex; align-items: center; gap: 32px; }
.hdr.is-solid, body:not(.top-dark) .hdr { background: rgba(245, 244, 240, .82); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom-color: rgba(12, 20, 36, .07); }
.hdr.is-solid.on-dark { background: rgba(6, 10, 20, .72); border-bottom-color: rgba(255, 255, 255, .07); }
.hdr.on-dark .brand__name, .hdr.on-dark .nav__link { color: #fff; }
.hdr.on-dark .nav__link:hover, .hdr.on-dark .nav__link[aria-expanded="true"] { background: rgba(255, 255, 255, .08); color: #fff; }
.hdr.on-dark .burger span { background: #fff; }
.top-dark .hdr:not(.is-solid) .brand__name, .top-dark .hdr:not(.is-solid) .nav__link { color: #fff; }
.top-dark .hdr:not(.is-solid) .nav__link:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.top-dark .hdr:not(.is-solid) .burger span { background: #fff; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 13px; border-radius: 9px; font-weight: 500; font-size: .95rem; color: var(--ink-2); transition: background .2s, color .2s; }
.nav__link:hover, .nav__link[aria-expanded="true"] { background: rgba(12, 20, 36, .05); color: var(--ink); }
.nav__link[aria-current] { color: var(--blue); }
.nav__chev { transition: transform .3s var(--ease); opacity: .6; }
.nav__link[aria-expanded="true"] .nav__chev { transform: rotate(180deg); }
.hdr__cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }

/* mega menú de Plataforma y desplegable de Soluciones */
.mega, .drop { position: absolute; top: calc(100% + 14px); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, transform .35s var(--ease), visibility 0s .3s; }
[data-drop].is-open .mega, [data-drop].is-open .drop { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .35s var(--ease); }
.mega { position: fixed; left: 50%; top: calc(var(--hdr) - 6px); transform: translate(-50%, -6px); width: min(1180px, calc(100vw - 32px)); }
[data-drop].is-open .mega { transform: translate(-50%, 0); }
.mega__in { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 36px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: 30px; box-shadow: var(--sh-3); }
.mega__intro { border-right: 1px solid var(--line); padding-right: 30px; display: flex; flex-direction: column; gap: 14px; }
.mega__intro .mono { font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--blue); }
.mega__title { font: 600 1.18rem/1.3 var(--display); color: var(--ink); letter-spacing: -.015em; }
.mega__intro .link { margin-top: auto; font-size: .92rem; }
.mega__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 22px; }
.mega__block { display: flex; align-items: baseline; gap: 8px; font: 650 .95rem/1.25 var(--display); color: var(--ink); margin-bottom: 9px; }
.mega__block .mono { font-size: .72rem; color: var(--blue); }
.mega__col li a { display: block; font-size: .87rem; line-height: 1.35; padding: 4px 0; color: var(--muted); transition: color .2s; }
.mega__col li a:hover, .mega__block:hover { color: var(--blue); }
.drop { left: -12px; width: 400px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: 10px; box-shadow: var(--sh-3); }
.drop__item { display: flex; gap: 14px; padding: 12px; border-radius: 12px; color: var(--ink); transition: background .2s; }
.drop__item:hover { background: var(--paper); }
.drop__item .ico { color: var(--blue); margin-top: 2px; }
.drop__item b { display: block; font-size: .95rem; }
.drop__item small { display: block; font-size: .84rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }

/* menú móvil */
.burger { display: none; width: 42px; height: 42px; border-radius: 10px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 20.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20.5px; transform: rotate(-45deg); }
.mnav { position: fixed; inset: var(--hdr) 0 0; z-index: 99; background: var(--paper); overflow-y: auto; padding: 12px var(--gut) 40px; }
.mnav[hidden] { display: none; }
.mnav__in > a, .mnav summary { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); font: 650 1.35rem/1.2 var(--display); color: var(--ink); letter-spacing: -.02em; list-style: none; cursor: pointer; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav details[open] summary .ico { transform: rotate(45deg); }
.mnav summary .ico { transition: transform .3s var(--ease); }
.mnav__sub { display: grid; padding: 8px 0 16px; border-bottom: 1px solid var(--line); }
.mnav__sub a { padding: 9px 0; color: var(--ink-2); display: flex; gap: 10px; align-items: center; }
.mnav__sub .mono { color: var(--blue); width: 30px; font-size: .8rem; }
.mnav__cta { padding-top: 28px; }
.mnav__cta .btn { width: 100%; }
body.menu-open { overflow: hidden; }
body.menu-open .hdr { background: var(--paper); }
body.menu-open .hdr .brand__name, body.menu-open .hdr .burger span { color: var(--ink); }
body.menu-open .burger span { background: var(--ink) !important; }

/* ---------- Marco de navegador y capturas ---------- */
.frame { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px rgba(12, 20, 36, .08), var(--sh-3); }
.frame__bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #F3F4F7; border-bottom: 1px solid #E6E8EE; }
.frame__bar i { width: 10px; height: 10px; border-radius: 50%; background: #D6D9E1; }
.frame__bar span { margin-left: 14px; font: 500 .72rem/1 var(--mono); color: #8A93A6; background: #fff; border: 1px solid #E6E8EE; border-radius: 6px; padding: 5px 12px; flex: 0 1 260px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.frame__body { position: relative; }
.frame .shot { width: 100%; aspect-ratio: 1400 / 876; object-fit: cover; object-position: top left; }
.frame__body.crop { overflow: hidden; aspect-ratio: 1167 / 876; }
.frame__body.crop .shot { width: 119.97%; max-width: none; margin-left: -19.97%; }

/* fichas flotantes sobre capturas */
.ovl { position: absolute; z-index: 2; }
.chip { display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(12, 20, 36, .08); border-radius: 14px; box-shadow: var(--sh-2); white-space: nowrap; }
.chip b { display: block; font-size: .9rem; color: var(--ink); line-height: 1.2; }
.chip small { display: flex; align-items: center; gap: 4px; font-size: .78rem; color: var(--muted); margin-top: 2px; }
.chip__ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.chip--ok .chip__ico { background: var(--ok-soft); color: var(--ok); }
.chip__ico--ai { background: linear-gradient(135deg, #2E6BFF, #0A1F7A); color: #fff; }
.typing i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; animation: typing 1.2s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }

/* tarjeta con luz que sigue al cursor */
.spot { position: relative; overflow: hidden; }
.spot::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 71, 255, .08), transparent 45%); }
.spot:hover::before { opacity: 1; }

/* ---------- Animaciones de entrada ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-split] .w { display: inline-block; max-width: 100%; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js [data-split] .w > span { display: inline-block; max-width: 100%; overflow-wrap: anywhere; hyphens: auto; transform: translateY(105%); transition: transform 1.05s var(--ease); transition-delay: calc(var(--wi, 0) * 28ms + var(--d, 0s)); }
.js [data-split].is-in .w > span { transform: none; }
.js [data-split="lines"] .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.js [data-split="lines"] .line > span { display: block; transform: translateY(105%); transition: transform 1.2s var(--ease); transition-delay: calc(var(--li, 0) * 110ms + .1s); }
.js [data-split="lines"].is-in .line > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-split] .w > span, .js [data-split="lines"] .line > span { opacity: 1; transform: none; }
}

/* ---------- Cierre ---------- */
.final { padding: clamp(120px, 15vw, 210px) 0; text-align: center; overflow: hidden; background: radial-gradient(900px 500px at 50% 110%, rgba(0, 71, 255, .45), transparent 70%), var(--night); }
.final__mark { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: -1; opacity: .07; }
.final__svg { width: min(560px, 90vw); height: auto; animation: spin 120s linear infinite; }
.final__in { max-width: 900px; }
.final__t { margin: 0 auto; }
.final .lead { margin: 28px auto 0; }
.final__ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 44px; }
.final__mail { margin-top: 28px; font-size: .95rem; color: rgba(255, 255, 255, .5); }
.final__mail a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .3); }

@media (max-width: 1280px) {
  .win__app { grid-template-columns: minmax(0, 1fr); }
  .win__app .ax-side { display: none; }
}


@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Razones ---------- */
.why { padding: clamp(100px, 12vw, 170px) 0; }
.why__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.why__head { position: sticky; top: calc(var(--hdr) + 48px); }
.why__head .lead { margin-top: 22px; }
.why__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.why__list li { padding: 30px 0 34px; border-top: 1px solid rgba(255, 255, 255, .1); position: relative; }
.why__list li::before { content: ''; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--blue-hi); transition: width .7s var(--ease); }
.why__list li:hover::before { width: 100%; }
.why__list .mono { font-size: .78rem; color: var(--blue-hi); }
.why__list h3 { font-size: 1.2rem; margin: 14px 0 10px; }
.why__list p { font-size: .96rem; color: rgba(255, 255, 255, .58); }

@media (max-width: 1080px) { .why__in { grid-template-columns: minmax(0, 1fr); } .why__head { position: static; } }
@media (max-width: 760px) { .why__list { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Pie ---------- */
.ftr { background: var(--night); color: rgba(255, 255, 255, .58); padding: 88px 0 36px; font-size: .94rem; }
.ftr .brand__name { color: #fff; }
.ftr__top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); gap: 64px; padding-bottom: 64px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ftr__brand p { margin: 22px 0 26px; max-width: 30em; line-height: 1.6; }
.ftr__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.ftr__cols .mono { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: rgba(255, 255, 255, .38); margin-bottom: 18px; }
.ftr__cols li { margin-bottom: 11px; }
.ftr__cols a { transition: color .2s; overflow-wrap: anywhere; }
.ftr__cols a:hover { color: #fff; }
.ftr__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 28px; font-size: .86rem; }
.ftr__by { display: inline-flex; align-items: center; gap: 14px; opacity: .75; transition: opacity .2s; }
.ftr__by:hover { opacity: 1; }
.ftr__by img { height: 26px; width: auto; }

/* barra de demo fija en móvil */
.mcta { display: none; }

/* botón flotante de WhatsApp */
.wafloat { position: fixed; right: 24px; bottom: 24px; z-index: 95; display: flex; align-items: center; gap: 12px; text-decoration: none; }
.wafloat[hidden] { display: none; }
.wafloat__btn { position: relative; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff; box-shadow: 0 10px 28px -6px rgba(18, 140, 70, .6), 0 2px 6px rgba(6, 10, 20, .18); transition: transform .3s var(--ease), box-shadow .3s; }
.wafloat__btn .ico { stroke-width: 1.9; }
.wafloat__btn::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; opacity: 0; animation: wa-ring 3.2s var(--ease) 1.2s 3; }
.wafloat__label { background: #fff; color: var(--ink); font-size: .9rem; font-weight: 600; padding: 10px 14px; border-radius: 12px; box-shadow: var(--sh-3); white-space: nowrap; opacity: 0; transform: translateX(8px); pointer-events: none; transition: opacity .25s, transform .3s var(--ease); }
.wafloat:hover .wafloat__btn, .wafloat:focus-visible .wafloat__btn { transform: scale(1.06); box-shadow: 0 14px 34px -6px rgba(18, 140, 70, .7), 0 2px 6px rgba(6, 10, 20, .18); }
.wafloat:hover .wafloat__label, .wafloat:focus-visible .wafloat__label { opacity: 1; transform: none; }
.wafloat:focus-visible { outline: none; }
.wafloat:focus-visible .wafloat__btn { outline: 3px solid var(--blue); outline-offset: 3px; }
@keyframes wa-ring { 0% { opacity: .7; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.55); } }
@media (prefers-reduced-motion: reduce) { .wafloat__btn::after { animation: none; } }
/* con el webchat encendido, su burbuja ocupa la esquina: WhatsApp va encima */
.has-webchat .wafloat { bottom: 100px; }

/* aviso de cookies */
.consent { position: fixed; left: 16px; bottom: 16px; z-index: 120; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; box-shadow: var(--sh-3); font-size: .9rem; color: var(--ink-2); }
.consent[hidden] { display: none; }
.consent a { color: var(--blue); text-decoration: underline; }
.consent div { display: flex; gap: 10px; justify-content: flex-end; margin-top: 14px; flex-wrap: wrap; }

/* ---------- Responsive base ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: block; }
  .hdr__cta .btn { display: none; }
  .ftr__top { grid-template-columns: minmax(0, 1fr); gap: 48px; }
}
@media (max-width: 760px) {
  :root { --hdr: 64px; }
  .ftr__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 20px; }
  .mcta { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; transform: translateY(140%); transition: transform .5s var(--ease); }
  .mcta.is-on { transform: none; }
  .mcta .btn { width: 100%; height: 52px; box-shadow: 0 10px 30px -6px rgba(0, 71, 255, .55); }
  .has-webchat .mcta { right: 84px; }
  /* la barra de demo deja sitio al botón de WhatsApp, a su derecha y a la misma altura */
  .wafloat { right: 12px; bottom: 12px; }
  .wafloat__btn { width: 52px; height: 52px; }
  .wafloat__label { display: none; }
  .mcta:has(~ .wafloat:not([hidden])) { right: 76px; }
  .has-webchat .wafloat { bottom: 76px; }
  .btn--lg { --bh: 52px; padding: 8px 20px; }
}
