/* Aperta · el parte de trabajo. Paleta D: grafito, gris, crema y naranja (siempre con texto oscuro). Mobile first. */

@font-face { font-family: "Barlow"; src: url("/fonts/Barlow-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/Barlow-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/Barlow-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/Barlow-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/fonts/BarlowCondensed-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/fonts/BarlowCondensed-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/fonts/BarlowCondensed-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  /* Paleta fija */
  --ink: #1B1B1B;
  --graphite: #2B2F33;
  --slate: #4A5258;
  --cream: #F4F4F1;
  --orange: #F26B1D;
  /* Neutros derivados de la paleta */
  --paper: #FBFBF8;          /* la hoja, sobre la mesa crema */
  --rule: #CDCDC6;           /* rayado fino */
  --rule-strong: #4A5258;
  --label: #5A6268;          /* etiquetas de casilla (4.9:1 sobre la hoja) */
  --on-ink-muted: #C3C8CB;
  --highlight: rgba(242, 107, 29, .34);

  --font: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-title: "Barlow Condensed", "Barlow", "Arial Narrow", system-ui, sans-serif;
  --wrap: 1200px;
  --bar: 70px;
  --radius: 3px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --sheet-shadow: 0 1px 0 rgba(27, 27, 27, .06), 0 22px 40px -28px rgba(27, 27, 27, .45);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--slate) var(--cream); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  font-variant-numeric: tabular-nums;
  padding-bottom: calc(var(--bar) + env(safe-area-inset-bottom));
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { margin: 0 0 .45em; font-family: var(--font-title); font-weight: 700; line-height: 1.02; letter-spacing: -.01em; color: var(--graphite); text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 9vw, 4.6rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 5.2vw, 2.6rem); }
h3 { font-size: 1.35rem; letter-spacing: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; }
strong { font-weight: 700; }
small { font-size: .62em; font-weight: 600; letter-spacing: .02em; }
::selection { background: var(--orange); color: var(--ink); }
input, textarea { caret-color: var(--ink); }

.on-dark { color: var(--cream); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--cream); }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--cream); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 32px; } }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--orange); color: var(--ink); padding: 12px 16px; font-weight: 700; }
.skip:focus { top: 8px; }
.muted { color: var(--label); }
.on-dark .muted { color: var(--on-ink-muted); }

/* Etiqueta de casilla: el pequeño rótulo impreso en la esquina de cada casilla del parte */
.cell-label {
  display: block; font-family: var(--font); font-size: .72rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--label); line-height: 1.3;
}
.on-dark .cell-label { color: var(--on-ink-muted); }

