@font-face{font-family:"Archivo";src:url("archivo.woff2") format("woff2");font-weight:100 900;font-stretch:62% 125%;font-display:swap}
:root{--font-archivo:"Archivo"}
/* =====================================================================
   OBSESSIVE — estilos globales
   Mobile-first: la base es el celular; los min-width suman columnas.
   Breakpoints por contenido: 560 (formularios en 2 col), 768 (tabla de
   comparación), 960 (navegación completa y composiciones en 2 columnas),
   1280 (escala de escritorio amplio).
   ===================================================================== */

:root {
  /* Superficie: taller oscuro bajo luz de inspección */
  --bg: #0b0c0d;
  --bg-sunk: #070808;
  --bg-raised: #121416;
  --bg-raised-2: #181b1e;
  --line: rgb(236 235 230 / 0.13);
  --line-strong: rgb(236 235 230 / 0.28);

  --text: #ecebe6;
  --text-2: #b4b6b6;
  --text-3: #8b8f92;
  --light: #f7f8f6; /* tubo de luz: líneas */

  /* Colores del logo */
  --cyan: #24e8fe;
  --magenta: #f502d6;
  --blue: #0e7de9;
  --yellow: #fcfc04;

  --accent: var(--cyan);
  --accent-hover: #8af3ff;
  --film: var(--cyan);
  --coat: var(--yellow);

  --ok: #9fd6ae;
  --warn: #efc48b;
  --error: #f2a593;
  --review: #e3c47f;

  --font: var(--font-archivo, "Archivo"), "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1rem, 5vw, 2.5rem);
  --max: 1320px;
  --section: clamp(4.5rem, 13vw, 9.5rem);
  --header-h: 64px;
  --radius: 6px;

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

  color-scheme: dark;
  interpolate-size: allow-keywords;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.5rem);
  scroll-padding-bottom: 6rem;
  background: var(--bg);
  scrollbar-color: var(--line-strong) var(--bg);
}

html.menu-open {
  overflow: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}

::selection {
  background: var(--cyan);
  color: var(--bg);
}

img,
svg {
  display: block;
  max-width: 100%;
}

p,
h1,
h2,
h3,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

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

strong {
  font-weight: 600;
  color: var(--text);
}

.container {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  border-radius: var(--radius);
  transform: translateY(-160%);
}

.skip-link:focus-visible {
  transform: none;
}

/* ---------------------------------------------------------------------
   Tipografía
   --------------------------------------------------------------------- */

.display {
  font-family: var(--font);
  font-stretch: 125%;
  font-weight: 760;
  text-transform: uppercase;
  line-height: 0.96;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

/* Los títulos se limitan al ancho de su columna (10cqi): una palabra larga
   como PRESUPUESTO o FRECUENTES nunca desborda en layouts de dos columnas. */
.section__head,
.service__intro,
.service__body,
.contact__head,
.trust__body {
  container-type: inline-size;
}

.display--lg {
  font-size: min(clamp(1.625rem, 8.4vw, 4.5rem), 10cqi);
}

.display--md {
  font-size: min(clamp(1.5rem, 7.4vw, 3.5rem), 10cqi);
}

.lead {
  margin-top: 1.25rem;
  max-width: 38rem;
  font-size: clamp(1.0625rem, 1rem + 0.5vw, 1.25rem);
  line-height: 1.55;
  color: var(--text-2);
  text-wrap: pretty;
}

.lead a {
  color: var(--text);
}

.subhead {
  font-stretch: 112%;
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
}

.subhead--lg {
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
  letter-spacing: 0.02em;
  color: var(--text);
}

.fine {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-3);
}

/* ---------------------------------------------------------------------
   Botones y enlaces
   --------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 650;
  font-stretch: 108%;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
  transition:
    transform 160ms var(--ease-out),
    background-color 200ms ease,
    border-color 200ms ease,
    color 200ms ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background: var(--accent);
  color: var(--bg);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgb(11 12 13 / 0.35);
}

.btn--sm {
  min-height: 44px;
  padding: 0 1.15rem;
  font-size: 0.875rem;
}

.btn--block {
  width: 100%;
}

.btn svg {
  flex: none;
}

@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover {
    background: var(--accent-hover);
  }
  .btn--ghost:hover {
    border-color: var(--text);
  }
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--accent);
}

.link svg {
  transition: transform 200ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .link:hover {
    text-decoration-color: currentColor;
  }
  .link:hover svg {
    transform: translateX(3px);
  }
}

.text-btn {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-2);
  font-size: 0.875rem;
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  transition:
    transform 160ms var(--ease-out),
    border-color 200ms ease,
    opacity 200ms ease;
}

.icon-btn:active:not(:disabled) {
  transform: scale(0.95);
}

.icon-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

@media (hover: hover) and (pointer: fine) {
  .icon-btn:hover:not(:disabled) {
    border-color: var(--text);
  }
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin-top: 2rem;
}

/* ---------------------------------------------------------------------
   Marcas de revisión (solo con reviewMode)
   --------------------------------------------------------------------- */

.review-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.55rem;
  border: 1px dashed var(--review);
  border-radius: 999px;
  color: var(--review);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.02em;
  vertical-align: 0.1em;
  white-space: normal;
}

.review-note {
  margin-top: 1.5rem;
  padding: 0.85rem 1rem;
  border: 1px dashed rgb(227 196 127 / 0.5);
  border-radius: var(--radius);
  color: var(--text-2);
  font-size: 0.875rem;
  line-height: 1.5;
  max-width: 44rem;
}

/* ---------------------------------------------------------------------
   Header y menú
   --------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition:
    background-color 240ms ease,
    border-color 240ms ease;
}

.site-header[data-scrolled] {
  background: rgb(11 12 13 / 0.94);
  border-bottom-color: var(--line);
}

.site-header__bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: var(--header-h);
}

.site-header__logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-right: auto;
  text-decoration: none;
}

.logo {
  display: block;
  width: auto;
  height: 22px;
}

.logo--lg {
  height: 34px;
  max-width: none;
}

@media (min-width: 400px) {
  .logo {
    height: 25px;
  }
}

.site-nav,
.site-header__cta {
  display: none;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  min-width: 44px;
  margin-right: -0.5rem;
  padding: 0 0.5rem;
  border: 0;
  background: none;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom));
  background: var(--bg);
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 1;
  transform: none;
  transition:
    opacity 220ms var(--ease-out),
    transform 220ms var(--ease-out);
}

@starting-style {
  .mobile-menu {
    opacity: 0;
    transform: translateY(-8px);
  }
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu__list a {
  display: flex;
  align-items: center;
  min-height: 64px;
  border-bottom: 1px solid var(--line);
  font-stretch: 125%;
  font-weight: 760;
  font-size: clamp(1.5rem, 8vw, 2.25rem);
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.mobile-menu__foot {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 960px) {
  .menu-toggle,
  .mobile-menu {
    display: none;
  }

  .site-nav {
    display: block;
  }

  .site-nav ul {
    display: flex;
    gap: 0.25rem;
  }

  .site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 0.85rem;
    font-size: 0.875rem;
    font-weight: 550;
    letter-spacing: 0.02em;
    color: var(--text-2);
    text-decoration: none;
    transition: color 160ms ease;
  }

  .site-nav a:hover {
    color: var(--text);
  }

  .site-header__cta {
    display: inline-flex;
    margin-left: 0.75rem;
  }
}

/* ---------------------------------------------------------------------
   Fotos
   --------------------------------------------------------------------- */

