@font-face {
  font-family: "Montserrat";
  src: url("Montserrat-VF.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: block;
}

:root {
  --carbon: #231F20;
  --carbon-2: #1b1819;
  --blanco: #fff;
  --lima: #DAF528;
  --lima-hover: #e6ff3a;
  --g1: #55565A;
  --g3: #A7A6A7;
  --humo: #F3F3F3;
  --header: 68px;
  --page-max: 1280px;
  --page-pad: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: "Montserrat", system-ui, sans-serif;
  background: var(--carbon);
  color: var(--blanco);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font-family: inherit; }

:focus { outline: none; }
:focus-visible { outline: 3px solid var(--lima); outline-offset: 3px; }

.wrap {
  width: min(var(--page-max), 100%);
  max-width: var(--page-max);
  padding-inline: var(--page-pad);
  margin-inline: auto;
}

h1, h2, h3 { font-weight: 900; letter-spacing: -0.02em; line-height: 0.98; }
h2 { font-size: clamp(2.1rem, 5vw, 4.2rem); margin-bottom: 0.35em; }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 200;
  background: var(--lima);
  color: var(--carbon);
  font-weight: 800;
  text-decoration: none;
  padding: 8px 12px;
}
.skip:focus { top: 12px; }

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header);
  background: rgba(35, 31, 32, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.bar {
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.logo img { height: 34px; width: auto; }
@media (min-width: 900px) {
  .logo img { height: 40px; }
}
.bar-actions { display: flex; align-items: center; gap: 8px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.15rem;
  background: var(--lima);
  color: var(--carbon);
  border: 2px solid var(--lima);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  max-width: 100%;
}
.btn:hover { background: var(--lima-hover); border-color: var(--lima-hover); }
.btn.line { background: transparent; color: var(--blanco); border-color: var(--blanco); }
.btn.line:hover { background: var(--blanco); color: var(--carbon); }
.btn.small { min-height: 36px; padding: 0 0.85rem; font-size: 0.82rem; }
.desk { display: none; }
@media (min-width: 900px) { .desk { display: inline-flex; } }

.menu-btn {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.bars { position: relative; display: block; width: 22px; height: 14px; }
.bars::before, .bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--lima);
}
.bars::before { top: 1px; }
.bars::after { bottom: 1px; }
.menu-btn.is-open .bars::before { top: 6px; transform: rotate(45deg); }
.menu-btn.is-open .bars::after { bottom: 6px; transform: rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--carbon);
  color: var(--blanco);
  padding: 92px 7vw 36px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}
.menu[hidden] { display: none; }
.menu nav { display: grid; gap: 2px; }
.menu nav a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35em 0.45em;
  align-items: baseline;
  text-decoration: none;
  color: var(--blanco);
  font-weight: 900;
  font-size: clamp(2.4rem, 6.2vw, 5.5rem);
  letter-spacing: -0.03em;
  line-height: 0.96;
}
.menu nav a span {
  font-size: 0.28em;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--lima);
}
.menu-meta {
  display: grid;
  gap: 6px;
  color: var(--g3);
  font-size: 0.92rem;
  max-width: 40em;
}
.menu-meta .btn { justify-self: start; margin-bottom: 6px; }
.menu-meta a:not(.btn) { color: var(--blanco); text-underline-offset: 3px; }

body.menu-open { overflow: hidden; }
body.menu-open header { background: var(--carbon); }

.hero {
  height: 100svh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 76px 0 24px;
  overflow: hidden;
}
.hero-grid {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.hero-copy { flex: 0 0 auto; }
.hero-mark {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mark {
  position: relative;
  height: min(38vmin, 100%);
  aspect-ratio: 247 / 143;
  max-width: 92%;
}
.mark img { width: 100%; height: 100%; object-fit: contain; }
.mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(35, 31, 32, 0.72) 0.75px, transparent 1.15px);
  background-size: 3.5px 3.5px;
  mix-blend-mode: multiply;
  pointer-events: none;
  -webkit-mask-image: url("motobros_icono_negativo-color.svg");
  mask-image: url("motobros_icono_negativo-color.svg");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.hero h1 {
  font-size: clamp(2.8rem, 8.4vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
  max-width: 12em;
}
@media (min-width: 1200px) {
  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    align-items: center;
    column-gap: clamp(28px, 3vw, 48px);
  }
  .hero-mark {
    order: 2;
    flex: none;
    min-height: 0;
    justify-content: flex-end;
  }
  .hero-copy {
    width: auto;
    max-width: none;
    margin: 0;
    min-width: 0;
  }
  .mark {
    height: auto;
    width: min(100%, calc(34vh * 247 / 143));
    max-height: 34vh;
    aspect-ratio: 247 / 143;
  }
  .hero h1 { font-size: clamp(2.7rem, 5.5vw, 7rem); max-width: 11em; }
  .hero .lead { margin: 12px 0 16px; }
}
.hero .lead { margin: 14px 0 18px; max-width: 34em; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; }

section { padding: clamp(64px, 10vw, 112px) 0; }
.hero, .cta { padding: 0; }
@media (min-width: 1200px) {
  .hero { padding: calc(var(--header) + 28px) 0 48px; }
}

.manifiesto {
  max-width: 16em;
  font-size: clamp(2.15rem, 5.2vw, 5.4rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--blanco);
}
.manifiesto.is-ready .w { color: #7a7a7e; }
.manifiesto.is-ready .w.is-on { color: var(--blanco); }

#servicios { padding: 0; }
.svc-sticky { display: block; }
.svc-layout { display: flex; flex-direction: column; gap: 12px; }
#servicios h2 {
  color: var(--lima);
  font-size: clamp(2.4rem, 6vw, 5rem);
  letter-spacing: -0.03em;
  line-height: 0.95;
}
.svc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 4px 32px;
}
.svc-item {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 4px 12px;
  color: var(--g3);
  padding: 8px 0;
}
.svc-n { font-weight: 900; font-size: 1.05rem; }
.svc-item h3 { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.015em; line-height: 1.2; margin-bottom: 0.15em; }
.svc-item p { font-size: 0.95rem; line-height: 1.45; }
.svc-item a { color: inherit; text-underline-offset: 3px; }
.svc-item.is-past { color: #d4d4d6; }
.svc-item.is-past .svc-n,
.svc-item.is-on .svc-n { color: var(--lima); }
.svc-item.is-on { color: var(--blanco); }

.gauge-wrap { flex: 0 0 auto; height: min(34vh, 280px); min-height: 190px; }
.gauge-wrap svg { width: 100%; height: 100%; display: block; }

@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  #servicios { height: 250vh; }
  .svc-sticky {
    --sink: 118px;
    position: sticky;
    top: 0;
    height: 100svh;
    overflow: hidden;
    background: var(--carbon);
    padding: 0;
  }
  .svc-layout {
    position: relative;
    height: 100%;
    container-type: inline-size;
    --block: clamp(168px, 17vw, 250px);
    /* 0.44: del centro al borde del número 0/200. 50cqi ya es la mitad del contenido. */
    --g: min(1040px, calc((50cqi - var(--block) - 18px) / 0.44));
  }
  #servicios h2 {
    position: absolute;
    z-index: 3;
    top: calc(var(--header) + 8px);
    left: var(--page-pad);
    margin: 0;
    max-width: 14ch;
    font-size: clamp(2.15rem, 3.6vw, 3.8rem);
  }
  .gauge-wrap {
    position: absolute;
    z-index: 1;
    left: 50%;
    bottom: var(--sink);
    width: var(--g);
    height: calc(var(--g) * 314 / 640);
    transform: translateX(-50%);
    overflow: hidden;
  }
  .gauge-wrap svg { width: 100%; height: auto; }
  .svc-list {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    pointer-events: none;
  }
  .svc-item {
    position: absolute;
    width: var(--block);
    max-width: var(--block);
    padding: 0;
    pointer-events: auto;
  }
  .svc-item h3 { font-size: 1.15rem; font-weight: 800; line-height: 1.15; }
  .svc-item p { font-size: 0.95rem; line-height: 1.35; }
  .svc-item:nth-child(1),
  .svc-item:nth-child(2),
  .svc-item:nth-child(3) {
    left: var(--page-pad);
  }
  .svc-item:nth-child(4),
  .svc-item:nth-child(5),
  .svc-item:nth-child(6) {
    right: var(--page-pad);
  }
  .svc-item:nth-child(1),
  .svc-item:nth-child(6) { bottom: calc(var(--sink) + 6px); }
  .svc-item:nth-child(2),
  .svc-item:nth-child(5) { bottom: calc(var(--sink) + 186px); }
  .svc-item:nth-child(3),
  .svc-item:nth-child(4) { bottom: calc(var(--sink) + 366px); }
}

@media (max-width: 899px) {
  #servicios { padding: 88px 0 48px; }
  .gauge-wrap {
    order: 1;
    position: sticky;
    top: var(--header);
    width: 86vw;
    max-width: 86vw;
    height: auto;
    aspect-ratio: 640 / 350;
    min-height: 0;
    margin-inline: auto;
    z-index: 2;
    background: var(--carbon);
  }
  .svc-list {
    order: 2;
    position: relative;
    z-index: 3;
    background: var(--carbon);
    grid-template-columns: 1fr;
  }
  #servicios h2 { order: 0; }
}

@media (min-width: 900px) and (prefers-reduced-motion: reduce) {
  #servicios { height: auto; }
  .svc-sticky { position: static; height: auto; }
  .svc-list { grid-template-columns: 1fr 1fr; }
  .gauge-wrap { height: clamp(220px, 36vh, 320px); }
}