/* ---------- Botones: el sello y la línea de tinta ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .7em 1.25em;
  border: 2px solid transparent; border-radius: var(--radius);
  font: inherit; font-family: var(--font-title); font-size: 1.2rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; line-height: 1;
  text-decoration: none; cursor: pointer;
  transition: transform .18s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px) scale(.985); }
/* Sello: naranja con doble filete interior, como un tampón */
.btn-wa { background: var(--orange); border-color: var(--ink); color: var(--ink); box-shadow: inset 0 0 0 3px var(--orange), inset 0 0 0 4.5px var(--ink); }
.btn-wa:hover { background: #FF7A2E; box-shadow: inset 0 0 0 3px #FF7A2E, inset 0 0 0 4.5px var(--ink), 0 6px 14px -8px rgba(27, 27, 27, .6); }
.btn-call { background: transparent; border-color: var(--graphite); color: var(--graphite); }
.btn-call:hover { background: var(--graphite); color: var(--cream); }
.on-dark .btn-call { border-color: var(--cream); color: var(--cream); }
.on-dark .btn-call:hover { background: var(--cream); color: var(--graphite); }
.btn-sm { min-height: 44px; padding: .4em .8em; font-size: 1.05rem; }
.btn-plain { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.btn-plain:hover { background: var(--paper); }
.btn-block { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.5em 0 0; }
.cta-row .btn { flex: 1 1 220px; }
@media (min-width: 700px) { .cta-row .btn { flex: 0 0 auto; } }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 44px; }
.arrow { width: 1.1em; height: 1.1em; flex: none; transition: transform .3s var(--ease); }

/* Golpe de sello al enviar */
.stamped { animation: stamp .42s var(--ease); }
@keyframes stamp { 0% { transform: scale(1); } 35% { transform: scale(.94) rotate(-1.2deg); } 70% { transform: scale(1.02) rotate(.4deg); } 100% { transform: none; } }

/* ---------- Membrete (cabecera) ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--graphite); transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 10px 22px -16px rgba(0, 0, 0, .8); }
.hdr { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; margin-right: auto; text-decoration: none; }
.brand svg { width: 26px; height: 26px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-title); font-size: 1.65rem; font-weight: 800; letter-spacing: .01em; text-transform: uppercase; }
.brand-tag { display: none; font-size: .74rem; letter-spacing: .04em; color: var(--on-ink-muted); margin-top: 2px; }
.hdr-actions { display: flex; align-items: center; gap: 8px; }
.hdr-actions .btn-wa { box-shadow: none; border-color: var(--orange); }
.btn-icon { padding: .4em .6em; }
.hide-sm { display: none; }
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border: 2px solid var(--slate); border-radius: var(--radius);
  background: transparent; color: var(--cream); cursor: pointer;
}
.menu-btn svg { width: 24px; height: 24px; }
.nav { display: none; flex-basis: 100%; }
.nav.open { display: block; }
.nav ul { list-style: none; margin: 0; padding: 0 0 12px; }
.nav a { display: flex; align-items: center; min-height: 50px; border-top: 1px solid var(--slate); text-decoration: none; font-weight: 600; font-size: 1.05rem; }
.nav a[aria-current="page"] { color: var(--cream); }
.nav a[aria-current="page"]::before { content: ""; width: 10px; height: 10px; margin-right: 10px; background: var(--orange); }
@media (max-width: 419px) {
  .hdr { gap: 8px 6px; }
  .brand { gap: 8px; }
  .brand svg { width: 22px; height: 22px; }
  .brand-name { font-size: 1.45rem; }
  .hdr-actions { gap: 6px; }
  .hdr-actions .btn-wa { padding: .4em .55em; gap: .35em; }
}
@media (min-width: 560px) { .brand-tag { display: block; } }
@media (min-width: 760px) { .hide-sm { display: inline; } }
@media (min-width: 1000px) {
  .menu-btn { display: none; }
  .nav { display: block; border-top: 1px solid var(--slate); }
  .nav ul { display: flex; padding: 0; }
  .nav li + li { border-left: 1px solid var(--slate); }
  .nav a { border: 0; min-height: 42px; padding: 0 16px; font-size: .95rem; color: var(--on-ink-muted); transition: color .2s, background-color .2s; }
  .nav li:first-child a { padding-left: 0; }
  .nav a:hover { color: var(--cream); }
  .nav a[aria-current="page"] { color: var(--cream); box-shadow: inset 0 -3px 0 var(--orange); }
  .nav a[aria-current="page"]::before { display: none; }
}

/* ---------- Bloques de la página ---------- */
.block { padding: 56px 0; scroll-margin-top: 70px; }
@media (min-width: 900px) { .block { padding: 88px 0; } }
.block-paper { background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.block-ink { background: var(--graphite); }
.sec-title { display: flex; align-items: baseline; gap: 16px; margin-bottom: .8em; }
.sec-title::after { content: ""; flex: 1; min-width: 24px; border-top: 1.5px solid var(--graphite); transform: translateY(-.2em); }
.on-dark .sec-title::after { border-color: var(--slate); }
.sec-lead { max-width: 62ch; color: var(--slate); margin-top: -.3em; margin-bottom: 1.8em; }
.lead { font-size: 1.15rem; line-height: 1.55; max-width: 60ch; }
.split { display: grid; gap: 36px; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr .9fr; gap: 56px; } }
.prose { max-width: 74ch; }
.prose h2 { margin-top: 1.4em; }
.more-link { margin-top: 24px; font-weight: 600; }

/* ---------- Portada: la hoja del parte ---------- */
.hero { padding: 18px 0 44px; }
@media (min-width: 900px) { .hero { padding: 36px 0 72px; } }
.sheet {
  position: relative; background: var(--paper);
  border: 1px solid var(--rule); border-top: 6px solid var(--graphite);
  box-shadow: var(--sheet-shadow);
  padding: 22px 18px 24px;
}
@media (min-width: 700px) { .sheet { padding: 36px 36px 34px; } }
@media (min-width: 1100px) { .sheet { padding: 44px 48px 40px; } }
/* Borde perforado bajo la hoja */
.sheet::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: -9px; height: 3px;
  background: radial-gradient(circle, var(--rule) 1.2px, transparent 1.6px) 0 0 / 9px 3px repeat-x;
}
.sheet-head h1 { max-width: 17ch; margin-bottom: .3em; }
@media (min-width: 900px) { .sheet-head h1 { max-width: 30ch; font-size: clamp(3rem, 5.2vw, 4.5rem); } }
.sheet-head .lead { color: var(--slate); margin-bottom: 1.4em; }
/* Móvil: el sello tiene que verse sin bajar */
@media (max-width: 699px) {
  .hero { padding-top: 12px; }
  .sheet { padding: 18px 14px 20px; }
  .sheet-head h1 { font-size: clamp(2rem, 8.6vw, 2.5rem); max-width: none; }
  .sheet-head .lead { font-size: 1rem; margin-bottom: 1em; }
  .parte-hero .chips { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
  .parte-hero .cell { padding: 10px 12px 12px; }
  .parte-hero .cell-stamp { padding: 10px; }
  .parte-hero .cell-stamp .btn { min-height: 52px; }
  .parte-hero input[type="text"] { min-height: 40px; }
}

/* Casillas del parte */
.parte { display: grid; border: 1.5px solid var(--graphite); border-radius: var(--radius); background: var(--paper); }
.cell { position: relative; margin: 0; padding: 12px 14px 14px; border: 0; min-width: 0; }
.cell + .cell { border-top: 1px solid var(--rule-strong); }
.cell .cell-label { margin-bottom: 8px; padding: 0; }
fieldset.cell { min-inline-size: 0; }
legend.cell-label { float: left; width: 100%; }
legend.cell-label + * { clear: both; }
.parte input[type="text"], .parte textarea {
  width: 100%; min-height: 46px; padding: 6px 0 4px; border: 0; border-bottom: 1.5px dashed var(--label); border-radius: 0;
  background: transparent; font: inherit; font-size: 1.15rem; font-weight: 500; color: var(--ink);
}
.parte textarea { min-height: 96px; resize: vertical; line-height: 1.55;
 padding-top: 2px; }
.parte input::placeholder, .parte textarea::placeholder { color: var(--label); font-weight: 400; }
.parte input[type="text"]:focus, .parte textarea:focus { outline: none; border-bottom-style: solid; border-bottom-color: var(--ink); }
.cell:focus-within .cell-label { color: var(--ink); }
.cell-stamp { display: flex; align-items: center; }
.cell-stamp .btn { width: 100%; min-height: 58px; font-size: 1.3rem; }
.parte-note { grid-column: 1 / -1; margin: 0; padding: 12px 14px; border-top: 1px solid var(--rule-strong); font-size: .88rem; color: var(--label); }

/* Casillas de verificación (averías) */
.chips { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.chip { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font-weight: 600; font-size: 1.02rem; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-box { position: relative; width: 22px; height: 22px; flex: none; border: 2px solid var(--graphite); background: var(--paper); transition: background-color .15s; }
.chip-box::after {
  content: ""; position: absolute; left: 5px; top: 1px; width: 7px; height: 12px;
  border: solid var(--ink); border-width: 0 3px 3px 0; transform: rotate(45deg) scale(0); transform-origin: center;
  transition: transform .22s var(--ease);
}
.chip input:checked + .chip-box { background: var(--orange); }
.chip input:checked + .chip-box::after { transform: rotate(45deg) scale(1); }
.chip input:focus-visible + .chip-box { outline: 2px solid var(--ink); outline-offset: 3px; }
.chip:hover .chip-box { background: var(--cream); }
.chip input:checked:hover + .chip-box { background: var(--orange); }

@media (min-width: 900px) {
  .parte-hero { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.1fr); }
  .parte-hero .cell-stamp .btn { white-space: nowrap; }
  .parte-hero .cell + .cell { border-top: 0; border-left: 1px solid var(--rule-strong); }
  .parte-hero .cell-stamp { padding: 14px; }
}
.parte-full .chips { gap: 4px 16px; }
.parte-alt { margin: 14px 0 0; font-size: .98rem; color: var(--slate); }
.parte-alt a { font-weight: 700; color: var(--ink); }

/* ---------- Tarifa: concepto, puntos guía, importe ---------- */
.tariff { list-style: none; margin: 26px 0 18px; padding: 0; border-top: 1.5px solid var(--graphite); }
.tline {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; column-gap: 10px;
  padding: 12px 0 11px; border-bottom: 1px solid var(--rule);
}
.tline-what { font-weight: 600; }
.tline-dots { display: none; }
.tline-amt { font-family: var(--font-title); font-size: 1.55rem; font-weight: 700; line-height: 1.1; text-align: right; white-space: nowrap; color: var(--ink); }
.tline-amt small { color: var(--slate); }
.tline-note { grid-column: 1 / -1; font-size: .92rem; color: var(--label); margin-top: 2px; }
/* Importe en palabras: en móvil baja a su propia línea */
@media (max-width: 699px) {
  .tline-text .tline-amt { grid-column: 1 / -1; text-align: left; white-space: normal; font-size: 1.3rem; margin-top: 2px; }
}
/* El subrayado de rotulador que marca la línea de la avería elegida */
.tline::before {
  content: ""; position: absolute; left: -6px; right: -6px; top: 6px; bottom: 6px; z-index: -1;
  background: var(--highlight); transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease);
}
.tline.marked::before { transform: scaleX(1); }
.tariff { position: relative; z-index: 0; }
@media (min-width: 700px) {
  .tline { grid-template-columns: auto minmax(24px, 1fr) auto; }
  .tline-dots { display: block; align-self: end; height: 1px; margin-bottom: .45em;
    background: radial-gradient(circle, var(--label) 1px, transparent 1.4px) 0 0 / 7px 2px repeat-x; height: 2px; }
  .tline-note { grid-column: 1 / 2; }
}
@media (min-width: 1000px) {
  .tariff-hero .tline { padding: 9px 0 8px; }
  .tariff-hero .tline { grid-template-columns: auto auto minmax(24px, 1fr) auto; }
  .tariff-hero .tline-what { grid-column: 1; grid-row: 1; }
  .tariff-hero .tline-note { grid-column: 2; grid-row: 1; margin: 0 0 0 12px; align-self: baseline; }
  .tariff-hero .tline-dots { grid-column: 3; grid-row: 1; }
  .tariff-hero .tline-amt { grid-column: 4; grid-row: 1; font-size: 1.7rem; }
  .tariff-full .tline { padding: 16px 0 15px; }
  .tariff-full .tline-what { font-size: 1.12rem; }
  .tariff-full .tline-amt { font-size: 2rem; }
}
.price-note {
  display: inline-flex; align-items: center; gap: 10px; margin: 6px 0 0;
  padding: 8px 12px; border: 1.5px solid var(--graphite); border-radius: var(--radius);
  font-family: var(--font-title); font-size: 1.15rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; line-height: 1.15;
  transform: rotate(-.6deg);
}
.price-note::before { content: ""; width: 10px; height: 10px; background: var(--orange); flex: none; }
.on-dark .price-note { border-color: var(--cream); }
.conditions { display: grid; gap: 14px; max-width: 760px; }
.conditions p { margin: 0; }

/* ---------- Servicios: la línea destacada y las líneas del parte ---------- */
.svc-feature { display: grid; background: var(--graphite); color: var(--cream); border-radius: var(--radius); overflow: hidden; margin-bottom: 18px; }
.svc-feature-body { padding: 24px 20px 26px; }
@media (min-width: 700px) { .svc-feature-body { padding: 36px; } }
@media (min-width: 900px) { .svc-feature { grid-template-columns: 1.15fr .85fr; } }
.svc-feature h3 { font-size: clamp(2rem, 5.6vw, 3rem); color: var(--cream); margin-bottom: .3em; }
.svc-feature h3 a { text-decoration: none; }
.svc-feature h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.svc-feature p { color: rgba(244, 244, 241, .86); }
.svc-feature-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.svc-feature .sl-icon { background: transparent; border-color: var(--slate); color: var(--orange); }
.svc-feature .ticks li::before { border-color: var(--orange); }
.svc-feature-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 14px 0; margin: 4px 0 0; border-top: 1px solid var(--slate); border-bottom: 1px solid var(--slate); }
.svc-feature-price .cell-label { flex-basis: 100%; color: var(--on-ink-muted); }
.svc-feature .muted { color: var(--on-ink-muted); }
.svc-feature-price .tline-amt { color: var(--cream); font-size: 2.2rem; }
.svc-feature-price .tline-amt small { color: var(--on-ink-muted); }
.svc-feature .btn-call { border-color: var(--cream); color: var(--cream); }
.svc-feature .btn-call:hover { background: var(--cream); color: var(--graphite); }
.svc-feature .ph { border-radius: 0; border-width: 1px 0 0; min-height: 220px; }
@media (min-width: 900px) { .svc-feature .ph { border-width: 0 0 0 1px; aspect-ratio: auto; height: 100%; } }