.photo {
  position: relative;
  overflow: hidden;
  background: var(--bg-raised);
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus-m);
}

@media (min-width: 960px) {
  .photo img {
    object-position: var(--focus-d);
  }
}

.photo__tag {
  position: absolute;
  right: 0.5rem;
  bottom: 0.5rem;
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
  background: rgb(7 8 8 / 0.72);
  color: var(--text-2);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* Revelado de fotos al entrar en pantalla (solo si hay JS y movimiento) */
.reveal-ready [data-reveal="pending"] img,
.reveal-ready [data-reveal="in"] img {
  transition:
    clip-path 1000ms var(--ease-out),
    transform 1400ms var(--ease-out);
}

.reveal-ready [data-reveal="pending"] img {
  clip-path: inset(100% 0 0 0);
  transform: scale(1.06);
}

.reveal-ready [data-reveal="in"] img {
  clip-path: inset(0 0 0 0);
  transform: none;
}

/* ---------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
}

/* Móvil: la foto ocupa la parte alta con el auto visible; el texto apoya
   sobre el piso oscuro de la foto. */
.hero__media {
  position: relative;
  height: 58svh;
  min-height: 340px;
  max-height: 620px;
}

.hero__photo {
  position: absolute;
  inset: 0;
  background: var(--bg);
}

.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgb(11 12 13 / 0.55) 0%,
    rgb(11 12 13 / 0) 20%,
    rgb(11 12 13 / 0) 46%,
    rgb(11 12 13 / 0.78) 74%,
    var(--bg) 100%
  );
}

.hero__photo .photo__tag {
  top: calc(var(--header-h) + 0.5rem);
  bottom: auto;
  right: var(--gutter);
  z-index: 1;
}

.hero__bar {
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgb(247 248 246 / 0.5) 20%, rgb(247 248 246 / 0.5) 80%, transparent);
  transform-origin: 50% 50%;
}

.hero__content {
  position: relative;
  margin-top: -5.5rem;
  padding-bottom: clamp(2.5rem, 7vh, 4rem);
}

.hero__title {
  font-size: clamp(2.3rem, 11.4vw, 6.25rem);
  line-height: 0.93;
  max-width: 11ch;
}

.hero__title > span {
  display: inline-block;
}

/* Etiqueta sobre el título, en el amarillo de los textos de los reels */
.hero__kicker {
  margin-bottom: 0.9rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
}

/* El punto cuadrado del logo, en amarillo */
.dot {
  display: inline-block;
  width: 0.17em;
  height: 0.17em;
  margin-left: 0.06em;
  background: var(--yellow);
  vertical-align: baseline;
}

.hero__lead {
  margin-top: 1.1rem;
  max-width: 34rem;
  font-size: clamp(1.0625rem, 1rem + 0.45vw, 1.3125rem);
  line-height: 1.5;
  color: var(--text-2);
  text-wrap: pretty;
}

.hero__actions {
  margin-top: 1.6rem;
}

.hero__services li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero__services li::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--sq, var(--cyan));
}

.hero__services [data-c="magenta"] { --sq: var(--magenta); }
.hero__services [data-c="blue"] { --sq: var(--blue); }
.hero__services [data-c="yellow"] { --sq: var(--yellow); }

.hero__services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}

@media (max-width: 479px) {
  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
}

@media (max-height: 600px) and (max-width: 959px) {
  .hero__media {
    height: 56svh;
    min-height: 280px;
  }
}

@media (min-width: 600px) and (max-width: 959px) {
  .hero__media {
    height: 58svh;
    max-height: 640px;
  }
}

@media (min-width: 960px) {
  .hero {
    display: grid;
    align-items: center;
    min-height: 100vh;
    min-height: 100svh;
    max-height: 1100px;
  }

  .hero__media {
    position: absolute;
    inset: 0 0 0 40%;
    height: auto;
    max-height: none;
    z-index: -1;
  }

  .hero__photo {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 34%);
    mask-image: linear-gradient(to right, transparent 0%, #000 34%);
  }

  .hero__photo::after {
    background: linear-gradient(
      to bottom,
      rgb(11 12 13 / 0.55) 0%,
      rgb(11 12 13 / 0) 22%,
      rgb(11 12 13 / 0) 72%,
      var(--bg) 100%
    );
  }

  .hero__content {
    margin-top: 0;
    padding-top: calc(var(--header-h) + 4rem);
    padding-bottom: 4rem;
  }

  .hero__title {
    font-size: clamp(3.75rem, 5.6vw, 6rem);
  }
}

/* Entrada del hero: una sola coreografía, contenido visible por defecto */
@media (prefers-reduced-motion: no-preference) {
  .hero__bar {
    animation: bar-in 1100ms var(--ease-out) both;
  }
  .hero__photo img {
    animation: photo-in 1400ms var(--ease-out) both;
  }
  .hero__title > span,
  .hero__lead,
  .hero__actions,
  .hero__services {
    animation: rise-in 800ms var(--ease-out) both;
  }
  .hero__title > span:nth-child(2) {
    animation-delay: 70ms;
  }
  .hero__lead {
    animation-delay: 150ms;
  }
  .hero__actions {
    animation-delay: 220ms;
  }
  .hero__services {
    animation-delay: 290ms;
  }
}

@keyframes bar-in {
  from {
    transform: scaleX(0.2);
    opacity: 0;
  }
}

