:root {
  --white: #FFFFFF;
  --pale: #E9F2FC;
  --sky: #C3DFF7;
  --blue-bright: #4E9BE8;
  --blue: #2F72BE;
  --blue-deep: #143E73;
  --navy-deep: #001871; /* antes #081C38; ahora el azul marino oficial */
  --navy: #0E2A46;
  --ink: #223B55;
  --muted: #54708C;
  --line: #CFE2F4;
  --orange: #FF6600;
  --orange-hi: #FF7A26;
  --green: #3D9B3A;
  /* Paleta oficial — Manual de identidad Plastimex 2026 (marketing, 29-sep).
     Acentos sutiles, no repintado: azul marino en titulares y en el arranque
     de los fondos oscuros; verde como pleca/detalle (nunca en texto: sobre
     claro no llega a contraste AA). */
  --pmx-navy: #001871;   /* PANTONE 2748 C */
  --pmx-blue: #1A428A;   /* PANTONE 7687 C */
  --pmx-green: #7FBA27;  /* PANTONE 376 C */
  --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; }
/* Teléfono y WhatsApp en azul de marca, no naranja/verde (Santy, captura 50).
   #1A428A sobre blanco = 9.4:1. */
.topbar-tel, .topbar-wa { color: var(--pmx-blue); font-weight: 600; }
.topbar-tel:hover, .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(--pmx-green); }
.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(--pmx-green) 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 sobre el .page-hero navy en las páginas de familia: ISO
   9001:2015 en todas y Certificación UN en PEAD — retro Leo 8-sep,
   WEB-LEGAL-Y-CONFIANZA; se nombra UN, nunca "ONU" (30-sep). */
.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(--pmx-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)); }
/* Cifras de Sustentabilidad: desde el 13-oct-2026 son la leyenda de su foto
   (figcaption.sus-metric dentro de .sus-fig), no tarjetas sueltas. */
.sus-metric {
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
}
.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; }
@media (max-width: 980px) {
  .sus-grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .sus-grid-3 { grid-template-columns: 1fr; }
  .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) ———
   Movido a static/plastimex/producto-fondo.css (30-sep): fuente única que
   también carga el panel de Marketing para que su vista previa sea fiel.
   Ahí viven .producto-fondo*, .visual, .visual .photo y los swatches. */
.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; }
/* Tapas (6-oct-2026): una tarjeta por tapa; liner y color se eligen en el
   lugar. Monocromo invertido en lo elegido, igual que .variant.on. */
