/* =========================================================
   Avisos La Placa — estilos
   Mobile first · amarillo / negro / blanco
   ========================================================= */

:root {
  --yellow: #FFDD00;
  --yellow-deep: #F5C400;
  --black: #0B0B0B;
  --ink: #141414;
  --coal: #1B1B1B;
  --line-dark: #2A2A2A;
  --white: #FFFFFF;
  --paper: #F6F5F0;
  --muted: #A3A3A3;
  --muted-dark: #4A4A4A;

  --font-display: "Bebas Neue", "Oswald", Impact, sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --gutter: 20px;
  --section-y: 88px;
  --header-h: 64px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.77, 0, .18, 1);
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --section-y: 120px; --header-h: 76px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--white);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
main { overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.section--yellow :focus-visible, .card--yellow :focus-visible { outline-color: var(--black); }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--yellow); color: var(--black); padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip:focus { top: 12px; }

/* ---------- Tipografía ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: .92;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.h2 { font-size: clamp(2.6rem, 9vw, 5rem); }
.lead { font-size: 1.05rem; color: #D6D6D6; max-width: 56ch; }
.lead--dark { color: var(--muted-dark); }
.section--yellow .lead--dark { color: #2B2B2B; }
.hl { color: var(--yellow); }
.hl-ink {
  background: var(--yellow); color: var(--black);
  padding: 0 .15em; box-decoration-break: clone; -webkit-box-decoration-break: clone;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--yellow); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow .dot { display: none; }
.eyebrow--dark { color: var(--black); }

/* ---------- Botones ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 24px;
  border-radius: 999px; font-weight: 700; font-size: .98rem;
  transition: transform .2s var(--ease-out), background-color .2s, color .2s, box-shadow .2s;
  cursor: pointer; white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn--sm { --h: 44px; padding: 0 18px; font-size: .9rem; }
.btn--lg { --h: 60px; padding: 0 32px; font-size: 1.05rem; }
.btn--yellow { background: var(--yellow); color: var(--black); box-shadow: 0 0 0 0 rgba(255, 221, 0, .5); }
.btn--yellow:hover { background: var(--white); box-shadow: 0 10px 30px -10px rgba(255, 221, 0, .6); }
.btn--ghost { border: 1.5px solid rgba(255, 255, 255, .35); color: var(--white); }
.btn--ghost:hover { border-color: var(--yellow); color: var(--yellow); }
.btn--black { background: var(--black); color: var(--white); }
.btn--black:hover { background: var(--yellow); color: var(--black); }
.ico { width: 20px; height: 20px; flex: none; }

.link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 700; color: var(--yellow);
}
.link .ico { width: 18px; height: 18px; transition: transform .25s var(--ease-out); }
.link:hover .ico { transform: translateX(4px); }
.link--ink { color: var(--black); }

/* =========================================================
   INTRO móvil — franjas amarillas + logo
   ========================================================= */
.intro { display: none; }
.has-intro body { overflow: hidden; }
.has-intro .intro {
  display: block; position: fixed; inset: 0; z-index: 1000; pointer-events: none;
}
.intro__stripes { position: absolute; inset: 0; display: flex; }
.intro__stripes span {
  flex: 1 1 0; height: 100%; background: #FFF215;
  transform: scaleY(0); transform-origin: bottom;
  animation: stripeIn .55s var(--ease-io) forwards;
  margin-left: -1px; /* evita líneas entre franjas */
}
.intro__stripes span:nth-child(even) { transform-origin: top; }
.intro__stripes span:nth-child(1) { animation-delay: .05s; }
.intro__stripes span:nth-child(2) { animation-delay: .12s; }
.intro__stripes span:nth-child(3) { animation-delay: .19s; }
.intro__stripes span:nth-child(4) { animation-delay: .26s; }
.intro__stripes span:nth-child(5) { animation-delay: .33s; }
.intro__stripes span:nth-child(6) { animation-delay: .40s; }

.intro__logo {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 0 12%;
}
.intro__logo picture {
  width: 100%; max-width: 320px;
  opacity: 0; transform: scale(.85);
  animation: logoIn .6s var(--ease-out) .85s forwards;
}
.intro__logo img { width: 100%; }

