/* ============================================================
   Repuestos Andina — Template
   Type: Bricolage Grotesque (display) + Inter Tight (UI)
   Palette: warm cream, charcoal ink, patente yellow, brick CTA
   ============================================================ */

:root {
  /* core */
  --ink:        #1a1815;
  --ink-2:      #2c2924;
  --ink-3:      #5b554b;
  --paper:      #f7f3ec;
  --paper-2:    #efe9dd;
  --paper-3:    #e6dfcf;
  --white:      #fefcf7;

  /* accents */
  --plate:      #f5b800;        /* Chilean plate yellow */
  --plate-edge: #b88800;
  --brick:      #c43a1f;        /* CTA red */
  --brick-2:    #8e2810;
  --wa:         #25d366;
  --wa-2:       #1da851;

  /* status */
  --ok:         #2e7d32;
  --warn:       #b35900;

  /* radii / shadow */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --shadow-1: 0 1px 2px rgba(26,24,21,.06), 0 2px 6px rgba(26,24,21,.04);
  --shadow-2: 0 10px 30px -8px rgba(26,24,21,.18);
  --shadow-3: 0 22px 50px -16px rgba(26,24,21,.28);

  --maxw: 1280px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter Tight', system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* paper noise — very faint */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  opacity: .035;
  z-index: 1000;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ============ TYPOGRAPHY ============ */
.section-title {
  font-family: 'Bricolage Grotesque', serif;
  font-weight: 600;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
  text-wrap: pretty;
}
.eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
  padding: 4px 10px;
  border: 1px solid var(--paper-3);
  border-radius: 999px;
  background: var(--white);
}
.eyebrow--inv {
  color: rgba(247,243,236,.7);
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.12);
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn--wa  { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-2); transform: translateY(-1px); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #000; transform: translateY(-1px); }
.btn--brick { background: var(--brick); color: #fff; }
.btn--brick:hover { background: var(--brick-2); }
.btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--lg { padding: 14px 22px; font-size: 15px; border-radius: 999px; }

/* ============ ANNOUNCE BAR ============ */
.announce {
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
}
.announce__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 10px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}
.announce__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--plate);
  box-shadow: 0 0 0 4px rgba(245,184,0,.18);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .55; }
}
.announce__date {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  color: var(--plate);
}

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg, rgba(247,243,236,.85));
  color: var(--header-fg, inherit);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--paper-3);
}
.nav__links a { color: var(--header-fg, inherit); }
.nav__word1, .nav__word2 { color: var(--header-fg, inherit); }
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: nowrap;          /* nunca dejar que se rompa en 2 líneas */
}
.nav__brand {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
  min-width: 0;
}
.nav__wordmark {
  display: flex; flex-direction: column;
  line-height: 1;
}
.nav__word1 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.14em;
  color: var(--ink-3); text-transform: uppercase;
}
.nav__word2 {
  font-family: 'Bricolage Grotesque', serif;
  font-weight: 700; font-size: 20px;
  letter-spacing: -0.02em; color: var(--ink);
  margin-top: 1px;
}
.nav__links {
  display: flex; gap: 26px; margin-left: 12px;
  flex: 1;
}
.nav__links a {
  font-size: 14px; font-weight: 500;
  color: var(--ink-2);
  position: relative;
  padding: 6px 0;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--ink);
}
.nav__cta {
  display: flex; gap: 10px; align-items: center;
  margin-left: auto;          /* SIEMPRE a la derecha */
  flex-shrink: 0;
}
.nav__phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500; font-size: 13px;
  color: var(--ink-2);
}
.nav__phone:hover { color: var(--ink); }

/* Botón hamburguesa — oculto en desktop, visible en mobile */
.nav__hamburger {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: 8px;
  color: var(--ink);
  transition: background .15s;
  margin-right: 4px;
  flex-shrink: 0;
}
.nav__hamburger:hover { background: var(--paper-2); }
.nav__hamburger svg { display: block; }

/* Panel deslizable con los links — oculto por default, visible cuando .is-open */
.nav__mobile-panel {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 80%; max-width: 320px;
  background: var(--white);
  z-index: 200;
  padding: 70px 24px 24px;
  box-shadow: -8px 0 32px rgba(0,0,0,.15);
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column; gap: 4px;
}
.nav__mobile-panel.is-open { transform: translateX(0); }
.nav__mobile-panel a {
  font-size: 16px; font-weight: 500;
  color: var(--ink); padding: 12px 8px;
  border-bottom: 1px solid var(--paper-2);
  text-decoration: none;
}
.nav__mobile-panel a:hover { color: var(--brick); }
.nav__mobile-overlay {
  position: fixed; inset: 0;
  background: rgba(15,23,42,.4);
  z-index: 199;
  display: none;
}
.nav__mobile-overlay.is-open { display: block; }
.nav__mobile-close {
  position: absolute; top: 14px; right: 14px;
  background: transparent; border: 0; cursor: pointer;
  font-size: 24px; color: var(--ink);
  width: 40px; height: 40px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.nav__mobile-close:hover { background: var(--paper-2); }

@media (max-width: 880px) {
  .nav__links { display: none; }
  .nav__phone { display: none; }
  .nav__hamburger { display: inline-flex; }
  .nav__inner { padding: 10px 16px; gap: 8px; }
  /* Reducir tamaño del logo en mobile */
  .nav__brand img { max-height: 32px !important; max-width: 110px !important; }
  .nav__word2 { font-size: 17px; }
  /* WhatsApp button compacto en mobile */
  .nav__cta .btn--wa { padding: 7px 12px; font-size: 13px; }
}
@media (max-width: 480px) {
  .nav__cta .btn--wa { padding: 7px 10px; font-size: 12px; }
  .nav__cta .btn--wa svg { width: 14px; height: 14px; }
}

/* ============ HERO ============ */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 64px 28px 80px;
  position: relative;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero__pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white);
  border: 1px solid var(--paper-3);
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 500;
  box-shadow: var(--shadow-1);
}
.hero__pill-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(46,125,50,.18);
}
.hero__title {
  font-family: 'Bricolage Grotesque', serif;
  font-weight: 500;
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 18px 0 22px;
  color: var(--ink);
  text-wrap: balance;
}
.hero__title-em {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(180deg, transparent 65%, var(--plate) 65%, var(--plate) 92%, transparent 92%);
  padding: 0 4px;
}
.hero__title-em--alt {
  font-style: normal;
  background: none;
  position: relative;
  display: inline-block;
  color: var(--brick);
}
.hero__title-em--alt::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  height: 8px;
  background: var(--brick);
  opacity: .14;
  border-radius: 2px;
}
.hero__sub {
  font-size: 17px;
  color: var(--ink-3);
  max-width: 540px;
  margin: 0 0 28px;
  line-height: 1.55;
}
.hero__badges {
  display: flex; gap: 32px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero__badge {
  display: flex; flex-direction: column;
  border-left: 2px solid var(--ink);
  padding-left: 14px;
}
.hero__badge-num {
  font-family: 'Bricolage Grotesque', serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.05;
  color: var(--ink);
}
.hero__badge-lbl {
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: 4px;
}

/* hero right: video card */
.hero__right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 460px;
}
.plate {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  background: var(--plate);
  border-radius: 10px;
  padding: 14px 20px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  box-shadow:
    inset 0 0 0 3px #fff,
    inset 0 0 0 4px var(--plate-edge),
    0 8px 18px -4px rgba(26,24,21,.25);
  border: 2px solid var(--ink);
  gap: 14px;
}
.plate__country {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--plate);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 3px;
  align-self: stretch;
}
.plate__digits {
  font-size: 38px;
  letter-spacing: 0.04em;
  color: var(--ink);
  line-height: 1;
  display: flex; align-items: center;
}
.plate--small { padding: 8px 12px; }
.plate--small .plate__digits { font-size: 20px; }

