/* ============================================================
   FIGUEROA ALEJANDRO · FERRAMENTA
   Design System — dark / technical / premium
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Barlow:wght@300;400;500;600;700;800&family=Bebas+Neue&display=swap');

:root {
  /* Color */
  --black:  #080808;
  --black2: #111111;
  --black3: #1a1a1a;
  --red:    #C41E1E;
  --red2:   #a01818;
  --white:  #F5F4F0;
  --grey:   #888888;
  --gold:   #C9A84C;
  --gold2:  #a8863a;
  --green:  #25D366;

  --line:   rgba(245,244,240,0.10);
  --line2:  rgba(245,244,240,0.06);

  /* Type */
  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'Barlow', system-ui, sans-serif;
  --mono:  'Bebas Neue', 'Barlow', sans-serif;

  /* Rhythm */
  --container: 1480px;
  --gutter: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease2: cubic-bezier(0.65, 0, 0.35, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
}

/* Grain overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--red); color: var(--white); }

/* ---------- Utilities ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }

.eyebrow {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--grey);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--red);
}
.eyebrow.gold::before { background: var(--gold); }

.serif { font-family: var(--serif); }
.mono  { font-family: var(--mono); }

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  will-change: transform;
}
.cursor-dot { width: 8px; height: 8px; background: var(--red); margin: -4px 0 0 -4px; }
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(196,30,30,0.6);
  margin: -18px 0 0 -18px;
  transition: width .25s var(--ease), height .25s var(--ease), background .25s, border-color .25s, margin .25s var(--ease);
}
.cursor-ring.hover {
  width: 64px; height: 64px; margin: -32px 0 0 -32px;
  background: rgba(196,30,30,0.12);
  border-color: rgba(196,30,30,0.9);
}
@media (hover: hover) and (pointer: fine) {
  body { cursor: none; }
  a, button, [data-cursor] { cursor: none; }
}
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.announce {
  background: var(--red);
  color: var(--white);
  font-family: var(--mono);
  letter-spacing: 0.14em;
  font-size: 15px;
  text-transform: uppercase;
  position: relative;
  z-index: 60;
}
.announce__in {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  height: 40px; padding-inline: 56px;
  text-align: center;
}
.announce__in span { opacity: 0.85; }
.announce__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--white); opacity: 0.7; }
.announce__close {
  position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; display: grid; place-items: center;
  font-family: var(--sans); font-size: 18px; opacity: 0.8;
  transition: opacity .2s, transform .2s;
}
.announce__close:hover { opacity: 1; transform: translateY(-50%) rotate(90deg); }
.announce.hide { display: none; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s, backdrop-filter .4s;
}
.nav.scrolled {
  background: rgba(8,8,8,0.82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav__in {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px;
  transition: height .4s var(--ease);
}
.nav.scrolled .nav__in { height: 70px; }

.logo { display: flex; align-items: baseline; gap: 10px; }
.logo__mark { font-family: var(--serif); font-weight: 900; font-size: 26px; letter-spacing: -0.01em; }
.logo__mark b { color: var(--red); }
.logo__sub {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.34em;
  color: var(--grey); text-transform: uppercase;
}

.nav__links { display: flex; align-items: center; gap: 40px; }
.nav__link {
  font-size: 14px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--white);
  position: relative; padding: 6px 0;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--red); transition: width .35s var(--ease);
}
.nav__link:hover::after { width: 100%; }
.nav__link.gold { color: var(--gold); }
.nav__link.gold::after { background: var(--gold); }

.nav__right { display: flex; align-items: center; gap: 26px; }
.cart-btn {
  position: relative; display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); letter-spacing: 0.14em; font-size: 15px;
  padding: 11px 20px; border: 1px solid var(--line);
  transition: border-color .3s, background .3s;
}
.cart-btn:hover { border-color: var(--red); background: rgba(196,30,30,0.08); }
.cart-btn__count {
  min-width: 22px; height: 22px; padding: 0 6px;
  background: var(--red); color: var(--white);
  border-radius: 12px; display: grid; place-items: center;
  font-size: 13px; line-height: 1;
}

.nav__burger { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100vh - 124px);
  display: flex; align-items: flex-end;
  padding-block: clamp(48px, 9vh, 110px);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
}
.hero__bg .ph { width: 100%; height: 100%; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--black) 4%, rgba(8,8,8,0.4) 42%, rgba(8,8,8,0.7) 100%),
    linear-gradient(to right, rgba(8,8,8,0.85) 0%, rgba(8,8,8,0.1) 60%);
}
.hero__grid {
  display: grid; grid-template-columns: 1.4fr 0.6fr; align-items: end; gap: 40px;
  width: 100%;
}
.hero__title {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(54px, 8.4vw, 138px);
  line-height: 0.92; letter-spacing: -0.02em;
}
.hero__title em { font-style: italic; color: var(--red); }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: block; }
@keyframes heroLineUp { from { transform: translateY(110%); } to { transform: translateY(0); } }
/* safe entrance — transform only, content is never hidden even if motion is throttled */
@media (prefers-reduced-motion: no-preference) {
  .hero.ready .hero__main > * { animation: heroRise .85s var(--ease) backwards; }
  .hero.ready .hero__main > *:nth-child(2) { animation-delay: .08s; }
  .hero.ready .hero__main > *:nth-child(3) { animation-delay: .16s; }
  .hero.ready .hero__main > *:nth-child(4) { animation-delay: .24s; }
  .hero.ready .hero__stat { animation: heroRise .85s var(--ease) backwards; }
  .hero.ready .hero__stat:nth-child(2) { animation-delay: .12s; }
  .hero.ready .hero__stat:nth-child(3) { animation-delay: .24s; }
}
@keyframes heroRise { from { transform: translateY(28px); } to { transform: none; } }
/* failsafe: guarantee hero is settled even if the engine throttles entrance motion */
.hero.shown .hero__title .line > span { animation: none !important; transform: none !important; }
.hero.shown [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }

.hero__lede {
  max-width: 440px; color: var(--white); opacity: 0.78;
  font-size: 18px; line-height: 1.6; font-weight: 300;
  margin-top: 28px;
}
.hero__cta { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }

.hero__side { align-self: end; }
.hero__stats { display: grid; gap: 26px; border-left: 1px solid var(--line); padding-left: 28px; }
.hero__stat .n { font-family: var(--mono); font-size: 46px; line-height: 1; color: var(--white); }
.hero__stat .n b { color: var(--red); }
.hero__stat .l { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); margin-top: 6px; }

.hero__scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); letter-spacing: 0.3em; font-size: 12px; color: var(--grey);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero__scroll .bar { width: 1px; height: 46px; background: linear-gradient(var(--red), transparent); animation: scrolly 2.2s var(--ease) infinite; }
@keyframes scrolly { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); letter-spacing: 0.14em; font-size: 16px; text-transform: uppercase;
  padding: 16px 30px; position: relative; overflow: hidden;
  transition: color .4s var(--ease);
  border: 1px solid transparent;
}
.btn .txt { position: relative; z-index: 2; }
.btn .ar { position: relative; z-index: 2; transition: transform .4s var(--ease); }
.btn:hover .ar { transform: translateX(5px); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  transform: scaleX(1); transform-origin: left; transition: transform .5s var(--ease2);
}
.btn--red { color: var(--white); }
.btn--red::before { background: var(--red); }
.btn--red:hover::before { background: var(--red2); }
.btn--ghost { border-color: var(--line); color: var(--white); }
.btn--ghost::before { background: var(--white); transform: scaleX(0); }
.btn--ghost:hover { color: var(--black); }
.btn--ghost:hover::before { transform: scaleX(1); }
.btn--gold { color: var(--black); }
.btn--gold::before { background: var(--gold); }
.btn--gold:hover::before { background: var(--gold2); }
.btn--wa { color: var(--white); }
.btn--wa::before { background: var(--green); }

/* ============================================================
   PLACEHOLDER (image slots)
   ============================================================ */
.ph {
  position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(245,244,240,0.035) 0 2px, transparent 2px 11px),
    var(--black2);
  display: grid; place-items: center;
}
.ph__label {
  font-family: var(--mono); letter-spacing: 0.18em; font-size: 12px;
  color: rgba(245,244,240,0.4); text-transform: uppercase; text-align: center;
  padding: 8px 14px; border: 1px solid var(--line2);
}
.ph--gold { background:
    repeating-linear-gradient(135deg, rgba(201,168,76,0.08) 0 2px, transparent 2px 11px),
    var(--black2); }

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section { padding-block: clamp(80px, 12vh, 150px); position: relative; }
.section__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 30px; margin-bottom: clamp(40px, 6vh, 72px); flex-wrap: wrap;
}
.section__title {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(36px, 5vw, 76px); line-height: 1; letter-spacing: -0.02em;
  max-width: 760px;
}
.section__title em { font-style: italic; color: var(--red); }
.section__num { font-family: var(--mono); font-size: 15px; color: var(--grey); letter-spacing: 0.2em; }