.liner-opts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 8px; }
.liner-label {
  font-family: "IBM Plex Mono", monospace; font-size: 9px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-right: 2px;
}
.liner-opt {
  font: inherit; font-size: 11px; font-weight: 600; line-height: 1.2; text-align: left;
  min-height: 28px; padding: 5px 9px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--white); color: var(--ink);
  transition: border-color .15s, background-color .15s, color .15s;
}
.liner-opt:hover { border-color: var(--blue); }
.liner-opt[aria-pressed="true"] { background: #171717; border-color: #171717; color: #fff; }
.liner-opt:focus-visible { outline: 2px solid #171717; outline-offset: 2px; }
.grid-section {
  grid-column: 1 / -1; margin: 18px 0 2px;
  font-family: "IBM Plex Mono", monospace; font-size: 11px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue-deep);
  padding-bottom: 8px; border-bottom: 1px solid var(--line);
}
.grid-section:first-child { margin-top: 0; }
@media (prefers-reduced-motion: reduce) { .liner-opt { transition: none; } }
.card .btn { height: 36px; font-size: 12px; width: 100%; }
/* Tarjetas parejas (Sandy, 3-nov-2026): todas llevan fila de color y, en
   cada renglón de la grilla, foto, nombre, datos, opciones+colores y
   botones comparten la misma altura (subgrid): un nombre de dos líneas o
   unos colores que bajan de renglón ya no desalinean a la tarjeta vecina.
   El liner de las tapas va arriba de .card-opciones y la fila de color al
   pie, así ambas quedan a la misma altura en todo el renglón. Sin subgrid
   (navegadores viejos), opciones y botones bajan juntos al pie. */
.card-opciones { display: flex; flex-direction: column; min-width: 0; }
.card-opciones > .swatches { margin-top: auto; padding-top: 6px; }
.card-nota { margin-top: 4px; }
@supports (grid-template-rows: subgrid) {
  .grid > .card {
    display: grid; grid-template-columns: minmax(0, 1fr);
    grid-row: span 5; grid-template-rows: subgrid; row-gap: 0;
  }
  .grid > .card > .card-actions { margin-top: 0; }
}
@supports not (grid-template-rows: subgrid) {
  .card > .card-opciones { margin-top: auto; }
  .card > .card-opciones + .card-actions { margin-top: 0; }
}

/* ——— 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));
}
/* Galería del color en la ficha (Marketing → Contenido de la página, 30-sep).
   Miniaturas en columna arriba a la derecha (no chocan con el callout de
   abajo a la izquierda). Recorte = mini escenario con retícula; ambiente =
   foto completa que cubre el escenario al elegirla. */
.pdp-thumbs {
  position: absolute; top: 18px; right: 18px; z-index: 6;
  display: flex; flex-direction: column; gap: 8px;
  max-height: calc(100% - 36px); overflow-y: auto; padding: 2px;
}
.pdp-thumb {
  flex: 0 0 auto; width: 56px; height: 56px; padding: 0; cursor: pointer;
  border-radius: 10px; border: 1px solid var(--line); background: var(--white);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  position: relative; transition: border-color .15s ease, box-shadow .15s ease;
}
.pdp-thumb img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.pdp-thumb.is-ambiente img { object-fit: cover; padding: 0; }
.pdp-thumb[aria-pressed="true"] { border-color: #171717; box-shadow: 0 0 0 1px #171717; }
.pdp-thumb:focus-visible { outline: 2px solid #171717; outline-offset: 2px; }
.sheet-viz .viz-ambiente {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 5; display: none;
}
.sheet-viz.is-ambiente .viz-ambiente { display: block; animation: pdp-fade .22s ease; }
.sheet-viz.is-ambiente .callout { z-index: 6; }
@keyframes pdp-fade { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 640px) {
  .pdp-thumbs { top: 12px; right: 12px; gap: 6px; }
  .pdp-thumb { width: 46px; height: 46px; border-radius: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .pdp-thumb { transition: none; }
  .sheet-viz.is-ambiente .viz-ambiente { animation: none; }
}
.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-thumb { display:inline-flex; width:32px; height:38px; border-radius:5px; align-items:center; justify-content:center; flex-shrink:0; }
.variant-thumb img { position:relative; z-index:1; width:26px; height:32px; object-fit:contain; }
.product-ambient { margin:24px 0 0; }
.product-ambient img { display:block; width:100%; max-height:360px; object-fit:contain; border-radius:12px; }
.product-ambient figcaption { margin-top:6px; font-size:12px; color:var(--muted); }
.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); }
/* Color de línea sin SKU propio (Sandy, 3-nov-2026): se informa, no se elige. */
.variant--info { cursor: default; }
/* … salvo que Marketing ya le subió foto (4-nov-2026): entonces el chip la
   muestra en la ficha. Mismo chip; elegido = monocromo invertido. */
button.variant { font: inherit; font-size: 12px; font-weight: 500; cursor: pointer; }
.variant.js-pdp-linea[aria-pressed="true"] { border-color: var(--blue-deep); color: #fff; background: #171717; }
.variant.js-pdp-linea[aria-pressed="true"] .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; padding: 64px 0; 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; }
/* Campo trampa anti-spam (6-oct-2026): fuera de la vista y del orden de tabulación;
   una persona no lo ve ni lo llena, un bot sí. */
.hp-campo { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.turnstile-slot:empty { display: none; }
.turnstile-slot { margin: 12px 0 4px; }

/* 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; }
/* Formulario de denuncias propio (9-nov-2026, /canal-de-denuncias): dentro del artículo, sin sombra flotante. */
.form-denuncia { margin-top: 24px; box-shadow: none; border: 1px solid var(--line); }
.form-denuncia fieldset { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.form-denuncia legend {
  font-family: "IBM Plex Mono", monospace; font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 4px;
}
.form-denuncia .consent { margin-top: 8px; }
.form-denuncia .consent input[type="radio"] { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--navy); flex-shrink: 0; }
.form-denuncia .consent span { font-size: 14px; }
.form-denuncia .denuncia-nota { text-align: left; margin: 0 0 16px; }
.form-denuncia .denuncia-datos[hidden] { display: none; }
.form-denuncia textarea { height: auto; min-height: 160px; }
.form-denuncia .form-error, .form-denuncia .form-note { text-align: left; }
.form-denuncia[role="status"] p { font-size: 16px; color: var(--navy); margin: 0; }
.form-denuncia[role="status"]:focus { outline: 2px solid var(--navy); outline-offset: 3px; }
@media (max-width: 640px) { .form-denuncia { padding: 20px 16px; } }

/* ——— 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; }
  /* Footer Contacto: a ≤560 el grid 2-col deja columnas de ~165 px y el
     correo atencion.clientes@plastimex.mx desborda (barrida 5-oct). 1 col. */
  footer.site .cols { grid-template-columns: 1fr; }
  footer.site p { overflow-wrap: anywhere; }
  /* Topbar: en teléfono solo teléfono + WhatsApp (sin email) para 1 renglón
     centrado; el email empujaba el WA a un segundo renglón (barrida 27-sep). */
  .topbar .wrap > span:first-child { display: none; }
  .topbar .wrap { justify-content: center; }
  .topbar .wrap > span { white-space: nowrap; text-align: center; }
  .topbar-email { display: none; }
  .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; }
  /* Teléfono: el nombre del color va siempre en su propia línea, bajo los
     puntos — igual en todas las tarjetas (antes unas lo llevaban al lado y
     otras debajo, según cuántos puntos cupieran). */
  .card .swatches .swatch-name { flex-basis: 100%; margin-left: 6px; line-height: 1.3; }
  /* Muchos colores (Asa: 6; tapas con 7–8): puntos más juntos. Ahora son
     botones (Sandy, 4-nov-2026): 24 px, el mínimo de área táctil. */
  .card .swatches--muchos { column-gap: 0; }
  .card .swatches--muchos .swatch { width: 24px; height: 24px; }
  .card-actions { gap: 6px; padding-top: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* «Get a quote» (/en) no cabe en una línea a 320 px: parte en dos dentro
     del mismo botón en vez de salirse de la tarjeta. */
  .card .btn { white-space: normal; line-height: 1.1; }
  .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; }
/* Portadas del blog en 3:2, la proporción en que Marketing las diseña (1500 × 1000)
   y la de 121 de las 176 portadas migradas. Con la altura fija de 160 px la
   tarjeta quedaba en ~2.6:1 y cortaba arriba y abajo el texto de la portada
   (Sandy, 4-nov-2026, «Ventajas y desventajas del PET»). Una portada de otra
   proporción se sigue recortando al centro, como antes. */
.post-card .thumb { height: auto; aspect-ratio: 3 / 2; background: #d9e8f6; }
.post-card .thumb img { display: block; 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 va centrado y con el MISMO ancho
   que las demás (Santy, captura 46; antes ocupaba las dos columnas). */
.values-grid .value-card:last-child:nth-child(odd) {
  grid-column: 1 / -1; justify-self: center; width: calc((100% - 14px) / 2);
}
.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; }
.qm-card:focus { outline: none; }

.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; }
/* Texto de los blogs de Marketing → Blogs (pedido de Sandy, 9-oct-2026).
   Subtítulo: el <h3> que guarda el editor se ve como el resto de los h3/h2
   del sitio (.panel h3: Outfit 22 px, azul marino) con el ritmo vertical de
   .article h2. Alineación: clases de lista cerrada que fija el saneador
   (richtext.py), nunca estilos en línea. Enlace: azul más vivo que el texto,
   en negritas y subrayado (el color solo no distingue a quien no lo percibe);
   #1D5FB0 sobre blanco = 6.3:1 (AA ≥ 4.5). Solo `a[href]`: un <a> sin
   dirección no es enlace y no se resalta. */
.article-block { --enlace: #1D5FB0; }
.article-block h3 { line-height: 1.25; margin: 22px 0 8px; }
.article-block .al-izq { text-align: left; }
.article-block .al-der { text-align: right; }
.article-block .al-cen { text-align: center; }
.article-block .al-jus { text-align: justify; text-justify: inter-word; overflow-wrap: break-word; }
.article-block a[href] {
  color: var(--enlace); font-weight: 700; text-decoration: underline;
  text-decoration-thickness: 1.5px; text-underline-offset: 3px;
}
.article-block a[href]:hover { color: var(--blue-deep); }

/* ——— 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); }
  /* número impar de cifras: la última ocupa la fila completa, sin hueco */
  .about-stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .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: conversion sections share Aurora's typography, panels and grid. */
.home-search { padding-bottom: 0; }
.home-search-form { display:flex; gap:12px; max-width:820px; }
.home-search-form input { min-width:0; flex:1; background:var(--white); border:1px solid var(--line); border-radius:var(--radius-sm); padding:16px; }
.home-suggestions { display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
.home-families { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.home-family { display:flex; flex-direction:column; }
.home-family h3 { margin:16px 0 10px; }
.home-family-traits { font-size:14px; color:var(--ink); line-height:1.45; }
.home-family-uses { font-size:13px; color:var(--muted); line-height:1.45; margin:6px 0 16px; }
.home-family .go { margin-top:auto; }
.home-family::before { content:""; display:block; width:28px; height:3px; border-radius:99px; background:var(--pmx-green); margin-bottom:14px; }
.home-family:hover { border-color:var(--blue); }
.home-molds { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-top:16px; }
.home-molds .btn { flex-shrink:0; }
.home-seo-copy { margin:24px 0; line-height:1.8; }
/* Tapas: guía rápida de cierre (¿qué rosca?, flip-top, disc-top). */
.tapas-guide { display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:var(--gap); }
.tapas-guide .panel { padding:18px 20px; }
.tapas-guide .hint { margin-top:0; color:var(--blue-deep); font-weight:600; }
.tapas-guide .go { display:inline-block; margin-top:10px; font-size:13px; font-weight:600; color:var(--blue-deep); }
/* Planta: recorrido en cuatro etapas (banda azul desde el 13-oct-2026, ver .recorrido-band). */
.plant-steps { grid-template-columns:repeat(4,minmax(0,1fr)); }
.plant-steps p { margin-top:8px; font-size:14px; line-height:1.55; color:var(--ink); max-width:32ch; }
.plant-step-img { width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; border-radius:var(--radius-sm); margin-bottom:14px; }
.home-faq-head { margin-top:48px; }
.home-seo-head { margin-bottom:0; }
.faq-list + .btn { margin-top:16px; }
.faq-list summary { cursor:pointer; font-weight:600; }
.faq-list details p { margin-top:16px; }
.home-blog .post-card h3 { font-size:22px; }
@media(max-width:900px) { .tapas-guide { grid-template-columns:1fr; } .plant-steps p { max-width:none; } .home-families { grid-template-columns:repeat(2,minmax(0,1fr)); } .home-molds { align-items:flex-start; flex-direction:column; } }
@media(max-width:900px) { .plant-steps li { display:block; } .plant-steps h3 { margin-top:10px; } }
@media(max-width:540px) { .home-families { grid-template-columns:1fr; } .home-search-form { flex-direction:column; } .home-molds .btn { white-space:normal; } }

/* Correcciones Miguel: filtros y carrito en móvil y ambos temas. */
.filter-row { flex-wrap: wrap; }
.filter-row label { display: grid; gap: .4rem; min-width: 0; max-width: 100%; }
.filter-row input, .filter-row select { max-width: 100%; min-width: 0; }
.cart-line { flex-wrap: wrap; overflow-wrap: anywhere; }
.cart-quantity { display: grid; gap: .35rem; }
.lang-switch { white-space: nowrap; }
@media (max-width: 600px) {
  .filter-row label { width: 100%; }
  .cart-line > * { max-width: 100%; }
  .lang-switch { font-size: 12px; }
}

@media (max-width: 560px) {
  header.nav > .wrap > .lang-switch { order: 4; flex-basis: 100%; justify-content: center; margin: 0; }
}

/* <picture> (WebP con respaldo) entre el contenedor de la foto y la <img>:
   ocupa todo el contenedor y centra igual que él, para que los max-height en
   porcentaje de la imagen sigan refiriéndose a una altura definida. */
.photo > picture,
.cap-thumb > picture,
.qm-thumb > picture {
  display: flex; width: 100%; height: 100%;
  align-items: inherit; justify-content: inherit;
  position: relative; z-index: 2;
}


/* Ajustes públicos 8-oct: superficies explícitas, independientes del tema
   del sistema. Los controles nativos usan la misma paleta en claro y oscuro. */
.page-hero .search-filters {
  background: var(--navy); color: var(--white); padding: 16px;
  align-items: end; color-scheme: light;
}
.page-hero .search-filters label { color: var(--white); flex: 1 1 160px; }
.search-filters input, .search-filters select {
  width: 100%; min-height: 44px; padding: 10px;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--muted); border-radius: 0; font: inherit;
}
.search-filters option { background: var(--white); color: var(--ink); }
.search-filters input::placeholder { color: var(--muted); opacity: 1; }
.page-hero .search-filters .btn {
  background: var(--white); color: var(--ink); border-radius: 0;
  min-height: 44px; filter: none;
}
.search-filters input:hover, .search-filters select:hover { border-color: var(--blue-deep); }
.page-hero .search-filters .btn:hover { box-shadow: inset 0 0 0 2px var(--blue-deep); }
@media (forced-colors: active) { .page-hero .search-filters .btn { border: 1px solid ButtonText; } }
.search-filters :is(input, select, button):focus-visible {
  outline: 3px solid var(--sky); outline-offset: 3px;
}

/* Cinco familias; bajo 1100 px se conserva una tarjeta legible por tramo.
   El desplazamiento queda dentro de la fila, también con teclado. */
.home-families, .doors.hub-doors {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px; min-width: 0; max-width: 100%;
}
.home-family, .hub-doors .door, .hub-doors .door-well { border-radius: 0; }
.home-families > *, .doors.hub-doors > .door,
.doors.hub-doors > .door:last-child:nth-child(odd) { min-width: 0; grid-column: auto; }
.home-family { padding: 20px 16px; overflow-wrap: anywhere; }
@media (max-width: 1099px) {
  .home-families, .doors.hub-doors {
    grid-template-columns: none; grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 1fr); overflow-x: auto;
    scroll-snap-type: x mandatory; scroll-behavior: smooth;
    padding-bottom: 12px;
  }
  .home-families > *, .doors.hub-doors > .door {
    grid-column: auto; scroll-snap-align: start;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-families, .doors.hub-doors { scroll-behavior: auto; }
}

/* Todas las tarjetas del MISMO tamaño (un tercio) y la fila incompleta
   centrada: 5 = 3 arriba + 2 centradas abajo, en pirámide (Santy, captura 21;
   Leo: «sin compactar a un lado»). No depende de nombres ni del CMS. */
.markets { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.markets > .market { flex: 0 1 calc((100% - 24px) / 3); min-width: 0; height: auto; }
.market-image { height: auto; aspect-ratio: 4 / 3; }
.market-image img { height: 100%; object-fit: cover; object-position: center; }
@media (max-width: 980px) {
  .markets > .market { flex-basis: calc((100% - 12px) / 2); }
}
@media (max-width: 560px) {
  .markets > .market { flex-basis: 100%; }
}

/* El desplazamiento interno recorta lo que sobresale: el foco va por dentro
   y la tarjeta que queda sola en su fila no crece sin límite. */
.home-families > :focus-visible, .doors.hub-doors > :focus-visible,
.doors.hub-doors .door:focus-visible { outline-offset: -4px; }
.market-image { max-height: 480px; }

/* ════════════════════════════════════════════════════════════════════════
   Correcciones de Santy (marketing), 13-oct-2026.
   Mismo sistema: azul marino de marca, retícula, monocromo invertido en los
   botones (blanco sobre azul / negro sobre claro), sin degradados en botones.
   ════════════════════════════════════════════════════════════════════════ */

/* Pie: el sello baja a su propio renglón (captura 28) y el teléfono de la
   oficina va arriba y se puede marcar (aclaración de Leo, captura 29). */
.footer-sello { margin-top: 8px; font-weight: 600; color: var(--navy); }
.footer-tel { display: flex; flex-direction: column; gap: 2px; margin-bottom: 8px; }
.footer-tel span {
  font-family: "IBM Plex Mono", monospace; font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
}
.footer-tel a {
  font-family: Outfit, sans-serif; font-size: 18px; font-weight: 600; color: var(--pmx-blue);
  letter-spacing: -.01em; line-height: 1.35; width: fit-content;
}
footer.site .footer-tel a:hover { color: var(--pmx-navy); text-decoration: underline; }
/* «Escríbenos» del pie (Santy, 14-oct-2026) */
.footer-escribenos { margin-top: 10px; }
.footer-escribenos .btn { height: 44px; padding: 0 18px; font-size: 13px; }
.escribenos-form .btn-p { width: 100%; height: 48px; margin-top: 16px; font-size: 15px; }
@media (max-width: 560px) {
  .values-grid .value-card:last-child:nth-child(odd) { width: auto; justify-self: stretch; }
}

/* Iconos 3D de familia (captura 10): en las puertas del hub y en las tarjetas
   «Un sistema completo» del inicio (captura 15). */
.fam3d { display: block; }
.fam3d img { width: 100%; height: 100%; object-fit: contain; }
.door .door-well .fam3d { width: 120px; height: 120px; }
.hub-doors .door-well .fam3d { width: 150px; height: 150px; transition: transform .35s ease; }
.hub-doors .door:hover .fam3d, .hub-doors .door:focus-visible .fam3d { transform: translateY(-4px) scale(1.04); }
.home-family-ic {
  display: flex; align-items: center; justify-content: center;
  height: 132px; margin: -4px -4px 14px; background: #F4F9FD; border: 1px solid var(--line);
}
.home-family-ic .fam3d { width: 116px; height: 116px; transition: transform .35s ease; }
.home-family:hover .home-family-ic .fam3d, .home-family:focus-visible .home-family-ic .fam3d { transform: translateY(-4px) scale(1.05); }
@media (max-width: 1200px) { .hub-doors .door-well .fam3d { width: 128px; height: 128px; } }
@media (max-width: 560px) {
  .hub-doors .door-well .fam3d { width: 100px; height: 100px; }
  .home-family-ic { height: 116px; }
  .home-family-ic .fam3d { width: 100px; height: 100px; }
}

/* Escenas 3D en malla (escenas-3d.js): panel azul marino como el hero. */
.escena-panel {
  position: relative; margin: 0 0 18px; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(115deg, var(--navy-deep) 0%, var(--blue-deep) 58%, var(--blue) 100%);
  border: 1px solid rgba(195,223,247,.25);
}
.escena-panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(195,223,247,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(195,223,247,.10) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at 50% 60%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 60%, #000 20%, transparent 80%);
}
.escena-panel canvas { position: relative; display: block; width: 100%; aspect-ratio: 3 / 1; max-height: 400px; }
@media (max-width: 760px) { .escena-panel canvas { aspect-ratio: 16 / 10; } }

/* «Así trabajamos contigo»: cinco cajas con imagen e icono (capturas 1 y 18). */
.proceso-pasos {
  list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px;
  counter-reset: paso;
}
.proceso-paso {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.proceso-paso:hover { border-color: var(--blue); box-shadow: 0 14px 30px rgba(20,62,115,.10); transform: translateY(-2px); }
.proceso-foto { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sky); }
.proceso-foto img { width: 100%; height: 100%; object-fit: cover; }
.proceso-cuerpo { position: relative; padding: 34px 16px 18px; flex: 1; }
.proceso-ic {
  position: absolute; top: -24px; left: 16px; width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--pmx-navy); color: #fff; box-shadow: 0 8px 18px rgba(0,24,113,.28);
}
.proceso-ic svg { width: 24px; height: 24px; }
.proceso-n {
  font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .14em; color: var(--muted);
}
.proceso-paso h3 { font-family: Outfit, sans-serif; font-size: 17px; line-height: 1.25; color: var(--navy); margin-top: 6px; letter-spacing: -.01em; }
@media (max-width: 1100px) { .proceso-pasos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .proceso-pasos { grid-template-columns: 1fr 1fr; gap: 12px; }
  .proceso-paso:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .proceso-paso:last-child:nth-child(odd) .proceso-foto { aspect-ratio: 16 / 9; }
}
@media (max-width: 420px) {
  .proceso-pasos { grid-template-columns: 1fr; }
  .proceso-paso .proceso-foto { aspect-ratio: 16 / 9; }
}

/* Carrusel de planta del inicio (captura 4). */
.carrusel { position: relative; }
.carrusel-pista {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - var(--gap)) / 2);
  gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; overscroll-behavior-x: contain; padding-bottom: 2px;
}
.carrusel-pista::-webkit-scrollbar { display: none; }
.carrusel-pista:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 4px; }
.carrusel-item { scroll-snap-align: start; min-width: 0; }
.carrusel-ctrl { display: flex; gap: 8px; margin-top: 14px; }
.carrusel-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--white); color: var(--navy); display: inline-flex; align-items: center; justify-content: center;
}
.carrusel-btn svg { width: 20px; height: 20px; }
.carrusel-btn:hover { border-color: var(--blue); color: var(--blue-deep); }
@media (max-width: 560px) { .carrusel-pista { grid-auto-columns: 88%; } }
@media (prefers-reduced-motion: reduce) { .carrusel-pista { scroll-behavior: auto; } }

