/* ═══════════════════════════════════════════════════════════
   TANDEM — mundos multipágina: transiciones, portales, escenas 3D
   ═══════════════════════════════════════════════════════════ */

/* ═══════════ PAGE TRANSITION (pagex) ═══════════ */
.pagex {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: #05080f;
  display: none;
  place-items: center;
  transform: translateY(0);
  pointer-events: none;
}

html.js .pagex {
  display: grid;
}

.pagex span {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--text);
  font-size: clamp(1.4rem, 3vw, 2rem);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .5s var(--ease);
}

.pagex span i {
  color: var(--gold);
  font-style: normal;
}

.pagex.in span {
  opacity: 1;
  transform: none;
}

.pagex.in {
  transition: transform .42s cubic-bezier(.7, 0, .3, 1);
}

.pagex.out {
  transition: transform .55s cubic-bezier(.7, 0, .3, 1) .05s;
  transform: translateY(-101%);
}

.pagex.done {
  display: none;
}

body.no-js .pagex,
body.reduced .pagex {
  display: none;
}

/* ═══════════ BREADCRUMBS ═══════════ */
.crumbs {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 2.2rem;
}

.crumbs i {
  font-style: normal;
  opacity: .4;
}

.crumbs a {
  color: var(--muted);
  text-decoration: none;
  transition: color .3s;
}

.crumbs a:hover {
  color: var(--gold-2);
}

.crumbs span[aria-current] {
  color: var(--text);
}

/* ═══════════ PAGE HEAD (cabecera de cada mundo) ═══════════ */
.pagehead {
  padding: clamp(7.5rem, 14vh, 10rem) 0 clamp(2.5rem, 6vh, 4rem);
  position: relative;
}

.pagehead__title {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: .9rem 0 1.1rem;
}

.pagehead__sub {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.65;
}

/* ═══════════ BAND (cta inferior de página) ═══════════ */
.band {
  padding: clamp(4rem, 9vh, 7rem) 0;
}

.band__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: clamp(3rem, 6vh, 4.5rem);
}

.band__title {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  letter-spacing: -0.02em;
  margin: .6rem 0 .5rem;
}

.band__sub {
  color: var(--muted);
  max-width: 46ch;
}

.band__actions {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  align-items: flex-start;
}

.band__mail {
  font-family: var(--font-mono);
  font-size: .85rem;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .3s, border-color .3s;
}

.band__mail:hover {
  color: var(--gold-2);
  border-color: rgba(232, 197, 106, .4);
}

/* ═══════════ PORTALES (index → mundos) ═══════════ */
.portals {
  padding: clamp(3rem, 7vh, 5rem) 0 clamp(4rem, 9vh, 6rem);
}

.portals__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.portal {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(260px, 36vw, 380px);
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--border);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  padding: 2rem;
  isolation: isolate;
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s;
}

.portal:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--p-accent) 45%, transparent);
  box-shadow: 0 30px 80px -30px color-mix(in srgb, var(--p-accent) 40%, transparent);
}

.portal__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 90% at 80% -10%, color-mix(in srgb, var(--p-accent) 26%, transparent), transparent 55%),
    linear-gradient(160deg, #0d1420, #070b14);
  transition: transform .8s var(--ease);
}

.portal:hover .portal__bg {
  transform: scale(1.05);
}

.portal__num {
  position: absolute;
  top: -0.6rem;
  right: .4rem;
  z-index: -1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(7rem, 15vw, 11rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--p-accent) 38%, transparent);
  transition: transform .6s var(--ease), opacity .4s;
  opacity: .8;
}

.portal:hover .portal__num {
  transform: translateY(-8px);
  opacity: 1;
}

.portal__tag {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .16em;
  color: var(--p-accent);
  text-transform: uppercase;
}

.portal h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  letter-spacing: -0.02em;
  margin: .5rem 0 .4rem;
}

.portal p {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.55;
  max-width: 40ch;
  margin: 0;
}

.portal__go {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--p-accent) 40%, transparent);
  display: grid;
  place-items: center;
  color: var(--p-accent);
  font-size: 1.05rem;
  transition: transform .5s var(--ease), background .4s;
}

.portal:hover .portal__go {
  transform: rotate(-45deg) scale(1.1);
  background: color-mix(in srgb, var(--p-accent) 14%, transparent);
}

.portal--wide {
  grid-column: 1 / -1;
  min-height: clamp(200px, 24vw, 300px);
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.portal--wide .portal__go {
  position: static;
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  font-size: 1.3rem;
}

/* mini-escena decorativa del portal: anillos que giran */
.portal__rings {
  position: absolute;
  inset: auto -15% -35% auto;
  width: 70%;
  aspect-ratio: 1;
  z-index: -1;
  opacity: .5;
  pointer-events: none;
}

.portal__rings i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--p-accent) 22%, transparent);
  animation: ringSpin 26s linear infinite;
}

.portal__rings i:nth-child(2) {
  inset: 14%;
  animation-duration: 19s;
  animation-direction: reverse;
  border-style: dashed;
}

.portal__rings i:nth-child(3) {
  inset: 30%;
  animation-duration: 33s;
}

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

/* ═══════════ FLY — escena 3D scroll-scrubbed (PMS) ═══════════ */
.fly {
  position: relative;
  height: 520vh;
}

.fly__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.fly__canvas {
  position: absolute;
  inset: 0;
}

.fly__canvas canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.fly__fallback {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  text-align: center;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .85rem;
  padding: 2rem;
}

.fly.no-webgl .fly__canvas {
  display: none;
}

.fly.no-webgl .fly__fallback {
  display: grid;
}

.fly.no-webgl {
  height: auto;
}

.fly.no-webgl .fly__pin {
  position: relative;
  height: 60vh;
}

/* caption de cada fase — se funde según progreso */
.fly__caps {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.fly__cap {
  position: absolute;
  left: 50%;
  bottom: clamp(4.5rem, 10vh, 7rem);
  transform: translateX(-50%) translateY(24px);
  width: min(640px, calc(100vw - 3rem));
  text-align: center;
  opacity: 0;
  transition: opacity .45s var(--ease), transform .55s var(--ease);
}

.fly__cap.on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.fly__cap .k {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .2em;
  color: var(--gold-2);
  text-transform: uppercase;
  padding: .3rem .8rem;
  border: 1px solid rgba(232, 197, 106, .3);
  border-radius: 999px;
  background: rgba(5, 8, 15, .55);
  backdrop-filter: blur(8px);
  margin-bottom: .8rem;
}

.fly__cap h3 {
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  letter-spacing: -0.02em;
  margin: 0 0 .4rem;
}

.fly__cap p {
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.55;
  margin: 0;
  text-wrap: balance;
}

/* dots de progreso de la escena */
.fly__dots {
  position: absolute;
  right: clamp(1rem, 3vw, 2.4rem);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

.fly__dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
  opacity: .4;
  transition: all .4s;
}

.fly__dots i.on {
  background: var(--gold-2);
  opacity: 1;
  transform: scale(1.5);
  box-shadow: 0 0 12px rgba(232, 197, 106, .7);
}

/* ═══════════ ORB HERO — página AVA ═══════════ */
.orbhero {
  position: relative;
  min-height: 96vh;
  min-height: 96dvh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(6.5rem, 12vh, 9rem) 0 3rem;
}

.orbhero__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.orbhero__canvas canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* veladura a la izquierda para que el titular lea sobre las olas */
.orbhero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(100deg, rgba(6, 6, 7, 0.82) 22%, rgba(6, 6, 7, 0.35) 55%, transparent 78%);
}