@keyframes photo-in {
  from {
    opacity: 0;
    transform: scale(1.04);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* ---------------------------------------------------------------------
   Servicios
   --------------------------------------------------------------------- */

.service {
  padding-top: var(--section);
}

.service__grid {
  display: grid;
  gap: 2rem;
}

.service__photo {
  aspect-ratio: 4 / 3;
  margin-inline: calc(-1 * var(--gutter));
}

.facts {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.facts > div {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.facts dt {
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}

.facts dd {
  color: var(--text);
  max-width: 34rem;
}

.service .subhead {
  margin-top: 2.5rem;
  margin-bottom: 0.5rem;
}

.variants {
  border-bottom: 1px solid var(--line);
}

.variant {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 1rem;
  min-height: 72px;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.variant__name {
  font-weight: 650;
  font-size: 1.0625rem;
}

.variant__detail {
  grid-column: 1;
  color: var(--text-2);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.variant__arrow {
  grid-row: 1 / span 2;
  grid-column: 2;
  color: var(--text-3);
  transition:
    transform 200ms var(--ease-out),
    color 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .variant:hover .variant__arrow {
    color: var(--text);
    transform: translateX(4px);
  }
}

.note {
  margin-top: 1.5rem;
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
  color: var(--text-2);
  font-size: 0.9375rem;
}

@media (min-width: 640px) {
  .facts {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (min-width: 960px) {
  .service__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
  }

  .service__photo {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
    aspect-ratio: 4 / 5;
    max-height: calc(100vh - var(--header-h) - 4rem);
    margin-inline: 0;
    border-radius: 2px;
  }

  .service--alt .service__photo {
    order: 2;
  }

  .facts {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (min-width: 1280px) {
  .facts {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* PPF: foto con señalamientos */
.service__intro {
  max-width: 48rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.service__cols {
  display: grid;
  gap: 2.5rem;
  margin-top: clamp(2.5rem, 6vw, 4rem);
}

.service__cols .facts {
  margin-top: 0;
}

.service__cols .subhead {
  margin-top: 0;
}

@media (min-width: 960px) {
  .service__cols {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
  }

  .service__cols .facts {
    grid-template-columns: 1fr;
  }
}

/* Foto con el film "despegado". La foto (2:3) se ubica en el cuadro con --sw
   (ancho), --sl (izquierda) y --st (desplazamiento hacia arriba; negativo la
   baja), en fracciones del ancho del cuadro; --fh es alto del cuadro / ancho.
   Piezas, puntos y líneas se calculan con esos valores. */
.anatomy {
  margin-inline: calc(-1 * var(--gutter));
}

.anatomy__frame {
  --sw: 1;
  --sl: 0;
  --st: -0.27;
  --fh: 1.7778;
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  background: var(--bg);
}

.anatomy__stage,
.anatomy__pieces {
  position: absolute;
  left: calc(var(--sl) * 100%);
  width: calc(var(--sw) * 100%);
  top: calc(-1 * var(--st) / var(--fh) * 100%);
  aspect-ratio: 2 / 3;
}

.anatomy__stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.92);
}

.anatomy__stage {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 14%);
}

/* La misma foto, ampliada y desenfocada, continúa el fondo */
.anatomy__bg {
  position: absolute;
  inset: -6%;
  width: 112%;
  height: 112%;
  object-fit: cover;
  object-position: 50% 30%;
  filter: blur(26px) brightness(0.5) saturate(0.9);
}

.anatomy__pieces {
  z-index: 1;
  pointer-events: none;
}

/* Pieza de film separada: brillo blanco en el borde y sombra debajo */
.piece {
  position: absolute;
  max-width: none;
  translate: var(--tx) var(--ty);
  scale: 1.05;
  filter: brightness(0.62) contrast(1.25) saturate(0.8) drop-shadow(0 0 1px rgb(255 255 255 / 1))
    drop-shadow(0 0 2px rgb(255 255 255 / 0.9)) drop-shadow(0 0 12px rgb(255 255 255 / 0.55))
    drop-shadow(0 22px 18px rgb(0 0 0 / 0.65));
  transition:
    translate 900ms var(--ease-out),
    scale 900ms var(--ease-out),
    filter 300ms ease;
  transition-delay: calc(var(--i) * 70ms);
}

/* Debajo, el panel queda "desnudo": más claro y sin brillo */
.piece--base {
  translate: none;
  scale: 1;
  filter: grayscale(1) brightness(1.9) contrast(0.7);
  opacity: 0.85;
  transition: opacity 600ms ease;
}

.piece[data-active] {
  filter: brightness(0.62) contrast(1.25) saturate(0.8) drop-shadow(0 0 1px var(--accent))
    drop-shadow(0 0 2px var(--accent)) drop-shadow(0 0 12px var(--accent)) drop-shadow(0 22px 18px rgb(0 0 0 / 0.65));
}

/* Sombra para leer el texto: arriba en móvil, a los costados en escritorio */
.anatomy__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgb(11 12 13 / 0.55) 0%, rgb(11 12 13 / 0.3) 26%, rgb(11 12 13 / 0) 36%),
    linear-gradient(to top, var(--bg) 0%, rgb(11 12 13 / 0) 10%);
}

.anatomy__frame .photo__tag {
  z-index: 4;
  top: auto;
  bottom: 0.5rem;
  right: var(--gutter);
}

.anatomy__lines {
  display: none;
}

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

.callout {
  display: contents;
  --cx: calc((var(--sl) + var(--sw) * var(--x) / 100) * 100%);
  --cy: calc((var(--sw) * 1.5 * var(--y) / 100 - var(--st)) / var(--fh) * 100%);
}

/* Área táctil de 48px con un punto blanco chico, sin números */
.callout__dot {
  position: absolute;
  left: var(--cx);
  top: var(--cy);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.callout__dot span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--light);
  box-shadow: 0 0 0 3px rgb(11 12 13 / 0.45), 0 0 14px rgb(247 248 246 / 0.7);
  transition:
    background-color 200ms ease,
    transform 200ms var(--ease-out);
}

.callout__dot:active span {
  transform: scale(0.85);
}

.callout[data-active] .callout__dot span {
  background: var(--accent);
  box-shadow: 0 0 0 3px rgb(11 12 13 / 0.45), 0 0 16px var(--accent);
}

.callout__label {
  display: none;
}

/* Texto sobre la foto (móvil y tablet) */
.anatomy__panel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: grid;
  gap: 0.4rem;
  padding: 1.25rem var(--gutter) 0;
  color: var(--text-2);
  font-size: 0.9375rem;
  line-height: 1.5;
  text-shadow: 0 1px 8px rgb(0 0 0 / 0.65);
}

.anatomy__panel strong {
  font-stretch: 125%;
  font-weight: 760;
  font-size: 1.125rem;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--text);
  text-wrap: balance;
}

.anatomy__hint {
  font-size: 0.75rem;
  color: var(--text-3);
}

.anatomy__review {
  margin-inline: var(--gutter);
}

@media (min-width: 600px) and (max-width: 959px) {
  .anatomy__frame {
    --sw: 0.8;
    --sl: 0.1;
    --st: 0;
    --fh: 1.25;
    aspect-ratio: 4 / 5;
  }

  .anatomy__panel {
    max-width: 36rem;
    padding-top: 1.75rem;
  }
}

@media (min-width: 960px) {
  /* Cabe entero en la pantalla: el ancho se limita por el alto disponible */
  .anatomy {
    margin-inline: auto;
    max-width: min(100%, (100svh - var(--header-h) - 2rem) * 16 / 9);
  }

  .anatomy__frame {
    --sw: 0.58;
    --sl: 0.21;
    --st: 0.1827;
    --fh: 0.5625;
    aspect-ratio: 16 / 9;
    border-radius: 2px;
  }

  .anatomy__stage {
    -webkit-mask-image: radial-gradient(ellipse 50% 46% at 50% 50%, #000 66%, transparent 100%);
    mask-image: radial-gradient(ellipse 50% 46% at 50% 50%, #000 66%, transparent 100%);
  }

  .anatomy__bg {
    object-position: 50% 62%;
    filter: blur(26px) brightness(0.55) saturate(0.9);
  }

  .anatomy__shade {
    background:
      linear-gradient(to right, rgb(11 12 13 / 0.55) 0%, rgb(11 12 13 / 0.25) 26%, rgb(11 12 13 / 0) 34%, rgb(11 12 13 / 0) 66%, rgb(11 12 13 / 0.25) 74%, rgb(11 12 13 / 0.55) 100%),
      linear-gradient(to top, rgb(11 12 13 / 0.6) 0%, rgb(11 12 13 / 0) 14%),
      linear-gradient(to bottom, rgb(11 12 13 / 0.6) 0%, rgb(11 12 13 / 0) 14%);
  }

  .anatomy__panel {
    display: none;
  }

  .anatomy__review {
    margin-inline: 0;
  }

  .piece[data-active] {
    filter: brightness(0.62) contrast(1.25) saturate(0.8) drop-shadow(0 0 1px rgb(255 255 255 / 1))
      drop-shadow(0 0 2px rgb(255 255 255 / 0.9)) drop-shadow(0 0 12px rgb(255 255 255 / 0.55))
      drop-shadow(0 22px 18px rgb(0 0 0 / 0.65));
  }

  .anatomy__lines {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
  }

  .anatomy__lines polyline {
    fill: none;
    stroke: var(--light);
    stroke-width: 1;
    stroke-opacity: 0.9;
    vector-effect: non-scaling-stroke;
  }

  .callout__dot {
    cursor: default;
    pointer-events: none;
  }

  .callout__dot span,
  .callout[data-active] .callout__dot span {
    width: 9px;
    height: 9px;
    background: var(--light);
    box-shadow: 0 0 0 2px rgb(11 12 13 / 0.5), 0 0 12px rgb(247 248 246 / 0.8);
  }

  .callout__label {
    position: absolute;
    top: calc(var(--ly) * 1%);
    display: grid;
    gap: 0.35rem;
    width: 24%;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--text-2);
    text-shadow: 0 1px 10px rgb(0 0 0 / 0.7);
  }

  .callout[data-dir="left"] .callout__label {
    left: 2.5%;
  }

  .callout[data-dir="right"] .callout__label {
    right: 2.5%;
  }

  .callout__label strong {
    font-stretch: 125%;
    font-weight: 760;
    font-size: 1rem;
    line-height: 1.15;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--text);
    text-wrap: balance;
  }
}

@media (min-width: 1280px) {
  .callout__label {
    font-size: 0.875rem;
  }

  .callout__label strong {
    font-size: 1.125rem;
  }
}

/* Al entrar en pantalla, las piezas se despegan del auto */
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready .anatomy[data-reveal="pending"] .piece:not(.piece--base) {
    translate: 0 0;
    scale: 1;
  }

  .reveal-ready .anatomy[data-reveal="pending"] .piece--base {
    opacity: 0;
  }

  .reveal-ready .anatomy[data-reveal="pending"] :is(.callout__label, .anatomy__lines polyline, .callout__dot) {
    opacity: 0;
  }

  .reveal-ready .anatomy[data-reveal] :is(.callout__label, .anatomy__lines polyline, .callout__dot) {
    transition: opacity 500ms var(--ease-out);
    transition-delay: calc(700ms + var(--i) * 90ms);
  }
}

/* Marcas: logos en blanco sobre grafito, en una franja que se desplaza */
.brands {
  margin-top: clamp(2rem, 5vw, 3rem);
  padding-block: 1.5rem;
  border-block: 1px solid var(--line);
}

.brands__title {
  text-align: center;
}

.brands__viewport {
  margin-top: 1.25rem;
  overflow: hidden;
  /* Los logos aparecen y se van con un fundido en los bordes */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.brands__track {
  display: flex;
  width: max-content;
}

.brands__list {
  display: flex;
  flex: none;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  padding-right: clamp(2.5rem, 6vw, 4.5rem);
}

.brands__item {
  display: grid;
  flex: none;
  place-items: center;
  height: 48px;
}

.brands__item img {
  max-width: 180px;
  width: auto;
  object-fit: contain;
  /* Logos de distintos colores quedan uniformes: blanco hueso */
  filter: grayscale(1) brightness(0) invert(0.92);
  opacity: 0.85;
  transition: opacity 200ms ease;
}

.brands__name {
  font-stretch: 125%;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-2);
  white-space: nowrap;
}

.brands__note {
  margin-inline: auto;
  text-align: center;
}

@media (prefers-reduced-motion: no-preference) {
  .brands__track {
    animation: brands-scroll var(--duration, 36s) linear infinite;
  }

  /* Se frena al pasar el mouse o al navegar con teclado */
  .brands__viewport:hover .brands__track,
  .brands__viewport:focus-within .brands__track {
    animation-play-state: paused;
  }
}

/* Movimiento reducido: logos quietos, en filas centradas */
@media (prefers-reduced-motion: reduce) {
  .brands__viewport {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .brands__track {
    width: auto;
  }

  .brands__list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem 2.5rem;
    padding-right: 0;
    width: 100%;
  }

  .brands__list--copy {
    display: none;
  }
}

/* Avanza exactamente una de las tres copias y vuelve a empezar sin salto */
@keyframes brands-scroll {
  to {
    transform: translateX(calc(-100% / 3));
  }
}

@media (hover: hover) and (pointer: fine) {
  .brands__link:hover img {
    opacity: 1;
  }
}

/* PPF de color: antes y después deslizable */
.color-ppf {
  padding-bottom: 0;
}

.compare-slider {
  --pos: 50%;
  --paint: #1f4fbf;
  position: relative;
  margin-inline: calc(-1 * var(--gutter));
  aspect-ratio: 2040 / 860;
  overflow: hidden;
  background: #e9e7e8;
  cursor: ew-resize;
  touch-action: pan-y; /* deja hacer scroll vertical, el gesto horizontal mueve la manija */
  user-select: none;
  -webkit-user-select: none;
}

.compare-slider__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.compare-slider__paint {
  position: absolute;
  inset: 0;
  background: var(--paint);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  mix-blend-mode: multiply;
  opacity: 0.92;
  clip-path: inset(0 0 0 var(--pos));
  transition: background-color 350ms ease;
}

.compare-slider__paint--flat {
  mix-blend-mode: normal;
  opacity: 0;
  transition:
    opacity 350ms ease,
    background-color 350ms ease;
}

.compare-slider__paint--flat[data-on] {
  opacity: 0.45;
}

.compare-slider__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: var(--light);
  box-shadow: 0 0 0 1px rgb(11 12 13 / 0.25), 0 0 18px rgb(11 12 13 / 0.25);
  pointer-events: none;
}

.compare-slider__knob {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--text);
  border: 2px solid var(--light);
  transform: translate(-50%, -50%);
  box-shadow: 0 6px 18px rgb(0 0 0 / 0.35);
  transition: transform 160ms var(--ease-out);
}

.compare-slider:active .compare-slider__knob {
  transform: translate(-50%, -50%) scale(0.94);
}

.compare-slider__arrow {
  width: 16px;
  height: 16px;
  margin: 0 -2px;
}

.compare-slider__arrow--left {
  transform: scaleX(-1);
}

.compare-slider:has(.compare-slider__range:focus-visible) .compare-slider__knob {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* El control real para teclado y lectores de pantalla: invisible y sin capturar el dedo */
.compare-slider__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.compare-slider__label {
  position: absolute;
  top: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
  background: rgb(11 12 13 / 0.72);
  color: var(--text);
  font-size: 0.6875rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}

.compare-slider__label--before {
  left: var(--gutter);
}

.compare-slider__label--after {
  right: var(--gutter);
}

.compare-slider .photo__tag {
  right: var(--gutter);
}

.color-ppf__bar {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.color-ppf__colors {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.color-ppf__colors legend {
  margin-bottom: 0.75rem;
  padding: 0;
}

.color-ppf__swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.swatch {
  position: relative;
}

.swatch input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.swatch {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0 1rem 0 0.4rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 550;
  transition:
    border-color 160ms ease,
    transform 160ms var(--ease-out);
}

.swatch__chip {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.2);
}

.swatch:has(input:checked) {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.swatch:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.swatch:active {
  transform: scale(0.97);
}

.color-ppf__note {
  margin-top: 1rem;
}

@media (hover: hover) and (pointer: fine) {
  .swatch:hover {
    border-color: var(--text);
  }
}

@media (min-width: 768px) {
  .compare-slider__label {
    top: 1rem;
    font-size: 0.75rem;
  }
}

@media (min-width: 960px) {
  .compare-slider {
    margin-inline: 0;
    border-radius: 2px;
  }

  .color-ppf__bar {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

/* ---------------------------------------------------------------------
   Secciones genéricas
   --------------------------------------------------------------------- */

.section {
  padding-block: var(--section);
}

.section__head {
  margin-bottom: clamp(2.25rem, 6vw, 4rem);
  max-width: 48rem;
}

.section__head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: none;
}

/* ---------------------------------------------------------------------
   Comparación + mapa de cobertura
   --------------------------------------------------------------------- */

.compare {
  margin-top: var(--section);
  background: var(--bg-raised);
  border-block: 1px solid var(--line);
}

.coverage {
  display: grid;
  gap: 1.75rem;
}

.segmented {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--count), minmax(0, 1fr));
  padding: 4px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--bg-sunk);
  max-width: 34rem;
}

.segmented__thumb {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc((100% - 8px) / var(--count));
  border-radius: 999px;
  background: var(--accent);
  transform: translateX(calc(100% * var(--index)));
  transition: transform 240ms var(--ease-out);
}

.segmented__tab {
  position: relative;
  z-index: 1;
  min-height: 46px;
  padding: 0 0.4rem;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--text-2);
  font-size: 0.8125rem;
  font-weight: 650;
  line-height: 1.15;
  transition: color 200ms ease;
}

.segmented__tab[aria-selected="true"] {
  color: var(--bg);
}

.coverage__body {
  display: grid;
  gap: 1.75rem;
}

.coverage__figure {
  justify-self: center;
  width: min(66vw, 250px);
}

.coverage__figure {
  position: relative;
  aspect-ratio: 840 / 1350;
  overflow: hidden;
  border-radius: 2px;
  background: var(--bg-raised);
}

.coverage__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.86) contrast(1.04);
}

