/* JSC Equipos Mineros — sistema de diseño (colores del logo: azul JSC + plomo) */

@font-face { font-family: "Inter"; src: url("/assets/fonts/Inter-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/BarlowCondensed-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/BarlowCondensed-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/BarlowCondensed-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --azul: #232a72;
  --azul-2: #3442b5;
  --azul-deep: #161b4d;
  --plomo: #737373;
  --plomo-claro: #f1f2f5;
  --azul-rgb: 35, 42, 114;

  --bg: #ffffff;
  --bg-2: var(--plomo-claro);
  --surface: #ffffff;
  --surface-2: #f7f8fa;
  --line: rgba(var(--azul-rgb), .11);
  --line-2: rgba(var(--azul-rgb), .2);
  --tint: rgba(var(--azul-rgb), .05);
  --tint-2: rgba(var(--azul-rgb), .1);
  --text: #1e2230;
  --strong: var(--azul-deep);
  --muted: #555b6b;
  --dim: var(--plomo);
  --accent: var(--azul);
  --accent-2: var(--azul-2);
  --accent-ink: #ffffff;
  --label: var(--azul-2);
  --ok: #1e9e62;
  --error: #c0392b;
  --img-shadow: rgba(var(--azul-rgb), .22);

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 20px 50px -22px rgba(var(--azul-rgb), .35);
  --container: 1240px;
  --pad: clamp(1rem, 4vw, 2rem);
  --header-h: 76px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Zonas en azul profundo: portada, encabezados internos, banda de cotización y avisos */
.hero, .page-hero, .cta-band, .toast {
  --bg: var(--azul-deep);
  --bg-2: #1b2160;
  --surface: rgba(255, 255, 255, .05);
  --surface-2: rgba(255, 255, 255, .03);
  --line: rgba(255, 255, 255, .1);
  --line-2: rgba(255, 255, 255, .2);
  --tint: rgba(255, 255, 255, .06);
  --tint-2: rgba(255, 255, 255, .12);
  --text: #e9ecf5;
  --strong: #ffffff;
  --muted: #b4bad6;
  --dim: #9097b8;
  --accent: #ffffff;
  --accent-2: #dde1f5;
  --accent-ink: var(--azul);
  --label: #aab5f2;
  color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; color: var(--strong); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--azul); color: #fff; }
svg[viewBox="0 0 24 24"] { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--azul); color: #fff; padding: .6rem 1rem; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 8px; }
.text-accent { color: var(--label); }
[hidden] { display: none !important; }

/* ---------- tipografía utilitaria ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem; font-size: .78rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--label); margin-bottom: 1rem;
}
.eyebrow::before { content: "‹"; font-size: 1.35em; line-height: 1; font-weight: 700; color: var(--plomo); letter-spacing: 0; }
.cta-band .eyebrow::before, .hero .eyebrow::before, .page-hero .eyebrow::before { color: #c9ccd2; }
.eyebrow--dark { color: var(--label); }
.section__title {
  font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 4.4vw, 3.4rem); letter-spacing: -.005em;
  text-transform: uppercase; max-width: 24ch; text-wrap: balance;
}
.section__title--sm { font-size: clamp(1.5rem, 2.6vw, 2rem); max-width: none; }
.section__lead { color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.125rem); max-width: 60ch; margin-top: 1rem; }
.section__lead--side { margin-top: 0; max-width: 42ch; }

/* ---------- botones ---------- */
.btn {
  --bg: var(--surface); --fg: var(--text); --bd: var(--line-2);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .8rem 1.25rem; min-height: 46px;
  border-radius: 999px; border: 1px solid var(--bd); background: var(--bg); color: var(--fg); font-weight: 600; font-size: .95rem;
  transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { --bg: var(--accent); --fg: var(--accent-ink); --bd: var(--accent); box-shadow: 0 10px 28px -12px rgba(var(--azul-rgb), .55); }
.btn--primary:hover { --bg: var(--accent-2); --bd: var(--accent-2); box-shadow: 0 14px 32px -12px rgba(var(--azul-rgb), .7); }
.btn--ghost { --bg: var(--tint); backdrop-filter: blur(8px); }
.btn--ghost:hover { --bd: var(--accent); --bg: var(--tint-2); }
.btn--dark { --bg: #fff; --fg: var(--azul); --bd: #fff; }
.btn--dark:hover { --bg: #dde1f5; --bd: #dde1f5; }
.btn--outline-dark { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .45); }
.btn--outline-dark:hover { --bd: #fff; }
.btn--lg { padding: 1rem 1.6rem; min-height: 54px; font-size: 1rem; }
.btn--sm { padding: .55rem 1rem; min-height: 38px; font-size: .875rem; }
.ico-wa { fill: currentColor !important; stroke: none !important; }

.link-arrow { display: inline-flex; align-items: center; gap: .45rem; color: var(--accent); font-weight: 600; font-size: .95rem; }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after, a:hover > .link-arrow::after { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .94); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line); transition: box-shadow .3s, height .3s;
}
.site-header.is-solid { box-shadow: 0 8px 30px -18px rgba(var(--azul-rgb), .45); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 2rem; }
.brand { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; }
.brand__logo { height: 48px; width: auto; }
.brand--footer .brand__logo { height: 56px; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: .25rem; }
.nav__link {
  display: inline-flex; align-items: center; gap: .3rem; padding: .55rem .85rem; border-radius: 999px; font-size: .93rem;
  font-weight: 500; color: var(--text); transition: color .2s, background .2s;
}
.nav__link:hover, .nav__link[aria-current="page"], .nav__item--mega:hover > .nav__link { color: var(--azul); background: var(--tint-2); }
.nav__caret { width: 16px; height: 16px; transition: transform .25s; }
.nav__item--mega:hover .nav__caret, .nav__link[aria-expanded="true"] .nav__caret { transform: rotate(180deg); }
.nav__mobile-extra { display: none; }

.mega {
  position: absolute; left: 0; right: 0; top: 100%; background: rgba(255, 255, 255, .98); backdrop-filter: blur(16px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.nav__item--mega:hover .mega, .nav__item--mega:focus-within .mega, .mega.is-open { opacity: 1; visibility: visible; transform: none; }
.mega__inner { display: grid; grid-template-columns: repeat(5, 1fr) 1.2fr; gap: 1.5rem; padding-block: 1.8rem 2rem; }
.mega__head { display: flex; align-items: center; gap: .7rem; padding-bottom: .8rem; margin-bottom: .6rem; border-bottom: 1px solid var(--line); }
.mega__head img { width: 52px; height: 52px; object-fit: contain; background: radial-gradient(circle, rgba(var(--azul-rgb), .1), transparent 70%); border-radius: 10px; }
.mega__head span { font-family: var(--display); font-weight: 700; font-size: 1.05rem; text-transform: uppercase; line-height: 1.1; color: var(--strong); }
.mega__head small { display: block; font-family: var(--font); font-weight: 400; font-size: .72rem; color: var(--muted); text-transform: none; margin-top: .2rem; }
.mega__head:hover span { color: var(--azul-2); }
.mega__col li a { display: block; padding: .3rem 0; font-size: .86rem; color: var(--muted); transition: color .2s, transform .2s; }
.mega__col li a:hover { color: var(--azul); transform: translateX(3px); }
.mega__cta {
  display: flex; flex-direction: column; gap: .7rem; align-items: flex-start; padding: 1.4rem; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(var(--azul-rgb), .08), transparent 60%), var(--bg-2); border: 1px solid var(--line-2);
}
.mega__cta p { font-family: var(--display); font-weight: 700; font-size: 1.35rem; text-transform: uppercase; line-height: 1.05; color: var(--strong); }
.mega__cta span { color: var(--muted); font-size: .87rem; }

.site-header__actions { display: flex; align-items: center; gap: .6rem; }
.quote-btn {
  position: relative; display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border-radius: 999px;
  border: 1px solid rgba(var(--azul-rgb), .4); color: var(--azul); font-weight: 600; font-size: .9rem; transition: background .2s;
}
.quote-btn:hover { background: var(--tint-2); }
.quote-btn svg { width: 19px; height: 19px; }
.quote-btn__count {
  position: absolute; top: -6px; right: -6px; min-width: 21px; height: 21px; padding: 0 5px; display: grid; place-items: center;
  border-radius: 999px; background: var(--azul-2); color: #fff; font-size: .72rem; font-weight: 700; box-shadow: 0 0 0 3px #fff;
}
.quote-btn__count.is-bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--tint); color: var(--azul); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(100svh, 920px); display: flex; align-items: center; padding: calc(var(--header-h) + 3rem) 0 4rem; overflow: hidden; isolation: isolate; background: var(--bg); }
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 50% 65% at 76% 52%, rgba(52, 66, 181, .55), transparent 70%),
    linear-gradient(160deg, #1b2160 0%, var(--azul-deep) 65%);
}
.hero__equipo { position: absolute; right: var(--pad); top: 50%; width: min(38vw, 500px); aspect-ratio: 1 / 1.02; translate: 0 -52%; animation: heroIn 1s var(--ease) both; }
.hero__equipo::before { content: ""; position: absolute; left: 12%; right: 12%; bottom: 4.6rem; height: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .45), transparent); }
.hero__slide {
  position: absolute; inset: 0 0 2.2rem; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 1rem;
  opacity: 0; transform: translateX(36px) scale(.96); pointer-events: none; transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.hero__slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.hero__slide.is-leaving { opacity: 0; transform: translateX(-36px) scale(.96); }
.hero__slide img { width: 100%; height: calc(100% - 3rem); object-fit: contain; object-position: center bottom; filter: drop-shadow(0 30px 34px rgba(0, 0, 0, .4)); }
.hero__slide--repuesto img {
  width: min(88%, 340px);
  height: calc(100% - 3.4rem);
  object-position: center;
  filter: drop-shadow(0 22px 28px rgba(0, 0, 0, .45));
}
.hero__cap { padding: .4rem .95rem; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(22, 27, 77, .55); color: #dfe4f2; font-size: .82rem; font-weight: 600; letter-spacing: .03em; white-space: nowrap; transition: border-color .2s; }
.hero__cap--repuesto {
  border-color: rgba(255, 204, 0, .45);
  background: rgba(22, 27, 77, .72);
  letter-spacing: .02em;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
}
.hero__slide:hover .hero__cap { border-color: rgba(255, 255, 255, .55); }
.hero__slide--repuesto:hover .hero__cap--repuesto { border-color: rgba(255, 204, 0, .75); }
.hero__dots { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: .5rem; }
.hero__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .3); transition: width .3s var(--ease), background .3s; }
.hero__dots button.is-active { width: 24px; background: #fff; }
@keyframes heroIn { from { opacity: 0; transform: translateX(40px); } }
.hero__grid {
  position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse 60% 70% at 20% 50%, #000 0%, transparent 70%);
}
.hero__inner { position: relative; }
.hero__kicker {
  display: flex;
  align-items: center;
  gap: .85rem 1.1rem;
  flex-wrap: wrap;
  max-width: min(58%, 38rem);
  margin-bottom: .35rem;
}
.hero__eyebrow { margin: 0; padding: .45rem .9rem; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(22, 27, 77, .5); backdrop-filter: blur(6px); color: #dfe4f2; letter-spacing: .12em; }
.hero__eyebrow::before { display: none; }
.hero__iso {
  flex: 0 0 auto;
  width: clamp(72px, 9vw, 96px);
  height: clamp(72px, 9vw, 96px);
  padding: 9px;
  box-sizing: border-box;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .28);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3ccf8e; box-shadow: 0 0 0 0 rgba(60, 207, 142, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(60, 207, 142, 0); } 100% { box-shadow: 0 0 0 0 rgba(60, 207, 142, 0); } }
.hero__title {
  font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.8rem, 7.4vw, 6.2rem);
  line-height: .92; letter-spacing: -.01em; margin-top: 1.4rem; max-width: 14ch;
}
.hero__lead { margin-top: 1.5rem; max-width: 56ch; font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: #c9cee4; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.hero__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 660px; margin: 3.5rem 0 0; border-top: 1px solid var(--line-2); }
.hero__stats > div { padding: 1.2rem 1.2rem 0 0; }
.hero__stats > div + div { padding-left: 1.2rem; border-left: 1px solid var(--line); }
.hero__stats dt { font-size: .78rem; color: var(--muted); letter-spacing: .04em; }
.hero__stats dd { margin: 0 0 .2rem; font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1; color: #fff; }
.hero__stats dd small { font-size: .45em; color: var(--muted); margin-left: .2em; }
.hero__stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.hero__scroll { position: absolute; bottom: 1.6rem; left: 50%; translate: -50% 0; width: 26px; height: 42px; border: 2px solid var(--line-2); border-radius: 14px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- trust ---------- */
.trust { border-block: 1px solid var(--line); background: var(--bg-2); }
.trust__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { display: flex; align-items: center; gap: .9rem; padding: 1.4rem 1rem; }
.trust__item + .trust__item { border-left: 1px solid var(--line); }
.trust__item svg { width: 34px; height: 34px; color: var(--azul); flex-shrink: 0; }
.trust__item img { width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; }
.trust__item b { display: block; font-size: .95rem; color: var(--strong); }
.trust__item span { font-size: .8rem; color: var(--muted); }

/* ---------- secciones ---------- */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--panel { background: var(--bg-2); border-block: 1px solid var(--line); }
.section__head { margin-bottom: clamp(2rem, 4vw, 3.4rem); }
.section__head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.section__more { margin-top: 2.5rem; text-align: center; }

/* ---------- líneas ---------- */
.lineas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.linea {
  position: relative; display: grid; grid-template-columns: 44% 1fr; align-items: center; min-height: 230px; padding: 1.2rem;
  border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--surface), var(--surface-2)); border: 1px solid var(--line);
  overflow: hidden; transition: border-color .35s, transform .35s var(--ease), box-shadow .35s;
}
.linea::before {
  content: ""; position: absolute; inset: auto -30% -60% -30%; height: 90%; background: radial-gradient(closest-side, rgba(var(--azul-rgb), .1), transparent);
  opacity: .6; transition: opacity .35s;
}
.linea:hover { border-color: rgba(var(--azul-rgb), .4); transform: translateY(-4px); box-shadow: var(--shadow); }
.linea:hover::before { opacity: 1; }
.linea__media { position: relative; }
.linea__media img { width: 100%; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 18px 18px var(--img-shadow)); transition: transform .5s var(--ease); }
.linea:hover .linea__media img { transform: scale(1.07) rotate(-1.5deg); }
.linea__body { position: relative; padding-left: .4rem; }
.linea__n { font-size: .75rem; color: var(--label); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.linea h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 1.55rem; margin: .35rem 0 .5rem; }
.linea p { color: var(--muted); font-size: .88rem; margin-bottom: .9rem; }