.plate--stack {
  position: absolute;
  transition: transform .3s ease;
}
.plate--1 {
  top: 130px; left: 30px;
  transform: rotate(-7deg);
  z-index: 3;
}
.plate--2 {
  top: 70px; left: 110px;
  transform: rotate(4deg);
  z-index: 2;
  opacity: .9;
}
.plate--3 {
  top: 220px; left: 140px;
  transform: rotate(-2deg);
  z-index: 1;
  opacity: .75;
}
.hero__right:hover .plate--1 { transform: rotate(-7deg) translateY(-4px); }
.hero__right:hover .plate--2 { transform: rotate(4deg) translateY(-4px); }
.hero__right:hover .plate--3 { transform: rotate(-2deg) translateY(-4px); }

.anno {
  position: absolute;
  display: flex; align-items: center; gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.anno--a { top: 30px; left: 240px; }
.anno--b { bottom: 60px; left: 0; }

@media (max-width: 760px) {
  /* En mobile reordenamos: pill → título → sub → VIDEO → badges → cotizador */
  .hero__grid {
    display: flex;
    flex-direction: column;
    gap: 12px;                              /* gap más chico para que entre todo */
    align-items: stretch;
  }
  .hero__left  { display: contents; }
  .hero__right {
    display: block; order: 5; margin: 0;
    min-height: 0;          /* anula los 460px del desktop que dejaban espacio en blanco */
    padding: 0;
  }
  .hero__pill                       { order: 1; align-self: flex-start; }
  .hero__left .hero__title          {
    order: 2;
    font-size: clamp(1.85rem, 7vw, 2.4rem) !important;
    margin: 4px 0 4px !important;
    line-height: 1.04;
    text-wrap: balance;
  }
  .hero__left .hero__sub            {
    order: 3;
    margin: 0 0 -4px !important;
    font-size: 13.5px;
    line-height: 1.4;
  }
  #plateApp                         { order: 4; }
  #plateApp .ps-card                { margin-top: 0; padding: 14px 16px; }
  .ps-card__label                   { margin-bottom: 10px; font-size: 10.5px; }
  .hero__badges                     { order: 6; gap: 6px; flex-wrap: wrap; margin-top: 0; }
  .hero__badges .hero__badge        { flex: 1 1 calc(33% - 4px); min-width: 0; padding: 6px 4px; }
  .hero__badge-num                  { font-size: 15px; line-height: 1.1; }
  .hero__badge-lbl                  { font-size: 10px; line-height: 1.2; }
  .hero { padding: 16px 16px 28px; }       /* padding general más chico */
  /* Video: ratio adaptado a orientación */
  .hero-video--horizontal { aspect-ratio: 16/9; }
  .hero-video--vertical   { aspect-ratio: 9/16; max-width: 240px; }
  /* Si no hay video subido y se muestra el mapa, ocultar el mapa en mobile */
  .map-card { display: none; }
}
@media (max-width: 380px) {
  /* Pantallas muy chicas: comprimir aún más */
  .hero__left .hero__title          { font-size: 1.7rem !important; margin: 2px 0 4px !important; }
  .hero__left .hero__sub            { font-size: 12.5px; }
  .hero { padding: 12px 14px 24px; }
  .hero__grid { gap: 10px; }
}

/* ============ PLATE SEARCH ISLAND ============ */
.ps-card {
  margin-top: 32px;
  background: var(--white);
  border: 1px solid var(--paper-3);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: var(--shadow-2);
  position: relative;
  overflow: hidden;
}
.ps-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--plate) 0%, var(--plate) 70%, var(--ink) 70%, var(--ink) 100%);
}
.ps-card__label {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px;
}
.ps-card__hint {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.ps-card__hint strong { color: var(--ink); }
.ps-row {
  display: flex; gap: 10px; align-items: stretch;
}
.ps-plate {
  flex: 1;
  display: flex;
  align-items: stretch;
  background: var(--plate);
  border: 2px solid var(--ink);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 4px var(--plate-edge);
  height: 72px;
  position: relative;
}
.ps-plate__country {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: var(--ink);
  color: var(--plate);
  padding: 0 10px;
  margin: 6px 0 6px 6px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
}
.ps-plate__country small { font-size: 7px; opacity: .8; letter-spacing: 0; }
.ps-plate__input {
  flex: 1;
  background: transparent;
  border: 0; outline: 0;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: clamp(28px, 4.6vw, 38px);
  letter-spacing: 0.06em;
  color: var(--ink);
  text-transform: uppercase;
  padding: 0 14px;
  width: 100%;
}
.ps-plate__input::placeholder { color: rgba(26,24,21,.32); letter-spacing: 0.04em; }
.ps-btn {
  border: 0;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  font-size: 15px;
  padding: 0 24px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .15s ease, transform .15s ease;
}
.ps-btn:hover:not(:disabled) { background: var(--brick); transform: translateY(-1px); }
.ps-btn:disabled { opacity: .55; cursor: not-allowed; }
.ps-error {
  margin-top: 10px;
  font-size: 13px;
  color: var(--brick);
  display: flex; align-items: center; gap: 6px;
}

/* search results */
.ps-results {
  margin-top: 18px;
  border-top: 1px dashed var(--paper-3);
  padding-top: 16px;
}
.ps-loading {
  display: flex; align-items: center; gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--ink-3);
}
.ps-spin {
  width: 18px; height: 18px;
  border: 2px solid var(--paper-3);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.ps-vehicle {
  background: var(--paper-2);
  border-radius: var(--r);
  padding: 14px 16px;
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 14px;
  border: 1px solid var(--paper-3);
}
.ps-veh-icon {
  width: 44px; height: 44px;
  background: var(--ink);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--plate);
  flex-shrink: 0;
}
.ps-veh-info { flex: 1; min-width: 0; }
.ps-veh-name {
  font-family: 'Bricolage Grotesque', serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
  line-height: 1.15;
}
.ps-veh-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 4px;
  display: flex; gap: 10px; flex-wrap: wrap;
}
.ps-veh-meta span::before { content: "·"; margin-right: 10px; color: var(--paper-3); }
.ps-veh-meta span:first-child::before { content: ""; margin: 0; }