.coverage__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 60px 20px var(--bg-raised);
}

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

/* La cobertura se "pinta" sobre la foto: multiplicar conserva brillos y sombras */
.coverage__paint {
  position: absolute;
  inset: 0;
  background: var(--cyan);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  mix-blend-mode: multiply;
  opacity: 0;
  transition: opacity 320ms var(--ease-out);
}

.coverage__paint[data-kind="coating"] {
  background: var(--yellow);
}

.coverage__paint[data-on] {
  opacity: 1;
}

.coverage__paint[data-kind="coating"][data-on] {
  opacity: 0.72;
}

/* Vidrios con cerámico: un brillo amarillo que se ve también sobre vidrio oscuro */
.coverage__glass {
  position: absolute;
  inset: 0;
  background: var(--yellow);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 320ms var(--ease-out);
}

.coverage__glass[data-on] {
  opacity: 0.3;
}

.coverage__figure .photo__tag {
  z-index: 1;
}

.coverage__text p {
  margin-top: 0.75rem;
  color: var(--text-2);
  max-width: 34rem;
}

.coverage__text .link {
  margin-top: 0.75rem;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.6rem;
  font-size: 0.875rem;
}

.legend__swatch {
  display: inline-block;
  width: 14px;
  height: 14px;
  background: var(--cyan);
}