.tanques-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(22px, 4vw, 56px);
  align-items: center;
}
@media (min-width: 900px) {
  #tanques .tanques-grid {
    grid-template-columns: minmax(260px, 2fr) minmax(0, 3fr);
    gap: clamp(28px, 3vw, 48px);
  }
  #tanques .shot figcaption { font-size: 1rem; padding: 0.4rem 0.85rem; }
}
.tanques-grid .copy p { margin-bottom: 1.2rem; max-width: 38em; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.shot { position: relative; margin: 0; }
.shot img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.shot figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  background: var(--carbon);
  color: var(--blanco);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.28rem 0.65rem;
}
.shot.despues figcaption { background: var(--lima); color: var(--carbon); }
.shot { aspect-ratio: 4 / 3; background: #1b1819; overflow: hidden; }
.shot img { height: 100%; }

.intro { max-width: 36em; color: var(--humo); margin-bottom: 1.4rem; }

.stacks { display: grid; gap: 0; }
.stack {
  position: sticky;
  top: 84px;
  background: var(--carbon-2);
  border: 1px solid #3a3536;
  border-top: 4px solid var(--marca, var(--lima));
  padding: clamp(18px, 3vw, 36px);
  margin-bottom: 22vh;
  max-height: calc(100svh - 108px);
  overflow: auto;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.stack:nth-child(2) { top: 100px; }
.stack:nth-child(3) { top: 116px; margin-bottom: 0; }
.stack-k { color: var(--lima); font-weight: 800; font-size: 0.95rem; margin-bottom: 10px; }
.stack-logo { width: auto; max-width: min(100%, 280px); height: auto; max-height: 72px; object-fit: contain; object-position: left center; }
.stack figure {
  margin: 14px 0;
  height: clamp(120px, 22vh, 220px);
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stack figure img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.stack h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); margin: 4px 0 6px; }
.stack p { color: var(--humo); max-width: 36em; margin-bottom: 16px; }
@media (min-width: 900px) {
  .stack {
    top: 72px;
    display: grid;
    grid-template-columns: minmax(260px, 0.78fr) minmax(340px, 1.22fr);
    column-gap: clamp(28px, 4vw, 56px);
    align-items: center;
    max-height: min(72vh, calc(100svh - 96px));
    overflow: hidden;
  }
  .stack:nth-child(2) { top: 156px; max-height: min(72vh, calc(100svh - 172px)); }
  .stack:nth-child(3) { top: 240px; max-height: min(72vh, calc(100svh - 256px)); margin-bottom: 0; }
  .stack-logo { max-width: min(100%, 340px); max-height: 78px; }
  .stack figure {
    grid-column: 2;
    grid-row: 1 / span 5;
    margin: 0;
    width: 100%;
    height: min(440px, calc(72vh - 140px));
    min-height: 340px;
    background: transparent;
    align-self: center;
  }
  .stack figure img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    min-height: 0;
    object-fit: contain;
  }
  .stack .btn { justify-self: start; margin-top: 8px; }
}

.dealer-cue {
  margin: 28px auto 2px;
  max-width: 40em;
  text-align: center;
  color: #fff;
  font-size: clamp(1.12rem, 1.8vw, 1.4rem);
  font-weight: 600;
  line-height: 1.35;
}
.dealer-cue .cue-arrow {
  display: block;
  width: 11px;
  height: 11px;
  margin: 12px auto 0;
  border-right: 2px solid var(--lima);
  border-bottom: 2px solid var(--lima);
  transform: rotate(45deg);
}
.dealer {
  list-style: none;
  padding: 8px 0 0;
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.ficha,
.ficha.dark {
  background: transparent;
  color: var(--blanco);
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 4px 0;
  border: 0;
  box-shadow: none;
}
.ficha img,
.ficha.dark img {
  width: auto;
  height: 52px;
  max-width: 100%;
  max-height: 52px;
  object-fit: contain;
  object-position: center;
  filter: none;
  transition: transform .25s ease, filter .25s ease;
}
.ficha:nth-child(3) img {
  height: 96px;
  max-height: 96px;
}
.ficha:hover img {
  transform: translateY(-4px);
  filter: drop-shadow(0 8px 16px rgba(255,255,255,.28));
}
.ficha a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  width: 100%;
  text-decoration: none;
  color: var(--blanco);
}

.cta {
  background: var(--lima);
  color: var(--carbon);
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 88px 0;
}
.cta h2 {
  font-size: clamp(3rem, 8vw, 7rem);
  letter-spacing: -0.035em;
  line-height: 0.9;
  color: var(--carbon);
  max-width: 11ch;
}
.cta p { max-width: 22em; margin: 14px 0 22px; font-size: clamp(1.05rem, 2vw, 1.3rem); }
.cta .btn { background: var(--carbon); color: var(--lima); border-color: var(--carbon); }
.cta .btn:hover { background: #000; border-color: #000; color: var(--lima-hover); }
.cta :focus-visible { outline-color: var(--carbon); }

.loc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 64px);
}
.loc-grid dt { font-weight: 800; margin-top: 1rem; }
.loc-grid dd { margin: 0; }
.maplink { font-weight: 800; text-underline-offset: 3px; }
.maplink:hover { color: var(--lima); }
.access a {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid #3a3536;
  text-decoration: none;
  font-weight: 800;
}
.access a small { display: block; font-weight: 500; color: var(--g3); }
.access a:hover { color: var(--lima); }

footer { padding: 12px 0 28px; }
.giant { display: block; margin-bottom: 18px; }
.giant img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 58vh;
  object-fit: contain;
  object-position: left center;
}
.fine { color: var(--g3); font-size: 0.82rem; line-height: 1.55; max-width: 68em; }
.fine + .fine { margin-top: 8px; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; font-size: 0.92rem; }
.legal-nav a { text-underline-offset: 3px; }
.b2b { margin-top: 14px; font-size: 0.9rem; }
.b2b a { text-underline-offset: 3px; }
.b2b a:hover, .legal-nav a:hover, .menu-meta a:not(.btn):hover { color: var(--lima); }

.pill {
  position: fixed;
  z-index: 55;
  left: 50%;
  bottom: calc(12px + var(--mb-priv-h, 0px));
  transform: translateX(-50%);
  background: var(--lima);
  color: var(--carbon);
  font-weight: 800;
  text-decoration: none;
  padding: 0.72rem 1.1rem;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}
.pill.is-on { opacity: 1; pointer-events: auto; }