/* ---------- tabs / spotlight ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: .3rem; padding: .3rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.tabs__tab { padding: .55rem 1.05rem; border-radius: 999px; border: 0; background: none; color: var(--muted); font-weight: 600; font-size: .9rem; transition: background .25s, color .25s; }
.tabs__tab:hover { color: var(--azul); }
.tabs__tab[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); }
.spot { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; animation: fadeUp .5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }
.spot__media { position: relative; aspect-ratio: 1.1; display: grid; place-items: center; border-radius: var(--radius-lg); background: linear-gradient(180deg, #f7f8fa, #eceef4); border: 1px solid var(--line); overflow: hidden; }
.spot__media::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(circle at 50% 60%, #000, transparent 70%); }
.spot__glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--azul-rgb), .14), transparent); filter: blur(10px); }
.spot__media img { position: relative; width: 82%; filter: drop-shadow(0 26px 24px var(--img-shadow)); }
.spot__cat { color: var(--label); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.spot__title { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(2rem, 3.6vw, 3rem); margin: .5rem 0 .8rem; }
.spot__resumen { color: var(--muted); font-size: 1.05rem; }
.spot__dest, .ficha__dest, .card-eq__dest { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-top: 1.5rem; }
.spot__dest li, .ficha__dest li { padding: .9rem 1rem; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); }
.spot__dest b, .ficha__dest b { display: block; font-family: var(--display); font-weight: 700; font-size: 1.55rem; color: var(--azul); line-height: 1.05; }
.spot__dest span, .ficha__dest span { font-size: .78rem; color: var(--muted); }
.spot__acciones { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }

.specs { width: 100%; border-collapse: collapse; font-size: .93rem; }
.specs th, .specs td { text-align: left; padding: .8rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 45%; color: var(--muted); font-weight: 500; padding-right: 1rem; }
.specs td { color: var(--text); font-weight: 500; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.specs--mini { margin-top: 1.4rem; font-size: .88rem; }
.specs--mini th, .specs--mini td { padding: .55rem 0; }
.specs__nota { margin-top: 1rem; font-size: .8rem; color: var(--dim); }

/* ---------- servicios ---------- */
.servicios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.servicio { position: relative; padding: clamp(1.5rem, 3vw, 2.4rem); background: var(--surface); transition: background .3s; }
.servicio::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--azul), var(--plomo)); transition: width .45s var(--ease); }
.servicio:hover { background: var(--surface-2); }
.servicio:hover::after { width: 100%; }
.servicio svg { width: 40px; height: 40px; color: var(--azul); stroke-width: 1.5; margin-bottom: 1.3rem; }
.servicio h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 1.45rem; margin-bottom: .6rem; }
.servicio p { color: var(--muted); font-size: .93rem; }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split__media { position: relative; }
.split__photo { display: block; width: 100%; border-radius: var(--radius-lg); aspect-ratio: 4 / 3; object-fit: cover; object-position: center 40%; }
.split__media::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid rgba(115, 115, 115, .45); border-radius: var(--radius-lg); z-index: -1; }
.split__badge { position: absolute; right: -1rem; bottom: 2rem; padding: 1rem 1.3rem; border-radius: var(--radius); background: var(--azul); color: #fff; box-shadow: var(--shadow); }
.split__badge b { display: block; font-family: var(--display); font-size: 1.8rem; font-weight: 800; line-height: 1; }
.split__badge span { font-size: .8rem; font-weight: 600; }
.split__badge--iso {
  padding: .55rem;
  border-radius: 50%;
  background: #fff;
  color: inherit;
  border: 1px solid rgba(15, 61, 99, .12);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
}
.split__badge--iso img {
  display: block;
  width: clamp(72px, 11vw, 104px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}
.checks { margin-top: 1.8rem; display: grid; gap: .9rem; }
.checks li { position: relative; padding-left: 2.1rem; color: var(--muted); }
.checks li b { color: var(--text); font-weight: 600; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .15rem; width: 1.35rem; height: 1.35rem; border-radius: 50%;
  background: rgba(var(--azul-rgb), .1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23232a72' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 62% no-repeat;
}

/* ---------- proceso ---------- */
.proceso { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: p; position: relative; }
.proceso::before { content: ""; position: absolute; top: 28px; left: 4%; right: 4%; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2) 10%, var(--line-2) 90%, transparent); }
.proceso li { position: relative; padding-right: 1rem; }
.proceso__n { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--bg); border: 1px solid rgba(var(--azul-rgb), .4); color: var(--azul); font-family: var(--display); font-weight: 700; font-size: 1.3rem; margin-bottom: 1.3rem; }
.proceso h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 1.35rem; margin-bottom: .45rem; }
.proceso p { color: var(--muted); font-size: .92rem; }