.ps-items-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 10px;
}
.ps-items-title strong { color: var(--ink); }
.ps-items {
  display: grid; gap: 8px;
}
.ps-item {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px; align-items: center;
  padding: 10px 12px;
  background: var(--white);
  border: 1px solid var(--paper-3);
  border-radius: var(--r);
  transition: border-color .15s ease, transform .15s ease;
  cursor: pointer;
}
.ps-item:hover { border-color: var(--ink); transform: translateY(-1px); }
.ps-item__thumb {
  width: 44px; height: 44px;
  background: var(--paper-2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-3);
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.06em;
  border: 1px solid var(--paper-3);
}
.ps-item__title {
  font-weight: 600; font-size: 14px;
  color: var(--ink);
}
.ps-item__sku {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.ps-item__price {
  font-family: 'Bricolage Grotesque', serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}

.ps-cta-row {
  margin-top: 14px;
  display: flex; gap: 10px; align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}
.ps-cta-row__note {
  font-size: 12.5px;
  color: var(--ink-3);
}
.ps-cta-row__note strong { color: var(--ok); }

/* ============ TRUST ============ */
.trust {
  background: var(--white);
  border-top: 1px solid var(--paper-3);
  border-bottom: 1px solid var(--paper-3);
}
.trust__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust__item {
  display: flex; align-items: center; gap: 14px;
}
.trust__icon {
  width: 44px; height: 44px;
  background: var(--paper);
  border-radius: 50%;
  position: relative;        /* base para centrado absoluto del SVG */
  color: #c43a1f;            /* brick-red, hace match con la patente del hero */
  border: 1px solid var(--paper-3);
  flex-shrink: 0;
  padding: 0;
  box-sizing: border-box;
}
.trust__icon svg {
  /* Centrado absoluto — inmune a line-height, baseline, whitespace, etc. */
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 22px; height: 22px;
  display: block;
}
.trust__item strong {
  display: block;
  font-weight: 600; font-size: 14.5px;
}
.trust__item span {
  display: block;
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: 2px;
}
@media (max-width: 880px) {
  .trust__inner { grid-template-columns: repeat(2, 1fr); }
}

/* ============ HOW IT WORKS ============ */
.how {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 96px 28px;
}
.how__head { margin-bottom: 56px; max-width: 720px; }
.how__steps {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.how__step {
  background: var(--white);
  border: 1px solid var(--paper-3);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex; flex-direction: column;
  position: relative;
  min-height: 380px;
}
.how__num {
  font-family: 'Bricolage Grotesque', serif;
  font-weight: 600;
  font-size: 56px;
  letter-spacing: -0.04em;
  color: var(--paper-3);
  line-height: 1;
  margin-bottom: 20px;
}
.how__step h3 {
  font-family: 'Bricolage Grotesque', serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--ink);
}
.how__step p {
  font-size: 14.5px;
  color: var(--ink-3);
  margin: 0 0 24px;
  line-height: 1.55;
}
.how__art {
  margin-top: auto;
  background: var(--paper);
  border-radius: var(--r);
  padding: 18px;
  border: 1px solid var(--paper-3);
}
.how__art--plate {
  display: flex; align-items: center; justify-content: center;
  padding: 26px 18px;
}
.how__art--list {
  display: flex; flex-direction: column; gap: 6px;
}
.how__row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 10px;
  background: var(--white);
  border-radius: 8px;
  font-size: 13px;
  border: 1px solid var(--paper-3);
}
.how__row em {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--ok);
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.how__row--off { opacity: .45; }
.how__row--off em { color: var(--brick); }
.how__art--ship {
  display: flex; flex-direction: column; gap: 4px;
}
.ship-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--paper-3);
}
.ship-row__lbl {
  font-family: 'JetBrains Mono', monospace;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.ship-row__state { font-weight: 600; color: var(--ink); }
.ship-row--ok { background: #f0f7e8; border-color: #cfe2b1; }
.ship-row--ok .ship-row__state { color: var(--ok); }

@media (max-width: 900px) {
  .how { padding: 64px 22px; }
  .how__steps { grid-template-columns: 1fr; }
  .how__step { min-height: 0; }
}
@media (max-width: 700px) {
  /* Carrusel horizontal con scroll snap en mobile */
  .how { padding: 48px 0; }
  .how__head { padding: 0 18px; margin-bottom: 28px; }
  .how__steps {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 6px 18px 16px;
    /* scrollbar discreta */
    scrollbar-width: thin;
    scrollbar-color: var(--paper-3) transparent;
  }
  .how__steps::-webkit-scrollbar { height: 6px; }
  .how__steps::-webkit-scrollbar-track { background: transparent; }
  .how__steps::-webkit-scrollbar-thumb { background: var(--paper-3); border-radius: 999px; }
  .how__step {
    flex: 0 0 82%;            /* 82% del ancho de pantalla → asoma el siguiente */
    max-width: 320px;
    scroll-snap-align: start;
    padding: 22px;
  }
  .how__step h3 { font-size: 17px; }
  .how__step p  { font-size: 13.5px; }
  /* Indicador visual de que se puede deslizar */
  .how__steps::after {
    content: "→ desliza →";
    flex: 0 0 auto;
    align-self: center;
    font-size: 11px;
    font-family: 'JetBrains Mono', monospace;
    color: var(--ink-3);
    opacity: .5;
    padding: 0 12px;
    pointer-events: none;
  }
}

/* ============ CATS ============ */
.cats {
  background: var(--white);
  border-top: 1px solid var(--paper-3);
  border-bottom: 1px solid var(--paper-3);
}
.cats {
  max-width: 100%;
  padding: 96px 28px;
}
.cats__head {
  max-width: var(--maxw);
  margin: 0 auto 56px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: end;
}
.cats__sub {
  font-size: 15px;
  color: var(--ink-3);
  margin: 0;
  line-height: 1.55;
}
.cats__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cat {
  background: var(--paper);
  border: 1px solid var(--paper-3);
  border-radius: var(--r-lg);
  padding: 22px;
  display: flex; flex-direction: column;
  min-height: 220px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  position: relative;
  overflow: hidden;
}
.cat:hover {
  transform: translateY(-3px);
  border-color: var(--ink);
  box-shadow: var(--shadow-2);
}
.cat__tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--plate);
  color: var(--ink);
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
  align-self: flex-start;
  font-weight: 700;
}
.cat__title {
  font-family: 'Bricolage Grotesque', serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  color: var(--ink);
}
.cat__desc {
  font-size: 13.5px;
  color: var(--ink-3);
  margin: 0 0 16px;
  line-height: 1.5;
}
.cat__placeholder {
  margin-top: auto;
  background:
    repeating-linear-gradient(
      45deg,
      var(--paper-2) 0 8px,
      var(--paper-3) 8px 9px
    );
  height: 100px;
  border-radius: var(--r);
  border: 1px dashed var(--paper-3);
  display: flex; align-items: center; justify-content: center;
}
.cat--feat {
  grid-row: span 2;
  grid-column: span 2;
  background: var(--ink);
  color: var(--paper);
  min-height: 460px;
}
.cat--feat .cat__title { color: var(--paper); font-size: 38px; }
.cat--feat .cat__desc { color: rgba(247,243,236,.7); font-size: 15px; max-width: 90%; }
.cat--feat .cat__placeholder {
  background:
    repeating-linear-gradient(45deg, #25221d 0 8px, #2e2a25 8px 9px);
  border-color: #3a3530;
  height: 280px;
}
.cat--feat .placeholder-label { color: rgba(247,243,236,.45); }

.placeholder-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
  background: var(--white);
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid var(--paper-3);
}

@media (max-width: 1000px) {
  .cats__grid { grid-template-columns: repeat(3, 1fr); }
  .cat--feat { grid-row: span 1; grid-column: span 3; min-height: 320px; }
}
@media (max-width: 700px) {
  .cats { padding: 64px 22px; }
  .cats__head { grid-template-columns: 1fr; gap: 14px; }
  .cats__grid { grid-template-columns: repeat(2, 1fr); }
  .cat--feat { grid-column: span 2; }
}