/* Salida */
.intro.is-leaving .intro__logo picture { animation: logoOut .35s var(--ease-io) forwards; }
.intro.is-leaving .intro__stripes span {
  transform: scaleY(1);
  animation: stripeOut .55s var(--ease-io) forwards;
}
.intro.is-leaving .intro__stripes span:nth-child(1) { animation-delay: .20s; }
.intro.is-leaving .intro__stripes span:nth-child(2) { animation-delay: .26s; }
.intro.is-leaving .intro__stripes span:nth-child(3) { animation-delay: .32s; }
.intro.is-leaving .intro__stripes span:nth-child(4) { animation-delay: .38s; }
.intro.is-leaving .intro__stripes span:nth-child(5) { animation-delay: .44s; }
.intro.is-leaving .intro__stripes span:nth-child(6) { animation-delay: .50s; }

@keyframes stripeIn { to { transform: scaleY(1); } }
@keyframes stripeOut { from { transform: scaleY(1); } to { transform: scaleY(0); } }
@keyframes logoIn { to { opacity: 1; transform: scale(1); } }
@keyframes logoOut { to { opacity: 0; transform: scale(1.08); } }
/* Invierte el origen al salir para que las franjas "se retiren" */
.intro.is-leaving .intro__stripes span { transform-origin: top; }
.intro.is-leaving .intro__stripes span:nth-child(even) { transform-origin: bottom; }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background-color .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(11, 11, 11, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(255, 255, 255, .08);
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 12px; }
.header__brand { margin-right: auto; display: block; position: relative; z-index: 2; }
.header__brand img { height: 38px; width: auto; }
@media (min-width: 768px) { .header__brand img { height: 46px; } }

.burger {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-content: center; gap: 6px;
  background: var(--white); position: relative; z-index: 2;
}
.burger span { display: block; width: 18px; height: 2px; background: var(--black); transition: transform .3s var(--ease-out); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Menú móvil */
.nav {
  position: fixed; inset: 0; z-index: 1;
  background: var(--yellow); color: var(--black);
  display: flex; flex-direction: column; justify-content: center; gap: 32px;
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  clip-path: circle(0 at calc(100% - 42px) 32px);
  transition: clip-path .6s var(--ease-io);
  visibility: hidden;
}
.nav.is-open { clip-path: circle(150% at calc(100% - 42px) 32px); visibility: visible; }
.nav__list { display: grid; gap: 4px; }
.nav__list a {
  font-family: var(--font-display); font-size: 3.2rem; line-height: 1.05; display: block; padding: 4px 0;
  opacity: 0; transform: translateY(20px);
  transition: opacity .4s, transform .5s var(--ease-out);
}
.nav.is-open .nav__list a { opacity: 1; transform: none; }
.nav.is-open .nav__list li:nth-child(1) a { transition-delay: .15s; }
.nav.is-open .nav__list li:nth-child(2) a { transition-delay: .2s; }
.nav.is-open .nav__list li:nth-child(3) a { transition-delay: .25s; }
.nav.is-open .nav__list li:nth-child(4) a { transition-delay: .3s; }
.nav.is-open .nav__list li:nth-child(5) a { transition-delay: .35s; }
.nav__cta { background: var(--black); color: var(--white); align-self: flex-start; }
.nav__cta:hover { background: var(--white); color: var(--black); }
.header__cta { display: none; }

@media (min-width: 380px) { .header__cta { display: inline-flex; } }

@media (min-width: 1024px) {
  .burger, .header__cta { display: none !important; }
  .nav {
    position: static; clip-path: none; visibility: visible; background: none; color: var(--white);
    flex-direction: row; align-items: center; padding: 0; gap: 28px;
  }
  .nav__list { display: flex; gap: 4px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); padding: 5px; border-radius: 999px; }
  .nav__list a {
    font-family: var(--font-body); font-size: .92rem; font-weight: 600; padding: 9px 16px; border-radius: 999px;
    opacity: 1; transform: none; transition: background-color .2s, color .2s;
  }
  .nav__list a:hover { background: var(--yellow); color: var(--black); }
  .nav__cta { background: var(--yellow); color: var(--black); --h: 46px; }
  .nav__cta:hover { background: var(--white); }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 100svh; padding: calc(var(--header-h) + 40px) 0 64px;
  display: flex; align-items: center;
}
.hero__glow {
  position: absolute; z-index: -1; pointer-events: none;
  width: 140vw; height: 90vw; max-width: 1400px; max-height: 900px;
  left: 50%; bottom: -30vw; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255, 221, 0, .55), rgba(255, 196, 0, .18) 55%, transparent 75%);
  filter: blur(10px);
  animation: glow 7s ease-in-out infinite alternate;
}
.hero__glow--sm { bottom: auto; top: -40%; opacity: .45; }
.hero__glow--bottom { bottom: -55%; }
@keyframes glow { from { transform: translateX(-50%) scale(1); } to { transform: translateX(-50%) scale(1.12); } }

