/* Taller Serra — «цех»: тёмный, точный, технический.
   Асфальт, панели и линии в 1 px, сигнальный жёлтый — мало и по делу:
   главные кнопки, ключевые цифры, одна-две детали на экран.
   Barlow Condensed — заголовки, цены, подписи; Barlow — текст.
   Мобильная вёрстка по умолчанию, большие экраны — через min-width. */

:root {
  color-scheme: dark;
  --asfalto: #111315;
  --panel: #1a1d20;
  --panel-2: #22262a;
  --negro: #0a0b0c;
  --linea: #2e3338;
  --linea-2: #6b7178;          /* рамки полей и кнопок: 3,8:1 к фону */
  --texto: #ecebe7;
  --texto-2: #9aa0a6;
  --amarillo: #f5b400;
  --amarillo-2: #ffc72e;
  --sobre-amarillo: #111;
  --rojo: #ef4444;
  --ambar: #f59e0b;
  --verde: #22c55e;
  --azul: #3b82f6;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --sans: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --env: 1200px;
  --lado: 16px;
  --cab: 106px;                /* высота липкой шапки — под неё якоря */
}
@media (min-width: 900px) {
  :root { --lado: 32px; --cab: 116px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--asfalto); color: var(--texto);
  font-family: var(--sans); font-size: 16px; line-height: 1.55;
  font-variant-numeric: tabular-nums;
}
@media (min-width: 900px) { body { font-size: 17px; } }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
h1, h2, h3, h4 {
  margin: 0; font-family: var(--cond); font-weight: 700; line-height: 1;
  letter-spacing: .01em; text-transform: uppercase; text-wrap: balance;
}
[id] { scroll-margin-top: calc(var(--cab) + 14px); }
:focus-visible { outline: 2px solid var(--amarillo); outline-offset: 3px; }
[hidden] { display: none !important; }
button, input, select, textarea { font-family: inherit; font-size: 17px; color: inherit; }
.env { width: 100%; max-width: calc(var(--env) + 2 * var(--lado)); margin-inline: auto; padding-inline: var(--lado); }
.oculto {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.ico { width: 20px; height: 20px; flex: none; }

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

/* ── подписи, коды в рамке, заголовки секций ─────────────────────────── */
.rotulo {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-family: var(--cond); font-weight: 600; font-size: 13px; line-height: 1.2;
  letter-spacing: .16em; text-transform: uppercase; color: var(--texto-2);
}
.cod {
  display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 7px;
  border: 1px solid var(--linea-2); color: var(--texto);
  font-family: var(--cond); font-weight: 600; font-size: 14px; line-height: 1;
  letter-spacing: .06em; font-variant-numeric: tabular-nums; text-transform: uppercase;
}
.titulo { font-size: clamp(34px, 5.2vw, 60px); line-height: .96; }
.lead { color: var(--texto-2); font-size: 17px; max-width: 62ch; }
@media (min-width: 900px) { .lead { font-size: 19px; } }
.sec { padding-block: 60px; position: relative; }
@media (min-width: 900px) { .sec { padding-block: 110px; } }
.sec--panel { background: var(--panel); border-block: 1px solid var(--linea); }
.sec-cab { display: grid; gap: 16px; margin-bottom: 36px; max-width: 780px; }
@media (min-width: 900px) { .sec-cab { margin-bottom: 56px; } }
.fig {
  font-family: var(--cond); font-weight: 600; font-size: 12.5px; line-height: 1.3;
  letter-spacing: .14em; text-transform: uppercase; color: var(--texto-2);
}
.rejilla {
  background-image:
    linear-gradient(rgba(236, 235, 231, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(236, 235, 231, .045) 1px, transparent 1px);
  background-size: 40px 40px; background-position: -1px -1px;
}
/* косая полоса-предупреждение: одна на страницу */
.peligro {
  height: 8px;
  background: repeating-linear-gradient(-45deg, var(--amarillo) 0 9px, var(--sobre-amarillo) 9px 18px);
}

/* ── кнопки и ссылки-стрелки ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 2px;
  background: none; color: var(--texto); cursor: pointer; text-decoration: none; white-space: nowrap;
  font-family: var(--cond); font-weight: 700; font-size: 17px; line-height: 1;
  letter-spacing: .07em; text-transform: uppercase;
  transition: background-color .15s, border-color .15s, color .15s, transform .1s;
}
.btn .ico { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn--amarillo { background: var(--amarillo); color: var(--sobre-amarillo); }
.btn--amarillo:hover { background: var(--amarillo-2); }
.btn--linea { border-color: var(--linea-2); }
.btn--linea:hover { border-color: var(--texto); }
.acciones { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 599px) {
  .acciones--apilar { display: grid; }
  .acciones--apilar .btn { width: 100%; }
}
.enlace {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-family: var(--cond); font-weight: 600; font-size: 16px; line-height: 1.15;
  letter-spacing: .09em; text-transform: uppercase; text-decoration: none; color: var(--texto);
}
.enlace .ico { width: 18px; height: 18px; color: var(--amarillo); transition: transform .18s; }
.enlace:hover .ico, .enlace:focus-visible .ico { transform: translateX(4px); }
.enlace:hover { color: #fff; }
.boton-texto {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0;
  background: none; border: 0; color: var(--texto-2); cursor: pointer; text-decoration: underline;
  text-underline-offset: 3px; font-size: 15px;
}
.boton-texto:hover { color: var(--texto); }

/* ── шапка: табличка слева, статус и звонок справа, лента вкладок ────── */
.cab { position: sticky; top: 0; z-index: 40; background: var(--asfalto); border-bottom: 1px solid var(--linea); }
.cab__fila {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "marca llamar" "estado llamar";
  column-gap: 12px; align-items: center; padding-block: 8px;
}
.marca { grid-area: marca; justify-self: start; display: block; text-decoration: none; padding-block: 11px; margin-block: -11px; }
@media (min-width: 900px) { .marca { padding-block: 0; margin-block: 0; } }
.marca__nombre {
  display: block; font-family: var(--cond); font-weight: 700; font-size: 23px; line-height: 1;
  letter-spacing: .06em; text-transform: uppercase;
}
.marca__lema { display: none; }
.estado {
  grid-area: estado; display: flex; align-items: center; gap: 7px; min-width: 0; margin-top: 5px;
  font-family: var(--cond); font-weight: 500; font-size: 14px; line-height: 1.15;
  letter-spacing: .02em; color: var(--texto-2);
}
.estado > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.estado__punto { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--linea-2); }
[data-abierto="si"] .estado__punto { background: var(--verde); animation: latido 2.6s ease-out infinite; }
[data-abierto="casi"] .estado__punto { background: var(--ambar); }
[data-abierto="no"] .estado__punto { background: var(--rojo); }
@keyframes latido {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); }
  70%, 100% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
}
.cab__llamar { grid-area: llamar; min-height: 44px; padding: 0 14px; font-size: 16px; }
.cab__llamar .solo-ancho, .cab__cita { display: none; }
.pestanas { border-top: 1px solid var(--linea); }
.pestanas__lista {
  display: flex; gap: 26px; list-style: none; margin: 0 calc(-1 * var(--lado));
  padding: 0 var(--lado); overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain;
}
.pestanas__lista::-webkit-scrollbar { display: none; }
.pestanas__lista > li { flex: none; position: relative; display: flex; align-items: stretch; }
.pestanas__lista > li > a {
  position: relative; display: flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px;
  font-family: var(--cond); font-weight: 600; font-size: 15px; line-height: 1;
  letter-spacing: .12em; text-transform: uppercase; color: var(--texto-2); text-decoration: none;
}
.pestanas__lista > li > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--linea-2); transform: scaleX(0); transform-origin: left; transition: transform .2s;
}
.pestanas__lista > li > a:hover { color: var(--texto); }
.pestanas__lista > li > a:hover::after { transform: scaleX(1); }
.pestanas__lista > li > a[aria-current]::after, .pestanas__lista > li > a.activa::after { background: var(--amarillo); transform: scaleX(1); }
.pestanas__lista > li > a[aria-current], .pestanas__lista > li > a.activa { color: var(--texto); }
.pestanas__abrir, .mega { display: none; }

