:root {
  --white: #FFFFFF;
  --pale: #E9F2FC;
  --sky: #C3DFF7;
  --blue-bright: #4E9BE8;
  --blue: #2F72BE;
  --blue-deep: #143E73;
  --navy-deep: #081C38;
  --navy: #0E2A46;
  --ink: #223B55;
  --muted: #54708C;
  --line: #CFE2F4;
  --orange: #FF6600;
  --orange-hi: #FF7A26;
  --green: #3D9B3A;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-lg: 24px;
  --header-h: 98px;
  --base: /plastimex-pet;
  /* Sistema de contenedores (inspección de alineación 8-sep-2026): UN solo
     ancho de página y UN solo gutter para todo el sitio; los anchos de
     lectura (FAQ, artículo) son modificadores centrados de .wrap, nunca un
     max-width inline pegado a la izquierda. */
  --wrap: 1280px;
  --wrap-narrow: 820px;
  --wrap-reading: 760px;
  --gutter: 24px;
  --gap: 16px;
  --gap-sm: 12px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
body {
  font-family: "Space Grotesk", system-ui, sans-serif;
  color: var(--ink);
  background: var(--pale);
  min-height: 100%;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; }

.lines {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(47,114,190,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,114,190,.09) 1px, transparent 1px);
  background-size: 32px 32px;
}
.lines--major {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(47,114,190,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,114,190,.06) 1px, transparent 1px);
  background-size: 160px 160px;
}

.wrap { width: min(var(--wrap), calc(100% - 2 * var(--gutter))); margin-inline: auto; position: relative; z-index: 1; }
.wrap--narrow { width: min(var(--wrap-narrow), calc(100% - 2 * var(--gutter))); }
.wrap--reading { width: min(var(--wrap-reading), calc(100% - 2 * var(--gutter))); }
/* Todo hijo directo de una grilla/flex puede encoger (min-width:auto es lo
   que hacía que la ficha midiera 437 px en un viewport de 390). */
.wrap > *, .sheet > *, .split > *, .contact-grid > *, .fields > *, .caps > *, .grid > *, .doors > * { min-width: 0; }
.topbar, header.nav, section, footer, .strip { position: relative; z-index: 1; }
[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

.topbar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.topbar .wrap { display: flex; justify-content: space-between; min-height: 34px; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar .wrap > span { white-space: nowrap; }
.topbar b { color: var(--orange); font-weight: 600; }
.topbar-wa { color: var(--green); font-weight: 600; }
.topbar-wa:hover { text-decoration: underline; }

header.nav {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 40;
}
header.nav .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 20px; }
.logo { display: flex; align-items: center; flex-shrink: 0; line-height: 1; }
.logo img { height: 42px; width: auto; display: block; }
.logo .plasti { font-family: Outfit, sans-serif; font-weight: 700; font-size: 26px; letter-spacing: -.04em; color: var(--navy); }
.logo .mex { font-size: 9px; letter-spacing: .5em; color: var(--green); font-weight: 600; margin-top: 3px; }

nav.menu { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 500; color: var(--muted); }
nav.menu > a, nav.menu .drop > summary {
  padding: 8px 10px; border-radius: 8px; list-style: none; cursor: pointer;
  color: var(--muted); font-weight: 500;
}
nav.menu > a:hover, nav.menu .drop > summary:hover { color: var(--navy); background: var(--pale); }
nav.menu > a.on, nav.menu > a[aria-current="page"] { color: var(--blue-deep); font-weight: 600; }
/* Selector ES/EN (PLASTIMEX-EN-INGLES-FASE1, 9-sep-2026) — texto plano
   "ES · EN", el idioma activo en negrita/color de acento; sin banderas. */
.lang-switch { display: inline-flex; align-items: center; gap: 4px; margin-left: 4px; font-size: .82rem; }
.lang-switch a { color: var(--muted); font-weight: 500; padding: 2px 4px; border-radius: 6px; }
.lang-switch a:hover { color: var(--navy); }
.lang-switch a.on, .lang-switch a[aria-current="page"] { color: var(--blue-deep); font-weight: 700; }
nav.menu .drop { position: relative; }
nav.menu .drop > summary,
nav.menu .drop > .drop-link {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 10px; border-radius: 8px;
  color: var(--muted); font-weight: 500;
}
nav.menu .drop > summary::-webkit-details-marker { display: none; }
nav.menu .drop > summary::after,
nav.menu .drop > .drop-link::after {
  content: ""; width: 6px; height: 6px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
nav.menu .drop[open] > summary,
nav.menu .drop:hover > .drop-link,
nav.menu .drop > .drop-link.on { color: var(--blue-deep); background: var(--pale); }
nav.menu .drop:hover .fly, nav.menu .drop.js-open .fly { display: flex; }
nav.menu .fly {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: 0 16px 40px rgba(14,42,70,.12);
  padding: 8px; display: flex; flex-direction: column; gap: 2px; z-index: 50;
}
nav.menu .fly a {
  padding: 9px 12px; border-radius: 8px; font-size: 13px; color: var(--ink);
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
}
nav.menu .fly a:hover { background: var(--pale); color: var(--navy); }
nav.menu .fly a em {
  font-style: normal; font-family: "IBM Plex Mono", monospace;
  font-size: 10px; color: var(--muted); letter-spacing: .04em;
}

.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;
}
.nav-search { display: flex; align-items: center; gap: 6px; margin-left: 6px; }
.nav-search input {
  height: 34px; padding: 0 10px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--pale);
  font-size: 12px; width: 168px; color: var(--ink);
}
.nav-search input:focus { outline: 2px solid var(--blue-deep); outline-offset: 1px; }
.nav-search button {
  height: 34px; padding: 0 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--white);
  font-size: 12px; font-weight: 600; color: var(--muted); cursor: pointer;
}
.nav-search button:hover { color: var(--navy); background: var(--pale); border-color: var(--blue); }

.nav-cta {
  height: 38px; padding: 0 16px; border-radius: var(--radius-sm);
  background: #171717;
  color: #fff; font-weight: 600; font-size: 13px;
  display: inline-flex; align-items: center; flex-shrink: 0;
  box-shadow: none;
}
.nav-burger {
  display: none; width: 38px; height: 38px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--white);
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-burger span { display: block; width: 16px; height: 1.5px; background: var(--navy); }

/* ——— Hero Aurora (home) ——— */
.hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 80% at 88% 40%, rgba(78,155,232,.35), transparent 55%),
    linear-gradient(115deg, var(--navy-deep) 0%, var(--blue-deep) 42%, #1A5A9C 68%, #4E9BE8 100%);
}
.hero::after {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(195,223,247,.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(195,223,247,.14) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.22) 55%, transparent 78%);
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.22) 55%, transparent 78%);
}
.hero .wrap {
  position: relative; z-index: 1; min-height: 640px;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px;
  align-items: center; padding: 48px 0 56px;
}
.hero-aside {
  position: relative;
  min-height: 520px;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
}
.hero-panel {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(195,223,247,.28);
  border-radius: var(--radius-lg);
  padding: 22px 22px 18px;
  backdrop-filter: blur(10px);
  color: #fff;
}
.hero-panel .hp-k { font-family: "IBM Plex Mono", monospace; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--sky); }
.hero-panel ol { list-style: none; margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.hero-panel li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; }
.hero-panel .n {
  font-family: Outfit, sans-serif; font-size: 14px; color: var(--sky);
  width: 28px; height: 28px; border-radius: 8px;
  border: 1px solid rgba(195,223,247,.3);
  display: flex; align-items: center; justify-content: center;
}
.hero-panel b { display: block; font-size: 14px; font-weight: 600; }
.hero-panel span { font-size: 12px; color: var(--sky); line-height: 1.35; }