@media (max-width: 899px) {
  main { padding-bottom: 88px; }
}
@media (max-width: 699px) {
  body:has(#mb-priv) .hero { padding-bottom: calc(12px + var(--mb-priv-h, 128px)); }
}

@media (max-width: 800px) {
  .tanques-grid, .loc-grid { grid-template-columns: 1fr; }
  .dealer { grid-template-columns: 1fr 1fr; }
  .stack { top: 76px; }
  .stack:nth-child(2) { top: 88px; }
  .stack:nth-child(3) { top: 100px; }
}

@media (max-height: 760px) and (min-width: 700px) and (max-width: 1199px) {
  .hero h1 { font-size: clamp(2.4rem, 6vw, 4.8rem); }
  .mark { width: min(30vmin, 280px); height: auto; }
}
@media (max-height: 740px) and (min-width: 1200px) {
  .hero { padding-top: calc(var(--header) + 24px); padding-bottom: 40px; }
  .hero h1 { font-size: clamp(2.35rem, 4.6vw, 4.4rem); }
  .hero .lead { margin: 8px 0 12px; }
}

/* Movimiento al estilo de la coreografía Undr: estado inicial en CSS, sin salto. */
.hero-runway { position: relative; height: 118vh; }
.hero-runway .hero {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 100svh;
  padding: 0;
  overflow: hidden;
}
.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  transform: scale(1.4);
  transform-origin: center center;
}
.hero-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.12) 42%, rgba(0,0,0,.62) 100%);
  pointer-events: none;
}
.hero-scene img { width: 100%; height: 100%; object-fit: cover; }
.hero-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image: radial-gradient(circle, rgba(255,255,255,.55) 0.6px, transparent 0.7px);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
}
.hero-runway .hero-grid {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  height: 100%;
  grid-template-columns: none;
}
.hero-runway .hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--header) + 8px) 0 7vh;
  color: #fff;
}
.hero-line { display: block; overflow: hidden; line-height: 0.9; white-space: nowrap; }
.hero-line > span { display: inline-block; will-change: transform; }
html.js .hero-line > span { transform: translateX(1.15em); }
.hero-line[data-line="2"] { text-align: right; margin-bottom: 2vh; }
.hero h1 { font-size: clamp(2.15rem, 6.4vw, 7.4rem); max-width: none; color: #fff; letter-spacing: -0.045em; }
.hero-rule { height: 2px; width: 72px; background: transparent; transform: scaleX(0); transform-origin: 0 50%; margin: 12px 0; }
.hero-rule.is-inview { background: var(--lima); transform: scaleX(1); transition: transform 1.4s cubic-bezier(.19, 1, .22, 1); }
.hero-when { display: flex; gap: 18px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; color: var(--lima); }
html.js [data-hero-date], html.js [data-hero-time], html.js [data-hero-note], html.js [data-hero-row] > * { opacity: 1; }
.word-mask { display: inline-block; overflow: hidden; vertical-align: bottom; }
.reveal-words .word { display: inline-block; transform: translateY(130%); transition: transform 1.6s cubic-bezier(.19, 1, .22, 1); transition-delay: calc(var(--word, 0) * 75ms); }
.reveal-words.is-inview .word { transform: translateY(0); }
.reveal-image { overflow: hidden; }
.reveal-image img { clip-path: inset(0 0 0 0); transform: none; }
.reveal-image.is-inview img { animation: reveal-clip 1.2s cubic-bezier(.41, .35, .2, 1) both; animation-delay: calc(var(--i, 0) * 0.12s); }
@keyframes reveal-clip {
  from { clip-path: inset(0 0 100% 0); transform: scale(1.1) translateY(-5%); }
  to { clip-path: inset(0 0 0 0); transform: none; }
}
html.is-footer-inview { background: #111; }
@media (min-width: 768px) {
  html.js [data-stack] { position: relative; height: 100svh; }
  html.js [data-stack] .stack {
    position: absolute;
    inset: 0;
    margin: 0;
    max-height: none;
    overflow: hidden;
  }
  html.js [data-stack] .stack:nth-child(1) { z-index: 3; }
  html.js [data-stack] .stack:nth-child(2) { z-index: 2; }
  html.js [data-stack] .stack:nth-child(3) { z-index: 1; }
}
.giant { display: block; overflow: hidden; }
.giant [data-wordmark-frame] { display: block; }
html.is-motion .svc-item { clip-path: inset(0 0 100% 0); transition: opacity .75s cubic-bezier(.33, 0, 0, 1); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .manifiesto, .manifiesto .w { color: var(--blanco); }
  .stack { position: relative; top: auto; margin-bottom: 16px; max-height: none; }
  #servicios { height: auto; padding: 88px 0 48px; }
  .svc-sticky { position: static; height: auto; padding: 0; }
  .gauge-wrap { position: static; height: clamp(180px, 36vh, 280px); }
  .bars::before, .bars::after, .pill { transition: none; }
  html.js .char,
  .reveal-words .word,
  .hero-scene,
  .reveal-image img { transform: none; clip-path: none; }
  html.js [data-hero-date], html.js [data-hero-time], html.js [data-hero-note], html.js [data-hero-row] > * { opacity: 1; }
  .hero-rule { transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .bars::before, .bars::after { transition: transform 0.2s ease, top 0.2s ease, bottom 0.2s ease; }
  .pill { transition: opacity 0.2s linear; }
}

.svc-item { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.svc-thumb { width: 112px; height: 78px; object-fit: cover; display: block; }
.svc-n { margin-right: 0.35em; }
@media (max-width: 899px) {
  #servicios { padding: 28px 0 64px; }
  .svc-layout { display: block; }
  .gauge-wrap {
    position: sticky;
    top: var(--header);
    width: min(92vw, 420px);
    margin: 0 auto 8px;
    background: transparent;
  }
  .svc-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 14px;
    background: transparent;
  }
  .svc-item:nth-child(even) { margin-top: 36px; align-items: flex-end; text-align: right; }
  .svc-item:nth-child(odd) { align-items: flex-start; text-align: left; }
}
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .svc-item:nth-child(1) { left: 1%; bottom: 14%; }
  .svc-item:nth-child(2) { left: 6%; bottom: 34%; }
  .svc-item:nth-child(3) { left: 14%; top: 34%; }
  .svc-item:nth-child(4) { right: 18%; top: 16%; left: auto; }
  .svc-item:nth-child(5) { right: 6%; bottom: 34%; left: auto; }
  .svc-item:nth-child(6) { right: 1%; bottom: 14%; left: auto; }
  #servicios h2 { font-size: clamp(3rem, 6vw, 6.5rem); max-width: 8ch; }
}
#mb-priv {
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: auto !important;
  max-width: none !important;
  max-height: 58px !important;
  padding: 6px 10px !important;
  border-radius: 0 !important;
  z-index: 40 !important;
  font-size: 12px !important;
}
h2 { font-size: clamp(2.6rem, 7vw, 6.8rem); letter-spacing: -0.04em; line-height: 0.92; }

/* Ronda 3: la misma pista del modelo. Estas reglas ganan a las de arriba. */
html { scroll-behavior: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
section.stage {
  position: relative;
  height: calc(100svh + 100vh);
  min-height: 0;
  padding: 0;
  overflow: visible;
  display: block;
  visibility: hidden;
  color: #fff;
}
.stage-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background: #070708;
}
.stage-scene, .stage-layers { position: absolute; inset: 0; }
.stage-layers { transform: scale(1.4); transform-origin: center center; }
.stage-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.62) brightness(0.52) contrast(1.12);
}
.stage-layers::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.38) 42%, rgba(0,0,0,.78) 100%);
}
.stage-chrome {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  padding: calc(var(--header) + 8px) clamp(16px, 3vw, 40px) 18px;
}
.stage-top { position: absolute; left: clamp(16px, 3vw, 40px); right: clamp(16px, 3vw, 40px); top: calc(var(--header) + 6px); }
.stage-word {
  display: block;
  white-space: nowrap;
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1;
  font-size: clamp(1.7rem, 7.2vw, 7.6rem);
}
.stage-word-right { text-align: right; }
.line-mask { display: block; overflow: hidden; }
.line-mask > span { display: inline-block; will-change: transform; }
.stage-veil {
  position: absolute;
  inset: 0;
  background: #070708;
  opacity: 0.15;
  pointer-events: none;
}
.char-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: baseline;
  line-height: 1;
}
.char { display: inline-block; line-height: 1; }
.stage-rule {
  height: 3px;
  width: min(28vw, 220px);
  margin-top: 10px;
  background: var(--lima);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.stage-rule.is-inview { transform: scaleX(1); transition: transform 1.4s cubic-bezier(.19, 1, .22, 1); }
.stage-row {
  display: flex;
  gap: 1.4rem;
  margin-top: 14px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: #f3f3f3;
}
.stage-mid {
  position: absolute;
  left: clamp(16px, 3vw, 40px);
  right: clamp(16px, 3vw, 40px);
  top: 46%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: clamp(0.85rem, 1.6vw, 1.35rem);
  color: var(--lima);
}
.stage-plus { font-size: 2.4rem; line-height: 1; color: #fff; }
.stage-bottom {
  position: absolute;
  left: clamp(16px, 3vw, 40px);
  right: clamp(16px, 3vw, 40px);
  bottom: 18px;
}
.stage-note {
  max-width: 28em;
  margin: 0 0 8px;
  font-size: 0.95rem;
  line-height: 1.35;
  color: #f3f3f3;
}
.stage-ctas { position: absolute; left: clamp(16px, 3vw, 40px); bottom: 18px; pointer-events: auto; display: none; }
.stage-chrome a { pointer-events: auto; }
@media (min-width: 768px) {
  .stage-ctas { display: flex; bottom: 22px; }
  .stage-bottom { bottom: 86px; }
}
@media (max-width: 767px) {
  .stage-ctas, .stage-row { display: none; }
  .stage-note { font-size: 0.82rem; max-width: 18em; }
  .stage-mid { font-size: 0.72rem; top: 42%; }
  .stage-plus { font-size: 1.6rem; }
  .stage-bottom { bottom: calc(16px + var(--mb-priv-h, 76px)); }
  .stage-word { font-size: clamp(1.55rem, 8.4vw, 2.4rem); }
}

.statement.hero-overlap {
  position: relative;
  z-index: 3;
  margin-top: 0;
  min-height: 100svh;
  padding-top: calc(var(--header) + 40px);
  padding-bottom: 8vh;
  background: var(--carbon);
}
.manifiesto {
  max-width: 18em;
  overflow: visible;
  font-size: clamp(1.7rem, 4.2vw, 3.8rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.03em;
  color: #fff;
}
.word-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  line-height: 1.22;
}
.manifiesto .word {
  display: inline-block;
  color: #7a7a7e;
  transform: none;
  transition: none;
}
.statement.hero-overlap { min-height: 100svh; }

#servicios { height: auto !important; padding: 0 !important; overflow: visible; }
.timeline { display: grid; }
.timeline-speedo, .timeline-body { grid-area: 1 / 1; }
.timeline-speedo {
  position: sticky;
  top: 0;
  height: 100svh;
  align-self: start;
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.timeline-speedo svg {
  width: min(480px, 42vw);
  height: auto;
  overflow: visible;
  display: block;
  margin-bottom: 72px;
}
.timeline-speedo text { font-family: Montserrat, sans-serif; }
.timeline-rail, .timeline-progress { fill: none; stroke-width: 5; }
.timeline-rail { stroke: rgba(218, 245, 40, .55); }
.timeline-progress { stroke: var(--lima); stroke-width: 6; stroke-dasharray: 1; stroke-dashoffset: 1; }
.timeline-needle { fill: var(--lima); }
.timeline-dial { position: absolute; bottom: 1.1rem; color: rgba(255,255,255,.55); font-weight: 800; }
.timeline-dial-0 { left: 1.2rem; }
.timeline-dial-max { right: 1.2rem; }
.timeline-body { position: relative; z-index: 2; padding-top: calc(var(--header) + 10px); padding-bottom: 12vh; }
#servicios h2,
.timeline-title {
  position: sticky !important;
  top: calc(var(--header) + 4px);
  z-index: 6;
  left: auto !important;
  max-width: 12em !important;
  margin-bottom: 2vh;
  padding-top: 8px;
  padding-bottom: 10px;
  color: var(--lima);
  background: linear-gradient(180deg, var(--carbon) 72%, rgba(35, 31, 32, 0));
}
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(16, minmax(0, 1fr));
  gap: 4vh 12px;
  padding: 0 clamp(16px, 3vw, 40px) 8vh;
}
.timeline-cell { grid-column: var(--col, 1 / -1); min-height: 52vh; }
.timeline-media { width: min(100%, 280px); aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 10px; }
.timeline-reveal, .timeline-frame { width: 100%; height: 100%; }
.timeline-reveal { clip-path: inset(0% 0% 100% 0%); }
.timeline-frame img, .timeline-reveal img { width: 100%; height: 100%; object-fit: cover; display: block; }
.timeline-frame img.svc-photo { filter: saturate(0.76) brightness(0.74) contrast(1.08); }
.timeline-frame img.svc-lavado { object-position: 10% 100%; }
.timeline-item h3 { font-size: clamp(1.15rem, 1.6vw, 1.7rem); line-height: 1.15; margin-bottom: 0.3em; }
.timeline-item p { color: #c8c8ca; font-size: 0.95rem; line-height: 1.4; max-width: 28em; }
.timeline-num { color: var(--lima); margin-right: 0.35em; }
.timeline-item a { color: inherit; text-underline-offset: 3px; }
@media (max-width: 767px) {
  .timeline-grid { display: block; padding-bottom: 4vh; }
  .timeline-cell { min-height: 78svh; display: flex; align-items: center; }
  .timeline-media { width: min(64vw, 250px); margin-bottom: 8px; }
  .timeline-item p { margin-bottom: 0; }
  .timeline-speedo { height: 100svh; }
  #tanques { padding-top: 8vh; }
}
@media (min-width: 768px) {
  .timeline:hover .timeline-item { opacity: 0.35; }
  .timeline .timeline-item:hover { opacity: 1; }
}

.gallery {
  position: relative;
  height: 100svh;
  background: #070708;
  overflow: hidden;
}
.gallery-slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #111;
}
.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) brightness(0.86);
}
#tanques .gallery-slide { background: #0b0b0d; }
#marcas .gallery-slide:first-child:not(.is-family) img {
  object-fit: contain;
  object-position: center;
  width: auto;
  max-width: min(92vw, 600px);
  height: auto;
  max-height: min(72svh, 1019px);
  margin: auto;
  position: absolute;
  inset: 0;
  filter: none;
}
#tanques .gallery-slide img {
  object-fit: contain;
  width: min(92vw, 1040px);
  height: min(74svh, 860px);
  margin: auto;
  position: absolute;
  inset: 0;
  filter: contrast(1.22) saturate(1.08) brightness(1.04);
}
.gallery-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 8vh clamp(16px, 4vw, 56px) 6vh;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.72));
  max-width: 46rem;
}
.gallery-k { color: var(--lima); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.8rem; margin-bottom: 0.4rem; }
.gallery-copy h2 { font-size: clamp(2rem, 5vw, 4.6rem); margin-bottom: 0.25em; }
.gallery-copy p { max-width: 36em; margin-bottom: 0.8rem; }
.gallery-copy .btn { pointer-events: auto; }