/* Bloque de proyecto destacado (capturas 17 y 22). */
.proyecto-band { padding: 8px 0 8px; }
.proyecto-card {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 28px;
  padding: 40px 44px; border-radius: var(--radius-lg); color: #fff;
  background: linear-gradient(115deg, var(--navy-deep) 0%, var(--blue-deep) 60%, var(--blue) 100%);
  box-shadow: 0 22px 50px rgba(0,24,113,.22);
}
.proyecto-card::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: linear-gradient(90deg, transparent 30%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
}
.proyecto-copy { position: relative; max-width: 62ch; }
.proyecto-ic {
  display: inline-flex; width: 52px; height: 52px; border-radius: 16px; align-items: center; justify-content: center;
  background: rgba(255,255,255,.12); border: 1px solid rgba(195,223,247,.4); margin-bottom: 16px;
}
.proyecto-ic svg { width: 26px; height: 26px; }
.proyecto-card h2 {
  font-family: Outfit, sans-serif; font-size: 38px; line-height: 1.06; letter-spacing: -.035em; color: #fff;
}
.proyecto-card h2::after {
  content: ""; display: block; width: 72px; height: 4px; border-radius: 99px; margin-top: 14px;
  background: var(--pmx-green);
}
.proyecto-card p { margin-top: 14px; font-size: 16px; line-height: 1.55; color: #fff; }
.proyecto-cta {
  position: relative; flex-shrink: 0; height: auto; min-height: 56px; padding: 14px 24px;
  background: #fff; color: #171717; font-size: 15px; white-space: normal; max-width: 300px; line-height: 1.3;
  transition: transform .2s ease, box-shadow .2s ease;
}
.proyecto-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,.25); }
.proyecto-cta:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (max-width: 760px) {
  .proyecto-card { flex-direction: column; align-items: flex-start; padding: 28px 22px; }
  .proyecto-card h2 { font-size: 28px; }
  .proyecto-cta { max-width: none; width: 100%; }
}