/* ============ FOUNDER ============ */
.founder {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 96px 28px;
}
.founder__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: center;
}
.founder__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, var(--paper-2) 0 14px, var(--paper-3) 14px 15px);
  border: 1px solid var(--paper-3);
}
.founder__photo {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.founder__stamp {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--plate);
  border: 3px solid var(--ink);
  border-radius: 50%;
  width: 130px; height: 130px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  transform: rotate(-8deg);
  box-shadow: var(--shadow-2);
}
.founder__stamp-year {
  font-family: 'Bricolage Grotesque', serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 1;
  color: var(--ink);
}
.founder__stamp-txt {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
  color: var(--ink);
  text-align: center;
  line-height: 1.2;
}
.founder__para {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 16px 0 22px;
  max-width: 560px;
}
.founder__list {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.founder__list li {
  font-size: 15px;
  color: var(--ink-2);
  position: relative;
  padding-left: 28px;
}
.founder__list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--plate);
  font-size: 11px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.founder__cta {
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
}
.founder__cta-note {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
@media (max-width: 900px) {
  .founder { padding: 64px 22px; }
  .founder__grid { grid-template-columns: 1fr; gap: 40px; }
  .founder__media { max-width: 360px; }
}

/* ============ MARCAS ============ */
.marcas {
  background: var(--ink);
  color: var(--paper);
  padding: 96px 28px;
}
.marcas__head {
  max-width: var(--maxw);
  margin: 0 auto 48px;
}
.marcas__head .section-title { color: var(--paper); }
.marcas__head .eyebrow {
  background: rgba(255,255,255,.04);
  color: rgba(247,243,236,.7);
  border-color: rgba(255,255,255,.12);
}
.marcas__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.marca-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  color: rgba(247,243,236,.85);
  transition: background .15s ease, color .15s ease, border-color .15s ease;
  cursor: default;
}
.marca-pill:hover {
  background: var(--plate);
  color: var(--ink);
  border-color: var(--plate);
}
@media (max-width: 700px) {
  .marcas { padding: 64px 22px; }
}

/* ============ TESTIMONIOS ============ */
.testi {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 96px 28px;
}
.testi__head { margin-bottom: 48px; }
.testi__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testi__card {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--paper-3);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex; flex-direction: column;
}
.testi__stars {
  color: var(--plate);
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 14px;
  -webkit-text-stroke: 0.5px var(--plate-edge);
}
.testi__card blockquote {
  font-family: 'Bricolage Grotesque', serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}
.testi__card figcaption {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--paper-3);
}
.testi__card figcaption strong {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}
.testi__card figcaption span {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-3);
  margin-top: 4px;
  letter-spacing: 0.04em;
}
@media (max-width: 900px) {
  .testi { padding: 64px 22px; }
  .testi__grid { grid-template-columns: 1fr; }
}

/* ============ FAQ ============ */
.faq {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px 96px;
}
.faq__head { margin-bottom: 40px; }
.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}
.faq-item {
  border-bottom: 1px solid var(--paper-3);
}
.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
  padding: 20px 0;
  display: grid;
  grid-template-columns: 36px 1fr 32px;
  gap: 14px;
  align-items: center;
}
.faq-q__idx {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  font-weight: 500;
}
.faq-q__txt {
  font-family: 'Bricolage Grotesque', serif;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.faq-q__icn {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--paper-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  font-size: 18px;
  font-weight: 500;
  transition: background .15s ease, transform .15s ease;
}
.faq-item.is-open .faq-q__icn {
  background: var(--ink);
  color: var(--plate);
  transform: rotate(45deg);
}
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a__inner {
  overflow: hidden;
  padding-left: 50px;
}
.faq-a p {
  margin: 0 0 20px;
  font-size: 14.5px;
  color: var(--ink-3);
  line-height: 1.6;
  max-width: 540px;
}
@media (max-width: 800px) {
  .faq__grid { grid-template-columns: 1fr; }
}

/* ============ FINALE ============ */
.finale {
  background: var(--ink);
  color: var(--paper);
  padding: 80px 28px;
}
.finale__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: end;
}
.finale__title {
  font-family: 'Bricolage Grotesque', serif;
  font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 14px 0 18px;
}
.finale__sub {
  color: rgba(247,243,236,.7);
  font-size: 16px;
  margin: 0;
  max-width: 480px;
}
.finale__actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  justify-content: flex-end;
}
.finale .btn--ink {
  background: var(--plate);
  color: var(--ink);
}
.finale .btn--ink:hover { background: #ffd33a; }
@media (max-width: 800px) {
  .finale { padding: 64px 22px; }
  .finale__inner { grid-template-columns: 1fr; }
  .finale__actions { justify-content: flex-start; }
}

/* ============ FOOTER ============ */
.foot {
  background: var(--paper);
  border-top: 1px solid var(--paper-3);
  padding: 60px 28px 24px;
}
.foot__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--paper-3);
}
.foot__col h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 16px;
  font-weight: 700;
}
.foot__col a {
  display: block;
  font-size: 14px;
  color: var(--ink-2);
  padding: 4px 0;
}
.foot__col a:hover { color: var(--ink); }
.foot__brand {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.foot__brand strong {
  display: block;
  font-family: 'Bricolage Grotesque', serif;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.foot__brand span {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.foot__about {
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.55;
  max-width: 320px;
  margin: 0;
}
.foot__legal {
  max-width: var(--maxw);
  margin: 24px auto 0;
  display: flex; justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}
@media (max-width: 900px) {
  .foot__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot__legal { flex-direction: column; gap: 6px; }
}

/* ============ MAP CARD (hero right) ============ */
.map-card {
  background: var(--white);
  border: 1px solid var(--paper-3);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-3);
  width: 100%;
  max-width: 460px;
  position: relative;
  transform: rotate(0.3deg);
}
.map-card::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--plate) 0%, transparent 30%, transparent 70%, var(--ink) 100%);
  opacity: 0.05;
  pointer-events: none;
  z-index: 3;
}
.map-card__chrome {
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--paper-3);
  background: var(--white);
  position: relative;
  z-index: 2;
}
.map-card__eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: block;
  margin-bottom: 4px;
}
.map-card__chrome strong {
  font-family: 'Bricolage Grotesque', serif;
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: block;
  line-height: 1.1;
}
.map-card__sub {
  display: block;
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: 4px;
  line-height: 1.4;
}
.map-card__viz {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--paper-2);
  overflow: hidden;
}
.map-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}
.map-card__stat {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 14px;
  border-radius: 10px;
  box-shadow: var(--shadow-2);
  text-align: left;
  z-index: 2;
}
.map-card__stat-num {
  font-family: 'Bricolage Grotesque', serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  color: var(--plate);
  display: block;
}
.map-card__stat-lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247,243,236,0.7);
  margin-top: 4px;
  display: block;
}
.map-card__legend {
  position: absolute;
  bottom: 14px; left: 14px;
  display: flex; gap: 14px;
  z-index: 2;
}
.map-card__legend span {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(247,243,236,0.92);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid var(--paper-3);
  padding: 5px 10px;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}
.map-card__legend i {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
}