.coverage[data-kind="coating"] .legend__swatch {
  background: var(--yellow);
}

.legend__swatch.legend__swatch--glass {
  margin-left: 0.6rem;
  background: #08090a;
  border: 1px solid var(--line-strong);
}

@media (min-width: 768px) {
  .coverage__body {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 5rem);
  }

  .coverage__figure {
    width: 280px;
  }
}

@media (min-width: 960px) {
  .coverage__body {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  }

  .coverage__figure {
    width: min(100%, 380px);
  }

  .coverage__text .subhead--lg {
    font-size: 1.75rem;
  }

  .coverage__text p {
    font-size: 1.0625rem;
  }
}

/* Tabla comparativa */
.matrix {
  margin-top: clamp(3rem, 8vw, 5rem);
  border-bottom: 1px solid var(--line);
}

.matrix__row {
  display: grid;
  gap: 0.75rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}

.matrix__row--head {
  display: none;
}

.matrix__topic {
  font-stretch: 112%;
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

.matrix__row p {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.75rem;
  color: var(--text-2);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.matrix__row p::before {
  content: attr(data-label);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  padding-top: 0.15rem;
}

@media (min-width: 768px) {
  .matrix__row {
    grid-template-columns: minmax(9rem, 0.7fr) 1fr 1fr;
    gap: 2rem;
    align-items: baseline;
  }

  .matrix__row--head {
    display: grid;
    padding: 0 0 1rem;
    border-top: 0;
    font-stretch: 125%;
    font-weight: 760;
    font-size: 1.25rem;
    text-transform: uppercase;
  }

  .matrix__row p {
    display: block;
    font-size: 1rem;
  }

  .matrix__row p::before {
    content: none;
  }
}

/* Guía rápida */
.guide {
  margin-top: clamp(3rem, 8vw, 5rem);
}

.guide__list {
  margin-top: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.guide__list li {
  display: grid;
  gap: 0.2rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.guide__when {
  color: var(--text-2);
}

.guide__answer {
  font-weight: 650;
  font-size: 1.0625rem;
}

.guide__cta {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg);
}

.guide__cta p {
  font-size: 1.0625rem;
  max-width: 32rem;
}

@media (min-width: 768px) {
  .guide__list li {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .guide__cta {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

/* ---------------------------------------------------------------------
   Trabajos
   --------------------------------------------------------------------- */

.works__grid {
  display: grid;
  gap: 2.25rem 1.25rem;
  margin-top: 0.5rem;
}

/* En el celular: los primeros 3 y "Ver más trabajos" */
@media (max-width: 639px) {
  .works__grid:not([data-expanded]) .works__item:nth-child(n + 4) {
    display: none;
  }
}

@media (min-width: 640px) {
  .works__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .works__more {
    display: none;
  }
}

@media (min-width: 1100px) {
  .works__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem 1.5rem;
  }
}

.works__more {
  margin-top: 2rem;
  text-align: center;
}

.work__media {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: var(--bg-raised);
}

.work__slides {
  display: flex;
  height: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.work__slides::-webkit-scrollbar {
  display: none;
}

.work__slides:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.work__slide {
  flex: 0 0 100%;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.work__slide img,
.work__slide video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-select: none;
}

.work__count {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgb(11 12 13 / 0.7);
  font-size: 0.75rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}

.work__arrow {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border: 0;
  border-radius: 50%;
  background: rgb(11 12 13 / 0.62);
  color: var(--text);
  cursor: pointer;
  transition:
    opacity 200ms ease,
    transform 160ms var(--ease-out);
}

.work__arrow--prev {
  left: 0.6rem;
}

.work__arrow--next {
  right: 0.6rem;
}

.work__arrow:disabled {
  opacity: 0;
  pointer-events: none;
}

.work__arrow:active {
  transform: scale(0.94);
}

.work__arrow:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Con mouse, las flechas aparecen al pasar por la foto; en pantallas táctiles quedan visibles */
@media (hover: hover) and (pointer: fine) {
  .work__arrow:not(:disabled) {
    opacity: 0;
  }
  .work__media:hover .work__arrow:not(:disabled),
  .work__arrow:focus-visible {
    opacity: 1;
  }
}

.work__dots {
  position: absolute;
  inset: auto 0 0.8rem;
  display: flex;
  justify-content: center;
  gap: 6px;
  pointer-events: none;
}

.work__dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgb(247 248 246 / 0.45);
  transition:
    background-color 200ms ease,
    transform 200ms var(--ease-out);
}

.work__dots span[data-on] {
  background: var(--text);
  transform: scale(1.25);
}

.work__caption {
  display: grid;
  gap: 0.2rem;
  padding-top: 0.9rem;
}

.work__vehicle {
  font-size: 1.0625rem;
  font-weight: 650;
}

.work__service {
  font-size: 0.9375rem;
  color: var(--text-2);
}

.work__brief {
  font-size: 0.875rem;
  color: var(--text-3);
}

.work__placeholder {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.5rem;
  height: 100%;
  padding: 1.25rem;
  background: var(--bg-raised);
  color: var(--text-3);
}

.work__pending-label {
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--review);
}

/* ---------------------------------------------------------------------
   Proceso
   --------------------------------------------------------------------- */

.process {
  border-top: 1px solid var(--line);
}

.process__head .review-tag {
  margin-top: 1rem;
}

.steps {
  border-bottom: 1px solid var(--line);
}

.step {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 0.75rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}

.step__num {
  font-stretch: 125%;
  font-weight: 760;
  font-size: 1.125rem;
  line-height: 1.4;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.step__title {
  font-size: 1.125rem;
  font-weight: 650;
  line-height: 1.35;
}

.step p {
  margin-top: 0.3rem;
  color: var(--text-2);
}

@media (min-width: 960px) {
  .process__grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
  }

  .process__head {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }

  .step {
    grid-template-columns: 4.5rem 1fr;
    padding: 1.75rem 0;
  }

  .step__num {
    font-size: 1.5rem;
  }
}

/* ---------------------------------------------------------------------
   Confianza
   --------------------------------------------------------------------- */

.trust {
  padding-top: 0;
}

.trust__grid {
  display: grid;
  gap: 2.25rem;
}

.trust__photo {
  aspect-ratio: 4 / 3;
  margin-inline: calc(-1 * var(--gutter));
}

.principles {
  margin-top: 2rem;
  border-bottom: 1px solid var(--line);
}

.principles li {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.principles .subhead {
  color: var(--text);
}

.principles p {
  margin-top: 0.4rem;
  color: var(--text-2);
  max-width: 34rem;
}

.testimonials {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.testimonials blockquote p {
  font-size: 1.125rem;
}

.testimonials__author {
  margin-top: 0.5rem;
  color: var(--text-3);
  font-size: 0.875rem;
}

@media (min-width: 960px) {
  .trust__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(3rem, 6vw, 6rem);
    align-items: center;
  }

  .trust__photo {
    aspect-ratio: 4 / 5;
    margin-inline: 0;
    border-radius: 2px;
  }
}

.certs {
  margin-top: 2rem;
}

.certs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.certs__list li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.certs__list li::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--accent);
}

/* Reseñas de Google */
.reviews {
  margin-top: clamp(3rem, 8vw, 5rem);
}

.reviews__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 2rem;
}

.reviews__score {
  gap: 0.5rem;
  color: var(--text-2);
  font-size: 0.9375rem;
}

.reviews__stars {
  color: var(--yellow);
  letter-spacing: 0.08em;
}

.reviews__list {
  display: grid;
  gap: 0;
  margin-top: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.review {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.review blockquote p {
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  line-height: 1.5;
  color: var(--text);
  text-wrap: pretty;
  max-width: 40rem;
}

.review__author {
  margin-top: 0.6rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-2);
}

.review__author span {
  font-weight: 400;
  color: var(--text-3);
}

@media (min-width: 768px) {
  .reviews__list {
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(2rem, 5vw, 4rem);
    border-bottom: 0;
  }

  .review:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

/* ---------------------------------------------------------------------
   Preguntas frecuentes
   --------------------------------------------------------------------- */

.faq {
  border-top: 1px solid var(--line);
}

.faq__list {
  border-bottom: 1px solid var(--line);
}

.faq__item {
  border-top: 1px solid var(--line);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
  padding: 0.9rem 0;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__icon {
  flex: none;
  color: var(--text-3);
  transition:
    transform 240ms var(--ease-out),
    color 200ms ease;
}

.faq__item[open] .faq__icon {
  transform: rotate(45deg);
  color: var(--text);
}

.faq__answer {
  padding: 0 2.5rem 1.35rem 0;
  color: var(--text-2);
}

.faq__answer p {
  max-width: 40rem;
}

@media (prefers-reduced-motion: no-preference) {
  .faq__item::details-content {
    block-size: 0;
    overflow: clip;
    transition:
      block-size 280ms var(--ease-out),
      content-visibility 280ms allow-discrete;
  }

  .faq__item[open]::details-content {
    block-size: auto;
  }
}

@media (hover: hover) and (pointer: fine) {
  .faq__item summary:hover .faq__icon {
    color: var(--text);
  }
}

@media (min-width: 960px) {
  .faq__grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
  }

  .faq__grid .section__head {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }
}

/* ---------------------------------------------------------------------
   Contacto
   --------------------------------------------------------------------- */

.contact {
  position: relative;
  padding-bottom: var(--section);
  isolation: isolate;
}

.contact__photo {
  aspect-ratio: 16 / 10;
  background: var(--bg);
}

.contact__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--bg) 0%, rgb(11 12 13 / 0) 30%, rgb(11 12 13 / 0) 55%, var(--bg) 100%);
}

.contact__photo .photo__tag {
  z-index: 1;
  bottom: auto;
  top: 0.5rem;
}

.contact__grid {
  display: grid;
  gap: 2.5rem;
  margin-top: -1.5rem;
  position: relative;
}

.contact__info {
  display: grid;
  gap: 0.9rem;
  margin-top: 2rem;
}

.contact__info li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--text-2);
}