.wordmark {
  display: block;
  width: 100%;
  margin: 0;
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: -0.045em;
  text-decoration: none;
  overflow: visible;
  color: #fff;
  padding: 0.04em 0 0.08em;
  box-sizing: border-box;
}
.wordmark-text {
  display: inline-block;
  white-space: nowrap;
  background-image: url("hero-moto.webp");
  background-size: 140% 340%;
  background-position: 50% 0%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  transition: none;
}

#mb-priv {
  max-height: 40px !important;
  padding: 4px 14px !important;
  gap: 12px !important;
  font-size: 12.5px !important;
  line-height: 1.2 !important;
}
#mb-priv p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#mb-priv .mb-estado { display: none !important; }
@media (max-width: 699px) {
  #mb-priv { max-height: 72px !important; padding: 6px 8px !important; }
  #mb-priv p { white-space: normal; font-size: 11px !important; }
}
.pill { z-index: 56; bottom: calc(8px + var(--mb-priv-h, 40px)); }

@media (prefers-reduced-motion: reduce) {
  section.stage { visibility: visible; height: 100svh; }
  .stage-layers, .manifiesto .word, .stage-rule { transform: none; opacity: 1; filter: none; }
  .timeline-reveal { clip-path: none; }
  .gallery { height: auto; }
  .gallery-slide { position: relative; height: 78svh; }
  html.js header, html.js .pill, html.js #mb-priv { opacity: 1 !important; visibility: visible !important; }
}

/* Ronda 4: la intro es solo la cruz; el chrome entra después. */
html.js header {
  opacity: 0;
  transition: opacity 0.45s ease;
}
html.js.is-intro-done header { opacity: 1; }
html.js:not(.is-intro-done) .pill { opacity: 0 !important; visibility: hidden; }
html.js:not(.is-cookies) #mb-priv {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
html.js.is-cookies #mb-priv {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transition: opacity 0.35s ease;
}

.pill {
  padding: 0.42rem 0.78rem;
  font-size: 0.84rem;
  bottom: calc(10px + var(--mb-priv-h, 0px));
}

@media (max-width: 767px) {
  :root { --safe-bottom: calc(46px + var(--mb-priv-h, 68px)); }
  .pill {
    padding: 0.22rem 0.55rem;
    font-size: 0.72rem;
    bottom: calc(var(--mb-priv-h, 56px) - 2px);
  }
  main { padding-bottom: var(--safe-bottom); }
  section { scroll-margin-bottom: var(--safe-bottom); }
  #concesionario,
  #ubicacion,
  .cta,
  .statement,
  footer .wrap { padding-bottom: calc(var(--safe-bottom) + 36px); }
  #ubicacion .access a, #ubicacion dl { margin-bottom: 8px; }
  .gallery-copy {
    bottom: 300px;
    padding-bottom: 8px;
  }
  .timeline-cell {
    align-items: flex-start;
    padding-top: 16vh;
    padding-bottom: var(--safe-bottom);
    box-sizing: border-box;
  }
  .timeline-item h3, .timeline-item p, .gallery-copy .btn, .cta .btn { position: relative; z-index: 2; }
  .stage-photo {
    object-position: 68% 38%;
    filter: saturate(0.8) brightness(0.78) contrast(1.06);
  }
  .stage-layers::after {
    background: linear-gradient(180deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,.16) 46%, rgba(0,0,0,.5) 100%);
  }
  .wordmark { line-height: 0.95; letter-spacing: -0.04em; }
  footer { padding: 8px 0 calc(var(--mb-priv-h, 56px) + 12px); }
  #ubicacion, #concesionario, .cta, .statement, footer .wrap {
    padding-bottom: 16px;
  }
  main { padding-bottom: 8px; }
}

.accent {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 0;
  background: var(--carbon);
}
.accent .wrap { width: 100%; padding-top: var(--header); padding-bottom: 6vh; }
.dealer-photo { margin: 12px 0 22px; }
.dealer-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.72) brightness(0.72) contrast(1.08);
}
#concesionario,
#ubicacion {
  min-height: 100svh;
  display: flex;
  align-items: flex-start;
  padding-top: 0;
  padding-bottom: 36px;
}
#ubicacion .wrap {
  width: min(1480px, 100%);
  max-width: 1480px;
}
#ubicacion .loc-grid {
  grid-template-columns: minmax(0, 1fr) 607px;
  align-items: stretch;
}
.visit-info { display: flex; flex-direction: column; gap: clamp(18px, 3vw, 40px); }
.visit-photo {
  position: relative;
  margin: 0;
  padding: 12px;
  background: #141214;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  min-height: 100%;
}
.visit-photo img {
  position: absolute;
  top: 12px;
  left: 12px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  max-width: none;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: 58% center;
  margin: 0;
}
@media (max-width: 800px) {
  #ubicacion .wrap { width: min(var(--page-max), 100%); max-width: var(--page-max); }
  #ubicacion .loc-grid { grid-template-columns: 1fr; }
  .visit-photo { min-height: 0; }
  .visit-photo img {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-position: center 40%;
  }
}
@media (max-width: 767px) {
  .dealer-photo img { height: auto; }
  #concesionario { padding-bottom: 72px; }
}
.accent-lines { margin: 0; }
.accent .line-mask {
  color: var(--lima);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.95;
  font-size: clamp(2.4rem, 8vw, 7.2rem);
}
#concesionario,
#cta,
#ubicacion,
.accent {
  scroll-margin-top: calc(var(--header) + 24px);
}
#concesionario .wrap,
#cta .wrap,
#ubicacion .wrap {
  padding-top: calc(var(--header) + 24px);
}