.sl-icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border: 1.5px solid var(--graphite); border-radius: var(--radius); color: var(--graphite); }
.sl-icon svg { width: 26px; height: 26px; }

.svc-lines { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--graphite); }
.svc-line {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 6px 16px;
  padding: 18px 4px; border-bottom: 1px solid var(--rule); text-decoration: none;
  transition: background-color .2s, padding .3s var(--ease);
}
.svc-line .arrow { grid-column: 3; grid-row: 1; }
.svc-line-main { display: flex; flex-direction: column; gap: 2px; }
.svc-line-main strong { font-family: var(--font-title); font-size: 1.55rem; line-height: 1.1; }
.svc-line-main span { color: var(--slate); font-size: .98rem; }
.svc-line-price { grid-column: 2 / 4; font-weight: 700; }
.svc-line:hover { background: var(--paper); }
.svc-line:hover .arrow { transform: translateX(4px); }
.svc-line:hover .svc-line-main strong { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (min-width: 900px) {
  .svc-line { grid-template-columns: auto minmax(0, 1.3fr) minmax(0, .9fr) auto; padding: 22px 8px; }
  .svc-line-price { grid-column: 3; text-align: right; }
  .svc-line .arrow { grid-column: 4; }
}

/* Enlaces a servicios (páginas interiores) */
.service-links { list-style: none; padding: 0; margin: 0 0 1.4em; border-top: 1.5px solid var(--graphite); }
.service-links a { display: flex; align-items: center; gap: 16px; padding: 14px 4px; border-bottom: 1px solid var(--rule); text-decoration: none; transition: background-color .2s; }
.service-links a:hover { background: var(--paper); }
.service-links a:hover .arrow { transform: translateX(4px); }
.service-links .sl-text { flex: 1; min-width: 0; }
.service-links strong { display: block; font-family: var(--font-title); font-size: 1.3rem; line-height: 1.15; }
.service-links .sl-text span { color: var(--slate); font-size: .94rem; }
.service-links .sl-icon { width: 44px; height: 44px; }
.service-links .sl-icon svg { width: 24px; height: 24px; }

/* ---------- Listas ---------- */
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding: 10px 0 10px 36px; border-bottom: 1px solid var(--rule); }
.ticks li:first-child { border-top: 1px solid var(--rule); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 12px; width: 20px; height: 20px; border: 2px solid var(--graphite);
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%231B1B1B' stroke-width='3.4' stroke-linecap='square' d='m5.5 12.5 4 4 8.5-9'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.on-dark .ticks li, .svc-feature .ticks li { border-color: var(--slate); }

.steps { list-style: none; counter-reset: paso; padding: 0; margin: 0; display: grid; border: 1.5px solid var(--graphite); border-radius: var(--radius); background: var(--paper); }
.steps li { counter-increment: paso; position: relative; padding: 20px 18px 20px 72px; }
.steps li + li { border-top: 1px solid var(--rule-strong); }
.steps li::before {
  content: counter(paso); position: absolute; left: 18px; top: 16px;
  font-family: var(--font-title); font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--graphite);
}
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { padding: 64px 22px 24px; }
  .steps li + li { border-top: 0; border-left: 1px solid var(--rule-strong); }
  .steps li::before { left: 22px; top: 18px; }
}

