/* ==========================================================================
   LYVRE · La libertad toma forma
   Hoja de estilos principal
   --------------------------------------------------------------------------
   1. Fuentes            6. Header / navegación
   2. Variables          7. Hero (fotografía + auras oscuras)
   3. Base / reset       8. Secciones claras (beneficios, terminales, CTA)
   4. Utilidades         9. Tesorería digital
   5. Botones           10. Footer · 11. Animaciones · 12. Responsive
   ========================================================================== */

/* 1. Fuentes (auto-hospedadas, variables) ---------------------------------- */
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* 2. Variables -------------------------------------------------------------- */
:root {
  --c-ink: #0a1b25;          /* azul noche (botones, footer) */
  --c-ink-2: #071820;
  --c-heading: #17232c;
  --c-text: #6a747c;
  --c-text-2: #59636b;
  --c-line: #e2e6ea;
  --c-white: #ffffff;
  --c-bg-soft: #f6f7f9;

  --c-accent: #3ce6d2;       /* turquesa brillante (sobre oscuro) */
  --c-accent-2: #22bcb3;     /* turquesa para fondos claros */
  --c-accent-3: #35c9be;
  --c-violet: #7b5cff;

  --f-display: "Outfit", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 5.6vw, 64px);
  --header-h: 92px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --radius-pill: 999px;
}

/* 3. Base / reset ----------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 0;
}

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: 6px;
}

body.is-locked { overflow: hidden; }

/* 4. Utilidades ------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--c-white);
  color: var(--c-ink);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform .3s var(--ease-out);
}
.skip-link:focus { transform: none; }

.eyebrow {
  font-family: var(--f-body);
  font-size: clamp(11px, .95vw, 13px);
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--c-accent-2);
  margin-bottom: clamp(14px, 1.6vw, 22px);
}
.eyebrow--light {
  color: rgba(255, 255, 255, .86);
  font-weight: 500;
  letter-spacing: .34em;
}

.text-accent { color: var(--c-accent); }
.text-accent-dark { color: var(--c-accent-3); }

/* 5. Botones ---------------------------------------------------------------- */
.btn {
  --btn-h: 48px;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--btn-h);
  padding: 0 28px;
  border-radius: var(--radius-pill);
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out),
              background-color .3s, color .3s, border-color .3s;
  -webkit-tap-highlight-color: transparent;
}
.btn::after {               /* destello al pasar el cursor */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease-out);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }

.btn__arrow {
  width: 17px;
  height: 17px;
  flex: none;
  transition: transform .45s var(--ease-out);
}
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--light {
  background: var(--c-white);
  color: var(--c-ink);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .45);
}
.btn--light:hover { box-shadow: 0 16px 40px -12px rgba(60, 230, 210, .55); }

.btn--ghost {
  color: var(--c-white);
  border: 1.5px solid rgba(255, 255, 255, .85);
  background: rgba(255, 255, 255, .02);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.btn--ghost::after { background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .22) 50%, transparent 70%); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }

.btn--dark {
  background: var(--c-ink);
  color: var(--c-white);
  box-shadow: 0 14px 30px -16px rgba(10, 27, 37, .7);
}
.btn--dark::after { background: linear-gradient(110deg, transparent 30%, rgba(60, 230, 210, .35) 50%, transparent 70%); }
.btn--dark:hover { box-shadow: 0 18px 36px -14px rgba(10, 27, 37, .55), 0 0 0 4px rgba(60, 230, 210, .12); }

.btn--sm { --btn-h: 44px; padding: 0 30px; font-size: 15px; font-weight: 500; }
.btn--lg { --btn-h: 64px; padding: 0 44px; font-size: 16px; }

/* 6. Header / navegación ---------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  color: var(--c-white);
  transition: height .45s var(--ease-out), background-color .45s, box-shadow .45s, transform .5s var(--ease-out);
}
.site-header::before {      /* fondo de cristal al hacer scroll */
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 24, 32, .72);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  opacity: 0;
  transition: opacity .45s;
}
.site-header.is-scrolled { --header-h: 72px; }
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }

.header__inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; flex: none; }
.brand__logo {
  width: clamp(124px, 14.4vw, 174px);
  aspect-ratio: 5409 / 730;
  height: auto;
  color: var(--c-white);
  fill: currentColor;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .25));
  transition: width .45s var(--ease-out);
}
.is-scrolled .brand__logo { width: clamp(118px, 12vw, 150px); }

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 38px);
}
.nav__link {
  position: relative;
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, .86);
  padding: 8px 0;
  transition: color .3s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after { transform: scaleX(.6); transform-origin: left; }