.contact__info svg {
  flex: none;
  margin-top: 0.2rem;
  color: var(--text-3);
}

/* Número tocable: 44px de alto sin mover la línea */
.contact__phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-block: -12px;
  color: var(--text);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-decoration-color: var(--accent);
}

.contact__info strong {
  margin-right: 0.35rem;
}

.contact__head .fine {
  margin-top: 1.25rem;
}

.form {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.25rem, 5vw, 2.25rem);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg-raised);
}

.field {
  display: grid;
  gap: 0.5rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.field__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.field__label {
  padding: 0;
  font-size: 0.9375rem;
  font-weight: 600;
}

.field__req,
.field__opt {
  font-weight: 400;
  color: var(--text-3);
}

.field__hint {
  font-size: 0.8125rem;
  color: var(--text-3);
}

.field__error {
  color: var(--error);
  font-size: 0.875rem;
  line-height: 1.45;
}

.field-row {
  display: grid;
  gap: 1.5rem;
}

.input {
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg);
  font-size: 1rem; /* 16px: evita el zoom de iOS al enfocar */
  line-height: 1.4;
  caret-color: var(--light);
  transition: border-color 160ms ease;
}

.input::placeholder {
  color: var(--text-3);
  opacity: 1;
}

.input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

.input[aria-invalid="true"] {
  border-color: var(--error);
}

