@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-var.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #000;
  --bg-2: #0a0c10;
  --card: #161b22;
  --card-2: #1d232b;
  --card-edge: #30363d;
  --line: #2a2e35;
  --fg: #fff;
  --p: #b4bcd0;
  --muted: #7d8595;
  --teal: #2ec4b0;
  --teal-2: #1aa894;
  --amber: #f2c14e;
  --light-bg: #fff;
  --light-card: #f3f4f8;
  --ink: #0b0d12;
  --ink-2: #4a5160;

  --grad: linear-gradient(90deg, #c8f4ec 0%, #9ee3e3 34%, #c6caf6 70%, #e2d6ef 100%);
  --grad-v: linear-gradient(180deg, #fff 20%, #9aa3b6 110%);
  --grad-diag: linear-gradient(128deg, #c8f4ec, #9ee3e3 26%, #c6caf6 74%, #e2d6ef);

  --font-display: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-ui: "Inter", "Segoe UI", system-ui, sans-serif;

  --r-lg: 26px;
  --r-xl: 30px;
  --r-md: 16px;
  --r-sm: 10px;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur: 0.9s;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
::selection { background: #9ee3e3; color: #000; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: #fff; color: #000; padding: 10px 16px; border-radius: 100px;
  font-family: var(--font-ui); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 16px; }

:focus-visible { outline: 2px solid #9ee3e3; outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.wrap--wide { width: min(100% - var(--gutter) * 2, 1400px); margin-inline: auto; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); }
p { margin: 0; color: var(--p); letter-spacing: 0.02em; font-weight: 500; line-height: 1.65; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.fade-text {
  background: var(--grad-v);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.title {
  font-size: clamp(2.05rem, 4.7vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.title--sm { font-size: clamp(1.8rem, 3.3vw, 2.9rem); }
.card-title {
  font-size: clamp(1.35rem, 2.1vw, 1.9rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-ui); font-size: 13px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--p);
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 12px var(--teal);
}
.lede { font-size: clamp(1rem, 1.3vw, 1.15rem); max-width: 56ch; }
.center-title { text-align: center; display: grid; justify-items: center; gap: 18px; }
.center-title .lede { margin-inline: auto; }
.section-logo {
  display: block; width: auto;
  /* logo-punto.svg height × 108/88 so the "Punto" wordmark matches the Punto hero */
  height: min(30.7svh, 24.5vw, 295px);
  margin-block: 6px 10px;
  filter: drop-shadow(0 10px 40px rgba(240, 130, 60, 0.28));
}
@media (max-width: 700px) {
  .section-logo { height: min(21svh, 45vw); }
}

/* ---------- Buttons ---------- */
.btn {
  --bgc: #fff;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  border: 0; border-radius: 100px;
  background: var(--bgc); color: #000;
  font-family: var(--font-ui); font-size: 15px; font-weight: 600; letter-spacing: 0;
  text-decoration: none; cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.5s var(--ease-out), background-color 0.3s;
}
.btn:hover { box-shadow: 0 0 0 6px rgb(255 255 255 / 0.08), 0 10px 40px -8px rgb(158 227 227 / 0.55); }
.btn:active { transform: scale(0.97); }
.btn svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn--ghost {
  background: rgb(255 255 255 / 0.04); color: #fff;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.16);
}
.btn--ghost:hover { background: rgb(255 255 255 / 0.08); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.3); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { box-shadow: 0 12px 40px -12px rgb(0 0 0 / 0.5); }
.btn--sm { min-height: 42px; padding: 10px 18px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center-title .btn-row { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-ui); font-weight: 600; font-size: 15px;
  color: #fff; text-decoration: none;
}
.link-arrow svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: 72px;
  transition: background-color 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}
.nav.is-scrolled {
  background: rgb(0 0 0 / 0.62);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 -1px 0 rgb(255 255 255 / 0.06);
}
.nav__inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: block; width: 112px; flex: none; }
.brand__crop { display: block; aspect-ratio: 540 / 152; overflow: hidden; }
.brand__crop img { width: 100%; height: auto; }
.nav__menu { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative;
  padding: 10px 16px;
  font-family: var(--font-ui); font-size: 15px; font-weight: 500;
  color: #c9cfdc; text-decoration: none;
  transition: color 0.25s;
}
.nav__link:hover { color: #fff; }
.nav__link[aria-current="page"], .nav__link.is-current { color: #fff; }
.nav__link[aria-current="page"]::before, .nav__link.is-current::before {
  content: "";
  position: absolute; left: 50%; top: 50%;
  width: 54px; height: 54px; translate: -50% -50%;
  border-radius: 50%;
  background: linear-gradient(#c8f4ec, #c6caf6 64%, #e2d6ef);
  filter: blur(26px); opacity: 0.55;
  z-index: -1;
}
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__toggle {
  display: none;
  width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: rgb(255 255 255 / 0.08); color: #fff; cursor: pointer;
  place-items: center;
}
.nav__toggle svg { width: 20px; height: 20px; }

@media (max-width: 900px) {
  .nav__toggle { display: grid; }
  .nav__menu {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 28px;
    background: rgb(0 0 0 / 0.94);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    opacity: 0; visibility: hidden; translate: 0 -8px;
    transition: opacity 0.3s var(--ease-out), translate 0.3s var(--ease-out), visibility 0.3s;
  }
  .nav.is-open .nav__menu { opacity: 1; visibility: visible; translate: 0 0; }
  .nav__link { padding: 16px 4px; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav__link[aria-current="page"]::before, .nav__link.is-current::before { left: 20px; }
  .nav__actions .btn { display: none; }
  .nav__menu .btn { display: inline-flex; margin-top: 18px; }
}
@media (min-width: 901px) { .nav__menu .btn { display: none; } }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(80px, 12vw, 150px); scroll-margin-top: 88px; }
.section--tight { padding-block: clamp(56px, 8vw, 96px); }
.section + .section { padding-top: clamp(40px, 6vw, 80px); }

/* ---------- Hero (sticky words + rising device) ---------- */
.hero { position: relative; overflow-x: clip; }
.hero__sticky {
  position: sticky; top: 0;
  height: 100svh; min-height: 560px;
  display: grid; justify-items: center; align-content: start;
  padding-top: clamp(40px, 9svh, 110px);
  overflow: hidden;
  pointer-events: none;
}
.hero__words {
  display: grid; justify-items: center;
  scale: calc(1 - var(--p, 0) * 0.08);
  opacity: calc(1 - var(--p, 0) * 0.6);
  filter: blur(calc(var(--p, 0) * 8px));
}
.hero__h1 { display: grid; justify-items: center; margin: 0; }
.hero__word {
  position: relative;
  display: block;
  font-size: min(10.8vw, 16.8svh, 184px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.045em;
  white-space: nowrap;
  padding-inline: 0.04em;
}
.hero__word--sm { font-size: min(9vw, 15svh, 150px); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hero__word .solid,
.hero__word .glow {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero__word .glow {
  position: absolute; inset: 0;
  filter: blur(40px); opacity: 0.6;
  z-index: -1;
}
.hero__word .solid {
  display: inline-block;
  padding-block: 0.06em 0.2em;
  margin-block: -0.06em -0.2em;
  -webkit-mask-image: linear-gradient(90deg, #000 45%, transparent 55%);
  mask-image: linear-gradient(90deg, #000 45%, transparent 55%);
  -webkit-mask-size: 260% 100%; mask-size: 260% 100%;
  -webkit-mask-position: 100% 0; mask-position: 100% 0;
  opacity: 0; filter: blur(16px); translate: 0 0.18em;
  animation: word-in 1.5s var(--ease-out) forwards;
  animation-delay: calc(0.2s + var(--line, 0) * 0.28s);
}
.hero__word .glow {
  opacity: 0;
  animation: glow-in 2s var(--ease-out) forwards;
  animation-delay: calc(0.6s + var(--line, 0) * 0.28s);
}
@keyframes word-in {
  to { opacity: 1; filter: blur(0); translate: 0 0; -webkit-mask-position: 0 0; mask-position: 0 0; }
}
@keyframes glow-in { to { opacity: 0.6; } }

.hero__stage {
  position: relative; z-index: 2;
  margin-top: -46svh;
  display: grid; justify-items: center;
}
.hero__device {
  position: relative;
  width: min(100% - var(--gutter) * 2, 1060px);
  translate: 0 calc((1 - var(--p, 0)) * 40px);
  scale: calc(0.94 + var(--p, 0) * 0.06);
  transition: translate 0.1s linear, scale 0.1s linear;
}
.hero__device::after {
  content: ""; position: absolute; left: 4%; right: 4%; bottom: -12%; height: 60%;
  background: #000; filter: blur(64px); z-index: -1;
}
@media (max-width: 700px) {
  .hero__sticky { padding-top: 12svh; }
  .hero__word { font-size: min(13.2vw, 17svh); }
  .hero__stage { margin-top: -65svh; }
}
.hero__copy {
  width: min(100% - var(--gutter) * 2, 760px);
  margin: clamp(48px, 7vw, 90px) auto 0;
  text-align: center;
  display: grid; justify-items: center; gap: 28px;
}
.hero__copy .lede { max-width: 60ch; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero .hero__stage { margin-top: -50svh; }
.hero__h1 + .hero__kicker { margin: clamp(14px, 2vw, 24px) 0 0; }
.hero__h1--logo { position: relative; }
.hero__h1--logo::before {
  content: ""; position: absolute; inset: 10% 5%; z-index: -1;
  background: var(--logo-glow, transparent);
  filter: blur(70px); opacity: 0.35;
}
.hero__logo {
  display: block; width: auto;
  height: min(34svh, 28vw, 340px);
  opacity: 0; animation: fade-up 1.1s var(--ease-out) 0.2s forwards;
}
.hero__logo--punto { height: min(25svh, 20vw, 240px); }
.hero__logo--check { height: min(30.7svh, 24.5vw, 295px); }
@media (max-width: 700px) {
  .hero__logo { height: min(24svh, 52vw); }
  .hero__logo--punto { height: min(17svh, 37vw); }
  .hero__logo--check { height: min(21svh, 45vw); }
  .page-hero .hero__kicker { padding-inline: var(--gutter); text-align: center; letter-spacing: 0.1em; }
}
.hero__h1--logo:has(.hero__logo--punto) { --logo-glow: radial-gradient(closest-side, #ef5a4a, transparent); }
.hero__h1--logo:has(.hero__logo--manager) { --logo-glow: radial-gradient(closest-side, #22b35a, transparent); }
.hero__h1--logo:has(.hero__logo--check) { --logo-glow: radial-gradient(closest-side, #f0823c, transparent); }
.page-hero--one .hero__stage { margin-top: -58svh; }
.hero__kicker {
  margin-bottom: clamp(10px, 2vw, 22px);
  font-family: var(--font-ui); font-size: 13px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--p);
  opacity: 0; animation: fade-up 1s var(--ease-out) 0.1s forwards;
}
@keyframes fade-up { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }

/* Logo heroes (Punto / Manager): same rhythm as the Punto Check header */
.hero__words--intro {
  gap: 18px; padding-inline: var(--gutter);
  text-align: center;
}
.hero__words--intro .hero__kicker { margin: 0; }
.hero__words--intro .hero__logo { margin-block: 6px 10px; }
.hero__words--intro .title,
.hero__words--intro .lede {
  opacity: 0; animation: fade-up 1.1s var(--ease-out) forwards;
}
.hero__words--intro .title { animation-delay: 0.35s; }
.hero__words--intro .lede { animation-delay: 0.5s; margin-inline: auto; }
@media (max-width: 700px) {
  .page-hero:has(.hero__words--intro) .hero__sticky { padding-top: clamp(40px, 7svh, 64px); }
  .hero__words--intro .hero__kicker { padding-inline: 0; font-size: 12px; letter-spacing: 0.08em; white-space: nowrap; }
}

/* ---------- Home hero: pixel logo + rotating word ---------- */
@property --tone-a { syntax: "<color>"; inherits: true; initial-value: #9ee3e3; }
@property --tone-b { syntax: "<color>"; inherits: true; initial-value: #c8f4ec; }
.hero--home { --tone-a: #9ee3e3; --tone-b: #c8f4ec; transition: --tone-a 0.9s var(--ease-out), --tone-b 0.9s var(--ease-out); }
.hero--home[data-tone="sindicatos"] { --tone-a: #c9b6f6; --tone-b: #e7b7e3; }
.hero--home[data-tone="web"] { --tone-a: #f6c08c; --tone-b: #ffe7cc; }
.hero--home[data-tone="medida"] { --tone-a: #c6caf6; --tone-b: #e8edf5; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__aura {
  position: absolute; left: 50%; bottom: -18%; translate: -50% 0; z-index: 0;
  width: min(1100px, 110vw); height: 60%;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--tone-a) 38%, transparent), transparent);
  filter: blur(40px);
  opacity: calc(0.75 - var(--p, 0) * 0.6);
}
.hero--home .hero__words { position: relative; z-index: 2; }
.hero--home .hero__kicker { margin-bottom: calc(clamp(10px, 2vw, 22px) + 2.6svh); }
.hero--home .hero__sticky { min-height: 0; }
@media (min-width: 701px) {
  .hero--home .hero__sticky { padding-top: clamp(20px, 4.5svh, 55px); }
}
.hero--home .hero__word { font-size: min(10.8vw, 15.3svh, 180px); }
.hero__rot {
  margin: 0.35em 0 0;
  font-size: min(4vw, 5.8svh, 56px);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.1;
  color: #d5dbe6;
  opacity: 0; animation: fade-up 1s var(--ease-out) 0.9s forwards;
}
.hero__rot-word {
  display: inline-block;
  padding-bottom: 0.12em; margin-bottom: -0.12em;
  background: linear-gradient(90deg, var(--tone-a), var(--tone-b));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  transition: opacity 0.45s var(--ease-out), translate 0.45s var(--ease-out), filter 0.45s var(--ease-out);
}
.hero__rot-word.is-out { opacity: 0; translate: 0 -0.35em; filter: blur(8px); }
.hero__rot-word.is-pre { opacity: 0; translate: 0 0.35em; filter: blur(8px); transition: none; }
.hero--home .hero__stage { margin-top: -2svh; }
.hero--home .hero__copy { margin-top: 0; }
@media (max-width: 700px) {
  .hero--home .hero__word { font-size: min(15vw, 15svh); }
  .hero__rot { font-size: min(7.4vw, 5.5svh); }
  .hero--home .hero__stage { margin-top: 0; }
}

.hero--plain {
  padding-block: clamp(70px, 12vw, 150px) clamp(40px, 6vw, 80px);
  text-align: center;
}
.hero--plain .hero__words { margin: 0; scale: none; opacity: 1; }
.hero--plain .hero__copy { margin-top: clamp(32px, 5vw, 56px); }

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  padding-block: 28px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex; gap: clamp(40px, 6vw, 88px);
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { translate: -50% 0; } }
.mark {
  position: relative; flex: none;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: -0.01em;
  color: #d8dde8;
  white-space: nowrap;
}
.mark::after {
  content: attr(data-t);
  position: absolute; inset: 0;
  filter: blur(14px); opacity: 0.55; color: #9ee3e3;
  z-index: -1;
}
.marquee-caption { text-align: center; font-size: 14px; color: var(--muted); letter-spacing: 0.04em; }

/* ---------- Cards with cursor light ---------- */
.lit {
  --mx: 50%; --my: 0%;
  position: relative; isolation: isolate;
  border-radius: var(--r-lg);
  background: var(--card);
  overflow: hidden;
}
.lit::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgb(255 255 255 / 0.55), rgb(255 255 255 / 0.06) 45%, rgb(255 255 255 / 0.05));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.lit::after {
  content: "";
  position: absolute; z-index: -1;
  width: 260px; height: 260px;
  left: var(--mx); top: var(--my);
  translate: -50% -50%;
  border-radius: 50%;
  background: #fff;
  filter: blur(80px);
  opacity: 0.09;
  transition: opacity 0.4s;
  pointer-events: none;
}
.lit:hover::after { opacity: 0.16; }

.xp-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(12, 1fr);
  margin-top: clamp(48px, 6vw, 80px);
}
.xp-card {
  display: grid; align-content: space-between;
  min-height: 520px;
  text-decoration: none; color: inherit;
  transition: transform 0.6s var(--ease-out);
}
.xp-card:hover { transform: translateY(-4px); }
.xp-card--7 { grid-column: span 7; }
.xp-card--5 { grid-column: span 5; }
.xp-card__media {
  position: relative;
  height: 320px;
  padding: 28px 28px 0;
  overflow: hidden;
}
.xp-card__media::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 90px;
  background: linear-gradient(transparent, var(--card));
  pointer-events: none;
}
.xp-card__body { padding: 8px 32px 32px; display: grid; gap: 10px; }
.xp-card__tag {
  font-family: var(--font-ui); font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--teal);
}
.xp-card__name {
  color: var(--fg);
  font-weight: 700;
}
.xp-card__body p { max-width: 46ch; }
.xp-card .link-arrow { margin-top: 8px; }
@media (max-width: 900px) {
  .xp-card--7, .xp-card--5 { grid-column: 1 / -1; }
  .xp-card { min-height: 0; }
  .xp-card__media { height: 260px; }
}

/* ---------- Feature grid ---------- */
.feat-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  margin-top: clamp(40px, 5vw, 64px);
}
.feat {
  padding: 30px 28px 32px;
  display: grid; align-content: start; gap: 12px;
  min-height: 220px;
}
.feat__icon {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center;
  background: rgb(158 227 227 / 0.08);
  box-shadow: inset 0 0 0 1px rgb(158 227 227 / 0.18);
  color: #9ee3e3;
  margin-bottom: 10px;
}
.feat__icon svg { width: 22px; height: 22px; }
.feat h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
.feat p { font-size: 15px; }
.feat ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.feat li {
  position: relative; padding-left: 18px;
  color: var(--p); font-size: 15px; font-weight: 500; line-height: 1.5;
}
.feat li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 6px; height: 6px; border-radius: 50%; background: #9ee3e3; opacity: 0.8;
}

/* ---------- Ecosystem / integration ---------- */
.eco {
  position: relative;
  margin-top: clamp(40px, 6vw, 72px);
  display: grid; place-items: center;
}
.eco__svg { width: min(100%, 1100px); height: auto; overflow: visible; }
.eco__svg--v { display: none; width: min(100%, 400px); }
@media (max-width: 700px) {
  .eco__svg--h { display: none; }
  .eco__svg--v { display: block; }
}
.eco__glow {
  position: absolute; left: 15%; right: 15%; bottom: 0; height: 260px;
  background: var(--grad); filter: blur(90px); opacity: 0.2;
  pointer-events: none;
}
.eco-node rect { fill: #11151b; stroke: #30363d; }
.eco-node text { fill: #e6e9f0; font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.eco-node .sub { fill: #8b93a5; font-weight: 500; font-size: 13px; font-family: var(--font-ui); }
.eco-hub rect { fill: #161b22; stroke: url(#eco-grad); stroke-width: 1.5; }
.eco-hub text { font-size: 22px; }
.eco-path { fill: none; stroke: #2b3139; stroke-width: 1.5; }
.eco-flow {
  fill: none; stroke: url(#eco-grad); stroke-width: 2;
  stroke-dasharray: 6 14;
  animation: dash 1.8s linear infinite;
}
.eco-flow--rev { animation-direction: reverse; }
@keyframes dash { to { stroke-dashoffset: -40; } }
.eco-dot { fill: #c8f4ec; filter: drop-shadow(0 0 6px #9ee3e3); }
.eco-steps {
  display: grid; gap: 16px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(32px, 4vw, 56px);
}
.eco-step { padding: 26px; display: grid; gap: 10px; }
.eco-step__n {
  font-family: var(--font-ui); font-size: 13px; font-weight: 600; color: var(--teal);
  letter-spacing: 0.1em;
}
.eco-step h3 { font-size: 1.15rem; font-weight: 700; }
.eco-step p { font-size: 15px; }
@media (max-width: 820px) { .eco-steps { grid-template-columns: 1fr; } }

/* ---------- Sticky stats ---------- */
.stats {
  display: grid; gap: clamp(32px, 6vw, 96px);
  grid-template-columns: 5fr 7fr;
  align-items: start;
}
.stats__sticky { position: sticky; top: 120px; display: grid; gap: 22px; }
.stats__list { position: relative; }
.stat {
  padding-block: clamp(34px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
  display: grid; gap: 12px;
}
.stat:first-child { padding-top: 0; }
.stat:last-child { border-bottom: 0; }
.stat__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 18px; }
.stat__n {
  font-size: clamp(56px, 7vw, 92px); font-weight: 800; line-height: 1;
  letter-spacing: -0.04em;
  background: var(--grad-diag);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat__label { font-size: clamp(1.1rem, 1.6vw, 1.4rem); font-weight: 700; color: #fff; }
.stat p { max-width: 52ch; }
@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr; }
  .stats__sticky { position: static; }
}

/* ---------- Light band (white bento) ---------- */
.light-band {
  background: var(--light-bg); color: var(--ink);
  border-radius: clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px) 0 0;
  padding-block: clamp(80px, 11vw, 140px);
  position: relative; z-index: 1;
}
.light-band + .light-band-end { background: var(--light-bg); }
.light-band .title { color: var(--ink); }
.light-band p { color: var(--ink-2); letter-spacing: 0.01em; }
.light-band .eyebrow { color: var(--ink-2); }
.bento {
  display: grid; gap: 16px;
  grid-template-columns: repeat(6, 1fr);
  margin-top: clamp(40px, 6vw, 72px);
}
.bento__card {
  position: relative; overflow: hidden;
  background: var(--light-card);
  border-radius: var(--r-xl);
  padding: 30px;
  display: grid; align-content: space-between; gap: 22px;
  min-height: 300px;
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}
.bento__card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgb(10 20 40 / 0.25); }
.bento__card h3 { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.015em; color: var(--ink); }
.bento__card p { font-size: 15px; margin-top: 8px; }
.bento__card--2 { grid-column: span 2; }
.bento__card--3 { grid-column: span 3; }
.bento__card--4 { grid-column: span 4; }
.bento__card--dark { background: var(--ink); }
.bento__card--dark h3 { color: #fff; }
.bento__card--dark p { color: var(--p); }
.bento__art { position: relative; min-height: 120px; }
@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__card--2, .bento__card--3, .bento__card--4 { grid-column: span 1; }
  .bento__card--wide-m { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .bento { grid-template-columns: 1fr; }
  .bento__card--2, .bento__card--3, .bento__card--4 { grid-column: 1 / -1; }
}

/* mini art used in bento */
.art-bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; }
.art-bars i {
  flex: 1; border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, #9ee3e3, #c6caf6);
  height: calc(var(--h) * 1%);
  transform-origin: bottom; scale: 1 0;
  transition: scale 1.1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.is-in .art-bars i, .art-bars.is-in i { scale: 1 1; }
.art-chips { display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; align-items: flex-start; }
.art-chips span {
  padding: 8px 14px; border-radius: 100px;
  background: #fff; box-shadow: inset 0 0 0 1px #e1e4ec;
  font-family: var(--font-ui); font-size: 13px; font-weight: 600; color: var(--ink-2);
}
.bento__card--dark .art-chips span { background: #161b22; box-shadow: inset 0 0 0 1px #30363d; color: #c9cfdc; }
.art-sync { display: flex; align-items: center; gap: 12px; }
.art-sync b {
  display: grid; place-items: center;
  width: 64px; height: 64px; border-radius: 18px;
  background: #fff; box-shadow: inset 0 0 0 1px #e1e4ec;
  font-family: var(--font-display); font-weight: 800; font-size: 14px; color: var(--ink);
}
.art-sync em {
  position: relative; flex: 1; height: 2px; border-radius: 2px;
  background: repeating-linear-gradient(90deg, #9fb0c8 0 6px, transparent 6px 12px);
  background-size: 24px 2px;
  animation: slide-x 1.2s linear infinite;
}
.art-sync em.rev { animation-direction: reverse; }
@keyframes slide-x { to { background-position: 24px 0; } }

/* ---------- Punto Check showcase ---------- */
.check {
  position: relative;
  display: grid; gap: clamp(32px, 6vw, 96px);
  grid-template-columns: 6fr 5fr;
  align-items: start;
}
.check__steps { display: grid; }
.check__step {
  min-height: 70svh;
  display: grid; align-content: center; gap: 14px;
  opacity: 0.28;
  transition: opacity 0.6s var(--ease-out);
}
.check__step.is-active { opacity: 1; }
.check__step h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 800; letter-spacing: -0.02em; }
.check__step p { max-width: 44ch; }
.check__stage {
  position: sticky; top: calc(50svh - 330px);
  display: grid; place-items: center;
  height: 660px;
}
.check__stage::before {
  content: ""; position: absolute; width: 70%; height: 60%;
  background: radial-gradient(closest-side, rgb(46 196 176 / 0.35), transparent);
  filter: blur(40px);
}
.check__intro { grid-column: 1 / -1; }
@media (max-width: 860px) {
  .check { grid-template-columns: 1fr 190px; gap: 20px; }
  .check__stage { top: calc(50svh - 200px); height: 400px; align-items: start; }
  .check__stage .phone { zoom: 0.62; }
  .check__step { min-height: 62svh; }
  .check__step h3 { font-size: 1.35rem; }
  .check__step p { font-size: 15px; }
}
@media (max-width: 480px) {
  .check { grid-template-columns: 1fr 150px; gap: 14px; }
  .check__stage { top: calc(50svh - 170px); height: 340px; }
  .check__stage .phone { zoom: 0.5; }
  .check__step .eyebrow { font-size: 11px; letter-spacing: 0.08em; }
  .check__step h3 { font-size: 1.15rem; }
  .check__step p { font-size: 14px; }
}

/* ---------- FAQ ---------- */
.page-updated {
  margin: 12px 0 0;
  font-size: 0.8125rem;
  color: var(--ink-3, #7d8595);
  letter-spacing: 0.02em;
}
.center-title .page-updated { text-align: center; }
.faq { max-width: 860px; margin: clamp(40px, 5vw, 64px) auto 0; display: grid; gap: 10px; }
.faq details {
  border-radius: 20px; background: var(--card);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.06);
  transition: background-color 0.3s;
}
.faq details[open] { background: var(--card-2); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 26px;
  font-weight: 700; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none;
  width: 12px; height: 12px;
  border-right: 2px solid #9ee3e3; border-bottom: 2px solid #9ee3e3;
  rotate: 45deg; translate: 0 -3px;
  transition: rotate 0.35s var(--ease-out), translate 0.35s var(--ease-out);
}
.faq details[open] summary::after { rotate: 225deg; translate: 0 3px; }
.faq details p { padding: 0 26px 24px; max-width: 70ch; }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden;
  padding-block: clamp(100px, 14vw, 180px);
  text-align: center;
}
.cta__glow {
  position: absolute; left: 50%; bottom: -120px; translate: -50% 0;
  width: min(900px, 90vw); height: 320px;
  background: var(--grad); filter: blur(100px); opacity: 0.28;
  border-radius: 50%;
  animation: breathe 7s var(--ease-in-out) infinite alternate;
  pointer-events: none;
}
@keyframes breathe { from { opacity: 0.18; scale: 0.9 1; } to { opacity: 0.34; scale: 1.08 1; } }
.cta .title { max-width: 16ch; margin-inline: auto; }
.cta .lede { margin: 22px auto 34px; }
.cta__line { width: min(80%, 900px); height: 1px; background: var(--line); margin: 0 auto; }

/* ---------- Split / prose ---------- */
.split {
  display: grid; gap: clamp(32px, 6vw, 96px);
  grid-template-columns: 1fr 1fr; align-items: start;
}
.split .lede + .lede { margin-top: 18px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.prose p + p { margin-top: 18px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip {
  padding: 9px 16px; border-radius: 100px;
  font-family: var(--font-ui); font-size: 13px; font-weight: 600;
  color: #d6dbe6;
  background: rgb(255 255 255 / 0.04);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1);
}

/* ---------- Contact ---------- */
.contact {
  display: grid; gap: clamp(28px, 5vw, 64px);
  grid-template-columns: 5fr 7fr; align-items: start;
}
.contact__info { display: grid; gap: 14px; }
.contact__item {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 22px; text-decoration: none;
}
.contact__item svg { width: 22px; height: 22px; color: #9ee3e3; flex: none; }
.contact__item b { display: block; font-size: 1.05rem; }
.contact__item span { font-family: var(--font-ui); font-size: 13px; color: var(--muted); }
.form { padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--font-ui); font-size: 13px; font-weight: 600; color: #c9cfdc; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 15px 18px;
  border-radius: 14px; border: 0;
  background: #0d1117; color: #fff;
  box-shadow: inset 0 0 0 1px #30363d;
  font-family: var(--font-ui); font-size: 15px;
  transition: box-shadow 0.25s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; box-shadow: inset 0 0 0 1px #9ee3e3, 0 0 0 4px rgb(158 227 227 / 0.12);
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { font-size: 13px; color: var(--muted); }
.alert {
  padding: 14px 18px; border-radius: 14px;
  font-family: var(--font-ui); font-size: 14px; font-weight: 500;
}
.alert--ok { background: rgb(46 196 176 / 0.12); color: #aef0e3; box-shadow: inset 0 0 0 1px rgb(46 196 176 / 0.35); }
.alert--err { background: rgb(240 100 90 / 0.12); color: #ffc2bb; box-shadow: inset 0 0 0 1px rgb(240 100 90 / 0.35); }
@media (max-width: 860px) {
  .contact { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.footer {
  background: #fff; color: var(--ink);
  padding-block: clamp(56px, 7vw, 88px) 36px;
  position: relative; z-index: 2;
}
.footer__grid {
  display: grid; gap: 40px;
  grid-template-columns: 1.6fr repeat(4, 1fr);
}
.footer__brand img { width: 170px; height: auto; }
.footer__brand p { color: var(--ink-2); margin-top: 16px; max-width: 34ch; font-size: 15px; }
.footer h4 {
  font-family: var(--font-ui); font-size: 13px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: #8a91a0;
  margin: 0 0 12px;
}
.footer__col { display: grid; gap: 2px; align-content: start; }
.footer__col a {
  display: block;
  position: relative; z-index: 1;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px;
  width: fit-content; max-width: 100%;
  padding: 6px 0;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.35s var(--ease-out);
}
.footer__col a:hover { background-size: 100% 1px; }
.footer__bottom {
  margin-top: 56px; padding-top: 24px;
  border-top: 1px solid #e6e8ee;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-family: var(--font-ui); font-size: 13px; color: #8a91a0;
}
@media (max-width: 960px) {
  .footer__brand { grid-column: 1 / -1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

.wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: flex; align-items: center; gap: 10px;
  height: 54px; padding: 0 20px 0 16px; border-radius: 100px;
  background: #fff; color: #000; text-decoration: none;
  font-family: var(--font-ui); font-weight: 600; font-size: 14px;
  box-shadow: 0 16px 40px -12px rgb(0 0 0 / 0.6), 0 0 0 1px rgb(0 0 0 / 0.06);
  transition: transform 0.3s var(--ease-out);
}
.wa:hover { transform: translateY(-2px); }
.wa svg { width: 22px; height: 22px; color: #1faa55; }
@media (max-width: 560px) { .wa span { display: none; } .wa { padding: 0; width: 54px; justify-content: center; } }

/* ---------- Reveal ---------- */
[data-reveal] {
  opacity: 0; translate: 0 36px; filter: blur(6px);
  transition: opacity var(--dur) var(--ease-out), translate var(--dur) var(--ease-out), filter var(--dur) var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
}
[data-reveal].is-in { opacity: 1; translate: 0 0; filter: blur(0); }

/* =========================================================
   GHOST UI — interfaces insinuadas (no capturas reales)
   ========================================================= */
.ghost {
  --mx: 50%; --my: 40%;
  position: relative;
  isolation: isolate;
  color: #dfe4ee;
  font-family: var(--font-ui);
  user-select: none;
}
.ghost__sheen {
  position: absolute; inset: 0; z-index: 6; border-radius: inherit; pointer-events: none;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgb(200 244 236 / 0.10), transparent 70%);
}
.ghost__sweep {
  position: absolute; inset: 0; z-index: 6; overflow: hidden; border-radius: inherit; pointer-events: none;
}
.ghost__sweep::before {
  content: ""; position: absolute; top: -20%; bottom: -20%; width: 30%;
  left: -40%;
  background: linear-gradient(100deg, transparent, rgb(255 255 255 / 0.07), transparent);
  animation: sweep 6.5s var(--ease-in-out) infinite;
}
@keyframes sweep { 0%, 35% { left: -40%; } 75%, 100% { left: 120%; } }

.sk { display: block; height: 8px; border-radius: 5px; background: #2a313b; }
.sk--l { background: #3a424e; }
.sk--t { background: rgb(46 196 176 / 0.55); }
.sk--w20 { width: 20%; } .sk--w30 { width: 30%; } .sk--w40 { width: 40%; }
.sk--w50 { width: 50%; } .sk--w60 { width: 60%; } .sk--w70 { width: 70%; } .sk--w80 { width: 80%; }
.sk--h6 { height: 6px; } .sk--h12 { height: 12px; } .sk--h16 { height: 16px; }

/* window frame */
.win {
  position: relative;
  border-radius: 18px;
  background: #0f1318;
  box-shadow: 0 0 0 1px #2a3038, 0 40px 120px -40px rgb(0 0 0 / 0.9), 0 0 0 10px rgb(255 255 255 / 0.02);
  overflow: hidden;
}
.win__bar {
  display: flex; align-items: center; gap: 7px;
  height: 38px; padding: 0 16px;
  background: #151a21; border-bottom: 1px solid #232932;
}
.win__bar i { width: 10px; height: 10px; border-radius: 50%; background: #333a45; }
.win__bar .sk { margin-left: auto; margin-right: auto; width: 34%; height: 18px; border-radius: 6px; background: #1d232b; }
.win__body { display: grid; grid-template-columns: 170px 1fr; min-height: 380px; }
.win__side { background: #12161c; border-right: 1px solid #1f252d; padding: 18px 14px; display: grid; align-content: start; gap: 14px; }
.win__side .sk { height: 9px; }
.win__side .on { background: rgb(46 196 176 / 0.45); }
.win__main { padding: 20px; display: grid; gap: 16px; align-content: start; }
@media (max-width: 720px) {
  .win__body { grid-template-columns: 1fr; min-height: 0; }
  .win__side { display: none; }
}

/* dashboard pieces */
.g-banner {
  border-radius: 12px; padding: 16px 18px;
  background: linear-gradient(100deg, #139a86, #1fb39c 60%, #1a8f80);
  display: grid; gap: 8px;
}
.g-banner b { font-size: 17px; font-weight: 700; color: #effffb; letter-spacing: -0.01em; }
.g-banner .sk { background: rgb(255 255 255 / 0.35); height: 7px; }
.g-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.g-kpi { border-radius: 12px; background: #161b22; padding: 14px; display: grid; gap: 10px; box-shadow: inset 0 0 0 1px #222831; }
.g-kpi small { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: #7d8595; }
.g-kpi strong { font-size: clamp(15px, 1.7vw, 22px); font-weight: 700; color: #3fd4bf; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.g-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.g-panel { border-radius: 12px; background: #161b22; box-shadow: inset 0 0 0 1px #222831; overflow: hidden; }
.g-panel__h { padding: 11px 14px; background: #1c222b; font-size: 12px; font-weight: 600; color: #aeb6c6; }
.g-panel__b { padding: 14px; }
.g-bars { display: flex; align-items: flex-end; gap: 10px; height: 150px; border-bottom: 1px solid #2a313b; padding-bottom: 1px; }
.g-bars i {
  flex: 1; border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #4fd9d6, #2bb7b3);
  height: calc(var(--h) * 1%);
  transform-origin: bottom; scale: 1 0.04;
  transition: scale 1.2s var(--ease-out);
  transition-delay: calc(var(--i) * 80ms + 150ms);
}
.is-in .g-bars i { scale: 1 1; }
.g-days { display: flex; gap: 10px; margin-top: 8px; }
.g-days span { flex: 1; text-align: center; font-size: 10px; color: #6f7788; }
.g-donut { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; }
.g-donut svg { width: 120px; height: 120px; rotate: -90deg; }
.g-donut circle { fill: none; stroke-width: 18; }
.g-donut .seg {
  stroke-dasharray: 0 400;
  transition: stroke-dasharray 1.4s var(--ease-out);
  transition-delay: calc(var(--i) * 120ms + 300ms);
}
.is-in .g-donut .seg { stroke-dasharray: var(--len) 400; }
.g-legend { display: grid; gap: 7px; }
.g-legend span { display: flex; align-items: center; gap: 7px; }
.g-legend span::before { content: ""; width: 14px; height: 7px; border-radius: 2px; background: var(--c); flex: none; }
.g-legend .sk { flex: 1; height: 6px; }
.g-hbars { display: grid; gap: 9px; }
.g-hbar { display: grid; grid-template-columns: 90px 1fr; gap: 10px; align-items: center; }
.g-hbar i {
  height: 9px; border-radius: 2px; background: #f0ab63;
  width: calc(var(--w) * 1%);
  transform-origin: left; scale: 0 1;
  transition: scale 1.2s var(--ease-out);
  transition-delay: calc(var(--i) * 70ms + 200ms);
}
.is-in .g-hbar i { scale: 1 1; }
@media (max-width: 720px) {
  .g-kpis { grid-template-columns: repeat(2, 1fr); }
  .g-row { grid-template-columns: 1fr; }
}

/* branch movements */
.g-branches { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.g-branch { border-radius: 12px; background: #13171d; box-shadow: inset 0 0 0 1px #222831; padding: 14px; display: grid; gap: 10px; }
.g-branch__h { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.g-branch__h b { font-size: 14px; font-weight: 700; }
.g-branch__h em { font-style: normal; font-size: 13px; font-weight: 700; color: #3fd4bf; font-variant-numeric: tabular-nums; }
.g-branch__btn { height: 30px; border-radius: 6px; background: #273444; box-shadow: inset 0 -2px 0 #1fb39c; }
.g-mov {
  display: grid; grid-template-columns: 38px 52px 1fr auto; gap: 10px; align-items: center;
  padding: 10px 10px 10px 12px; border-radius: 8px; background: #181d24;
  box-shadow: inset 3px 0 0 #1fb39c;
  animation: mov-in 0.8s var(--ease-out) both;
  animation-delay: calc(var(--i) * 0.12s);
  animation-play-state: paused;
}
.is-in .g-mov { animation-play-state: running; }
@keyframes mov-in { from { opacity: 0; translate: 0 10px; } }
.g-mov time { font-size: 11px; font-weight: 700; color: #cfd5df; }
.g-pill { font-size: 10px; font-weight: 700; color: #eafff9; background: #2fa865; padding: 4px 8px; border-radius: 4px; text-align: center; }
.g-mov strong { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.g-mov .sks { display: grid; gap: 5px; }
@media (max-width: 560px) { .g-branches { grid-template-columns: 1fr; } .g-branch:nth-child(2) { display: none; } }

/* POS (Punto) */
.g-pos { display: grid; grid-template-columns: 1fr 260px; gap: 14px; }
.g-search { display: flex; gap: 10px; }
.g-search .box { flex: 1; height: 38px; border-radius: 10px; background: #0b0e12; box-shadow: inset 0 0 0 1px #2a313b; display: flex; align-items: center; padding: 0 12px; gap: 10px; }
.g-search .box i { width: 2px; height: 16px; background: #9ee3e3; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.g-search .key { width: 90px; height: 38px; border-radius: 10px; background: #1fb39c; }
.g-lines { display: grid; gap: 6px; }
.g-line {
  display: grid; grid-template-columns: 26px 1fr 86px 90px; gap: 12px; align-items: center;
  padding: 11px 12px; border-radius: 8px; background: #151a20;
  font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.g-line b { font-weight: 700; text-align: right; }
.g-line span { color: #7d8595; }
.g-line.is-new { animation: line-in 0.7s var(--ease-out) both; box-shadow: inset 0 0 0 1px rgb(46 196 176 / 0.4); }
@keyframes line-in { from { opacity: 0; translate: -12px 0; background: rgb(46 196 176 / 0.25); } }
.g-ticket { border-radius: 12px; background: #161b22; box-shadow: inset 0 0 0 1px #222831; padding: 16px; display: grid; gap: 12px; align-content: start; }
.g-ticket small { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: #7d8595; }
.g-total { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; color: #3fd4bf; font-variant-numeric: tabular-nums; font-family: var(--font-display); }
.g-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.g-btns i { height: 40px; border-radius: 10px; background: #1d232b; box-shadow: inset 0 0 0 1px #2a313b; }
.g-btns i.pri { grid-column: 1 / -1; background: #1fb39c; box-shadow: none; }
.g-cae { display: flex; align-items: center; gap: 8px; font-size: 11px; color: #aef0e3; }
.g-cae::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3fd4bf; box-shadow: 0 0 10px #3fd4bf; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.3; } }
@media (max-width: 720px) { .g-pos { grid-template-columns: 1fr; } .g-line { grid-template-columns: 22px 1fr 90px; } .g-line span:nth-child(3) { display: none; } }
.xp-card .g-line { grid-template-columns: 22px 1fr 90px; }
.xp-card .g-line span:nth-child(3) { display: none; }

/* SidEFi table */
.g-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.g-tabs span { padding: 8px 12px; border-radius: 8px; font-size: 12px; font-weight: 600; color: #8b93a5; background: #151a20; }
.g-tabs span.on { color: #04110f; background: #9ee3e3; }
.g-table { border-radius: 12px; overflow: hidden; box-shadow: inset 0 0 0 1px #222831; }
.g-tr { display: grid; grid-template-columns: 90px 1.4fr 1fr 90px; gap: 14px; align-items: center; padding: 12px 14px; border-top: 1px solid #1d232b; font-size: 12px; }
.g-tr:first-child { border-top: 0; background: #1a2028; font-weight: 600; color: #aeb6c6; }
.g-tr b { font-weight: 600; font-variant-numeric: tabular-nums; }
.g-state { justify-self: start; padding: 3px 8px; border-radius: 4px; font-size: 10px; font-weight: 700; background: rgb(46 196 176 / 0.18); color: #7fe6d6; }
.g-state--w { background: rgb(242 193 78 / 0.16); color: #f2c14e; }
@media (max-width: 560px) { .g-tr { grid-template-columns: 70px 1fr 70px; } .g-tr > :nth-child(3) { display: none; } }

/* ---------- Phone (Punto Check) ---------- */
.phone {
  position: relative;
  width: 300px; aspect-ratio: 300 / 620;
  border-radius: 48px;
  padding: 12px;
  background: linear-gradient(145deg, #2b3038, #0d0f13 40%, #1c2027);
  box-shadow: 0 0 0 1.5px #3a404a, 0 50px 120px -30px rgb(0 0 0 / 0.95), inset 0 0 0 2px #050608;
}
.phone::before {
  content: ""; position: absolute; top: 22px; left: 50%; translate: -50% 0; z-index: 10;
  width: 92px; height: 26px; border-radius: 20px; background: #000;
}
.phone__screen {
  position: relative; height: 100%;
  border-radius: 38px; overflow: hidden;
  background: #16181c;
}
.pc {
  position: absolute; inset: 0;
  display: grid; align-content: start; gap: 14px;
  padding: 58px 16px 18px;
  font-family: var(--font-ui);
  transition: opacity 0.7s var(--ease-out), translate 0.7s var(--ease-out), filter 0.7s var(--ease-out);
}
.pc[aria-hidden="true"] { opacity: 0; translate: 0 18px; filter: blur(6px); pointer-events: none; }
.pc__bar { display: flex; align-items: center; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid #22262d; margin-inline: -16px; padding-inline: 16px; }
.pc__bar b { font-size: 15px; font-weight: 700; color: #fff; }
.pc__bar b span { color: #1fbf9f; margin-right: 5px; }
.pc__count {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: #1fbf9f; color: #04110f; font-size: 11px; font-weight: 700;
  transition: scale 0.4s var(--ease-out);
}
.pc__count.bump { animation: bump 0.6s var(--ease-out); }
@keyframes bump { 40% { scale: 1.35; } }
.pc__scan {
  position: relative; height: 170px; border-radius: 18px;
  background: radial-gradient(ellipse at 50% 60%, #13241f, #121418 70%);
  box-shadow: inset 0 0 0 1px #262a31;
  overflow: hidden;
}
.pc__corner { position: absolute; width: 26px; height: 26px; border: 3px solid #1fbf9f; }
.pc__corner:nth-child(1) { top: 14px; left: 14px; border-right: 0; border-bottom: 0; border-top-left-radius: 4px; }
.pc__corner:nth-child(2) { top: 14px; right: 14px; border-left: 0; border-bottom: 0; border-top-right-radius: 4px; }
.pc__corner:nth-child(3) { bottom: 14px; left: 14px; border-right: 0; border-top: 0; border-bottom-left-radius: 4px; }
.pc__corner:nth-child(4) { bottom: 14px; right: 14px; border-left: 0; border-top: 0; border-bottom-right-radius: 4px; }
.pc__barcode {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 82px; height: 64px;
  background: repeating-linear-gradient(90deg, #cfd5df 0 3px, transparent 3px 5px, #cfd5df 5px 6px, transparent 6px 9px, #cfd5df 9px 13px, transparent 13px 15px);
  opacity: 0.75;
}
.pc__laser {
  position: absolute; left: 18px; right: 18px; height: 2px; top: 50%;
  background: linear-gradient(90deg, transparent, #1fbf9f, transparent);
  box-shadow: 0 0 14px 2px rgb(31 191 159 / 0.7);
  animation: laser 2.4s var(--ease-in-out) infinite alternate;
}
@keyframes laser { from { top: 26%; } to { top: 74%; } }
.pc__hint { text-align: center; font-size: 12px; color: #9aa1ae; }
.pc__btn {
  height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: #1fbf9f; color: #fff; font-size: 15px; font-weight: 700;
}
.pc__btn--dark { background: #2a2f37; }
.pc__btn--out { background: transparent; color: #f0ab63; box-shadow: inset 0 0 0 1.5px #f0ab63; height: 40px; width: 70%; justify-self: center; font-size: 14px; }
.pc__manual { border-radius: 14px; background: #1c1f24; box-shadow: inset 0 0 0 1px #262a31; padding: 12px; display: grid; gap: 10px; }
.pc__manual small { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; color: #9aa1ae; }
.pc__manual div { display: grid; grid-template-columns: 36px 1fr 58px; gap: 6px; }
.pc__manual i { height: 36px; border-radius: 10px; background: #121418; box-shadow: inset 0 0 0 1px #2a2f37; }
.pc__manual i:first-child { background: #262b32; box-shadow: none; }
.pc__manual i:last-child { background: #2a2f37; box-shadow: none; }
.pc__feat { display: grid; gap: 6px; }
.pc__feat span { display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 10px; background: #1b1e23; }
.pc__feat span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #1fbf9f; flex: none; }
.pc__feat .sk { flex: 1; height: 6px; background: #30353d; }
.pc__name { text-align: center; font-size: 15px; font-weight: 700; color: #fff; letter-spacing: 0.02em; margin-top: 6px; }
.pc__code { justify-self: center; display: flex; align-items: center; gap: 6px; font-size: 12px; color: #8a919d; }
.pc__code::before { content: ""; width: 16px; height: 10px; background: repeating-linear-gradient(90deg, #8a919d 0 1px, transparent 1px 3px); }
.pc__price { text-align: center; font-family: var(--font-display); font-size: 36px; font-weight: 800; color: #1fbf9f; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pc__offer { border-radius: 14px; background: #2c2716; box-shadow: inset 0 0 0 1px #6b5a22; padding: 10px; text-align: center; display: grid; gap: 2px; }
.pc__offer b { font-size: 15px; color: #f2c14e; }
.pc__offer b em { font-style: normal; font-size: 9px; font-weight: 800; background: #f2c14e; color: #2c2716; padding: 2px 5px; border-radius: 3px; margin-right: 6px; vertical-align: 2px; }
.pc__offer span { font-size: 11px; color: #d6c48d; }
.pc__stock { border-radius: 14px; box-shadow: inset 0 0 0 1px #30353d; padding: 10px; text-align: center; display: grid; gap: 2px; }
.pc__stock span { font-size: 11px; color: #9aa1ae; }
.pc__stock b { font-size: 16px; color: #fff; font-variant-numeric: tabular-nums; }
.pc--stock { gap: 8px; padding: 50px 14px 14px; }
.pc--stock .pc__code { margin-top: 2px; }
.pc--stock .pc__price { font-size: 28px; margin-top: -4px; }
.pc__stock--dual {
  padding: 8px 10px 10px;
  gap: 2px;
}
.pc__stock--dual strong {
  font-size: 16px; font-weight: 800; color: #fff;
  font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
}
.pc__adjust {
  display: grid; gap: 6px;
  padding: 8px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1.5px #f0ab63;
  background: #16181c;
}
.pc__adjust-head {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  color: #f0ab63; font-size: 13px; font-weight: 700;
}
.pc__adjust-head svg { width: 11px; height: 11px; }
.pc__tabs {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
}
.pc__tabs span {
  height: 26px; border-radius: 7px; display: grid; place-items: center;
  background: #2a2f37; color: #c9cfdc; font-size: 10px; font-weight: 700;
}
.pc__tabs span.on { background: #f0ab63; color: #1a1208; }
.pc__note {
  margin: 0; font-size: 8.5px; line-height: 1.3; color: #8a919d;
  letter-spacing: 0;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
.pc__field {
  display: grid; gap: 1px;
  min-height: 32px; padding: 5px 9px; border-radius: 9px;
  background: #1c1f24; box-shadow: inset 0 0 0 1px #2a2f37;
  align-content: center;
}
.pc__field small { font-size: 9px; font-weight: 700; color: #9aa1ae; }
.pc__field em { font-style: normal; font-size: 11px; color: #6b7280; }
.pc__field.is-on { box-shadow: inset 0 0 0 1.5px #f0ab63; }
.pc--stock .pc__btn { height: 40px; font-size: 13px; border-radius: 12px; }
.pc__btn--amber { background: #f0ab63; color: #1a1208; }
.pc__miss {
  border-radius: 12px; background: #2c2716; box-shadow: inset 0 0 0 1px #6b5a22;
  padding: 8px 10px; display: grid; gap: 2px; text-align: center;
}
.pc__miss b { font-size: 13px; color: #f2c14e; }
.pc__miss span { font-size: 11px; color: #d6c48d; font-variant-numeric: tabular-nums; }
.pc__photo {
  position: relative; height: 160px; border-radius: 18px;
  background: radial-gradient(ellipse at 50% 55%, #1f2229, #121418 70%);
  box-shadow: inset 0 0 0 1px #262a31;
  overflow: hidden;
}
.pc__photo .pc__corner { border-color: #f0ab63; }
.pc__item {
  position: absolute; left: 50%; top: 44%; translate: -50% -50%;
  width: 54px; height: 80px; border-radius: 12px 12px 8px 8px;
  background: linear-gradient(160deg, #3a4150, #262b34);
  box-shadow: inset 0 0 0 1px #4a5262;
}
.pc__item::before {
  content: ""; position: absolute; left: 8px; right: 8px; top: 24px; height: 22px;
  border-radius: 4px; background: #cfd5df; opacity: 0.45;
}
.pc__item::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 10px; height: 10px;
  background: repeating-linear-gradient(90deg, #cfd5df 0 1px, transparent 1px 3px); opacity: 0.6;
}
.pc__shutter {
  position: absolute; left: 50%; bottom: 10px; translate: -50% 0;
  width: 30px; height: 30px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 3px rgb(255 255 255 / 0.3);
}
.pc__photo::after {
  content: ""; position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none;
}
.pc[data-screen="missing"]:not([aria-hidden="true"]) .pc__photo::after { animation: pc-flash 0.9s ease-out 0.6s; }
@keyframes pc-flash { 12% { opacity: 0.75; } to { opacity: 0; } }
.pc__toast {
  position: absolute; left: 16px; right: 16px; bottom: 18px;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: 14px;
  background: #1fbf9f; color: #04110f; font-size: 13px; font-weight: 700;
  translate: 0 20px; opacity: 0;
  transition: translate 0.5s var(--ease-out), opacity 0.5s var(--ease-out);
}
.pc__toast svg { width: 18px; height: 18px; }
.pc__toast.is-on { translate: 0 0; opacity: 1; }

/* small phone for cards */
.phone--sm { width: 210px; border-radius: 36px; padding: 9px; }
.phone--sm::before { top: 16px; width: 64px; height: 18px; }
.phone--sm .phone__screen { border-radius: 28px; }
.phone--sm .pc { padding: 44px 12px 12px; gap: 10px; }
.phone--sm .pc__scan { height: 120px; }
.phone--sm .pc__price { font-size: 26px; }
.phone--sm .pc__btn { height: 36px; font-size: 12px; border-radius: 10px; }

/* hero composition: window + floating phone */
.duo { position: relative; }
.duo .phone--float {
  position: absolute; right: -2%; bottom: -8%;
  width: 230px;
  rotate: -4deg;
  translate: 0 calc((1 - var(--p, 0)) * 60px);
  z-index: 8;
}
.duo .phone--float .pc { padding: 46px 12px 12px; gap: 10px; }
.duo .phone--float .pc__scan { height: 120px; }
.duo .phone--float .pc__price { font-size: 26px; }
.duo .phone--float .pc__btn { height: 38px; font-size: 13px; }
@media (max-width: 720px) {
  .duo .phone--float { width: 118px; right: 4px; bottom: -26%; border-radius: 24px; padding: 6px; }
  .duo .phone--float .phone__screen { border-radius: 19px; }
  .duo + .hero__copy { margin-top: 90px; }
  .duo .phone--float::before { top: 12px; width: 44px; height: 14px; }
  .duo .phone--float .phone__screen { border-radius: 22px; }
  .duo .phone--float .pc { padding: 32px 8px 8px; gap: 7px; }
  .duo .phone--float .pc__scan { height: 76px; }
  .duo .phone--float .pc__manual, .duo .phone--float .pc__feat, .duo .phone--float .pc__hint { display: none; }
  .duo .phone--float .pc__bar b { font-size: 11px; }
}

/* card-scale ghost content */
.mini { transform-origin: top left; }
.xp-card__media .win { border-radius: 14px; }
.xp-card__media .win__body { min-height: 0; grid-template-columns: 1fr; }
.xp-card__media .win__side { display: none; }
.xp-card__media .phone { margin: 0 auto; }

/* ---------- Business-line tones ---------- */
.tone-lilac {
  --teal: #b9a4f0;
  --grad: linear-gradient(90deg, #ece4ff 0%, #c9b6f6 40%, #e7b7e3 100%);
  --grad-diag: linear-gradient(128deg, #ece4ff, #c9b6f6 45%, #e7b7e3);
}
.tone-lilac .feat__icon { color: #c9b6f6; background: rgb(185 164 240 / 0.08); box-shadow: inset 0 0 0 1px rgb(185 164 240 / 0.2); }
.tone-lilac .feat li::before { background: #c9b6f6; }
.tone-lilac .g-tabs span.on { background: #c9b6f6; }
.tone-lilac .g-kpi strong { color: #c9b6f6; }
.tone-lilac .g-state { background: rgb(185 164 240 / 0.18); color: #d6c8fa; }
.tone-lilac .g-bars i { background: linear-gradient(180deg, #c9b6f6, #9c86e0); }
.tone-lilac .win__side .on { background: rgb(185 164 240 / 0.5); }
.tone-lilac .chip { box-shadow: inset 0 0 0 1px rgb(185 164 240 / 0.28); }
.tone-lilac .glow-bg { background: linear-gradient(90deg, #c9b6f6, #e7b7e3); }
.tone-warm {
  --teal: #e0893a;
  --grad: linear-gradient(90deg, #ffe7cc 0%, #f6c08c 42%, #e9b8e2 100%);
  --grad-diag: linear-gradient(128deg, #ffe7cc, #f6c08c 45%, #e9b8e2);
}
.tone-warm .feat__icon { color: #f6c08c; background: rgb(240 171 99 / 0.08); box-shadow: inset 0 0 0 1px rgb(240 171 99 / 0.22); }
.tone-warm .eco-step__n { color: #f0ab63; }
.eco-steps--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .eco-steps--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .eco-steps--4 { grid-template-columns: 1fr; } }

.line-cut {
  position: relative;
  height: 1px; width: min(80%, 900px); margin: 0 auto;
  background: linear-gradient(90deg, transparent, #3a3350, transparent);
}
.line-head { display: grid; gap: 16px; justify-items: start; max-width: 760px; }
.line-head .lede { max-width: 60ch; }
.line-head--center { justify-items: center; text-align: center; margin-inline: auto; }
.line-head--center .lede { margin-inline: auto; }
.sub-title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }

.xp-card--4 { grid-column: span 4; min-height: 480px; }
@media (max-width: 1000px) { .xp-card--4 { grid-column: span 6; } .xp-card--4:last-child { grid-column: 1 / -1; } }
@media (max-width: 700px) { .xp-card--4, .xp-card--4:last-child { grid-column: 1 / -1; } }

/* SidEFi feature split */
.line-split {
  display: grid; gap: clamp(32px, 5vw, 72px);
  grid-template-columns: 5fr 7fr; align-items: center;
}
.line-split .chips { margin-top: 4px; }
.line-split__stat {
  display: flex; align-items: center; gap: 14px; margin-top: 6px;
}
.line-split__stat .stat__n { font-size: clamp(48px, 5vw, 72px); flex-shrink: 0; line-height: 0.9; }
.line-split__stat .stat__label {
  max-width: 16ch; line-height: 1.2; letter-spacing: -0.01em;
}
.line-split__glow { position: relative; }
.line-split__glow::before {
  content: ""; position: absolute; inset: 15% 10% -5%; z-index: -1;
  background: linear-gradient(90deg, #c9b6f6, #e7b7e3); filter: blur(90px); opacity: 0.16;
}
@media (max-width: 900px) { .line-split { grid-template-columns: 1fr; } }

/* ---------- Doors (business-line selector) ---------- */
.doors {
  width: min(100% - var(--gutter) * 2, 1100px);
  margin: clamp(36px, 5vw, 56px) auto 0;
  display: grid; gap: 12px;
  grid-template-columns: repeat(4, 1fr);
}
.door {
  --c: var(--teal);
  display: grid; gap: 6px; align-content: start;
  padding: 20px 20px 22px;
  text-decoration: none; color: inherit;
  text-align: left;
  transition: transform 0.4s var(--ease-out);
}
.door:hover { transform: translateY(-3px); }
.door__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 14px var(--c); margin-bottom: 8px; }
.door b { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.01em; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.door b svg { width: 15px; height: 15px; flex: none; opacity: 0.6; transition: transform 0.3s var(--ease-out), opacity 0.3s; }
.door:hover b svg { transform: translateX(3px); opacity: 1; }
.door span { font-family: var(--font-ui); font-size: 13px; color: var(--muted); line-height: 1.45; }
.door--lilac { --c: #b9a4f0; }
.door--warm { --c: #f0ab63; }
.door--ice { --c: #cfd6e4; }
@media (max-width: 900px) { .doors { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .door { padding: 16px; } .door b { font-size: 0.98rem; } }

/* ---------- Light band: project cards ---------- */
.proj {
  display: grid; gap: 16px;
  grid-template-columns: 1fr 1fr;
  margin-top: clamp(40px, 6vw, 72px);
}
.proj__card {
  background: var(--light-card); border-radius: var(--r-xl);
  padding: clamp(24px, 3vw, 36px);
  display: grid; gap: 22px; align-content: start;
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}
.proj__card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgb(10 20 40 / 0.25); }
.proj__card h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.proj__card > div > p { margin-top: 10px; }
.proj__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.proj__list li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.45;
}
.proj__list li::before {
  content: ""; flex: none; margin-top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle, #fff 0 3px, transparent 3.5px), linear-gradient(135deg, #f0ab63, #e7b7e3);
}
.proj__list li small { display: block; font-weight: 500; color: var(--ink-2); font-size: 14px; }
.proj__card .link-arrow { color: var(--ink); }
.close-card {
  margin-top: 16px;
  border-radius: var(--r-xl); background: var(--ink); color: #fff;
  padding: clamp(32px, 5vw, 64px);
  display: grid; gap: 20px; justify-items: center; text-align: center;
  position: relative; overflow: hidden; isolation: isolate;
}
.close-card::before {
  content: ""; position: absolute; left: 50%; bottom: -140px; translate: -50% 0; z-index: -1;
  width: 70%; height: 240px; border-radius: 50%;
  background: var(--grad); filter: blur(80px); opacity: 0.35;
}
.light-band .close-card h2 { color: #fff; max-width: 20ch; }
.close-card p { color: var(--p); max-width: 52ch; }
@media (max-width: 860px) { .proj { grid-template-columns: 1fr; } }

/* ---------- Website screenshot in a window ---------- */
.win__shot { aspect-ratio: 16 / 10; overflow: hidden; background: #111; }
.win__shot img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 0%;
  transition: object-position 5s var(--ease-in-out), scale 1.2s var(--ease-out);
}
.proj__card:hover .win__shot img { object-position: 50% 100%; scale: 1.02; }
.win--shot { transition: box-shadow 0.6s var(--ease-out); }
.proj__card:hover .win--shot { box-shadow: 0 0 0 1px #2a3038, 0 50px 100px -40px rgb(240 171 99 / 0.45); }

.win--hero .win__shot img { animation: shot-pan 14s var(--ease-in-out) 1.2s infinite alternate; }
.win--hero:hover .win__shot img { animation-play-state: paused; }
@keyframes shot-pan { from { object-position: 50% 0%; } to { object-position: 50% 100%; } }

/* The same screenshot re-cut as a phone layout: header/headline on top, a product card below. */
.phone__site {
  height: 100%;
  display: grid; grid-template-rows: auto auto auto; align-content: start; gap: 4%;
  padding-top: 13%;
  overflow: hidden;
  background: #17120f;
}
.phone__slice {
  display: block;
  background: url("../img/web-mockup.jpg") no-repeat;
}
/* Headline + buttons: left 60% of the screenshot, top 57%. */
.phone__slice--top { aspect-ratio: 1 / 0.68; background-size: 160% auto; background-position: 2% 0; }
/* Product cards scaled to the full phone width, stacked like a mobile layout. */
.phone__slice--bottom, .phone__slice--card2 {
  aspect-ratio: 1 / 0.87;
  background-size: 330% auto;
  margin-inline: 4%;
  border-radius: 6px;
}
.phone__slice--bottom { background-position: 4.3% 100%; }
.phone__slice--card2 { background-position: 50.2% 100%; }

/* ---------- Ghost website mock ---------- */
.g-site { display: grid; gap: 14px; padding: 16px; background: #0f1318; }
.g-site__nav { display: flex; align-items: center; gap: 10px; }
.g-site__nav .logo { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, #f0ab63, #e7b7e3); }
.g-site__nav .sk { width: 44px; }
.g-site__nav .g-site__cta { margin-left: auto; width: 70px; height: 22px; border-radius: 100px; background: #fff; opacity: 0.85; }
.g-site__hero {
  position: relative; overflow: hidden;
  border-radius: 14px; min-height: 170px; padding: 22px;
  background: radial-gradient(120% 90% at 80% 20%, rgb(240 171 99 / 0.35), transparent 60%), radial-gradient(90% 80% at 10% 100%, rgb(231 183 227 / 0.3), transparent 60%), #151a21;
  display: grid; align-content: end; gap: 10px;
}
.g-site__hero .sk { background: rgb(255 255 255 / 0.85); }
.g-site__hero .sk + .sk { background: rgb(255 255 255 / 0.4); }
.g-site__hero .pill { width: 90px; height: 26px; border-radius: 100px; background: #fff; margin-top: 6px; }
.g-site__orb {
  position: absolute; right: 12%; top: 16%;
  width: 90px; height: 90px; border-radius: 50%;
  background: linear-gradient(135deg, #ffd9ae, #e7b7e3);
  filter: blur(1px); opacity: 0.8;
  animation: orb 7s var(--ease-in-out) infinite alternate;
}
@keyframes orb { to { translate: -40px 26px; scale: 1.15; } }
.g-site__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.g-site__cards div {
  border-radius: 10px; background: #161b22; box-shadow: inset 0 0 0 1px #222831;
  padding: 12px; display: grid; gap: 8px;
  animation: mov-in 0.8s var(--ease-out) both; animation-delay: calc(var(--i) * 0.15s + 0.3s);
  animation-play-state: paused;
}
.is-in .g-site__cards div { animation-play-state: running; }
.g-site__cards i.img { height: 56px; border-radius: 8px; background: linear-gradient(135deg, #232a33, #2d3540); }
.phone .g-site { padding: 52px 12px 12px; height: 100%; align-content: start; }
.phone .g-site__hero { min-height: 190px; padding: 16px; }
.phone .g-site__cards { grid-template-columns: 1fr; }
.phone .g-site__cards div { grid-template-columns: 50px 1fr; align-items: center; }
.phone .g-site__cards i.img { height: 40px; }

/* ---------- Nav dropdown ---------- */
.nav__group { position: relative; }
.nav__group-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; cursor: pointer;
}
.nav__group-btn svg { width: 12px; height: 12px; transition: rotate 0.3s var(--ease-out); }
.nav__group.is-open .nav__group-btn svg { rotate: 180deg; }
.nav__sub {
  position: absolute; left: 50%; top: calc(100% + 10px); translate: -50% 6px;
  min-width: 240px; padding: 8px;
  border-radius: 18px; background: rgb(18 22 28 / 0.96);
  box-shadow: 0 0 0 1px #2a3038, 0 30px 60px -20px rgb(0 0 0 / 0.8);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  display: grid; gap: 2px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s var(--ease-out), translate 0.25s var(--ease-out), visibility 0.25s;
}
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav__group:hover .nav__sub,
.nav__group:focus-within .nav__sub,
.nav__group.is-open .nav__sub { opacity: 1; visibility: visible; translate: -50% 0; }
.nav__sub a {
  display: grid; gap: 2px; padding: 11px 14px; border-radius: 12px;
  text-decoration: none; color: #fff;
  font-family: var(--font-ui); font-size: 14px; font-weight: 600;
  transition: background-color 0.2s;
}
.nav__sub a small { font-weight: 500; font-size: 12px; color: var(--muted); }
.nav__sub a:hover, .nav__sub a[aria-current="page"] { background: rgb(255 255 255 / 0.06); }
@media (max-width: 900px) {
  .nav__group-btn { width: 100%; justify-content: space-between; }
  .nav__group-btn svg { display: none; }
  .nav__sub {
    position: static; translate: none; opacity: 1; visibility: visible;
    min-width: 0; padding: 0 0 8px 12px; background: none; box-shadow: none;
    backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  .nav__group:hover .nav__sub, .nav__group.is-open .nav__sub { translate: none; }
  .nav__sub a { padding: 10px 4px; font-size: 16px; }
  .nav__sub a small { display: none; }
}

/* footer grid already defined above */

/* ---------- News ---------- */
.news-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px;
}
.news-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(36px, 5vw, 56px);
}
.news-grid:empty { min-height: 300px; }
.news-card {
  display: grid; align-content: space-between; gap: 28px;
  min-height: 330px;
  padding: 28px 30px 30px;
  text-decoration: none; color: inherit;
  transition: transform 0.6s var(--ease-out);
}
.news-card:hover { transform: translateY(-4px); }
.news-card__seal {
  justify-self: start;
  font-size: clamp(40px, 4.2vw, 58px); font-weight: 800; line-height: 1;
  letter-spacing: -0.04em; white-space: nowrap;
  padding-bottom: 0.08em;
  background: var(--grad-diag);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.news-card__media {
  display: block; overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-md);
  background: var(--line);
}
.news-card__media img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transition: scale 0.8s var(--ease-out);
}
.news-card:hover .news-card__media img { scale: 1.04; }
.news-card--img { align-content: start; gap: 24px; padding-top: 14px; padding-inline: 14px; }
.news-card--img .news-card__body { padding-inline: 16px; }
.news-card__body { display: grid; gap: 12px; align-content: end; }
.news-card__meta {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px;
  font-family: var(--font-ui); font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.news-card__meta span { color: var(--teal); }
.news-card__meta time { color: var(--muted); }
.news-card__title {
  font-size: clamp(1.2rem, 1.6vw, 1.42rem); font-weight: 800;
  line-height: 1.25; letter-spacing: -0.015em; text-wrap: balance;
}
.news-card p { font-size: 15px; }
.news-card .link-arrow { margin-top: 6px; }

.news-card--lead {
  grid-column: 1 / -1;
  grid-template-columns: 5fr 7fr; align-items: center; gap: clamp(28px, 5vw, 72px);
  min-height: 360px;
  padding: clamp(28px, 4vw, 52px);
}
.news-card--lead .news-card__seal { font-size: clamp(60px, 8.4vw, 124px); }
.news-card--lead .news-card__title { font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.15; }
.news-card--lead p { font-size: clamp(15px, 1.2vw, 17px); max-width: 52ch; }
.news-card--lead.news-card--img { grid-template-columns: 6fr 6fr; align-items: center; padding: 14px clamp(14px, 3vw, 44px) 14px 14px; }
.news-card--lead.news-card--img .news-card__body { padding: 16px 0; }

.news-grid--all > .news-card:nth-child(3n + 2):last-child {
  grid-column: 1 / -1;
  grid-template-columns: 5fr 7fr; align-items: center; gap: clamp(28px, 5vw, 72px);
  min-height: 0;
}

@media (max-width: 1000px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid > .news-card:nth-child(3):last-child { grid-column: 1 / -1; }
  .news-grid--all > .news-card:nth-child(3n + 2):last-child { grid-column: auto; grid-template-columns: none; }
  .news-grid--all > .news-card:nth-child(3):last-child { grid-column: auto; }
  .news-grid--all > .news-card:nth-child(2n + 2):last-child { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-card, .news-card--lead { min-height: 0; }
  .news-card--lead, .news-card--lead.news-card--img { grid-template-columns: 1fr; }
  .news-card--lead.news-card--img { padding: 14px; }
  .news-card--lead.news-card--img .news-card__body { padding: 0 16px 16px; }
}

.article { padding-top: clamp(40px, 6vw, 72px); }
.article__wrap { max-width: 780px; }
.article__back {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-ui); font-size: 14px; font-weight: 600;
  color: var(--p); text-decoration: none;
  transition: color 0.2s;
}
.article__back svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease-out); }
.article__back:hover { color: #fff; }
.article__back:hover svg { transform: translateX(-4px); }
.article__head {
  display: grid; gap: 20px;
  margin-top: clamp(32px, 5vw, 56px);
  padding-bottom: clamp(28px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
}
.article__head .news-card__meta { justify-content: flex-start; }
.article__head .lede { max-width: 62ch; }
.article__media { margin: 8px 0 0; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 16 / 10; background: var(--line); }
.article__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.article__body { margin-top: clamp(28px, 4vw, 44px); display: grid; gap: 20px; }
.article__body p, .article__body li { font-size: clamp(1rem, 1.25vw, 1.1rem); }
.article__body strong { color: #fff; font-weight: 700; }
.article__body a { color: #9ee3e3; text-underline-offset: 3px; }
.article__body ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.article__body li {
  position: relative; padding-left: 22px;
  color: var(--p); font-weight: 500; line-height: 1.6; letter-spacing: 0.02em;
}
.article__body li::before {
  content: ""; position: absolute; left: 2px; top: 0.7em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 10px var(--teal);
}
.article__actions { margin-top: clamp(36px, 5vw, 56px); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; translate: none; filter: none; }
  .hero__word .solid { opacity: 1; filter: none; translate: none; -webkit-mask-image: none; mask-image: none; }
  .hero__word .glow { opacity: 0.6; }
  .hero__rot { opacity: 1; }
  .win--hero .win__shot img { animation: none; }
  .hero__words, .hero__device, .duo .phone--float { scale: none; translate: none; opacity: 1; }
  .marquee__track { animation: none; }
}