/* ---------- Urgencias ---------- */
.urgency-grid { display: grid; gap: 26px; align-items: center; }
@media (min-width: 900px) { .urgency-grid { grid-template-columns: .9fr 1.1fr; gap: 56px; } }
.urgency h2 { font-size: clamp(1.7rem, 4.6vw, 2.4rem); }
.urgency p { color: rgba(244, 244, 241, .86); max-width: 52ch; }

/* ---------- Preguntas frecuentes: renglones de observaciones ---------- */
.faq { max-width: 860px; border-top: 1.5px solid var(--graphite); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  position: relative; list-style: none; cursor: pointer;
  min-height: 56px; padding: 16px 48px 16px 0; font-weight: 700; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 2.5px; margin-top: -1px;
  background: var(--graphite); transition: transform .3s var(--ease);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.faq-a { padding: 0 40px 18px 0; color: #34393D; }
.faq-a p { margin: 0; }
.faq-group + .faq-group { margin-top: 48px; }

/* ---------- Marcadores de imagen ---------- */
.ph {
  margin: 0; aspect-ratio: var(--r, 4/3); width: 100%;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 18px;
  border: 1.5px dashed var(--label); border-radius: var(--radius);
  background: var(--cream); color: var(--slate); font-size: .92rem;
}
.svc-feature .ph { background: #353A3E; color: var(--on-ink-muted); border-color: var(--slate); }
.svc-feature .ph .cell-label { color: var(--cream); }

/* ---------- Imágenes ilustrativas ---------- */
.photo { margin: 0; aspect-ratio: var(--r, 4/3); width: 100%; overflow: hidden; border-radius: var(--radius); background: var(--paper); }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.svc-feature .photo { border-radius: 0; min-height: 220px; }
@media (min-width: 900px) { .svc-feature .photo { aspect-ratio: auto; height: 100%; } }

/* ---------- Zonas ---------- */
.zone-cols { display: grid; gap: 28px; }
@media (min-width: 760px) { .zone-cols { grid-template-columns: repeat(3, 1fr); gap: 36px; } }
.zone-cols h3, .zone-h { font-size: 1.4rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.zone-time { font-family: var(--font); font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--label); }
.zone-list { list-style: none; padding: 0; margin: 0; border-top: 1.5px solid var(--graphite); }
.zone-list a { display: flex; align-items: center; justify-content: space-between; min-height: 46px; border-bottom: 1px solid var(--rule); text-decoration: none; font-weight: 500; }
.zone-list a::after { content: ""; width: 7px; height: 7px; border: solid var(--slate); border-width: 2px 2px 0 0; transform: rotate(45deg); margin-right: 6px; transition: transform .25s var(--ease); }
.zone-list a:hover { text-decoration: underline; }
.zone-list a:hover::after { transform: translateX(3px) rotate(45deg); }
.zone-list-short { max-width: 520px; }
.time-box { padding: 22px; background: var(--paper); border: 1.5px solid var(--graphite); border-radius: var(--radius); box-shadow: var(--sheet-shadow); }
@media (min-width: 900px) { .time-box { position: sticky; top: 130px; } }
.time-box h2 { font-size: 1.35rem; margin-bottom: .2em; }
.time-amt { font-family: var(--font-title); font-size: 2.6rem; font-weight: 800; line-height: 1; margin: 0 0 .5em; padding-bottom: .35em; border-bottom: 1px solid var(--rule); }

/* ---------- Cabecera de página interior ---------- */
.page-head { padding: 22px 0 40px; background: var(--paper); border-bottom: 6px solid var(--graphite); }
@media (min-width: 900px) { .page-head { padding: 36px 0 60px; } }
.page-head h1 { max-width: 20ch; margin-bottom: .25em; }
.page-head .lead { color: var(--slate); }
.page-head-title { display: flex; align-items: flex-start; gap: 16px; }
.page-head-icon { display: none; }
@media (min-width: 700px) {
  .page-head-icon { display: grid; place-items: center; width: 64px; height: 64px; margin-top: .4em; flex: none; border: 2px solid var(--graphite); border-radius: var(--radius); color: var(--graphite); }
  .page-head-icon svg { width: 36px; height: 36px; }
}
.crumbs li { display: flex; align-items: center; min-height: 44px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; margin: 0 0 8px; padding: 0; font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--label); }
.crumbs li + li::before { content: "/"; margin-right: 6px; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- Contacto, avisos, tablas ---------- */
.contact-list { list-style: none; padding: 0; margin: 0 0 20px; border-top: 1.5px solid var(--graphite); }
.contact-list a { display: flex; flex-direction: column; gap: 2px; padding: 12px 4px; border-bottom: 1px solid var(--rule); text-decoration: none; }
.contact-list a strong { font-family: var(--font-title); font-size: 1.5rem; }
.contact-list a:hover strong { text-decoration: underline; text-decoration-thickness: 2px; }
.contact-extra { margin-top: 20px; }
.note { padding: 22px; background: var(--paper); border: 1.5px solid var(--graphite); border-radius: var(--radius); }
.note h2 { font-size: 1.6rem; }
.note p:last-child { margin-bottom: 0; }
.legal-table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: .94rem; background: var(--paper); }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 10px; border: 1px solid var(--rule); }
.legal-table th { background: var(--cream); }
.table-scroll { overflow-x: auto; }

/* ---------- Pie ---------- */
.site-footer { background: var(--graphite); padding: 0 0 22px; font-size: .97rem; }
.foot-cta { display: grid; gap: 10px; align-items: center; padding-top: 44px; padding-bottom: 36px; border-bottom: 1px solid var(--slate); margin-bottom: 40px; }
@media (min-width: 900px) { .foot-cta { grid-template-columns: 1fr auto; padding-top: 60px; } .foot-cta .cta-row { margin: 0; } }
.foot-cta-title { font-family: var(--font-title); font-size: clamp(2rem, 6vw, 3rem); font-weight: 800; line-height: 1; margin: 0 0 .25em; text-transform: uppercase; }
.foot-cta-text { color: var(--on-ink-muted); margin: 0; }
.foot-grid { display: grid; gap: 30px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; } }
.foot-brand .brand-name { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; }
.foot-brand .brand-name svg { width: 24px; height: 24px; }
.foot-tag, .foot-small { color: var(--on-ink-muted); font-size: .88rem; }
.foot-h { font-family: var(--font); font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .8em; padding-bottom: .6em; border-bottom: 1px solid var(--slate); color: var(--on-ink-muted) !important; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; }
.site-footer li a:hover { text-decoration: underline; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--slate); font-size: .88rem; color: var(--on-ink-muted); }
.foot-legal p { margin: 0; display: flex; align-items: center; }
.foot-legal ul { display: flex; flex-wrap: wrap; gap: 0 18px; }