/* Ronda 8: una tarjeta a la vez, el dial en su propia zona. */
body.is-gauge-in .pill {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
#servicios.is-stage {
  height: 100svh !important;
  min-height: 100svh;
  overflow: hidden;
}
#servicios.is-stage .timeline { height: 100%; }
#servicios.is-stage .timeline-title {
  position: relative !important;
  top: auto !important;
  max-width: none !important;
  margin: 0 0 12px;
  background: transparent;
}
#servicios.is-stage .timeline-grid { position: relative; flex: 1; min-height: 0; padding: 0; }
#servicios.is-stage .timeline-cell {
  position: absolute;
  inset: 0;
  display: none;
  min-height: 0;
  width: auto;
  grid-column: auto;
}
#servicios.is-stage .timeline-cell.is-on { display: block; }
#servicios.is-stage .timeline-speedo,
#servicios.is-stage .timeline-body { grid-area: auto; }
@media (min-width: 768px) {
  #servicios.is-stage .timeline {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 700px;
  }
  #servicios.is-stage .timeline-body {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: calc(var(--header) + 18px) 36px 32px var(--page-pad);
    overflow: hidden;
  }
  #servicios.is-stage .timeline-speedo { grid-column: 2; grid-row: 1; }
  #servicios.is-stage .timeline-title { font-size: clamp(2.6rem, 4.4vw, 4.6rem); }
  #servicios.is-stage .timeline-media {
    width: min(100%, 520px);
    height: min(38vh, 320px);
    aspect-ratio: auto;
  }
  #servicios.is-stage .timeline-frame,
  #servicios.is-stage .timeline-frame img { height: 100%; }
  #servicios.is-stage .timeline-speedo {
    height: 100%;
    position: relative;
    top: auto;
    align-items: center;
    justify-content: center;
    background: none;
    padding: 72px var(--page-pad) 0 24px;
    box-sizing: border-box;
  }
  #servicios.is-stage .timeline-speedo svg {
    width: min(600px, 100%);
    margin: 0;
  }
}
@media (max-width: 767px) {
  #servicios.is-stage .timeline {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    position: relative;
    height: 100%;
    box-sizing: border-box;
    padding: calc(var(--header) + 8px) 16px 12px;
  }
  #servicios.is-stage .timeline-body {
    position: relative;
    order: 1;
    inset: auto;
    height: auto;
    flex: 0 1 auto;
    min-height: 0;
    z-index: 3;
    padding: 0;
    overflow: visible;
    background: transparent;
    display: block;
  }
  #servicios.is-stage .timeline-title {
    font-size: 1.45rem;
    line-height: 1.05;
    margin: 0 0 8px;
    padding: 0;
  }
  #servicios.is-stage .timeline-grid {
    flex: 0 0 auto;
    height: auto;
    min-height: 0;
    position: relative;
  }
  #servicios.is-stage .timeline-cell,
  #servicios.is-stage .timeline-cell.is-on {
    position: relative;
    inset: auto;
    padding: 0 !important;
    min-height: 0;
  }
  #servicios.is-stage .timeline-cell { display: none; }
  #servicios.is-stage .timeline-cell.is-on { display: block; }
  #servicios.is-stage .timeline-media {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    max-height: none;
    margin: 0 0 8px;
    overflow: hidden;
  }
  #servicios.is-stage .timeline-reveal,
  #servicios.is-stage .timeline-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  #servicios.is-stage .timeline-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  #servicios.is-stage .timeline-item h3 {
    font-size: 1.05rem;
    line-height: 1.15;
    margin: 0 0 4px;
  }
  #servicios.is-stage .timeline-item p {
    font-size: 0.92rem;
    line-height: 1.3;
    margin: 0;
  }
  #servicios.is-stage .timeline-speedo {
    position: relative;
    order: 2;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    align-self: center;
    width: min(300px, 78vw);
    height: calc(min(300px, 78vw) * 0.8);
    margin: 18px auto 0;
    z-index: 2;
    overflow: hidden;
    background: transparent;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex: 0 0 auto;
  }
  #servicios.is-stage .timeline-speedo svg {
    width: 100%;
    height: auto;
    margin: 0;
  }
}
@media (max-width: 767px) and (max-height: 700px) {
  #servicios.is-stage .timeline {
    padding: calc(var(--header) + 4px) 14px 8px;
  }
  #servicios.is-stage .timeline-title { font-size: 1.22rem; margin-bottom: 4px; }
  #servicios.is-stage .timeline-media { margin-bottom: 4px; }
  #servicios.is-stage .timeline-item h3 { font-size: 0.96rem; margin-bottom: 2px; }
  #servicios.is-stage .timeline-item p { font-size: 0.82rem; line-height: 1.22; }
  #servicios.is-stage .timeline-speedo {
    width: min(188px, 52vw);
    height: calc(min(188px, 52vw) * 0.8);
    margin-top: 16px;
  }
}

/* Ronda 11: la página baja y el medio tacómetro se queda de fondo. */
#servicios {
  position: relative;
  height: auto !important;
  min-height: 0;
  overflow: visible;
  padding: 0 !important;
}
.speedo-layer {
  position: sticky;
  top: 0;
  height: 100svh;
  margin-bottom: -100svh;
  z-index: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
  background: transparent;
}
.speedo-layer svg {
  width: min(1080px, 94vw);
  height: auto;
  display: block;
  flex-shrink: 0;
  opacity: 0.94;
  margin-bottom: -6px;
  background: transparent;
}
.svc-flow {
  position: relative;
  z-index: 1;
  padding: calc(var(--header) + 36px) clamp(16px, 4vw, 64px) 24vh;
}
.svc-heading {
  position: relative !important;
  top: auto !important;
  max-width: 10em !important;
  margin: 0 0 10vh;
  padding: 0;
  background: none;
  color: var(--lima);
}
.svc-card {
  position: relative;
  z-index: 1;
  width: min(460px, 46%);
  margin: 0 0 26vh;
  padding: 12px 12px 16px;
  background: #141214;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.svc-card.is-right { margin-left: auto; }
.svc-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  display: block;
  margin-bottom: 10px;
}
#servicios .svc-card:first-of-type img { object-position: center 30%; }
.svc-card h3 {
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.15;
  margin: 0 0 6px;
}
.svc-card p {
  margin: 0;
  color: #d4d4d6;
  font-size: 1rem;
  line-height: 1.35;
  max-width: 36em;
}
.svc-card a { color: inherit; }
#tanques .gallery-slide img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  object-fit: cover;
  object-position: center;
}
#marcas .gallery-copy .brand-mark {
  position: relative;
  inset: auto;
  display: block;
  width: 210px;
  max-width: 220px;
  height: auto;
  max-height: none;
  margin: 0 0 14px;
  object-fit: contain;
  filter: none;
  background: transparent;
}
.gallery-copy {
  padding-bottom: calc(86px + var(--mb-priv-h, 0px));
}
@media (max-width: 767px) {
  body.is-gauge-in .speedo-layer {
    position: fixed;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    height: 132px;
    margin: 0;
    z-index: 0;
  }
  .svc-card {
    z-index: 3;
    background: #141214;
  }
  .speedo-layer svg {
    width: min(430px, 118vw);
    opacity: 1;
    margin-bottom: 0;
  }
  .svc-flow { padding-bottom: 148px; }
  .svc-card,
  .svc-card.is-right {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 18px;
  }
  .svc-heading { font-size: clamp(2rem, 10vw, 2.8rem); margin-bottom: 18px; }
  .gallery-copy {
    bottom: 0;
    padding-bottom: calc(78px + var(--mb-priv-h, 56px));
  }
  #marcas .gallery-copy .brand-mark { width: min(200px, 62vw); }
}

/* Ronda 15: Yoshimura a sangre, texto a la izquierda y el escape nítido. */
#marcas .is-yoshi .yoshi-fill,
#marcas .is-yoshi .yoshi-sharp {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  object-fit: cover;
  object-position: 68% center;
  filter: none;
}
#marcas .is-yoshi .yoshi-fill {
  transform: scale(1.08);
  filter: blur(14px) brightness(0.62) saturate(0.9);
}
#marcas .is-yoshi .yoshi-sharp {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 38%, #000 100%);
}
#marcas .is-yoshi::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 52%, rgba(8,7,8,.45) 78%, rgba(8,7,8,.7) 100%),
    linear-gradient(90deg, rgba(8,7,8,.9) 0%, rgba(8,7,8,.62) 24%, rgba(8,7,8,.18) 48%, transparent 66%);
}
#marcas .is-yoshi .gallery-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  left: 0;
  right: 0;
  width: 100%;
  max-width: none;
  text-align: center;
  background: none;
  z-index: 2;
}
#marcas .is-yoshi .gallery-copy p { margin-left: auto; margin-right: auto; }
#marcas .is-yoshi .yoshi-mark {
  position: absolute;
  top: 22%;
  left: 50%;
  right: auto;
  bottom: auto;
  width: 60%;
  max-width: none;
  height: auto;
  margin: 0;
  transform: translateX(-50%);
  object-fit: contain;
  background: transparent;
  z-index: 3;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.9)) drop-shadow(0 14px 28px rgba(0,0,0,.72));
}
@media (max-width: 767px) {
  #marcas .is-yoshi .yoshi-fill,
  #marcas .is-yoshi .yoshi-sharp { object-position: 34% 22%; }
  #marcas .is-yoshi .yoshi-sharp {
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 52%, transparent 74%);
    mask-image: linear-gradient(180deg, #000 0%, #000 52%, transparent 74%);
  }
  #marcas .is-yoshi::after {
    background: linear-gradient(180deg, rgba(8,7,8,.15) 0%, rgba(8,7,8,.05) 36%, rgba(8,7,8,.72) 62%, rgba(8,7,8,.94) 100%);
  }
  #marcas .is-yoshi .yoshi-mark { top: 16%; width: 85%; }
}