.orbhero__in {
  position: relative;
  z-index: 1;
}

.orbhero__grid2 {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 3rem;
  align-items: center;
}

.orbhero__title {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: .98;
  letter-spacing: -0.035em;
  margin: .8rem 0 1.2rem;
}

.orbhero__logo {
  width: min(120px, 26vw);
  height: auto;
  margin-bottom: 1.2rem;
  filter: drop-shadow(0 14px 34px rgba(201, 169, 110, 0.35));
}

.orbhero__side {
  display: grid;
  gap: 1rem;
}

.orbchip {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(11, 10, 8, 0.62);
  backdrop-filter: blur(18px);
}

.orbchip b {
  font-family: var(--font-display);
  font-size: 1rem;
}

.orbchip span {
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.5;
}

.orbchip .k {
  font-family: var(--font-mono);
  font-size: .68rem;
  color: var(--gold-2);
  letter-spacing: .12em;
  white-space: nowrap;
}

/* ═══════════ THEMES a nivel página (body) ═══════════ */
body.theme-light {
  background:
    radial-gradient(1000px 500px at 82% -6%, rgba(212, 169, 78, 0.07), transparent 60%),
    linear-gradient(180deg, #fbfbfd, #f5f5f7 55%, #eeeef1);
  color-scheme: light;
}

body.theme-chrome {
  /* identidad real de AVA: champagne sobre tinta, serif editorial */
  --gold: #c9a96e;
  --gold-2: #e6d3a8;
  --cyan: #d5cbb6;
  --text: #efe9dc;
  --muted: #a29786;
  --line: rgba(233, 224, 204, 0.1);
  --glass: rgba(255, 255, 255, 0.03);
  --glass-strong: rgba(255, 255, 255, 0.055);
  background:
    radial-gradient(1100px 520px at 82% -8%, rgba(201, 169, 110, 0.12), transparent 62%),
    radial-gradient(900px 600px at 8% 108%, rgba(150, 140, 118, 0.07), transparent 60%),
    #0b0a08;
}

body.theme-chrome .eyebrow {
  color: #d9be8f;
}

body.theme-chrome .orbhero__title,
body.theme-chrome .pagehead__title,
body.theme-chrome .section__title,
body.theme-chrome .band__title {
  font-family: "Cormorant Garamond", "Space Grotesk", serif;
  font-weight: 600;
  letter-spacing: -0.015em;
}

body.theme-svc {
  background: #05080f;
}

body.theme-ember {
  background: linear-gradient(180deg, #100d08, #14100a 55%, #100d08);
}

body.theme-noir {
  background: #050608;
}

body.theme-dusk {
  background: #0a0916;
}

body.theme-teal {
  background: linear-gradient(180deg, #041014, #061a20 55%, #041014);
}

/* chrome oscuro solo en las páginas inmersivas (AVA). En tema claro,
   nav / footer / pagex / mobile-menu siguen la piel Apple. */
body.theme-chrome .nav,
body.theme-chrome .mobile-menu,
body.theme-chrome .cmdk,
body.theme-chrome .pagex,
body.theme-chrome .toast,
.cmdk,
.toast {
  --text: #e8eef5;
  --muted: #8fa3b8;
  --line: rgba(232, 238, 245, 0.1);
  --glass: rgba(255, 255, 255, 0.04);
  --glass-strong: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

/* pagex — velo de transición claro en páginas Apple */
body.theme-light .pagex {
  background: #f5f5f7;
}

body.theme-light .pagex span {
  color: #1d1d1f;
}

/* footer claro estilo Apple */
body.theme-light .footer {
  background: linear-gradient(180deg, rgba(29, 29, 31, 0.02), rgba(29, 29, 31, 0.055));
}

body.theme-light .footer .eyebrow {
  color: var(--gold-2);
}

body.theme-light .footer__giant {
  background: linear-gradient(180deg, rgba(29, 29, 31, 0.13), rgba(29, 29, 31, 0.04));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.theme-light .footer__col s,
body.theme-light .footer__bar,
body.theme-light .footer__made {
  color: var(--muted);
}

/* portals — cards blancas con acento en vez de vidrio oscuro */
body.theme-light .portal__bg {
  background:
    radial-gradient(120% 90% at 80% -10%, color-mix(in srgb, var(--p-accent) 14%, transparent), transparent 55%),
    linear-gradient(160deg, #ffffff, #f6f6f8);
}

body.theme-light .portal {
  border-color: rgba(29, 29, 31, 0.09);
  box-shadow: 0 14px 40px rgba(29, 29, 31, 0.06);
}

body.theme-light .portal:hover {
  box-shadow: 0 30px 80px -30px color-mix(in srgb, var(--p-accent) 45%, rgba(29, 29, 31, 0.25));
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 860px) {
  .portals__grid {
    grid-template-columns: 1fr;
  }

  .portal {
    min-height: 220px;
  }

  .orbhero__grid2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .orbhero {
    min-height: auto;
  }

  .fly {
    height: 460vh;
  }

  .fly__cap {
    bottom: 3.5rem;
  }

  .fly__dots {
    right: .9rem;
  }

  .band__in {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pagex {
    display: none;
  }

  .portal__rings i {
    animation: none;
  }

  .fly {
    height: auto;
  }

  .fly__pin {
    position: relative;
    height: auto;
  }

  .fly__canvas {
    position: relative;
    height: 55vh;
  }

  .fly__cap {
    position: static;
    transform: none;
    opacity: 1;
    margin: 1.5rem auto;
  }

  .fly__dots {
    display: none;
  }
}

/* ═══════════════ AVA · THE INTELLIGENCE WITHIN ═══════════════
   película 3D scrubbed por scroll — el logo real extruido,
   cámara que lo atraviesa, universo interior, chat y PMS en HTML */
.avac {
  position: relative;
  height: 1500vh;
  background: #050505;
}

.avac__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 60%, #0a0b0e 0%, #050505 62%);
}

.avac__canvas {
  position: absolute;
  inset: 0;
}

.avac__canvas canvas {
  display: block;
}

.avac__ui {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* — título (escena 01) — */
.avac__title {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(94%, 1200px);
  height: 86%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding-top: 4.4rem;
  pointer-events: none;
}

.avac__eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: #8b93a5;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.85);
}

.avac__title h1 {
  font-size: clamp(3.4rem, 8.6vw, 6.8rem);
  font-weight: 200;
  letter-spacing: 0.34em;
  margin-left: 0.34em;
  color: #f5f5f3;
  line-height: 1;
  text-shadow: 0 4px 34px rgba(0, 0, 0, 0.85);
}

.avac__tag {
  margin-top: 1.2rem;
  font-size: 1rem;
  color: #9aa3b2;
  letter-spacing: 0.04em;
  font-weight: 300;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.85);
}

/* — caption de escena — */
.avac__cap {
  position: absolute;
  left: 6vw;
  bottom: 9vh;
  max-width: 30ch;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #7f8693;
  opacity: 0;
  transition: opacity 0.5s;
}

.avac__cap::before {
  content: "";
  display: block;
  width: 34px;
  height: 1px;
  background: #527dff;
  margin-bottom: 0.9rem;
}

/* — palabra de la onda (escena 03) — */
.avac__wave {
  position: absolute;
  left: 8vw;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
}

.avac__wave b {
  display: block;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 250;
  letter-spacing: 0.22em;
  color: #f5f5f3;
  text-transform: uppercase;
}

.avac__wave span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #8b93a5;
  letter-spacing: 0.02em;
  font-weight: 300;
}

/* — chat (escena 05) — aspecto del producto real: orbe + verde + plan ── */
.avac__chat {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(410px, 90vw);
  transform: translate(-50%, -50%);
  opacity: 0;
  background: #ffffff;
  border: 1px solid rgba(29, 29, 31, 0.12);
  border-radius: 18px;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(82, 125, 255, 0.08);
  overflow: hidden;
}

/* header oscuro del producto real: mark centrado + X */
.acchat__head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 1rem;
  background: #15161b;
}

.acchat__mark {
  height: 20px;
  width: auto;
  display: block;
}

.acchat__x {
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 0.6rem;
  color: #c9cbd2;
}

/* cuerpo claro */
.acchat__body {
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 260px;
  background: #ffffff;
}

.acmsg {
  max-width: 94%;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s, transform 0.45s;
  display: flex;
  gap: 0.5rem;
}

.acmsg p {
  font-size: 0.82rem;
  line-height: 1.5;
  margin: 0;
  padding: 0.65rem 0.9rem;
  border-radius: 16px;
}

.acav {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  margin-top: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.acmsg--u {
  align-self: flex-end;
}

.acmsg--u p {
  background: #2fb750;
  color: #fff;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 14px -6px rgba(47, 183, 80, 0.5);
}

.acmsg--a p {
  background: #f0f0f3;
  color: #1d1d1f;
  border-bottom-left-radius: 4px;
}

.acmsg--a .acmsg__in {
  background: #f0f0f3;
  color: #1d1d1f;
  border-radius: 16px;
  padding: 0.7rem 0.95rem;
  border-bottom-left-radius: 4px;
}

.acproc {
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-right: 0.45rem;
  border: 1.6px solid rgba(139, 124, 246, 0.35);
  border-top-color: #8b7cf6;
  border-radius: 50%;
  animation: acspin 0.9s linear infinite;
  vertical-align: -2px;
}

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

.acplan {
  display: block;
  font-style: normal;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #9a9aa0;
  margin-bottom: 0.3rem;
}

.acmsg__in>p {
  padding: 0;
  background: none;
  color: #1d1d1f;
}

.acmsg__in ul {
  list-style: none;
  margin: 0.45rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.acmsg__in li {
  position: relative;
  font-size: 0.73rem;
  color: #3a3a3e;
  padding-left: 0.85rem;
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
}

.acmsg__in li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8b7cf6;
}

.acmsg__in li em {
  font-style: normal;
  color: #6e6e73;
  white-space: nowrap;
}

.acmsg__in li b {
  color: #1d1d1f;
}

.acmsg__cf {
  margin-top: 0.6rem;
}

.acmsg__cf b {
  background: #ffffff;
  border: 1px solid rgba(29, 29, 31, 0.14);
  color: #1d1d1f;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.42rem 1.05rem;
  border-radius: 999px;
  cursor: default;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(29, 29, 31, 0.06);
}

.acok {
  color: #1d1d1f;
}

.acok .aclink {
  display: inline-block;
  margin-top: 0.35rem;
  color: #1d1d1f;
  font-size: 0.74rem;
  font-weight: 500;
  padding: 0.32rem 0.8rem;
  border: 1px solid rgba(29, 29, 31, 0.14);
  border-radius: 999px;
  background: #fff;
}

.acchat__foot {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.9rem;
  border-top: 1px solid rgba(29, 29, 31, 0.08);
  background: #ffffff;
}

.acchat__foot .acclip {
  width: 18px;
  height: 18px;
  color: #9a9aa0;
  flex: none;
  display: grid;
  place-items: center;
}

.acchat__foot .acclip svg {
  width: 16px;
  height: 16px;
}

.acchat__foot span {
  font-size: 0.75rem;
  color: #9a9aa0;
  flex: 1;
}

.acsend {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #d7d7dc;
  color: #fff;
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

/* estados del chat por progreso */
.avac__chat.s1 .m1,
.avac__chat.s2 .m1,
.avac__chat.s3 .m1,
.avac__chat.s4 .m1,
.avac__chat.s2 .m2,
.avac__chat.s3 .m3,
.avac__chat.s4 .m3,
.avac__chat.s4 .m4 {
  opacity: 1;
  transform: none;
}

.avac__chat.s3 .m2,
.avac__chat.s4 .m2 {
  opacity: 0;
  transform: translateY(-8px);
}

/* — PMS (escenas 07-08) — captura REAL del CMS (Almora) + chat AVA — */
.avac__pms {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(1100px, 94vw);
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
}

.pmsc {
  position: relative;
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 60px 140px -40px rgba(0, 0, 0, 0.95);
  background: #f2f0ea;
}

.pmsc__win {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #f2f0ea;
}

.pmsc__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #f6f6f8;
  border-bottom: 1px solid rgba(29, 29, 31, 0.07);
  flex: none;
}

.pmsc__chrome i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.pmsc__chrome i:nth-child(1) {
  background: #ff5f57;
}

.pmsc__chrome i:nth-child(2) {
  background: #febc2e;
}

.pmsc__chrome i:nth-child(3) {
  background: #28c840;
}

.pmsc__chrome span {
  margin-left: 10px;
  font-size: 0.66rem;
  color: #6e6e73;
  letter-spacing: 0.04em;
}

/* la captura se parte en sidebar + main: el split de la escena 08 separa capas */
.pmsc__view {
  position: relative;
  aspect-ratio: 3120 / 1878;
  overflow: hidden;
}

.pmsc__view img {
  pointer-events: none;
  user-select: none;
  max-width: none;
  display: block;
}

.pmsc__side {
  position: absolute;
  inset: 0 auto 0 0;
  width: 15.32%;
  overflow: hidden;
  background: #17181c;
}

.pmsc__side img {
  position: absolute;
  top: -3%;
  left: 0;
  height: 106%;
  width: auto;
}

.pmsc__main {
  position: absolute;
  inset: 0 0 0 15.32%;
  overflow: hidden;
}

.pmsc__main img {
  position: absolute;
  top: -3%;
  left: -18.09%;
  height: 106%;
  width: auto;
}

/* barra de bloqueo que AVA inserta sobre el calendario (día 17, viernes) */
.pmsc__blk {
  position: absolute;
  left: 72.1%;
  top: 44.2%;
  width: 8.6%;
  height: 3.4%;
  border-radius: 4px;
  background: repeating-linear-gradient(45deg, rgba(210, 70, 62, 0.85) 0 6px, rgba(210, 70, 62, 0.5) 6px 12px);
  border: 1px solid rgba(200, 60, 60, 0.7);
  color: #fff;
  font-size: clamp(7px, 0.85vw, 10px);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  padding: 0 0.5em;
  white-space: nowrap;
  overflow: hidden;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: opacity 0.5s, transform 0.7s var(--ease);
  box-shadow: 0 4px 14px rgba(200, 60, 60, 0.35);
}

.pmsc__blk b {
  font-weight: 700;
}

.avac__pms.blocked .pmsc__blk {
  opacity: 1;
  transform: scaleX(1);
}

.pmsc__chat {
  width: 290px;
  flex: none;
  background: #ffffff;
  border-left: 1px solid rgba(29, 29, 31, 0.08);
  display: flex;
  flex-direction: column;
}

.pmsc__chat .acchat__body {
  flex: 1;
  min-height: 0;
}

.pmsc__beam {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(150px 90px at 76% 46%, rgba(82, 125, 255, 0.28), transparent 70%),
    radial-gradient(220px 140px at 90% 30%, rgba(82, 125, 255, 0.18), transparent 70%);
  transition: opacity 0.6s;
}

.avac__pms.blocked .pmsc__beam {
  opacity: 1;
}

.avac__pms .acmsg {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s, transform 0.45s;
}

.avac__pms.p1 .p1,
.avac__pms.p2 .p1,
.avac__pms.p3 .p1,
.avac__pms.p2 .p2,
.avac__pms.p3 .p3 {
  opacity: 1;
  transform: none;
}

.avac__pms.p3 .p2 {
  opacity: 0;
  transform: translateY(-8px);
}

/* — final (escena 10) — */
.avac__end {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  opacity: 0;
}

.avac__end h2 {
  font-size: clamp(4rem, 11vw, 8rem);
  font-weight: 200;
  letter-spacing: 0.34em;
  margin-left: 0.34em;
  color: #f5f5f3;
  line-height: 1;
}

.avac__cta {
  margin-top: 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.avac__cta .btn {
  pointer-events: auto;
}

.avac__hint {
  position: absolute;
  left: 50%;
  bottom: 4.5vh;
  transform: translateX(-50%);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #6d7480;
  transition: opacity 0.5s;
}

.avac__dots {
  position: absolute;
  right: 2.4vw;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  z-index: 3;
}

.avac__dots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  transition: all 0.4s;
}

.avac__dots i.on {
  background: #527dff;
  box-shadow: 0 0 8px #527dff;
  transform: scale(1.5);
}

/* — fallback sin webgl / reduced motion — */
.avac.no-webgl {
  height: auto;
}

.avac.no-webgl .avac__stage {
  position: relative;
  height: auto;
  min-height: 92vh;
  display: grid;
  place-items: center;
  padding: 18vh 6vw;
}

.avac.no-webgl .avac__title,
.avac.no-webgl .avac__end {
  position: static;
  opacity: 1 !important;
  transform: none !important;
}

.avac.no-webgl .avac__end {
  margin-top: 8vh;
}

.avac.no-webgl .avac__dots,
.avac.no-webgl .avac__cap,
.avac.no-webgl .avac__wave,
.avac.no-webgl .avac__chat,
.avac.no-webgl .avac__pms,
.avac.no-webgl .avac__hint {
  display: none;
}

@media (max-width: 720px) {
  .avac {
    height: 1300vh;
  }

  .pmsc {
    flex-direction: column;
    height: auto;
  }

  .pmsc__chat {
    width: 100%;
    border-left: 0;
    border-top: 1px solid rgba(29, 29, 31, 0.08);
  }

  .acchat__body {
    min-height: 150px;
  }

  .avac__cap {
    left: 7vw;
    bottom: 7vh;
  }
}

/* ══════════ PMS LIVE DEMO — ventana fija del CMS real ══════════
   Estética Apple clara; una sola ventana donde el scroll dirige una sesión
   en vivo: cursor, clics, valores que cambian, factura emitida. */
/* ═══ PMS — sesión cinematográfica: intro editorial + cámara 3D sobre el CMS real ═══ */
.pmsf {
  height: 960vh;
  position: relative;
  background: #F5F3EF
}

.pmsf__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  /* papel mineral — microcemento apenas sugerido */
  background:
    radial-gradient(120% 90% at 50% -12%, #fbfaf7 0%, transparent 55%),
    radial-gradient(90% 70% at 85% 110%, #e9e6de 0%, transparent 60%),
    radial-gradient(70% 60% at 10% 100%, #eeebe4 0%, transparent 55%),
    #F5F3EF
}

.pmsf__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .035 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E")
}

.pmsf__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(95% 85% at 62% 55%, transparent 60%, rgba(29, 29, 31, .08) 100%)
}

/* ── ACTO 0 · intro — el producto aún no existe en pantalla ── */
.pmsf__intro {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  pointer-events: none;
  will-change: transform, opacity
}

.pmsf__ik {
  font: 700 clamp(11px, 1.1vw, 14px)/1 -apple-system, "SF Pro Text", Inter, system-ui, sans-serif;
  letter-spacing: .52em;
  text-indent: .52em;
  color: #9a7b2d;
  margin: 0;
  animation: pmsIn .9s cubic-bezier(.2, .7, .2, 1) .15s both
}

.pmsf__it {
  font: 800 clamp(2.9rem, 7.4vw, 6.4rem)/1.02 -apple-system, "SF Pro Display", Inter, system-ui, sans-serif;
  letter-spacing: -.045em;
  color: #1d1d1f;
  margin: 26px 0 0;
  animation: pmsIn 1s cubic-bezier(.2, .7, .2, 1) .35s both
}

.pmsf__il {
  display: block;
  width: 120px;
  height: 1px;
  margin: 30px 0 26px;
  background: linear-gradient(90deg, transparent, #b48c34 30%, #b48c34 70%, transparent);
  transform: scaleX(0);
  animation: pmsLine 1.1s cubic-bezier(.2, .7, .2, 1) .9s both
}

.pmsf__is {
  font: 400 clamp(.98rem, 1.5vw, 1.2rem)/1.6 -apple-system, "SF Pro Text", Inter, system-ui, sans-serif;
  color: #6e6e73;
  max-width: 30rem;
  margin: 0;
  animation: pmsIn .9s cubic-bezier(.2, .7, .2, 1) .65s both
}

.pmsf__ic {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  margin: 0;
  font: 600 10px/1 -apple-system, "SF Pro Text", Inter, sans-serif;
  letter-spacing: .3em;
  text-indent: .3em;
  text-transform: uppercase;
  color: #a1a1a6;
  animation: pmsIn .8s ease 1.2s both
}

.pmsf__ic i {
  width: 1px;
  height: 38px;
  background: linear-gradient(#9a7b2d, transparent);
  animation: drop 1.7s ease-in-out infinite
}

@keyframes pmsIn {
  from {
    opacity: 0;
    transform: translateY(26px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@keyframes pmsLine {
  from {
    transform: scaleX(0)
  }

  to {
    transform: scaleX(1)
  }
}

/* ── columna editorial — 35% izquierda, nunca invade el producto ── */
.pmsf__ed {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 35%;
  max-width: 560px;
  z-index: 5;
  pointer-events: none
}

.ped {
  position: absolute;
  left: clamp(28px, 4.5vw, 72px);
  top: 50%;
  transform: translateY(-42%);
  width: min(440px, 88%);
  opacity: 0;
  transition: opacity .45s ease, transform .55s cubic-bezier(.2, .7, .2, 1)
}

.ped.on {
  opacity: 1;
  transform: translateY(-50%)
}

.ped__k {
  display: block;
  font: 600 11px/1 -apple-system, "SF Pro Text", Inter, sans-serif;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #9a7b2d
}

.ped__t {
  font: 800 clamp(1.9rem, 3.4vw, 3.1rem)/1.02 -apple-system, "SF Pro Display", Inter, system-ui, sans-serif;
  letter-spacing: -.04em;
  color: #1d1d1f;
  margin: 16px 0 14px
}

.ped__d {
  font: 400 clamp(.92rem, 1.2vw, 1.05rem)/1.6 -apple-system, "SF Pro Text", Inter, system-ui, sans-serif;
  color: #6e6e73;
  max-width: 440px;
  margin: 0
}

/* ── cámara — el 65% derecho con perspectiva real ── */
.pmsf__cam {
  position: absolute;
  left: 34%;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1700px;
  perspective-origin: 50% 46%
}

.pmsf__win {
  position: relative;
  width: min(100% - 9vw, 1150px);
  transform-style: preserve-3d;
  will-change: transform, opacity
}

/* módulos en constelación + líneas doradas finas */
.pmsf__mods {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transform-style: preserve-3d
}

.pmod {
  position: absolute;
  width: 26%;
  aspect-ratio: 1560/940;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 60px rgba(29, 29, 31, .22), 0 0 0 1px rgba(29, 29, 31, .07);
  opacity: 0;
  will-change: transform, opacity
}

.pmod img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 100%
}

.pmsf__mlines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible
}

.pmsf__mlines line {
  stroke: #b48c34;
  stroke-width: 1;
  opacity: .55
}

.fscr {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 50px 110px rgba(29, 29, 31, .28), 0 8px 24px rgba(29, 29, 31, .12), 0 0 0 1px rgba(29, 29, 31, .06)
}

.fscr__bar {
  height: 32px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  background: #f6f6f8;
  border-bottom: 1px solid #e4e4e8
}

.fscr__bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%
}

.fscr__bar i:first-child {
  background: #ff5f57
}

.fscr__bar i:nth-child(2) {
  background: #febc2e
}

.fscr__bar i:nth-child(3) {
  background: #28c840
}

.fscr__bar span {
  margin-left: 8px;
  font: 500 11px/1 -apple-system, "SF Pro Text", Inter, system-ui, sans-serif;
  color: #86868b;
  letter-spacing: .01em
}

.fscr__shot {
  position: relative;
  aspect-ratio: 1560/940;
  overflow: hidden;
  background: #f2f0ea
}

/* capas: cada vista real del CMS — el cambio de módulo empuja en profundidad */
.fscr__lay {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform-origin: 50% 50%;
  transition: opacity .5s ease
}

.fscr__lay.on {
  opacity: 1;
  transition: opacity .5s ease
}

.fscr__lay.off {
  opacity: 0;
  transform: translateY(-1.6%) scale(1.045) !important;
  transition: opacity .45s ease, transform .5s cubic-bezier(.5, 0, .8, .4)
}

/* mundo: JS le da tamaño en px (shotW×k) → el contenido se rasteriza
   a resolución real y el zoom es nítido; el -3.63% recorta la banda demo */
.fscr__world {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  aspect-ratio: 1560/950.5
}

.fscr__world img {
  position: absolute;
  left: 0;
  top: -3.63%;
  width: 100%;
  height: 103.63%;
  display: block;
  user-select: none;
  pointer-events: none
}

.fscr__fx {
  position: absolute;
  left: 0;
  top: -3.63%;
  width: 100%;
  height: 103.63%;
  pointer-events: none
}

/* cursor dorado — la mano que opera la demo */
.fscr__cur {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 8;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  opacity: 0;
  transition: opacity .3s;
  will-change: transform;
  pointer-events: none
}

.fscr__cur i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #c79a3b;
  box-shadow: 0 0 0 5px rgba(199, 154, 59, .28), 0 2px 8px rgba(0, 0, 0, .35)
}

.fscr__ripple {
  position: absolute;
  z-index: 7;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  border: 2px solid #c79a3b;
  animation: ripple .8s ease-out forwards;
  pointer-events: none
}

@keyframes ripple {
  0% {
    transform: scale(.4);
    opacity: 1
  }

  100% {
    transform: scale(4.2);
    opacity: 0
  }
}

/* efectos sobre las capturas */
.fx {
  position: absolute;
  opacity: 0;
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none
}

.fx.on {
  opacity: 1
}

.fx.hl {
  border-radius: 8px;
  background: rgba(199, 154, 59, .08);
  transform: scale(1.02)
}

.fx.hl::before {
  content: "";
  position: absolute;
  inset: -1px;
  border: 2.5px solid #c79a3b;
  border-radius: inherit;
  box-shadow: 0 0 26px rgba(199, 154, 59, .45);
  clip-path: inset(0 100% 0 0);
  transition: clip-path .55s cubic-bezier(.2, .7, .2, 1)
}

.fx.hl.on {
  transform: scale(1)
}

.fx.hl.on::before {
  clip-path: inset(0)
}

.fx.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .55em .8em;
  border-radius: 99px;
  background: #171a21;
  color: #e8c56a;
  white-space: nowrap;
  width: auto;
  font: 700 clamp(9px, .9vw, 12px)/1 Inter, system-ui, sans-serif;
  letter-spacing: .02em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
  transform: translateY(6px)
}

.fx.badge.on {
  transform: none
}

.fx.badge--amber {
  background: #fdf0dd;
  color: #c07f2e
}

.fx.badge--ok {
  background: #2f9e68;
  color: #fff
}

.fx.badge--gold {
  background: #c79a3b;
  color: #171a21
}

.fx.toast {
  right: 2.5%;
  bottom: 4%;
  left: auto;
  top: auto;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 250px;
  max-width: 330px;
  padding: 13px 16px;
  border-radius: 12px;
  background: #171a21;
  color: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
  transform: translateY(10px)
}

.fx.toast.on {
  transform: none
}

.fx.toast b {
  font: 700 .82em/1.3 Inter, sans-serif
}

.fx.toast span {
  font: 500 .68em/1.35 Inter, sans-serif;
  color: rgba(255, 255, 255, .6)
}

.fx.blk {
  border-radius: 6px;
  background: repeating-linear-gradient(45deg, rgba(214, 90, 74, .18) 0 7px, rgba(214, 90, 74, .42) 7px 14px);
  outline: 2px solid rgba(214, 90, 74, .55);
  transform: scale(.85)
}

.fx.blk.on {
  transform: scale(1)
}

.fx.inv {
  right: 3.5%;
  top: 14%;
  left: auto;
  width: 32%;
  padding: 4.5% 5%;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e4e4e8;
  box-shadow: 0 30px 80px rgba(29, 29, 31, .3);
  transform: translateY(16px) rotate(.8deg);
  font-family: Inter, system-ui, sans-serif;
  color: #171a21
}

.fx.inv.on {
  transform: rotate(.8deg)
}

.inv__h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: .6em;
  border-bottom: 2px solid #171a21;
  margin-bottom: .6em
}

.inv__h b {
  font-weight: 800;
  font-size: .95em;
  letter-spacing: .1em
}

.inv__h span {
  font: 500 .6em/1 "IBM Plex Mono", monospace;
  color: #8a8577
}

.inv p {
  display: flex;
  justify-content: space-between;
  margin: 0 0 .45em;
  font-size: .62em;
  color: #3a3f4a
}

.inv p b {
  color: #171a21
}

.inv__b {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  padding-top: .6em;
  border-top: 1px dashed #d8d4c8
}

.inv__qr {
  width: 2.6em;
  height: 2.6em;
  flex: none;
  border-radius: 4px;
  background: conic-gradient(#171a21 25%, transparent 0 50%, #171a21 0 75%, transparent 0) 0 0/.72em .72em, #fff;
  outline: 3px solid #fff;
  box-shadow: 0 0 0 1px #e2ded2
}

.inv__b>div {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: .2em
}

.inv__b span {
  font: 600 .5em/1 Inter, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8a8577
}

.inv__b b {
  font: 800 1.05em/1 Inter, sans-serif;
  letter-spacing: -.02em
}

.inv__seal {
  display: inline-block;
  align-self: flex-start;
  margin-top: .7em;
  font: 700 .5em/1 Inter, sans-serif;
  font-style: normal;
  letter-spacing: .08em;
  color: #8a6b1f;
  background: #f7ead0;
  border: 1px solid #e0c98e;
  border-radius: 99px;
  padding: .5em 1em
}

/* ── cierre — el texto vive en la columna editorial, la ventana reposa a la derecha ── */
@keyframes drop {
  0% {
    transform: scaleY(0);
    transform-origin: top
  }

  55% {
    transform: scaleY(1);
    transform-origin: top
  }

  56% {
    transform-origin: bottom
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom
  }
}

.pmsf__end {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 35%;
  max-width: 560px;
  z-index: 6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: clamp(28px, 4.5vw, 72px);
  padding-right: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease
}

.pmsf__end.on {
  pointer-events: auto
}

.pmsf__end .ped__k {
  margin-bottom: 16px
}

.pmsf__end h2 {
  font: 800 clamp(2rem, 3.4vw, 3.1rem)/1.02 -apple-system, "SF Pro Display", Inter, system-ui, sans-serif;
  letter-spacing: -.04em;
  color: #1d1d1f;
  margin: 0 0 14px
}

.pmsf__end>p {
  font: 400 clamp(.92rem, 1.2vw, 1.05rem)/1.6 -apple-system, "SF Pro Text", Inter, system-ui, sans-serif;
  color: #6e6e73;
  max-width: 440px;
  margin: 0 0 26px
}

.pmsf__end-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px
}

.pmsf__price {
  font: 500 12px/1.5 -apple-system, "SF Pro Text", Inter, sans-serif;
  color: #6e6e73
}

.pmsf__price b {
  color: #9a7b2d;
  font-size: 15px
}

.pmsf__dots {
  position: absolute;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 9px;
  z-index: 7
}

.pmsf__dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(29, 29, 31, .22);
  transition: all .3s
}

.pmsf__dots i.on {
  background: #9a7b2d;
  box-shadow: 0 0 8px rgba(154, 123, 45, .5)
}

.pmsf__prog {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(29, 29, 31, .06);
  z-index: 7
}

.pmsf__prog i {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(#d4a94e, #9a7b2d);
  transform: scaleY(0);
  transform-origin: top
}

@media(max-width:860px) {

  /* narrativa vertical: titular arriba, producto debajo */
  .pmsf__ed {
    width: 100%;
    max-width: none;
    bottom: auto;
    height: 33%;
    display: flex;
    align-items: flex-end
  }

  .ped {
    left: 22px;
    right: 22px;
    top: auto;
    bottom: 4%;
    transform: translateY(14px);
    width: auto
  }

  .ped.on {
    transform: none
  }

  .ped__t {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
    margin: 10px 0 8px
  }

  .ped__d {
    font-size: .9rem
  }

  .pmsf__cam {
    left: 0;
    right: 0;
    top: 32%;
    perspective: 1400px
  }

  .pmsf__win {
    width: min(94vw, 760px)
  }

  /* cierre: tarjeta suave a pantalla completa sobre la constelación */
  .pmsf__end {
    width: 100%;
    max-width: none;
    height: 100%;
    inset: 0;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 90px 26px 40px;
    background: rgba(245, 243, 239, .82);
    backdrop-filter: blur(18px) saturate(1.1);
    -webkit-backdrop-filter: blur(18px) saturate(1.1)
  }

  .pmsf__end-cta {
    gap: 10px;
    margin-bottom: 12px;
    justify-content: center
  }

  .pmsf__end h2 {
    font-size: clamp(1.6rem, 7vw, 2.2rem)
  }

  .pmsf__dots {
    right: 12px
  }

  .fx.toast {
    min-width: 180px;
    max-width: 230px
  }

  .pmod {
    width: 30%
  }
}

@media(max-width:520px) {
  .pmsf__it {
    font-size: 2.5rem
  }
}

/* reducción de movimiento: las vistas quedan en columna estática */
.pmsf--flat {
  height: auto
}

.pmsf--flat .pmsf__stage {
  position: static;
  height: auto;
  overflow: visible;
  padding: 12vh 20px;
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center
}

.pmsf--flat .pmsf__intro {
  position: static;
  opacity: 1 !important;
  transform: none !important
}

.pmsf--flat .pmsf__cam {
  position: static;
  width: 100%;
  perspective: none;
  display: block
}

.pmsf--flat .pmsf__win {
  transform: none !important;
  opacity: 1 !important;
  width: min(1000px, 94vw);
  margin: 0 auto
}

.pmsf--flat .fscr__lay {
  position: relative;
  opacity: 1;
  transform: none !important
}

.pmsf--flat .fscr__world {
  position: relative;
  width: 100% !important;
  height: auto !important
}

.pmsf--flat .fscr__lay+.fscr__lay {
  margin-top: -32px
}

.pmsf--flat .fscr__cur,
.pmsf--flat .fx,
.pmsf--flat .pmsf__mods,
.pmsf--flat .pmsf__mlines {
  display: none
}

.pmsf--flat .pmsf__dots,
.pmsf--flat .pmsf__prog,
.pmsf--flat .pmsf__ic {
  display: none
}

.pmsf--flat .pmsf__ed {
  position: static;
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  height: auto
}

.pmsf--flat .ped {
  position: static;
  opacity: 1;
  transform: none;
  max-width: 34rem;
  text-align: center
}

.pmsf--flat .pmsf__end {
  position: static;
  width: 100%;
  max-width: none;
  height: auto;
  opacity: 1 !important;
  align-items: center;
  text-align: center;
  padding: 20px 0
}

/* ═══════════ BANNERS — índice a pantalla completa (home) ═══════════ */
.banners {
  position: relative;
}

.banner {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: clamp(6rem, 14vh, 9rem) clamp(1.5rem, 7vw, 8rem);
  overflow: hidden;
  text-decoration: none;
  color: #1d1d1f;
  isolation: isolate;
  perspective: 1300px;
  transform-origin: 50% 40%;
}

.banner+.banner {
  box-shadow: 0 -34px 90px rgba(15, 14, 12, 0.28);
}

.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #0b0a08;
  opacity: var(--dim, 0);
  pointer-events: none;
  z-index: 4;
}

.banner__copy>* {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s ease, transform 1s var(--ease);
}

.banner.in .banner__copy>* {
  opacity: 1;
  transform: none;
}

.banner.in .banner__copy>*:nth-child(2) {
  transition-delay: 0.09s;
}

.banner.in .banner__copy>*:nth-child(3) {
  transition-delay: 0.2s;
}

.banner.in .banner__copy>*:nth-child(4) {
  transition-delay: 0.32s;
}

.banner__copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.banner__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #9a7b2d;
  margin-bottom: 1.4rem;
}

.banner__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.4vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.banner__title b {
  font-weight: 700;
  background: linear-gradient(100deg, #9a7b2d, #d4a94e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.banner__sub {
  margin-top: 1.3rem;
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  line-height: 1.45;
  color: #6e6e73;
  max-width: 46ch;
}

.banner__go {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.2rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1d1d1f;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  border: 1px solid rgba(29, 29, 31, 0.14);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  transition: background 0.35s, color 0.35s, transform 0.35s var(--ease), gap 0.35s;
}

.banner__go i {
  font-style: normal;
  transition: transform 0.35s var(--ease);
}

.banner:hover .banner__go {
  background: #1d1d1f;
  color: #f5f5f7;
  transform: translateY(-2px);
}

.banner:hover .banner__go i {
  transform: translateX(4px);
}

/* — PMS: papel claro + ventana CMS real flotando — */
.banner--pms {
  background:
    radial-gradient(900px 480px at 84% 4%, rgba(212, 169, 78, 0.12), transparent 62%),
    linear-gradient(180deg, #fbfbfd, #f5f5f7);
}

.banner--pms .banner__visual {
  position: absolute;
  right: clamp(-140px, 2vw, 120px);
  top: 50%;
  width: clamp(380px, 44vw, 760px);
  translate: 0 -46%;
  transform-style: preserve-3d;
  will-change: transform;
}

.banner--pms .banner__win {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(29, 29, 31, 0.08);
  box-shadow: 0 40px 110px -30px rgba(29, 29, 31, 0.3);
  transform: rotate(-2deg);
  translate: 0 64px;
  opacity: 0;
  transition: translate 1.1s var(--ease) 0.18s, opacity 0.9s ease 0.18s,
    transform 0.8s var(--ease), box-shadow 0.8s;
}

.banner.in .banner__win {
  translate: 0 0;
  opacity: 1;
}

.banner--pms .banner__win>span {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  height: 36px;
  background: linear-gradient(#fbfbfc, #f0f0f3);
  border-bottom: 1px solid rgba(29, 29, 31, 0.08);
}

.banner--pms .banner__win>span i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.18);
}

.banner--pms .banner__win>span i:nth-child(1) {
  background: #ff5f57;
}

.banner--pms .banner__win>span i:nth-child(2) {
  background: #febc2e;
}

.banner--pms .banner__win>span i:nth-child(3) {
  background: #28c840;
}

.banner--pms .banner__win>span em {
  margin: 0 auto;
  font-style: normal;
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  color: #6e6e73;
  background: rgba(29, 29, 31, 0.055);
  padding: 4px 34px;
  border-radius: 7px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}

/* la captura lleva la banda DEMO arriba (2.9% del alto) — se recorta
   ocultándola dentro de un marco con aspecto fijo */
.banner--pms .banner__shot {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10.4;
}

.banner--pms .banner__shot img {
  position: absolute;
  top: -3.4%;
  left: 0;
  display: block;
  width: 100%;
  height: auto;
}

.banner--pms:hover .banner__win {
  transform: rotate(-1deg) scale(1.015);
  box-shadow: 0 50px 130px -30px rgba(29, 29, 31, 0.36);
}

/* — AVA: cine negro, serif champagne, orbe líquido — */
.banner--ava {
  background: #0b0a08;
  color: #efe9dc;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  padding-bottom: clamp(4rem, 11vh, 7rem);
}

.banner--ava::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 500px at 50% 110%, rgba(201, 169, 110, 0.14), transparent 62%),
    radial-gradient(700px 460px at 50% -14%, rgba(150, 140, 118, 0.1), transparent 60%);
}