/* ============================================================
   CATEGORIES
   ============================================================ */
.cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  gap: 14px;
}
.cat {
  position: relative; overflow: hidden;
  border: 1px solid var(--line);
  background: var(--black2);
  min-height: 220px;
  padding: 26px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: border-color .4s var(--ease), transform .5s var(--ease);
}
.cat:hover { border-color: rgba(196,30,30,0.5); }
.cat__bg { position: absolute; inset: 0; z-index: 0; opacity: 0.5; transition: opacity .5s, transform .8s var(--ease); }
.cat:hover .cat__bg { opacity: 0.85; transform: scale(1.06); }
.cat::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(8,8,8,0.95) 6%, rgba(8,8,8,0.3) 70%);
}
.cat__top, .cat__bot { position: relative; z-index: 2; }
.cat__idx { font-family: var(--mono); font-size: 14px; color: var(--grey); letter-spacing: 0.2em; }
.cat__name { font-family: var(--serif); font-weight: 700; font-size: clamp(22px, 2vw, 30px); line-height: 1.04; }
.cat__count { font-family: var(--mono); font-size: 13px; letter-spacing: 0.14em; color: var(--red); margin-top: 8px; }
.cat__arrow {
  position: absolute; top: 24px; right: 24px; z-index: 2;
  width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%;
  display: grid; place-items: center; transform: translate(8px, -8px) scale(.8); opacity: 0;
  transition: all .4s var(--ease);
}
.cat:hover .cat__arrow { transform: none; opacity: 1; border-color: var(--red); }