/* Ronda 16: familias Motul y Maxima, sin la palabra en lima. */
#marcas .is-family {
  display: grid;
  grid-template-columns: minmax(260px, 34%) minmax(0, 1fr);
  align-items: center;
  column-gap: 2.4vw;
  padding: var(--header) clamp(20px, 4vw, 64px) 0;
}
#marcas .is-motul .brand-col { grid-column: 1; }
#marcas .is-motul .family { grid-column: 2; }
#marcas .is-maxima { grid-template-columns: minmax(0, 1fr) minmax(260px, 34%); }
#marcas .is-maxima .family { grid-column: 1; }
#marcas .is-maxima .brand-col { grid-column: 2; justify-self: end; }
#marcas .is-family .brand-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: min(100%, 28rem);
  margin: 0;
}
#marcas .is-family img.brand-mark {
  position: relative;
  inset: auto;
  display: block;
  width: 240px;
  max-width: 86%;
  height: auto;
  max-height: 72px;
  margin: 0 0 28px;
  object-fit: contain;
  filter: none;
  background: transparent;
  z-index: 3;
}
#marcas .is-maxima img.brand-mark { width: 280px; max-height: 64px; }
#marcas .is-family .gallery-copy {
  position: relative;
  inset: auto;
  left: auto;
  right: auto;
  bottom: auto;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: none;
  z-index: 2;
}
#marcas .is-maxima .gallery-copy { text-align: right; }
#marcas .is-maxima .gallery-copy p { margin-left: auto; }
#marcas .is-family .family {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: min(62vh, 520px);
  width: 100%;
  padding-bottom: 34px;
}
#marcas .is-family .family::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 2px;
  height: 46px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.92) 0%, rgba(0,0,0,.55) 46%, transparent 74%);
  pointer-events: none;
  z-index: 0;
}
#marcas .is-family .family img {
  position: relative;
  inset: auto;
  width: auto;
  height: 62%;
  max-width: none;
  max-height: none;
  margin: 0 -2.2%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 20px 8px rgba(0,0,0,.88)) drop-shadow(0 34px 16px rgba(0,0,0,.6));
  z-index: 1;
}
#marcas .is-family .family img.fam-hero {
  height: 86%;
  z-index: 4;
  margin: 0 -3.2%;
}
#marcas .is-family .family img.fam-care { height: 48%; z-index: 3; }
#marcas .is-family .family img.fam-chain { height: 52%; z-index: 5; margin: 0 -1.4%; }
#marcas .is-maxima .family { height: 360px; }
#marcas .is-maxima .family img { height: 236px; margin: 0 -56px; }
#marcas .is-maxima .family img:first-child { height: 252px; z-index: 2; }
#marcas .is-maxima .family img.fam-hero { height: 300px; z-index: 6; margin: 0 -72px; }
#marcas .is-maxima .family img:nth-child(3) { height: 214px; z-index: 2; margin: 0 -50px; }
#marcas .is-maxima .family img.fam-care { height: 168px; z-index: 3; margin: 0 -36px; }
@media (max-width: 767px) {
  #marcas .is-family,
  #marcas .is-maxima {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding: calc(var(--header) + 10px) 16px 18px;
    text-align: left;
    gap: 10px;
  }
  #marcas .is-family .family { order: 1; height: 34vh; width: 100%; }
  #marcas .is-family .brand-col { order: 2; width: 100%; max-width: none; align-self: stretch; }
  #marcas .is-family img.brand-mark { width: 168px; max-width: 168px; max-height: 48px; margin: 0 0 24px; }
  #marcas .is-maxima img.brand-mark { width: 196px; max-width: 196px; }
  #marcas .is-family .gallery-copy { text-align: left; }
  #marcas .is-maxima .gallery-copy,
  #marcas .is-maxima .gallery-copy p { text-align: left; margin-left: 0; }
  #marcas .is-family .family img { height: 68%; margin: 0 -3%; }
  #marcas .is-family .family img.fam-hero { height: 88%; }
  #marcas .is-family .family img.fam-care { height: 46%; }
  #marcas .is-family .family img.fam-chain { height: 50%; }
  #marcas .is-maxima .family { height: 188px; }
  #marcas .is-maxima .family img { height: 100px; margin: 0 -18px; }
  #marcas .is-maxima .family img:first-child { height: 108px; }
  #marcas .is-maxima .family img.fam-hero { height: 128px; margin: 0 -26px; }
  #marcas .is-maxima .family img:nth-child(3) { height: 96px; margin: 0 -18px; }
  #marcas .is-maxima .family img.fam-care { height: 78px; margin: 0 -14px; }
  #marcas .is-family .family::before { height: 28px; left: 4%; right: 4%; }
}

/* Ronda 28: Motul a sangre, logo rojo protagonista y la familia abajo, fuera de la moto. */
#marcas .is-motul {
  display: block;
  padding: 0;
}
#marcas .is-motul .motul-fill,
#marcas .is-motul .motul-sharp {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  pointer-events: none;
}
#marcas .is-motul .motul-fill img,
#marcas .is-motul .motul-sharp img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  object-fit: cover;
  object-position: 74% center;
  filter: none;
}
#marcas .is-motul .motul-fill img {
  transform: scale(1.08);
  filter: blur(14px) brightness(0.58) saturate(0.9);
}
#marcas .is-motul .motul-sharp img {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 36%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 36%, #000 100%);
}
#marcas .is-motul::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8,7,8,.42) 0%, rgba(8,7,8,.08) 18%, transparent 40%, rgba(8,7,8,.35) 72%, rgba(8,7,8,.82) 100%),
    linear-gradient(90deg, rgba(8,7,8,.92) 0%, rgba(8,7,8,.7) 26%, rgba(8,7,8,.22) 50%, transparent 68%);
}
#marcas .is-motul .motul-mark {
  position: absolute;
  top: calc(var(--header) + 6vh);
  left: 6%;
  right: auto;
  bottom: auto;
  width: min(38vw, 480px);
  max-width: none;
  height: auto;
  max-height: none;
  margin: 0;
  transform: none;
  object-fit: contain;
  background: transparent;
  z-index: 3;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.9)) drop-shadow(0 16px 28px rgba(0,0,0,.72));
}
#marcas .is-motul .gallery-copy {
  position: absolute;
  left: 6%;
  right: auto;
  top: calc(var(--header) + 6vh + 132px);
  bottom: auto;
  width: min(38vw, 480px);
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: none;
  padding: 0;
  z-index: 3;
}
#marcas .is-motul .gallery-copy h2,
#marcas .is-motul .gallery-copy p {
  text-shadow: 0 2px 16px rgba(0,0,0,.85);
}
#marcas .is-motul .gallery-copy h2 {
  max-width: none;
  font-size: clamp(2rem, 3.2vw, 3.1rem);
}
#marcas .is-motul .gallery-copy p {
  margin-left: auto;
  margin-right: auto;
  max-width: 28rem;
}
#marcas .is-motul .family {
  position: absolute;
  left: 1.5%;
  right: auto;
  bottom: 8px;
  width: 50%;
  height: min(44vh, 400px);
  padding: 0 0 4px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  touch-action: pan-y;
}
#marcas .is-motul .family::before {
  left: 2%;
  right: 2%;
  bottom: 0;
  height: 42px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.78) 0%, rgba(0,0,0,.4) 48%, transparent 76%);
}
#marcas .is-motul .fam-back,
#marcas .is-motul .fam-front {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
}
#marcas .is-motul .fam-back { margin-bottom: -28px; z-index: 1; }
#marcas .is-motul .fam-front { z-index: 2; }
#marcas .is-motul .family img {
  height: 118px;
  width: auto;
  max-width: none;
  max-height: none;
  margin: 0 -4px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 12px 8px rgba(0,0,0,.55));
}
#marcas .is-motul .fam-front img { height: 200px; margin: 0 -8px; }
#marcas .is-motul .fam-front img.fam-hero { height: 236px; margin: 0 -10px; z-index: 3; }
@media (max-width: 767px) {
  #marcas .is-motul .motul-fill img,
  #marcas .is-motul .motul-sharp img { object-position: center 18%; }
  #marcas .is-motul .motul-sharp img {
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 42%, transparent 62%);
    mask-image: linear-gradient(180deg, #000 0%, #000 42%, transparent 62%);
  }
  #marcas .is-motul::after {
    background: linear-gradient(180deg, rgba(8,7,8,.12) 0%, rgba(8,7,8,.04) 28%, rgba(8,7,8,.72) 52%, rgba(8,7,8,.96) 100%);
  }
  #marcas .is-motul {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    padding: 0 16px 14px;
  }
  #marcas .is-motul .motul-mark {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    transform: none;
    width: min(72vw, 260px);
    order: 1;
  }
  #marcas .is-motul .gallery-copy {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    order: 2;
    width: 100%;
    max-width: none;
    padding: 0 8px;
  }
  #marcas .is-motul .gallery-copy h2 { font-size: clamp(1.7rem, 8vw, 2.2rem); }
  #marcas .is-motul .family {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    order: 3;
    width: 100%;
    height: auto;
    max-height: none;
    padding: 0;
    justify-content: flex-end;
  }
  #marcas .is-motul .fam-back { margin-bottom: -14px; }
  #marcas .is-motul .family img { height: 70px; margin: 0 -3px; }
  #marcas .is-motul .fam-front img { height: 100px; margin: 0 -6px; }
  #marcas .is-motul .fam-front img.fam-hero { height: 116px; margin: 0 -7px; }
}