/* ---------- carrusel de fotos ---------- */
.carrusel {
  overflow: hidden; padding-block: .5rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.carrusel__pista { display: flex; gap: 1rem; width: max-content; }
.carrusel.is-ready .carrusel__pista { animation: carrusel var(--carrusel-dur, 45s) linear infinite; }
.carrusel:hover .carrusel__pista { animation-play-state: paused; }
@keyframes carrusel { to { transform: translateX(calc(-50% - .5rem)); } }
.carrusel figure { margin: 0; flex: 0 0 clamp(240px, 30vw, 372px); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.carrusel img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s var(--ease); }
.carrusel figure:hover img { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) { .carrusel { overflow-x: auto; } }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq-wrap .btn { margin-top: 1.6rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: 1.3rem 0; font-weight: 600; font-size: 1.05rem; color: var(--strong); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--azul); font-weight: 400; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 2.5rem 1.4rem 0; }

/* ---------- CTA ---------- */
.cta-band { position: relative; background: linear-gradient(110deg, var(--azul) 0%, #1e2566 60%, var(--azul-2) 140%); color: #fff; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .035) 0 14px, transparent 14px 28px); mask-image: linear-gradient(90deg, transparent 40%, #000); }
.cta-band__inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; padding-block: clamp(3rem, 6vw, 4.5rem); }
.cta-band__title { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 3.8vw, 3rem); max-width: 22ch; line-height: 1; color: #fff; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- footer ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding-top: clamp(3rem, 6vw, 4.5rem); font-size: .9rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 2.5rem; padding-bottom: 3rem; }
.site-footer__brand p { color: var(--muted); margin: 1.2rem 0; max-width: 38ch; }
.site-footer__sgs { width: 64px; opacity: .9; }
.site-footer__h { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--dim); margin-bottom: 1.1rem; font-family: var(--font); font-weight: 600; }
.site-footer ul { display: grid; gap: .6rem; }
.site-footer ul a { color: var(--text); transition: color .2s; }
.site-footer ul a:hover { color: var(--azul-2); }
.site-footer__contact li { color: var(--muted); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.4rem; border-top: 1px solid var(--line); color: var(--dim); font-size: .82rem; }
.site-footer__bottom nav { display: flex; gap: 1.3rem; align-items: center; }
.site-footer__bottom a:hover { color: var(--text); }
.site-footer__libro { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .7rem; border: 1px solid var(--line-2); border-radius: 8px; color: var(--text); }
.site-footer__libro svg { width: 16px; height: 16px; }