/* Panel de Sustentabilidad del inicio (sin la tarjeta del blog, captura 24). */
.sus-teaser { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: center; }
.sus-teaser-foto { display: block; border-radius: var(--radius); overflow: hidden; background: #F4F9FD; }
.sus-teaser-foto img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 760px) { .sus-teaser { grid-template-columns: 1fr; } }

/* Catálogo descargable con formulario (captura 42). */
.catalogo-descarga {
  margin: 28px 0 8px; padding: 24px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line);
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: start;
}
.catalogo-copy h3 { font-family: Outfit, sans-serif; font-size: 24px; color: var(--pmx-navy); letter-spacing: -.02em; margin-top: 6px; }
.catalogo-copy p { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--ink); }
.catalog-fields { display: grid; gap: 10px; }
.catalog-form .field input { width: 100%; }
.catalogo-descarga .qm-actions .btn { width: 100%; }
.catalogo-descarga h4 { font-family: Outfit, sans-serif; font-size: 18px; color: var(--navy); }
@media (max-width: 760px) { .catalogo-descarga { grid-template-columns: 1fr; padding: 20px; } }

/* Nosotros (capturas 43–46). */
.page-hero .lead-label { color: var(--sky); margin-top: 6px; }
.lede-ancho { max-width: 70ch; }
.panel-ic { position: relative; }
.panel-ic-badge {
  display: inline-flex; width: 48px; height: 48px; border-radius: 14px; align-items: center; justify-content: center;
  background: var(--pmx-navy); color: #fff; margin-bottom: 14px;
}
.panel-ic-badge svg { width: 24px; height: 24px; }
.equipo-foto { margin: 0 0 18px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--sky); }
.equipo-foto picture, .equipo-foto img { display: block; width: 100%; }
.equipo-foto img { height: auto; aspect-ratio: 3 / 2; max-height: 620px; object-fit: cover; object-position: center 40%; }
.equipo-foto figcaption {
  font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: .03em; color: var(--muted);
  background: var(--white); padding: 10px 16px;
}
.values-title { font-family: Outfit, sans-serif; font-size: 32px; letter-spacing: -.03em; color: var(--pmx-navy); margin-bottom: 26px; }

