/* Rueda Libre · concepto de MSG Six Creations
   Identidad: asfalto + tiza + lima de señal. Archivo (variable, ancho 62-125) + IBM Plex Mono. */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("fonts/plexmono-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --ink: #121513;
  --ink-2: #1C211E;
  --ink-3: #2A302C;
  --chalk: #F2F0E9;
  --paper: #FBFAF6;
  --line: #D9D5C9;
  --line-dark: #333A35;
  --text: #121513;
  --muted: #555B56;
  --muted-dark: #A9B0AA;
  --lime: #CCF24A;
  --lime-press: #B8E02E;
  --lime-deep: #3F5C00;
  --rust: #A83E1C;
  --rust-light: #FF8A63;
  --radius: 14px;
  --bar-h: 56px;
  --dock-h: 0px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 12px); }
body {
  margin: 0;
  background: var(--chalk);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  padding-top: calc(var(--bar-h) + env(safe-area-inset-top));
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--mono); font-weight: 500; letter-spacing: 0; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 max(16px, env(safe-area-inset-left)) 0 max(16px, env(safe-area-inset-right)); }

:focus-visible { outline: 3px solid var(--lime-deep); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible, .track :focus-visible, .site-footer :focus-visible, .dock :focus-visible { outline-color: var(--lime); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--lime); color: var(--ink); padding: 12px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: calc(var(--bar-h) + 8px); }

/* ---------- Barra MSG (misma que Brasa Lenta) ---------- */
.msg-bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: calc(var(--bar-h) + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top);
  padding-left: max(8px, env(safe-area-inset-left)); padding-right: max(8px, env(safe-area-inset-right));
  display: flex; align-items: center; gap: 6px;
  background: #FBF8F3; color: #2A1D14;
  border-bottom: 1px solid #E4D9CA;
  font-family: var(--font);
}
.msg-bar__back { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; min-width: 48px; min-height: 48px; justify-content: center; text-decoration: none; font-size: 14px; font-weight: 600; border-radius: 999px; }
.msg-bar__back-text { display: none; }
.msg-bar__text { flex: 1 1 auto; font-size: 12.5px; line-height: 1.3; min-width: 0; }
.msg-bar__text strong { font-weight: 700; }
.msg-bar__cta {
  flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 48px; padding: 0 16px;
  background: #8FC8EC; color: #2A1D14; border-radius: 999px;
  font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap;
  transition: transform 160ms ease-out, background-color 160ms ease;
}
.msg-bar__cta:active { transform: scale(0.97); }
.msg-bar :focus-visible { outline-color: #22669C; }
@media (hover: hover) and (pointer: fine) { .msg-bar__cta:hover { background: #6DB5E3; } }

/* ---------- Cabecera ---------- */
.site-header { background: var(--ink); color: var(--chalk); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 48px; }
.logo-wheel {
  width: 28px; height: 28px; border-radius: 50%;
  border: 5px solid currentColor; position: relative; flex: none;
}
.logo-wheel::after { content: ""; position: absolute; inset: 50% auto auto 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--lime); }
.logo-word { font-weight: 850; font-stretch: 125%; font-size: 1.125rem; letter-spacing: -.01em; text-transform: uppercase; line-height: 1; }
.logo-word span { font-weight: 400; margin-left: .2em; }
.main-nav { display: none; }
.status-pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px;
  border: 1px solid var(--line-dark); border-radius: 999px; text-decoration: none; font-size: .875rem; color: var(--chalk);
  position: relative;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted-dark); flex: none; }
.is-open .dot { background: var(--lime); box-shadow: 0 0 0 4px rgba(204,242,74,.18); }
.is-closed .dot { background: var(--rust-light); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; text-decoration: none; text-align: center; line-height: 1.15;
  transition: transform .15s var(--ease), background-color .18s, border-color .18s, color .18s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: var(--lime-press); }