.page-hero {
  position: relative; overflow: hidden;
  padding: 48px 0 40px;
  background: linear-gradient(115deg, var(--navy-deep) 0%, var(--blue-deep) 55%, var(--blue) 100%);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(195,223,247,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(195,223,247,.12) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,.5), transparent 70%);
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.5), transparent 70%);
}
.page-hero .wrap { position: relative; z-index: 1; }

.kicker {
  display: inline-flex; gap: 8px; align-items: center;
  font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: #fff; background: rgba(8,28,56,.35); border: 1px solid rgba(195,223,247,.45);
  padding: 5px 12px; border-radius: 999px;
}
.kicker i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-bright); }
.kicker-dark { color: var(--blue-deep); background: var(--white); border-color: var(--line); }
.kicker-dark i { background: var(--blue); }
.rule {
  width: 96px; height: 4px; margin: 16px 0 12px; border-radius: 99px;
  background: linear-gradient(90deg, var(--blue-bright) 0%, transparent 100%);
}
.rule-blue { background: linear-gradient(90deg, var(--blue) 0%, transparent 100%); }

h1 {
  font-family: Outfit, sans-serif; font-size: 56px; font-weight: 700;
  letter-spacing: -.045em; line-height: 1.04; color: #fff; max-width: 16ch;
  text-shadow: 0 8px 28px rgba(8,28,56,.35);
}
h1 em { font-style: normal; color: var(--sky); }
h1.page { font-size: 44px; max-width: 22ch; }
.lede { font-size: 16px; color: #fff; max-width: 46ch; margin-top: 12px; line-height: 1.55; }

/* Certificaciones (ISO 9001 / UN Certified) sobre el .page-hero navy — retro
   Leo 8-sep, WEB-LEGAL-Y-CONFIANZA: familia PEAD (agroquímico/industrial). */
.cert-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.cert-badges span {
  font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .06em;
  text-transform: uppercase; color: #fff; background: rgba(8,28,56,.35);
  border: 1px solid rgba(195,223,247,.45); border-radius: 999px; padding: 6px 14px;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 46px; padding: 0 20px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 14px; border: 0; cursor: pointer;
  line-height: 1; white-space: nowrap; text-align: center;
}
.btn-p {
  background: #171717;
  color: #fff; box-shadow: none;
}
.btn-p:hover { filter: brightness(1.05); }
.btn-g { background: #fff; color: #171717; border: 1px solid rgba(255,255,255,.7); }
.btn-g:hover { background: var(--pale); }
.btn-ghost { background: #fff; color: #171717; border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--pale); }
.btn-ghost-light { background: transparent; color: #fff; border: 1px solid rgba(195,223,247,.45); }
.btn-ghost-light:hover { background: rgba(255,255,255,.08); }

.stats { display: flex; gap: 28px; margin-top: 28px; flex-wrap: wrap; }
.stats b { display: block; font-family: Outfit, sans-serif; font-size: 22px; color: #fff; letter-spacing: -.03em; }
.stats span { font-size: 11px; color: var(--sky); letter-spacing: .04em; }

.strip {
  background: linear-gradient(180deg, var(--pale), var(--white));
  border-bottom: 1px solid var(--line);
}
.strip .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cell { padding: 18px 20px; border-right: 1px solid var(--line); }
.cell:last-child { border-right: 0; }
.cell h3 { font-size: 14px; color: var(--navy); font-weight: 600; }
.cell p { color: var(--ink); font-size: 12px; margin-top: 4px; line-height: 1.4; }

/* ——— Sections over pale + lines ——— */
.section { padding: 48px 0 56px; }
.section-head { margin-bottom: 22px; max-width: 62ch; }
.section-head h2, .toolbar h2, .sheet-copy h2, .post h1, .page-copy h2 {
  font-family: Outfit, sans-serif; letter-spacing: -.03em; color: var(--navy);
}
.section-head h2, .toolbar h2 { font-size: 32px; }
.section-head p { margin-top: 8px; color: var(--ink); font-size: 15px; line-height: 1.55; }
.hint {
  font-family: "IBM Plex Mono", monospace; font-size: 11px;
  color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-top: 4px;
}

/* Cuatro familias: cuatro columnas en escritorio, dos en tableta, una en móvil. */
.doors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
@media (max-width: 1200px) {
  .doors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doors > .door { grid-column: auto; }
  .doors > .door:nth-last-child(-n+2) { grid-column: auto; }
}
.door {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 16px 16px; display: flex; flex-direction: column; min-height: 220px;
  transition: border-color .15s, box-shadow .15s;
}
.door:hover { border-color: var(--blue); box-shadow: 0 12px 28px rgba(20,62,115,.08); }
.door .door-well {
  height: 88px; border-radius: 12px; margin-bottom: 14px;
  background: #F7FBFE;
  border: 1px solid var(--line);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-deep);
}
.door .door-well svg { width: 56px; height: 56px; }
.door .hint { margin-top: 0; }
.door h3 { font-size: 16px; color: var(--navy); font-weight: 600; margin-top: 6px; }
.door p { font-size: 13px; color: var(--ink); line-height: 1.4; margin: 6px 0 12px; flex: 1; }
.door .go { font-size: 12px; font-weight: 600; color: var(--blue); }

/* Mercados: 3 columnas en escritorio (2 filas × 3), 1 columna en móvil.
   Mismo alto de tarjeta vía .market-image fijo + object-fit cover. */
.markets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
/* Sustentabilidad: 4 paneles en 2×2 (antes estilo inline que forzaba dos
   columnas de 170 px también en teléfono). */
.sus-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sus-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sus-cycle { padding: 18px 16px; overflow-x: auto; }
.sus-cycle-svg { width: 100%; height: auto; display: block; min-width: 520px; }
.sus-metrics {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
}
.sus-metric {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 16px; display: flex; flex-direction: column; gap: 6px;
}
.sus-metric b {
  font-family: Outfit, sans-serif; font-size: 22px; letter-spacing: -.02em;
  color: var(--navy); font-weight: 600; line-height: 1.15;
}
.sus-metric span { font-size: 13px; line-height: 1.4; color: var(--ink); }
.sus-photo-pair .figure img { height: 240px; }
.sus-plant-grid { margin-top: 4px; }
/* Una sola línea de gramaje dentro de "cómo reduce el cliente" (sin tabla ni panel aparte). */
.sus-gramaje-line {
  margin: 0 0 16px; padding: 12px 16px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 14px; line-height: 1.5; color: var(--ink);
}
@media (max-width: 980px) {
  .sus-grid-3 { grid-template-columns: 1fr 1fr; }
  .sus-metrics { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .sus-grid-3 { grid-template-columns: 1fr; }
  .sus-metrics { grid-template-columns: 1fr; }
  .sus-cycle-svg { min-width: 0; }
  .sus-photo-pair .figure img { height: 200px; }
}
.market {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0 0 18px; overflow: hidden;
  display: flex; flex-direction: column; height: 100%;
}
.market b { display: block; color: var(--navy); font-size: 14px; margin-inline: 18px; }
.market span { font-size: 12px; color: var(--muted); margin-inline: 18px; }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.panel {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px;
}
.panel h3 { font-family: Outfit, sans-serif; font-size: 22px; color: var(--navy); letter-spacing: -.02em; }
.panel p { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--ink); }
.panel ul { margin-top: 12px; padding-left: 18px; color: var(--ink); font-size: 14px; line-height: 1.6; }
/* Nosotros (retro Leo 8-sep, "WEB-TAPAS-Y-NOSOTROS"): "Quiénes somos" y
   "Calidad" abrían como .hint genérico (11px, mono, kicker diminuto) —
   se leían como un subtítulo de trámite, no como la entrada a la sección
   más leída de la página institucional. .lead-label las sube a tipografía
   de lectura real (Outfit, la misma familia de los h3/h2 del sitio) sin
   tocar el .hint compartido por doors/blog/fichas/contador de catálogo en
   el resto del sitio. .hint-lg es el mismo kicker mono de siempre —
   Valores/Misión/Visión— solo 2px más grande, como pidió Leo. */
.lead-label {
  font-family: Outfit, sans-serif; font-size: 18px; font-weight: 600;
  color: var(--blue-deep); letter-spacing: -.01em; margin-top: 0;
}
.hint-lg { font-size: 13px; }
.values { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pill {
  height: 32px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--pale);
  font-size: 12px; font-weight: 600; color: var(--blue-deep);
  display: inline-flex; align-items: center;
}

/* ——— Catálogo / familia ——— */
/* Toolbar de familia: cabecera (h2 + conteo) arriba y la barra de filtros
   debajo, a lo ancho — antes h2 abajo-izquierda y chips en dos filas a la
   derecha peleaban por la misma línea y parecían dos bloques sueltos. */
.toolbar { display: flex; flex-direction: column; align-items: stretch; gap: 14px; margin-bottom: 22px; }
.toolbar-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.toolbar-filters {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 14px;
}
.toolbar-filters .filter-row { margin-top: 0; padding-top: 10px; border-top: 1px solid var(--line); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
/* inline-flex + line-height:1: el chip centra su texto igual si es <a>
   (blog) o <button> (familias). Antes solo tenía height y en <a> el texto
   quedaba pegado arriba de la píldora. */
.chip {
  display: inline-flex; align-items: center; justify-content: center;
  height: 34px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white);
  font-size: 12px; color: var(--ink); font-weight: 500; line-height: 1;
  white-space: nowrap;
}
.chip:hover { border-color: var(--blue); color: var(--blue-deep); }
.chip.on {
  background: #171717;
  color: #fff; border-color: var(--blue-deep);
}
.filter-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.filter-row .flabel {
  font-family: "IBM Plex Mono", monospace; font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); min-width: 64px;
}
.filter-select {
  height: 34px; padding: 0 10px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white);
  font-size: 12px; color: var(--ink); cursor: pointer; max-width: 100%;
}
.filter-select:hover { border-color: var(--blue); color: var(--blue-deep); }

.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  display: flex; flex-direction: column;
  transition: border-color .15s, box-shadow .15s;
}
.card:hover { border-color: var(--blue); box-shadow: 0 10px 28px rgba(20,62,115,.08); }

/* ——— Fondo estándar de producto (Leo 22-sep) ———
   Decisión de marketing: el fondo OFICIAL de toda imagen de producto es el
   degradado azul con retícula de la ficha. Una sola clase reutilizable;
   cero blancos planos y cero degradados sin grid. La ficha (.sheet-viz) y
   las tarjetas/miniaturas (.visual, .cap-thumb) comparten la misma rampa y
   la misma familia de retícula. El cutout (limpia/webp transparente) se
   planta encima; el fondo ya no viene horneado en la foto. */
.producto-fondo {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg,
    #D4E8F8 0%,
    #E3F0FB 28%,
    #EEF6FC 52%,
    #F7FBFE 58%,
    #FFFFFF 100%);
}
/* Halo superior (antes .viz-aurora). */
.producto-fondo::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 42%;
  pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 0%,
    rgba(78,155,232,.16) 0%,
    transparent 70%);
}
/* Piso en perspectiva + retícula. .viz-floor / .viz-plane son alias de la
   ficha (markup histórico); .producto-fondo__* es el nombre canónico. */