.nav__link.is-active { color: #fff; font-weight: 500; }
.nav__link.is-active::after { transform: scaleX(1); }
.nav__cta-item { margin-left: clamp(0px, 1vw, 12px); }
.nav__cta.is-active { background: rgba(255, 255, 255, .14); }

.menu-toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .5);
  z-index: 2;
}
.menu-toggle span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.8px;
  border-radius: 2px;
  background: #fff;
  transition: transform .45s var(--ease-out), opacity .3s;
}
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 7. Hero ------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(620px, 56.28vw, 1080px);
  padding: calc(var(--header-h) + 24px) 0 64px;
  overflow: hidden;
  color: var(--c-white);
  background: var(--c-ink-2);
}

.hero__media {
  position: absolute;
  inset: -6% 0;              /* margen para el parallax */
  z-index: -3;
  will-change: transform;
}
.hero__media picture { display: block; width: 100%; height: 100%; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
  transform: scale(1.08);
  transition: transform 2.6s var(--ease-out);
}
.hero.is-inview .hero__media img { transform: scale(1); }

.hero__shade {               /* lectura del texto sobre la foto */
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 16, 22, .92) 0%, rgba(5, 16, 22, .78) 24%, rgba(5, 16, 22, .32) 44%, rgba(5, 16, 22, 0) 60%),
    linear-gradient(180deg, rgba(5, 16, 22, .45) 0%, rgba(5, 16, 22, 0) 22%),
    linear-gradient(0deg, rgba(5, 16, 22, .35) 0%, rgba(5, 16, 22, 0) 30%);
}

.hero__content { position: relative; z-index: 2; }

.hero__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(42px, 4.75vw, 76px);
  line-height: 1.06;
  letter-spacing: -.015em;
  color: var(--c-white);
  margin-bottom: clamp(16px, 1.6vw, 26px);
  text-wrap: balance;
}
.hero__title--md { font-weight: 600; font-size: clamp(40px, 4.4vw, 70px); line-height: 1.08; }
.hero--nosotros .hero__title--xl { font-weight: 700; font-size: clamp(46px, 5.4vw, 86px); letter-spacing: -.02em; }

.hero__text {
  max-width: 36ch;
  font-family: var(--f-display);
  font-size: clamp(15.5px, 1.42vw, 21px);
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, .9);
}
.hero--inicio .hero__text { max-width: 30em; font-size: clamp(15.5px, 1.4vw, 20px); }
.hero--inicio .hero__content > * { max-width: min(560px, 100%); }
.hero--pagos .hero__text { max-width: 31em; }
.hero--nosotros .hero__text { max-width: 26em; font-family: var(--f-body); }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(26px, 3vw, 42px);
}
.hero--inicio .hero__actions .btn { --btn-h: 50px; font-size: 14.5px; font-weight: 500; padding: 0 30px; }

/* Indicador de scroll */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 3;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, .55);
  opacity: .8;
}
.scroll-cue span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 3px;
  height: 8px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: #fff;
  animation: cue 2.2s var(--ease-in-out) infinite;
}

/* --- Auras oscuras (cintas de luz animadas) --- */
.aura { position: absolute; inset: 0; pointer-events: none; }
.aura--dark { z-index: -1; overflow: hidden; }

.aura__ribbons {
  position: absolute;
  top: -4%;
  left: -2%;
  height: 108%;
  width: auto;
  max-width: none;
  aspect-ratio: 560 / 1000;
  mix-blend-mode: screen;
  opacity: .95;
}
.ribbon {
  transform-box: view-box;
  transform-origin: 0 100%;
  animation: sway 14s var(--ease-in-out) infinite alternate;
}
.ribbon.r2 { animation-duration: 11s; animation-delay: -3s; }
.ribbon.r3 { animation-duration: 17s; animation-delay: -6s; }
.ribbon.r4 { animation-duration: 13s; animation-delay: -2s; }
.ribbon.r5 { animation-duration: 19s; animation-delay: -9s; }
.ribbon.r6 { animation-duration: 15s; animation-delay: -5s; }

.ribbon__haze { animation: haze 10s var(--ease-in-out) infinite alternate; transform-box: view-box; transform-origin: 0 50%; }
.ribbon__spark {
  stroke-dasharray: 90 910;
  stroke-dashoffset: 1000;
  opacity: .9;
  animation: spark 6s linear infinite;
}
.r2 .ribbon__haze { animation: haze 10s var(--ease-in-out) infinite alternate; transform-box: view-box; transform-origin: 0 50%; }
.ribbon__spark { animation-duration: 7.5s; animation-delay: -2s; }
.r3 .ribbon__haze { animation: haze 10s var(--ease-in-out) infinite alternate; transform-box: view-box; transform-origin: 0 50%; }
.ribbon__spark { animation-duration: 5.2s; animation-delay: -4s; }
.r4 .ribbon__haze { animation: haze 10s var(--ease-in-out) infinite alternate; transform-box: view-box; transform-origin: 0 50%; }
.ribbon__spark { animation-duration: 8.4s; animation-delay: -1s; }
.r5 .ribbon__haze { animation: haze 10s var(--ease-in-out) infinite alternate; transform-box: view-box; transform-origin: 0 50%; }
.ribbon__spark { animation-duration: 6.6s; animation-delay: -3s; }
.r6 .ribbon__haze { animation: haze 10s var(--ease-in-out) infinite alternate; transform-box: view-box; transform-origin: 0 50%; }
.ribbon__spark { animation-duration: 9s;   animation-delay: -6s; }