@media (min-width: 900px) {
  .cab__fila { grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-areas: "marca estado cita llamar"; padding-block: 11px; column-gap: 16px; }
  .marca__nombre { font-size: 27px; }
  .marca__lema {
    display: block; margin-top: 6px; font-family: var(--cond); font-weight: 600; font-size: 12.5px;
    line-height: 1; letter-spacing: .2em; text-transform: uppercase; color: var(--texto-2);
  }
  .estado { justify-self: end; margin: 0; font-size: 16px; }
  .cab__cita { display: inline-flex; grid-area: cita; }
  .cab__llamar { min-height: 48px; padding: 0 20px; font-size: 17px; }
  .cab__llamar .solo-ancho { display: inline; }
  .cab__llamar .solo-movil { display: none; }
  .pestanas__lista { overflow: visible; gap: 34px; margin: 0; padding: 0; }
  .pestanas__lista > li > a { min-height: 44px; font-size: 15.5px; }
  /* выпадашка «Servicios» — только на мониторе, на телефоне ссылка ведёт на страницу */
  .pestanas__abrir {
    display: inline-flex; align-items: center; justify-content: center; width: 30px; margin-left: 2px;
    padding: 0; background: none; border: 0; color: var(--texto-2); cursor: pointer;
  }
  .pestanas__abrir svg { width: 14px; height: 14px; transition: transform .2s; }
  .pestanas__abrir[aria-expanded="true"] { color: var(--amarillo); }
  .pestanas__abrir[aria-expanded="true"] svg { transform: rotate(180deg); }
  .mega {
    display: grid; position: absolute; top: calc(100% + 1px); left: -32px; z-index: 50;
    width: 780px; grid-template-columns: 1.15fr 1fr; background: var(--panel);
    border: 1px solid var(--linea); box-shadow: 0 30px 60px rgba(0, 0, 0, .55);
    animation: bajar .18s ease-out;
  }
  @keyframes bajar { from { opacity: 0; transform: translateY(-6px); } }
  .mega__lista { list-style: none; padding: 14px 0; border-right: 1px solid var(--linea); }
  .mega__lista a {
    display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 14px;
    padding: 11px 24px; text-decoration: none;
  }
  .mega__lista a:hover, .mega__lista a:focus-visible { background: var(--panel-2); }
  .mega__lista .cod { min-width: 34px; height: 26px; font-size: 13px; }
  .mega__nombre { font-family: var(--cond); font-weight: 700; font-size: 20px; letter-spacing: .05em; text-transform: uppercase; }
  .mega__precio { font-family: var(--cond); font-weight: 600; font-size: 16px; color: var(--texto-2); }
  .mega__destacado { display: grid; grid-template-rows: 170px auto; text-decoration: none; }
  .mega__destacado img { width: 100%; height: 170px; object-fit: cover; }
  .mega__destacado div { padding: 20px 24px 24px; display: grid; gap: 8px; align-content: start; }
  .mega__destacado b { font-family: var(--cond); font-size: 24px; letter-spacing: .04em; text-transform: uppercase; }
  .mega__destacado p { color: var(--texto-2); font-size: 15px; line-height: 1.45; }
  .mega__destacado:hover b { color: var(--amarillo); }
}