.producto-fondo__piso,
.viz-floor {
  --floor-h: 38%;
  position: absolute; left: 0; right: 0; bottom: 0; height: var(--floor-h);
  perspective: 420px;
  perspective-origin: 50% 0%;
  pointer-events: none; z-index: 1;
  overflow: visible;
}
.producto-fondo__reticula,
.viz-plane {
  position: absolute; left: -45%; top: 0;
  width: 190%; height: 220%;
  transform: rotateX(62deg);
  transform-origin: 50% 0%;
  background-image:
    linear-gradient(rgba(47,114,190,.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,114,190,.18) 1px, transparent 1px);
  background-size: 44px 44px;
  background-position: center top;
}
/* Variante tarjeta/miniatura: misma familia visual, degradado un punto más
   luminoso para que ámbar/negro/azul sigan leyéndose en cajas chicas, y
   retícula más densa acorde a la escala. */
.producto-fondo--tarjeta {
  background: linear-gradient(180deg,
    #DCECF9 0%,
    #E6F2FB 22%,
    #EEF6FC 48%,
    #F6FBFE 64%,
    #FFFFFF 100%);
}
.producto-fondo--tarjeta::before {
  height: 48%;
  background: radial-gradient(ellipse 80% 70% at 50% 0%,
    rgba(78,155,232,.12) 0%,
    transparent 70%);
}
.producto-fondo--tarjeta .producto-fondo__piso {
  --floor-h: 44%;
  perspective: 280px;
}
.producto-fondo--tarjeta .producto-fondo__reticula {
  background-size: 26px 26px;
  background-image:
    linear-gradient(rgba(47,114,190,.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,114,190,.14) 1px, transparent 1px);
}
/* Miniatura 52px (tapas/compatibles): grid 2D suave, sin perspectiva 3D
   (a esa escala el rotateX se lee como ruido). */
.producto-fondo--mini {
  background: linear-gradient(180deg, #DCECF9 0%, #EAF4FC 45%, #F7FBFE 100%);
}
.producto-fondo--mini::before { height: 55%; opacity: .85; }
.producto-fondo--mini::after {
  content: "";
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(47,114,190,.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,114,190,.12) 1px, transparent 1px);
  background-size: 10px 10px;
  background-position: center bottom;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.35) 40%, rgba(0,0,0,.75) 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.35) 40%, rgba(0,0,0,.75) 100%);
}
.producto-fondo--mini .producto-fondo__piso { display: none; }

.visual {
  height: 196px; border-radius: var(--radius-sm); overflow: hidden; position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 14px 12px 18px;
}
.visual .slot { width: 42%; max-width: 110px; height: 78%; position: relative; z-index: 2; }
.visual .photo {
  width: 100%; height: 100%;
  display: flex; align-items: flex-end; justify-content: center;
  position: relative; z-index: 2;
}
.visual .photo img {
  max-width: 88%; max-height: 92%; width: auto; height: auto; object-fit: contain;
  /* Doble sombra: contorno ceñido (silueta en piezas claras) + contacto. */
  filter:
    drop-shadow(0 1px 1px rgba(20,62,115,.20))
    drop-shadow(0 16px 14px rgba(20,62,115,.14));
}
.badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  background: var(--white); color: var(--blue-deep);
  padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line);
}
.card h3 { font-size: 15px; font-weight: 600; color: var(--navy); margin-top: 12px; line-height: 1.25; }
.meta { font-size: 11px; color: var(--muted); font-family: "IBM Plex Mono", monospace; margin-top: 4px; }
.card-variants {
  font-size: 11px; color: var(--blue-deep); font-weight: 600;
  margin-top: 6px; display: inline-flex; align-items: center; gap: 4px;
}
/* Los colores de una selección por mercado deben caber también en móvil. */
#market-grid .card-variants { flex-wrap: wrap; min-width: 0; }
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; padding-top: 12px; }
.card .btn { height: 36px; font-size: 12px; width: 100%; }

