/* ElQueSoluciona — hoja de estilos del sitio
   Concepto: "orden de servicio". La página funciona como la hoja de trabajo de un técnico:
   papel cuadriculado, etiquetas tipo formulario, sellos de "resuelto" y una orden que el
   cliente llena y envía por WhatsApp. Tipografía ancha (Archivo expandida) + monoespaciada. */

/* ---------- Fuentes (alojadas en el propio sitio) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2-variations"), url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --paper: #edf1f5;         /* papel de orden de trabajo, gris azulado */
  --paper-2: #e2e8ef;
  --white: #ffffff;
  --ink: #0b1b33;           /* texto principal */
  --ink-soft: #46566c;
  --navy: #002a5e;          /* marino de marca */
  --navy-900: #001a3b;
  --blue: #008aca;          /* azul de marca */
  --blue-ink: #0072a8;      /* azul con contraste AA para enlaces */
  --orange: #e76640;        /* naranja de marca: fondos y sellos */
  --orange-ink: #c9502d;    /* naranja con contraste AA para botones y texto */
  --orange-ink-hover: #b4441f;
  --orange-soft: #f2a07f;
  --line: #cfd8e2;
  --line-dark: rgba(255, 255, 255, .16);

  --font-sans: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow: 0 1px 2px rgba(11, 27, 51, .06), 0 10px 30px rgba(11, 27, 51, .10);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(64px, 9vw, 112px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { margin: 0; line-height: 1.08; text-wrap: balance; }
h1, h2 { font-stretch: 125%; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.15rem; font-weight: 700; font-stretch: 110%; }
p { margin: 0; }
a { color: var(--blue-ink); text-underline-offset: 3px; }
input, textarea, button { font: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon--sm { width: 1em; height: 1em; }

/* Etiquetas monoespaciadas (estilo formulario técnico) */
.eyebrow, .tag, .ticket__label, .ticket__num, .spec dt, .svc__code, .step__time, .closed__meta {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow { color: var(--orange-ink); margin-bottom: 14px; }
.eyebrow::before { content: "// "; }
.eyebrow--light { color: var(--orange-soft); }
.tag { color: var(--orange-ink); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: .75em 1.35em;
  font: 700 1rem/1.2 var(--font-sans); font-stretch: 110%;
  border-radius: var(--radius); border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease);
  touch-action: manipulation;
}
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 44px; padding: .5em 1em; font-size: .95rem; }
.btn--lg { min-height: 56px; padding: .9em 1.5em; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--orange-ink); color: var(--white); }
.btn--primary:hover { background: var(--orange-ink-hover); }
.btn--dark { background: var(--navy); color: var(--white); }
.btn--dark:hover { background: var(--navy-900); }
.btn--outline { color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4em; min-height: 44px;
  font-weight: 700; color: var(--blue-ink); text-decoration: none;
}
.link-arrow:hover { text-decoration: underline; }