.hero__grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}

.hero__inner { display: grid; gap: 48px; align-items: center; }
.hero__title { font-size: clamp(3.4rem, 15vw, 7.6rem); margin-bottom: 22px; }
.hero__lead { margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero__actions .btn { flex: 1 1 auto; }
@media (min-width: 480px) { .hero__actions .btn { flex: 0 0 auto; } }

.hero__trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 22px; max-width: 520px; }
.hero__trust strong { display: block; font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: var(--yellow); font-weight: 400; }
.hero__trust span { font-size: .8rem; color: var(--muted); line-height: 1.3; display: block; }

/* Visual */
.hero__visual { position: relative; aspect-ratio: 1 / .78; width: 100%; max-width: 560px; margin-inline: auto; }
.plate {
  position: absolute; left: 50%; top: 50%; width: 88%;
  transform: translate(-50%, -50%) rotate(-6deg);
  aspect-ratio: 673 / 300;
  animation: plateFloat 6s ease-in-out infinite;
}
.plate__logo {
  width: 100%; height: 100%;
  filter: drop-shadow(0 30px 40px rgba(255, 221, 0, .35)) drop-shadow(0 16px 22px rgba(0, 0, 0, .7));
}
/* el brillo se recorta con la silueta del logo */
.plate__glint {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  -webkit-mask: url("../img/logo-la-placa.webp") center / 100% 100% no-repeat;
  mask: url("../img/logo-la-placa.webp") center / 100% 100% no-repeat;
}
.plate__shine {
  position: absolute; inset: -50% auto -50% -60%; width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .75), transparent);
  transform: skewX(-20deg);
  animation: shine 4.5s var(--ease-io) 1.2s infinite;
}
@keyframes shine { 0% { left: -60%; } 45%, 100% { left: 130%; } }
@keyframes plateFloat {
  0%, 100% { transform: translate(-50%, -50%) rotate(-6deg); }
  50% { transform: translate(-50%, -54%) rotate(-4deg); }
}

.sign { position: absolute; filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .6)); }
.sign--diamond { width: 30%; right: -2%; top: -4%; animation: bob 5s ease-in-out infinite; }
.sign--speed { width: 21%; left: 0; bottom: 2%; animation: bob 6s ease-in-out .6s infinite; }
.sign--exit { width: 30%; right: 4%; bottom: -2%; animation: bob 5.5s ease-in-out 1.1s infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(3deg); } }

@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: 1.1fr 1fr; gap: 40px; }
  .hero__visual { max-width: none; }
}

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  background: var(--yellow); color: var(--black); overflow: hidden;
  border-block: 3px solid var(--black);
  transform: rotate(-1.5deg); margin: -14px -10px 0; position: relative; z-index: 2;
}
.marquee__track {
  display: flex; align-items: center; gap: 22px; width: max-content; padding: 14px 0;
  font-family: var(--font-display); font-size: 1.8rem; text-transform: uppercase; line-height: 1;
  animation: marquee 32s linear infinite;
}
.marquee__track b { font-size: 1rem; font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   SECCIONES
   ========================================================= */
.section { position: relative; padding: var(--section-y) 0; overflow: hidden; isolation: isolate; }
.section--white { background: var(--paper); color: var(--black); }
.section--yellow { background: var(--yellow); color: var(--black); }
.section--black { background: var(--black); color: var(--white); }
.section__head { display: grid; gap: 18px; margin-bottom: 48px; max-width: 760px; }
.section__head .eyebrow { margin-bottom: 0; }
.section__head--center { margin-inline: auto; text-align: center; justify-items: center; }

/* ---------- Bento servicios ---------- */
.bento { display: grid; gap: 14px; }
.card {
  position: relative; border-radius: var(--radius); padding: 26px;
  display: flex; flex-direction: column; gap: 14px; overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .4s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .45); }