/* pulse ring on pin */
.map-svg circle[fill="#c43a1f"] { transform-origin: center; }
@keyframes map-pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ============ SERVICIOS (v1.13.1) ============ */
.servicios {
  max-width: 100%;
  background: var(--paper);
  padding: 96px 28px;
  border-top: 1px solid var(--paper-3);
}
.servicios__head {
  max-width: var(--maxw);
  margin: 0 auto 36px;
}
.servicios__sub {
  font-size: 15px;
  color: var(--ink-3);
  margin: 14px 0 0;
  line-height: 1.55;
  max-width: 620px;
}
.servicios__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.svc-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--paper-3);
  border-radius: 14px;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  transition: border-color .2s, box-shadow .2s, transform .15s;
}
.svc-card:hover {
  border-color: var(--ink);
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  transform: translateY(-2px);
}
.svc-card__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.svc-card__title {
  font-family: var(--font-display, var(--font-sans));
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
  line-height: 1.3;
}
.svc-card__desc {
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.5;
  margin: 0 0 16px;
  flex: 1;
}
.svc-card__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 0 0;
  border-top: 1px dashed var(--paper-3);
}
.svc-card__price {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  font-family: var(--font-mono, var(--font-sans));
  letter-spacing: -.01em;
}
.svc-card__from {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-family: var(--font-sans);
  margin-right: 4px;
  vertical-align: 3px;
  opacity: .75;
}
.svc-card__dur {
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 500;
  display: inline-flex; align-items: center;
}
/* Responsive: 2 columnas en móvil (v1.13.2) */
@media (max-width: 700px) {
  .servicios { padding: 64px 18px; }
  .servicios__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .svc-card { padding: 20px 16px 18px; }
  .svc-card__icon { width: 36px; height: 36px; margin-bottom: 12px; border-radius: 10px; }
  .svc-card__icon svg { width: 18px; height: 18px; }
  .svc-card__title { font-size: 14.5px; line-height: 1.25; }
  .svc-card__desc { font-size: 12px; line-height: 1.45; margin-bottom: 12px; }
  .svc-card__price { font-size: 16px; }
  .svc-card__dur { font-size: 11px; }
  .svc-card__meta { flex-direction: column; align-items: flex-start; gap: 4px; padding-top: 10px; }
}
@media (max-width: 400px) {
  .svc-card { padding: 16px 12px 14px; }
  .svc-card__title { font-size: 13.5px; }
  .svc-card__price { font-size: 15px; }
}

/* ============ CATÁLOGO ============ */
.catalog {
  max-width: 100%;
  background: var(--white);
  border-top: 1px solid var(--paper-3);
  border-bottom: 1px solid var(--paper-3);
  padding: 96px 28px;
}
.catalog__head {
  max-width: var(--maxw);
  margin: 0 auto 36px;
}
.catalog__sub {
  font-size: 15px;
  color: var(--ink-3);
  margin: 14px 0 0;
  line-height: 1.55;
  max-width: 620px;
}
.catalog__app {
  max-width: var(--maxw);
  margin: 0 auto;
}
.catalog__toolbar {
  display: flex; gap: 12px;
  margin-bottom: 16px;
}
.catalog__search {
  flex: 1;
  background: var(--paper);
  border: 1px solid var(--paper-3);
  border-radius: var(--r);
  padding: 4px 4px 4px 14px;
  display: flex; align-items: center; gap: 10px;
  transition: border-color .15s ease;
}
.catalog__search:focus-within {
  border-color: var(--ink);
  background: var(--white);
}
.catalog__search svg { color: var(--ink-3); flex-shrink: 0; }
.catalog__search input {
  flex: 1;
  background: transparent;
  border: 0; outline: 0;
  padding: 12px 4px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
}
.catalog__search input::placeholder { color: var(--ink-3); }
.catalog__search-clear {
  background: var(--paper-3);
  border: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--ink-2);
}
.catalog__sort {
  background: var(--paper);
  border: 1px solid var(--paper-3);
  border-radius: var(--r);
  padding: 0 14px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
  outline: none;
}
.catalog__cats {
  display: flex; gap: 8px;
  margin-bottom: 18px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.catalog__cats::-webkit-scrollbar { display: none; }
.catalog__cat {
  background: transparent;
  border: 1px solid var(--paper-3);
  padding: 8px 14px;
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.catalog__cat:hover { background: var(--paper); }
.catalog__cat.is-active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.catalog__cat-n {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  background: var(--paper-2);
  color: var(--ink-3);
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}
.catalog__cat.is-active .catalog__cat-n {
  background: rgba(255,255,255,.12);
  color: var(--plate);
}
.catalog__meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--paper-2);
}
.catalog__meta strong { color: var(--ink); }
.catalog__empty {
  padding: 60px 20px;
  text-align: center;
  color: var(--ink-3);
}
.catalog__empty button {
  background: transparent; border: 0; padding: 0;
  color: var(--ink); text-decoration: underline;
  font: inherit; cursor: pointer;
}

.catalog__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) { .catalog__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px)  { .catalog__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 500px)  { .catalog__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
@media (max-width: 360px)  { .catalog__grid { grid-template-columns: 1fr; } }

.prod {
  background: var(--paper);
  border: 1px solid var(--paper-3);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.prod:hover {
  transform: translateY(-3px);
  border-color: var(--ink);
  box-shadow: var(--shadow-2);
}
.prod__media {
  position: relative;
  aspect-ratio: 1.1 / 1;
  background:
    repeating-linear-gradient(45deg, var(--paper-2) 0 8px, var(--paper-3) 8px 9px);
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--paper-3);
}
.prod__art { display: flex; align-items: center; justify-content: center; }
.prod__tag {
  position: absolute; top: 10px; left: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--white);
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid var(--paper-3);
  color: var(--ink-2);
  font-weight: 600;
}
.prod__stock {
  position: absolute; top: 10px; right: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: var(--brick);
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
}
.prod__body {
  padding: 14px 16px 16px;
  display: flex; flex-direction: column;
  flex: 1;
}
.prod__brand {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.prod__title {
  font-family: 'Bricolage Grotesque', serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 6px;
  /* clamp to 2 lines */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
}
.prod__desc {
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.45;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.prod__foot {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
}
.prod__price {
  font-family: 'Bricolage Grotesque', serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
}
.prod__add {
  background: var(--ink);
  color: var(--paper);
  border: 0;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background .15s ease, transform .15s ease;
}
.prod__add:hover { background: var(--brick); }
.prod__add.is-added {
  background: var(--ok);
  cursor: default;
}

/* Compactar tarjeta cuando hay 2 columnas en móvil (≤500px) */
@media (max-width: 500px) {
  .prod__body  { padding: 10px 12px 12px; }
  .prod__title { font-size: 13px; min-height: 2.2em; margin-bottom: 4px; }
  .prod__brand { font-size: 9px; margin-bottom: 4px; }
  .prod__desc  { font-size: 11px; margin: 0 0 10px; }
  .prod__price { font-size: 15px; }
  .prod__add   { padding: 6px 10px; font-size: 11.5px; gap: 4px; }
  .prod__tag, .prod__stock { font-size: 9px; padding: 3px 6px; top: 6px; }
  .prod__tag   { left: 6px; }
  .prod__stock { right: 6px; }
  .prod__foot  { gap: 6px; flex-wrap: wrap; }
}

@media (max-width: 700px) {
  .catalog { padding: 64px 22px; }
  .catalog__toolbar { flex-direction: column; }
}

/* ============ CART DRAWER ============ */
.cart-back {
  position: fixed; inset: 0;
  background: rgba(26,24,21,.4);
  backdrop-filter: blur(2px);
  z-index: 80;
  animation: fadein .2s ease;
}
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 440px;
  max-width: 100vw;
  background: var(--paper);
  z-index: 90;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.6,.05,.2,1);
  display: flex; flex-direction: column;
  box-shadow: -12px 0 30px -10px rgba(0,0,0,.2);
}
.cart-drawer.is-open { transform: translateX(0); }
.cart-drawer__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 24px;
  border-bottom: 1px solid var(--paper-3);
}
.cart-drawer__title {
  font-family: 'Bricolage Grotesque', serif;
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.02em;
  margin: 8px 0 0;
}
.cart-drawer__close {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 0;
  background: var(--paper-2);
  color: var(--ink);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease;
}
.cart-drawer__close:hover { background: var(--paper-3); }