/* ── подвал: заводская табличка и карта сайта ────────────────────────── */
.pie { border-top: 1px solid var(--linea); padding-block: 48px 0; background: var(--asfalto); }
.pie__env { display: grid; gap: 40px; }
@media (min-width: 960px) { .pie__env { grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; } }
.placa {
  position: relative; padding: 26px 26px 22px; border: 1px solid var(--linea-2);
  background:
    radial-gradient(circle at 12px 12px, #4a5057 3px, transparent 3.6px),
    radial-gradient(circle at calc(100% - 12px) 12px, #4a5057 3px, transparent 3.6px),
    radial-gradient(circle at 12px calc(100% - 12px), #4a5057 3px, transparent 3.6px),
    radial-gradient(circle at calc(100% - 12px) calc(100% - 12px), #4a5057 3px, transparent 3.6px),
    var(--panel);
}
.placa__marca { font-family: var(--cond); font-weight: 700; font-size: 34px; line-height: 1; letter-spacing: .07em; text-transform: uppercase; }
.placa__lema { margin-top: 8px; font-family: var(--cond); font-weight: 600; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--texto-2); }
.placa__datos { margin-top: 22px; border-top: 1px solid var(--linea); }
.placa__datos > div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--linea); align-items: baseline; }
.placa__datos dt { font-family: var(--cond); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--texto-2); }
.placa__datos dd { font-size: 16px; }
.placa__datos a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -12px; text-decoration: none; }
.placa__datos a:hover { color: var(--amarillo); }
.mapa-web { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
@media (min-width: 600px) { .mapa-web { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mapa-web__t { font-family: var(--cond); font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--texto-2); padding-bottom: 10px; border-bottom: 1px solid var(--linea); margin-bottom: 6px; }
.mapa-web ul { list-style: none; }
.mapa-web a { display: flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 16px; }
.mapa-web a:hover { color: var(--amarillo); }
.pie__legal { margin-top: 44px; padding-block: 18px; border-top: 1px solid var(--linea); color: var(--texto-2); font-size: 14px; }
.nota-demo { background: var(--negro); border-top: 1px solid var(--linea); color: var(--texto-2); font-size: 14px; }
.nota-demo p { padding-block: 14px; }
.nota-demo b { color: var(--texto); font-weight: 600; }

/* ── формы: поля, сегменты, флажки ───────────────────────────────────── */
.campo { display: grid; gap: 7px; }
.campo__etq {
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
  font-family: var(--cond); font-weight: 600; font-size: 14px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--texto-2);
}
.campo__etq em { font-style: normal; letter-spacing: .06em; text-transform: none; font-weight: 500; }
.campo__pista { font-size: 14px; color: var(--texto-2); line-height: 1.4; }
.entrada {
  width: 100%; min-height: 50px; padding: 11px 14px; border: 1px solid var(--linea-2); border-radius: 2px;
  background: var(--asfalto); color: var(--texto); font-size: 17px; line-height: 1.2;
}
.entrada:hover { border-color: #8b9198; }
.entrada:focus { outline: 2px solid var(--amarillo); outline-offset: 1px; border-color: transparent; }
.entrada::placeholder { color: #6f757b; }
textarea.entrada { min-height: 104px; resize: vertical; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
.segmentos { display: grid; gap: 7px; }
.segmentos__op { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border: 1px solid var(--linea-2); border-radius: 2px; }
.segmentos__op label { position: relative; display: flex; }
.segmentos__op label + label { border-left: 1px solid var(--linea-2); }
.segmentos__op input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segmentos__op span {
  flex: 1; display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 6px 8px;
  font-family: var(--cond); font-weight: 600; font-size: 16px; line-height: 1.1; letter-spacing: .06em;
  text-transform: uppercase; color: var(--texto-2); text-align: center; cursor: pointer;
  transition: background-color .15s, color .15s, box-shadow .15s;
}
.segmentos__op label:hover span { color: var(--texto); }
.segmentos__op input:checked + span { background: var(--panel-2); color: var(--texto); box-shadow: inset 0 -3px 0 var(--amarillo); }
.segmentos__op input:focus-visible + span { outline: 2px solid var(--amarillo); outline-offset: -2px; }
.segmentos__op input:disabled + span { opacity: .4; cursor: not-allowed; }

/* ── номерной знак: белая табличка с синей полосой ЕС ────────────────── */
.matricula {
  display: flex; height: 60px; background: #f4f4ef; border: 2px solid #0d0d0d; border-radius: 5px;
  box-shadow: 0 0 0 1px var(--linea-2); overflow: hidden;
}
.matricula:focus-within { outline: 2px solid var(--amarillo); outline-offset: 3px; }
.matricula__ue { flex: 0 0 36px; display: grid; justify-items: center; align-content: center; gap: 3px; background: #0b3a9e; color: #fff; }
.matricula__ue svg { width: 22px; height: 22px; }
.matricula__ue b { font-family: var(--cond); font-weight: 600; font-size: 16px; line-height: 1; }
.matricula input {
  flex: 1; min-width: 0; padding: 0 14px; border: 0; background: transparent; color: #111;
  font-family: var(--cond); font-weight: 600; font-size: 34px; line-height: 1;
  letter-spacing: .12em; text-transform: uppercase;
}
.matricula input:focus { outline: none; }
.matricula input::placeholder { color: #a3a39c; }

/* ── главная: первый экран с виджетом ITV ────────────────────────────── */
.portada { border-bottom: 1px solid var(--linea); }
.portada__env { display: grid; gap: 30px; padding-block: 30px 40px; }
@media (min-width: 1000px) {
  .portada__env { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 64px; align-items: center; padding-block: 72px 84px; }
}
.portada__texto { display: grid; gap: 20px; align-content: start; }
.portada h1 { font-size: clamp(42px, 6.6vw, 88px); line-height: .92; letter-spacing: .005em; }
.portada h1 span { color: var(--texto-2); }
.portada__lead { font-size: 18px; color: #c9cbc9; max-width: 44ch; }
@media (min-width: 1000px) { .portada__lead { font-size: 20px; } }
.portada__enlaces { display: grid; border-top: 1px solid var(--linea); }
.portada__enlaces .enlace { justify-content: space-between; min-height: 52px; border-bottom: 1px solid var(--linea); }
@media (min-width: 600px) {
  .portada__enlaces { display: flex; flex-wrap: wrap; gap: 4px 30px; border-top: 0; }
  .portada__enlaces .enlace { justify-content: flex-start; min-height: 44px; border-bottom: 0; }
}

.itv { background: var(--panel); border: 1px solid var(--linea); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.itv__cuerpo { display: grid; gap: 18px; padding: 20px 18px 16px; }
@media (min-width: 480px) { .itv__cuerpo { padding: 24px 26px 18px; } }
.itv__cab { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.itv__titulo { font-size: 26px; line-height: 1; letter-spacing: .02em; }
.itv__doble { display: grid; gap: 18px; }
@media (min-width: 480px) { .itv__doble { grid-template-columns: 1fr 1fr; } }
.lectura { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid var(--linea); }
.lectura__etq { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lectura__ejemplo {
  font-family: var(--cond); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sobre-amarillo); background: var(--texto-2); padding: 3px 7px;
}
.lectura__fecha { font-family: var(--cond); font-weight: 700; font-size: clamp(30px, 8vw, 40px); line-height: 1; text-transform: uppercase; }
.lectura__dias { font-size: 16px; color: var(--texto-2); }
.lectura__dias b { font-family: var(--cond); font-weight: 700; font-size: 24px; color: var(--amarillo); letter-spacing: .02em; }
.lectura__nota { font-size: 14px; color: var(--texto-2); }
.lectura__coche { font-size: 15px; color: var(--texto-2); }
.lectura__nota--tarde { padding: 10px 12px; border-left: 2px solid var(--rojo); background: rgba(239, 68, 68, .08); color: #f3b7b7; }
.lectura__fecha--vacia { color: var(--texto-2); }
.medidor { position: relative; height: 10px; background: var(--panel-2); border: 1px solid var(--linea); }
.medidor i { position: absolute; inset: 0 auto 0 0; width: calc(var(--p, 0) * 100%); background: var(--verde); transition: width .5s ease-out, background-color .3s; }
.medidor::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), var(--asfalto) calc(25% - 1px) 25%);
}
.medidor[data-estado="pronto"] i, .medidor[data-estado="ya"] i { background: var(--ambar); }
.medidor[data-estado="tarde"] i { background: var(--rojo); }
.itv__pie { border-top: 1px solid var(--linea); padding-top: 4px; }

.luz-rojo { color: var(--rojo); }
.luz-ambar { color: var(--ambar); }
.luz-verde { color: var(--verde); }
.luz-azul { color: var(--azul); }
/* часы группами: «Lunes a viernes» и интервалы — отдельными строками там, где тесно */
.hg { display: block; }
.hg b { font-weight: 500; }
.placa .hg b { display: block; color: var(--texto); }
.placa .hg span { color: var(--texto-2); }
.placa .hg + .hg { margin-top: 6px; }
/* ══ внутренние страницы: шапка страницы и хлебные крошки ══════════════ */
.cabeza { border-bottom: 1px solid var(--linea); padding-block: 14px 44px; }
@media (min-width: 900px) { .cabeza { padding-block: 22px 84px; } }
.migas {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0 10px; margin-bottom: 14px;
  font-family: var(--cond); font-weight: 600; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--texto-2);
}
.migas a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; text-decoration: none; color: var(--texto); }
.migas a:hover { color: var(--amarillo); }
.cabeza__env { display: grid; gap: 36px; }
@media (min-width: 1000px) { .cabeza__env { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 56px; align-items: end; } }
.cabeza__texto { display: grid; gap: 22px; align-content: end; }
.cabeza__titulo { font-size: clamp(48px, 8.4vw, 108px); line-height: .98; letter-spacing: 0; } /* ниже .98 хвост «¿» садится на строку под ним */
.cabeza__titulo span { display: block; color: var(--texto-2); }

/* ══ финальная полоса с лентой-предупреждением ════════════════════════ */
.aviso-final { background: var(--panel); border-top: 1px solid var(--linea); }
.aviso-final__env { display: grid; gap: 26px; padding-block: 44px 52px; }
@media (min-width: 900px) { .aviso-final__env { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding-block: 64px; } }
.aviso-final__titulo { font-size: clamp(34px, 4.6vw, 56px); }
.aviso-final__env p { margin-top: 12px; color: var(--texto-2); font-size: 18px; }

.cabeza--corta { padding-bottom: 36px; }
@media (min-width: 900px) { .cabeza--corta { padding-bottom: 56px; } }
.cabeza__fila { display: grid; gap: 20px; }
@media (min-width: 1000px) { .cabeza__fila { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: end; } }
.caja { display: grid; place-items: center; width: 26px; height: 26px; border: 1.5px solid var(--linea-2); background: var(--asfalto); transition: background-color .15s, border-color .15s; }
.caja svg { width: 18px; height: 18px; color: var(--sobre-amarillo); opacity: 0; transform: scale(.6); transition: opacity .15s, transform .2s; }
input:checked + .caja { background: var(--amarillo); border-color: var(--amarillo); }
input:checked + .caja svg { opacity: 1; transform: scale(1); }
input:focus-visible + .caja { outline: 2px solid var(--amarillo); outline-offset: 3px; }
input:disabled + .caja { opacity: .35; }