/* ——— Slot de imagen (vacío, nombrado, de pie sobre el piso) ——— */
.slot {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  width: 46%; max-width: 168px; height: 78%;
}
.slot-ghost {
  width: 100%; flex: 1;
  border: 1.5px dashed rgba(47,114,190,.42);
  border-bottom: 0;
  border-radius: 999px 999px 18px 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(227,240,251,.28) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 12px 10px 8px;
  position: relative;
}
.slot-ghost .cap {
  width: 38%; height: 12%;
  border: 1.5px dashed rgba(47,114,190,.4);
  border-radius: 6px 6px 3px 3px;
  position: absolute; top: 8%;
  background: rgba(255,255,255,.5);
}
.slot-ghost .lbl {
  font-family: "IBM Plex Mono", monospace; font-size: 9px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--blue-deep);
  margin-top: 18%;
  max-width: 12ch;
}
.slot-ghost .sub { font-size: 10px; color: var(--muted); margin-top: 4px; line-height: 1.3; max-width: 14ch; }
.slot-base {
  width: 72%; height: 10px;
  background: radial-gradient(ellipse at center, rgba(8,28,56,.38) 0%, rgba(8,28,56,.14) 42%, transparent 72%);
  transform: scaleY(.55);
  margin-top: -1px;
}