/* Ronda 31: Maxima, mismo tratamiento que Motul. Solo este bloque. */
#marcas .is-maxima {
  display: block;
  padding: 0;
  background: #090b09;
}
#marcas .is-maxima .maxima-fill,
#marcas .is-maxima .maxima-sharp {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  pointer-events: none;
}
#marcas .is-maxima .maxima-fill { z-index: 0; }
#marcas .is-maxima .maxima-sharp { z-index: 1; }
#marcas .is-maxima .maxima-fill img,
#marcas .is-maxima .maxima-sharp img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  object-fit: cover;
  object-position: center center;
  filter: none;
}
#marcas .is-maxima .maxima-fill img {
  transform: scale(1.08);
  filter: blur(14px) brightness(0.58) saturate(0.9);
}
#marcas .is-maxima .maxima-sharp img {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 38%, #000 100%);
}
#marcas .is-maxima::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8,7,8,.42) 0%, rgba(8,7,8,.08) 18%, transparent 40%, rgba(8,7,8,.35) 72%, rgba(8,7,8,.82) 100%),
    linear-gradient(90deg, rgba(8,7,8,.92) 0%, rgba(8,7,8,.72) 28%, rgba(8,7,8,.22) 52%, transparent 70%);
}
#marcas .is-maxima .brand-col {
  position: absolute;
  top: calc(var(--header) + 5vh);
  left: 6%;
  right: auto;
  width: min(36vw, 440px);
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 3;
}
#marcas .is-maxima img.brand-mark {
  width: min(34vw, 400px);
  max-width: none;
  max-height: none;
  height: auto;
  margin: 0 auto 16px;
  background: transparent;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.9)) drop-shadow(0 16px 28px rgba(0,0,0,.72));
}
#marcas .is-maxima .gallery-copy {
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: none;
  padding: 0;
}
#marcas .is-maxima .gallery-copy h2,
#marcas .is-maxima .gallery-copy p {
  text-shadow: 0 2px 16px rgba(0,0,0,.85);
}
#marcas .is-maxima .gallery-copy h2 {
  max-width: none;
  font-size: clamp(2rem, 3.2vw, 3.1rem);
}
#marcas .is-maxima .gallery-copy p {
  margin-left: auto;
  margin-right: auto;
  max-width: 28rem;
}
#marcas .is-maxima .family {
  position: absolute;
  left: 1%;
  right: auto;
  bottom: 8px;
  width: 44%;
  height: min(42vh, 380px);
  padding: 0 0 4px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  touch-action: pan-y;
}
#marcas .is-maxima .family::before {
  left: 2%;
  right: 2%;
  bottom: 0;
  height: 42px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.78) 0%, rgba(0,0,0,.4) 48%, transparent 76%);
}
#marcas .is-maxima .fam-back,
#marcas .is-maxima .fam-front {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
}
#marcas .is-maxima .fam-back { margin-bottom: -26px; z-index: 1; }
#marcas .is-maxima .fam-front { z-index: 2; }
#marcas .is-maxima .family img {
  height: 92px;
  width: auto;
  max-width: none;
  max-height: none;
  margin: 0 -2px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 12px 8px rgba(0,0,0,.55));
  background: transparent;
}
#marcas .is-maxima .fam-front img { height: 158px; margin: 0 -10px; }
#marcas .is-maxima .fam-front img.fam-hero { height: 188px; margin: 0 -12px; z-index: 3; }
#marcas .is-maxima .family img:first-child,
#marcas .is-maxima .family img:nth-child(3),
#marcas .is-maxima .family img.fam-care {
  height: 92px;
  margin: 0 -2px;
  z-index: 1;
}
#marcas .is-maxima .fam-front img:first-child,
#marcas .is-maxima .fam-front img:nth-child(3) {
  height: 158px;
  margin: 0 -10px;
  z-index: 2;
}
@media (max-width: 767px) {
  #marcas .is-maxima .maxima-fill img,
  #marcas .is-maxima .maxima-sharp img { object-position: center 18%; }
  #marcas .is-maxima .maxima-sharp img {
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 42%, transparent 62%);
    mask-image: linear-gradient(180deg, #000 0%, #000 42%, transparent 62%);
  }
  #marcas .is-maxima::after {
    background: linear-gradient(180deg, rgba(8,7,8,.12) 0%, rgba(8,7,8,.04) 28%, rgba(8,7,8,.72) 52%, rgba(8,7,8,.96) 100%);
  }
  #marcas .is-maxima {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    padding: 0 16px 14px;
  }
  #marcas .is-maxima .brand-col {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    order: 1;
  }
  #marcas .is-maxima img.brand-mark {
    width: min(72vw, 260px);
    margin: 0 auto 8px;
  }
  #marcas .is-maxima .gallery-copy {
    position: relative;
    order: 2;
    width: 100%;
    padding: 0 8px;
  }
  #marcas .is-maxima .gallery-copy h2 { font-size: clamp(1.7rem, 8vw, 2.2rem); }
  #marcas .is-maxima .family {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    order: 3;
    width: 100%;
    height: auto;
    max-height: none;
    padding: 0;
    justify-content: flex-end;
  }
  #marcas .is-maxima .fam-back { margin-bottom: -12px; }
  #marcas .is-maxima .family img { height: 64px; margin: 0 -2px; }
  #marcas .is-maxima .fam-front img { height: 92px; margin: 0 -4px; }
  #marcas .is-maxima .fam-front img.fam-hero { height: 108px; margin: 0 -5px; }
  #marcas .is-maxima .family img:first-child,
  #marcas .is-maxima .family img:nth-child(3),
  #marcas .is-maxima .family img.fam-care { height: 64px; margin: 0 -2px; }
  #marcas .is-maxima .fam-front img:first-child,
  #marcas .is-maxima .fam-front img:nth-child(3) { height: 92px; margin: 0 -4px; }
}

/* Ronda 14: fibra de carbono en los fondos lisos. ?fondo=grano|lineas|bokeh */
html[data-fondo="carbono"] {
  --fondo-color: #191617;
  --fondo-image:
    radial-gradient(ellipse 90% 55% at 50% 0%, rgba(255,255,255,.05), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.025), rgba(0,0,0,.32)),
    repeating-linear-gradient(27deg, #1e1b1c 0 1px, #191617 1px 3px, #151213 3px 4px, #191617 4px 10px),
    repeating-linear-gradient(207deg, #151213 0 1px, transparent 1px 2px, #1e1b1c 2px 3px, transparent 3px 10px);
  --fondo-size: auto, auto, 20px 20px, 20px 20px;
  --fondo-blend: normal;
}
html[data-fondo="grano"] {
  --fondo-color: #0f0d0e;
  --fondo-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.16'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(circle at 50% 28%, #2c2729, #0f0d0e 74%);
  --fondo-size: 180px 180px, auto;
  --fondo-blend: overlay, normal;
}
html[data-fondo="lineas"] {
  --fondo-color: #191617;
  --fondo-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='720' height='720'%3E%3Ctext x='50%25' y='58%25' text-anchor='middle' font-size='460' font-family='Arial Black,sans-serif' font-weight='800' fill='none' stroke='%23DAF528' stroke-width='3' opacity='0.06'%3EMB%3C/text%3E%3C/svg%3E"),
    repeating-linear-gradient(135deg, rgba(255,255,255,.028) 0 1px, transparent 1px 14px);
  --fondo-size: 720px 720px, auto;
  --fondo-blend: normal;
}
html[data-fondo="bokeh"] {
  --fondo-color: #191617;
  --fondo-image:
    radial-gradient(circle at 16% 24%, rgba(218,245,40,.10) 0 70px, transparent 210px),
    radial-gradient(circle at 78% 36%, rgba(255,255,255,.07) 0 110px, transparent 250px),
    radial-gradient(circle at 42% 78%, rgba(218,245,40,.05) 0 80px, transparent 200px),
    radial-gradient(circle at 86% 84%, rgba(255,255,255,.04) 0 90px, transparent 190px);
  --fondo-size: auto;
  --fondo-blend: normal;
}
html[data-fondo] body,
html[data-fondo] .statement.hero-overlap,
html[data-fondo] .accent,
html[data-fondo] #servicios,
html[data-fondo] #concesionario,
html[data-fondo] #ubicacion,
html[data-fondo] footer,
html[data-fondo] .gallery,
html[data-fondo] .gallery-slide,
html[data-fondo] #tanques .gallery-slide,
html[data-fondo] .menu,
html[data-fondo] .svc-card {
  background-color: var(--fondo-color);
  background-image: var(--fondo-image);
  background-size: var(--fondo-size);
  background-repeat: repeat;
  background-blend-mode: var(--fondo-blend);
}

/* Ronda 33: el aviso es una tarjeta en la esquina. No reserva una franja. */
body { padding-bottom: 0 !important; }
#mb-priv {
  left: auto !important;
  right: 14px !important;
  bottom: 14px !important;
  width: min(260px, calc(100vw - 28px)) !important;
  max-width: 260px !important;
  max-height: none !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 10px !important;
  border-radius: 12px !important;
  border: 1px solid #3c3839 !important;
  border-top: 3px solid #DAF528 !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.5) !important;
  z-index: 70 !important;
  font-size: 12.5px !important;
  line-height: 1.3 !important;
}
#mb-priv p {
  flex: 1 1 100% !important;
  margin: 0 !important;
  white-space: normal !important;
  overflow: hidden !important;
  text-overflow: unset !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  font-size: 12.5px !important;
  line-height: 1.3 !important;
}
#mb-priv .mb-botones { margin-left: auto; gap: 6px !important; }
#mb-priv button {
  min-height: 28px !important;
  height: 28px !important;
  padding: 0 8px !important;
  font-size: 12px !important;
}
@media (min-width: 1100px) and (max-width: 1399px) {
  #mb-priv {
    flex-wrap: wrap !important;
    width: min(340px, calc(100vw - 500px)) !important;
    max-width: 340px !important;
  }
  #mb-priv p {
    flex: 1 1 100% !important;
    white-space: normal !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    text-overflow: unset !important;
  }
}
@media (min-width: 1400px) {
  #mb-priv {
    flex-wrap: nowrap !important;
    align-items: center !important;
    width: max-content !important;
    max-width: min(820px, calc(100vw - 470px)) !important;
    padding: 8px 10px !important;
  }
  #mb-priv p {
    flex: 0 1 auto !important;
    white-space: nowrap !important;
    display: block !important;
    -webkit-line-clamp: unset !important;
    overflow: hidden !important;
    text-overflow: clip !important;
  }
}
@media (max-width: 767px) {
  #mb-priv {
    top: calc(var(--header) + 6px) !important;
    right: 8px !important;
    bottom: auto !important;
    width: min(270px, calc(100vw - 16px)) !important;
    max-width: 270px !important;
    padding: 7px 8px !important;
    gap: 6px !important;
  }
  #mb-priv p {
    font-size: 11px !important;
    line-height: 1.25 !important;
    display: block !important;
    -webkit-line-clamp: unset !important;
  }
  #mb-priv .mb-botones { width: 100%; justify-content: flex-end; }
  #mb-priv button {
    min-height: 26px !important;
    height: 26px !important;
    padding: 0 7px !important;
    font-size: 11px !important;
  }
  body:has(#mb-priv) .stage-top { top: calc(var(--header) + 112px); }
  .stage-ctas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
    gap: 6px;
    z-index: 4;
  }
  .stage-ctas .btn {
    min-height: 40px;
    padding: 0 0.7rem;
    font-size: 0.8rem;
  }
  .stage-bottom { bottom: 64px; }
}
@media (min-width: 768px) and (min-height: 640px) {
  body:has(#mb-priv) .stage-bottom { bottom: 118px; }
}
@media (min-width: 768px) and (max-width: 1099px) and (min-height: 521px) {
  #mb-priv { bottom: 210px !important; max-width: 250px !important; }
  #mb-priv p {
    display: block !important;
    -webkit-line-clamp: unset !important;
    overflow: visible !important;
    white-space: normal !important;
  }
}
@media (max-height: 520px) and (min-width: 768px) {
  #mb-priv {
    top: 72px !important;
    right: 12px !important;
    bottom: auto !important;
    flex-wrap: wrap !important;
    width: min(228px, calc(100vw - 640px)) !important;
    max-width: 236px !important;
    max-height: none !important;
  }
  #mb-priv p {
    display: block !important;
    -webkit-line-clamp: unset !important;
    overflow: visible !important;
    white-space: normal !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
  }
}