/* ---------- Barra fija del móvil ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px;
  padding: 9px 10px calc(9px + env(safe-area-inset-bottom));
  background: var(--graphite); border-top: 3px solid var(--orange);
}
.mobile-bar .btn { min-height: 50px; }
.mobile-bar .btn-call { border-color: var(--cream); color: var(--cream); }
@media (min-width: 900px) { body { padding-bottom: 0; } .mobile-bar { display: none; } }

/* ---------- Banner de cookies: una tira fina al pie, que aparece tras el primer scroll ---------- */
.cookie {
  position: fixed; left: 8px; right: 8px; z-index: 70;
  bottom: calc(var(--bar) + 8px + env(safe-area-inset-bottom));
  display: grid; gap: 8px; padding: 12px 14px; background: var(--paper); color: var(--ink);
  border: 1.5px solid var(--graphite); border-top: 4px solid var(--graphite);
  box-shadow: 0 14px 30px -16px rgba(27, 27, 27, .55); font-size: .85rem; line-height: 1.45;
}
.cookie[hidden] { display: none; }
.cookie-title { display: none; }
.cookie p { margin: 0; }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cookie .btn-plain { min-height: 44px; padding: .35em .9em; background: transparent; border-color: var(--graphite); color: var(--graphite); font-size: 1rem; }
.cookie .btn-plain:hover { background: var(--graphite); color: var(--cream); }
@media (min-width: 900px) {
  .cookie { left: 24px; right: 24px; bottom: 16px; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 10px 16px; }
  .cookie-actions { display: flex; }
}
/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Casillas rellenadas, bloque de casillas y hojas interiores ---------- */
.cell-value { display: block; padding: 6px 0 5px; border-bottom: 1.5px solid var(--ink); font-size: 1.15rem; font-weight: 600; }
.cells { display: grid; margin: 0; border: 1.5px solid var(--graphite); border-radius: var(--radius); background: var(--paper); color: var(--ink); }
.cells dd { margin: 0; }
.cells .cell + .cell { border-top: 1px solid var(--rule-strong); }
.cells .cell-label { color: var(--label); }
.cells .cell-value { border-bottom: 0; padding-bottom: 0; font-family: var(--font-title); font-size: 1.55rem; font-weight: 700; line-height: 1.15; }
.hero-page .sheet-head h1 { font-size: clamp(2rem, 7.4vw, 3.6rem); max-width: 24ch; }
.hero-page .crumbs ol { margin-bottom: 4px; }
.hero-page .page-head-icon { margin-top: .2em; }
@media (max-width: 699px) { .hero-page .sheet-head h1 { font-size: clamp(1.9rem, 8vw, 2.3rem); } }
@media (min-width: 900px) { .tline-text .tline-amt { font-size: 1.45rem; } }
/* Averías en una sola línea en el móvil */
@media (min-width: 381px) and (max-width: 699px) {
  .parte-hero .chips { grid-template-columns: max-content max-content; gap: 0 12px; }
  .parte-hero .chip { white-space: nowrap; font-size: .9rem; gap: 7px; }
  .parte-hero .chip-box { width: 20px; height: 20px; }
}