.cart-drawer__body { flex: 1; overflow-y: auto; padding: 14px 20px; }
.cart-drawer__empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-3);
}
.cart-drawer__empty-icn {
  width: 72px; height: 72px;
  margin: 0 auto 16px;
  background: var(--white);
  border: 1px solid var(--paper-3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-3);
}
.cart-drawer__empty p { margin: 0 0 22px; font-size: 14.5px; line-height: 1.55; }

.cart-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.cart-row {
  background: var(--white);
  border: 1px solid var(--paper-3);
  border-radius: var(--r);
  padding: 12px;
  display: grid;
  grid-template-columns: 60px 1fr 20px;
  gap: 12px;
  position: relative;
}
.cart-row__thumb {
  width: 60px; height: 60px;
  background: var(--paper-2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--paper-3);
  overflow: hidden;
  flex-shrink: 0;
}
.cart-row__thumb img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  padding: 4px;
  box-sizing: border-box;
}
.cart-row__thumb span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  text-transform: uppercase;
  text-align: center;
}
.cart-row__info { min-width: 0; }
.cart-row__title {
  font-weight: 600;
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cart-row__sku {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
/* v1.12.8 — Item de servicio */
.cart-row--svc { background: #fff7ed !important; border-left: 3px solid #f59e0b; }
.cart-row__thumb--svc { background: #fde68a !important; }
.cart-row__thumb--svc span { font-size: 24px !important; font-family: inherit !important; }
.cart-row__badge {
  display: inline-block; margin-left: 6px; padding: 2px 7px;
  background: #f59e0b; color: #fff; font-size: 9px; font-weight: 800;
  letter-spacing: .08em; border-radius: 99px; vertical-align: middle;
}
.cart-row__bottom {
  display: flex; justify-content: space-between; align-items: center;
}
.cart-qty {
  display: inline-flex;
  background: var(--paper);
  border: 1px solid var(--paper-3);
  border-radius: 999px;
  align-items: center;
}
.cart-qty button {
  width: 26px; height: 26px;
  background: transparent;
  border: 0; cursor: pointer;
  font-size: 16px;
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background .15s ease;
}
.cart-qty button:hover { background: var(--paper-3); }
.cart-qty span {
  min-width: 24px;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 13px;
}
.cart-row__price {
  font-family: 'Bricolage Grotesque', serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}
.cart-row__rm {
  position: absolute;
  top: 10px; right: 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--ink-3);
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 4px;
  transition: background .15s ease, color .15s ease;
}
.cart-row__rm:hover { background: var(--paper-2); color: var(--brick); }

.cart-drawer__foot {
  border-top: 1px solid var(--paper-3);
  padding: 18px 24px 24px;
  background: var(--white);
  display: flex; flex-direction: column; gap: 12px;
}
.cart-foot__ship {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px;
  color: var(--ok);
  background: #f0f7e8;
  padding: 10px 12px;
  border-radius: 8px;
}
.cart-foot__ship strong { color: var(--ok); }
.cart-foot__total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 4px;
}
.cart-foot__total span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.cart-foot__total strong {
  font-family: 'Bricolage Grotesque', serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.cart-foot__pay {
  justify-content: center;
  width: 100%;
}
.cart-foot__clear {
  background: transparent;
  border: 0;
  font: inherit; font-size: 12px;
  color: var(--ink-3);
  cursor: pointer;
  text-decoration: underline;
  padding: 4px;
}
.cart-foot__clear:hover { color: var(--brick); }

/* ============ FLOATING CART BUTTON ============ */
.float-cart {
  position: fixed;
  bottom: 22px; right: 96px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px -8px rgba(26,24,21,.5), 0 2px 6px rgba(0,0,0,.18);
  z-index: 40;
  transition: transform .2s ease;
}
.float-cart:hover { transform: translateY(-3px); }
.float-cart__badge {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 22px; height: 22px;
  border-radius: 999px;
  background: var(--plate);
  color: var(--ink);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 11px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 6px;
  border: 2px solid var(--paper);
  animation: pop .25s ease;
}
@keyframes pop {
  0% { transform: scale(0.6); }
  60% { transform: scale(1.18); }
  100% { transform: scale(1); }
}

/* ============ COTIZACIÓN MODAL ============ */
.cotz-back {
  position: fixed; inset: 0;
  background: rgba(26,24,21,.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadein .2s ease;
}
.cotz {
  background: var(--paper);
  border-radius: var(--r-xl);
  width: 100%;
  max-width: 1080px;
  max-height: calc(100vh - 40px);
  overflow: hidden;
  box-shadow: 0 30px 80px -10px rgba(0,0,0,.4);
  display: grid;
  grid-template-columns: 360px 1fr;
  animation: cotz-in .3s cubic-bezier(.5,.05,.2,1);
  position: relative;
}
@keyframes cotz-in {
  from { transform: translateY(20px) scale(0.97); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.cotz__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 0;
  background: rgba(247,243,236,0.92);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--ink);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 5;
  transition: background .15s ease;
}
.cotz__close:hover { background: var(--paper); }

/* LEFT side — map + address */
.cotz__map {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column;
  padding: 36px 32px;
}
.cotz__map .map-svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0.5;
  color: var(--paper) !important;
}
.cotz__map .map-svg [stroke="#1a1815"],
.cotz__map .map-svg path[fill="#1a1815"] { stroke: var(--paper); fill: var(--paper); }
.cotz__map .map-svg text { fill: var(--paper) !important; }
.cotz__map .map-svg circle[fill="#1a1815"] { fill: var(--paper); }
.cotz__map .map-svg circle[fill="#c43a1f"] { fill: var(--plate); stroke: var(--ink); }
.cotz__map .map-svg circle[fill="#fefcf7"] { fill: var(--ink); }

.cotz__map-content {
  position: relative;
  z-index: 2;
  display: flex; flex-direction: column;
  height: 100%;
}
.cotz__map-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--plate);
  margin-bottom: 12px;
}
.cotz__map-title {
  font-family: 'Bricolage Grotesque', serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin: 0 0 14px;
}
.cotz__map-veh {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r);
  padding: 14px 16px;
  margin-bottom: 18px;
}
.cotz__map-veh-name {
  font-family: 'Bricolage Grotesque', serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.cotz__map-veh-plate {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  background: var(--plate);
  border: 2px solid var(--paper);
  border-radius: 6px;
  padding: 4px 10px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  letter-spacing: 0.06em;
  box-shadow: inset 0 0 0 2px var(--paper);
}
.cotz__map-veh-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(247,243,236,.7);
  margin-top: 8px;
  display: flex; gap: 8px; flex-wrap: wrap;
}
.cotz__map-veh-meta span::before { content: "·"; margin-right: 8px; opacity: .4; }
.cotz__map-veh-meta span:first-child::before { content: ""; margin: 0; }

.cotz__map-address {
  margin-top: auto;
  font-size: 13px;
  color: rgba(247,243,236,.75);
  line-height: 1.5;
}
.cotz__map-address strong {
  display: block;
  color: var(--paper);
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 14px;
}

/* RIGHT side — form */
.cotz__form {
  overflow-y: auto;
  padding: 32px 36px 32px;
  background: var(--paper);
}
.cotz__step-title {
  font-family: 'Bricolage Grotesque', serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 14px;
  display: flex; align-items: center; gap: 10px;
}
.cotz__step-title::before {
  content: counter(step) ".";
  counter-increment: step;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  background: var(--white);
  border: 1px solid var(--paper-3);
  padding: 3px 8px;
  border-radius: 999px;
}
.cotz__form { counter-reset: step; }

