/* Taller Cigüeñal: cemento y amarillo señal. Archivo (bold) para titulares y precios, Public Sans para el resto. */
@font-face { font-family: 'Archivo'; src: url('../_shared/fonts/archivo-latin-wght-normal.woff2') format('woff2-variations'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Public Sans'; src: url('../_shared/fonts/public-sans-latin-wght-normal.woff2') format('woff2-variations'); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #eeece5;
  --fg: #17181a;
  --muted: #5c5e58;
  --line: rgba(23, 24, 26, 0.16);
  --surface: #e2dfd4;
  --accent: #f5c400;
  --accent-fg: #17181a;
  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body: 'Public Sans', system-ui, sans-serif;
  --display-weight: 800;
  --display-tracking: -0.01em;
  --radius: 3px;
  --radius-lg: 3px;
  --btn-radius: 3px;
}

.hero h1 span { background: var(--accent); color: var(--accent-fg); padding: 0 0.12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.facts-strip { background: var(--fg); color: #fff; border: 0; }
.facts-strip span { color: rgba(255, 255, 255, 0.7); }
.band::before { background: linear-gradient(to top, rgba(15, 15, 13, 0.86), rgba(15, 15, 13, 0.32) 55%, rgba(15, 15, 13, 0.08)); }
.faq summary::after { color: var(--fg); }

/* Ficha de número: la misma etiqueta amarilla numerada enlaza los síntomas y los pasos de cotización. */
.tag-no {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
  background: var(--accent);
  color: var(--accent-fg);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-0);
  line-height: 1;
}

/* Diagnóstico por síntoma: la firma de la página. Una lista, no una rejilla de tarjetas. */
.symptoms-wrap { display: grid; gap: 2.5rem; }
.symptoms { border-top: 1px solid var(--line); }
.symptoms li { padding: 1.35rem 0; border-bottom: 1px solid var(--line); }
.sym-top { display: flex; align-items: center; gap: 0.9rem; }
.sym-top h3 { flex: 1; font-family: var(--font-body); font-weight: 700; font-size: var(--step-1); line-height: 1.3; color: var(--fg); }
.sym-price { color: var(--fg); font-family: var(--font-display); font-weight: 800; font-size: var(--step-1); letter-spacing: var(--display-tracking); white-space: nowrap; }
.sym-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1.5rem; margin-top: 0.5rem; padding-left: calc(2.25rem + 0.9rem); }
.sym-bottom p { color: var(--fg-soft); font-size: var(--step-0); max-width: 34rem; }
/* Objetivo táctil de 44px: el subrayado es angosto, así que el padding hace el trabajo sin agrandar el texto. */
.sym-cta { display: inline-flex; align-items: center; padding: 0.65rem 0.2rem; margin: 0 -0.2rem; font-weight: 700; color: var(--fg); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; text-decoration-color: var(--line); white-space: nowrap; transition: text-decoration-color 0.3s; }
.sym-cta:hover { text-decoration-color: var(--accent); }
.symptoms-photo { align-self: start; }
.symptoms-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.symptoms-photo figcaption { margin-top: 0.75rem; color: var(--muted); font-size: var(--step--1); max-width: 26rem; }
@media (min-width: 900px) {
  .symptoms-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 19rem); gap: 4rem; align-items: start; }
  .symptoms-photo { position: sticky; top: 6.5rem; }
}

/* Fotos del taller: carril, no rejilla; sin foto repetida en otra sección. */
.rail figure { margin: 0; }
.rail img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.rail figcaption { margin-top: 0.75rem; color: var(--muted); font-size: var(--step--1); }
.rail-head { margin-bottom: 1.75rem; }
[data-rail] .rail-nav { margin-top: 1.25rem; }

/* Pasos de cotización, dentro de "El taller": reutiliza la misma ficha numerada de los síntomas. */
.steps { display: grid; gap: 1.75rem; margin-top: 2.25rem; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; }
.steps h3 { font-size: var(--step-1); }
.steps p { margin-top: 0.3rem; color: var(--fg-soft); }

/* Garantía: ledger propio (mismo patrón de hairlines que precios), con la misma ficha amarilla del diagnóstico. */
.warranty { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.warranty-head { display: flex; align-items: center; gap: 1rem; }
.warranty-head p { color: var(--fg-soft); font-size: var(--step-0); max-width: 30rem; }
.warranty-head strong { display: block; font-family: var(--font-display); font-weight: 800; color: var(--fg); }
.warranty .ledger { margin-top: 1.25rem; }

.live-status { display: inline-flex; align-items: center; gap: 0.55rem; margin-top: 1rem; color: var(--fg); font-weight: 600; font-size: var(--step--1); }
.live-status::before { content: ''; flex: none; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--muted); }
.live-status[data-open="true"]::before { background: #2f9e44; }

/* Menú móvil sin JavaScript: el botón hamburguesa no hace nada sin script, así que mostramos
   los enlaces apilados bajo la cabecera en vez de dejarlos atrapados en un panel que solo abre .is-open. */
@media (max-width: 899.98px) {
  :root:not(.js) .nav-toggle { display: none; }
  :root:not(.js) .nav-panel { display: block; position: static; height: auto; background: transparent; padding: 0 var(--gutter) 1.5rem; }
}