.select {
  appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%23b4b6b6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 8 10 12.5 14.5 8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
}

.select option {
  background: var(--bg);
}

.textarea {
  min-height: 9rem;
  resize: vertical;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  position: relative;
}

.chip input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}

.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 550;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    border-color 160ms ease,
    transform 160ms var(--ease-out);
}

.chip input:checked + span {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

.chip input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.chip:active span {
  transform: scale(0.97);
}

@media (hover: hover) and (pointer: fine) {
  .chip:hover input:not(:checked) + span {
    border-color: var(--text);
  }
}

.form__submit {
  display: grid;
  gap: 0.75rem;
}

.form__status:empty {
  display: none;
}

.status {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.status svg {
  flex: none;
  margin-top: 0.15rem;
}

.status--ok {
  color: var(--ok);
}

.status--warn {
  color: var(--warn);
}

@media (min-width: 560px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .contact__photo {
    aspect-ratio: 21 / 9;
    max-height: 72vh;
    width: 100%;
  }

  .contact__photo .photo__tag {
    top: calc(var(--header-h) + 0.5rem);
    right: var(--gutter);
  }

  .contact__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
    margin-top: -5rem;
  }
}

/* ---------------------------------------------------------------------
   CTA fijo (móvil)
   --------------------------------------------------------------------- */

.sticky-cta {
  position: fixed;
  inset: auto 0 0;
  z-index: 40;
  padding: 1.25rem var(--gutter) calc(0.75rem + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--bg) 55%, rgb(11 12 13 / 0));
  transform: translateY(110%);
  visibility: hidden;
  pointer-events: none;
  transition:
    transform 280ms var(--ease-out),
    visibility 0s linear 280ms;
}

.sticky-cta[data-shown] {
  transform: none;
  visibility: visible;
  pointer-events: auto;
  transition:
    transform 320ms var(--ease-out),
    visibility 0s;
}

.menu-open .sticky-cta {
  display: none;
}

@media (min-width: 960px) {
  .sticky-cta {
    display: none;
  }
}

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding-top: 3rem;
  padding-bottom: calc(2rem + env(safe-area-inset-bottom));
  background: var(--bg-sunk);
}

.site-footer__grid {
  display: grid;
  gap: 2rem;
}

.site-footer__logo {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  text-decoration: none;
}

.site-footer__tag {
  color: var(--text-3);
  font-size: 0.9375rem;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.25rem;
}

.site-footer__nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  color: var(--text-2);
  text-decoration: none;
}

.site-footer__nav a:hover {
  color: var(--text);
}

.site-footer__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.site-footer__legal {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 0.8125rem;
}

@media (min-width: 960px) {
  .site-footer__grid {
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 3rem;
  }
}

/* ---------------------------------------------------------------------
   Movimiento reducido
   --------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .segmented__thumb,
  .coverage__paint,
  .coverage__glass,
  .btn,
  .chip span {
    transition: background-color 120ms ease, color 120ms ease, fill 120ms ease !important;
  }
}

/* =====================================================================
   Ajustes Bust (17/11/2026)
   ===================================================================== */

/* Captura del software de corte (PRECUT): se ve entera, sin recortar */
.service__photo--screen {
  aspect-ratio: auto;
  background: var(--bg-raised);
}