.aura__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  mix-blend-mode: screen;
  will-change: transform;
}
.aura__glow--teal {
  width: 46vw;
  height: 46vw;
  max-width: 720px;
  max-height: 720px;
  left: -18vw;
  top: 10%;
  background: radial-gradient(circle, rgba(34, 214, 190, .38), rgba(34, 214, 190, 0) 65%);
  animation: drift-a 18s var(--ease-in-out) infinite alternate;
}
.aura__glow--violet {
  width: 34vw;
  height: 34vw;
  max-width: 560px;
  max-height: 560px;
  left: -10vw;
  bottom: -12%;
  background: radial-gradient(circle, rgba(123, 77, 255, .42), rgba(123, 77, 255, 0) 65%);
  animation: drift-b 22s var(--ease-in-out) infinite alternate;
}

/* 8. Secciones claras ------------------------------------------------------- */
.section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(72px, 8.2vw, 124px);
}
.section--light { background: var(--c-white); }

.aura--light { z-index: -1; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  will-change: transform;
}
.aura--light .blob--a {     /* esquina superior derecha */
  width: 420px;
  height: 420px;
  right: -170px;
  top: 4%;
  background: radial-gradient(circle, rgba(190, 200, 255, .55), rgba(170, 236, 240, .35) 45%, transparent 70%);
  animation: drift-a 16s var(--ease-in-out) infinite alternate;
}
.aura--light .blob--b {     /* esquina inferior izquierda */
  width: 380px;
  height: 380px;
  left: -180px;
  bottom: -120px;
  background: radial-gradient(circle, rgba(200, 186, 255, .5), rgba(170, 236, 232, .32) 45%, transparent 70%);
  animation: drift-b 19s var(--ease-in-out) infinite alternate;
}
.aura--light .blob--c {
  width: 260px;
  height: 260px;
  right: 6%;
  bottom: -140px;
  background: radial-gradient(circle, rgba(150, 232, 224, .35), transparent 70%);
  animation: drift-c 24s var(--ease-in-out) infinite alternate;
}
.aura__lines {
  position: absolute;
  right: -40px;
  top: 30px;
  width: clamp(260px, 26vw, 420px);
  opacity: .7;
  animation: float-lines 12s var(--ease-in-out) infinite alternate;
}

.section-title {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: clamp(32px, 4.1vw, 58px);
  line-height: 1.12;
  letter-spacing: -.022em;
  color: var(--c-heading);
  text-wrap: balance;
}

.rule {
  height: 1px;
  margin: clamp(30px, 3.2vw, 46px) 0 clamp(24px, 2.4vw, 36px);
  border: 0;
  background: var(--c-line);
  transform-origin: left;
}

/* Beneficios */
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.benefit {
  position: relative;
  padding: 14px clamp(16px, 2vw, 30px) clamp(40px, 5vw, 76px);
}
.benefit:first-child { padding-left: 0; }
.benefit + .benefit { border-left: 1px solid var(--c-line); }
.benefit__num {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-accent-2);
  margin-bottom: clamp(18px, 2vw, 28px);
  font-variant-numeric: tabular-nums;
}
.benefit__title {
  font-size: clamp(15px, 1.3vw, 17.5px);
  font-weight: 700;
  color: var(--c-heading);
  margin-bottom: 14px;
  line-height: 1.3;
}
.benefit__text {
  font-size: clamp(14px, 1.18vw, 15.5px);
  line-height: 1.65;
  color: var(--c-text);
  max-width: 24ch;
}
.benefit::before {           /* línea de acento al pasar el cursor */
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--c-accent-2), var(--c-violet));
  transition: width .6s var(--ease-out);
}
.benefit + .benefit::before { left: clamp(16px, 2vw, 30px); }
.benefit:hover::before { width: 56px; }

/* Bloques divididos (Terminales / CTA) */
.split__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
}
.split .lead {
  max-width: 34ch;
  margin-top: clamp(26px, 2.8vw, 40px);
  font-size: clamp(16px, 1.55vw, 21px);
  line-height: 1.55;
  color: var(--c-text-2);
}
.split .btn { margin-top: clamp(38px, 6vw, 80px); }
.split--cta .lead { max-width: 38ch; }
.split--cta .btn { margin-top: clamp(32px, 4vw, 54px); }