.cotz__section { margin-bottom: 24px; }

/* Bujías cards */
.bujias-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 4px 12px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--paper-3) transparent;
  margin: 0 -4px;
}
.bujias-scroll::-webkit-scrollbar { height: 6px; }
.bujias-scroll::-webkit-scrollbar-thumb { background: var(--paper-3); border-radius: 3px; }

.bujia {
  flex: 0 0 150px;
  background: var(--white);
  border: 1px solid var(--paper-3);
  border-top: 3px solid var(--bujia-color, var(--ink));
  border-radius: var(--r);
  padding: 14px 12px 12px;
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.bujia:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}
.bujia__icon {
  width: 32px; height: 56px;
  margin: 0 auto 8px;
  display: flex; align-items: center; justify-content: center;
}
.bujia__name {
  font-family: 'Bricolage Grotesque', serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-align: center;
  margin: 0 0 4px;
}
.bujia__desc {
  font-size: 11.5px;
  color: var(--ink-3);
  text-align: center;
  line-height: 1.35;
  margin: 0 0 10px;
  min-height: 2.7em;
}
.bujia__km {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 5px 8px;
  border-radius: 4px;
  background: var(--bujia-bg, var(--paper-2));
  color: var(--bujia-color, var(--ink));
  margin-top: auto;
}