.btn-lime:disabled { background: #D6D9CD; color: #5D625E; cursor: not-allowed; transform: none; }
.btn-ink { background: var(--ink); color: var(--chalk); }
.btn-ink:hover { background: var(--ink-3); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: rgba(18,21,19,.06); }
.btn-ghost-dark { border-color: #59615B; color: var(--chalk); }
.btn-ghost-dark:hover { border-color: var(--chalk); }

/* ---------- Tipografía ---------- */
.eyebrow { font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em; color: var(--lime-deep); }
.display {
  font-weight: 850; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(2.5rem, 11.5vw, 6.6rem); line-height: .92; letter-spacing: -.03em;
}
.display em { font-style: normal; color: var(--lime); }
.h2 { font-weight: 820; font-stretch: 118%; font-size: clamp(2rem, 8.4vw, 3.6rem); line-height: 1; letter-spacing: -.025em; text-transform: uppercase; }
.h3 { font-weight: 780; font-stretch: 112%; font-size: 1.5rem; line-height: 1.1; letter-spacing: -.015em; }
.sec-head { display: grid; gap: 12px; margin-bottom: 28px; max-width: 46rem; }
.sec-sub { color: var(--muted); font-size: 1.0625rem; }
.tag-ej { display: inline-block; font-family: var(--mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; padding: 3px 8px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); vertical-align: 2px; white-space: nowrap; }

/* ---------- Marcadores de foto ---------- */
.ph {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, rgba(18,21,19,.05) 0 1px, transparent 1px 14px),
    linear-gradient(160deg, #D8D4C6, #C7C2B1);
}
.ph::after { /* rueda fantasma */
  content: ""; position: absolute; right: -12%; bottom: -30%; width: 70%; aspect-ratio: 1; border-radius: 50%;
  border: 10px solid rgba(18,21,19,.06); box-shadow: inset 0 0 0 26px rgba(18,21,19,.03);
}
.ph-dark { background: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 1px, transparent 1px 14px), linear-gradient(160deg, #262C28, #1A1F1C); }
.ph-dark::after { border-color: rgba(204,242,74,.09); }
.ph-label { position: absolute; left: 12px; bottom: 12px; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; background: rgba(251,250,246,.86); color: var(--ink); padding: 5px 9px; border-radius: 6px; z-index: 1; }
.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.ph[data-foto="hero"] > img { object-position: 30% 50%; }
.ph[data-foto="tienda"] > img { object-position: 50% 55%; }
.ph[data-foto="estado"] > img { object-position: 45% 50%; }
.ph-hero { aspect-ratio: 4 / 5; margin-top: 40px; background: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 1px, transparent 1px 14px), linear-gradient(160deg, #3A3328, #241F19); }
.ph-hero::after { border-color: rgba(204,242,74,.10); }
.ph-tall { aspect-ratio: 4 / 5; }
.ph-11 .ph-label { font-size: .625rem; left: 8px; bottom: 8px; white-space: nowrap; }
.ph-43 { aspect-ratio: 4 / 3; }
.ph-11 { aspect-ratio: 1; }
.ph-169 { aspect-ratio: 16 / 9; }
.ph-band { aspect-ratio: 4 / 3; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: var(--chalk); padding: 36px 0 32px; overflow: hidden; isolation: isolate; }
.hero .eyebrow { color: var(--lime); }
.hero-in { position: relative; z-index: 1; display: grid; gap: 20px; }
.hero-sub { color: #C9CFC9; max-width: 34rem; font-size: 1.125rem; }
.hero-ctas { display: grid; gap: 12px; margin-top: 6px; }
.hero-facts { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .8125rem; color: var(--muted-dark); }
.hero-facts b { color: var(--chalk); font-weight: 500; }
.hero-wheel {
  position: absolute; z-index: 0; width: 135vw; max-width: 980px; right: -62vw; top: 120px;
  color: var(--chalk); opacity: .16; pointer-events: none; will-change: transform;
}
.hero-wheel .rim { stroke: var(--lime); }

/* ---------- Pilares ---------- */
.pillars { padding: 56px 0 8px; }
.pillar-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.pillar-list li { display: grid; align-content: start; grid-template-columns: 44px 1fr; gap: 4px 12px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.pillar-list .num { grid-row: span 2; color: var(--lime-deep); font-size: .875rem; padding-top: 6px; }
.pillar-list h3 { font-weight: 800; font-stretch: 118%; font-size: 1.375rem; text-transform: uppercase; letter-spacing: -.01em; }
.pillar-list p { color: var(--muted); }

/* ---------- Tienda ---------- */
.shop { padding: 64px 0 72px; }
.f-group { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.f-legend { display: block; font-weight: 700; font-size: .9375rem; margin-bottom: 10px; padding: 0; }
.f-hint { font-size: .875rem; color: var(--muted); margin-top: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 6px; scroll-snap-type: x proximity; }
.chips-scroll::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--paper); font-weight: 600; font-size: .9375rem; scroll-snap-align: start;
  transition: background .18s, border-color .18s, color .18s, transform .15s var(--ease);
}
.chip:hover { border-color: var(--ink); }
.chip:active { transform: scale(.96); }
.chip[aria-checked="true"], .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--chalk); }
.chip .c-n { font-family: var(--mono); font-size: .75rem; opacity: .7; margin-left: 6px; }

.btn-more {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; width: 100%; justify-content: center;
  border: 1.5px solid var(--ink); border-radius: 12px; background: transparent; font-weight: 700; margin-bottom: 12px;
}
.more-count { font-family: var(--mono); background: var(--lime); color: var(--ink); border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: .75rem; padding: 0 6px; }
.f-more { display: none; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 16px; }
.f-more.is-open { display: block; animation: drop .22s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }

input[type="range"] { width: 100%; height: 48px; accent-color: var(--ink); background: transparent; }
.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
select, .field input, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; font-size: 1rem; border-radius: 12px;
  border: 1.5px solid #8A8F87; background: #FFFFFF; appearance: none; -webkit-appearance: none;
}
select { padding-right: 44px; }
select:focus-visible, .field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--lime-deep); outline-offset: 1px; border-color: var(--ink); }
.btn-reset { min-height: 48px; background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

.results-count { font-family: var(--mono); font-size: .8125rem; color: var(--muted); margin-bottom: 12px; text-transform: uppercase; letter-spacing: .05em; }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.card {
  display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
  animation: cardIn .25s var(--ease) both;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(8px); } }
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px -14px rgba(18,21,19,.35); border-color: #C7C2B4; }
.card-art { position: relative; aspect-ratio: 4 / 3; background: #EAE7DD; display: grid; place-items: center; padding: 10px; }
.card-art svg { width: 100%; height: 100%; }
.card-badge { position: absolute; top: 8px; left: 8px; font-family: var(--mono); font-size: .6875rem; text-transform: uppercase; letter-spacing: .06em; background: var(--lime); color: var(--ink); padding: 3px 7px; border-radius: 5px; }
.card-body { display: flex; flex-direction: column; gap: 4px; padding: 12px; flex: 1; }
.card-type { font-family: var(--mono); font-size: .6875rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.card-name { font-weight: 780; font-stretch: 108%; font-size: 1rem; line-height: 1.15; }
.card-spec { font-size: .8125rem; color: var(--muted); line-height: 1.35; }
.card-sizes { font-family: var(--mono); font-size: .6875rem; color: var(--muted); margin-top: 2px; }
.card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; }
.price { font-weight: 800; font-stretch: 110%; font-size: 1.125rem; line-height: 1; }
.price small { display: block; font-family: var(--mono); font-weight: 500; font-size: .625rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-top: 4px; font-stretch: 100%; }
.ask { width: 48px; height: 48px; flex: none; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; display: grid; place-items: center; transition: background .18s, color .18s, transform .15s var(--ease); }
.ask:hover { background: var(--ink); color: var(--chalk); }
.ask:active { transform: scale(.94); }
.empty { padding: 28px; border: 1.5px dashed var(--line); border-radius: var(--radius); display: grid; gap: 16px; justify-items: start; }

.shop-photo { display: grid; gap: 20px; margin-top: 56px; }
.shop-photo-txt { display: grid; gap: 10px; align-content: center; }
.shop-photo-txt p { color: var(--muted); }

/* ---------- Taller ---------- */
.workshop { padding: 72px 0; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ws-layout { display: grid; gap: 28px; }
.ws-photos { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; align-items: end; }
.quote { background: var(--chalk); border: 1px solid var(--line); border-radius: 20px; padding: 18px; min-width: 0; }
.concept-note { display: flex; gap: 10px; align-items: flex-start; font-size: .875rem; background: #FFF; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 16px; color: var(--ink); }
.concept-note svg { flex: none; margin-top: 2px; color: var(--lime-deep); }
.steps { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; }
.steps li { padding-top: 10px; border-top: 3px solid var(--line); color: var(--muted); transition: border-color .25s, color .25s; }
.steps li.is-on { border-color: var(--ink); color: var(--ink); }
.steps li.is-done { border-color: var(--lime-deep); color: var(--lime-deep); }
.q-group { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.q-legend { font-weight: 780; font-stretch: 108%; font-size: 1.125rem; margin-bottom: 12px; padding: 0; }
.q-legend-sub { display: block; font-weight: 400; font-stretch: 100%; font-size: .875rem; color: var(--muted); }
.services { display: grid; gap: 8px; }
.svc { position: relative; }
.svc input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.svc label {
  display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 12px; min-height: 56px; padding: 10px 14px;
  background: #FFF; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer;
  transition: border-color .18s, background .18s, transform .15s var(--ease);
}
.svc label:active { transform: scale(.99); }
.svc .box { width: 24px; height: 24px; border-radius: 7px; border: 2px solid #8A8F87; display: grid; place-items: center; transition: background .15s, border-color .15s; }
.svc .box svg { width: 14px; height: 14px; opacity: 0; transform: scale(.6); transition: opacity .15s, transform .15s var(--ease); }
.svc .s-name { font-weight: 650; line-height: 1.25; }
.svc .s-desc { display: block; font-weight: 400; font-size: .8125rem; color: var(--muted); }
.svc .s-price { font-family: var(--mono); font-size: .8125rem; white-space: nowrap; color: var(--muted); }
.svc input:checked + label { border-color: var(--ink); background: #F7FBE7; }
.svc input:checked + label .box { background: var(--ink); border-color: var(--ink); }
.svc input:checked + label .box svg { opacity: 1; transform: none; }
.svc input:checked + label .s-price { color: var(--ink); }
.svc input:focus-visible + label { outline: 3px solid var(--lime-deep); outline-offset: 2px; }

.estimate {
  position: sticky; bottom: calc(var(--dock-h) + env(safe-area-inset-bottom) + 8px); z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--ink); color: var(--chalk); border-radius: 16px; padding: 12px 12px 12px 16px;
  box-shadow: 0 14px 30px -16px rgba(18,21,19,.6);
}
.est-main { display: grid; gap: 2px; min-width: 0; }
.est-label { font-size: .6875rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-dark); }
.est-value { font-weight: 850; font-stretch: 115%; font-size: 1.375rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.est-value.is-empty { font-weight: 500; font-stretch: 100%; font-size: 1rem; color: #C9CFC9; }
.est-value.bump { animation: bump .25s var(--ease); }
@keyframes bump { 50% { color: var(--lime); } }
.estimate .btn { min-height: 48px; padding: 0 20px; flex: none; }
.est-foot { font-size: .8125rem; color: var(--muted); margin-top: 10px; }

.q-summary { background: #FFF; border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin-bottom: 20px; font-size: .9375rem; }
.q-summary b { font-stretch: 110%; }
.q-summary ul { margin: 6px 0 0; padding-left: 18px; color: var(--muted); }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label { font-weight: 700; }
.field .opt { font-weight: 400; color: var(--muted); }
.field textarea { resize: vertical; min-height: 96px; }
.field input[aria-invalid="true"] { border-color: var(--rust); }
.err { color: var(--rust); font-size: .875rem; font-weight: 600; }
.err-dark { color: var(--rust-light); margin-top: 10px; }
.days .chip { padding: 0 14px; display: grid; line-height: 1.1; text-align: center; min-width: 64px; }
.days .chip small { font-family: var(--mono); font-size: .6875rem; font-weight: 500; opacity: .75; }
.step-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.step-nav .btn { flex: 1 1 auto; }
.step { animation: stepIn .25s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(10px); } }
.step-done:focus { outline: none; }

.ticket {
  background: #FFF; border-radius: 16px; padding: 22px 18px; margin-bottom: 14px; position: relative;
  border: 1px solid var(--line);
  -webkit-mask: radial-gradient(circle 10px at 0 64px, transparent 98%, #000) , radial-gradient(circle 10px at 100% 64px, transparent 98%, #000);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.ticket-top { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding-bottom: 18px; border-bottom: 1.5px dashed var(--line); margin-bottom: 18px; }
.ticket-code { font-size: 2rem; line-height: 1; margin-bottom: 8px; }
.ticket-msg { font-weight: 650; margin-bottom: 14px; }
.ticket-dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0 0 14px; font-size: .9375rem; }
.ticket-dl dt { color: var(--muted); }
.ticket-dl dd { margin: 0; font-weight: 600; }
.ticket-sim { font-size: .8125rem; background: var(--chalk); border-radius: 8px; padding: 8px 10px; }

/* ---------- Estado ---------- */
.track { background: var(--ink); color: var(--chalk); padding: 72px 0; }
.track .eyebrow { color: var(--lime); }
.track .sec-sub { color: #C9CFC9; }
.track-in { display: grid; gap: 0; }
.code-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.code-chip { min-height: 48px; padding: 0 14px; border-radius: 8px; border: 1px solid #59615B; background: var(--ink-2); color: var(--chalk); font-size: .875rem; position: relative; }
.code-chip:hover { border-color: var(--lime); }
.track-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 18px; padding: 8px; max-width: 34rem; }
.track-form input { min-height: 52px; min-width: 0; background: transparent; border: 0; color: var(--chalk); font-size: 1.25rem; padding: 0 10px; text-transform: uppercase; letter-spacing: .04em; }
.track-form input::placeholder { color: #7E867F; }
.track-form input:focus-visible { outline: none; }
.track-form:focus-within { border-color: var(--lime); }
.track-result { margin-top: 28px; background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 20px; padding: 20px 18px; max-width: 46rem; }
.tr-head { display: grid; gap: 4px; padding-bottom: 18px; border-bottom: 1px solid var(--line-dark); margin-bottom: 22px; }
.tr-code { color: var(--lime); font-size: .875rem; letter-spacing: .06em; }
.tr-bike { font-weight: 800; font-stretch: 112%; font-size: 1.375rem; line-height: 1.15; }
.tr-job { color: #C9CFC9; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 22px; --p: 0; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 11px; top: 12px; width: 2px; bottom: 12px; background: var(--line-dark); }
.timeline::after { background: var(--lime); transform-origin: top; transform: scaleY(var(--p)); transition: transform .6s var(--ease); }
.timeline li { position: relative; z-index: 1; display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start; }
.tl-dot { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #59615B; background: var(--ink-2); display: grid; place-items: center; transition: background .3s, border-color .3s; }
.tl-title { font-weight: 750; font-stretch: 108%; font-size: 1.0625rem; color: #8D958F; transition: color .3s; }
.tl-meta { font-size: .8125rem; color: #8D958F; margin-top: 2px; }
.timeline li.is-done .tl-dot { background: var(--lime); border-color: var(--lime); }
.timeline li.is-done .tl-dot::after { content: ""; width: 8px; height: 5px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg) translate(1px, -1px); }
.timeline li.is-done .tl-title, .timeline li.is-now .tl-title { color: var(--chalk); }
.timeline li.is-done .tl-meta, .timeline li.is-now .tl-meta { color: #C9CFC9; }
.timeline li.is-now .tl-dot { border-color: var(--lime); background: var(--ink-2); box-shadow: 0 0 0 5px rgba(204,242,74,.15); }
.timeline li.is-now .tl-dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .3; } }
.wa-sim { margin-top: 26px; padding: 16px; background: #0B0E0C; border-radius: 16px; }
.wa-label { display: flex; align-items: center; gap: 8px; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: #C9CFC9; margin-bottom: 12px; }
.wa-bubble { background: #1F3A2C; color: #EAF3EC; border-radius: 4px 14px 14px 14px; padding: 10px 12px 8px; max-width: 30rem; font-size: .9375rem; line-height: 1.45; }
.wa-bubble b { display: block; color: #9FE0B5; font-size: .8125rem; margin-bottom: 2px; }
.wa-bubble time { display: block; text-align: right; font-size: .6875rem; color: #A9C3B2; margin-top: 4px; font-family: var(--mono); }
.tr-foot { font-size: .8125rem; color: #A9B0AA; margin-top: 16px; }
.track .ph { margin-top: 40px; }

/* ---------- Banda y visita ---------- */
.band { padding-top: 64px; }
.visit { padding: 56px 0 80px; }
.visit-in { display: grid; gap: 32px; }
.visit-txt { display: grid; gap: 16px; align-content: start; }
.open-now { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.125rem; }
.open-now .dot { width: 12px; height: 12px; background: #8A8F87; }
.open-now.is-open .dot { background: var(--lime-deep); box-shadow: 0 0 0 5px rgba(63,92,0,.15); }
.open-now.is-closed .dot { background: var(--rust); }
.addr { font-style: normal; font-size: 1.125rem; line-height: 1.45; }
.addr-note { display: inline-block; margin-top: 6px; font-family: var(--mono); font-size: .6875rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); border: 1px solid var(--line); border-radius: 5px; padding: 2px 6px; }
.hours { width: 100%; max-width: 26rem; border-collapse: collapse; font-size: 1rem; }
.hours th, .hours td { padding: 11px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.hours td { text-align: right; font-family: var(--mono); font-size: .875rem; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 800; color: var(--ink); }
.hours tr.is-today th::after { content: "hoy"; font-family: var(--mono); font-weight: 500; font-size: .6875rem; text-transform: uppercase; background: var(--lime); padding: 2px 6px; border-radius: 4px; margin-left: 8px; vertical-align: 2px; }
.hours-foot { font-size: .875rem; color: var(--muted); }
.map { margin: 0; }
.map svg { width: 100%; height: auto; border-radius: var(--radius); }
.map figcaption { font-size: .75rem; color: var(--muted); margin-top: 8px; text-transform: uppercase; letter-spacing: .06em; }
.pin-pulse { transform-origin: center; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .6; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Pie ---------- */
.site-footer { background: var(--ink); color: var(--chalk); padding: 40px 0 calc(32px + var(--dock-h) + env(safe-area-inset-bottom)); }
.foot-in { display: grid; gap: 14px; }
.foot-note, .foot-credit { color: #C9CFC9; font-size: .9375rem; max-width: 40rem; }
.foot-credit a { color: var(--lime); text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 48px; }

/* ---------- Dock móvil ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(18,21,19,.96); color: var(--chalk);
  padding: 4px 6px calc(4px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-dark);
  transition: transform .22s var(--ease);
}
@supports (backdrop-filter: blur(10px)) { .dock { background: rgba(18,21,19,.86); backdrop-filter: blur(12px); } }
.dock.is-hidden { transform: translateY(110%); }
.dock a { display: grid; justify-items: center; gap: 2px; min-height: 56px; padding: 7px 0 5px; text-decoration: none; font-size: .75rem; font-weight: 600; border-radius: 10px; }
.dock a:active { background: var(--ink-3); }
.dock a.is-here { color: var(--lime); }
.dock svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
body { --dock-h: 66px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 16px; right: 16px; bottom: calc(var(--dock-h) + env(safe-area-inset-bottom) + 12px); z-index: 60;
  background: var(--lime); color: var(--ink); padding: 14px 16px; border-radius: 14px; font-weight: 600; font-size: .9375rem;
  box-shadow: 0 16px 30px -14px rgba(0,0,0,.5); max-width: 30rem; margin: 0 auto;
  animation: toastIn .22s var(--ease);
}
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } }

/* =========== Ampliación =========== */
@media (min-width: 400px) {
  .hero-ctas { grid-template-columns: auto auto; justify-content: start; }
}
@media (min-width: 600px) {
  .msg-bar__back-text { display: inline; }
  .msg-bar__back { padding: 0 14px 0 8px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .ph-band { aspect-ratio: 21 / 9; }
  .ph-hero { aspect-ratio: 16 / 9; }
}
@media (min-width: 900px) {

  body { --dock-h: 0px; }
  .dock { display: none; }
  .msg-bar { gap: 16px; padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  .msg-bar__text { font-size: 14px; text-align: center; }
  .main-nav { display: flex; gap: 4px; }
  .main-nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 14px; text-decoration: none; font-weight: 600; color: #C9CFC9; border-radius: 999px; transition: color .15s, background .15s; }
  .main-nav a:hover { color: var(--chalk); background: var(--ink-2); }
  .header-in { min-height: 76px; }
  .hero { padding: 72px 0 56px; }
  .hero-in { max-width: 62rem; gap: 26px; }
  /* La rueda arranca 40px después de la columna de texto (36rem desde el borde de .hero-in): nunca pisa el título. */
  .hero-wheel { width: 760px; right: auto; left: max(calc(50% + 136px), 632px); top: 40px; opacity: .14; }
  .hero-in > * { max-width: 36rem; }
  .hero-in > .hero-sub { max-width: 34rem; }
  .ph-hero { margin-top: 56px; aspect-ratio: 16 / 9; }
  .pillars { padding-top: 80px; }
  .pillar-list { grid-template-columns: repeat(3, 1fr); border-top: 0; gap: 32px; }
  .pillar-list li { border-bottom: 0; border-top: 2px solid var(--ink); padding-top: 20px; }
  .shop { padding: 96px 0; }
  .sec-head { margin-bottom: 40px; }
  .shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
  .filters { position: sticky; top: calc(var(--bar-h) + 20px); }
  .chips-scroll { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
  .f-type .chip { min-height: 44px; }
  .btn-more { display: none; }
  .f-more { display: block; padding: 0; background: none; border: 0; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .card-body { padding: 16px; }
  .card-name { font-size: 1.125rem; }
  .shop-photo { grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 96px; }
  .ph-tall { aspect-ratio: 4 / 5; }
  .workshop { padding: 104px 0; }
  .ws-layout { grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }
  .ws-photos { grid-template-columns: 1fr; position: sticky; top: calc(var(--bar-h) + 24px); }
  .ws-photos .ph-11 { width: 60%; margin-left: auto; margin-top: -30%; border: 6px solid var(--paper); }
  .quote { padding: 28px; }
  .services { grid-template-columns: 1fr 1fr; }
  .track { padding: 104px 0; }
  .track-in { grid-template-columns: 1fr 1fr; column-gap: 56px; align-items: start; }
  .track-in > .sec-head, .track-in > .track-form, .track-in > .err, .track-in > .track-result { grid-column: 1; }
  .track .ph { grid-column: 2; grid-row: 1 / span 4; margin-top: 0; aspect-ratio: 4 / 5; position: sticky; top: calc(var(--bar-h) + 24px); }
  .band { padding-top: 96px; }
  .visit { padding: 72px 0 112px; }
  .visit-in { grid-template-columns: 5fr 6fr; gap: 64px; align-items: center; }
  .toast { left: auto; right: 24px; bottom: 24px; }
  .foot-in { grid-template-columns: auto 1fr; align-items: center; column-gap: 48px; }
  .foot-in .logo { grid-row: span 2; }
}
@media (min-width: 1200px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero-wheel { width: 860px; }
}

@media (hover: none) { .card:hover { transform: none; box-shadow: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .pin-pulse { display: none; }
}