.split__media {
  position: relative;
  justify-self: center;
  width: min(100%, 440px);
  text-align: left;
}
.split__media--wide { width: min(100%, 480px); justify-self: end; }
.split__media img { width: 100%; filter: drop-shadow(0 34px 34px rgba(10, 27, 37, .16)); }
.split__media figcaption {
  margin-top: 18px;
  font-size: clamp(14px, 1.3vw, 16px);
  color: var(--c-text);
}
.split__media::before {      /* halo bajo el dispositivo */
  content: "";
  position: absolute;
  inset: 12% 8% 18%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(60, 230, 210, .18), rgba(123, 92, 255, .1) 60%, transparent);
  filter: blur(30px);
  animation: pulse-halo 7s var(--ease-in-out) infinite alternate;
}

.device-float { animation: float 7s var(--ease-in-out) infinite; }
.device-float--slow { animation-duration: 9s; }

/* 9. Tesorería digital ------------------------------------------------------ */
.treasury {
  background-color: var(--c-bg-soft);
  background-image:
    radial-gradient(1200px 600px at 100% 0%, rgba(255, 255, 255, .9), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  padding-block: clamp(64px, 6.6vw, 100px);
}
.treasury__auras { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.treasury .blob--teal {
  width: 46vw; height: 30vw; right: -8vw; top: -8vw;
  background: radial-gradient(closest-side, rgba(50, 225, 210, .45), transparent);
  animation: drift-a 15s var(--ease-in-out) infinite alternate;
}
.treasury .blob--violet {
  width: 40vw; height: 26vw; right: 2vw; bottom: -8vw;
  background: radial-gradient(closest-side, rgba(140, 100, 255, .4), transparent);
  animation: drift-b 18s var(--ease-in-out) infinite alternate;
}
.treasury .blob--cyan {
  width: 26vw; height: 26vw; left: 34%; top: 40%;
  background: radial-gradient(closest-side, rgba(60, 220, 230, .28), transparent);
  animation: drift-c 21s var(--ease-in-out) infinite alternate;
}

.treasury__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
}
.treasury__title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(34px, 3.85vw, 60px);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--c-heading);
}
.treasury__lead {
  max-width: 40ch;
  margin-top: clamp(16px, 1.6vw, 24px);
  font-size: clamp(15.5px, 1.4vw, 19px);
  line-height: 1.5;
  color: var(--c-text);
}

