/* ============ Tipografías alojadas en el propio sitio ============ */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/assets/fonts/jakarta-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: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/assets/fonts/jakarta-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/jbmono-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; }

/* ============ Tokens ============ */
:root {
  --blue-900: #0B1533;   /* navy del logotipo */
  --blue-700: #1D3FE0;   /* cobalto */
  --blue-600: #2156E8;
  --blue-500: #2E8BF0;
  --cyan-400: #22D3EE;
  --grad: linear-gradient(120deg, var(--blue-700) 0%, var(--blue-500) 55%, var(--cyan-400) 100%);

  --bg: #F7F9FD;
  --surface: #FFFFFF;
  --tint: #EEF3FC;
  --text: #0B1533;
  --muted: #4A5675;
  --border: #DFE6F3;
  --ring: #2156E8;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(11,21,51,.04), 0 8px 24px -12px rgba(11,21,51,.12);
  --shadow-lg: 0 2px 4px rgba(11,21,51,.04), 0 24px 48px -20px rgba(29,63,224,.28);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(34,211,238,.3); }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mono { font-family: var(--mono); font-size: 12.5px; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: transform 160ms var(--ease-out), box-shadow 200ms ease, background-color 200ms ease, border-color 200ms ease;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 200ms var(--ease-out); }
.btn:active { transform: scale(0.97); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn--primary { background: var(--grad); background-size: 140% 100%; color: #fff; box-shadow: 0 8px 20px -8px rgba(33,86,232,.6); }
.btn--ghost { background: var(--surface); border-color: var(--border); color: var(--text); }
.btn--light { background: #fff; color: var(--blue-900); }
.btn--outline-light { border-color: rgba(255,255,255,.45); color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { box-shadow: 0 12px 28px -8px rgba(33,86,232,.7); }
  .btn:hover svg { transform: translateX(3px); }
  .btn--ghost:hover { border-color: #b9c7e4; }
  .btn--outline-light:hover { background: rgba(255,255,255,.1); }
}

/* ============ Nav ============ */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color 250ms ease, box-shadow 250ms ease, backdrop-filter 250ms ease; }
.nav.is-scrolled { background: rgba(247,249,253,.78); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); box-shadow: 0 1px 0 var(--border); }
.nav__inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__name { font-weight: 800; letter-spacing: .14em; font-size: 17px; color: var(--blue-900); }
.nav__links { display: flex; gap: 28px; margin-left: auto; font-size: 14.5px; font-weight: 500; color: var(--muted); }
.nav__links a { position: relative; padding: 6px 0; transition: color 200ms ease; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 250ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .nav__links a:hover { color: var(--text); }
  .nav__links a:hover::after { transform: scaleX(1); }
}
.nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; position: relative; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 250ms var(--ease-out); }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { display: grid; gap: 4px; padding: 8px 16px 20px; background: rgba(247,249,253,.96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 12px 4px; font-weight: 600; border-bottom: 1px solid var(--border); }
.mobile-menu .btn { margin-top: 12px; }
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
}

/* ============ Hero ============ */
.hero { position: relative; padding: 148px 0 96px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.blob--a { width: 520px; height: 520px; background: #8FB4FF; top: -160px; right: -80px; animation: drift 18s ease-in-out infinite alternate; }
.blob--b { width: 420px; height: 420px; background: #9AF0FB; bottom: -120px; left: -120px; opacity: .45; animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate3d(-60px, 50px, 0) scale(1.08); } }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(11,21,51,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(11,21,51,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero__wave { position: absolute; left: 0; right: 0; bottom: 40px; width: 100%; height: 240px; }

.hero__inner { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 10px; border-radius: 999px; background: rgba(255,255,255,.7); border: 1px solid var(--border); font-size: 13px; font-weight: 600; color: var(--blue-600); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan-400); flex: none; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 2s var(--ease-out) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3); opacity: 0; } }

.hero__title { margin-top: 22px; font-size: clamp(36px, 4.3vw, 58px); font-weight: 800; }
.hero__title .grad { display: block; }
.hero__sub { margin-top: 22px; font-size: clamp(16.5px, 1.4vw, 19px); color: var(--muted); max-width: 54ch; }
.hero__ctas { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__trust { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; font-weight: 500; color: var(--muted); }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 16px; height: 16px; fill: none; stroke: var(--blue-600); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* Console mock */
.console {
  min-width: 0;
  position: relative;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 22px;
  box-shadow: var(--shadow-lg), inset 0 1px 0 #fff;
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  padding: 18px;
  transform: perspective(1200px) rotateY(var(--ry, -6deg)) rotateX(var(--rx, 3deg));
  transition: transform 600ms var(--ease-out);
}
.console__head { display: flex; align-items: center; gap: 12px; padding: 2px 4px 14px; border-bottom: 1px solid var(--border); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #DCE3F0; }
.console__title { font-weight: 700; font-size: 14px; }
.live { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: #0E7490; }
.console__apps { display: grid; gap: 8px; padding: 14px 0; }
.app-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.app-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; flex: none; }
.app-ic--a { background: linear-gradient(135deg, #1D3FE0, #2E8BF0); }
.app-ic--b { background: linear-gradient(135deg, #2E8BF0, #22D3EE); }
.app-ic--c { background: linear-gradient(135deg, #0B1533, #2156E8); }
.app-meta { display: grid; line-height: 1.3; min-width: 0; }
.app-meta b { font-size: 14px; }
.app-meta small { font-size: 12.5px; color: var(--muted); }
.badge { margin-left: auto; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.badge--ok { background: #E3F8EE; color: #0F7A47; }
.badge--deploy { background: #E6EEFF; color: var(--blue-600); position: relative; overflow: hidden; }
.badge--deploy::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.8), transparent); transform: translateX(-100%); animation: shimmer 1.8s linear infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.console__stats { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 8px; }
.mini { padding: 12px; border-radius: 14px; background: var(--tint); display: grid; gap: 4px; align-content: start; }
.mini small { font-size: 11.5px; color: var(--muted); line-height: 1.3; }
.mini b { font-size: 20px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.mini svg { width: 100%; height: 30px; }
.spark { fill: none; stroke: var(--blue-600); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw 1.6s var(--ease-out) .6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.console__log { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--blue-900); color: #9FE7F5; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.console__log span { display: inline-block; transition: opacity 250ms ease, transform 250ms var(--ease-out); }
.console__log span.is-out { opacity: 0; transform: translateY(6px); }

@media (max-width: 980px) {
  .hero { padding: 120px 0 72px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .console { transform: none; }
}
@media (max-width: 480px) {
  .console__stats { grid-template-columns: 1fr 1fr; }
  .mini--chart { grid-column: span 2; }
}

/* ============ Marquee ============ */
.marquee { padding: 34px 0 40px; border-block: 1px solid var(--border); background: var(--surface); overflow: hidden; }
.marquee__label { text-align: center; font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .04em; margin-bottom: 20px; padding: 0 16px; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__list { display: flex; gap: 56px; padding-right: 56px; flex: none; }
.marquee__list li { font-size: 20px; font-weight: 700; color: #7A86A3; letter-spacing: -0.01em; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (hover: hover) and (pointer: fine) { .marquee:hover .marquee__track { animation-play-state: paused; } }
.marquee { mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }

/* ============ Sections ============ */
.section { padding: 112px 0; }
.section--tint { background: var(--tint); }
.section__head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section__head--left { margin: 0; text-align: left; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 14px; }
.kicker--light { color: var(--cyan-400); }
.section h2 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 800; }
.lead { margin-top: 18px; font-size: 18px; color: var(--muted); }
@media (max-width: 700px) { .section { padding: 80px 0; } .section__head { margin-bottom: 40px; } }

/* ============ Bento cards ============ */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  position: relative; overflow: hidden;
  padding: 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 300ms var(--ease-out), box-shadow 300ms ease, border-color 300ms ease;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(34,211,238,.14), rgba(33,86,232,.08) 40%, transparent 70%);
  transition: opacity 300ms ease;
}
.card > * { position: relative; }
.card--xl { grid-column: span 2; grid-row: span 1; background: linear-gradient(160deg, #fff 40%, #EAF2FF); }
.card--wide { grid-column: span 3; }
.card h3 { font-size: 20px; margin-top: 20px; }
.card p { margin-top: 10px; color: var(--muted); max-width: 60ch; }
.card__ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); box-shadow: 0 8px 18px -8px rgba(33,86,232,.6); }
.card__ic svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips span { font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--tint); color: var(--blue-600); }
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #C8D6F3; }
  .card:hover::before { opacity: 1; }
}
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .card--xl, .card--wide { grid-column: span 2; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .card--xl, .card--wide { grid-column: auto; }
  .card { padding: 24px; }
}

/* ============ Solutions ============ */
.solutions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.sol {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  padding: 32px; border-radius: 22px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
  scroll-margin-top: 96px;
  transition: transform 300ms var(--ease-out), box-shadow 300ms ease, border-color 300ms ease;
}
.sol::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(34,211,238,.14), rgba(33,86,232,.08) 40%, transparent 70%);
  transition: opacity 300ms ease;
}
.sol::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 400ms var(--ease-out); }
.sol > * { position: relative; }
.sol__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sol__tag { font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--tint); color: var(--blue-600); }
.sol h3 { margin-top: 22px; font-size: clamp(21px, 2vw, 25px); }
.sol p { margin-top: 10px; color: var(--muted); }
.sol__list { margin: 20px 0 26px; display: grid; gap: 10px; }
.sol__list li { position: relative; padding-left: 28px; font-weight: 500; font-size: 15px; }
.sol__list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232156E8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.sol__link { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--blue-600); }
.sol__link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .sol:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #C8D6F3; }
  .sol:hover::before { opacity: 1; }
  .sol:hover::after { transform: scaleX(1); }
  .sol:hover .sol__link svg { transform: translateX(4px); }
}
@media (max-width: 760px) {
  .solutions { grid-template-columns: minmax(0, 1fr); }
  .sol { padding: 26px; }
}

/* ============ Tabs (modelo) ============ */
.tabs { position: relative; display: flex; width: max-content; max-width: 100%; margin: 0 auto 40px; padding: 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.tabs button { position: relative; z-index: 1; border: 0; background: transparent; padding: 0 22px; min-height: 44px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--muted); transition: color 250ms ease; white-space: nowrap; }
.tabs button[aria-selected="true"] { color: #fff; }
.tabs__ind { position: absolute; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 999px; background: var(--grad); box-shadow: 0 6px 16px -6px rgba(33,86,232,.6); transition: transform 350ms var(--ease-in-out), width 350ms var(--ease-in-out); }
@media (max-width: 560px) { .tabs button { padding: 0 14px; font-size: 14px; } }

.panels { position: relative; }
.panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 44px; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.panel[hidden] { display: none; }
.panel.is-active { animation: panelIn 400ms var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } }
.panel h3 { font-size: clamp(22px, 2.4vw, 30px); }
.panel p { margin-top: 14px; color: var(--muted); font-size: 17px; }
.checks { margin-top: 22px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; font-weight: 500; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232156E8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.panel__art { height: 260px; border-radius: 18px; background: linear-gradient(150deg, var(--blue-900), #13308F 60%, #1A6FD0); position: relative; overflow: hidden; display: grid; place-items: center; }
.panel__art::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 28px 28px; }
.stack { position: relative; z-index: 1; width: 60%; height: 60%; }
.stack i { position: absolute; left: 0; right: 0; height: 46%; border-radius: 14px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px); animation: float 5s ease-in-out infinite; }
.stack i:nth-child(1) { top: 0; transform: translateX(-12%); }
.stack i:nth-child(2) { top: 27%; animation-delay: -1.6s; background: rgba(34,211,238,.22); }
.stack i:nth-child(3) { top: 54%; transform: translateX(12%); animation-delay: -3.2s; }
@keyframes float { 50% { translate: 0 -8px; } }
.ring { position: relative; z-index: 1; width: 150px; height: 150px; border-radius: 50%; border: 2px solid rgba(255,255,255,.18); }
.ring i { position: absolute; inset: -2px; border-radius: 50%; border: 3px solid transparent; border-top-color: var(--cyan-400); border-right-color: var(--cyan-400); animation: spin 2.8s linear infinite; }
.ring::after { content: "ROI"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 28px; }
@keyframes spin { to { transform: rotate(360deg); } }
.bars { position: relative; z-index: 1; display: flex; align-items: flex-end; gap: 14px; height: 60%; }
.bars i { width: 34px; border-radius: 10px 10px 4px 4px; background: linear-gradient(to top, var(--blue-500), var(--cyan-400)); transform-origin: bottom; animation: grow 900ms var(--ease-out) both; }
.bars i:nth-child(1) { height: 30%; }
.bars i:nth-child(2) { height: 50%; animation-delay: 80ms; }
.bars i:nth-child(3) { height: 72%; animation-delay: 160ms; }
.bars i:nth-child(4) { height: 100%; animation-delay: 240ms; }
@keyframes grow { from { transform: scaleY(.1); opacity: 0; } }
@media (max-width: 800px) {
  .panel { grid-template-columns: 1fr; padding: 28px; gap: 28px; }
  .panel__art { height: 180px; }
}

/* ============ Stats ============ */
.stats { padding: 72px 0 40px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { padding: 28px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); text-align: center; }
.stat b { display: block; font-size: clamp(34px, 4vw, 48px); font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat small { display: block; margin-top: 6px; font-size: 14.5px; color: var(--muted); font-weight: 500; }
.footnote { margin-top: 14px; font-size: 12.5px; color: #5B6684; text-align: center; }
@media (max-width: 800px) { .stats__grid { grid-template-columns: 1fr 1fr; } }

/* ============ Steps ============ */
.steps-wrap { position: relative; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps__line { position: absolute; top: 26px; left: 26px; right: 26px; height: 2px; background: var(--border); border-radius: 2px; overflow: hidden; }
.steps__fill { position: absolute; inset: 0; background: var(--grad); transform: scaleX(var(--p, 0)); transform-origin: left; }
.step { position: relative; }
.step__n { position: relative; z-index: 1; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); font-weight: 800; font-size: 15px; color: var(--blue-600); font-family: var(--mono); }
.step h3 { margin-top: 22px; font-size: 20px; }
.step p { margin-top: 8px; color: var(--muted); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 32px; padding-left: 0; }
  .steps__line { top: 26px; bottom: 26px; left: 26px; right: auto; width: 2px; height: auto; }
  .steps__fill { transform: scaleY(var(--p, 0)); transform-origin: top; }
  .step { display: grid; grid-template-columns: 54px 1fr; column-gap: 20px; }
  .step__n { grid-row: span 2; }
  .step h3 { margin-top: 4px; }
}

/* ============ Control (dark) ============ */
.section--dark { position: relative; background: radial-gradient(900px 500px at 85% 0%, rgba(34,211,238,.18), transparent 60%), radial-gradient(800px 500px at 0% 100%, rgba(29,63,224,.35), transparent 60%), var(--blue-900); color: #fff; overflow: hidden; }
.section--dark .lead { color: #B7C3DE; }
.control { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pillar { padding: 26px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background-color 250ms ease, border-color 250ms ease, transform 300ms var(--ease-out); }
.pillar svg { width: 28px; height: 28px; fill: none; stroke: var(--cyan-400); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pillar h3 { margin-top: 16px; font-size: 18px; }
.pillar p { margin-top: 8px; font-size: 15px; color: #B7C3DE; }
@media (hover: hover) and (pointer: fine) {
  .pillar:hover { background: rgba(255,255,255,.08); border-color: rgba(34,211,238,.4); transform: translateY(-3px); }
}
@media (max-width: 900px) { .control { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } }

/* ============ FAQ ============ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq__list { display: grid; gap: 12px; }
details { border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); transition: border-color 200ms ease, box-shadow 200ms ease; }
details[open] { border-color: #C3D2F1; box-shadow: var(--shadow); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 600; font-size: 16.5px; min-height: 44px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232156E8' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform 250ms var(--ease-out); }
details[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 22px 20px; color: var(--muted); }
details[open] .faq__a { animation: faqIn 250ms var(--ease-out); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; gap: 32px; } }

/* ============ CTA ============ */
.cta { padding: 40px 0 112px; }
.cta__box { position: relative; overflow: hidden; text-align: center; padding: 80px 32px; border-radius: 28px; background: radial-gradient(600px 300px at 100% 0%, rgba(34,211,238,.35), transparent 60%), linear-gradient(120deg, #1D3FE0 0%, #1F5FE6 50%, #1A6FD0 100%); color: #fff; box-shadow: 0 30px 60px -30px rgba(29,63,224,.6); }
.cta__box h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; position: relative; }
.cta__box p { margin: 16px auto 0; max-width: 52ch; font-size: 18px; color: rgba(255,255,255,.88); position: relative; }
.cta__btns { margin-top: 32px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; position: relative; }
.cta__wave { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .25; }
.cta__wave path { fill: none; stroke: #fff; stroke-width: 3; stroke-dasharray: 1000; stroke-dashoffset: 1000; }
.cta__box.is-in .cta__wave path { animation: drawLong 2.4s var(--ease-out) .2s forwards; }
@keyframes drawLong { to { stroke-dashoffset: 0; } }
@media (max-width: 600px) { .cta__box { padding: 56px 20px; border-radius: 22px; } .cta__btns .btn { width: 100%; } }

/* ============ Footer ============ */
.footer { border-top: 1px solid var(--border); padding: 32px 0; background: var(--surface); }
.footer__inner { display: flex; align-items: center; gap: 16px 24px; flex-wrap: wrap; }
.footer__tag { color: var(--blue-600); font-weight: 500; }
.footer__copy { margin-left: auto; font-size: 14px; color: var(--muted); }
@media (max-width: 600px) { .footer__copy { margin-left: 0; width: 100%; } }

/* ============ Reveal on scroll ============ */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .console.reveal { transform: perspective(1200px) rotateY(-6deg) rotateX(3deg) translateY(24px); }
.js .console.reveal.is-in { transform: perspective(1200px) rotateY(var(--ry, -6deg)) rotateX(var(--rx, 3deg)); }
@media (max-width: 980px) {
  .js .console.reveal { transform: translateY(24px); }
  .js .console.reveal.is-in { transform: none; }
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* Movimiento suave en lugar de nada: fundidos, conteos y fondos muy lentos */
  .blob--a { animation-duration: 60s; }
  .blob--b { animation-duration: 72s; }
  .console__log span.is-out { transform: none; }
  .marquee__track, .pulse::after, .badge--deploy::after, .stack i, .ring i { animation: none; }
  .marquee__track { flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__list[aria-hidden] { display: none; }
  .marquee__list { flex-wrap: wrap; justify-content: center; gap: 16px 40px; padding: 0 16px; }
  .js .reveal, .js .console.reveal { transform: none; transition: opacity 600ms ease; transition-delay: var(--d, 0ms); }
  .console { transform: none; }
  .panel.is-active { animation: none; }
}

/* ============ Booking dialog ============ */
.book {
  width: min(960px, calc(100% - 32px)); height: min(820px, calc(100dvh - 48px));
  max-width: none; max-height: none; margin: auto; padding: 0;
  border: 0; border-radius: 24px; background: var(--surface); color: var(--text);
  box-shadow: 0 40px 80px -20px rgba(11,21,51,.45);
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; transform: translateY(16px) scale(.97);
  transition: opacity 250ms var(--ease-out), transform 300ms var(--ease-out), overlay 300ms allow-discrete, display 300ms allow-discrete;
}
.book:not([open]) { display: none; }
.book[open] { opacity: 1; transform: none; }
@starting-style { .book[open] { opacity: 0; transform: translateY(16px) scale(.97); } }
.book::backdrop { background: rgba(11,21,51,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity 250ms ease, overlay 250ms allow-discrete, display 250ms allow-discrete; }
.book[open]::backdrop { opacity: 1; }
@starting-style { .book[open]::backdrop { opacity: 0; } }
.book__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px 18px 28px; border-bottom: 1px solid var(--border); background: linear-gradient(120deg, #fff 60%, var(--tint)); }
.book__head h2 { font-size: 20px; font-weight: 800; }
.book__head p { margin-top: 2px; font-size: 14px; color: var(--muted); }
.book__close { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); display: grid; place-items: center; transition: background-color 200ms ease, transform 160ms var(--ease-out); }
.book__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.book__close:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .book__close:hover { background: var(--tint); } }
.book__body { position: relative; flex: 1; min-height: 0; }
.book__body iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: transparent; }
.book__loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--muted); font-weight: 600; font-size: 15px; }
.book.is-loaded .book__loading { display: none; }
body.is-locked { overflow: hidden; }
@media (max-width: 600px) {
  .book { width: 100%; height: 100dvh; border-radius: 0; }
  .book__head { padding: 12px 12px 12px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .book, .book::backdrop { transition: opacity 150ms ease; transform: none; }
}

/* ============ Landing clínicas ============ */
/* Conversación de ejemplo (hero) */
.chat { position: relative; min-width: 0; background: #ECE5DD; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.9); }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #075E54; color: #fff; }
.chat__avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #075E54; font-weight: 800; font-size: 13px; flex: none; }
.chat__head div { display: grid; line-height: 1.25; min-width: 0; }
.chat__head b { font-size: 15px; }
.chat__head small { font-size: 12px; color: #CFE9E4; }
.chat__time { margin-left: auto; font-size: 12px; color: #CFE9E4; white-space: nowrap; }
.chat__body { display: grid; gap: 10px; padding: 18px 16px 20px; }
.msg { max-width: 82%; padding: 9px 12px; border-radius: 12px; font-size: 14.5px; line-height: 1.45; color: #111B21; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.msg--in { justify-self: start; background: #fff; border-top-left-radius: 4px; }
.msg--out { justify-self: end; background: #D9FDD3; border-top-right-radius: 4px; }
.chat__booked { justify-self: center; display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.85); font-size: 12.5px; font-weight: 600; color: #0F5132; }
.chat__booked svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.js .chat.reveal { transform: translateY(24px); }
.js .chat.reveal.is-in { transform: none; }

/* Problemas */
.pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pain { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.pain h3 { margin-top: 18px; font-size: 19px; }
.pain p { margin-top: 8px; color: var(--muted); }
@media (max-width: 900px) { .pains { grid-template-columns: minmax(0, 1fr); } }

/* Nota de plazos */
.plazo-note { margin-top: 32px; padding: 16px 20px; border-radius: var(--radius-sm); background: var(--tint); color: var(--muted); font-size: 15px; }
.plazo-note b { color: var(--text); }

/* Planes */
.cplans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.cplan { position: relative; display: flex; flex-direction: column; padding: 30px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.cplan--pop { border: 2px solid var(--blue-600); box-shadow: var(--shadow-lg); }
.cplan__badge { position: absolute; top: -13px; left: 28px; padding: 4px 12px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 700; }
.cplan h3 { font-size: 21px; }
.cplan__for { margin-top: 4px; color: var(--muted); font-size: 14.5px; }
.cplan__price { margin-top: 18px; font-size: 42px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.cplan__price small { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.cplan__setup { margin-top: 8px; font-size: 14px; color: var(--muted); }
.cplan .checks { margin: 22px 0 26px; flex: 1; }
.cplan .checks b { color: var(--blue-600); }
.cplan .btn { width: 100%; }
.founder { margin-top: 24px; display: flex; align-items: center; gap: 24px; padding: 20px 26px; border-radius: 18px; background: var(--blue-900); color: #fff; }
.founder__pct { font-size: 36px; font-weight: 800; color: var(--cyan-400); white-space: nowrap; }
.founder p { color: #C9D6F2; }
.founder strong { color: #fff; }
.cplans__fine { margin-top: 16px; font-size: 13px; color: var(--muted); }
@media (max-width: 900px) {
  .cplans { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .founder { flex-direction: column; align-items: flex-start; gap: 6px; padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { .js .chat.reveal { transform: none; } }

/* ============ Soluciones por industria (home) ============ */
.industries { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.industries__label { width: 100%; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-600); }
.industry { display: inline-flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 18px 12px 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); transition: border-color 200ms ease, box-shadow 200ms ease; }
.industry__ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); flex: none; }
.industry__ic svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.industry__txt { display: grid; line-height: 1.3; }
.industry__txt b { font-size: 15.5px; }
.industry__txt small { font-size: 13px; color: var(--muted); }
.industry__go { width: 18px; height: 18px; fill: none; stroke: var(--blue-600); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin-left: 6px; transition: transform 200ms var(--ease-out); }
.industry--soon { box-shadow: none; background: transparent; border-style: dashed; }
.industry--soon .industry__ic { background: var(--tint); }
.industry--soon .industry__ic svg { stroke: var(--muted); }
@media (hover: hover) and (pointer: fine) {
  a.industry:hover { border-color: #C8D6F3; box-shadow: var(--shadow-lg); }
  a.industry:hover .industry__go { transform: translateX(3px); }
}
@media (max-width: 600px) { .industry { width: 100%; } }

/* Integraciones (clínicas) */
.integ { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.integ__more { margin-top: 22px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--tint); color: var(--muted); font-size: 15px; }
.integ__more b { color: var(--text); }
.integ__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.integ__item { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.integ__tool { display: inline-block; font-size: 12px; font-weight: 700; color: var(--blue-600); background: var(--tint); padding: 4px 10px; border-radius: 999px; }
.integ__item h3 { margin-top: 14px; font-size: 17px; }
.integ__item p { margin-top: 6px; color: var(--muted); font-size: 15px; }
@media (max-width: 900px) {
  .integ { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 560px) { .integ__list { grid-template-columns: minmax(0, 1fr); } }

/* La onda del hero no debe cruzar el texto: se desvanece en la columna de texto */
.hero__wave {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 52%, #000 72%);
          mask-image: linear-gradient(90deg, transparent 0%, transparent 52%, #000 72%);
}
@media (max-width: 980px) {
  .hero__wave { -webkit-mask-image: none; mask-image: none; bottom: -60px; }
}

/* ============ Consentimiento antes de la agenda ============ */
.book:not(.is-consented) .book__body iframe,
.book:not(.is-consented) .book__loading { display: none; }
.book.is-consented .consent { display: none; }
.consent { position: absolute; inset: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; max-width: 520px; margin: 0 auto; padding: 32px 24px; }
.consent__title { font-size: 22px; font-weight: 800; }
.consent__lead { color: var(--muted); margin-top: -6px; }
.field { display: grid; gap: 6px; font-weight: 600; font-size: 14.5px; }
.field input { font: inherit; font-weight: 500; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-size: 16px; }
.field input:focus { outline: 2px solid var(--ring); outline-offset: 1px; border-color: transparent; }
.check { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding-top: 4px; font-size: 15px; cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--blue-600); cursor: pointer; }
.check a, .consent__note a { color: var(--blue-600); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.consent__err { padding: 10px 14px; border-radius: 10px; background: #FDECEC; color: #9B1C1C; font-size: 14px; font-weight: 600; }
.consent__btn { margin-top: 4px; }
.consent__btn:disabled { opacity: .7; cursor: progress; }
.consent__note { font-size: 13px; color: var(--muted); }
@media (max-width: 600px) { .consent { padding: 22px 18px; } }

/* ============ Enlaces legales en el pie ============ */
.footer__legal { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; }
.footer__legal a { color: var(--muted); padding: 10px 0; }
@media (hover: hover) and (pointer: fine) { .footer__legal a:hover { color: var(--text); text-decoration: underline; } }

/* ============ Páginas legales ============ */
.page-legal .nav { position: sticky; }
.legal__back { margin-left: auto; }
.legal { padding: 56px 0 96px; }
.legal__inner { max-width: 780px; }
.legal h1 { font-size: clamp(32px, 4.5vw, 44px); font-weight: 800; }
.legal__meta { margin-top: 10px; color: var(--muted); font-size: 14px; }
.legal__tabs { margin: 28px 0 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.legal__tabs a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-size: 14px; font-weight: 600; color: var(--muted); }
.legal__tabs a[aria-current="page"] { background: var(--blue-900); border-color: var(--blue-900); color: #fff; }
.legal__body { margin-top: 24px; font-size: 16.5px; line-height: 1.7; }
.legal__body h2 { margin: 36px 0 10px; font-size: 21px; font-weight: 800; }
.legal__body p + p { margin-top: 12px; }
.legal__body ul { margin: 10px 0 0; padding-left: 22px; list-style: disc; display: grid; gap: 8px; }
.legal__body a { color: var(--blue-600); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.legal__body b { color: var(--text); }
@media (max-width: 600px) { .legal { padding: 36px 0 72px; } .legal__back { font-size: 13px; padding: 0 12px; } }
.chat__note { margin: 0; padding: 8px 16px 12px; text-align: center; font-size: 12px; color: #54656F; background: #ECE5DD; }

/* ============ Página 404 ============ */
.page-404 .nav { position: sticky; }
.notfound { padding: 72px 0 96px; }
.notfound__inner { max-width: 780px; }
.notfound h1 { font-size: clamp(30px, 4.5vw, 44px); font-weight: 800; margin-top: 6px; }
.notfound .lead { margin-top: 14px; }
.notfound__links { margin-top: 28px; display: grid; gap: 12px; }
.notfound__links .industry { width: 100%; padding-left: 18px; }
.notfound__cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ============ Lenis (scroll suave) ============ */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