.wa-float {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6); transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; stroke: none; }

.toast {
  position: fixed; left: 50%; bottom: 1.5rem; z-index: 60; translate: -50% 150%; display: flex; align-items: center; gap: .8rem;
  padding: .85rem 1.1rem; border-radius: 14px; background: var(--azul-deep); border: 1px solid var(--line-2); box-shadow: var(--shadow);
  font-size: .92rem; transition: translate .4s var(--ease); max-width: calc(100vw - 2rem);
}
.toast.is-visible { translate: -50% 0; }
.toast a { color: var(--label); font-weight: 600; white-space: nowrap; }

/* ---------- páginas internas ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(2rem, 5vw, 3.5rem)) 0 clamp(2rem, 4vw, 3rem); background: var(--bg); border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 90% at 80% 0%, #000, transparent 70%); }
.page-hero::after { content: ""; position: absolute; z-index: -1; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(52, 66, 181, .35), transparent); }
.page-hero__title { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.4rem, 5.6vw, 4.4rem); line-height: .95; max-width: 20ch; }
.page-hero__lead { margin-top: 1.1rem; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.15rem); max-width: 64ch; }
.page-hero--foto { min-height: 460px; display: flex; align-items: flex-end; }
.page-hero--foto .page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero--foto .page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--foto .page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 5%, rgba(22, 27, 77, .72) 50%, rgba(22, 27, 77, .5)); }

.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .82rem; color: var(--dim); margin-bottom: 1.4rem; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: var(--line-2); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb [aria-current] { color: var(--text); }

/* ---------- catálogo ---------- */
.catalogo__bar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 2rem; position: sticky; top: var(--header-h); z-index: 5; padding: .9rem 0; background: linear-gradient(var(--bg) 75%, transparent); }
.chips { display: flex; gap: .45rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .95rem; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--surface); color: var(--text); font-size: .87rem; font-weight: 500; white-space: nowrap; transition: all .2s;
}
.chip:hover { border-color: rgba(var(--azul-rgb), .5); color: var(--azul); }
.chip.is-active { background: var(--azul); border-color: var(--azul); color: #fff; font-weight: 600; }
.chip__n { font-size: .72rem; padding: .05rem .45rem; border-radius: 999px; background: var(--tint-2); }
.chip.is-active .chip__n { background: rgba(255, 255, 255, .2); }
.search { display: flex; align-items: center; gap: .5rem; padding: 0 .9rem; height: 44px; min-width: min(100%, 280px); border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); }
.search:focus-within { border-color: var(--azul); }
.search svg { width: 18px; height: 18px; color: var(--dim); flex-shrink: 0; }
.search input { flex: 1; min-width: 0; border: 0; background: none; color: var(--text); font: inherit; font-size: .92rem; outline: none; }
.catalogo__vacio { padding: 3rem 0; text-align: center; color: var(--muted); }
.catalogo__vacio a { color: var(--accent); }
.otras-lineas { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.otras-lineas > span { color: var(--dim); font-size: .87rem; margin-right: .4rem; }

.grid-eq { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.1rem; }
/* Repuestos: ~3 por fila para que entren nombre, código y chips */
.grid-eq--compacta { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }
.card-eq {
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.card-eq:hover { border-color: rgba(var(--azul-rgb), .4); transform: translateY(-4px); box-shadow: var(--shadow); }
.card-eq.is-hidden { display: none; }
.card-eq__link { display: flex; flex-direction: column; flex: 1; }
.card-eq__media { position: relative; aspect-ratio: 1.15; display: grid; place-items: center; background: radial-gradient(circle at 50% 65%, rgba(var(--azul-rgb), .08), transparent 62%); }
.card-eq__media img { width: 78%; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 14px 14px var(--img-shadow)); transition: transform .45s var(--ease); }
.card-eq:hover .card-eq__media img { transform: scale(1.06); }
.card-eq__body { padding: .35rem 1.35rem 4.6rem; }
.card-eq__cat { font-size: .7rem; color: var(--label); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.card-eq__title { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 1.35rem; margin-top: .35rem; line-height: 1.1; }
.card-eq__resumen { color: var(--muted); font-size: .84rem; margin-top: .5rem; }
.card-eq__dest { gap: .5rem; margin-top: 1rem; }
.card-eq__dest li { padding: .7rem .75rem; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); min-width: 0; }
.card-eq__dest b { display: block; font-family: var(--display); font-size: .92rem; font-weight: 700; color: var(--azul); line-height: 1.2; overflow-wrap: anywhere; hyphens: auto; }
.card-eq__dest span { display: block; font-size: .7rem; color: var(--muted); line-height: 1.3; margin-top: .25rem; }
.grid-eq--compacta .card-eq__dest { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-eq__fav {
  position: absolute; top: .85rem; right: .85rem; z-index: 2;
  width: 42px; height: 42px; padding: 0; border-radius: 999px;
  display: grid; place-items: center;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .92);
  color: var(--azul); box-shadow: 0 6px 14px rgba(0, 0, 0, .08); transition: all .2s;
}
.card-eq__fav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; }
.card-eq__fav:hover { border-color: rgba(var(--azul-rgb), .45); transform: scale(1.05); }
.card-eq__fav.is-on { background: #fff4f4; border-color: #e11d48; color: #e11d48; }
.card-eq__fav.is-on svg { fill: currentColor; stroke: currentColor; }
.card-eq__add {
  position: absolute; left: 1.35rem; right: 1.35rem; bottom: 1.15rem; justify-content: center;
  display: inline-flex; align-items: center; gap: .4rem; padding: .65rem 1rem; border-radius: 12px;
  border: none; background: var(--azul); color: #fff; font-size: .88rem; font-weight: 700;
  letter-spacing: .02em; box-shadow: 0 8px 18px rgba(var(--azul-rgb), .22); transition: all .2s;
}
.card-eq__add svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2.6; fill: none; }
.card-eq__add:hover { background: var(--azul-2, #1a2170); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 22px rgba(var(--azul-rgb), .3); }
.card-eq__add.is-added { background: #1a7a4c; box-shadow: 0 8px 18px rgba(26, 122, 76, .25); }
.ico-fav { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.9; }
.btn.is-fav-on .ico-fav { fill: currentColor; color: #e11d48; }
.btn.is-fav-on { border-color: rgba(225, 29, 72, .35); color: #be123c; }
.fav-rank { width: 100%; border-collapse: collapse; font-size: .92rem; }
.fav-rank th, .fav-rank td { border: 1px solid var(--line); padding: .55rem .7rem; text-align: left; }
.fav-rank th { background: var(--claro, #eef4fa); color: var(--azul); }
.fav-rank__n { font-weight: 800; color: var(--azul); font-family: var(--display); font-size: 1.15rem; }
.grid-eq--compacta .card-eq__title { font-size: 1.2rem; line-height: 1.15; }
.grid-eq--compacta .card-eq__body { padding: .45rem 1.4rem 4.8rem; }
.grid-eq--compacta .card-eq__add { left: 1.4rem; right: 1.4rem; }

/* ---------- ficha de producto ---------- */
.ficha { padding: calc(var(--header-h) + 2rem) 0 clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.ficha__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.ficha__galeria { position: sticky; top: calc(var(--header-h) + 1rem); }
.ficha__principal { position: relative; aspect-ratio: 1; display: grid; place-items: center; border-radius: var(--radius-lg); border: 1px solid var(--line); background: radial-gradient(circle at 50% 62%, rgba(var(--azul-rgb), .1), transparent 60%), linear-gradient(180deg, #f7f8fa, #eceef4); overflow: hidden; }
.ficha__principal::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(circle at 50% 60%, #000, transparent 70%); }
.ficha__principal img { position: relative; width: 84%; filter: drop-shadow(0 26px 24px var(--img-shadow)); transition: opacity .25s; }
.ficha__sinimg { color: var(--dim); }
.ficha__thumbs { display: flex; gap: .6rem; margin-top: .8rem; }
.ficha__thumb { width: 78px; height: 78px; padding: 6px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); transition: border-color .2s; }
.ficha__thumb.is-active, .ficha__thumb:hover { border-color: var(--azul); }
.ficha__thumb img { width: 100%; height: 100%; object-fit: contain; }
.ficha__cat { color: var(--label); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.ficha__title { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: .95; margin: .6rem 0 1rem; }
.ficha__sku { margin: -.4rem 0 1rem; color: var(--muted); font-size: .95rem; }
.ficha__sku strong { color: var(--azul); font-family: var(--display); letter-spacing: .04em; }
.ficha__resumen { color: var(--text); font-size: 1.1rem; }
.compat { display: grid; gap: .55rem; margin-top: 1.1rem; }
.compat__label { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--label); }
.compat__list { display: flex; flex-wrap: wrap; gap: .45rem; }
.compat__chip { display: inline-flex; align-items: center; padding: .35rem .7rem; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2); color: var(--strong); font-size: .82rem; font-weight: 600; }
.card-eq__sku { display: inline-block; margin: .15rem 0 .2rem; color: var(--azul); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.page-hero__chips { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.4rem; }
.ficha__nota { margin-top: 1rem; padding: .8rem 1rem; border-left: 3px solid var(--plomo); background: var(--bg-2); border-radius: 0 10px 10px 0; color: var(--muted); font-size: .9rem; }
.ficha__acciones { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.ficha__acciones .btn svg { width: 20px; height: 20px; }
.ficha__garantias { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.ficha__garantias li { display: flex; align-items: center; gap: .5rem; color: var(--muted); font-size: .87rem; }
.ficha__garantias svg { width: 20px; height: 20px; color: var(--azul); }
.ficha__detalle { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.ficha__main { display: grid; gap: 3rem; }
.ficha__main:empty { display: none; }
.ficha__postventa { position: sticky; top: calc(var(--header-h) + 1rem); }
.ficha__h2 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 1.6rem; margin-bottom: 1.1rem; }
.prose p { color: var(--muted); }
.prose p + p { margin-top: 1rem; }
.ficha__postventa { padding: 1.6rem; border-radius: var(--radius-lg); background: linear-gradient(160deg, rgba(var(--azul-rgb), .08), transparent 60%), var(--bg-2); border: 1px solid var(--line-2); }
.ficha__postventa p { color: var(--muted); font-size: .93rem; margin-bottom: 1rem; }

/* ---------- contenido genérico de páginas ---------- */
.prose-page { max-width: 760px; }
.prose-page h2 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 1.7rem; margin: 2.4rem 0 .8rem; }
.prose-page p, .prose-page li { color: var(--muted); }
.prose-page p + p { margin-top: 1rem; }
.prose-page ul { list-style: disc; padding-left: 1.3rem; display: grid; gap: .4rem; margin-top: .8rem; }
.prose-page a { color: var(--azul-2); text-decoration: underline; text-underline-offset: 2px; }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.card { padding: clamp(1.4rem, 3vw, 2rem); border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--surface), var(--surface-2)); border: 1px solid var(--line); }
.card svg { width: 38px; height: 38px; color: var(--azul); stroke-width: 1.5; margin-bottom: 1.1rem; }
.card h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 1.4rem; margin-bottom: .55rem; }
.card p, .card li { color: var(--muted); font-size: .93rem; }
.card ul { display: grid; gap: .35rem; margin-top: .8rem; }
.card ul li::before { content: "› "; color: var(--plomo); font-weight: 700; }

.cifras { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.cifras > div { background: var(--surface); padding: 1.8rem 1.4rem; }
.cifras b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--azul); line-height: 1; }
.cifras span { color: var(--muted); font-size: .88rem; }

.cita { position: relative; padding: clamp(1.8rem, 4vw, 3rem); border-radius: var(--radius-lg); background: var(--bg-2); border: 1px solid var(--line); }
.cita::before { content: "“"; position: absolute; top: -.2em; left: .3em; font-family: Georgia, serif; font-size: 7rem; color: rgba(var(--azul-rgb), .18); line-height: 1; }
.cita p { position: relative; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text); }
.cita footer { margin-top: 1.4rem; color: var(--muted); font-size: .9rem; }
.cita footer b { color: var(--strong); display: block; }

.compromisos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; counter-reset: c; }
.compromisos li { counter-increment: c; position: relative; padding: 1.3rem 1.3rem 1.3rem 4rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.compromisos li::before { content: counter(c, decimal-leading-zero); position: absolute; left: 1.2rem; top: 1.15rem; font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: var(--azul); }

/* ---------- formularios ---------- */
.form { display: grid; gap: 1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .85rem; color: var(--muted); font-weight: 500; }
.field label .req { color: var(--azul-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; color: var(--text);
  font: inherit; font-size: .95rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 3px rgba(var(--azul-rgb), .15); }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: .7rem; }
.field--check input { width: 18px; height: 18px; margin-top: .2rem; accent-color: var(--azul); }
.field--check label { font-size: .85rem; }
.field--check a { color: var(--azul-2); text-decoration: underline; }
.hp { position: absolute; left: -9999px; }
.form__estado { font-size: .92rem; padding: .8rem 1rem; border-radius: 10px; }
.form__estado.is-ok { background: rgba(30, 158, 98, .1); color: var(--ok); border: 1px solid rgba(30, 158, 98, .3); }
.form__estado.is-error { background: rgba(192, 57, 43, .08); color: var(--error); border: 1px solid rgba(192, 57, 43, .3); }
.form__acciones { display: flex; flex-wrap: wrap; gap: .7rem; }

.contacto { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contacto__datos { display: grid; gap: 1rem; }
.dato { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s; }
a.dato:hover { border-color: rgba(var(--azul-rgb), .45); }
.dato svg { width: 26px; height: 26px; color: var(--azul); flex-shrink: 0; margin-top: .15rem; }
.dato b { display: block; font-size: .95rem; color: var(--strong); }
.dato span { color: var(--muted); font-size: .9rem; }
.mapa { margin-top: 1rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: var(--bg-2); }
.mapa iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.25); }
.form-card { padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: var(--radius-lg); background: var(--bg-2); border: 1px solid var(--line); }
.form-card h2 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 1.8rem; margin-bottom: .4rem; }
.form-card > p { color: var(--muted); margin-bottom: 1.5rem; font-size: .93rem; }

/* ---------- cotización ---------- */
.cot { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.cot__lista { display: grid; gap: .7rem; }
.cot__item { display: grid; grid-template-columns: 72px 1fr auto auto; align-items: center; gap: 1rem; padding: .8rem 1rem .8rem .8rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.cot__item img { width: 72px; height: 72px; object-fit: contain; border-radius: 10px; background: radial-gradient(circle, rgba(var(--azul-rgb), .1), transparent 70%); }
.cot__item a { font-weight: 600; color: var(--strong); }
.cot__item a:hover { color: var(--azul-2); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; }
.qty button { width: 34px; height: 34px; border: 0; background: none; color: var(--text); font-size: 1.1rem; }
.qty button:hover { color: var(--azul-2); }
.qty output { min-width: 26px; text-align: center; font-weight: 600; }
.cot__quitar { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--dim); display: grid; place-items: center; }
.cot__quitar:hover { color: var(--error); border-color: rgba(192, 57, 43, .4); }
.cot__quitar svg { width: 16px; height: 16px; }
.cot__vacia { padding: 3rem 1.5rem; text-align: center; border-radius: var(--radius-lg); border: 1px dashed var(--line-2); color: var(--muted); }
.cot__vacia svg { width: 48px; height: 48px; margin: 0 auto 1rem; color: var(--dim); }
.cot__vacia .btn { margin-top: 1.4rem; }

/* ---------- animaciones de entrada ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .mega__inner { grid-template-columns: repeat(3, 1fr); }
  .mega__cta { grid-column: span 3; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .ficha__detalle { grid-template-columns: 1fr; }
  .ficha__postventa { position: static; }
}
@media (max-width: 1020px) {
  :root { --header-h: 68px; }
  .burger { display: block; }
  .quote-btn__label { display: none; }
  .quote-btn { padding: .6rem; border-radius: 12px; width: 46px; height: 46px; justify-content: center; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: #fff; padding: 1rem var(--pad) 2rem; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s, transform .3s var(--ease), visibility .3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link { width: 100%; justify-content: space-between; padding: 1.05rem .2rem; font-size: 1.1rem; border-radius: 0; background: none !important; }
  .mega { position: static; opacity: 1; visibility: visible; transform: none; display: none; background: none; border: 0; box-shadow: none; backdrop-filter: none; }
  .nav__item--mega:hover .mega { display: none; }
  .mega.is-open, .nav__item--mega:hover .mega.is-open { display: block; }
  .mega__inner { grid-template-columns: 1fr 1fr; padding: 0 0 1.2rem; gap: 1rem; }
  .mega__col ul { display: none; }
  .mega__head { border: 0; margin: 0; padding: 0; }
  .mega__cta { display: none; }
  .nav__mobile-extra { display: grid; gap: 1rem; margin-top: 1.6rem; justify-items: start; }
  .nav__tel { color: var(--muted); }
  body.nav-open { overflow: hidden; }
  /* backdrop-filter convierte al header en bloque contenedor del menú fijo y lo recortaría */
  body.nav-open .site-header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hero__equipo { position: relative; right: auto; top: auto; translate: none; width: min(86%, 380px); margin: .6rem auto 1.5rem; }
  .hero__kicker { max-width: none; margin-bottom: .6rem; }
  .hero__iso { width: 78px; height: 78px; padding: 8px; }
  .lineas { grid-template-columns: repeat(2, 1fr); }
  .spot { grid-template-columns: 1fr; }
  .servicios { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split__media { max-width: 560px; }
  .proceso { grid-template-columns: repeat(2, 1fr); row-gap: 2.2rem; }
  .proceso::before { display: none; }
  .faq-wrap { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .trust__inner { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(3) { border-left: 0; }
  .trust__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .ficha__grid { grid-template-columns: 1fr; }
  .ficha__galeria { position: static; }
  .cards-3 { grid-template-columns: 1fr 1fr; }
  .cifras { grid-template-columns: repeat(2, 1fr); }
  .contacto, .cot { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .brand__logo { height: 36px; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 2.5rem); }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero__stats > div:nth-child(n+3) { padding-top: 1rem; }
  .hero__scroll { display: none; }
  .hero__actions .btn { flex: 1 1 100%; }
  .lineas { grid-template-columns: 1fr; }
  .linea { min-height: 0; }
  .servicios { grid-template-columns: 1fr; }
  .spot__dest, .ficha__dest { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .spot__dest b, .ficha__dest b { font-size: 1.2rem; }
  .proceso { grid-template-columns: 1fr; }
  .trust__item { padding: 1rem .6rem; gap: .6rem; }
  .trust__item svg, .trust__item img { width: 28px; height: 28px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .split__badge { right: .8rem; }
  .split__media::before { display: none; }
  .ficha__acciones .btn { flex: 1 1 100%; }
  .grid-eq { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .card-eq__body { padding: .25rem .9rem 4rem; }
  .card-eq__title { font-size: 1.1rem; }
  .card-eq__dest { display: none; }
  .card-eq__add { left: .9rem; right: .9rem; bottom: .9rem; padding: .55rem .85rem; }
  .catalogo__bar { flex-direction: column; align-items: stretch; }
  .cards-3, .compromisos, .form__row { grid-template-columns: 1fr; }
  .cot__item { grid-template-columns: 56px 1fr auto; }
  .cot__item img { width: 56px; height: 56px; }
  .cot__item .qty { grid-column: 2; justify-self: start; }
  .cot__quitar { grid-row: 1; grid-column: 3; }
  .wa-float { width: 52px; height: 52px; right: .9rem; bottom: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