.features {
  display: grid;
  gap: clamp(16px, 1.7vw, 26px);
  margin: clamp(24px, 2.6vw, 36px) 0 clamp(30px, 3.2vw, 46px);
}
.feature {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(16px, 1.8vw, 26px);
}
.feature__icon {
  display: grid;
  place-items: center;
  width: clamp(56px, 5.1vw, 76px);
  height: clamp(56px, 5.1vw, 76px);
  border-radius: 50%;
  color: var(--c-heading);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.feature__icon svg { width: 44%; height: 44%; }
.feature__icon--teal   { background: linear-gradient(145deg, #e6f8f6, #d9f2ef); }
.feature__icon--violet { background: linear-gradient(145deg, #efecfb, #e4e0f8); }
.feature:hover .feature__icon { transform: translateY(-3px) rotate(-4deg); box-shadow: 0 14px 26px -16px rgba(34, 188, 179, .8); }
.feature__title {
  font-family: var(--f-body);
  font-size: clamp(16px, 1.45vw, 20px);
  font-weight: 600;
  color: var(--c-heading);
  line-height: 1.25;
}
.feature__text {
  max-width: 34ch;
  margin-top: 3px;
  font-size: clamp(14px, 1.18vw, 16px);
  line-height: 1.45;
  color: var(--c-text);
}

.treasury__media { position: relative; margin-right: calc(var(--gutter) * -1); }
.tilt {
  transform-style: preserve-3d;
  transition: transform .9s var(--ease-out);
  will-change: transform;
}
.tilt img { width: 100%; }

/* 10. Footer ---------------------------------------------------------------- */
.site-footer {
  background: var(--c-ink);
  color: rgba(255, 255, 255, .85);
  padding: clamp(36px, 3.4vw, 48px) 0 24px;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  flex-wrap: wrap;
}
.footer__name {
  font-family: var(--f-body);
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: .01em;
  color: #fff;
  line-height: 1.1;
}
.footer__tagline { margin-top: 8px; font-size: 15px; color: var(--c-accent-3); }
.footer__nav { display: flex; flex-wrap: wrap; align-items: center; }
.footer__nav li { display: flex; align-items: center; }
.footer__nav li + li::before {
  content: "·";
  margin: 0 12px;
  color: rgba(255, 255, 255, .55);
}
.footer__nav a { font-size: 14px; color: rgba(255, 255, 255, .9); transition: color .3s; }
.footer__nav a:hover { color: var(--c-accent); }
.footer__legal {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 12.5px;
  color: rgba(255, 255, 255, .45);
}

/* 11. Animaciones ----------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
[data-reveal="zoom"] { transform: translate3d(0, 24px, 0) scale(.94); }
.rule[data-reveal] { transform: scaleX(0); opacity: 1; transition-duration: 1.4s; }
[data-reveal].is-visible { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

@keyframes sway {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg); }
  50%  { transform: translate3d(14px, -6px, 0) rotate(1.6deg); }
  100% { transform: translate3d(-10px, 4px, 0) rotate(-1.4deg); }
}
@keyframes haze {
  0%   { opacity: .28; transform: translate3d(0, 0, 0) scale(1); }
  100% { opacity: .5;  transform: translate3d(24px, -10px, 0) scale(1.05); }
}
@keyframes spark { to { stroke-dashoffset: 0; } }
@keyframes drift-a {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-4%, 6%, 0) scale(1.08); }
  100% { transform: translate3d(5%, -4%, 0) scale(.95); }
}
@keyframes drift-b {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(6%, -5%, 0) scale(1.1); }
  100% { transform: translate3d(-3%, 4%, 0) scale(.94); }
}
@keyframes drift-c {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-12%, -10%, 0) scale(1.15); }
}
@keyframes float-lines {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg); }
  100% { transform: translate3d(-18px, 12px, 0) rotate(-3deg); }
}
@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(0, -12px, 0); }
}
@keyframes pulse-halo {
  0%   { opacity: .6; transform: scale(.94); }
  100% { opacity: 1;  transform: scale(1.06); }
}
@keyframes cue {
  0%   { transform: translateY(0); opacity: 0; }
  30%  { opacity: 1; }
  80%  { transform: translateY(12px); opacity: 0; }
  100% { opacity: 0; }
}

/* 12. Responsive ------------------------------------------------------------ */
@media (max-width: 1100px) {
  .benefits__grid { grid-template-columns: repeat(2, 1fr); row-gap: 8px; }
  .benefit:nth-child(3) { border-left: 0; padding-left: 0; }
  .benefit:nth-child(3)::before { left: 0; }
}

@media (max-width: 960px) {
  :root { --header-h: 76px; }

  /* Menú móvil */
  .menu-toggle { display: block; }
  .nav__list {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 100px var(--gutter) 60px;
    background:
      radial-gradient(60% 50% at 0% 100%, rgba(123, 77, 255, .35), transparent 70%),
      radial-gradient(60% 50% at 100% 0%, rgba(34, 214, 190, .3), transparent 70%),
      rgba(5, 16, 22, .97);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    clip-path: circle(0% at calc(100% - 44px) 38px);
    transition: clip-path .8s var(--ease-out), opacity .4s, visibility 0s .8s;
  }
  .nav.is-open .nav__list {
    opacity: 1;
    visibility: visible;
    clip-path: circle(150% at calc(100% - 44px) 38px);
    transition: clip-path .9s var(--ease-out), opacity .3s, visibility 0s;
  }
  .nav__list li {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .5s, transform .6s var(--ease-out);
  }
  .nav.is-open .nav__list li { opacity: 1; transform: none; }
  .nav.is-open .nav__list li:nth-child(2) { transition-delay: .06s; }
  .nav.is-open .nav__list li:nth-child(3) { transition-delay: .12s; }
  .nav.is-open .nav__list li:nth-child(4) { transition-delay: .18s; }
  .nav.is-open .nav__list li:nth-child(5) { transition-delay: .24s; }
  .nav__link { font-family: var(--f-display); font-size: 30px; font-weight: 500; padding: 10px 0; }
  .nav__link::after { bottom: 4px; }
  .nav__cta-item { margin: 22px 0 0; }
  .nav__cta { --btn-h: 54px; font-size: 17px; padding: 0 40px; }

  /* Heros */
  .hero { align-items: flex-end; min-height: max(640px, 100svh); padding-bottom: 72px; }
  .hero__media img { object-position: 66% 50%; }
  .hero--pagos .hero__media img { object-position: 72% 50%; }
  .hero--nosotros .hero__media img { object-position: 62% 50%; }
  .hero__shade {
    background:
      linear-gradient(0deg, rgba(5, 16, 22, .96) 0%, rgba(5, 16, 22, .82) 34%, rgba(5, 16, 22, .2) 62%, rgba(5, 16, 22, .05) 78%),
      linear-gradient(180deg, rgba(5, 16, 22, .55) 0%, rgba(5, 16, 22, 0) 18%);
  }
  .aura__ribbons { height: 80%; top: auto; bottom: -6%; opacity: .75; }
  .scroll-cue { display: none; }

  /* Terminales / CTA */
  .split__inner { grid-template-columns: 1fr; }
  .split__media, .split__media--wide { justify-self: center; width: min(100%, 420px); }
  .split .btn { margin-top: 32px; }

  /* Tesorería */
  .treasury__inner { grid-template-columns: 1fr; }
  .treasury__media { margin-right: 0; order: 2; }
  .treasury .blob--teal { width: 90vw; height: 60vw; }
  .treasury .blob--violet { width: 80vw; height: 60vw; bottom: 10%; }
}

@media (max-width: 600px) {
  .benefits__grid { grid-template-columns: 1fr; }
  .benefit,
  .benefit:first-child,
  .benefit:nth-child(3) { padding: 22px 0 26px; border-left: 0; }
  .benefit + .benefit { border-left: 0; border-top: 1px solid var(--c-line); }
  .benefit + .benefit::before { left: 0; }
  .benefit__num { margin-bottom: 10px; }
  .benefit__text { max-width: none; }

  .hero__media img,
  .hero--pagos .hero__media img,
  .hero--nosotros .hero__media img { object-position: 50% 30%; }
  .hero__title br { display: none; }
  .hero--inicio .hero__title br { display: inline; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .split .btn,
  .treasury .btn { width: 100%; }
  .btn--lg { --btn-h: 58px; }

  .section-title br { display: none; }
  .feature { align-items: start; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__nav { gap: 10px 22px; }
  .footer__nav li + li::before { display: none; }
}

/* Accesibilidad: menos movimiento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   13. Efectos avanzados (v2)
   Preloader · cursor · progreso · títulos por palabra · partículas ·
   spotlight · pulsos NFC · chips flotantes · reflejos · bordes animados
   ========================================================================== */
@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

/* --- Preloader --- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  place-items: center;
  background:
    radial-gradient(40% 50% at 15% 85%, rgba(123, 77, 255, .28), transparent 70%),
    radial-gradient(45% 55% at 85% 10%, rgba(34, 214, 190, .22), transparent 70%),
    var(--c-ink-2);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.15s var(--ease-in-out), visibility 0s 1.2s;
}
.is-loaded .preloader { clip-path: inset(0 0 100% 0); visibility: hidden; }
.no-js .preloader { display: none; }
.preloader__inner { display: grid; justify-items: center; gap: 26px; }
.preloader__mark { width: 112px; height: auto; color: #fff; overflow: visible; }
.preloader__mark path {
  opacity: 0;
  transform: translateX(-26px);
  animation: mark-in .9s var(--ease-out) forwards;
}
.preloader__mark path:nth-child(2) { animation-delay: .12s; fill: #bff7ef; }
.preloader__mark path:nth-child(3) { animation-delay: .24s; fill: var(--c-accent); }
.preloader__bar {
  position: relative;
  width: 140px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .12);
  overflow: hidden;
}
.preloader__bar span {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--c-accent), var(--c-violet));
  transform-origin: left;
  animation: bar-load 1.1s var(--ease-in-out) forwards;
}

/* --- Barra de progreso de scroll --- */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 150;
  height: 2px;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--c-accent), #7ef0ff, var(--c-violet));
  box-shadow: 0 0 12px rgba(60, 230, 210, .7);
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
}

/* --- Cursor personalizado (solo mouse) --- */
.cursor { display: none; }
.has-cursor .cursor {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 500;
  pointer-events: none;
  mix-blend-mode: difference;
}
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
.cursor__dot,
.cursor__ring {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  translate: var(--cx, -100px) var(--cy, -100px);
}
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; }
.cursor__ring {
  width: 38px;
  height: 38px;
  margin: -19px 0 0 -19px;
  border: 1.5px solid #fff;
  translate: var(--rx, -100px) var(--ry, -100px);
  transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), background-color .35s, opacity .3s;
}
.cursor.is-hover .cursor__ring { width: 72px; height: 72px; margin: -36px 0 0 -36px; background: #fff; }
.cursor.is-hover .cursor__dot { opacity: 0; }
.cursor.is-down .cursor__ring { width: 28px; height: 28px; margin: -14px 0 0 -14px; }
.cursor.is-out { opacity: 0; }

/* --- Títulos: revelado palabra por palabra --- */
[data-reveal="split"] { opacity: 1; transform: none; }
.w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0 .04em .14em;
  margin: 0 -.04em -.14em;
}
.w > span {
  display: inline-block;
  transform: translate3d(0, 110%, 0) rotate(6deg);
  transform-origin: 0 100%;
  transition: transform 1.25s var(--ease-out);
  transition-delay: calc(var(--d, 0s) + var(--wi, 0) * 55ms);
}
.is-visible .w > span { transform: none; }

/* Texto de acento con brillo en movimiento */
.text-accent,
.text-accent .w > span,
.text-accent-dark,
.text-accent-dark .w > span {
  background-image: linear-gradient(100deg, #3ce6d2 0%, #3ce6d2 30%, #b9fff6 45%, #8f7bff 55%, #3ce6d2 70%, #3ce6d2 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 7s linear infinite;
}
.text-accent-dark,
.text-accent-dark .w > span {
  background-image: linear-gradient(100deg, #2fc4b8 0%, #2fc4b8 30%, #5fe3d6 45%, #7b5cff 55%, #2fc4b8 70%, #2fc4b8 100%);
}

/* Párrafos y bloques: entrada con desenfoque */
[data-reveal]:not([data-reveal="split"]):not(.rule):not(.is-visible) { filter: blur(10px); }
[data-reveal]:not(.rule) { transition-property: opacity, transform, filter; }

/* --- Hero: partículas, foco que sigue al mouse, revelado de foto --- */
.hero__particles {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(520px circle at var(--mx, 20%) var(--my, 50%), rgba(60, 230, 210, .16), rgba(123, 92, 255, .08) 40%, transparent 70%);
  opacity: 0;
  transition: opacity .6s;
}
.hero.is-pointer::after { opacity: 1; }

.aura__glow { translate: calc(var(--px, 0) * 70px) calc(var(--py, 0) * 50px); transition: translate 1.2s var(--ease-out); }
.aura__ribbons { translate: calc(var(--px, 0) * -22px) calc(var(--py, 0) * -14px); transition: translate 1.4s var(--ease-out); }
.hero__content { translate: calc(var(--px, 0) * -8px) calc(var(--py, 0) * -6px); transition: translate 1.4s var(--ease-out); }

/* Cintas: más vida */
.ribbon { animation-name: sway-strong; }
.ribbon__spark { stroke-dasharray: 140 860; filter: drop-shadow(0 0 6px #b9fff6); }

/* Fotos de heros secundarios: se abren al entrar */
.hero--pagos .hero__media,
.hero--nosotros .hero__media {
  clip-path: inset(10% 8% 10% 8% round 32px);
  transition: clip-path 1.7s var(--ease-out);
}
.hero--pagos.is-inview .hero__media,
.hero--nosotros.is-inview .hero__media { clip-path: inset(0 0 0 0 round 0); }

/* --- Botones: magnético + borde animado --- */
.btn { translate: var(--bx, 0) var(--by, 0); transition-property: transform, box-shadow, background-color, color, border-color, translate; }
.btn--ghost { border-color: rgba(255, 255, 255, .55); }
.btn--ghost::before {
  content: "";
  position: absolute;
  inset: -1.5px;
  z-index: -2;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--angle), transparent 0 55%, var(--c-accent) 75%, #fff 85%, var(--c-violet) 95%, transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spin-angle 4s linear infinite;
}
.btn--light:hover { background: #effffd; }
.btn--dark { background: linear-gradient(135deg, #0a1b25, #10303c 60%, #0a1b25); background-size: 200% 200%; }
.btn--dark:hover { background-position: 100% 100%; }

/* --- Beneficios: foco del mouse + número --- */
.benefit { transition: background-color .4s; }
.benefit[data-spot]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  border-radius: 18px;
  background: radial-gradient(260px circle at var(--sx, 50%) var(--sy, 50%), rgba(60, 230, 210, .13), rgba(123, 92, 255, .06) 45%, transparent 70%);
  opacity: 0;
  transition: opacity .4s;
}
.benefit[data-spot]:hover::after { opacity: 1; }
.benefits__grid { position: relative; z-index: 0; }
.benefit__num { transition: transform .5s var(--ease-out), color .3s; }
.benefit:hover .benefit__num { transform: translateX(6px); color: var(--c-violet); }
.benefit__title { transition: transform .5s var(--ease-out); }
.benefit:hover .benefit__title { transform: translateX(6px); }

/* --- Terminales: pulsos NFC + inclinación por scroll --- */
[data-scroll-tilt] { position: relative; }
[data-scroll-tilt] picture {
  display: block;
  translate: 0 calc(var(--sp, 0) * -46px);
  rotate: calc(var(--sp, 0) * -4deg);
  transition: translate .2s linear, rotate .2s linear;
}
.nfc {
  position: absolute;
  z-index: 2;
  aspect-ratio: 1;
  translate: -50% -50%;
  pointer-events: none;
}
.nfc--v { left: 56.5%; top: 40.5%; width: 20%; }
.nfc--h { left: 28.6%; top: 37%; width: 12%; }
[data-scroll-tilt] .nfc { margin-top: calc(var(--sp, 0) * -46px); }
.nfc i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(60, 230, 210, .85);
  box-shadow: 0 0 18px rgba(60, 230, 210, .6), inset 0 0 12px rgba(60, 230, 210, .35);
  opacity: 0;
  animation: nfc 3s var(--ease-out) infinite;
}
.nfc i:nth-child(2) { animation-delay: 1s; }
.nfc i:nth-child(3) { animation-delay: 2s; }

/* --- Tesorería: chips flotantes, reflejo, aura giratoria --- */
.treasury__auras::before {
  content: "";
  position: absolute;
  right: -10%;
  top: 50%;
  width: 70vw;
  max-width: 1100px;
  aspect-ratio: 1;
  translate: 0 -50%;
  border-radius: 50%;
  background: conic-gradient(from var(--angle), rgba(60, 230, 210, .0), rgba(60, 230, 210, .28), rgba(123, 92, 255, .26), rgba(126, 240, 255, .2), rgba(60, 230, 210, .0));
  filter: blur(80px);
  animation: spin-angle 18s linear infinite;
}
.tilt { position: relative; }
.chip {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 2px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 24px 50px -24px rgba(10, 27, 37, .45), 0 0 0 1px rgba(10, 27, 37, .04);
  font-family: var(--f-body);
  color: var(--c-heading);
  transform: translateZ(60px);
  animation: float 6s var(--ease-in-out) infinite;
}
.chip--balance { left: 2%; top: 4%; }
.chip--income {
  right: 4%;
  bottom: 14%;
  grid-auto-flow: column;
  align-items: center;
  gap: 12px;
  animation-duration: 7.5s;
  animation-delay: -2s;
}
.chip__label { font-size: 12px; color: var(--c-text); }
.chip__value { font-size: clamp(18px, 1.7vw, 24px); font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.chip__value small { font-size: .55em; font-weight: 500; color: var(--c-text); }
.chip__value--sm { display: block; font-size: clamp(15px, 1.3vw, 18px); color: #12a497; }
.chip__trend { font-size: 12px; font-weight: 600; color: #12a497; }
.chip__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(145deg, #dff8f4, #e9e4ff);
  color: #12a497;
}
.chip__icon svg { width: 18px; height: 18px; rotate: 135deg; }

.chip,
.glare { opacity: 0; transition: opacity .8s var(--ease-out) .9s, translate 1s var(--ease-out) .9s; translate: 0 20px; }
.is-visible .chip { opacity: 1; translate: 0 0; }
.is-visible .chip--income { transition-delay: 1.15s; }

.glare {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  translate: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .55) 48%, transparent 60%);
  background-size: 250% 100%;
  background-position: 150% 0;
  mix-blend-mode: soft-light;
  -webkit-mask: url("../img/tesoreria-dispositivos-720.png") center / 100% 100% no-repeat;
  mask: url("../img/tesoreria-dispositivos-720.png") center / 100% 100% no-repeat;
}
.is-visible .glare { opacity: 1; animation: glare 6s var(--ease-in-out) 1.4s infinite; }

.feature__icon { position: relative; }
.feature__icon::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(34, 188, 179, .35);
  opacity: 0;
  animation: ring 3.6s var(--ease-out) infinite;
}
.feature:nth-child(2) .feature__icon::after { animation-delay: .9s; border-color: rgba(123, 92, 255, .35); }
.feature:nth-child(3) .feature__icon::after { animation-delay: 1.8s; }
.feature:nth-child(4) .feature__icon::after { animation-delay: 2.7s; border-color: rgba(123, 92, 255, .35); }

/* --- Footer: haz de luz --- */
.site-footer { position: relative; overflow: hidden; }
.footer__beam {
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-accent), var(--c-violet), transparent);
  background-size: 50% 100%;
  background-repeat: no-repeat;
  animation: beam 6s var(--ease-in-out) infinite;
}
.footer__name {
  background: linear-gradient(100deg, #fff 40%, #b9fff6 50%, #fff 60%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 9s linear infinite;
}

/* --- Keyframes v2 --- */
@keyframes mark-in { to { opacity: 1; transform: none; } }
@keyframes bar-load { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes shimmer { from { background-position: 130% 0; } to { background-position: -130% 0; } }
@keyframes spin-angle { to { --angle: 360deg; } }
@keyframes sway-strong {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg) scaleY(1); }
  33%  { transform: translate3d(26px, -14px, 0) rotate(2.6deg) scaleY(1.03); }
  66%  { transform: translate3d(-12px, 10px, 0) rotate(-1.6deg) scaleY(.98); }
  100% { transform: translate3d(-24px, 6px, 0) rotate(-3deg) scaleY(1.02); }
}
@keyframes nfc {
  0%   { opacity: 0; transform: scale(.7); }
  20%  { opacity: 1; }
  100% { opacity: 0; transform: scale(2.1); }
}
@keyframes ring {
  0%   { opacity: .9; transform: scale(.9); }
  100% { opacity: 0; transform: scale(1.35); }
}
@keyframes glare {
  0%   { background-position: 150% 0; }
  45%, 100% { background-position: -60% 0; }
}
@keyframes beam {
  0%   { background-position: -60% 0; }
  100% { background-position: 160% 0; }
}

@media (max-width: 960px) {
  .chip { padding: 10px 14px; border-radius: 14px; }
  .chip--balance { left: 0; top: 0; }
  .chip--income { right: 0; bottom: 8%; }
  .chip__icon { width: 30px; height: 30px; }
  .hero--pagos .hero__media,
  .hero--nosotros .hero__media { clip-path: inset(6% 4% 6% 4% round 22px); }
}
@media (max-width: 600px) {
  .chip__trend { display: none; }
  .chip__label { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .preloader { display: none; }
  .w > span { transform: none; }
  [data-reveal] { filter: none !important; }
  .chip, .glare { opacity: 1; translate: none; }
  .hero--pagos .hero__media,
  .hero--nosotros .hero__media { clip-path: none; }
}