/* Recorrido de /planta: banda azul, cada etapa en su caja (captura 8). */
.recorrido-band {
  margin-top: 0; padding: 56px 0 60px; color: #fff;
  background: linear-gradient(115deg, var(--navy-deep) 0%, var(--blue-deep) 60%, var(--blue) 100%);
}
.recorrido-band .section-head h2 { color: #fff; }
.recorrido-band .section-head .hint { color: var(--sky); }
.recorrido-pasos { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.recorrido-paso {
  padding: 12px 12px 18px; border-radius: var(--radius); background: rgba(255,255,255,.07);
  border: 1px solid rgba(195,223,247,.35);
}
.recorrido-paso .plant-step-img { margin-bottom: 14px; }
.recorrido-paso .hint { color: var(--sky); }
.recorrido-paso h3 { color: #fff; font-size: 18px; margin-top: 6px; }
.recorrido-paso p { color: #fff; margin-top: 8px; font-size: 14px; line-height: 1.55; max-width: none; }
@media (max-width: 900px) { .recorrido-pasos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .recorrido-pasos { grid-template-columns: 1fr; } }

/* Encabezados con visual a la derecha (Blog: planta 3D; Sustentabilidad:
   botella con el triángulo de reciclaje). */
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; align-items: center; }
.page-hero-fig {
  margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(195,223,247,.4);
  box-shadow: 0 24px 50px rgba(0,10,40,.35); background: #F4F9FD;
}
.page-hero-fig img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.escena-hero { margin: 0; position: relative; }
.escena-hero canvas { display: block; width: 100%; aspect-ratio: 5 / 4; max-height: 380px; }
@media (max-width: 900px) {
  .page-hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .page-hero-fig { max-width: 520px; }
  .escena-hero canvas { aspect-ratio: 16 / 10; max-height: 300px; }
}

/* Sustentabilidad: fotos a la misma altura con su cifra como leyenda
   (capturas 30, 31 y 37) y proceso ilustrado (captura 35). */
.sus-card { display: flex; flex-direction: column; }
.sus-fig { margin: 0 0 16px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.sus-fig picture, .sus-fig img { display: block; width: 100%; }
.sus-fig img { height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.sus-fig figcaption.sus-metric { background: var(--pale); padding: 12px 16px; border-top: 1px solid var(--line); }
.sus-card h2 { font-family: Outfit, sans-serif; font-size: 22px; color: var(--navy); letter-spacing: -.02em; }
.ciclo-pasos { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.ciclo-paso {
  display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line);
}
.ciclo-paso b { font-family: Outfit, sans-serif; font-size: 17px; color: var(--navy); }
.ciclo-paso > span:last-child { font-size: 13px; line-height: 1.45; color: var(--ink); }
.ciclo-paso--fin { border-color: var(--pmx-green); box-shadow: inset 0 3px 0 var(--pmx-green); }
.ciclo-nota { margin-top: 14px; font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .ciclo-pasos { grid-template-columns: 1fr 1fr; } .ciclo-paso--fin { grid-column: 1 / -1; } }

/* Blog: más aire entre el encabezado y las categorías (captura 25). */
.blog-lista { padding-top: 64px; }
.blog-chips { margin-bottom: 32px; }

/* Explora por mercado: chips separados, llamativos y con cambio de color al
   pasar o tocar (captura 11). */
.mercado-explora { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.mercado-explora h2 { font-family: Outfit, sans-serif; font-size: 28px; letter-spacing: -.03em; color: var(--pmx-navy); }
.mercado-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.mercado-chip {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px;
  border-radius: 999px; background: var(--white); border: 1.5px solid var(--pmx-blue); color: var(--pmx-navy);
  font-weight: 600; font-size: 15px; box-shadow: 0 6px 16px rgba(20,62,115,.08);
  transition: background-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.mercado-chip svg { width: 18px; height: 18px; transition: transform .18s ease; }
.mercado-chip:hover, .mercado-chip:focus-visible, .mercado-chip:active {
  background: var(--pmx-navy); color: #fff; border-color: var(--pmx-navy);
  box-shadow: 0 12px 26px rgba(0,24,113,.25); transform: translateY(-2px);
}
.mercado-chip:hover svg, .mercado-chip:focus-visible svg { transform: translateX(3px); }
.mercado-chip:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 3px; }
@media (max-width: 560px) { .mercado-chip { width: 100%; justify-content: space-between; } }

/* Botón flotante de WhatsApp (ajuste 16). #04231A sobre #25D366 = 9.6:1. */
.wa-flotante {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 20px 0 16px;
  border-radius: 999px; background: #25D366; color: #04231A; font-weight: 700; font-size: 15px;
  box-shadow: 0 12px 28px rgba(4,35,26,.28); transition: transform .2s ease, box-shadow .2s ease;
}
.wa-flotante svg { width: 26px; height: 26px; }
.wa-flotante:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(4,35,26,.34); }
.wa-flotante:focus-visible { outline: 3px solid var(--pmx-navy); outline-offset: 3px; }
#app:has(.cart-dock) .wa-flotante { bottom: 84px; }
@media (max-width: 560px) {
  .wa-flotante { right: 14px; bottom: 14px; width: 56px; padding: 0; justify-content: center; }
  .wa-flotante span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  #app:has(.cart-dock) .wa-flotante { bottom: 78px; }
}
@media (prefers-reduced-motion: reduce) {
  .proceso-paso, .mercado-chip, .wa-flotante, .proyecto-cta, .fam3d { transition: none; }
}

/* Blog: categorías sin artículos conservan una salida clara. */
.blog-empty { padding: 32px; border: 1px solid var(--line); border-radius: 16px; }
.blog-empty h2 { margin-top: 0; }

/* Respaldo de mercados mientras carga: ver plastimex_seo.py (mercados) y el <head> */
.js-cargando .ssr-lista { display: none; }
.js-cargando .ssr-mercado { margin-top: 100px; }
.ssr-mercado h1 { font-size: 44px; max-width: 22ch; }
.ssr-mercado .crumbs span { color: #fff; font-weight: 600; }
.ssr-lista { padding: 32px 0; }
.ssr-lista ul { margin: 12px 0 16px 18px; }
@media (max-width: 1179px) { .js-cargando .ssr-mercado { margin-top: 162px; } }
@media (max-width: 980px) { .ssr-mercado h1 { font-size: 34px; } }
@media (max-width: 768px) { .js-cargando .ssr-mercado { margin-top: 174px; } }
@media (max-width: 560px) { .js-cargando .ssr-mercado { margin-top: 201px; } }

/* ——— Ficha: cómo viene el empaque (bloque «Paquete» de plastimex.mx, 29-oct) ———
   Misma tarjeta que .sheet, debajo de ella: foto a la izquierda (como el
   escenario), título y datos a la derecha. La foto trae cotas en tinta
   oscura sobre blanco: el recuadro lleva un azul muy claro fijo (--pale,
   Leo 29-oct) y la foto se funde con multiply, así el blanco de la foto toma
   ese tono y la tinta sigue oscura. En móvil:
   título, foto y datos, en ese orden (el del DOM). */
.pdp-empaque {
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  grid-template-areas: "foto head" "foto info";
  margin-top: 20px;
  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);
}
.pdp-empaque > * { min-width: 0; }
.empaque-head { grid-area: head; padding: 26px 28px 0 24px; border-left: 1px solid var(--line); }
.empaque-head h2 {
  font-family: Outfit, sans-serif; font-size: 28px; font-weight: 700; letter-spacing: -.035em;
  line-height: 1.1; color: var(--pmx-navy); margin-top: 10px;
}
.empaque-foto {
  grid-area: foto; margin: 0; padding: 24px; background: var(--pale); color-scheme: light;
  display: flex; align-items: center; justify-content: center;
}
.empaque-foto img { width: 100%; height: auto; max-height: 440px; object-fit: contain; mix-blend-mode: multiply; }
.empaque-info { grid-area: info; padding: 18px 28px 26px 24px; border-left: 1px solid var(--line); }
.empaque-datos {
  border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: var(--white);
}
.empaque-datos div { padding: 11px 14px; border-bottom: 1px solid var(--line); }
.empaque-datos div:last-child { border-bottom: 0; }
.empaque-datos dt {
  font-family: "IBM Plex Mono", monospace; font-size: 10px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.empaque-datos dd {
  font-size: 17px; color: var(--navy); font-weight: 600; margin-top: 3px;
  font-variant-numeric: tabular-nums; overflow-wrap: anywhere;
}
.empaque-nota { font-size: 12px; line-height: 1.45; color: var(--muted); margin-top: 12px; }
@media (max-width: 980px) {
  .pdp-empaque { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "head" "foto" "info"; }
  .empaque-head { padding: 22px 24px 0; border-left: 0; }
  .empaque-foto { padding: 16px 24px; }
  .empaque-foto img { max-height: 380px; }
  .empaque-info { padding: 0 24px 24px; border-left: 0; }
}
@media (max-width: 560px) {
  .empaque-head { padding: 18px 16px 0; }
  .empaque-head h2 { font-size: 24px; }
  .empaque-foto { padding: 12px 16px; }
  .empaque-info { padding: 0 16px 18px; }
}