/* ——— Ficha: producto PARADO sobre el piso en perspectiva ——— */
.producto { padding: 28px 0 48px; }
.crumbs { font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.crumbs a:hover { color: var(--blue-deep); }
.crumbs b { color: var(--navy); font-weight: 600; }
/* Dentro de .page-hero (fondo navy degradado, texto blanco) el juego de
   colores de arriba —pensado para fondo claro— se vuelve casi invisible
   (navy sobre navy). Familias/dispensadores/buscador usan crumbs ahí. */
.page-hero .crumbs { color: rgba(255,255,255,.62); }
.page-hero .crumbs a { color: rgba(255,255,255,.82); }
.page-hero .crumbs a:hover { color: #fff; }
.page-hero .crumbs b { color: #fff; }
.sheet {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(14,42,70,.06);
}
/* Ficha: .sheet-viz.producto-fondo reusa el estándar; .viz-aurora queda
   oculto porque el halo lo pinta .producto-fondo::before. */
.sheet-viz { min-height: 560px; }
.viz-aurora { display: none; }
/* Sombra de contacto ANCLADA al horizonte del piso (mismo rotateX). */
.viz-contact {
  position: absolute; left: 50%; top: 0;
  width: 190px; height: 54px;
  transform: translate(-50%, -8px) rotateX(62deg);
  transform-origin: 50% 50%;
  background: radial-gradient(ellipse at center,
    rgba(8,28,56,.46) 0%,
    rgba(8,28,56,.18) 38%,
    transparent 70%);
  z-index: 2;
  pointer-events: none;
}
.viz-stage {
  position: absolute; z-index: 3;
  left: 0; right: 0;
  /* Base del producto coincide con el horizonte del piso. */
  top: 10%;
  bottom: 38%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end;
  padding: 0;
  /* 1 px de solape para que el envase “plante” sobre el piso, no flote. */
  margin-bottom: -2px;
}
/* Ficha con foto real (en vez del slot fantasma): mismo escenario/piso,
   la pieza se planta sobre el horizonte igual que el placeholder. */
.viz-stage.has-photo { justify-content: flex-end; }
.viz-stage .photo-pdp {
  width: 60%; max-width: 340px; height: 92%;
  display: flex; align-items: flex-end; justify-content: center;
}
.viz-stage .photo-pdp img {
  max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
  filter:
    drop-shadow(0 2px 2px rgba(20,62,115,.20))
    drop-shadow(0 22px 18px rgba(20,62,115,.16));
}
.callout {
  position: absolute; left: 18px; bottom: 18px; z-index: 4;
  background: var(--white); border: 1px solid var(--line);
  padding: 12px 14px; border-radius: var(--radius-sm);
  font-family: "IBM Plex Mono", monospace; font-size: 11px; color: var(--ink);
  box-shadow: 0 8px 20px rgba(14,42,70,.08);
  max-width: calc(100% - 36px);
}
.callout b { display: block; color: var(--blue-deep); font-size: 12px; margin-bottom: 2px; word-break: break-all; }
.callout .slot-name { color: var(--muted); font-size: 10px; letter-spacing: .04em; }

.sheet-copy {
  padding: 22px 28px 24px 24px;
  display: flex; flex-direction: column; align-items: flex-start;
  border-left: 1px solid var(--line);
}
.sheet-copy h1 {
  font-family: Outfit, sans-serif;
  font-size: 30px; font-weight: 700; letter-spacing: -.04em;
  color: var(--navy); line-height: 1.08; margin-top: 6px;
  max-width: none; text-shadow: none;
}
.sku-line { font-family: "IBM Plex Mono", monospace; font-size: 12px; color: var(--muted); margin: 6px 0 14px; }
.desc { font-size: 14px; line-height: 1.55; color: var(--ink); max-width: 54ch; }

.spec-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  margin-top: 18px; overflow: hidden; background: var(--white); width: 100%;
}
.spec { padding: 10px 14px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.spec:nth-child(2n) { border-right: 0; }
.spec:nth-last-child(-n+2) { border-bottom: 0; }
.spec dt {
  font-family: "IBM Plex Mono", monospace; font-size: 10px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.spec dd { font-size: 14px; color: var(--navy); font-weight: 600; margin-top: 2px; overflow-wrap: anywhere; }
.block-label {
  font-family: "IBM Plex Mono", monospace; font-size: 10px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
  margin: 18px 0 8px; width: 100%;
}
.variants, .subvariants { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.variant {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 36px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white);
  font-size: 12px; color: var(--ink); font-weight: 500;
}
.variant .dot { width: 11px; height: 11px; border-radius: 50%; border: 1px solid rgba(20,62,115,.22); flex-shrink: 0; }
.variant.on {
  border-color: var(--blue-deep); color: #fff;
  background: #171717;
}
.variant.on .dot { border-color: rgba(255,255,255,.6); }
.caps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; }
.cap {
  background: var(--pale); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 10px 12px;
  display: flex; align-items: center; gap: 10px;
}
/* Miniatura de tapa/envase compatible: caja cuadrada con object-fit contain
   y fondo estándar (.producto-fondo--mini). Cutout transparente encima. */
.cap-thumb {
  flex: 0 0 auto; width: 52px; height: 52px; border-radius: 8px;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  position: relative;
}
.cap-thumb.producto-fondo { border-color: transparent; }
.cap-thumb img {
  position: relative; z-index: 2;
  max-width: 82%; max-height: 82%; width: auto; height: auto; object-fit: contain;
}
.cap-info { min-width: 0; flex: 1 1 auto; }
.cap b { display: block; font-size: 13px; color: var(--navy); }
.cap span { font-family: "IBM Plex Mono", monospace; font-size: 10px; color: var(--muted); letter-spacing: .04em; }
.cap em { font-style: normal; display: block; font-size: 11px; color: var(--ink); margin-top: 2px; }
.caps-more { grid-column: 1 / -1; font-family: "IBM Plex Mono", monospace; font-size: 11px; color: var(--muted); padding: 4px 2px 0; }
.pdp-cta { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.note-slot {
  width: 100%; margin-top: 14px; padding: 10px 12px;
  background: var(--pale); border: 1px dashed var(--line); border-radius: 10px;
  font-size: 12px; color: var(--muted); font-family: "IBM Plex Mono", monospace;
}

/* ——— Cotizar ——— */
.cotizar {
  position: relative; min-height: 720px; padding: 52px 0 56px; overflow: hidden;
  background: linear-gradient(120deg, var(--navy-deep) 0%, var(--blue-deep) 58%, var(--blue) 100%);
}
.cotizar::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(195,223,247,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(195,223,247,.12) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at 70% 50%, transparent 10%, #000 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 50%, transparent 10%, #000 75%);
}
.cotizar .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: center; }
.cotizar h2 {
  font-family: Outfit, sans-serif; font-size: 36px; letter-spacing: -.035em;
  color: #fff; line-height: 1.08; max-width: 16ch;
}
.cotizar .lede-dark { color: #fff; font-size: 15px; line-height: 1.5; max-width: 40ch; margin-top: 10px; }
.quote-meta { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.quote-meta p { color: #fff; font-size: 14px; }
.quote-meta b { color: var(--sky); }
.quote-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  margin-top: 28px; border: 1px solid rgba(195,223,247,.28); border-radius: var(--radius-sm);
  overflow: hidden;
}
.quote-stats div { padding: 12px 14px; border-right: 1px solid rgba(195,223,247,.28); }
.quote-stats div:last-child { border-right: 0; }
.quote-stats b { display: block; font-family: Outfit, sans-serif; font-size: 18px; color: #fff; }
.quote-stats span { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--sky); }

.form {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
  box-shadow: 0 24px 60px rgba(8,28,56,.28);
  position: relative; z-index: 1;
}
.form h3 { font-family: Outfit, sans-serif; font-size: 20px; color: var(--navy); letter-spacing: -.02em; }
.form p.sub { font-size: 13px; color: var(--ink); margin: 4px 0 16px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field.span2 { grid-column: 1 / -1; }
.field label {
  font-family: "IBM Plex Mono", monospace; font-size: 10px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.field input, .field select, .field textarea {
  height: 42px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--white); color: var(--navy);
  /* Un <select> con opciones largas (tapa compatible en la ficha) tiene
     min-content = la opción más ancha y desbordaba el formulario en móvil. */
  width: 100%; min-width: 0; max-width: 100%;
}
.field textarea { height: 88px; padding: 10px 12px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(78,155,232,.18); outline: none;
}
.form .btn-p { width: 100%; height: 48px; margin-top: 16px; font-size: 15px; }
.form-note { font-size: 12px; color: var(--muted); margin-top: 10px; text-align: center; }
.form-error { font-size: 12px; color: var(--orange); margin-top: 10px; text-align: center; }

/* Casilla de consentimiento (LFPDPPP) del formulario de cotización — retro
   Leo 8-sep, WEB-LEGAL-Y-CONFIANZA. */
.consent { display: flex; align-items: flex-start; gap: 8px; margin-top: 14px; cursor: pointer; }
.consent input[type="checkbox"] { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--blue); flex-shrink: 0; }
.consent span { font-size: 12px; color: var(--ink); line-height: 1.5; }
.consent a { color: var(--blue-deep); font-weight: 600; text-decoration: underline; }
#quote-sent h3 { margin-bottom: 4px; }

/* ——— Blog ——— */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.post-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .15s, box-shadow .15s;
}
.post-card:hover { border-color: var(--blue); box-shadow: 0 10px 28px rgba(20,62,115,.08); }
.post-card .thumb {
  height: 140px;
  background: linear-gradient(135deg, var(--navy-deep), var(--blue));
  position: relative;
}
.post-card .thumb::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(195,223,247,.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(195,223,247,.14) 1px, transparent 1px);
  background-size: 24px 24px;
}
.post-card .body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.post-card .hint { margin: 0; }
.post-card h3 { font-size: 16px; color: var(--navy); margin: 8px 0 8px; line-height: 1.3; }
.post-card p { font-size: 13px; color: var(--ink); line-height: 1.45; flex: 1; }
.post-card .go { margin-top: 12px; font-size: 12px; font-weight: 600; color: var(--blue); }

/* Fecha/autor del blog (migración WordPress, despacho 8-sep-2026) — misma
   tipografía discreta que .crumbs, en la tarjeta y en el encabezado del post. */
.blog-meta { font-size: 12px; color: var(--muted); margin-top: 4px; }
.article .blog-meta { margin: 6px 0 18px; }

/* Paginación del blog. */
.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.pager-nums { display: flex; gap: 6px; flex-wrap: wrap; }
.pager-num {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 32px; height: 32px; padding: 0 6px; border-radius: 8px;
  border: 1px solid var(--line); color: var(--ink); font-size: 13px; font-weight: 600; line-height: 1;
  background: var(--white);
}
.pager-num:hover { border-color: var(--blue); color: var(--blue-deep); }
.pager-num.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.pager-gap {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 24px; height: 32px; color: var(--muted); font-size: 13px; letter-spacing: .1em;
}
/* Flechas a la misma altura y con la misma caja que los números (antes eran
   texto suelto de 17 px al lado de píldoras de 32 px). */
.pager-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  height: 32px; padding: 0 12px; border-radius: 8px; line-height: 1;
  border: 1px solid var(--line); background: var(--white);
  font-size: 13px; font-weight: 600; color: var(--blue-deep);
}
.pager-arrow:hover { border-color: var(--blue); }
.pager-arrow.off { color: var(--muted); pointer-events: none; background: transparent; }

/* Prev/next entre posts (fecha original conservada de la migración → el
   orden es cronológico real, no el de creación en el CMS). */
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.post-nav-link {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px;
  display: flex; flex-direction: column; gap: 4px; transition: border-color .15s;
}
.post-nav-link:hover { border-color: var(--blue); }
.post-nav-link span { font-size: 12px; color: var(--muted); font-weight: 600; }
.post-nav-link b { font-size: 14px; color: var(--navy); line-height: 1.35; }
.post-nav-next { text-align: right; align-items: flex-end; }
@media (max-width: 640px) { .post-nav { grid-template-columns: 1fr; } .post-nav-next { text-align: left; align-items: flex-start; } }

.article { padding: 36px 0 56px; }
.article .wrap { width: min(var(--wrap-reading), calc(100% - 2 * var(--gutter))); }
.article .panel { padding: 36px 40px; }
.article h1 { color: var(--navy); font-size: 36px; max-width: none; text-shadow: none; }
.article .lede-ink { color: var(--ink); font-size: 16px; line-height: 1.55; margin: 12px 0 22px; }
.article h2 { font-family: Outfit, sans-serif; font-size: 22px; color: var(--navy); margin: 22px 0 8px; }
.article p, .article li { font-size: 15px; line-height: 1.6; color: var(--ink); }
.article ul { padding-left: 18px; margin: 8px 0 14px; }

/* ——— Contacto ——— */
/* align-items:start: el panel "Cotizar" (corto) ya no se estira al alto del
   panel de datos dejando media tarjeta vacía. */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; align-items: start; }
/* FAQ: lista de lectura centrada (antes max-width inline pegado a la izquierda). */
.faq-list { display: grid; gap: 16px; }
.info-list { display: flex; flex-direction: column; gap: 14px; }
.info-item b {
  display: block; font-family: "IBM Plex Mono", monospace; font-size: 10px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 4px;
}
.info-item p { font-size: 14px; color: var(--navy); line-height: 1.45; }
.info-item a { color: var(--blue-deep); font-weight: 600; }

/* Mapa embebido — único iframe de tercero en todo el sitio (retro Leo
   8-sep, WEB-LEGAL-Y-CONFIANZA). */
.map-embed { margin-top: 20px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 360px; border: 0; display: block; }

/* ——— Footer ——— */
footer.site {
  background: var(--white); border-top: 1px solid var(--line);
  padding: 56px 0 0; font-size: 13px; color: var(--ink);
  position: relative; z-index: 1; min-height: 280px;
}
footer.site .cols {
  display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 28px;
  padding-bottom: 32px;
}
footer.site h4 { color: var(--navy); font-size: 13px; margin-bottom: 10px; font-weight: 600; }
footer.site ul { list-style: none; }
footer.site li { margin: 6px 0; color: var(--ink); }
footer.site a:hover { color: var(--blue-deep); }
.footer-social {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 18px 0; border-top: 1px solid var(--line); font-size: 13px;
}
.footer-social span {
  font-family: "IBM Plex Mono", monospace; font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
}
.footer-social a { color: var(--ink); font-weight: 600; }
.footer-social a:hover { color: var(--blue-deep); }
.copy {
  background: linear-gradient(90deg, var(--navy-deep), var(--blue-deep));
  color: #fff; text-align: center; padding: 12px; font-size: 12px;
}

.empty {
  grid-column: 1 / -1; color: var(--muted); font-size: 13px; padding: 28px 0;
}

@media (max-width: 1100px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: auto; }
  .hero, .hero .wrap { min-height: 0; }
  .hero-aside { min-height: 0; }
  h1 { font-size: 42px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .grid, .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sheet, .cotizar .wrap, footer.site .cols,
  .split, .contact-grid, .sus-grid, .sus-grid-3 { grid-template-columns: 1fr; }
  footer.site .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  footer.site .cols > div:first-child { grid-column: 1 / -1; }
  .doors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doors > .door, .doors > .door:nth-last-child(-n+2) { grid-column: auto; }
  .doors > .door:last-child:nth-child(odd) { grid-column: 1 / -1; }
  /* Strip 2×2: sin borde derecho colgando en la 2ª columna y con línea
     inferior entre filas (antes apilaba 4 celdas en 1 col con el borde
     derecho de escritorio). */
  .strip .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip .cell { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .strip .cell:nth-child(2n) { border-right: 0; }
  .strip .cell:nth-last-child(-n+2) { border-bottom: 0; }
  .sheet-copy { padding: 24px; border-left: 0; border-top: 1px solid var(--line); }
  .sheet-viz { min-height: 420px; }
  .nav-burger { display: flex; }
  nav.menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 10px 16px 16px; gap: 4px;
  }
  header.nav.is-open nav.menu { display: flex; }
  nav.menu .fly { position: static; box-shadow: none; border: 0; padding: 4px 0 4px 12px; }
  h1.page { font-size: 34px; }
  .nav-search { margin: 6px 0 0; }
  .nav-search input { flex: 1; width: auto; }
}
@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .posts, .doors, .caps, .sus-grid, .markets { grid-template-columns: 1fr; }
  .doors > .door:last-child:nth-child(odd) { grid-column: auto; }
  .fields { grid-template-columns: 1fr; }
  h1 { font-size: 32px; }
  .article .panel { padding: 22px 18px; }
  .section { padding: 40px 0 44px; }
  /* Topbar: en teléfono solo teléfono y correo (la línea institucional
     hacía 3 renglones apretados encima del logo). */
  .topbar .wrap > span:first-child { display: none; }
  .topbar .wrap { justify-content: center; }
  .topbar .wrap > span { white-space: normal; text-align: center; }
  .strip .wrap { grid-template-columns: 1fr; }
  .strip .cell { border-right: 0; }
  .strip .cell:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .strip .cell:last-child { border-bottom: 0; }
  /* Catálogo en teléfono: 2 columnas con tarjeta compacta (126 tapas en
     1 columna hacían una página de 45 000 px). */
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card { padding: 8px; }
  .visual { height: 150px; padding: 10px 8px 14px; }
  .card h3 { font-size: 13px; margin-top: 10px; }
  .meta { font-size: 10px; }
  .card-variants { font-size: 10px; }
  .card-actions { gap: 6px; padding-top: 10px; }
  .card .btn { height: 34px; font-size: 11px; padding: 0 8px; }
  .empty { grid-column: 1 / -1; }
  .toolbar-head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .toolbar-filters { padding: 10px 12px; }
  .filter-row .flabel { min-width: 0; width: 100%; }
  .filter-select { flex: 1 1 140px; }
  .pager { justify-content: center; }
  .pager-arrow { flex: 1 1 auto; }
  .pager-nums { width: 100%; justify-content: center; order: -1; }
}