.card p { font-size: .98rem; }
.card__num { font-family: var(--font-display); font-size: 1.1rem; letter-spacing: .1em; opacity: .55; }
.card__title { font-family: var(--font-display); font-weight: 400; font-size: 2.3rem; line-height: .95; text-transform: uppercase; }
.card__icon { width: 44px; height: 44px; }
.card .link { margin-top: auto; }

.card--black { background: var(--ink); color: var(--white); }
.card--black p { color: #CFCFCF; }
.card--black .card__icon { color: var(--yellow); }
.card--yellow { background: var(--yellow); color: var(--black); }
.card--outline { background: var(--white); color: var(--black); border: 2px solid var(--black); }

.card--feature { background: var(--black); color: var(--white); padding: 0; }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--coal); }
.card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .8s var(--ease-out); }
.card--feature:hover .card__media img { transform: scale(1.05); }

/* Slider de señales (2 visibles) */
.signs { position: relative; aspect-ratio: 2 / 1; }
.signs__track { display: flex; height: 100%; transition: transform .8s var(--ease-io); will-change: transform; }
.signs__slide { flex: 0 0 50%; height: 100%; margin: 0; overflow: hidden; border-right: 3px solid var(--black); }
.card__body { padding: 26px; display: flex; flex-direction: column; gap: 14px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  font-size: .85rem; font-weight: 600; padding: 7px 12px; border-radius: 999px;
  border: 1px solid rgba(255, 221, 0, .45); color: var(--yellow);
}

@media (min-width: 768px) {
  .bento { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .card--feature { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; }
  .card__media { aspect-ratio: auto; min-height: 100%; }
  .signs { min-height: 320px; }
  .card__body { padding: 36px; justify-content: center; }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(260px, auto); }
  .card--feature { grid-column: span 2; grid-row: span 2; grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .card__media { aspect-ratio: 16 / 9; min-height: 0; }
  .card { padding: 30px; }
  .card--feature { padding: 0; }
}

/* Polarizado discreto */
.also {
  margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  padding: 18px 22px; border-radius: var(--radius); border: 1px dashed rgba(0, 0, 0, .25);
  color: var(--muted-dark); font-size: .95rem;
}
.also p { flex: 1 1 260px; }
.also__thumbs { display: flex; }
.also__thumbs img { width: 52px; height: 52px; object-fit: cover; border-radius: 50%; border: 2px solid var(--paper); }
.also__thumbs img + img { margin-left: -14px; }
.also strong { color: var(--black); }
.also__label {
  font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  background: var(--black); color: var(--yellow); padding: 5px 10px; border-radius: 6px;
}

/* ---------- Hazard stripes ---------- */
.hazard { position: absolute; left: 0; right: 0; height: 14px; z-index: -1; }
.hazard--top { top: 0; background: repeating-linear-gradient(-45deg, var(--black) 0 16px, var(--yellow) 16px 32px); animation: hazard 1.5s linear infinite; background-size: 45.25px 100%; }
@keyframes hazard { to { background-position: 45.25px 0; } }

/* ---------- Split (placas) ---------- */
.split { display: grid; gap: 48px; align-items: center; }
.split__copy { display: grid; gap: 20px; }
.split__copy .eyebrow { margin-bottom: 0; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } }

.steps { display: grid; gap: 14px; margin-top: 8px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps li > span {
  flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--black); color: var(--yellow);
  display: grid; place-items: center; font-family: var(--font-display); font-size: 1.3rem;
}
.steps strong { display: block; font-size: 1.05rem; }
.steps p { color: #2B2B2B; font-size: .95rem; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 10px 18px; border-radius: 999px; background: var(--black); color: var(--white); font-weight: 700; font-size: .9rem; }

.ba { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ba__img { margin: 0; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; border: 3px solid var(--black); background: var(--black); }
.ba__img img { width: 100%; height: 100%; object-fit: cover; }
.ba__img:last-of-type { transform: translateY(32px); }
.ba__tag {
  position: absolute; top: 14px; padding: 6px 12px; border-radius: 999px;
  font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.ba__tag--a { left: 14px; background: var(--yellow); color: var(--black); }
.ba__tag--b { left: calc(50% + 19px); top: 46px; background: var(--black); color: var(--yellow); }

/* ---------- Placeholders de imagen ---------- */
.ph {
  position: relative; display: grid; place-items: center; text-align: center;
  width: 100%; height: 100%; min-height: 160px; overflow: hidden;
  font-weight: 700; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase;
}
.ph small { font-weight: 500; text-transform: none; letter-spacing: 0; opacity: .8; font-size: .85rem; }
.ph--dark { background: repeating-linear-gradient(-45deg, #1A1A1A 0 14px, #141414 14px 28px); color: #8A8A8A; border: 1px solid var(--line-dark); }
.ph--light { background: repeating-linear-gradient(-45deg, #FFFFFF 0 14px, #F2F2F2 14px 28px); color: #6B6B6B; border: 1px solid rgba(0, 0, 0, .1); }
.ph--wide { aspect-ratio: 16 / 10; min-height: 0; border-radius: var(--radius-sm); }
.ph span { position: relative; z-index: 1; padding: 12px; }

/* ---------- Maquinaria ---------- */
.machines { display: grid; gap: 16px; }
.machine {
  background: var(--ink); border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: 12px; display: grid; gap: 4px;
  transition: border-color .3s, transform .4s var(--ease-out);
}
.machine:hover { border-color: var(--yellow); transform: translateY(-4px); }
.machine__media { aspect-ratio: 16 / 10; border-radius: var(--radius-sm); overflow: hidden; background: var(--coal); }
.machine__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.machine:hover .machine__media img { transform: scale(1.05); }
.machine__body { padding: 16px 12px 14px; display: grid; gap: 10px; align-content: start; }
.machine h3 { font-family: var(--font-display); font-weight: 400; font-size: 2rem; line-height: 1; text-transform: uppercase; }
.machine p { color: #CFCFCF; font-size: .96rem; }
.machine__model { color: var(--yellow) !important; font-weight: 700; }
.machine__more { justify-self: start; margin-top: 4px; }
.badge {
  justify-self: start; background: var(--yellow); color: var(--black);
  font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px;
}
.spec { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-family: var(--font-display); color: var(--yellow); }
.spec strong { font-size: 3.2rem; line-height: 1; font-weight: 400; }
.spec span { font-size: 2rem; color: var(--white); }
.spec em { font-family: var(--font-body); font-style: normal; color: var(--muted); font-size: .9rem; }
@media (min-width: 768px) { .machines { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Proceso ---------- */
.process { display: grid; gap: 14px; counter-reset: p; }
.process li {
  position: relative; background: var(--white); border-radius: var(--radius); padding: 26px;
  border: 1px solid rgba(0, 0, 0, .08); display: grid; gap: 8px;
}
.process li::after {
  content: ""; position: absolute; left: 26px; right: 26px; bottom: 0; height: 4px; border-radius: 4px 4px 0 0;
  background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out) .2s;
}
.process li.is-in::after { transform: scaleX(1); }
.process__n { font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--black); -webkit-text-stroke: 0; }
.process h3 { font-size: 1.2rem; }
.process p { color: var(--muted-dark); font-size: .95rem; }
@media (min-width: 768px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Nosotros ---------- */
.about { display: grid; gap: 32px; position: relative; }
.about__year {
  font-family: var(--font-display); font-size: clamp(7rem, 38vw, 22rem); line-height: .8;
  color: transparent; -webkit-text-stroke: 2px var(--black); opacity: .9;
}
.about__photo { position: relative; padding-bottom: .5em; font-size: clamp(7rem, 38vw, 22rem); }
.about__photo img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 40%;
  border-radius: var(--radius); border: 4px solid var(--black); font-size: 1rem;
}
.about__photo .about__year {
  position: absolute; left: .04em; bottom: 0; font-size: 1em;
  color: var(--yellow); opacity: 1;
}
.about__copy { display: grid; gap: 18px; }
.about__copy .eyebrow { margin-bottom: 0; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.stats li { background: var(--black); color: var(--white); border-radius: var(--radius); padding: 22px 18px; display: grid; gap: 6px; }
.stats strong { font-family: var(--font-display); font-weight: 400; font-size: 3.2rem; line-height: 1; color: var(--yellow); }
.stats span { font-size: .88rem; color: #CFCFCF; line-height: 1.3; }
.about__main { display: grid; gap: 32px; }

/* Video (YouTube Short, carga al tocar) */
.about__video { width: 100%; max-width: 340px; justify-self: center; }
.yt, .about__video iframe {
  position: relative; display: block; width: 100%; aspect-ratio: 9 / 16;
  border-radius: 26px; overflow: hidden; border: 4px solid var(--black); background: var(--black);
}
.yt { padding: 0; box-shadow: 14px 14px 0 var(--black); transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out); }
.yt:hover { transform: translate(-4px, -4px); box-shadow: 18px 18px 0 var(--black); }
.yt img { width: 100%; height: 100%; object-fit: cover; }
.yt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .7)); }
.yt__play {
  position: absolute; left: 50%; top: 50%; z-index: 1; width: 76px; height: 76px; margin: -38px 0 0 -38px;
  border-radius: 50%; background: var(--yellow); color: var(--black); display: grid; place-items: center;
  border: 3px solid var(--black); animation: pulse 2.6s ease-out infinite;
}
.yt__play svg { width: 32px; height: 32px; margin-left: 4px; }
.yt__label {
  position: absolute; left: 0; right: 0; bottom: 22px; z-index: 1; text-align: center;
  font-family: var(--font-display); font-size: 1.7rem; color: var(--white); letter-spacing: .03em;
}
.about__video iframe { height: auto; box-shadow: 14px 14px 0 var(--black); }

@media (min-width: 1024px) {
  .about { grid-template-columns: 1.4fr .6fr; align-items: center; column-gap: 72px; }
  .stats { grid-template-columns: repeat(4, 1fr); grid-column: 1 / -1; }
}

/* ---------- Galería ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.gallery__item { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; }
.gallery__item--tall { grid-column: span 2; aspect-ratio: 16 / 10; }
.gallery__item--full { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.gallery__item { background: var(--coal); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item figcaption {
  position: absolute; left: 10px; bottom: 10px; z-index: 2;
  background: var(--yellow); color: var(--black); font-weight: 700; font-size: .78rem;
  padding: 6px 10px; border-radius: 999px;
}
@media (min-width: 768px) {
  .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
  .gallery__item { aspect-ratio: auto; }
  .gallery__item--tall { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--full { grid-row: span 2; aspect-ratio: auto; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 40px; }
.faq__head { display: grid; gap: 18px; align-content: start; justify-items: start; }
.faq__head .eyebrow { margin-bottom: 0; }
.faq__list { display: grid; gap: 10px; }
.qa { background: var(--white); border-radius: 14px; border: 1px solid rgba(0, 0, 0, .1); transition: background-color .3s; }
.qa[open] { background: var(--yellow); border-color: var(--yellow); }
.qa summary {
  list-style: none; cursor: pointer; min-height: 60px; padding: 16px 56px 16px 20px; position: relative;
  font-weight: 700; display: flex; align-items: center;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%;
  background: var(--black) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%23FFDD00' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .3s var(--ease-out);
}
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { padding: 0 20px 20px; color: #2B2B2B; }
@media (min-width: 1024px) { .faq { grid-template-columns: .9fr 1.1fr; gap: 72px; } .faq__head { position: sticky; top: calc(var(--header-h) + 24px); } }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--section-y) + 20px) 0; text-align: center; background: var(--black); }
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: repeating-conic-gradient(from 0deg at 50% 120%, rgba(255, 255, 255, .06) 0 1deg, transparent 1deg 6deg);
  mask-image: radial-gradient(circle at 50% 100%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 100%, #000, transparent 70%);
}
.cta__inner { display: grid; justify-items: center; gap: 22px; }
.cta__title { font-size: clamp(3rem, 12vw, 6.4rem); max-width: 14ch; }
.cta .lead { margin-inline: auto; }

/* ---------- Footer ---------- */
.footer { background: var(--black); border-top: 1px solid var(--line-dark); padding: 56px 0 28px; color: #CFCFCF; overflow: hidden; }
.footer__top { display: grid; gap: 36px; }
.footer__brand img { width: 170px; margin-bottom: 14px; }
.footer__brand p { max-width: 32ch; font-size: .95rem; }
.footer__col h3 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); margin-bottom: 10px; }
.footer__col a, .footer__col li { display: block; padding: 6px 0; font-size: .95rem; }
.footer__col a:hover { color: var(--yellow); }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid rgba(255, 255, 255, .25); color: var(--white); transition: background-color .2s, color .2s, border-color .2s;
}
.social a:hover { background: var(--yellow); border-color: var(--yellow); color: var(--black); }
.social svg { width: 20px; height: 20px; }
.footer__word {
  font-family: var(--font-display); font-size: clamp(6rem, 30vw, 22rem); line-height: .8; text-align: center;
  margin: 48px 0 18px; white-space: nowrap;
  background: linear-gradient(180deg, var(--yellow) 10%, rgba(255, 221, 0, .05) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer__bottom { border-top: 1px solid var(--line-dark); padding-top: 20px; font-size: .82rem; color: #8A8A8A; }
@media (min-width: 768px) { .footer__top { grid-template-columns: 2fr 1fr 1fr; } }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--yellow); color: var(--black); border: 3px solid var(--black);
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .6);
  transition: transform .3s var(--ease-out);
  animation: pulse 2.6s ease-out infinite;
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.08); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 221, 0, .55), 0 12px 30px -8px rgba(0, 0, 0, .6); }
  70%, 100% { box-shadow: 0 0 0 18px rgba(255, 221, 0, 0), 0 12px 30px -8px rgba(0, 0, 0, .6); }
}

/* =========================================================
   ANIMACIONES DE ENTRADA
   ========================================================= */
.js [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Títulos: palabras que suben desde una máscara */
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding: .16em 0 .06em; margin: -.16em 0 -.06em; }
.split-word > span {
  display: inline-block; transform: translateY(105%);
  transition: transform .9s var(--ease-out);
  transition-delay: calc(var(--i) * 55ms);
}
[data-split].is-in .split-word > span { transform: none; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .split-word > span { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none; }
}

/* =========================================================
   SUBPÁGINAS DE MAQUINARIA
   ========================================================= */
.sub-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + 32px) 0 72px;
}
.sub-hero__inner { display: grid; gap: 40px; align-items: center; }
.sub-hero__copy { display: grid; gap: 18px; justify-items: start; }
.sub-hero__copy .eyebrow { margin-bottom: 0; }
.sub-hero__copy .hero__actions { margin-bottom: 0; }
.sub-hero__title { font-size: clamp(3rem, 13vw, 6.4rem); }
.sub-hero__media {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-dark);
  aspect-ratio: 1; background: var(--coal); box-shadow: 0 40px 80px -40px rgba(255, 221, 0, .45);
}
.sub-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.back {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 700; font-size: .92rem; color: #CFCFCF; transition: color .2s;
}
.back .ico { width: 18px; height: 18px; transform: rotate(180deg); transition: transform .25s var(--ease-out); }
.back:hover { color: var(--yellow); }
.back:hover .ico { transform: rotate(180deg) translateX(4px); }
@media (min-width: 1024px) { .sub-hero__inner { grid-template-columns: 1.05fr 1fr; gap: 64px; } }

.caps { display: grid; gap: 14px; }
.caps li { background: var(--black); color: var(--white); border-radius: var(--radius); padding: 26px; display: grid; gap: 8px; }
.caps strong { font-family: var(--font-display); font-weight: 400; font-size: 3.2rem; line-height: 1; color: var(--yellow); }
.caps h3 { font-size: 1.15rem; }
.caps p { color: #CFCFCF; font-size: .95rem; }
@media (min-width: 768px) { .caps { grid-template-columns: repeat(3, 1fr); } }

.apps { display: grid; gap: 10px; }
.apps li {
  display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 14px 20px;
  background: var(--white); border: 1px solid rgba(0, 0, 0, .1); border-radius: 14px; font-weight: 700;
  transition: background-color .25s, border-color .25s;
}
.apps li:hover { background: var(--yellow); border-color: var(--yellow); }
.apps .ico { width: 18px; height: 18px; flex: none; }
@media (min-width: 768px) { .apps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .apps { grid-template-columns: repeat(3, 1fr); } }