/* ---------- Encabezado ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(11, 27, 51, .08); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand img { width: auto; height: 42px; }

.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__list > li > a, .nav__toggle-sub {
  display: inline-flex; align-items: center; gap: .35em;
  min-height: 44px; padding: 0 12px;
  font: 600 .98rem var(--font-sans); color: var(--ink);
  background: none; border: 0; border-radius: var(--radius-sm); cursor: pointer; text-decoration: none;
}
.nav__list > li > a:hover, .nav__toggle-sub:hover { color: var(--blue-ink); }
.nav__list a[aria-current="page"] { color: var(--orange-ink); }
.nav__phone a { font-family: var(--font-mono); font-weight: 500; font-size: .92rem; color: var(--navy); }
.nav__toggle-sub .icon { transition: transform .2s var(--ease); }
.nav__toggle-sub[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__group { position: relative; }
.nav__sub {
  list-style: none; margin: 0; padding: 8px;
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 270px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.nav__toggle-sub[aria-expanded="true"] + .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { display: block; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; font-weight: 500; }
.nav__sub a:hover, .nav__sub a[aria-current="page"] { background: var(--paper); color: var(--orange-ink); }
.nav__cta { margin-left: 8px; }
.nav__list > li.nav__cta > a { padding: .5em 1em; border-radius: var(--radius); background: var(--orange-ink); color: var(--white); }
.nav__list > li.nav__cta > a:hover { background: var(--orange-ink-hover); color: var(--white); }
.nav__burger {
  display: none; width: 48px; height: 48px; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--navy); cursor: pointer;
}
.nav__burger .icon--close { display: none; }
.nav__burger[aria-expanded="true"] .icon--open { display: none; }
.nav__burger[aria-expanded="true"] .icon--close { display: block; }

@media (max-width: 1079px) {
  .brand img { height: 36px; }
  .nav__burger { display: inline-flex; }
  .nav__list {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    padding: 8px var(--gutter) 24px;
    background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 18px 30px rgba(11, 27, 51, .12);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .nav.is-open .nav__list { opacity: 1; visibility: visible; transform: none; }
  .nav__list > li > a, .nav__toggle-sub { width: 100%; justify-content: space-between; min-height: 52px; padding: 0 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav__sub { position: static; min-width: 0; padding: 4px 0 8px 12px; border: 0; box-shadow: none; transform: none; display: none; opacity: 1; visibility: visible; }
  .nav__toggle-sub[aria-expanded="true"] + .nav__sub { display: block; }
  .nav__phone a { justify-content: flex-start; gap: .6em; }
  .nav__cta { margin: 16px 0 0; }
  .nav__cta .btn { width: 100%; min-height: 52px; }
}

/* ---------- Hero ---------- */
.hero {
  background-color: var(--paper);
  /* papel de ingeniería: punto cada 24px */
  background-image: radial-gradient(rgba(0, 42, 94, .16) 1px, transparent 1.2px);
  background-size: 24px 24px;
  padding: clamp(32px, 6vw, 72px) 0 0;
}
.hero__grid { display: grid; gap: clamp(32px, 4vw, 56px); align-items: start; }
.hero__kicker {
  display: block; margin-bottom: 18px;
  font: 500 .82rem/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--navy);
}
.hero__kicker::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 10px; background: var(--orange); vertical-align: 1px; }
.hero h1 em { font-style: normal; color: var(--orange-ink); }
.hero__lead { margin-top: 22px; max-width: 36rem; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-soft); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; }
.hero__photo { margin: clamp(28px, 4vw, 44px) 0 0; }
.hero__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-lg); }
.hero__photo figcaption {
  display: flex; align-items: center; gap: 8px; margin-top: 12px;
  font: 500 .8rem/1.4 var(--font-mono); color: var(--ink-soft);
}

/* Orden de servicio (formulario que arma el mensaje de WhatsApp) */
.ticket {
  position: relative;
  display: grid; gap: 20px;
  padding: 28px clamp(20px, 3vw, 32px) 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.ticket__head {
  display: flex; justify-content: space-between; gap: 12px;
  padding-bottom: 16px; margin-bottom: 4px;
  border-bottom: 2px dashed var(--line);
  position: relative;
}
/* muescas del talonario */
.ticket__head::before, .ticket__head::after {
  content: ""; position: absolute; bottom: -11px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--line);
}
.ticket__head::before { left: calc(-1 * clamp(20px, 3vw, 32px) - 11px); }
.ticket__head::after { right: calc(-1 * clamp(20px, 3vw, 32px) - 11px); }
.ticket__label { color: var(--navy); }
.ticket__num { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.ticket__title { font-size: clamp(1.45rem, 2.4vw, 1.8rem); font-stretch: 125%; font-weight: 800; letter-spacing: -.02em; padding-right: 72px; }
.ticket__field { margin: 0; padding: 0; border: 0; min-width: 0; }
.ticket__field legend, .ticket__legend {
  display: block; margin-bottom: 10px; padding: 0;
  font-weight: 700; font-size: .95rem; color: var(--ink);
}
.ticket__legend span { font-weight: 400; color: var(--ink-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius);
  font-size: .95rem; font-weight: 600; color: var(--ink);
  transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
}
.chip:hover span { border-color: var(--navy); }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.chip--sm span { min-height: 40px; font-size: .9rem; }
.input {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--paper); color: var(--ink); font-size: 1rem;
  transition: border-color .15s, background-color .15s;
}
.input::placeholder { color: #6b7a8e; }
.input:focus { outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 3px rgba(0, 138, 202, .2); }
textarea.input { resize: vertical; min-height: 76px; }
.ticket__foot { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .9rem; color: var(--ink-soft); }
.ticket__foot .icon { color: var(--orange-ink); }
.ticket__stamp {
  position: absolute; top: 64px; right: 20px;
  padding: 6px 10px;
  font: 500 .85rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-ink); border: 2.5px solid currentColor; border-radius: var(--radius-sm);
  transform: rotate(-12deg); opacity: .9;
  box-shadow: inset 0 0 0 2px var(--white), inset 0 0 0 3.5px currentColor;
}