.banner--ava .banner__visual {
  position: absolute;
  left: 50%;
  top: 36%;
  width: min(38vw, 340px);
  translate: -50% -50%;
  transform-style: preserve-3d;
  will-change: transform;
}

.banner--ava .banner__mark {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
  scale: 0.92;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, black 52%, transparent 76%);
  mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, black 52%, transparent 76%);
  filter: drop-shadow(0 30px 80px rgba(232, 169, 90, 0.16));
  transition: opacity 1.2s ease 0.1s, scale 1.4s var(--ease) 0.1s;
  animation: avaSway 11s ease-in-out infinite alternate;
}

.banner.in .banner__mark {
  opacity: 0.9;
  scale: 1;
}

.banner--ava:hover .banner__mark {
  scale: 1.05;
  opacity: 1;
}

@keyframes avaSway {
  from {
    transform: scale(0.975) rotate(-1.8deg);
  }

  to {
    transform: scale(1.04) rotate(1.8deg);
  }
}

.banner--ava .banner__eyebrow {
  color: #d9be8f;
}

.banner--ava .banner__title {
  font-family: "Cormorant Garamond", "Space Grotesk", serif;
  font-weight: 600;
  letter-spacing: -0.015em;
  font-size: clamp(3rem, 7.4vw, 7rem);
}