.service__photo--screen img {
  height: auto;
  object-fit: contain;
}

@media (min-width: 960px) {
  .service__photo--screen {
    aspect-ratio: auto;
  }
}

/* La voz de Matías */
.founder {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

/* Firma con el punto cuadrado amarillo del logo */
.founder figcaption::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 0.55rem;
  background: var(--yellow);
  vertical-align: 0.05em;
}

.founder blockquote p {
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.5;
  color: var(--text);
  text-wrap: pretty;
}

.founder figcaption {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-3);
}

.founder figcaption strong {
  color: var(--text);
}

/* Barra fija móvil: presupuesto + WhatsApp */
@media (max-width: 959px) {
  .sticky-cta {
    display: flex;
    gap: 0.6rem;
  }
}

.sticky-cta {
  justify-content: space-between;
  align-items: center;
}

/* Presupuesto: botón compacto; WhatsApp: solo el logo, redondo */
.sticky-cta__main {
  min-height: 48px;
  padding: 0 1.25rem;
  font-size: 0.875rem;
}

.btn--whatsapp {
  flex: none;
  width: 56px;
  min-height: 56px;
  padding: 0;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 6px 20px rgb(0 0 0 / 0.4);
}

.btn--whatsapp svg {
  width: 30px;
  height: 30px;
}

/* Casilla del 0km en el formulario */
.check {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  margin-top: 0.4rem;
  color: var(--text-2);
  cursor: pointer;
}

.check input {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
}

.field--nested {
  margin-top: 0.25rem;
  padding-left: 1rem;
  border-left: 1px solid var(--line-strong);
}

.field--nested .input {
  max-width: 16rem;
}

/* Acceso directo a WhatsApp debajo de los botones del hero */
.hero__wa {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  margin-top: 0.4rem;
  color: var(--text-2);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #25d366;
  text-underline-offset: 0.22em;
}

.hero__wa svg {
  color: #25d366;
}

/* Sección de servicio sin foto (mientras falta la imagen) */
@media (min-width: 960px) {
  .service__grid--solo {
    grid-template-columns: minmax(0, 48rem);
  }
}

/* Foto vertical (0km): se ve el auto entero en todas las pantallas */
.service__photo--portrait {
  aspect-ratio: 4 / 5;
}

@media (max-width: 599px) {
  .service__photo--portrait {
    max-height: 72svh;
  }
}

@media (min-width: 600px) and (max-width: 959px) {
  .service__photo--portrait {
    width: min(100%, 30rem);
    margin-inline: 0;
    border-radius: 2px;
  }
}

@media (min-width: 960px) {
  .service__photo--portrait {
    width: min(100%, 34rem);
    justify-self: end;
    aspect-ratio: 4 / 5;
    max-height: calc(100vh - var(--header-h) - 4rem);
  }
}

/* Trabajos: la foto invita a ampliarla */
.work__media--zoom .work__slide img,
.work__media--zoom .work__slide video {
  cursor: zoom-in;
}

@media (hover: hover) and (pointer: fine) {
  .work .work__media--zoom {
    transition: transform 320ms var(--ease-out), box-shadow 320ms var(--ease-out);
  }
  .work:hover .work__media--zoom {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgb(0 0 0 / 0.45);
  }
}

/* Vista ampliada de un trabajo */
.work-dialog {
  width: min(560px, calc(100vw - 1.5rem));
  max-width: none;
  max-height: calc(100dvh - 1.5rem);
  margin: auto;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg-raised);
  color: var(--text);
  overflow: auto;
}

.work-dialog::backdrop {
  background: rgb(4 5 6 / 0.82);
  backdrop-filter: blur(3px);
}

.work-dialog__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0.75rem 0.9rem 1.1rem;
}

.work-dialog__tag {
  margin-bottom: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
}

.work-dialog__title {
  font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.6rem);
  font-weight: 750;
  font-stretch: 112%;
  line-height: 1.15;
}

.work-dialog__service {
  margin-top: 0.25rem;
  color: var(--text-2);
}

.work-dialog__media {
  width: 100%;
  height: min(70dvh, 700px);
  aspect-ratio: auto !important;
  border-radius: 0;
}

.work-dialog:focus,
.work-dialog:focus-visible {
  outline: none;
}

.work-dialog__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 0.9rem 1.1rem 1.1rem;
}

.work-dialog__brief {
  font-size: 0.875rem;
  color: var(--text-2);
}

@media (prefers-reduced-motion: no-preference) {
  .work-dialog[open] {
    animation: work-zoom-in 260ms var(--ease-out);
  }
  .work-dialog[open]::backdrop {
    animation: work-fade-in 260ms ease-out;
  }
  @keyframes work-zoom-in {
    from {
      opacity: 0;
      transform: scale(0.94);
    }
  }
  @keyframes work-fade-in {
    from {
      opacity: 0;
    }
  }
}

/* Indicador "Deslizá" del hero */
.scroll-cue {
  position: absolute;
  right: var(--gutter);
  /* Móvil: sobre la foto, por encima del título */
  top: calc(clamp(340px, 58svh, 620px) - 6.75rem - 128px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  min-width: 44px;
  padding: 0.5rem 0.25rem;
  color: var(--text);
  text-decoration: none;
  transition:
    opacity 300ms var(--ease-out),
    transform 300ms var(--ease-out);
}

.scroll-cue[data-hidden] {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

.scroll-cue__label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  text-shadow: 0 1px 6px rgb(0 0 0 / 0.6);
}

.scroll-cue__track {
  position: relative;
  width: 1px;
  height: 44px;
  overflow: hidden;
  background: rgb(247 248 246 / 0.28);
}

.scroll-cue__dot {
  position: absolute;
  top: 0;
  left: -2px;
  width: 5px;
  height: 12px;
  border-radius: 3px;
  background: var(--yellow);
}

.scroll-cue:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: no-preference) {
  .scroll-cue__dot {
    animation: scroll-cue 1.9s cubic-bezier(0.65, 0, 0.35, 1) infinite;
  }
  @keyframes scroll-cue {
    0% {
      transform: translateY(-14px);
      opacity: 0;
    }
    20% {
      opacity: 1;
    }
    80% {
      opacity: 1;
    }
    100% {
      transform: translateY(46px);
      opacity: 0;
    }
  }
}

@media (min-width: 960px) {
  .scroll-cue {
    top: auto;
    bottom: 2.5rem;
  }
  .scroll-cue__track {
    height: 56px;
  }
  @keyframes scroll-cue {
    0% {
      transform: translateY(-14px);
      opacity: 0;
    }
    20%,
    80% {
      opacity: 1;
    }
    100% {
      transform: translateY(58px);
      opacity: 0;
    }
  }
}