/* Ficha técnica (datos clave) */
.specs {
  display: grid; grid-template-columns: repeat(2, 1fr);
  margin: clamp(40px, 6vw, 64px) 0 0;
  background: var(--white); border: 1px solid var(--line); border-bottom: 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.spec { display: flex; flex-direction: column; gap: 6px; padding: 22px clamp(16px, 3vw, 28px); border-bottom: 1px solid var(--line); }
.spec:nth-child(odd) { border-right: 1px solid var(--line); }
.spec dt { color: var(--ink-soft); }
.spec dd { margin: 0; font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; font-stretch: 125%; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
@media (min-width: 760px) {
  .specs { grid-template-columns: repeat(4, 1fr); }
  .spec { border-bottom: 0; }
  .spec:not(:last-child) { border-right: 1px solid var(--line); }
}
@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .ticket { position: sticky; top: calc(var(--header-h) + 20px); }
}

/* ---------- Páginas internas ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 10px; list-style: none; margin: 0 0 28px; padding: 0; font: 500 .78rem/1.4 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--line); }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--blue-ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--navy); }

.page-hero {
  background-color: var(--paper);
  background-image: radial-gradient(rgba(0, 42, 94, .16) 1px, transparent 1.2px);
  background-size: 24px 24px;
  padding: clamp(24px, 4vw, 40px) 0 clamp(48px, 7vw, 88px);
}
.page-hero__grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
.page-hero__code {
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
  font: 500 .82rem/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--navy);
}
.page-hero__code img { width: 48px; height: 48px; }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.page-hero__lead { margin-top: 18px; font-size: clamp(1.1rem, 1.6vw, 1.25rem); font-weight: 600; color: var(--navy); max-width: 38rem; }
.prose { display: grid; gap: 14px; margin-top: 18px; max-width: 38rem; color: var(--ink-soft); }
.page-hero__photo { margin: 0; }
.page-hero__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.page-hero .specs { border-radius: var(--radius-lg); border-bottom: 1px solid var(--line); }
@media (min-width: 1000px) {
  .page-hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
}

/* Alcance del servicio: lista numerada tipo partida de cotización */
.scope { list-style: none; margin: 0; padding: 0; display: grid; border-top: 2px solid var(--ink); }
.scope__item { display: flex; gap: 20px; padding: 22px 4px; border-bottom: 1px solid var(--line); }
.scope__code { flex: none; width: 52px; padding-top: 3px; font: 500 .85rem var(--font-mono); color: var(--orange-ink); font-variant-numeric: tabular-nums; }
.scope__item h3 { margin-bottom: 4px; }
.scope__item p { color: var(--ink-soft); }
@media (min-width: 760px) {
  .scope { grid-template-columns: 1fr 1fr; column-gap: 48px; }
}

/* Banda con orden de servicio en páginas de servicio */
.order-band { display: grid; gap: clamp(28px, 4vw, 56px); align-items: start; }
.order-band__title { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.order-band__text { margin-top: 14px; max-width: 30rem; font-size: 1.1rem; color: var(--ink-soft); }
@media (min-width: 1000px) { .order-band { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }

/* Nosotros */
.page-hero__media { align-self: stretch; }
.purpose { display: grid; gap: 20px; }
.purpose__card { padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: var(--radius-lg); border-top: 4px solid var(--orange); }
.purpose__text { font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.55; }
@media (min-width: 860px) { .purpose { grid-template-columns: 1fr 1fr; } }
.values { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.value { display: grid; gap: 10px; align-content: start; padding: 28px; background: var(--white); }
.value__icon { width: 44px; height: 44px; padding: 10px; border-radius: var(--radius); background: var(--navy); color: var(--white); }
.value p { color: var(--ink-soft); }
@media (min-width: 640px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .values { grid-template-columns: repeat(3, 1fr); } }

/* Contacto */
.page-hero--contact .hero__grid { align-items: start; }
.channels { list-style: none; margin: 32px 0 0; padding: 0; display: grid; border-top: 2px solid var(--ink); }
.channel { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.channel__icon { width: 44px; height: 44px; padding: 11px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); color: var(--orange-ink); }
.channel h3 { font-size: 1.05rem; }
.channel p { color: var(--ink-soft); font-size: .97rem; }
.channel .channel__value { margin-top: 4px; font-weight: 700; color: var(--ink); }
.channel__value a { color: var(--blue-ink); }

/* Blog: índice */
.page-hero--compact { padding-bottom: clamp(32px, 5vw, 56px); }
.page-hero--compact .page-hero__lead { font-weight: 500; color: var(--ink-soft); }
.section--flush-top { padding-top: clamp(32px, 5vw, 56px); }
.post-feature { position: relative; display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.post-feature__media img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-feature__body { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 4vw, 44px); }
.post-feature h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.post-feature h2 a { color: var(--ink); text-decoration: none; }
.post-feature h2 a::after { content: ""; position: absolute; inset: 0; }
.post-feature p:not(.tag) { color: var(--ink-soft); }
.post-feature:hover h2 a { color: var(--orange-ink); }
.post-feature:focus-within { outline: 3px solid var(--blue); outline-offset: 2px; }
.post-grid--spaced { margin-top: 24px; }
@media (min-width: 960px) { .post-grid--spaced { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .post-feature { grid-template-columns: 1.1fr 1fr; align-items: center; } }

/* Blog: artículo */
.container--narrow { width: min(100% - 2 * var(--gutter), 860px); }
.article__head { background-color: var(--paper); background-image: radial-gradient(rgba(0, 42, 94, .16) 1px, transparent 1.2px); background-size: 24px 24px; padding-top: clamp(24px, 4vw, 40px); }
.article__head h1 { margin-top: 12px; font-size: clamp(1.9rem, 4.2vw, 3.1rem); }
.article__meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 20px; font: 500 .8rem/1.4 var(--font-mono); color: var(--ink-soft); text-transform: uppercase; letter-spacing: .04em; }
.article__hero { margin-top: clamp(28px, 4vw, 44px); margin-bottom: 0; position: relative; top: 1px; }
.article__hero img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.article__layout { display: grid; gap: 40px; padding-block: clamp(40px, 6vw, 72px); }
.article__body { min-width: 0; max-width: 46rem; font-size: 1.1rem; line-height: 1.75; }
.article__body > * + * { margin-top: 1.1em; }
.article__lead { font-size: 1.25rem; line-height: 1.6; font-weight: 500; color: var(--navy); }
.article__body h2 { margin-top: 2em; font-size: clamp(1.45rem, 2.6vw, 1.85rem); }
.article__body h3 { margin-top: 1.6em; font-size: 1.2rem; }
.article__body h2 + *, .article__body h3 + * { margin-top: .6em; }
.article__body ul, .article__body ol { padding-left: 1.3em; }
.article__body li + li { margin-top: .45em; }
.article__body li::marker { color: var(--orange-ink); font-weight: 700; }
.article__body a { font-weight: 600; }
.article__body blockquote { margin-inline: 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--blue); font-size: 1.15rem; color: var(--navy); }
.article__body blockquote footer { margin-top: 8px; font: 500 .8rem var(--font-mono); text-transform: uppercase; color: var(--ink-soft); }
.article-figure { margin-inline: 0; }
.article-figure img { width: 100%; border-radius: var(--radius-lg); }

.note { padding: 20px 22px; border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: var(--radius); background: var(--paper); font-size: 1.02rem; line-height: 1.65; }
.note > * + * { margin-top: .5em; }
.note__title { font: 500 .8rem/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.note--tip { border-left-color: #1f8a4c; }
.note--tip .note__title { color: #17703c; }
.note--warn { border-left-color: var(--orange-ink); background: #fdf1ec; }
.note--warn .note__title { color: var(--orange-ink); }
.note--myth .note__title { font-family: var(--font-sans); font-size: 1.05rem; letter-spacing: 0; text-transform: none; font-weight: 700; color: var(--ink); }
.note ul { padding-left: 1.2em; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.article__body table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .97rem; line-height: 1.45; font-variant-numeric: tabular-nums; }
.article__body th { padding: 12px 14px; text-align: left; font: 500 .75rem var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--white); background: var(--navy); }
.article__body td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.article__body tbody tr:nth-child(even) td { background: var(--paper); }

.proscons { list-style: none; padding-left: 0 !important; }
.proscons li { position: relative; padding-left: 28px; }
.proscons li::before { position: absolute; left: 0; top: 0; font: 700 1rem/1.75 var(--font-mono); }
.proscons .pro::before { content: "+"; color: #17703c; }
.proscons .con::before { content: "−"; color: var(--orange-ink); }
.proscons .price { font-weight: 600; }
.proscons .price::before { content: "Q"; color: var(--navy); }

.checklist { list-style: none; padding: 20px 22px !important; border: 1px solid var(--line); border-radius: var(--radius); }
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border: 2px solid var(--navy); border-radius: 4px; }

.numbered { list-style: none; padding-left: 0 !important; counter-reset: num; display: grid; gap: 14px; }
.numbered > li { counter-increment: num; position: relative; padding: 20px 22px 20px 72px; border: 1px solid var(--line); border-radius: var(--radius); }
.numbered > li + li { margin-top: 0; }
.numbered > li::before { content: counter(num, decimal-leading-zero); position: absolute; left: 22px; top: 20px; font: 800 1.4rem/1 var(--font-sans); font-stretch: 125%; color: var(--orange-ink); }
.numbered h3 { margin: 0 0 6px !important; font-size: 1.1rem; }
.numbered p { margin: 0; color: var(--ink-soft); font-size: 1rem; }

.faq { margin-top: 2.4em !important; }
.faq h2 { margin-bottom: .6em; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 14px 0; font-weight: 700; font-stretch: 110%; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { color: var(--orange-ink); transition: transform .2s var(--ease); }
.faq__item[open] .faq__icon { transform: rotate(180deg); }
.faq__item p { padding-bottom: 18px; color: var(--ink-soft); font-size: 1.02rem; }

.article__aside { display: none; }
.aside-card { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 12px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }
.aside-card img { width: 56px; height: 56px; }
.aside-card__title { font-size: 1.2rem; font-weight: 800; font-stretch: 125%; line-height: 1.2; }
.aside-card p:not(.aside-card__title) { color: var(--ink-soft); font-size: .97rem; }
@media (min-width: 1080px) {
  .article__layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; }
  .article__aside { display: block; }
}

/* ---------- Secciones ---------- */
.section { padding: var(--section-y) 0; }
.section--tint { background: var(--paper); }
.section--ink { background: var(--navy); color: var(--white); }
.section-head { max-width: 50rem; margin: 0 0 clamp(36px, 5vw, 56px); }
.section-head--left { margin-bottom: 36px; }
.section-head--split { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; max-width: none; }

/* Catálogo de servicios: filas tipo etiqueta de herramienta */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.svc {
  position: relative;
  display: grid; grid-template-columns: 56px minmax(0, 1fr) 28px; align-items: center; gap: 4px 18px;
  padding: 22px 8px;
  border-bottom: 1px solid var(--line);
  transition: background-color .2s var(--ease);
}
.svc:hover { background: var(--paper); }
.svc__code { grid-column: 1 / -1; color: var(--ink-soft); }
.svc__icon { width: 56px; height: 56px; grid-row: span 2; }
.svc__name { font-size: clamp(1.2rem, 2vw, 1.5rem); font-stretch: 125%; font-weight: 800; letter-spacing: -.01em; }
.svc__name a { color: var(--ink); text-decoration: none; }
.svc__name a::after { content: ""; position: absolute; inset: 0; } /* toda la fila es clicable */
.svc__name a:focus-visible { outline: none; }
.svc:focus-within { outline: 3px solid var(--blue); outline-offset: -3px; }
.svc__desc { grid-column: 2; color: var(--ink-soft); }
.svc__arrow { grid-column: 3; grid-row: 2 / span 2; width: 26px; height: 26px; color: var(--orange-ink); transition: transform .2s var(--ease); }
.svc:hover .svc__arrow { transform: translateX(6px); }
@media (min-width: 860px) {
  .svc { grid-template-columns: 64px 64px minmax(0, 1fr) minmax(0, 1.3fr) 32px; gap: 28px; padding: 26px 12px; }
  .svc__code { grid-column: auto; }
  .svc__icon { grid-row: auto; width: 64px; height: 64px; }
  .svc__desc { grid-column: auto; }
  .svc__arrow { grid-column: auto; grid-row: auto; }
}

/* Proceso: línea de tiempo con tiempos reales */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px; }
.step { position: relative; padding-left: 64px; }
.step__time { color: var(--orange-ink); margin-bottom: 10px; }
.step__icon {
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy); color: var(--white); box-shadow: 0 0 0 6px var(--paper);
}
.step h3 { font-size: 1.3rem; font-stretch: 125%; font-weight: 800; margin-bottom: 8px; }
.step p:last-child { color: var(--ink-soft); max-width: 30rem; }
.step:not(:last-child)::after { content: ""; position: absolute; left: 23px; top: 56px; bottom: -28px; width: 2px; background: var(--line); }
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .step { padding: 72px 0 0; }
  .step__icon { top: 0; }
  .step__time { position: absolute; z-index: 1; top: 14px; left: 64px; padding: 0 10px 0 6px; background: var(--paper); }
  .step:not(:last-child)::after { left: 60px; right: -32px; top: 23px; bottom: auto; width: auto; height: 2px; }
}

/* Por qué elegirnos */
.why { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
.why__media { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.why__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); aspect-ratio: 1; }
.why__media .why__main { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.reasons { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.reason { display: flex; gap: 16px; }
.reason__icon { width: 46px; height: 46px; padding: 11px; border-radius: var(--radius); background: #fdeee8; color: var(--orange-ink); }
.reason h3 { margin-bottom: 4px; }
.reason p { color: var(--ink-soft); }
@media (min-width: 720px) { .reasons { grid-template-columns: repeat(2, 1fr); gap: 32px 28px; } }
@media (min-width: 1024px) { .why { grid-template-columns: .95fr 1.05fr; } }

/* Testimonios: órdenes cerradas con sello */
.closed-grid { display: grid; gap: 20px; }
.closed {
  position: relative; display: flex; flex-direction: column; gap: 16px; margin: 0;
  padding: 24px 24px 28px; border-radius: var(--radius-lg);
  background: var(--white); color: var(--ink);
}
.closed__meta { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 2px dashed var(--line); color: var(--ink-soft); }
.closed__stars { display: flex; gap: 3px; color: #e0a100; }
.icon--star { width: 18px; height: 18px; }
.closed blockquote { margin: 0; flex: 1; font-size: 1.05rem; }
.closed figcaption { font-weight: 700; font-stretch: 110%; }
.closed__stamp {
  position: absolute; right: 18px; bottom: 18px;
  padding: 4px 8px; border: 2.5px solid var(--blue-ink); border-radius: var(--radius-sm);
  font: 500 .78rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-ink); transform: rotate(-8deg); opacity: .85;
}
@media (min-width: 900px) { .closed-grid { grid-template-columns: repeat(3, 1fr); } }

/* Blog */
.post-grid { display: grid; gap: 24px; }
.post-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.post-card img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; background: var(--paper); }
.post-card__body { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 26px; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card p:last-child { color: var(--ink-soft); }
.post-card:focus-within { outline: 3px solid var(--blue); outline-offset: 2px; }
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }

/* Llamado final */
.cta { padding: clamp(56px, 8vw, 96px) 0; background: var(--orange); color: var(--ink); }
.cta__inner { display: grid; gap: 28px; }
.cta h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); max-width: 18ch; }
.cta h2 span { display: block; color: var(--white); text-shadow: 0 1px 0 rgba(11, 27, 51, .15); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta .btn--primary { background: var(--navy); }
.cta .btn--primary:hover { background: var(--navy-900); }
.cta__hours { display: flex; align-items: center; gap: 8px; font: 500 .85rem var(--font-mono); text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Pie ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .78); font-size: .97rem; }
.site-footer__grid { display: grid; gap: 40px; padding: clamp(56px, 7vw, 80px) 0 48px; }
.site-footer__brand img { width: 200px; height: auto; margin-bottom: 18px; }
.site-footer__brand p { max-width: 24rem; }
.site-footer__title { font: 500 .78rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.site-footer__links, .site-footer__contact, .social { list-style: none; margin: 0; padding: 0; }
.site-footer__links li + li, .site-footer__contact li + li { margin-top: 10px; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer__contact li { display: flex; align-items: flex-start; gap: 10px; }
.site-footer__contact .icon { margin-top: 3px; color: var(--orange-soft); }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius); border: 1px solid var(--line-dark); }
.social a:hover { background: rgba(255, 255, 255, .08); text-decoration: none; }
.social .icon { width: 18px; height: 18px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 22px 0 28px; border-top: 1px solid var(--line-dark); font-size: .9rem; }
.site-footer__bottom a { color: var(--orange-soft); font-weight: 700; }
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } .site-footer__grid > div:last-child { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.5fr 1fr .8fr 1.2fr; } .site-footer__grid > div:last-child { grid-column: auto; } }

/* Botón flotante de WhatsApp */
.wa-float {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 40;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: #1fa855; color: var(--white); box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
  transition: transform .2s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float .icon { width: 28px; height: 28px; }

/* Aparición al hacer scroll (solo si el usuario no pidió reducir movimiento) */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