.bujia--cobre   { --bujia-color: #c66e26; --bujia-bg: #fbeede; }
.bujia--platino { --bujia-color: #4a72c0; --bujia-bg: #e3edff; }
.bujia--doble   { --bujia-color: #c43a1f; --bujia-bg: #fde6e0; }
.bujia--niquel  { --bujia-color: #2a9889; --bujia-bg: #dff3ef; }
.bujia--iridium { --bujia-color: #7a3ec2; --bujia-bg: #efe5fb; }

/* Form fields */
.cotz__field {
  display: block;
  margin-bottom: 10px;
}
.cotz__field-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 4px;
  display: block;
}
.cotz__input {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--paper-3);
  border-radius: var(--r);
  padding: 12px 14px;
  font: inherit;
  font-size: 14.5px;
  color: var(--ink);
  outline: 0;
  transition: border-color .15s ease;
}
.cotz__input:focus { border-color: var(--ink); }
.cotz__input::placeholder { color: var(--ink-3); }

.cotz__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  margin-bottom: 6px;
}
.cotz__row .cotz__field-num {
  width: 28px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper-2);
  border-radius: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-3);
}
.cotz__row-rm {
  background: transparent;
  border: 0;
  cursor: pointer;
  width: 32px; height: 44px;
  font-size: 18px; line-height: 1;
  color: #dc2626;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
  flex-shrink: 0;
}
.cotz__row-rm:hover { background: #fef2f2; }

/* v1.12 — Chips de servicios + autocomplete repuestos */
.cotz__svc-grid {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 6px;
}
.cotz__svc-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: var(--paper, #fff);
  border: 1.5px solid var(--paper-3, #e6dfcf);
  border-radius: 12px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink, #1a1815);
  cursor: pointer;
  transition: background .15s, border-color .15s, transform .1s;
}
.cotz__svc-chip:hover { background: var(--paper-2, #efe9dd); border-color: var(--ink, #1a1815); }
.cotz__svc-chip.is-on {
  background: var(--ink, #1a1815);
  color: var(--paper, #fff);
  border-color: var(--ink, #1a1815);
}
.cotz__svc-chip.is-on .cotz__svc-price { color: rgba(255,255,255,.85); }
.cotz__svc-name  { font-weight: 600; }
.cotz__svc-price { font-size: 12px; font-weight: 700; color: var(--brick, #c43a1f); }
.cotz__svc-check { font-weight: 800; }

.cotz__suggest {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 50;
  background: #fff; border: 1px solid var(--paper-3, #e6dfcf);
  border-top: none; border-radius: 0 0 8px 8px;
  max-height: 220px; overflow-y: auto;
  box-shadow: 0 6px 14px rgba(0,0,0,.06);
}
.cotz__suggest-item {
  padding: 8px 14px; cursor: pointer; font-size: 13.5px; color: var(--ink, #1a1815);
}
.cotz__suggest-item:hover { background: var(--paper-2, #efe9dd); }

.cotz__phone-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: stretch;
}
.cotz__phone-prefix {
  display: flex; align-items: center; gap: 6px;
  padding: 0 12px;
  background: var(--white);
  border: 1px solid var(--paper-3);
  border-radius: var(--r);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 14px;
}
.cotz__phone-prefix svg { width: 18px; height: 14px; }

.cotz__submit {
  width: 100%;
  margin-top: 8px;
  background: var(--brick);
  color: var(--paper);
  border: 0;
  padding: 16px;
  border-radius: var(--r);
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: background .15s ease, transform .15s ease;
  letter-spacing: -0.005em;
}
.cotz__submit:hover { background: var(--brick-2); }
.cotz__submit:disabled { opacity: 0.5; cursor: not-allowed; }

.cotz__note {
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  margin-top: 12px;
}
.cotz__note strong { color: var(--ok); }

/* Success state */
.cotz__done {
  text-align: center;
  padding: 40px 24px;
}
.cotz__done-icn {
  width: 72px; height: 72px;
  background: var(--ok);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  margin: 0 auto 18px;
  animation: pop .3s ease;
}
.cotz__done h3 {
  font-family: 'Bricolage Grotesque', serif;
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.cotz__done p {
  font-size: 14.5px;
  color: var(--ink-3);
  line-height: 1.5;
  margin: 0 auto 20px;
  max-width: 360px;
}

@media (max-width: 820px) {
  .cotz-back { padding: 10px; align-items: flex-start; padding-top: 30px; }
  .cotz { grid-template-columns: 1fr; max-height: calc(100vh - 40px); overflow-y: auto; }
  .cotz__map { padding: 20px; min-height: auto; max-height: 200px; }
  .cotz__form { padding: 18px 20px; }
  .cotz__map-address { display: none; }
  .cotz__map .map-svg { max-height: 140px; }
  .cotz__map-title { font-size: 18px; }
  .cotz__map-veh-name { font-size: 16px; }
  .cotz__map-veh-plate { font-size: 22px; }
  .cotz__step-title { font-size: 14px; }
  .cotz__close { width: 32px; height: 32px; top: 10px; right: 10px; z-index: 10; }
}
@media (max-width: 560px) {
  .cotz-back { padding: 0; padding-top: 0; }
  .cotz { border-radius: 0; max-height: 100vh; height: 100vh; max-width: 100%; }
  .cotz__map { display: none; }                  /* sin mapa lateral en pantallas muy chicas */
  .cotz__form { padding: 50px 16px 24px; }       /* deja espacio para el botón close */
  .cotz__section { margin-bottom: 18px; }
  .cotz__row { gap: 6px; }
  .cotz__input { padding: 10px 12px; font-size: 14px; }
  .cotz__submit { padding: 12px 18px; font-size: 14px; }
  /* Popup de producto (también usa .cotz): grid imagen+info en mobile va a 1 columna */
  .cotz__form > div[style*="grid-template-columns: 200px 1fr"] {
    grid-template-columns: 1fr !important;
    text-align: center;
  }
  .cotz__form > div[style*="grid-template-columns: 200px 1fr"] > div:first-child {
    max-width: 200px;
    margin: 0 auto;
  }
  /* Tabla de aplicaciones más compacta */
  .cotz__form table { font-size: 12px; }
  .cotz__form table th, .cotz__form table td { padding: 7px 8px !important; }
}

/* ============ CATALOG VEHICLE FILTERS ============ */
.catalog__vfilters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 14px;
  background: var(--paper-2);
  border: 1px solid var(--paper-3);
  border-radius: 12px;
  margin: 12px 0 16px;
}
.catalog__vfilters-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  margin-right: 4px;
}
.catalog__vfilters select,
.catalog__vfilters input {
  border: 1px solid var(--paper-3);
  background: var(--white);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 13px;
  font-family: inherit;
  color: var(--ink);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  min-width: 110px;
}
.catalog__vfilters select:focus,
.catalog__vfilters input:focus {
  border-color: var(--brick);
  box-shadow: 0 0 0 3px rgba(196,58,31,.12);
}
.catalog__vfilters select:disabled { opacity: .5; cursor: not-allowed; }
.catalog__vfilters-clear {
  background: transparent;
  border: 1px solid var(--brick);
  color: var(--brick);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  margin-left: auto;
  transition: background .15s, color .15s;
}
.catalog__vfilters-clear:hover { background: var(--brick); color: #fff; }
@media (max-width: 700px) {
  .catalog__vfilters { padding: 10px; gap: 6px; }
  .catalog__vfilters-label { width: 100%; margin-bottom: 4px; }
  .catalog__vfilters select,
  .catalog__vfilters input { flex: 1 1 calc(50% - 4px); min-width: 0; font-size: 12.5px; padding: 7px 9px; }
  .catalog__vfilters-clear { width: 100%; margin: 6px 0 0 0; padding: 7px; }
}

/* ============ ANNOUNCE: DIRECCIÓN CLICKEABLE ============ */
.announce__addr {
  background: transparent;
  border: 0;
  cursor: pointer;
  color: inherit;
  font: inherit;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  transition: background .15s;
}
.announce__addr:hover { background: rgba(255,255,255,.12); }
.announce__addr strong { font-weight: 600; }

/* Popup con mapa */
.addr-back {
  position: fixed; inset: 0; background: rgba(15,23,42,.6);
  display: none; align-items: center; justify-content: center;
  z-index: 9999; padding: 16px;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  animation: fadein .2s ease;
}
.addr-back.is-open { display: flex; }
.addr-modal {
  background: var(--white);
  border-radius: 20px;
  width: 100%; max-width: 560px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,.3);
  animation: cotz-in .25s cubic-bezier(.5,.05,.2,1);
  display: flex; flex-direction: column;
}
.addr-close {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.92);
  border: 0; cursor: pointer;
  font-size: 18px; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  z-index: 2;
  transition: background .15s;
}
.addr-close:hover { background: #fff; }
.addr-header { padding: 22px 24px 16px; }
.addr-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: .14em;
  color: var(--brick); text-transform: uppercase;
  font-weight: 700;
}
.addr-title {
  font-family: 'Bricolage Grotesque', serif;
  font-size: 22px; font-weight: 700;
  color: var(--ink); margin: 6px 0 4px;
  letter-spacing: -.01em;
}
.addr-line {
  font-size: 14.5px; color: var(--ink-2);
  margin: 0;
}
.addr-map {
  width: 100%; height: 320px; border: 0;
  display: block; background: #e5e7eb;
}
.addr-footer {
  padding: 16px 24px; display: flex; gap: 10px;
  border-top: 1px solid var(--paper-3);
  background: var(--paper);
}
@media (max-width: 600px) {
  .addr-back { padding: 0; align-items: flex-end; }
  .addr-modal { max-width: 100%; border-radius: 20px 20px 0 0; }
  .addr-map { height: 280px; }
}

/* ============ HERO VIDEO ============ */
.hero-video {
  position: relative;
  border-radius: 28px;            /* coherente con la estética de pill rounded */
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #000;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.hero-video--horizontal {
  /* 16:9 para videos horizontales */
  aspect-ratio: 16 / 9;
  width: 100%;
}
.hero-video--vertical {
  /* 9:16 para videos verticales (formato reel/short) */
  aspect-ratio: 9 / 16;
  max-width: 380px;
  margin: 0 auto;
  width: 100%;
}
.hero-video video {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-video__btn {
  position: absolute;
  bottom: 14px; left: 14px;
  display: inline-flex;
  align-items: center; gap: 8px;
  padding: 9px 16px 9px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .58);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  border: 0;
  font-family: inherit;
  font-size: 12.5px; font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.hero-video__btn:hover { background: rgba(0, 0, 0, .75); transform: scale(1.03); }
.hero-video__btn-icon { font-size: 16px; line-height: 1; }
.hero-video.is-playing-with-audio .hero-video__btn-label { display: none; }
.hero-video.is-paused .hero-video__btn-label::before { content: 'Pausado · '; }
@media (max-width: 600px) {
  .hero-video__btn { font-size: 11px; padding: 7px 12px 7px 10px; bottom: 10px; left: 10px; }
}

/* ============ FLOATING CATALOG ============ */
.float-catalog {
  position: fixed;
  bottom: 22px; right: 170px;
  height: 60px; padding: 0 22px;
  border-radius: 999px;
  background: var(--brick, #c43a1f);
  color: #fff;
  border: 0;
  cursor: pointer;
  display: flex; align-items: center; gap: 8px;
  font-family: inherit;
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 30px -8px rgba(196,58,31,.55), 0 2px 6px rgba(0,0,0,.18);
  z-index: 40;
  transition: transform .2s ease, background .15s;
}
.float-catalog:hover { transform: translateY(-3px); background: #a32d18; }
.float-catalog svg { display: block; }
@media (max-width: 600px) {
  /* En mobile los 3 botones flotantes iguales y alineados horizontalmente:
     Catálogo — Cart — WhatsApp (de izq a der), todos circulares 54x54 */
  .float-wa,
  .float-cart,
  .float-catalog {
    width: 54px !important;
    height: 54px !important;
    bottom: 14px !important;
    border-radius: 50% !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .float-wa      { right: 14px !important; }
  .float-cart    { right: 80px !important; }     /* 14 + 54 + 12 gap */
  .float-catalog { right: 146px !important; }    /* 80 + 54 + 12 gap */
  .float-catalog svg { width: 22px; height: 22px; }
  .float-cart svg    { width: 24px; height: 24px; }
  .float-wa svg      { width: 26px; height: 26px; }
  .float-catalog__label { display: none; }
}
@media (max-width: 380px) {
  /* Pantallas muy chicas: comprimir tamaño y separación */
  .float-wa,
  .float-cart,
  .float-catalog {
    width: 48px !important;
    height: 48px !important;
    bottom: 10px !important;
  }
  .float-wa      { right: 10px !important; }
  .float-cart    { right: 68px !important; }     /* 10 + 48 + 10 gap */
  .float-catalog { right: 126px !important; }
  .float-catalog svg { width: 20px; height: 20px; }
  .float-cart svg    { width: 22px; height: 22px; }
  .float-wa svg      { width: 24px; height: 24px; }
}

/* ============ FLOATING WA ============ */
.float-wa {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px -8px rgba(37,211,102,.6), 0 2px 6px rgba(0,0,0,.18);
  z-index: 40;
  transition: transform .2s ease;
}
.float-wa:hover { transform: translateY(-3px); }
.float-wa::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--wa);
  opacity: .5;
  animation: ring 2.2s ease-out infinite;
}
@keyframes ring {
  0% { transform: scale(0.9); opacity: .6; }
  100% { transform: scale(1.5); opacity: 0; }
}