.pill {
  left: auto;
  right: 16px;
  transform: none;
  bottom: 16px;
}
body:has(#mb-priv) .pill {
  bottom: calc(18px + var(--mb-priv-h, 72px));
}
@media (max-width: 767px) {
  .pill {
    right: 10px;
    padding: 0.28rem 0.62rem;
    font-size: 0.74rem;
    bottom: 168px;
  }
  body:has(#mb-priv) .pill { bottom: 168px; }
}
@media (min-width: 768px) and (max-width: 1099px) and (min-height: 521px) {
  .pill,
  body:has(#mb-priv) .pill {
    top: auto;
    right: 16px;
    bottom: calc(222px + var(--mb-priv-h, 100px));
  }
}
@media (min-width: 1100px) and (max-width: 1399px) {
  body:has(#mb-priv) .pill {
    top: auto;
    bottom: 16px;
    right: 372px;
  }
}
@media (max-height: 520px) and (min-width: 768px) and (max-width: 899px) {
  .pill,
  body:has(#mb-priv) .pill {
    top: 16px;
    bottom: auto;
    right: 78px;
    height: auto;
    z-index: 110;
  }
}
@media (max-height: 520px) and (min-width: 900px) and (max-width: 1099px) {
  .pill,
  body:has(#mb-priv) .pill {
    top: auto;
    bottom: 12px;
    right: 16px;
    height: auto;
  }
}

/* Ronda 35–36: familias grandes en escritorio. El alto cabe en el ancho y en el alto libres. */
@media (min-width: 1024px) {
  #marcas .is-motul,
  #marcas .is-maxima {
    display: grid;
    grid-template-columns: minmax(0, 54%) minmax(0, 1fr);
    grid-template-rows: auto auto minmax(0, 1fr);
    align-content: stretch;
  }
  #marcas .is-motul { --front: min(calc((54vw - 88px) / 3.55), calc((100vh - 400px) * 0.58)); --back: calc(var(--front) * 0.62); }
  #marcas .is-maxima { --front: min(calc((50vw - 88px) / 4.05), calc((100vh - 420px) * 0.58)); --back: calc(var(--front) * 0.62); grid-template-columns: minmax(0, 50%) minmax(0, 1fr); }
  #marcas .is-motul .motul-mark {
    position: relative;
    top: auto;
    left: auto;
    grid-column: 1;
    grid-row: 1;
    width: min(30vw, 420px);
    margin: calc(var(--header) + 10px) 0 0 6%;
    justify-self: start;
    z-index: 4;
  }
  #marcas .is-motul .gallery-copy {
    position: relative;
    top: auto;
    left: auto;
    bottom: auto;
    grid-column: 1;
    grid-row: 2;
    width: min(34vw, 460px);
    max-width: none;
    margin: 6px 0 0 6%;
    padding: 0;
    z-index: 4;
  }
  #marcas .is-maxima .brand-col {
    position: relative;
    top: auto;
    left: auto;
    grid-column: 1;
    grid-row: 1 / span 2;
    width: min(34vw, 460px);
    margin: calc(var(--header) + 10px) 0 0 6%;
    align-self: start;
    z-index: 4;
  }
  #marcas .is-motul .family,
  #marcas .is-maxima .family {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    grid-column: 1;
    grid-row: 3;
    width: 100%;
    height: auto;
    max-height: 100%;
    min-height: 0;
    padding: 0 8px 24px 24px;
    box-sizing: border-box;
    justify-content: flex-end;
    align-self: end;
    overflow: visible;
    z-index: 4;
  }
  #marcas .is-motul .fam-back,
  #marcas .is-maxima .fam-back,
  #marcas .is-motul .fam-front,
  #marcas .is-maxima .fam-front {
    height: auto;
    width: max-content;
    max-width: 100%;
    margin: 0;
    justify-content: flex-start;
    flex-wrap: nowrap;
  }
  #marcas .is-motul .fam-back,
  #marcas .is-maxima .fam-back { margin-bottom: calc(var(--front) * -0.1); }
  #marcas .is-motul .family img,
  #marcas .is-maxima .family img,
  #marcas .is-motul .fam-front img,
  #marcas .is-maxima .fam-front img,
  #marcas .is-motul .fam-front img.fam-hero,
  #marcas .is-maxima .fam-front img.fam-hero,
  #marcas .is-maxima .fam-front img:first-child,
  #marcas .is-maxima .fam-front img:nth-child(3),
  #marcas .is-maxima .family img:first-child,
  #marcas .is-maxima .family img:nth-child(3),
  #marcas .is-maxima .family img.fam-care {
    height: var(--back);
    width: auto;
    max-width: none;
    max-height: none;
    margin: 0;
    flex: 0 0 auto;
  }
  #marcas .is-motul .fam-front img,
  #marcas .is-maxima .fam-front img,
  #marcas .is-motul .fam-front img.fam-hero,
  #marcas .is-maxima .fam-front img.fam-hero,
  #marcas .is-maxima .fam-front img:first-child,
  #marcas .is-maxima .fam-front img:nth-child(3) {
    height: var(--front);
  }
}

/* Ronda 37: ventana ancha y baja. El texto queda a la izquierda y la familia
   a su derecha, en la zona oscura, centrada. El alto de cada envase sale del
   ancho libre hasta la moto y del alto de la ventana, el que sea menor. */
@media (min-width: 1024px) and (min-aspect-ratio: 19/10) {
  #marcas .is-motul,
  #marcas .is-maxima {
    grid-template-rows: 1fr;
    align-items: center;
    align-content: center;
    column-gap: 16px;
    padding: 8px 0 8px 20px;
    box-sizing: border-box;
  }
  #marcas .is-motul {
    --edge: 56vw;
    --copy: 220px;
    --front: min(calc((var(--edge) - var(--copy) - 36px) / 3.48), calc((100svh - 28px) / 1.58));
    --back: calc(var(--front) * 0.62);
    grid-template-columns: var(--copy) max-content minmax(0, 1fr);
    grid-template-rows: 1fr auto auto 1fr;
  }
  #marcas .is-maxima {
    --edge: 56vw;
    --copy: 220px;
    --front: min(calc((var(--edge) - var(--copy) - 36px) / 3.95), calc((100svh - 28px) / 1.58));
    --back: calc(var(--front) * 0.62);
    grid-template-columns: var(--copy) max-content minmax(0, 1fr);
  }
  #marcas .is-motul .motul-mark {
    grid-column: 1;
    grid-row: 2;
    align-self: end;
    justify-self: stretch;
    width: 100%;
    max-width: none;
    margin: 0 0 8px;
  }
  #marcas .is-motul .gallery-copy {
    grid-column: 1;
    grid-row: 3;
    align-self: start;
    width: 100%;
    max-width: none;
    margin: 0;
  }
  #marcas .is-maxima .brand-col {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    width: 100%;
    max-width: none;
    margin: 0;
  }
  #marcas .is-maxima img.brand-mark {
    width: 100%;
    max-width: none;
    margin: 0 auto 8px;
  }
  #marcas .is-motul .gallery-copy h2,
  #marcas .is-maxima .gallery-copy h2 {
    font-size: clamp(1.35rem, 1.7vw, 2rem);
    line-height: 1.05;
  }
  #marcas .is-motul .gallery-copy p,
  #marcas .is-maxima .gallery-copy p {
    font-size: 0.92rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
  }
  #marcas .is-motul .family,
  #marcas .is-maxima .family {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    justify-self: start;
    width: max-content;
    max-width: none;
    height: auto;
    max-height: none;
    min-height: 0;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
  }
  #marcas .is-motul .family { grid-row: 1 / span 4; }
  #marcas .is-motul .fam-back,
  #marcas .is-maxima .fam-back,
  #marcas .is-motul .fam-front,
  #marcas .is-maxima .fam-front {
    width: max-content;
    max-width: none;
    justify-content: center;
  }
}

/* Ronda 35: Dinos tu moto con la foto del taller, no el lima plano. */
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #141210;
  color: #fff;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(10,9,8,.9) 0%, rgba(10,9,8,.72) 42%, rgba(10,9,8,.42) 100%),
    url("/servicios/taller.webp") center 32% / cover no-repeat;
}
.cta .wrap { position: relative; z-index: 1; }
.cta h2 { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.55); }
.cta p { color: rgba(255,255,255,.94); text-shadow: 0 1px 10px rgba(0,0,0,.45); }
.cta .btn { background: var(--lima); color: var(--carbon); border-color: var(--lima); }
.cta .btn:hover { background: var(--lima-hover); border-color: var(--lima-hover); color: var(--carbon); }
.cta :focus-visible { outline-color: var(--lima); }
@media (max-width: 767px) {
  .cta::before {
    background:
      linear-gradient(180deg, rgba(10,9,8,.5) 0%, rgba(10,9,8,.78) 48%, rgba(10,9,8,.9) 100%),
      url("/servicios/taller.webp") center 30% / cover no-repeat;
  }
}