/* ——— Profundidad v2 ——— */
nav.menu .drop:not(details) .fly { display: none; }
nav.menu .drop:not(details):hover .fly,
nav.menu .drop:not(details):focus-within .fly,
nav.menu .drop:not(details).js-open .fly { display: flex; }

.hero-mesh {
  margin: 0;
  width: min(100%, 430px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-mesh canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
}
.hero-mesh figcaption {
  text-align: center;
  margin-top: 4px;
}
.hero-mesh figcaption b {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
}
.hero-mesh figcaption span {
  font-size: 11px;
  color: var(--sky);
  letter-spacing: .02em;
}
.hero-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.hero-rail a {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sky);
  border: 1px solid rgba(195,223,247,.32);
  border-radius: 999px;
  padding: 6px 12px;
}
.hero-rail a:hover {
  color: #fff;
  border-color: rgba(195,223,247,.6);
  background: rgba(255,255,255,.08);
}

/* .hub-lede quedó como intro con jerarquía (kicker + h2 + p, ver
   viewProductosHub): alineada al contenedor como toda .section-head, no un
   párrafo centrado flotando entre el hero y las tarjetas. */
.hub-lede { max-width: 66ch; margin: 0 0 24px; text-align: left; }
.hub-lede p { font-size: 16px; line-height: 1.6; color: var(--ink); }
/* Hub: 5 puertas. 5 en fila con aire; por debajo de 1200 px se reparten
   3 + 2 (las dos últimas se ensanchan, sin hueco a la izquierda); en
   tablet 2 + 2 + 1 con la última a lo ancho; en teléfono 1 columna. */