/* Honda special — double width, double height, gold */
.cat--honda {
  grid-column: span 2; grid-row: span 2;
  border-color: rgba(201,168,76,0.35);
  background: linear-gradient(135deg, #15110a, var(--black2));
}
.cat--honda::after { background: linear-gradient(120deg, rgba(8,8,8,0.88) 18%, rgba(20,16,8,0.2) 90%); }
.cat--honda:hover { border-color: var(--gold); }
.cat--honda .cat__idx { color: var(--gold); }
.cat--honda .cat__badge {
  display: inline-flex; align-self: flex-start;
  font-family: var(--mono); letter-spacing: 0.18em; font-size: 12px; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(201,168,76,0.4); padding: 7px 14px; margin-bottom: auto;
}
.cat--honda .cat__name { font-size: clamp(34px, 4vw, 64px); }
.cat--honda .cat__count { color: var(--gold); }
.cat--honda .btn { margin-top: 22px; }

/* ============================================================
   PRODUCTS
   ============================================================ */
.products {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.prod {
  border: 1px solid var(--line); background: var(--black2);
  position: relative; display: flex; flex-direction: column;
  transition: border-color .4s, transform .5s var(--ease);
}
.prod:hover { border-color: rgba(196,30,30,0.5); transform: translateY(-4px); }
.prod__media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.prod__media .ph { width: 100%; height: 100%; transition: transform .7s var(--ease); }
.prod:hover .prod__media .ph { transform: scale(1.05); }
.prod__badge {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  font-family: var(--mono); letter-spacing: 0.14em; font-size: 13px; text-transform: uppercase;
  background: var(--red); color: var(--white); padding: 5px 11px;
}
.prod__spec {
  position: absolute; bottom: 14px; left: 14px; z-index: 3;
  font-family: var(--mono); font-size: 20px; letter-spacing: 0.06em;
  color: var(--white); background: rgba(8,8,8,0.7); border: 1px solid var(--line);
  padding: 4px 12px; backdrop-filter: blur(4px);
}
.prod__body { padding: 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.prod__brand { font-family: var(--mono); font-size: 13px; letter-spacing: 0.2em; color: var(--grey); text-transform: uppercase; }
.prod__name { font-size: 18px; font-weight: 600; line-height: 1.25; }
.prod__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 18px; }
.prod__price { font-family: var(--mono); font-size: 28px; color: var(--white); }
.prod__price .cur { font-size: 16px; color: var(--grey); vertical-align: super; margin-right: 2px; }
.prod__add {
  width: 46px; height: 46px; border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 22px; font-weight: 300;
  transition: all .3s var(--ease);
}
.prod__add:hover { background: var(--red); border-color: var(--red); transform: rotate(90deg); }

/* ============================================================
   DIFERENCIA — editorial
   ============================================================ */
.diff__strip { display: grid; grid-template-columns: 1fr 1fr; min-height: 360px; }
.diff__panel { padding: clamp(40px, 6vw, 80px); display: flex; flex-direction: column; justify-content: center; }
.diff__panel--red { background: var(--red); }
.diff__panel--black { background: var(--black2); border: 1px solid var(--line); border-left: none; }
.diff__panel h3 { font-family: var(--serif); font-weight: 700; font-size: clamp(30px, 3.4vw, 52px); line-height: 1.04; letter-spacing: -0.01em; }
.diff__panel--red h3 { color: var(--white); }
.diff__panel p { margin-top: 20px; font-size: 17px; line-height: 1.6; max-width: 440px; }
.diff__panel--red p { color: rgba(245,244,240,0.85); }
.diff__panel--black p { color: var(--grey); }

.metrics { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-top: none; }
.metric { padding: clamp(28px, 4vw, 50px); border-right: 1px solid var(--line); }
.metric:last-child { border-right: none; }
.metric .n { font-family: var(--mono); font-size: clamp(48px, 6vw, 88px); line-height: 0.9; color: var(--white); }
.metric .n b { color: var(--red); }
.metric .l { font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); margin-top: 14px; }

.edits { margin-top: 90px; display: grid; gap: 0; }
.edit {
  display: grid; grid-template-columns: 120px 1fr 1fr; gap: 30px; align-items: start;
  padding-block: 44px; border-top: 1px solid var(--line);
}
.edit:last-child { border-bottom: 1px solid var(--line); }
.edit__num { font-family: var(--mono); font-size: 56px; color: var(--red); line-height: 1; }
.edit__h { font-family: var(--serif); font-weight: 700; font-size: clamp(26px, 2.6vw, 40px); line-height: 1.06; }
.edit__p { color: var(--grey); font-size: 17px; line-height: 1.6; align-self: center; }
.edit:hover .edit__h { color: var(--white); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.testi {
  border: 1px solid var(--line); background: var(--black2);
  padding: 36px 32px; display: flex; flex-direction: column; gap: 24px;
}
.testi__quote { font-family: var(--serif); font-size: 22px; line-height: 1.45; font-style: italic; }
.testi__quote::before { content: "\201C"; color: var(--red); font-size: 40px; line-height: 0; vertical-align: -6px; margin-right: 4px; }
.testi__foot { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.testi__av { width: 48px; height: 48px; border-radius: 50%; background: var(--black3); border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--mono); color: var(--red); font-size: 18px; }
.testi__who b { display: block; font-weight: 600; font-size: 15px; }
.testi__who span { font-size: 13px; color: var(--grey); font-family: var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { display: grid; grid-template-columns: 0.85fr 1.15fr; border: 1px solid var(--line); }
.contact__info { padding: clamp(40px, 5vw, 70px); display: flex; flex-direction: column; gap: 34px; }
.contact__row .l { font-family: var(--mono); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.contact__row .v { font-size: 19px; font-weight: 500; line-height: 1.4; }
.contact__map { position: relative; border-left: 1px solid var(--line); min-height: 380px; }
.contact__map .ph { position: absolute; inset: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding-block: 64px 36px; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; margin-bottom: 56px; }
.footer__big { font-family: var(--serif); font-weight: 900; font-size: clamp(40px, 7vw, 120px); line-height: 0.9; letter-spacing: -0.02em; }
.footer__big b { color: var(--red); }
.footer__links { display: flex; gap: 50px; flex-wrap: wrap; }
.footer__col h5 { font-family: var(--mono); font-size: 13px; letter-spacing: 0.2em; color: var(--grey); text-transform: uppercase; margin-bottom: 18px; }
.footer__col a { display: block; font-size: 15px; padding: 5px 0; color: var(--white); opacity: 0.8; transition: opacity .2s, color .2s; }
.footer__col a:hover { opacity: 1; color: var(--red); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.footer__bottom p { font-size: 13px; color: var(--grey); font-family: var(--mono); letter-spacing: 0.1em; }

/* ============================================================
   CART DRAWER
   ============================================================ */
.scrim { position: fixed; inset: 0; background: rgba(8,8,8,0.6); backdrop-filter: blur(3px); z-index: 70; opacity: 0; pointer-events: none; transition: opacity .4s; }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(440px, 92vw);
  background: var(--black2); border-left: 1px solid var(--line); z-index: 80;
  transform: translateX(100%); transition: transform .5s var(--ease);
  display: flex; flex-direction: column;
}
.drawer.open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 26px 28px; border-bottom: 1px solid var(--line); }
.drawer__head h4 { font-family: var(--serif); font-weight: 700; font-size: 24px; }
.drawer__head span { font-family: var(--mono); color: var(--grey); letter-spacing: 0.1em; }
.drawer__close { font-size: 24px; opacity: 0.7; transition: opacity .2s, transform .3s; }
.drawer__close:hover { opacity: 1; transform: rotate(90deg); }
.drawer__items { flex: 1; overflow-y: auto; padding: 8px 28px; }
.ci { display: grid; grid-template-columns: 70px 1fr auto; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line2); align-items: center; }
.ci__media { aspect-ratio: 1; }
.ci__name { font-size: 15px; font-weight: 600; line-height: 1.3; }
.ci__brand { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--grey); text-transform: uppercase; }
.ci__price { font-family: var(--mono); font-size: 18px; margin-top: 6px; }
.ci__qty { font-family: var(--mono); font-size: 14px; color: var(--grey); }
.ci__rm { font-size: 16px; color: var(--grey); transition: color .2s; }
.ci__rm:hover { color: var(--red); }
.drawer__foot { padding: 24px 28px 28px; border-top: 1px solid var(--line); }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.drawer__total .l { font-family: var(--mono); letter-spacing: 0.14em; color: var(--grey); text-transform: uppercase; }
.drawer__total .v { font-family: var(--mono); font-size: 32px; }
.drawer__foot .btn { width: 100%; justify-content: center; }
.drawer__note { text-align: center; font-size: 12px; color: var(--grey); margin-top: 14px; font-family: var(--mono); letter-spacing: 0.08em; }
.drawer__empty { flex: 1; display: grid; place-items: center; text-align: center; color: var(--grey); padding: 40px; }

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed; bottom: 30px; left: 50%; transform: translate(-50%, 40px);
  background: var(--black3); border: 1px solid var(--line); border-left: 3px solid var(--red);
  padding: 16px 24px; z-index: 95; display: flex; align-items: center; gap: 14px;
  opacity: 0; pointer-events: none; transition: all .4s var(--ease);
  font-size: 15px;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast b { color: var(--red); }

/* ============================================================
   WHATSAPP FAB
   ============================================================ */
.fab {
  position: fixed; bottom: 26px; right: 26px; z-index: 65;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--green); display: grid; place-items: center;
  box-shadow: 0 14px 40px rgba(37,211,102,0.32);
  transition: transform .3s var(--ease);
}
.fab:hover { transform: scale(1.08); }
.fab svg { width: 30px; height: 30px; fill: #fff; }
.fab::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--green); animation: ping 2.4s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.7); opacity: 0; } }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 22px; background: var(--black); }
.marquee__track { display: flex; gap: 60px; width: max-content; animation: marq 26s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--white); opacity: 0.5; display: flex; align-items: center; gap: 60px; white-space: nowrap; }
.marquee__item::after { content: "✱"; color: var(--red); font-style: normal; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__side { display: none; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .cat--honda { grid-column: span 2; grid-row: span 1; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .testis { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .contact__map { border-left: none; border-top: 1px solid var(--line); }
}
@media (max-width: 720px) {
  .nav__links { display: none; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: none; }
  .metric:nth-child(1), .metric:nth-child(2) { border-bottom: 1px solid var(--line); }
  .diff__strip { grid-template-columns: 1fr; }
  .diff__panel--black { border-left: 1px solid var(--line); border-top: none; }
  .edit { grid-template-columns: 1fr; gap: 14px; padding-block: 32px; }
  .edit__num { font-size: 40px; }
  .footer__big { font-size: 56px; }
}

/* ═══════════════════════════════════════════════
   PAGE SHELL — compartido por las páginas internas
   (antes duplicado en el <style> de cada página)
   ═══════════════════════════════════════════════ */
#cursor-dot{position:fixed;pointer-events:none;z-index:9999}
#cursor-ring{position:fixed;pointer-events:none;z-index:9998}

body.has-ann .nav{top:40px}

.cart-btn{display:inline-flex;align-items:center;gap:.5rem;background:var(--red);color:var(--white);padding:.5rem 1.2rem;border-radius:2px;font-size:.78rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;cursor:none;transition:background .28s cubic-bezier(.4,0,.2,1);text-decoration:none}
.cart-btn:hover{background:var(--red2)}
.cart-btn__count{background:var(--white);color:var(--black);border-radius:50%;width:18px;height:18px;display:none;align-items:center;justify-content:center;font-size:.65rem;font-weight:700}
.cart-btn__count.on{display:flex}

.nav__burger{display:none;flex-direction:column;justify-content:center;gap:5px;width:36px;height:36px;background:none;border:none;cursor:none;padding:4px}
.nav__burger span{display:block;height:2px;background:var(--white);transition:all .28s cubic-bezier(.4,0,.2,1)}
.mob-nav{position:fixed;top:0;right:-320px;width:300px;height:100vh;background:var(--black2);border-left:1px solid rgba(255,255,255,.08);z-index:2100;transition:right .35s cubic-bezier(.22,1,.36,1);display:flex;flex-direction:column;padding:1.5rem}
.mob-nav.open{right:0}
.mob-nav__head{display:flex;align-items:center;justify-content:space-between;margin-bottom:2rem}
.mob-nav__head button{background:none;border:1px solid rgba(255,255,255,.12);color:var(--white);width:32px;height:32px;border-radius:2px;cursor:none;font-size:.9rem}
.mob-nav__links{display:flex;flex-direction:column;gap:.2rem}
.mob-nav__links a{display:block;padding:.9rem 1rem;font-size:.85rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:rgba(245,244,240,.7);border-radius:2px;transition:background .28s,color .28s}
.mob-nav__links a:hover,.mob-nav__links a.active{background:rgba(255,255,255,.05);color:var(--white)}
.mob-nav__overlay{position:fixed;inset:0;background:rgba(0,0,0,.6);backdrop-filter:blur(4px);z-index:2099;opacity:0;pointer-events:none;transition:opacity .35s}
.mob-nav__overlay.open{opacity:1;pointer-events:all}
@media(max-width:768px){.nav__links{display:none!important}.nav__burger{display:flex}}

/* ── ACCESIBILIDAD — foco visible para teclado ── */
:focus-visible{outline:2px solid var(--gold);outline-offset:2px}

/* ═══ MOTION — catálogo de animaciones de uso (ver PROMPT-ANIMACIONES.md) ═══ */

/* badgeBump — el contador del carrito hace pop al cambiar */
.cart-btn__count.bump{animation:badgeBump .4s cubic-bezier(.4,0,.2,1)}
@keyframes badgeBump{
  0%{transform:scale(1)}
  40%{transform:scale(1.35)}
  100%{transform:scale(1)}
}

/* fabNudge — el WhatsApp flotante invita al contacto cada 9s */
.fab{animation:fabNudge 9s ease-in-out infinite}
@keyframes fabNudge{
  0%,94%,100%{transform:rotate(0)}
  95%{transform:rotate(-7deg) scale(1.06)}
  96.5%{transform:rotate(6deg) scale(1.06)}
  98%{transform:rotate(-3deg)}
}
.fab:hover{animation:none}

/* addPop — pulso de éxito al añadir al pedido */
.added,.prod__add.added{animation:addPop .45s cubic-bezier(.4,0,.2,1)}
@keyframes addPop{
  0%{transform:scale(1)}
  35%{transform:scale(1.12)}
  70%{transform:scale(.97)}
  100%{transform:scale(1)}
}

@media (prefers-reduced-motion: reduce){
  .cart-btn__count.bump,.fab,.added,.prod__add.added{animation:none}
}

/* Sin scroll horizontal residual en ninguna página (drawers off-screen, etc.) */
html{overflow-x:clip}

/* ── ANNOUNCE EN MÓVIL — un solo mensaje, una sola línea ── */
@media(max-width:640px){
  .announce__in{gap:.6rem;padding-inline:14px 44px;font-size:11px;letter-spacing:.08em}
  .announce__in span{white-space:nowrap}
  .announce__in span:nth-of-type(2),.announce__dot{display:none}
  .announce__in span:first-of-type{overflow:hidden;text-overflow:ellipsis;min-width:0;flex-shrink:1}

  /* NAV compacto — el lockup completo + botón + burger no caben en 375px.
     Especificidad alta a propósito: logotype.css y los <style> de página
     cargan después y pisarían reglas simples. */
  .nav .logo-lockup .logo-lockup__stack{display:none}
  .nav .logo-lockup .logo-lockup__mono{font-size:21px}
  .nav .nav__right{gap:10px}
  .nav .nav__right .cart-btn{padding:.45rem .8rem;font-size:.68rem;gap:.35rem;letter-spacing:.04em}
}
