/* Climas Ventisca: taller industrial en Escobedo. Grafito y concreto, un solo acento cálido (naranja de seguridad).
   Firma: la barra fija superior con el horario en vivo, que dobla como el CTA principal del sitio. */
@font-face { font-family: 'Big Shoulders Display'; src: url('../_shared/fonts/big-shoulders-display-latin-wght-normal.woff2') format('woff2-variations'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Chivo'; src: url('../_shared/fonts/chivo-latin-wght-normal.woff2') format('woff2-variations'); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #f1efe8;
  --fg: #17181b;
  --muted: #5a5c61;
  --line: rgba(23, 24, 27, 0.16);
  --surface: #e6e1d5;
  --ink: #17181b;
  --ink-2: #101113;
  --ink-fg: #f1efe8;
  --accent: #b53a0c;
  --accent-fg: #fff8f2;
  --font-display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --font-body: 'Chivo', system-ui, sans-serif;
  --display-weight: 800;
  --display-tracking: -0.01em;
  --radius: 3px;
  --radius-lg: 4px;
  --btn-radius: 3px;
  --item-ratio: 4 / 3;
  --split-ratio: 4 / 5;
  --step-4: clamp(2.75rem, 1.4rem + 5vw, 5.6rem);
  --step-5: clamp(3.6rem, 1.1rem + 12vw, 9.8rem);
}

html { scroll-padding-top: 8rem; }
h1, h2, h3, .price, .table caption { text-transform: uppercase; }
::selection { background: var(--accent); color: var(--accent-fg); }

/* Cabecera oscura de taller: se queda fija, con la barra de estado encima de la fila de navegación */
.site-header { background: var(--ink); border-bottom: 1px solid transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.is-scrolled { border-bottom-color: rgba(241, 239, 232, 0.14); }
.brand, .nav-toggle { color: var(--ink-fg); }
.brand small { color: rgba(241, 239, 232, 0.6); }
.brand-mark { border-radius: var(--radius); background: var(--accent); color: var(--accent-fg); }
.nav a { color: rgba(241, 239, 232, 0.72); }
.nav a:hover { color: var(--ink-fg); }
.nav-panel { background: var(--ink); height: 100dvh; }
.nav-panel a:not(.btn) { color: var(--ink-fg); border-bottom-color: rgba(241, 239, 232, 0.16); }

/* Barra de estado: horario en vivo (data-open-hours) que además es el enlace de WhatsApp */
.status-bar { display: block; background: var(--ink-2); color: var(--ink-fg); text-decoration: none; border-bottom: 1px solid rgba(241, 239, 232, 0.1); }
.status-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.8rem; font-size: var(--step--1); font-weight: 500; }
.status-live { display: flex; align-items: center; gap: 0.6rem; min-width: 0; color: rgba(241, 239, 232, 0.9); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.status-live::before { content: ''; flex: none; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--muted); }
.status-live[data-open="true"]::before { background: var(--accent); box-shadow: 0 0 0 0 rgba(209, 69, 15, 0.55); animation: status-pulse 2.2s ease-out infinite; }
.status-cta { flex: none; font-weight: 700; color: var(--ink-fg); }
@keyframes status-pulse { 0% { box-shadow: 0 0 0 0 rgba(209, 69, 15, 0.55); } 70% { box-shadow: 0 0 0 0.5rem rgba(209, 69, 15, 0); } 100% { box-shadow: 0 0 0 0 rgba(209, 69, 15, 0); } }
@media (prefers-reduced-motion: reduce) { .status-live[data-open="true"]::before { animation: none; } }
@media (max-width: 420px) { .status-bar-inner { font-size: 0.8rem; } }

/* Héroe a sangre: la unidad exterior en penumbra, con el naranja del tubo ya en la foto */
.hero-full h1 span { color: var(--accent); }

/* Línea de tiempo: qué pasa cuando llamas, con hora real de cada paso */
.timeline { display: grid; gap: 2.5rem; counter-reset: paso; }
.timeline li { position: relative; padding-left: 4.25rem; }
.timeline li::before { content: counter(paso); counter-increment: paso; position: absolute; left: 0; top: -0.2rem; font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 1; color: var(--accent); }
.timeline-time { display: block; margin-bottom: 0.3rem; color: var(--muted); font-size: var(--step--1); font-variant-numeric: tabular-nums; }
.timeline h3 { font-size: var(--step-1); text-transform: none; }
.timeline p { margin-top: 0.35rem; color: var(--fg-soft); }
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .timeline li { padding-left: 0; padding-top: 3.75rem; border-top: 2px solid var(--line); }
  .timeline li::before { top: -3.35rem; left: 0; }
}
.timeline-proof { margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid var(--line); max-width: 42rem; color: var(--fg-soft); font-size: var(--step-1); line-height: 1.5; }
.timeline-proof cite { display: block; margin-top: 0.6rem; font-style: normal; color: var(--muted); font-size: var(--step--1); }

/* Tablas de precios y zonas: regla de acento bajo los encabezados, como una hoja de especificaciones */
.table thead th { border-bottom-color: var(--accent); }
.table .price { color: var(--accent); }
.table + .table-note, .table-note { margin-top: 1rem; color: var(--muted); font-size: var(--step--1); }
.price-tables { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }

.zones-note { margin-top: 1.5rem; color: var(--fg-soft); max-width: 40rem; }

/* Enlaces secundarios de texto: área táctil de 44px sin agrandar el tamaño visual */
.item-foot { align-items: center; }
.item-link, .contact .links a { display: inline-flex; align-items: center; padding-block: 0.7rem; margin-block: -0.7rem; }