.hub-doors { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hub-doors .door { min-height: 340px; padding: 24px 18px 18px; }
.hub-doors .door-well { height: 168px; margin-bottom: 18px; background: #F4F9FD; }
.hub-doors .door-well svg { width: 124px; height: 124px; }
.hub-doors .door h3 { font-size: 22px; }

.figure-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 8px 0 22px; }
.figure {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.figure img { width: 100%; height: 220px; object-fit: cover; }
.figure figcaption {
  font-size: 12px; color: var(--muted); padding: 10px 14px 12px;
  font-family: "IBM Plex Mono", monospace; letter-spacing: .02em;
}
.sus-hero-fig { margin: 0 0 28px; }
.sus-hero-fig img { height: 280px; }
.post-card .thumb { height: 160px; background: #d9e8f6; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .thumb::after { display: none; }
.article-hero-fig { margin: 12px 0 22px; border-radius: var(--radius-sm); overflow: hidden; }
.article-hero-fig img { width: 100%; height: 280px; object-fit: cover; display: block; }

/* Dos por fila (retro Leo 3-sep): con solo 3 columnas el símbolo quedaba
   chico; a 2 columnas hay aire para que el ícono se vea grande. */
.values-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
/* 9 valores en 2 columnas: el impar final ocupa las dos (antes quedaba
   una tarjeta huérfana a la izquierda con un hueco al lado). */
.values-grid .value-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.value-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 20px 18px;
}
.value-card .value-ic {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.value-card .value-ic img { width: 100%; height: 100%; object-fit: contain; }
.value-card b { display: block; color: var(--navy); font-size: 17px; margin-bottom: 6px; }
.value-card p { margin: 0; font-size: 14px; color: var(--ink); line-height: 1.5; }

.plants { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-top: 16px; }
.plant { background: var(--pale); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; }
.plant b { display: block; color: var(--navy); font-size: 14px; }
.plant span { font-size: 12px; color: var(--muted); }

.suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px);
  background: var(--white); border: 1px solid var(--line);
  border-radius: 10px; box-shadow: 0 12px 28px rgba(14,42,70,.12);
  max-height: 240px; overflow: auto; z-index: 8;
}
.suggest button {
  display: block; width: 100%; text-align: left; background: none; border: 0;
  padding: 9px 12px; font-size: 13px; color: var(--ink);
}
.suggest button:hover, .suggest button[aria-selected="true"] { background: var(--pale); }
.suggest b { display: block; color: var(--navy); font-size: 13px; }
.suggest .suggest-hint { color: var(--ink); font-size: 12px; background: var(--pale); border-bottom: 1px solid var(--line); }
.suggest .suggest-hint b { display: inline; color: var(--blue-deep); }
.did-you-mean { margin-top: 10px; font-size: 14px; color: var(--ink); }
.did-you-mean a { color: var(--blue-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.suggest em { font-style: normal; font-family: "IBM Plex Mono", monospace; font-size: 10px; color: var(--muted); }
.combo { position: relative; }
.moq-hint { font-size: 11px; color: var(--muted); font-family: "IBM Plex Mono", monospace; }

.quote-modal {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(8,28,56,.46);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.quote-modal[hidden] { display: none; }
.qm-card {
  background: var(--white); border-radius: var(--radius-lg);
  width: min(560px, 100%); max-height: calc(100vh - 48px); overflow: auto;
  padding: 24px 24px 20px;
  box-shadow: 0 24px 60px rgba(8,28,56,.28);
}
.qm-card h3 { font-family: Outfit, sans-serif; font-size: 22px; color: var(--navy); letter-spacing: -.02em; }
.qm-card .sub { font-size: 13px; color: var(--ink); margin: 6px 0 16px; }
.qm-prod {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--navy); font-weight: 600; margin-bottom: 12px;
}
.qm-prod-text { min-width: 0; flex: 1; }
.qm-prod span { display: block; font-weight: 500; font-size: 12px; color: var(--muted); font-family: "IBM Plex Mono", monospace; margin-top: 2px; }
.qm-thumb {
  flex: 0 0 auto; width: 56px; height: 56px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  position: relative;
}
.qm-thumb img {
  position: relative; z-index: 2;
  max-width: 82%; max-height: 88%; width: auto; height: auto; object-fit: contain;
}
.qm-caps { display: flex; flex-direction: column; gap: 6px; margin: 10px 0 16px; max-height: 180px; overflow: auto; }
.qm-caps label {
  display: flex; gap: 8px; align-items: flex-start;
  font-size: 13px; color: var(--ink);
  padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--pale);
}
.qm-caps input { margin-top: 3px; }
.qm-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.qm-actions .btn { flex: 1; min-width: 140px; }
.qm-close {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px; border: 0; background: transparent;
  color: var(--muted); font-size: 22px; line-height: 1;
}
.qm-card { position: relative; }

.cart-dock {
  position: sticky; bottom: 0; z-index: 30;
  background: var(--navy); color: #fff;
  padding: 10px 0;
}
.cart-dock .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cart-dock p { font-size: 13px; }
.cart-dock b { color: var(--sky); }
.nav-cta { position: relative; }
.nav-cta .badge-n {
  position: absolute; top: -6px; right: -6px;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--navy); color: #fff;
  font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
}

.cart-lines { display: flex; flex-direction: column; gap: 8px; margin: 0 0 14px; }
.cart-line {
  display: flex; justify-content: space-between; gap: 10px; align-items: baseline;
  font-size: 13px; color: var(--ink);
  padding: 8px 0; border-bottom: 1px solid var(--line);
}
.cart-line b { color: var(--navy); }
.cart-line .rm { border: 0; background: none; color: var(--muted); font-size: 12px; }

@media (max-width: 1100px) {
  .hero-mesh { max-width: 300px; }
  .hero-aside { min-height: 0; padding-top: 8px; }
  .values-grid, .plants, .figure-pair { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1200px) {
  .hub-doors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub-doors .door, .hub-doors .door:nth-last-child(-n+2) { grid-column: auto; }
  .hub-doors .door-well { height: 150px; }
}
@media (max-width: 980px) {
  .hub-doors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub-doors .door, .hub-doors .door:nth-last-child(-n+2) { grid-column: auto; }
  .hub-doors .door:last-child:nth-child(odd) { grid-column: 1 / -1; }
  nav.menu .drop:not(details) .fly { display: none; }
  header.nav.is-open nav.menu .drop:not(details) .fly { display: flex; position: static; box-shadow: none; border: 0; }
}
@media (max-width: 560px) {
  .values-grid, .plants, .figure-pair { grid-template-columns: 1fr; }
  .hub-doors { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .hub-doors .door { padding: 12px; }
  .hub-doors .door h3 { font-size: 17px; }
  .hub-doors .door p { font-size: 12px; }
  .values-grid .value-card:last-child:nth-child(odd),
  .hub-doors .door:last-child:nth-child(odd) { grid-column: auto; }
  .hub-doors .door { min-height: 0; }
  .hub-doors .door-well { height: 120px; }
  .hub-doors .door-well svg { width: 88px; height: 88px; }
  .hero-mesh { max-width: 240px; }
}

/* ── Blog: barra de vista previa (Marketing → Blogs, 8-sep-2026) ──────────── */
/* Solo aparece con ?preview=1, para quien ya tiene sesión de Marketing. Fija
   arriba de todo; navy sólido (sin degradado, y nunca azul→morado). */
.preview-bar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--navy-deep); color: var(--white);
  padding: 12px 20px; font-size: 14px; font-family: "IBM Plex Mono", monospace;
}
.preview-bar-actions { display: flex; gap: 10px; align-items: center; }
.preview-bar .btn { padding: 8px 14px; font-size: 13px; }
.preview-bar .btn-ghost { border: 1px solid rgba(255,255,255,.4); color: var(--white); }
.preview-bar .btn-p { background: var(--orange); color: var(--white); border: 0; }
.article-block { margin: 16px 0; }

/* ——— Nosotros: cifras + galería de planta (retro web 8-sep-2026) ——— */
.about-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 22px; }
.about-stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.about-stat b { display: block; font-family: Outfit, sans-serif; font-size: 26px; color: var(--navy); letter-spacing: -.03em; line-height: 1.1; }
.about-stat span { display: block; margin-top: 4px; font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gal-grid--3 { grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gal-fig { margin: 0; }
.gal-item { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--sky); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gal-item:hover img, .gal-item:focus-visible img { transform: scale(1.035); }
.gal-fig figcaption { font-family: "IBM Plex Mono", monospace; font-size: 11.5px; letter-spacing: .02em; color: var(--muted); padding: 8px 4px 0; line-height: 1.45; }
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(8,28,56,.94); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1200px, 100%); text-align: center; }
.lightbox img { max-width: 100%; max-height: 78vh; width: auto; height: auto; margin-inline: auto; border-radius: 12px; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.lightbox figcaption { color: var(--sky); font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: .03em; margin-top: 14px; }
.lb-btn { position: absolute; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(195,223,247,.45); background: rgba(255,255,255,.08); color: #fff; font-size: 22px; line-height: 1; display: flex; align-items: center; justify-content: center; }
.lb-btn:hover { background: rgba(255,255,255,.18); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 30px; left: 24px; color: var(--sky); font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: .08em; }

/* ——— Tecnología: procesos paso a paso ——— */
.proc-strip .wrap { grid-template-columns: repeat(4, 1fr); }
.proc-strip .cell { display: block; }
.proc-strip .cell:hover { background: rgba(255,255,255,.7); }
.proc-strip .cell small { display: block; font-family: "IBM Plex Mono", monospace; font-size: 10px; letter-spacing: .12em; color: var(--orange); margin-bottom: 4px; }
.proc-section { padding: 44px 0 40px; border-top: 1px solid var(--line); }
.proc-head { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: end; margin-bottom: 20px; }
.proc-head h2 { font-family: Outfit, sans-serif; font-size: 32px; letter-spacing: -.03em; color: var(--navy); margin-top: 6px; }
.proc-head h2 small { font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: .12em; color: var(--muted); margin-left: 10px; vertical-align: middle; }
.proc-resumen { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--ink); max-width: 62ch; }
.proc-meta { display: grid; gap: 10px; }
.proc-meta div { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 11px 14px; }
.proc-meta b { display: block; font-family: "IBM Plex Mono", monospace; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.proc-meta span { display: block; margin-top: 3px; font-size: 14px; color: var(--navy); font-weight: 500; line-height: 1.4; }
.proc-steps { list-style: none; display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); gap: 12px; }
.proc-step { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 10px 10px 16px; }
.proc-step:not(:last-child)::after { content: ""; position: absolute; right: -13px; top: 34%; width: 14px; height: 2px; background: var(--sky); }
.proc-fig { background: var(--pale); border-radius: 14px; overflow: hidden; }
.proc-fig svg { width: 100%; height: auto; display: block; }
.proc-txt { padding: 12px 8px 0; }
.proc-n { font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .14em; color: var(--orange); }
.proc-txt b { display: block; font-family: Outfit, sans-serif; font-size: 16px; color: var(--navy); margin-top: 4px; letter-spacing: -.01em; line-height: 1.25; }
.proc-txt p { font-size: 13px; line-height: 1.5; color: var(--ink); margin-top: 6px; }
.proc-ventajas { margin-top: 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; display: flex; gap: 8px 28px; flex-wrap: wrap; align-items: baseline; }
.proc-ventajas .hint { margin: 0; }
.proc-ventajas ul { list-style: none; display: flex; gap: 6px 26px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink); }
.proc-ventajas li::before { content: "—"; color: var(--orange); margin-right: 7px; }
.proc-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 14px; }
.proc-table th { text-align: left; font-family: "IBM Plex Mono", monospace; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; padding: 12px 18px; background: var(--pale); border-bottom: 1px solid var(--line); }
.proc-table td { padding: 13px 18px; border-bottom: 1px solid var(--line); color: var(--ink); }
.proc-table tr:last-child td { border-bottom: 0; }
.proc-table td:last-child { font-weight: 600; color: var(--navy); white-space: nowrap; }
@media (max-width: 1100px) {
  .proc-steps { grid-template-columns: repeat(2, 1fr); }
  .proc-step::after { display: none; }
}
@media (max-width: 980px) {
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .gal-grid, .gal-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .proc-strip .wrap { grid-template-columns: repeat(2, 1fr); }
  .proc-strip .cell:nth-child(2) { border-right: 0; }
  .proc-strip .cell { border-bottom: 1px solid var(--line); }
  .proc-head { grid-template-columns: 1fr; align-items: start; }
  .proc-meta { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .proc-steps { grid-template-columns: 1fr; }
  .proc-step { padding: 8px 8px 14px; }
  .proc-head h2 { font-size: 26px; }
  .proc-meta { grid-template-columns: 1fr; }
  .gal-grid { gap: 8px; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; } .lb-close { top: 10px; right: 10px; }
  .lightbox { padding: 12px; }
  .proc-table td:last-child { white-space: normal; }
}

/* Retro 17-sep: un buscador accesible sin abrir el menú. */
@media (max-width: 1100px) {
  header.nav > .wrap { flex-wrap: wrap; height: auto; padding-block: 10px; }
  header.nav > .wrap > .nav-search { order: 5; flex-basis: 100%; margin: 0; }
  .nav-search input { flex: 1; width: 0; min-width: 0; }
  .nav-search input, .nav-search button { min-height: 44px; }
}
/* Escenas de uso (foto realista 4:3). Cover a sangre, alto uniforme.
   object-position center: con 3 cols las botellas ya vienen con aire
   alrededor; centrar mantiene el encuadre pareja entre las seis. */
.market-image {
  height: 240px; margin-bottom: 14px; display: block;
  background: #e8eef4; overflow: hidden; flex-shrink: 0;
}
.market-image img {
  /* 35% vertical: prioriza tapa/bomba al recortar 4:3 en cards anchas de 3 col. */
  width: 100%; height: 240px; object-fit: cover; object-position: center 35%;
  display: block; padding: 0;
}
.hero-models { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.hero-models button { color: #fff; background: transparent; border: 1px solid #ffffff66; border-radius: 5px; min-height: 44px; padding: 8px 12px; cursor: pointer; }
.hero-models button[aria-pressed="true"] { background: #fff; color: #11283f; }
.hero-models button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 980px) {
  .markets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .markets { grid-template-columns: 1fr; }
  .market-image, .market-image img { height: 200px; }
  .market > b, .market > span { margin-inline: 12px; }
  .hero-models button { padding-inline: 8px; }
}

.quote-cta-band { min-height: 0; padding-block: 56px; }
.quote-cta-band .wrap { grid-template-columns: 1fr; }
.quote-cta-band .btn { margin-top: 20px; }

/* Reservar ancho antes de lazy-load; sugerencias legibles sobre el hero azul. */
.page-hero .did-you-mean { color: #fff; margin-top: 12px; }
.page-hero .did-you-mean a { color: #fff; text-decoration: underline; }

/* Retro 21-sep: revisión de productos visible antes de los datos de contacto. */
.hero .btn-p, .page-hero .btn-p, .quote-cta-band .btn-p { background: #fff; color: #171717; }
#quote-form, #quote-sent { scroll-margin-top: calc(var(--header-h) + 24px); }
#quote-form h2 { color: var(--navy); font-size: 28px; }
.fields > h3 { grid-column: 1 / -1; }
.quote-add { margin: 16px 0 24px; }
.cart-line { gap: 12px; flex-wrap: wrap; }
.cart-line > span { flex: 1 1 180px; }
.cart-quantity { display: grid; gap: 4px; font-size: 12px; color: var(--ink); }
.cart-quantity input { width: 112px; padding: 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.home-plant-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
@media (max-width: 560px) {
  .home-plant-gallery { grid-template-columns: 1fr; }
}