.banner--ava .banner__title b {
  font-family: var(--font-body);
  font-weight: 200;
  letter-spacing: 0.3em;
  margin-left: 0.04em;
  background: none;
  color: #f3ecdd;
  -webkit-text-fill-color: #f3ecdd;
}

.banner--ava .banner__sub {
  color: #a29786;
  margin-inline: auto;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.9);
}

.banner--ava .banner__go {
  color: #efe9dc;
  border-color: rgba(233, 224, 204, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.banner--ava:hover .banner__go {
  background: #efe9dc;
  color: #0b0a08;
}

/* — QUÉ HACEMOS: blanco puro, tinta — */
.banner--svc {
  background: #ffffff;
}

.banner--svc::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 480px at 8% 100%, rgba(34, 116, 165, 0.08), transparent 60%);
}

.banner--svc .banner__eyebrow {
  color: #2274a5;
}

.banner--svc .banner__title b {
  background: linear-gradient(100deg, #2274a5, #5f9ec7);
  -webkit-background-clip: text;
  background-clip: text;
}

.banner--svc .banner__visual {
  position: absolute;
  right: 4%;
  top: 55%;
  width: min(36vw, 540px);
  height: min(54vh, 460px);
  translate: 0 -50%;
  transform-style: preserve-3d;
  will-change: transform;
}

/* ══ ARSENAL — sistema orbital: núcleo T + anillos con chips contra-rotados ══ */
.banner--svc .arsenal {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  scale: 0.8;
  opacity: 0;
  filter: blur(10px);
  transition: scale 1.1s var(--ease) .1s, opacity .8s ease .1s, filter .9s ease .1s;
}

.banner.in .arsenal {
  scale: 1;
  opacity: 1;
  filter: blur(0);
}

/* resplandor ambiental que respira detrás */
.banner--svc .banner__visual::before {
  content: "";
  position: absolute;
  inset: -18% -12%;
  background:
    radial-gradient(46% 42% at 32% 46%, rgba(34, 116, 165, 0.13), transparent 70%),
    radial-gradient(30% 30% at 66% 30%, rgba(34, 116, 165, 0.08), transparent 70%);
  animation: svcGlow 9s ease-in-out infinite alternate;
}

@keyframes svcGlow {
  to {
    opacity: .55;
    transform: scale(1.08);
  }
}

/* núcleo */
.banner--svc .arsenal__core {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 26%, #3d9ccd, #174a68 72%);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.65rem;
  letter-spacing: -0.02em;
  transform: translateZ(90px);
  box-shadow:
    0 24px 60px -16px rgba(23, 74, 104, 0.55),
    0 0 0 7px rgba(34, 116, 165, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.banner--svc .arsenal__core::after {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  border: 1.5px solid rgba(34, 116, 165, 0.45);
  animation: svcPing 2.8s ease-out infinite;
}

@keyframes svcPing {
  0% {
    transform: scale(.6);
    opacity: .9;
  }

  70%,
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/* órbitas: contenedor cuadrado centrado, el anillo es su borde discontinuo */
.banner--svc .o {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  aspect-ratio: 1;
  transform-style: preserve-3d;
}

.banner--svc .o::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.banner--svc .o1 {
  width: min(25vw, 310px);
  translate: -50% -50%;
  animation: orbCW 44s linear infinite;
}

.banner--svc .o1::before {
  border: 1.3px dashed rgba(34, 116, 165, 0.38);
}

.banner--svc .o2 {
  width: min(34vw, 470px);
  animation: orbCCW 72s linear infinite;
}

.banner--svc .o2::before {
  border: 1.2px dashed rgba(34, 116, 165, 0.22);
}

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

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

/* chips: el <i> es solo el anclaje (ángulo + radio); el <span> contra-rota
   para que la etiqueta quede siempre horizontal */
.banner--svc .o i {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: rotate(var(--a)) translateX(var(--rad)) rotate(calc(-1 * var(--a)));
}

.banner--svc .o1 {
  --rad: min(12.5vw, 155px);
}

.banner--svc .o2 {
  --rad: min(17vw, 235px);
}

.banner--svc .o i>span {
  position: absolute;
  translate: -50% -50%;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: clamp(0.78rem, 1vw, 0.95rem);
  letter-spacing: 0.06em;
  color: #1d1d1f;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(34, 116, 165, 0.4);
  border-radius: 15px;
  padding: 1em 1.45em;
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
  white-space: nowrap;
  box-shadow: 0 26px 55px -26px rgba(34, 116, 165, 0.45);
  backdrop-filter: blur(3px);
  transition: border-color .4s, box-shadow .4s;
}

.banner--svc .o1 i>span {
  animation: orbCCW 44s linear infinite;
}

.banner--svc .o2 i>span {
  animation: orbCW 72s linear infinite;
}

.banner--svc .o i>span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2274a5;
  flex: none;
}

.banner--svc .o i>span:hover {
  border-color: rgba(34, 116, 165, 0.8);
  box-shadow: 0 30px 62px -24px rgba(34, 116, 165, 0.6);
}
}

/* — TRABAJOS: gris cálido suave — */
.banner--work {
  background:
    radial-gradient(900px 480px at 88% 100%, rgba(176, 96, 48, 0.08), transparent 60%),
    linear-gradient(180deg, #f5f5f7, #eeeff2);
}

.banner--work .banner__eyebrow {
  color: #b06030;
}

.banner--work .banner__title b {
  background: linear-gradient(100deg, #1d1d1f, #6e6e73);
  -webkit-background-clip: text;
  background-clip: text;
}

.banner--work .banner__visual {
  position: absolute;
  right: 6%;
  top: 50%;
  width: min(35vw, 520px);
  translate: 0 -50%;
  transform-style: preserve-3d;
  will-change: transform;
}

.bcase {
  position: relative;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(29, 29, 31, 0.09);
  box-shadow: 0 44px 110px -40px rgba(29, 29, 31, 0.35);
  transform: rotate(2.5deg);
  translate: 0 50px;
  opacity: 0;
  transition: translate 1.1s var(--ease) 0.1s, opacity 0.9s ease 0.1s,
    transform 0.8s var(--ease);
}

.banner.in .bcase {
  translate: 0 0;
  opacity: 1;
}

.banner--work:hover .bcase {
  transform: rotate(1deg) scale(1.02);
}

.bcase img {
  display: block;
  width: 100%;
  height: min(42vh, 330px);
  object-fit: cover;
}

.bcase figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.9rem 1.15rem;
}

.bcase figcaption b {
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: #1d1d1f;
}

.bcase figcaption span {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: #6e6e73;
  letter-spacing: 0.04em;
}

.bcase__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1d1d1f;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.35em 0.75em;
  border-radius: 99px;
  backdrop-filter: blur(4px);
}

.bcase__visit {
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  color: #f3ecdd;
  background: rgba(23, 24, 28, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.55em 1em;
  border-radius: 99px;
  backdrop-filter: blur(6px);
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}

.bcase__visit:hover {
  background: #17181c;
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

/* — SOBRE MÍ: blanco + retrato B/N — */
.banner--me {
  background: #fbfbfd;
}

.banner--me .banner__visual {
  position: absolute;
  right: clamp(2rem, 9vw, 10rem);
  top: 50%;
  translate: 0 -50%;
  transform-style: preserve-3d;
  will-change: transform;
}

.banner--me .banner__visual::before {
  content: "";
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  border: 1px solid rgba(154, 123, 45, 0.4);
  transform: translateZ(-70px);
}

.banner--me .banner__visual::after {
  content: "";
  position: absolute;
  inset: -17%;
  border-radius: 50%;
  border: 1px dashed rgba(154, 123, 45, 0.22);
  animation: meRing 46s linear infinite;
}

@keyframes meRing {
  from {
    transform: translateZ(-150px) rotate(0deg);
  }

  to {
    transform: translateZ(-150px) rotate(360deg);
  }
}

/* anillo de texto orbital alrededor del retrato */
.banner--me .meorbit {
  position: absolute;
  inset: -15%;
  transform: translateZ(55px);
  animation: meOrbit 34s linear infinite;
  pointer-events: none;
}

.banner--me .meorbit text {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  fill: rgba(154, 123, 45, 0.75);
}

@keyframes meOrbit {
  to {
    transform: translateZ(55px) rotate(360deg);
  }
}

/* micro-datos bajo el subtítulo */
.banner--me .banner__facts {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9a7b2d;
  margin-top: -0.2rem;
}

.banner--me .banner__photo {
  display: block;
  width: clamp(210px, 26vw, 360px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  filter: grayscale(1) contrast(1.04);
  box-shadow: 0 30px 80px -20px rgba(29, 29, 31, 0.3);
  border: 1px solid rgba(29, 29, 31, 0.08);
  translate: 0 46px;
  opacity: 0;
  scale: 1;
  transition: translate 1.1s var(--ease) 0.12s, opacity 0.9s ease 0.12s,
    scale 0.8s var(--ease);
}

.banner.in .banner__photo {
  translate: 0 0;
  opacity: 1;
}

.banner--me:hover .banner__photo {
  scale: 1.04;
}

@media (max-width: 860px) {
  .banner {
    min-height: 88svh;
    padding: 6rem 1.4rem 4rem;
    align-items: flex-end;
  }

  .banner--pms {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .banner--pms .banner__visual {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    translate: none;
    margin-top: 2.4rem;
  }

  .banner--ava .banner__visual {
    top: 27%;
    width: min(82vw, 46vh);
  }

  .banner--svc .banner__visual {
    display: none;
  }

  .banner--work {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .banner--work .banner__visual {
    position: relative;
    right: auto;
    top: auto;
    translate: none;
    width: 100%;
    order: 2;
    margin-top: 2.2rem;
  }

  .bcase img {
    height: 200px;
  }

  .banner--me {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .banner--me .banner__visual {
    position: relative;
    right: auto;
    top: auto;
    translate: none;
    order: -1;
    margin-bottom: 2rem;
  }

  .banner--me .banner__photo {
    width: clamp(140px, 44vw, 200px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .banner {
    position: relative;
  }

  .banner__copy>*,
  .banner--pms .banner__win,
  .banner--ava .banner__mark,
  .banner--me .banner__photo,
  .banner--me .meorbit,
  .banner__visual i {
    opacity: 1 !important;
    translate: none !important;
    transition: none !important;
    animation: none !important;
  }

  .banner--svc .arsenal {
    opacity: 1 !important;
    scale: 1 !important;
    filter: none !important;
    transition: none !important;
  }

  .banner--svc .o,
  .banner--svc .o i>span,
  .banner--svc .arsenal__core::after,
  .banner--svc .banner__visual::before {
    animation: none !important;
  }
}