/* Fuentes alojadas en local (antes se pedían a Google Fonts: Google recibía la IP de cada visitante).
   Solo alfabetos latin y latin-ext. Poppins 600/700/800 e Inter 400–700 (variable). */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('assets/fonts/inter-latin-ext-variable.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('assets/fonts/inter-latin-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('assets/fonts/poppins-latin-ext-600.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('assets/fonts/poppins-latin-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('assets/fonts/poppins-latin-ext-700.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('assets/fonts/poppins-latin-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap;
  src: url('assets/fonts/poppins-latin-ext-800.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap;
  src: url('assets/fonts/poppins-latin-800.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Tokens ----------
   Paleta cerrada (copyservice-brand): rojo #FF0000, negro #000000, blanco #FFFFFF.
   Rojo oscuro de hover/fondos y grises de apoyo: PROVISIONAL, pendiente de cerrar con
   el cliente (ver skill copyservice-brand) — no se usan fuera de estos tokens.
   Este es un sitio corporativo con identidad fija: no se adapta al modo oscuro del
   visitante (como la mayoría de webs B2B de este tipo), así que los tokens no tienen
   variante dark; los fondos se declaran explícitamente para no heredar el tema del host. */
:root {
  --red: #E60000;           /* rojo único de la web: algo más claro que #CC0000 pero con contraste AA (blanco/rojo ≈4,8:1) */
  --red-dark: #E60000;      /* igual que --red: un solo rojo en toda la web */
  --red-darker: #B30000;    /* PROVISIONAL — solo para :hover */
  --red-tint: #FFF0F0;      /* PROVISIONAL */
  --ink: #000000;
  --white: #FFFFFF;
  --bg: #FFFFFF;
  --bg-alt: #F5F5F5;        /* PROVISIONAL */
  --border: #E5E5E5;        /* PROVISIONAL */
  --text: #333333;          /* PROVISIONAL */
  --text-muted: #666666;    /* PROVISIONAL */
  --text-faint: #6B6B6B;    /* PROVISIONAL — oscurecido desde #8A8A8A: contraste sobre blanco insuficiente (~3.6:1, por debajo del mínimo AA de 4.5:1) */
  --footer-bg: #111111;
  --footer-text: #E8E8E6;
  --footer-muted: #9C9C9A;

  --font-display: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --header-h: 80px;
  --radius: 8px;
  --radius-lg: 12px;
  --container: 1180px;
  --shadow-panel: 0 20px 40px rgba(0,0,0,.16);
}

/* ---------- Reset & base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; }
a { color: var(--red-dark); text-decoration: none; }
a:hover { color: var(--red-darker); }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--red-dark); outline-offset: 2px; border-radius: 3px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff;
  padding: 10px 16px; border-radius: 6px; z-index: 200; transition: top .15s ease;
}
.skip-link:focus { top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 10px; font-weight: 600; font-size: 15px;
  font-family: var(--font-body); cursor: pointer; border: 1.5px solid transparent;
  white-space: nowrap;
}
/* Rojo de marca algo más oscuro (--red-dark) para botones con texto blanco:
   con #FF0000 el contraste blanco/rojo no llega al mínimo AA (4:1); con
   #CC0000 sí (≈5,9:1). El rojo vivo se mantiene para texto sobre negro. */
.btn-primary { background: var(--red-dark); color: #fff; }
.btn-primary:hover { background: var(--red-darker); color: #fff; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
/* Hover/foco: relleno rojo, borde rojo y texto blanco (igual que los botones de descarga), tanto en fondo claro como oscuro.
   Las variantes de fondo oscuro fijan el borde blanco con más especificidad, así que se listan aquí también.
   El :hover va solo en dispositivos con ratón (en táctil el relleno se quedaría pegado tras el toque). */
.btn-secondary:focus-visible,
.cta-banner .btn-secondary:focus-visible,
.post-tile .btn-secondary:focus-visible,
.callout-actions .btn-secondary:focus-visible { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
/* Botones con el borde fijado en línea (bandas negras de las fichas): el borde también pasa a rojo */
.btn-secondary[style*="border-color"]:focus-visible { border-color: var(--red-dark) !important; }
@media (hover: hover) {
  .btn-secondary:hover,
  .cta-banner .btn-secondary:hover,
  .post-tile .btn-secondary:hover,
  .callout-actions .btn-secondary:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
  .btn-secondary[style*="border-color"]:hover { border-color: var(--red-dark) !important; }
}
/* Portada negra: «Ver productos» se rellena de blanco con texto negro; el rojo queda solo para el botón principal */
.hero.hero-dark .btn-secondary:focus-visible { background: #fff; border-color: #fff; color: var(--ink); }
@media (hover: hover) { .hero.hero-dark .btn-secondary:hover { background: #fff; border-color: #fff; color: var(--ink); } }
.btn-sm { padding: 11px 20px; font-size: 14px; }

/* ---------- Header / main nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff; border-bottom: 1px solid var(--border);
  height: var(--header-h);
}
.header-inner {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo svg { display: block; }

.main-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav-item { position: relative; }
.nav-trigger, .nav-link {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 14px; border-radius: 6px;
  font-size: 14.5px; font-weight: 600; color: var(--ink);
  background: none; border: none; cursor: pointer; min-height: 44px;
}
.nav-trigger:hover, .nav-link:hover,
.nav-trigger[aria-expanded="true"] { color: var(--red-dark); background: var(--bg-alt); }
.nav-trigger .chevron { transition: transform .15s ease; flex-shrink: 0; }
.nav-trigger[aria-expanded="true"] .chevron { transform: rotate(180deg); }

.header-cta { flex-shrink: 0; }

.nav-scrim {
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.4); z-index: 90;
}
.nav-scrim[hidden] { display: none; }

/* Menú hamburguesa — solo en móvil (≤640px). En escritorio y tablet el
   nav horizontal de arriba se queda exactamente igual; a partir de aquí se
   sustituye por un icono a la derecha que abre un panel a pantalla
   completa con todos los enlaces + submenús en acordeón + el CTA fijo
   arriba. Reutiliza el mismo mecanismo aria-expanded/hidden que ya usan
   los mega-menús de escritorio. */
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 40px; height: 40px; background: none; border: none; padding: 0;
  cursor: pointer; color: var(--ink); flex-shrink: 0;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-burger { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-menu { display: none; }
.mobile-menu[hidden] { display: none; }

.mega-panel {
  position: absolute; top: calc(100% + 1px);
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-panel); z-index: 95;
}
.mega-panel[hidden] { display: none; }
.mega-panel.mega-full { left: 50%; transform: translateX(-50%); width: min(92vw, 980px); padding: 32px; }
.mega-panel.mega-compact { left: 0; min-width: 300px; padding: 10px; }

.mega-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px 32px; }
.mega-item {
  display: flex; align-items: flex-start; gap: 14px; padding: 12px; border-radius: 8px;
}
.mega-item:hover, .mega-item:focus-visible { background: var(--bg-alt); }
.mega-icon {
  width: 44px; height: 44px; border-radius: 50%; background: var(--red-tint);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.mega-text { display: flex; flex-direction: column; gap: 3px; }
.mega-title { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--ink); }
.mega-desc { font-size: 13px; color: var(--text-muted); line-height: 1.45; }
.mega-badge {
  font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  color: var(--text-faint); background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: 999px; padding: 2px 8px; margin-left: 8px; white-space: nowrap;
}

.brands-row {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border);
}
.brands-label {
  text-transform: uppercase; letter-spacing: .06em; font-size: 11.5px; font-weight: 700;
  color: var(--text-faint); flex-shrink: 0;
}
.brand-chips { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.brand-chip {
  font-size: 12.5px; color: var(--text-muted); background: var(--bg-alt);
  border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px;
}

.simple-menu a {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 8px;
  font-size: 14.5px; font-weight: 600; color: var(--ink); min-height: 44px;
}
.simple-menu a:hover, .simple-menu a:focus-visible { background: var(--bg-alt); color: var(--red-dark); }
.simple-icon {
  width: 32px; height: 32px; border-radius: 50%; background: var(--red-tint);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ---------- Sections & layout ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin: 0 0 40px; display: flex; flex-direction: column; gap: 12px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .08em; font-size: 13px; font-weight: 700;
  color: var(--red-dark);
}
/* --red-dark (#CC0000) da buen contraste sobre fondo claro (el caso normal,
   en casi toda la web), pero sobre negro no llega al mínimo de
   accesibilidad AA. En las franjas de fondo oscuro se usa --red (#FF0000)
   en su lugar, que sí lo cumple — antes esto solo se corregía en "Por qué
   Copy Service" y no en las demás portadas en negro, dando dos rojos
   distintos sin criterio. Unificado a un único color por tipo de fondo. */
.hero-dark .eyebrow, .why-us .section-head .eyebrow { color: var(--red); }
.lede { font-size: 16px; line-height: 1.6; color: var(--text-muted); }

.breadcrumb {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 13px; color: var(--text-muted); margin-bottom: 22px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--red-dark); }
.breadcrumb .sep { color: var(--text-faint); }
.breadcrumb .current { color: var(--ink); font-weight: 600; }

/* ---------- Hero ---------- */
/* Fondo a ancho completo de pantalla (misma técnica que
   .page-hero:has(>.model-hero)), pero con el CONTENIDO (texto + foto)
   contenido en el mismo ancho que el resto del sitio — la fórmula de
   padding es la misma a izquierda y derecha, así que en pantallas anchas
   el texto y la caja de la foto quedan centrados como en un .container
   normal, y solo el fondo negro es el que llega hasta el borde real de la
   pantalla. La foto NO se estira a sangre; sigue siendo una caja fija. */
.hero {
  display: flex; align-items: center; justify-content: space-between; gap: 64px;
  width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  padding: 72px max(32px, calc((100vw - var(--container)) / 2 + 32px)) 40px;
  background: #FAFAFA;
}
.hero-copy { max-width: 560px; display: flex; flex-direction: column; gap: 20px; flex-shrink: 0; }
.hero h1 { font-weight: 800; font-size: 44px; line-height: 1.18; }
.hero-actions { display: flex; align-items: center; gap: 16px; margin-top: 8px; flex-wrap: wrap; }

/* Prueba: portada de la home en negro con textura (mismo tratamiento que
   ya usan las 4 páginas de categoría) — mismo mecanismo: --text/--text-muted
   se redefinen y el h1 necesita su propia regla porque la global usa
   var(--ink) directamente. */
.hero.hero-dark {
  background-color: var(--ink);
  --text: #FFFFFF;
  --text-muted: #C9C9C7;
}
.hero.hero-dark h1 { color: #fff; }
/* .btn-secondary usa var(--ink) fijo para texto/borde (pensado para fondos
   claros) — en negro queda invisible, así que se sobreescribe solo aquí. */
.hero.hero-dark .btn-secondary { color: #fff; border-color: #fff; }
/* 8ª ronda: bajar la opacidad quitaba demasiado rojo (se veía "muy poco").
   Vuelta a reducir el TAMAÑO en vez de la opacidad — a opacidad completa,
   55% de ancho, centrada. El margen que queda alrededor es negro invisible
   (coincide con el fondo), así que sigue leyéndose "de punta a punta" en
   color aunque la cinta en sí ocupe menos espacio. */
.hero.hero-bg-deco { position: relative; }
.hero.hero-bg-deco::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url('assets/hero-bg-3.svg');
  background-size: 100% auto;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  z-index: 0;
}
.hero-copy, .hero-photo { position: relative; z-index: 1; }
/* Foto real de fachada en el hueco donde antes iba el marcador "pendiente":
   caja de tamaño fijo otra vez (rectángulo contenido, no a sangre), mismas
   medidas 520×400 que tenía el marcador original. */
.hero-photo { width: 520px; height: 400px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; display: block; }

/* Portada de Conócenos: mismo componente .hero que la home (misma
   mecánica de layout a sangre + columna de foto), pero en blanco en vez de
   negro — así no compite con la portada de la home ni con las portadas
   negras de las 4 categorías, y tiene identidad propia. Única página que
   usa esta variante, de ahí el nombre explícito .hero-team en vez de
   sobrecargar .hero-dark.
   Portada negra con la cinta de marca (como la home): en versión blanca
   plana resultaba demasiado neutra frente al resto de portadas cerradas. */
.hero.hero-team { background-color: var(--ink); }
/* El marcador de foto (rayado gris claro) deslumbraba sobre el negro: versión oscura. */
.hero-team .hero-photo.media-placeholder {
  background: repeating-linear-gradient(45deg, #151515, #151515 12px, #1D1D1D 12px, #1D1D1D 24px);
  border-color: #3A3A3A;
}
.hero-team .hero-photo .ph-tag { color: #333; }
.hero-team .hero-photo .ph-icon svg { stroke: #666; }
.hero-team-stat { font-size: 15px; color: var(--text); }
.hero-team-stat strong { color: var(--red-dark); }
.hero-photo.media-placeholder { padding: 0; gap: 14px; }

/* Franja de acento (Conócenos): rompe la alternancia blanco/gris de la
   página con un momento de color a sangre — fondo negro de marca (no
   superficie roja grande, según norma), con el mensaje ya usado y
   aprobado en el footer ("no fabricamos, acompañamos") en vez de copy
   nuevo sin validar. El rojo queda solo en la palabra de acento. */
.band-accent {
  width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  background-color: var(--ink);
  padding: 56px max(32px, calc((100vw - var(--container)) / 2 + 32px));
  text-align: center;
}
.band-accent-text {
  font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1.3;
  color: #fff; margin: 0;
}
.band-accent-text strong { color: var(--red); }
@media (max-width: 640px) {
  .band-accent { padding: 40px 32px; }
  .band-accent-text { font-size: 22px; }
}

.page-hero { padding: 44px 0 8px; }
.page-hero h1 { font-weight: 800; font-size: 34px; line-height: 1.2; margin-bottom: 14px; }
.page-hero .lede { max-width: 680px; }

/* "Portada" de ficha de producto: gris claramente visible, A ANCHO COMPLETO
   (borde a borde del navegador) — título+descripción a un lado y vídeo al
   otro, EN UNA SOLA FILA, igual que el hero de la home (antes eran dos
   filas separadas: título arriba a lo ancho, y debajo una segunda fila con
   texto+vídeo — se fusionaron en una).
   Técnica: width:100vw + márgenes negativos (rompe el max-width de
   .container); body tiene overflow-x:hidden como red de seguridad ante el
   scrollbar. .page-hero necesita su propio padding calculado porque ahora
   es el único contenedor (ya no tiene un .container anidado dentro para
   centrar el contenido).
   Detectado vía :has() para no tocar las 77 páginas de producto una a una;
   no afecta a otras páginas (hubs, servicios, contacto...) porque esas no
   contienen un .model-hero. */
.page-hero:has(> .model-hero) {
  background-color: #E8E8E8;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 48px max(32px, calc((100vw - var(--container)) / 2 + 32px));
}
.page-hero:has(> .model-hero) .model-hero { margin-top: 0; }

/* Prueba: portada en negro con texto blanco para las 4 páginas de
   categoría (Label, Producción, Oficina, Gran formato) — el rojo del
   eyebrow ya usaba var(--red-dark) directamente y se queda igual; solo se
   redefinen --text/--text-muted en este alcance, así que el h1 y el
   .lede (que ya usan esas variables) pasan a blanco/gris claro sin tocar
   ninguna otra regla. */
.page-hero.hero-dark {
  background-color: var(--ink);
  --text: #FFFFFF;
  --text-muted: #C9C9C7;
}
.page-hero.hero-dark h1 { color: #fff; }

/* Prueba: fondo con imagen en vez de negro plano — solo en Label por ahora. */
.page-hero.hero-bg-fondo1 {
  background-image: url('assets/fondo-1.jpg');
  background-size: cover;
  background-position: center;
}

/* Texto que antes vivía dentro del hero (párrafo descriptivo largo +
   aviso de "distribuidor, no fabricante") y ahora va debajo, en su propia
   franja blanca, ya que el hero se quedó solo con título+lede+vídeo. */
.model-intro { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }

/* Breadcrumb (Inicio/.../...) quitado en todo el sitio, a petición. */
.breadcrumb { display: none; }

.placeholder-block {
  border-radius: var(--radius);
  background: repeating-linear-gradient(45deg, #ECECEC, #ECECEC 12px, #E3E3E3 12px, #E3E3E3 24px);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* Bloque de imagen del hero de categoría (Label, Producción, Oficina, Gran
   formato): antes tenía height:520px fijo inline, que en móvil no escalaba
   con el ancho y dejaba un bloque desproporcionadamente alto. Con
   aspect-ratio escala con el ancho; a partir de 901px se fija a 520px de
   alto para mantener el tamaño exacto que ya tenía en escritorio. */
.hero-media-placeholder { width: 100%; aspect-ratio: 1/1; overflow: hidden; border-radius: 10px; }
@media (min-width: 901px) {
  .hero-media-placeholder { aspect-ratio: auto; height: 460px; }
}
/* Foto real dentro del hero de categoría — misma caja que el marcador
   "pendiente", recortada con object-fit:cover cuando la imagen de origen
   tiene una proporción muy distinta a la caja (p. ej. una foto panorámica). */
.hero-media-placeholder img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* La imagen MGA FX/BX Series es un recorte de fondo transparente muy ancho
   (la línea completa) — con cover en una caja casi cuadrada se cortaban los
   extremos de la máquina. Con contain se ve completa; como la caja no tiene
   fondo propio, el negro de la portada se funde alrededor sin verse un
   recuadro. */
.hero-media-placeholder.is-contain img { object-fit: contain; }
.placeholder-tag {
  background: #fff; border: 1px solid #DDD; padding: 8px 16px; border-radius: 6px;
  font-size: 13px; color: var(--text-muted); font-weight: 500; text-align: center;
}

/* ---------- Brands strip (home, carrusel estilo "logos de cliente") ---------- */
/* La línea superior NO va a sangre (a diferencia del fondo): es un
   pseudo-elemento centrado del ancho del container, para que separe
   visualmente de la portada sin cruzar toda la pantalla. La línea inferior
   sí sigue a sangre, como el resto de divisores de sección del sitio. */
.brands-strip { position: relative; padding: 28px 0 44px; border-bottom: 1px solid var(--border); }
.brands-strip::before {
  content: "";
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: var(--container); max-width: calc(100% - 64px);
  border-top: 1px solid var(--border);
}
.brands-strip-label {
  text-align: center; text-transform: uppercase; letter-spacing: .08em; font-size: 12px;
  font-weight: 700; color: var(--text-faint); margin: 0 0 24px;
}
/* Prueba: franja de marcas en negro justo debajo de la portada (también
   negra), con los logos en su versión blanca — visualmente "alarga" la
   portada sin fusionar el código de las dos secciones. */
.brands-strip.brands-strip-dark {
  background: var(--ink);
  border-bottom-color: rgba(255,255,255,.12);
}
.brands-strip.brands-strip-dark::before { border-top-color: rgba(255,255,255,.12); }
.brands-strip.brands-strip-dark .brands-strip-label { color: #C9C9C7; }
.marquee { overflow: hidden; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent); mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 24px; width: max-content; animation: brands-scroll 26s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
/* Logos sueltos, sin caja — un recuadro con fondo y borde por logo no
   aportaba nada (no hay acción que agrupar) y sumaba una capa de contraste
   extra sobre el propio color de marca de cada logo. Se mantiene el mismo
   ancho/alto mínimo de antes (para que cada logo tenga su propio espacio
   fijo y no queden pegados unos a otros), solo sin fondo ni borde. */
.brand-chip-lg {
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  min-width: 220px; height: 92px; padding: 0 30px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--text-muted);
}
.brand-chip-lg img { max-height: 48px; max-width: 176px; width: auto; height: auto; object-fit: contain; transition: opacity .15s ease; }
/* El logo de MGA es un sello circular que a la misma altura máxima que los
   demás (logotipos de texto, más "planos") se ve visualmente más pequeño;
   se le da algo más de alto para que pese lo mismo que el resto. */
.brand-chip-lg img[src*="logo-mga"] { max-height: 62px; }
a.brand-chip-lg:hover img { opacity: .7; }
@keyframes brands-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; overflow-x: auto; }
}

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.icon-circle {
  width: 52px; height: 52px; border-radius: 50%; background: var(--red-tint);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.card h3 { font-size: 19px; font-weight: 700; }
.card p { font-size: 14px; line-height: 1.6; color: var(--text-muted); }
.card .card-link { font-weight: 600; font-size: 14px; margin-top: auto; }
.card .note-pending { font-size: 12px; color: var(--text-faint); font-style: italic; }
.card-badge {
  align-self: flex-start; font-size: 10.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; color: var(--text-faint); background: var(--bg-alt);
  border: 1px solid var(--border); border-radius: 999px; padding: 3px 9px;
}

/* Placeholder del logo de fabricante en las tarjetas de catálogo — sustituye
   al icono genérico rojo. Mismo lenguaje visual que .media-placeholder
   (rayas grises diagonales) hasta que tengamos los logos reales de cada
   marca (MGA, Konica Minolta, Lemorau, DPR...). */
.logo-placeholder {
  min-width: 80px; width: fit-content; height: 40px; border-radius: 6px; flex-shrink: 0;
  padding: 0 10px;
  background: repeating-linear-gradient(45deg, #ECECEC, #ECECEC 8px, #E3E3E3 8px, #E3E3E3 16px);
  border: 1px dashed #C9C9C7;
  display: flex; align-items: center; justify-content: center;
}
.logo-placeholder span {
  font-size: 11px; font-weight: 700; letter-spacing: .01em; color: var(--text-muted);
  background: #fff; border: 1px solid var(--border); border-radius: 4px; padding: 3px 9px;
  white-space: nowrap;
}

/* Logo real de fabricante en tarjetas de catálogo, sustituye a .logo-placeholder
   cuando ya tenemos el archivo de la marca. */
.logo-badge { height: 44px; display: flex; align-items: center; justify-content: flex-start; }
.logo-badge img { height: 100%; width: auto; max-width: 170px; object-fit: contain; }

/* Dentro de una tarjeta, el logo se separa del título/texto con un borde
   inferior — para que no se lea como un único bloque apretado junto al texto. */
.card .logo-badge { width: 100%; height: 54px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }

/* ---------- Spec blocks (solution pages) ---------- */
.spec-list { display: flex; flex-direction: column; gap: 24px; }
.spec-block {
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 32px;
  display: flex; flex-direction: column; gap: 10px; background: #fff;
}
.spec-block h3 { font-size: 18px; font-weight: 700; }
.spec-block p { font-size: 14.5px; line-height: 1.65; color: var(--text); }
.spec-note { font-size: 12.5px; color: var(--text-faint); }

.audience-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px 28px; }
.audience-item { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--text); }
.audience-item svg { flex-shrink: 0; margin-top: 3px; }

/* "A quién va dirigido" como 4 tarjetas en línea en vez de una lista de
   2 columnas — con frases de longitud desigual, la lista de 2 columnas
   quedaba irregular (una línea, dos, dos, tres...); cada tarjeta se ajusta
   a su propio contenido, sin intentar alinear líneas entre sí. */
.audience-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.audience-card {
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  padding: 20px 18px; display: flex; flex-direction: column; gap: 12px;
}
.audience-card .icon-circle { width: 38px; height: 38px; }
.audience-card .icon-circle svg { width: 16px; height: 16px; }
.audience-card span { font-size: 13.5px; line-height: 1.45; color: var(--text); font-weight: 500; }
@media (max-width: 860px) {
  .audience-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 520px) {
  .audience-grid { grid-template-columns: 1fr; }
}

.callout {
  background: var(--ink); color: #fff; border-radius: var(--radius-lg);
  padding: 40px 44px; display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.callout h3 { color: #fff; font-size: 22px; margin-bottom: 6px; }
.callout p { color: #C9C9C7; font-size: 14.5px; max-width: 480px; }

/* Variante clara del banner: fondo blanco con borde, texto oscuro, botón
   rojo por defecto (sin necesitar overrides inline) — mismo tamaño/forma
   que .callout, para los banners "¿No sabes por dónde empezar?" de los
   hubs de categoría. */
.callout-light { background: #fff; border: 1px solid var(--border); }
.callout-light h3 { color: var(--ink); }
.callout-light p { color: var(--text-muted); }

/* ---------- Steps (Conócenos) ---------- */
/* Antes eran 3 tarjetas sueltas sin relación visual entre sí; ahora el
   icono de cada paso se apoya en una línea que atraviesa las tres
   columnas (a la altura del centro de los círculos), para que se lea como
   un proceso secuencial 1→2→3 y no como 3 bloques independientes. Solo en
   el grid de 3 columnas (desktop); en 2 o 1 columna no tendría sentido
   geométrico, así que se oculta. */
.step-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; counter-reset: step; position: relative; }
.step-list::before {
  content: "";
  position: absolute; top: 26px; left: calc(50% - 50vw); right: calc(50% - 50vw); /* de borde a borde de la página; los círculos blancos la tapan donde se apoyan */
  height: 2px; background: var(--border); z-index: 0;
}
.step { display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 1; }
.step .icon-circle { background: #fff; border: 2px solid var(--border); }
.step .icon-circle svg { stroke: var(--red-dark); }
.step-number {
  position: absolute; top: -6px; left: 36px;
  width: 22px; height: 22px; border-radius: 50%; background: var(--red-dark); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display);
  font-weight: 700; font-size: 11px; border: 2px solid #fff;
}
.step h3 { font-size: 17px; font-weight: 700; margin-top: 6px; }
.step p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
@media (max-width: 1100px) {
  .step-list::before { display: none; }
}

/* ---------- Team / avatars ---------- */
/* 20 tarjetas "pendiente" idénticas en un único grid se ven como un muro
   repetitivo (comprobado: ni Polpoo mete su equipo real en fila de fotos).
   Se agrupa por departamento (información real y no inventada — es la
   estructura de cualquier distribuidor técnico) para romper el bloque en
   4 tramos con aire entre ellos, y Dirección lleva su propia fila más
   grande para dar jerarquía sin necesitar nombres reales todavía. */
.team-department { margin-bottom: 44px; }
.team-department:last-child { margin-bottom: 0; }
.team-department-title {
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  text-transform: uppercase; letter-spacing: .06em; color: var(--text-faint);
  margin: 0 0 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; }
.team-grid-lead { grid-template-columns: repeat(2, 168px); gap: 32px; }
.team-card { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.avatar-placeholder {
  width: 108px; height: 108px; border-radius: 50%; background: #fff;
  border: 1px dashed #C9C9C7; display: flex; align-items: center; justify-content: center;
}
.team-card-lg .avatar-placeholder { width: 140px; height: 140px; }
.team-card-lg .name { font-size: 16px; }
.team-card .name { font-weight: 700; font-size: 14.5px; color: var(--ink); }
.team-card .role { font-size: 12.5px; color: var(--text-faint); }
/* Nota de honestidad insertada entre tramos, no dentro del grid — rompe el
   patrón sin necesitar hacks de grid-column-span. */
.team-note {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 20px; margin: -12px 0 44px; max-width: 640px;
  background: #fff; border-radius: var(--radius);
  font-size: 13.5px; color: var(--text-muted); font-style: italic;
}

/* ---------- Videoteca de clientes (Conócenos) ---------- */
/* Patrón de tarjeta de vídeo (miniatura + ficha) — reutiliza
   .media-placeholder.is-video tal cual para la miniatura, así que no hay
   lenguaje visual nuevo que aprender, solo un contexto nuevo. Grid a 2
   columnas: con pocos casos reales al principio es el tamaño que mejor
   encaja (3 columnas dejaría muros de tarjetas vacías). */
.video-case-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; }
.video-case-card { display: flex; flex-direction: column; gap: 16px; }
.video-case-card.is-wide { grid-column: 1 / -1; }
.video-case-thumb { width: 100%; }
.video-case-body { display: flex; flex-direction: column; gap: 8px; }
.case-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--red-dark); }
.video-case-body h3 { font-size: 18px; font-weight: 700; }
.video-case-body p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
/* El único caso real pesaba igual que las 2 cajas vacías — se destaca con
   borde/degradado de marca (mismo tratamiento que ya usa .case-card.is-real
   en otras partes del sitio) y los pendientes bajan a una lista compacta
   "próximamente" en vez de cajas del mismo tamaño. */
.video-case-card.is-real {
  border: 1px solid var(--red-tint); border-radius: var(--radius-lg);
  padding: 20px; background: linear-gradient(180deg, #FFFBFB, #fff);
}
.video-case-upcoming { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.video-case-upcoming-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border: 1px dashed #C9C9C7; border-radius: var(--radius);
  background: #fff;
}
.video-case-upcoming-item .ph-icon-sm {
  width: 36px; height: 36px; border-radius: 50%; background: var(--bg-alt);
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.video-case-upcoming-item .ph-icon-sm svg { stroke: var(--text-faint); }
.video-case-upcoming-item p { margin: 0; font-size: 13.5px; color: var(--text-faint); font-style: italic; }

/* ---------- Forms (Contacto) ---------- */
.contact-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 20px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 13px; font-weight: 600; color: var(--ink); }
.form-field .hint { font-size: 12px; color: var(--text-faint); font-weight: 400; }
.form-field input, .form-field select, .form-field textarea {
  font: inherit; font-size: 14.5px; padding: 12px 14px; border: 1px solid var(--border);
  border-radius: 6px; background: #fff; color: var(--text); width: 100%;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 12.5px; color: var(--text-faint); }
.form-success {
  display: flex; align-items: center; gap: 12px; background: var(--red-tint);
  border: 1px solid #F6C9C9; border-radius: 8px; padding: 14px 16px; font-size: 14px; color: #7a1a1a;
}
.form-success[hidden] { display: none; }

.contact-info { display: flex; flex-direction: column; gap: 22px; }
.info-block { display: flex; gap: 14px; align-items: flex-start; }
.info-block .icon-circle { width: 44px; height: 44px; }
.info-block h4 { font-size: 14.5px; font-weight: 700; margin-bottom: 2px; }
.info-block p, .info-block a { font-size: 14px; color: var(--text-muted); }
.map-placeholder { height: 200px; border-radius: var(--radius-lg); }

/* ---------- Contacto: portada oscura con formulario en tarjeta ---------- */
/* Todo va con prefijo .contact-hero / .route-* para no tocar
   .contact-form/.form-field base, que también usa servicios-alquiler-eventos.
   Estructura inspirada en la página de demo de Polpoo (argumentos a la
   izquierda, tarjeta blanca de formulario a la derecha sobre fondo oscuro),
   pero sin nada de "demo": es un contacto general. */
.contact-hero {
  position: relative; overflow: hidden;
  width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  background-color: var(--ink);
  padding: 64px max(32px, calc((100vw - var(--container)) / 2 + 32px)) 80px;
}
.contact-hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
  grid-template-areas: "left card";
  column-gap: 56px; align-items: center;
}
.contact-hero-left { grid-area: left; display: flex; flex-direction: column; gap: 40px; }
.contact-hero-head { display: flex; flex-direction: column; gap: 20px; }
.contact-hero .eyebrow { color: var(--red); }
.contact-hero h1 { color: #fff; font-weight: 800; font-size: 44px; line-height: 1.15; }
.contact-hero h1 em { font-style: normal; color: var(--red); }
.contact-hero .lede { color: #C9C9C7; max-width: 520px; }
.contact-direct { display: flex; flex-direction: column; gap: 8px; }
.contact-direct-item { display: flex; align-items: center; gap: 18px; padding: 12px 0; }
.contact-direct-item .icon-circle { background: rgba(255,0,0,.16); width: 52px; height: 52px; }
.contact-direct-item h3 { color: #9C9C9A; font-family: var(--font-body); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 4px; }
.contact-direct-item .contact-direct-value { display: block; font-family: var(--font-display); font-weight: 700; font-size: 21px; line-height: 1.3; color: #fff; }
.contact-direct-item a.contact-direct-value:hover { color: var(--red); }
.contact-direct-item .contact-direct-note { font-size: 13.5px; color: #B2B2B0; margin-top: 2px; }

.contact-hero .contact-form {
  grid-area: card; gap: 22px; padding: 34px; border: 0;
  box-shadow: var(--shadow-panel);
}
.contact-form-title { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--ink); margin: 0 0 2px; }
.contact-form-sub { font-size: 14px; color: var(--text-muted); line-height: 1.55; margin: 0; }
.form-required-note { display: block; margin-top: 4px; font-size: 12.5px; color: var(--text-faint); }
.form-required-note b, .form-field .req, .form-check .req { color: var(--red-dark); }
.form-error {
  display: flex; align-items: center; gap: 12px; background: var(--red-tint);
  border: 1px solid #F6C9C9; border-left: 4px solid var(--red-dark); border-radius: 8px;
  padding: 14px 16px; font-size: 14px; color: #7a1a1a;
}
.form-error[hidden] { display: none; }
.contact-form .is-invalid input, .contact-form .is-invalid select, .contact-form .is-invalid textarea {
  border-color: var(--red-dark); background: #FFF8F8;
}
.contact-form .form-check.is-invalid { color: var(--red-dark); }
.contact-form fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.contact-form legend {
  padding: 0; margin-bottom: 14px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text-faint); display: flex; align-items: center; gap: 8px;
}
.contact-form legend span {
  width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 11px; letter-spacing: 0;
}
.contact-hero .form-field input, .contact-hero .form-field select, .contact-hero .form-field textarea {
  min-height: 48px; background: #FAFAFA; border-radius: 8px; transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-hero .form-field textarea { min-height: 120px; }
.contact-hero .form-field input:hover, .contact-hero .form-field select:hover, .contact-hero .form-field textarea:hover { border-color: #BDBDBD; }
.contact-hero .form-field input:focus, .contact-hero .form-field select:focus, .contact-hero .form-field textarea:focus {
  outline: none; border-color: var(--red-dark); background: #fff; box-shadow: 0 0 0 3px rgba(230,0,0,.18);
}
.form-field .opt { font-weight: 400; color: var(--text-faint); }
.form-check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.form-check input { margin-top: 3px; accent-color: var(--red-dark); flex-shrink: 0; }
.form-check a { text-decoration: underline; }
.btn-block { width: 100%; justify-content: center; min-height: 52px; font-size: 15.5px; gap: 10px; }
.contact-hero .form-note { text-align: center; }

/* "¿Sobre qué es tu consulta?" — enrutado a páginas existentes */
.route-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.route-card {
  display: flex; flex-direction: column; gap: 8px; padding: 24px; border: 1px solid var(--border);
  border-radius: var(--radius-lg); background: #fff; color: inherit; transition: border-color .15s ease, transform .15s ease;
}
.route-card:hover { border-color: var(--red-dark); transform: translateY(-2px); color: inherit; }
.route-card h3 { font-size: 18px; font-weight: 700; }
.route-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.55; }
.route-card .route-arrow { margin-top: auto; padding-top: 6px; font-size: 14.5px; font-weight: 600; color: var(--red-dark); transition: transform .15s ease; }
.route-card:hover .route-arrow { transform: translateX(4px); }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
.section-head-center h2 { font-size: 34px; line-height: 1.2; }
.section-head-center h2 em { font-style: normal; color: var(--red-dark); }
.map-section { padding-top: 0; }
.map-embed { position: relative; height: 420px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.map-overlay {
  position: absolute; left: 32px; top: 50%; transform: translateY(-50%); width: 320px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 26px;
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-panel);
}
.map-overlay .icon-circle { margin-bottom: 4px; }
.map-overlay h2 { font-size: 20px; font-weight: 700; margin: 0; }
.map-overlay p { font-size: 14.5px; color: var(--text-muted); line-height: 1.5; margin: 0; }
.map-overlay .map-overlay-note { font-size: 13px; color: var(--text-faint); }
.map-overlay .btn { margin-top: 12px; }
@media (max-width: 760px) {
  .map-embed { height: auto; }
  .map-embed a img { height: 240px; }
  .map-overlay { position: static; transform: none; width: auto; box-shadow: none; border-top: 1px solid var(--border); border-radius: 0; }
}
.map-embed a { display: block; height: 100%; }
.map-embed img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; display: block; max-width: none; }
@media (max-width: 1100px) {
  .route-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .contact-hero { padding: 48px 24px 56px; }
  .contact-hero-grid { grid-template-columns: 1fr; grid-template-areas: "left" "card"; row-gap: 28px; }
  .contact-hero h1 { font-size: 32px; }
  .contact-hero .contact-form { padding: 24px; }
}
@media (max-width: 640px) {
  .route-grid { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: var(--footer-text); }
.site-footer .logo { background: #FFFFFF; padding: 8px 12px; border-radius: 8px; display: inline-flex; }
.footer-top { padding-block: 56px 40px; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { font-size: 13.5px; color: var(--footer-muted); line-height: 1.6; margin-top: 14px; max-width: 260px; }
.footer-col h5 {
  color: #fff; font-family: var(--font-display); font-size: 13px; text-transform: uppercase;
  letter-spacing: .05em; margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--footer-muted); font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #2A2A2A; padding-block: 20px; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--footer-muted);
}
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal a { color: var(--footer-muted); }
.footer-legal a:hover { color: #fff; }

/* Franja de logos de subvención/financiación (fondos EU, Kit Digital...) —
   fondo blanco propio porque los logotipos llevan texto en negro y no se
   leerían sobre el negro del footer. Va debajo del todo, tras el footer. */
.footer-grants {
  background: #fff; padding: 22px 0; border-top: 1px solid var(--border);
}
.footer-grants-inner {
  max-width: 1600px; margin: 0 auto; padding: 0 40px; box-sizing: border-box;
}
/* Archivo único del cliente con los dos bloques (autoconsumo + Kit Digital)
   ya maquetados juntos y a la misma escala interna — sustituye a los dos
   SVG sueltos que se repartían el ancho con flexbox. */
.footer-grants img { display: block; width: 100%; height: auto; }
@media (max-width: 700px) {
  /* La imagen combinada trae los dos bloques en una sola tira muy ancha
     (~16:1); a 100% de un móvil se queda demasiado pequeña para leerse.
     En vez de encogerla, se deja a un ancho legible y se desplaza en
     horizontal (mismo patrón que .quick-band). */
  .footer-grants-inner { overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 0 24px; }
  .footer-grants img { width: auto; min-width: 720px; height: auto; }
}

/* ---------- Responsive safety net (desktop-first; light guard for narrower widths) ---------- */
@media (max-width: 1100px) {
  .site-header { position: static; }
  .header-inner { flex-wrap: wrap; height: auto; padding-block: 14px; gap: 12px; }
  .main-nav { order: 3; width: 100%; justify-content: flex-start; }
  .mega-panel.mega-full { position: fixed; left: 12px; right: 12px; top: 170px; transform: none; width: auto; max-height: calc(100vh - 190px); overflow-y: auto; }
  .mega-panel.mega-compact { position: fixed; left: 12px; right: 12px; top: 170px; min-width: 0; max-height: calc(100vh - 190px); overflow-y: auto; }
  .mega-grid { grid-template-columns: 1fr; }
  .nav-scrim { top: 170px; }
  .card-grid, .step-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .team-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .team-grid-lead { grid-template-columns: repeat(2, minmax(0,140px)); }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero { flex-direction: column; align-items: stretch; gap: 32px; padding: 48px 32px 32px; }
  .hero-copy { max-width: none; }
  .hero-photo { flex: none; width: 100%; height: auto; aspect-ratio: 4/3; border-radius: 10px; }
  /* En móvil la portada se apila en vertical (texto arriba, foto abajo),
     así que la cinta decorativa panorámica pensada para escritorio no
     encaja — se sustituye por una versión propia del cliente, recortada en
     formato retrato, con una cinta arriba (detrás del título) y otra abajo
     (detrás de la caja de foto/botones). SOLO para móvil: en el resto de
     anchos se sigue usando hero-bg-3.svg (regla base, sin tocar). */
  .hero.hero-bg-deco::before {
    background-image: url('assets/hero-bg-mobile.svg');
    background-size: 100% 100%;
    background-position: center;
  }
  .card-grid, .audience-list, .step-list { grid-template-columns: 1fr; }
  .team-grid, .team-grid-lead { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .video-case-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}

/* Menú hamburguesa — va DESPUÉS de los bloques @media de arriba a propósito:
   el de max-width:1100px pone .site-header en position:static y hace wrap
   del header-inner, y aquí necesitamos pisar justo esos dos valores (volver
   a position:sticky y quitar el wrap) para que el header quede fijo arriba
   y sirva de referencia al abrir el panel a pantalla completa — por eso
   este bloque tiene que ganar en el cascade viniendo más abajo. */
@media (max-width: 1100px) {
  .site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); }
  .header-inner { flex-wrap: nowrap; height: 100%; padding-block: 0; }
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .mobile-menu:not([hidden]) {
    position: fixed; inset: 0; z-index: 96; background: #fff;
    display: flex; flex-direction: column;
    padding: calc(var(--header-h) + 16px) 24px 32px; overflow-y: auto;
    transform: translateX(100%);
    transition: transform .3s ease;
  }
  .mobile-menu.is-open { transform: translateX(0); }
  .mobile-menu-cta { display: flex; justify-content: center; width: 100%; margin-top: 20px; }
  .mobile-menu-links { display: flex; flex-direction: column; }
  .mobile-menu-link {
    padding: 16px 4px; border-bottom: 1px solid var(--border);
    font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--ink);
  }
  .mobile-accordion { border-bottom: 1px solid var(--border); }
  .mobile-accordion-trigger {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: 16px 4px; background: none; border: none;
    font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--ink); cursor: pointer;
  }
  .mobile-accordion-trigger .chevron { transition: transform .15s ease; }
  .mobile-accordion-trigger[aria-expanded="true"] .chevron { transform: rotate(180deg); }
  .mobile-accordion-panel { display: flex; flex-direction: column; padding: 0 4px 14px 16px; gap: 2px; }
  .mobile-accordion-panel[hidden] { display: none; }
  .mobile-accordion-panel a { padding: 10px 0; font-size: 14px; color: var(--text-muted); }
  .mobile-accordion-panel a:hover { color: var(--red-dark); }
  body.menu-open { overflow: hidden; }
}

/* ---------- Ficha de producto: hero con vídeo + bloques alternos ----------
   PILOTO (label-230.html, gf-hp-designjet-t2600.html): estructura inspirada en
   el patrón visual de polpoo.com (bloques alternos texto+recuadro con
   checklist), adaptado a la paleta de Copy Service. El icono de check usa
   --red-dark como acento puntual (nunca el rojo puro en superficie).
   El vídeo y las fotos de producto son, de momento, marcadores vacíos —
   reutilizan el mismo lenguaje visual que .placeholder-block/.placeholder-tag
   (ya usado en index.html) en vez de imágenes reales, a la espera de
   contenido definitivo del cliente. Si esto se aprueba, se generaliza a las
   ~86 fichas restantes. */

.model-hero {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
  margin-top: 28px;
}
.model-hero-copy { display: flex; flex-direction: column; gap: 16px; }
.model-hero-copy p { font-size: 15.5px; line-height: 1.7; color: var(--text); }

.media-placeholder {
  border-radius: var(--radius-lg);
  background: repeating-linear-gradient(45deg, #ECECEC, #ECECEC 12px, #E3E3E3 12px, #E3E3E3 24px);
  border: 1px dashed #C9C9C7;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 24px; text-align: center;
}
.media-placeholder.is-video { aspect-ratio: 16/10; }
.media-placeholder.is-photo { aspect-ratio: 4/3; }
.media-placeholder .ph-icon {
  width: 52px; height: 52px; border-radius: 50%; background: #fff;
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.media-placeholder .ph-icon svg { stroke: var(--text-faint); }
.media-placeholder .ph-tag { background: #fff; border: 1px solid #DDD; padding: 8px 16px; border-radius: 6px; font-size: 13px; color: var(--text-muted); font-weight: 500; }
.media-placeholder .ph-sub { font-size: 12px; color: var(--text-faint); font-style: italic; }

/* Vídeo real embebido en el hero — mismas proporciones y radio que
   .media-placeholder.is-video, sustituyéndolo cuando ya hay vídeo real. */
.video-embed {
  position: relative; width: 100%; aspect-ratio: 16/10;
  border-radius: var(--radius-lg); overflow: hidden; background: #000;
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Bug real encontrado: la sección "Ficha técnica completa" usa en cada
   ficha un max-width inline distinto (640/680/720/760/780/820px, según qué
   bloque la construyó) en vez del ancho del container normal (1180px).
   Como .container se centra con margin:auto, cada valor distinto produce
   un desplazamiento de margen distinto — eso es lo que se veía como
   "el texto de abajo está mucho más a la derecha". Se fuerza aquí el mismo
   ancho que el resto de la página en las 76 fichas afectadas, sin tocarlas
   una a una (el selector solo coincide con esta sección, comprobado). */
section[style*="padding-top:0"] > .container {
  max-width: var(--container) !important;
}

/* Foto real dentro de .feature-row — mismas proporciones que
   .media-placeholder.is-photo, pero con la imagen real en vez del marcador
   "pendiente". object-fit:cover para fotos ambientadas (instalación, detalle);
   .is-contain para una imagen recortada de fondo transparente, donde
   recortar los lados cortaría la máquina en vez de mostrarla completa. */
.feature-photo {
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-alt);
}
.feature-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-photo.is-contain img { object-fit: contain; }
/* Variante para las 4 fotos de categoría de la home: las 4 imágenes reales
   tienen proporciones de origen distintas (16:9, 16:9, 3:2, 9:5) — en vez de
   recortarlas o deformarlas para que "encajen", se usa la misma caja 16:10
   para las 4 con object-fit:contain, así ninguna se recorta ni se estira y
   el tamaño de caja es idéntico en las 4. */
.feature-photo.is-wide { aspect-ratio: 16/10; }

.feature-rows { display: flex; flex-direction: column; gap: 56px; margin-top: 8px; }
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center;
}
/* Home ("Nuestras categorías") únicamente — .feature-row/.feature-rows se
   reutilizan tal cual en las 77 fichas de producto, así que NO se tocan
   directamente (por eso el ajuste de espaciado va en esta clase adicional,
   solo presente en index.html, y no en las fichas). Se probaron paneles
   grises detrás de cada fila y no convenció ("me gusta cómo estaba antes,
   solo con más separación") — se queda solo el espaciado extra, sin fondo
   ni caja. */
.home-feature-rows { gap: 104px; }
/* Zigzag imagen/texto alternado — confirmado, es el patrón deseado.
   Por defecto (sin is-reverse): foto izquierda, texto derecha. */
.feature-row.is-reverse .feature-media { order: 2; }
.feature-row.is-reverse .feature-copy { order: 1; }

.feature-copy { display: flex; flex-direction: column; gap: 14px; }
.feature-copy .feature-eyebrow {
  text-transform: uppercase; letter-spacing: .07em; font-size: 12px; font-weight: 700;
  color: var(--red-dark);
}
.feature-copy h3 { font-size: 23px; font-weight: 700; line-height: 1.25; }
.feature-copy .feature-intro { font-size: 15px; line-height: 1.65; color: var(--text); }

.feature-checklist { display: flex; flex-direction: column; gap: 11px; margin-top: 4px; }
.feature-checklist li {
  display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; line-height: 1.55;
  color: var(--text); list-style: none;
}
.feature-checklist .check-icon {
  width: 20px; height: 20px; border-radius: 50%; background: var(--red-tint);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px;
}
.feature-checklist .check-icon svg { stroke: var(--red-dark); }
.feature-copy .btn { margin-top: 6px; align-self: flex-start; }

/* ---------- Home: "Por qué Copy Service" (bloque de color, prueba) ---------- */
/* Franja a todo ancho en negro de marca en vez de rojo — el rojo es solo
   acento (nunca superficie grande) según la norma de marca; el negro logra
   el mismo "corte" visual bold que un bloque de color saturado sin romper
   esa norma, con el rojo reservado a los iconos. */
.why-us { background: var(--ink); }
.why-us .section-head { text-align: center; max-width: 620px; margin-left: auto; margin-right: auto; }
.why-us .section-head h2 { color: #fff; }
.why-us .section-head .lede { color: #C9C9C7; }
.why-us-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; }
.why-us-card {
  background: #161616; border: 1px solid #2B2B2B; border-radius: var(--radius-lg);
  padding: 32px 28px;
}
.why-us-card .icon-circle { background: rgba(255,0,0,.16); }
.why-us-card .icon-circle svg { stroke: var(--red); }
.why-us-card h3 { color: #fff; font-size: 18px; font-weight: 700; margin: 18px 0 8px; }
.why-us-card p { color: #B2B2B0; font-size: 14.5px; line-height: 1.6; }

/* Prueba (2ª ronda): "Por qué Copy Service" pasa de 3 tarjetas con caja a
   una cinta horizontal sin cajas — icono y texto flotan directamente sobre
   el negro, separados por líneas verticales finas. Se lee izquierda→derecha,
   al contrario que el índice vertical de "¿Qué necesitas imprimir?" (ver
   .index-list más abajo), para que las dos secciones consecutivas no
   compartan ni estructura ni eje de lectura. .why-us-grid/.why-us-card de
   arriba se dejan intactas por si se quiere volver atrás. */
.why-us-ribbon { display: flex; }
.ribbon-item { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 0 32px; }
.ribbon-item:first-child { padding-left: 0; }
.ribbon-item:last-child { padding-right: 0; }
.ribbon-item + .ribbon-item { border-left: 1px solid rgba(255,255,255,.14); }
.ribbon-item .icon-circle { background: rgba(255,0,0,.16); }
.ribbon-item .icon-circle svg { stroke: var(--red); }
.ribbon-item h3 { color: #fff; font-size: 16.5px; font-weight: 700; }
.ribbon-item p { color: #B2B2B0; font-size: 13.5px; line-height: 1.6; }

/* ---------- Home: testimonios (contenido de ejemplo, pendiente de citas reales) ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.testimonial-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; display: flex; flex-direction: column; gap: 18px;
}
.testimonial-quote { font-size: 14.5px; line-height: 1.65; color: var(--text); }
.testimonial-quote::before { content: "\201C"; }
.testimonial-quote::after { content: "\201D"; }
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial-avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--bg-alt); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; color: var(--text-muted); font-size: 14.5px;
}
.testimonial-author strong { display: block; font-size: 14px; color: var(--ink); }
.testimonial-author span { font-size: 12.5px; color: var(--text-faint); }

/* Prueba: layout asimétrico (1 cita grande + 2 pequeñas) en vez de 3
   tarjetas iguales — rompe la repetición con "¿Qué necesitas imprimir?" y
   "Por qué elegirnos", que también van en fila de 3 cajas. Reutiliza
   .testimonial-quote/.testimonial-author/.testimonial-avatar (solo cambia
   tamaño vía descendiente); .testimonial-grid/.testimonial-card de arriba
   se dejan sin tocar por si se quiere volver atrás. */
.testimonial-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.testimonial-featured {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 40px; display: flex; flex-direction: column; gap: 24px;
}
.testimonial-featured .testimonial-quote { font-size: 21px; line-height: 1.55; font-weight: 500; color: var(--ink); }
.testimonial-featured .testimonial-avatar { width: 48px; height: 48px; font-size: 16px; }
.testimonial-secondary { display: flex; flex-direction: column; }
.testimonial-mini { padding: 22px 0; border-bottom: 1px solid var(--border); }
.testimonial-mini:first-child { padding-top: 0; }
.testimonial-mini:last-child { border-bottom: none; padding-bottom: 0; }
.testimonial-mini .testimonial-quote { font-size: 14px; }
.testimonial-mini .testimonial-author { margin-top: 14px; }
.testimonial-mini .testimonial-avatar { width: 34px; height: 34px; font-size: 12px; }

/* "¿Qué necesitas imprimir?" — 3ª ronda: los intentos anteriores (franja
   plana, caja única con borde, fichas sueltas) seguían siendo variaciones
   de "3 en fila" — mismo esqueleto que "Por qué Copy Service", solo que
   cambiaba el color/espaciado. Esta vez cambia el EJE: índice editorial de
   una sola columna, apilado de arriba a abajo (como una lista de revista),
   con la primera fila (el camino principal, Productos) destacada en su
   propia caja con borde rojo; las otras dos van como texto ligero sin caja.
   Se lee vertical, al revés que la cinta horizontal de "Por qué Copy
   Service" justo debajo — eje de lectura opuesto a propósito.
   .quicklinks/.quicklink-item de arriba se dejan intactas por si se quiere
   volver atrás. */
.index-list { display: flex; flex-direction: column; }
.index-row {
  display: flex; align-items: center; gap: 24px; padding: 26px 4px;
  border-bottom: 1px solid var(--border); text-decoration: none; color: inherit;
}
.index-row:last-child { border-bottom: none; padding-bottom: 0; }
.index-num {
  flex-shrink: 0; width: 34px; font-family: var(--font-display); font-weight: 800;
  font-size: 15px; color: var(--text-faint);
}
.index-body { display: flex; align-items: center; gap: 20px; flex: 1; min-width: 0; }
.index-text { display: flex; flex-direction: column; gap: 4px; }
.index-title { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--ink); }
.index-desc { font-size: 14px; color: var(--text-muted); line-height: 1.5; }
.index-desc .note-pending { font-size: 12px; color: var(--text-faint); font-style: italic; }
.index-arrow { flex-shrink: 0; color: var(--red-dark); font-size: 18px; transition: transform .15s ease; }
.index-row:hover .index-arrow { transform: translateX(4px); }

.index-row.is-featured {
  background: #fff; border: 1px solid var(--border); border-left: 3px solid var(--red);
  border-radius: var(--radius-lg); padding: 28px 24px; margin-bottom: 6px;
}
.index-row.is-featured .index-num { color: var(--red-dark); }

@media (max-width: 860px) {
  .why-us-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial-layout { grid-template-columns: 1fr; gap: 32px; }
  .why-us-ribbon { flex-direction: column; gap: 28px; }
  .ribbon-item { padding: 0; }
  .ribbon-item + .ribbon-item { border-left: none; border-top: 1px solid rgba(255,255,255,.14); padding-top: 28px; }
  .index-body { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ---------- 4ª ronda, inspirada en el rediseño de Polpo ----------
   "¿Qué necesitas imprimir?": banda horizontal con anchos DESIGUALES
   (Productos más ancha, es la entrada principal) en vez de una rejilla de
   3 iguales — inspirado en su carrusel "elige tu sector". En móvil se
   convierte en scroll horizontal con "peek" (cada tarjeta al 85% del
   ancho, se intuye que hay más al lado), como hace Polpo.
   No toca .quicklinks/.quicklink-item ni .index-list/.index-row de arriba
   (quedan sin usar, por si se quiere volver a una versión anterior). */
.quick-band { display: flex; gap: 20px; }
.quick-band-item {
  flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 12px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px 28px; text-decoration: none; color: inherit;
}
.quick-band-item.is-primary { flex: 1.7 1 0; }
.quick-band-item:hover { border-color: var(--red-dark); }
.quick-band-item h3 { font-size: 18px; font-weight: 700; color: var(--ink); }
.quick-band-item p { font-size: 14px; line-height: 1.6; color: var(--text-muted); }
.quick-band-item .note-pending { font-size: 12px; color: var(--text-faint); font-style: italic; }
.quick-band-link { font-weight: 600; font-size: 14px; color: var(--red-dark); margin-top: auto; }

/* 2º intento (la banda de arriba no convenció): "¿Qué necesitas
   imprimir?" pasa a un selector de dos columnas — lista de opciones a la
   izquierda, foto real grande a la derecha que cambia según la opción
   activa (hover/foco). Inspirado en el selector de "explora la app" de
   Polpo, pero aprovechando que aquí SÍ hay fotografía real de producto (que
   Polpo no tiene, por eso ellos resuelven esto solo con iconos). Cada fila
   es un <a> real (funciona sin JS); el cambio de foto es una mejora
   progresiva vía nav.js. No toca .quick-band/.quick-band-item ni
   .quicklinks/.index-list de arriba (quedan sin usar, por si se quiere
   volver atrás). */
.path-selector { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: stretch; }
.path-list { display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.path-item {
  display: flex; align-items: flex-start; gap: 18px; padding: 22px 20px;
  border-radius: var(--radius-lg); border-left: 3px solid transparent;
  text-decoration: none; color: inherit; transition: background .15s ease, border-color .15s ease;
}
.path-item:hover, .path-item.is-active { background: #fff; border-left-color: var(--red); }
.path-item .icon-circle { flex-shrink: 0; }
.path-text { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.path-title { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--ink); }
.path-desc { font-size: 14px; color: var(--text-muted); line-height: 1.5; }
.path-arrow {
  flex-shrink: 0; align-self: center; color: var(--red-dark); font-size: 18px;
  opacity: 0; transition: opacity .15s ease;
}
.path-item:hover .path-arrow, .path-item.is-active .path-arrow { opacity: 1; }

.path-visual { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; }
.path-image { position: absolute; inset: 0; opacity: 0; transition: opacity .4s ease; }
.path-image.is-active { opacity: 1; }
.path-image .placeholder-block { width: 100%; height: 100%; border-radius: 0; }

/* "Por qué Copy Service": una sola tarjeta negra con 3 filas a todo el
   ancho separadas por líneas finas (no 3 cajas sueltas) — inspirado en la
   sección "Por qué Polpoo" de su rediseño, con un número fantasma casi
   invisible como recurso tipográfico. No toca .why-us-grid/.why-us-card ni
   .why-us-ribbon/.ribbon-item de arriba (quedan sin usar). */
.why-us-list { background: #161616; border: 1px solid #2B2B2B; border-radius: var(--radius-lg); overflow: hidden; }
/* Icono, texto y número fantasma en una sola línea (antes el título/párrafo
   caían en una segunda línea debajo del icono, lo que hacía cada fila —y la
   sección entera— mucho más alta de lo necesario). */
.why-us-row { display: flex; align-items: center; gap: 24px; padding: 26px 36px; border-bottom: 1px solid rgba(255,255,255,.1); position: relative; }
.why-us-row:last-child { border-bottom: none; }
.why-us-row .icon-circle { background: rgba(255,0,0,.16); flex-shrink: 0; }
.why-us-row .icon-circle svg { stroke: var(--red); }
.why-us-text { flex: 1; min-width: 0; }
.why-us-num {
  flex-shrink: 0;
  font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1;
  color: rgba(255,255,255,.12);
}
.why-us-row h3 { color: #fff; font-size: 18px; font-weight: 700; margin: 0 0 6px; }
.why-us-row p { color: #B2B2B0; font-size: 14.5px; line-height: 1.6; max-width: 640px; margin: 0; }

@media (max-width: 860px) {
  .quick-band { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; margin: 0 -32px; padding: 0 32px 4px; }
  .quick-band-item, .quick-band-item.is-primary { flex: 0 0 85%; scroll-snap-align: start; }
  .why-us-row { padding: 20px 24px; gap: 16px; }
  .why-us-row .icon-circle { width: 40px; height: 40px; }
  .why-us-row .icon-circle svg { width: 18px; height: 18px; }
  .why-us-num { font-size: 26px; }
  /* En móvil no hay hover, así que el cambio de foto no aplica: se muestra
     solo la foto de "Productos" fija arriba, de forma predecible. */
  .path-selector { grid-template-columns: 1fr; gap: 24px; }
  .path-visual { aspect-ratio: 16/10; order: -1; }
  .path-image { display: none; }
  .path-image.is-active { display: block; }
  .path-item { padding: 18px 4px; }
}

@media (max-width: 900px) {
  .model-hero { grid-template-columns: 1fr; gap: 28px; }
  .home-feature-rows { gap: 64px; }
  .feature-row, .feature-row.is-reverse {
    grid-template-columns: 1fr; gap: 22px;
  }
  .feature-row .feature-media, .feature-row.is-reverse .feature-media,
  .feature-row .feature-copy, .feature-row.is-reverse .feature-copy { order: initial; }
  .feature-row .feature-media { order: -1; }
}

/* ---------- Tabs (hubs de categoría: navegación por sub-familia) ----------
   Pestañas nivel 1: subrayado en rojo puro (--red), aceptable porque es un
   trazo fino de 3px, no un fondo extenso — cumple la regla de marca de no
   usar el rojo puro en grandes superficies. */
.tabs { display: flex; flex-direction: column; gap: 32px; }
.tab-list {
  display: flex; flex-wrap: wrap; gap: 4px;
  border-bottom: 1px solid var(--border);
}
.tab-btn {
  appearance: none; background: none; border: none; cursor: pointer;
  font: inherit; font-family: var(--font-display); font-weight: 700; font-size: 14.5px;
  color: var(--text-muted); padding: 14px 18px; border-bottom: 3px solid transparent;
  margin-bottom: -1px; min-height: 44px; white-space: nowrap; border-radius: 4px 4px 0 0;
}
.tab-btn:hover { color: var(--red-dark); }
.tab-btn[aria-selected="true"] { color: var(--red-dark); border-bottom-color: var(--red); }
.tab-panel[hidden] { display: none; }

/* Sub-tabs (nivel 2, ej. fabricante dentro de una sub-familia): estilo píldora
   más discreto, para no competir visualmente con la pestaña de nivel 1. */
.subtabs .tab-list { border-bottom: none; gap: 8px; margin-bottom: 20px; }
.subtabs .tab-btn {
  border: 1px solid var(--border); border-radius: 999px; padding: 8px 16px;
  font-size: 13.5px; font-family: var(--font-body); color: var(--text); min-height: 36px;
}
.subtabs .tab-btn[aria-selected="true"] {
  background: var(--red-tint); border-color: var(--red); color: var(--red-dark);
}

@media (max-width: 640px) {
  .tab-list { gap: 2px; }
  .tab-btn { padding: 12px 12px; font-size: 13.5px; }
}

/* Presupuesto: los tres pasos del proceso, bajo el título. */
.contact-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.contact-step {
  display: flex; align-items: flex-start; gap: 16px; padding: 16px 18px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg);
}
.contact-step-num { font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1; color: rgba(255,255,255,.3); min-width: 30px; }
.contact-step h3 { color: #fff; font-size: 15.5px; font-weight: 700; margin: 0 0 4px; }
.contact-step p { color: #B2B2B0; font-size: 13.5px; line-height: 1.55; }

/* Contacto (página propia): portada centrada y tres tarjetas grandes de
   canal que se solapan sobre su borde inferior. */
.contact-hero-center { padding-bottom: 140px; text-align: center; }
.contact-hero-center .contact-hero-head { position: relative; z-index: 1; align-items: center; max-width: 640px; margin: 0 auto; }
.contact-hero-center .lede { max-width: none; }
.channel-section { position: relative; z-index: 2; margin-top: -90px; padding: 0 0 8px; }
.channel-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.channel-card {
  display: flex; flex-direction: column; gap: 8px; padding: 28px; background: #fff; color: inherit;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-panel); transition: transform .15s ease, border-color .15s ease;
}
.channel-card:hover { transform: translateY(-3px); border-color: var(--red-dark); color: inherit; }
.channel-card .icon-circle { margin-bottom: 6px; }
.channel-label { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); }
.channel-value { font-family: var(--font-display); font-weight: 700; font-size: 21px; line-height: 1.3; color: var(--ink); }
.channel-note { font-size: 13.5px; color: var(--text-muted); line-height: 1.55; }
.channel-action { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 600; color: var(--red-dark); }
@media (max-width: 900px) {
  .contact-hero-center { padding-bottom: 110px; }
  .channel-section { margin-top: -70px; }
  .channel-grid { grid-template-columns: 1fr; }
}

/* ---------- Transiciones de hover coherentes en toda la web ----------
   Antes botones, menú, pestañas y enlaces cambiaban de golpe (sin animación)
   mientras que las tarjetas sí animaban; se unifica a ~0,15–0,18 s. */
a { transition: color .15s ease; }
.btn { transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease; }
.btn:active { transform: translateY(0); }
.nav-trigger, .nav-link { transition: color .15s ease, background-color .15s ease; }
.mega-item, .simple-menu a, .mobile-accordion-panel a { transition: background-color .15s ease, color .15s ease; }
.footer-col a, .footer-legal a { transition: color .15s ease; }
.tab-btn { transition: color .15s ease, border-color .15s ease, background-color .15s ease; }
.quick-band-item, .path-item, .index-row { transition: background-color .15s ease, border-color .15s ease; }
@media (hover: hover) {
  .btn-primary:hover, .btn-secondary:hover { transform: translateY(-1px); }
}
/* En pantallas táctiles no hay "hover": evita que la tarjeta se quede
   levantada tras tocarla. */
@media (hover: none) {
  .route-card:hover, .channel-card:hover { transform: none; }
}

/* Los desplegables anchos (Productos, Servicios) se centraban respecto al
   propio botón del menú y, en pantallas de 1280–1440 px, se salían por el
   borde izquierdo de la pantalla. Ahora se centran respecto a la cabecera
   (el container), que es lo que se espera de un mega-menú. Solo en
   escritorio: en tablet/móvil esas reglas ya usan posición fija. */
@media (min-width: 1101px) {
  .header-inner { position: relative; }
  .nav-item:has(> .mega-full) { position: static; }
}

/* Contacto: portada centrada con más texto (sin foto). */
.contact-hero-center .contact-hero-head { max-width: 720px; }
.contact-hero-center h1 { font-size: 52px; }
.contact-hero-text { color: #B2B2B0; font-size: 15.5px; line-height: 1.7; max-width: 640px; }
@media (max-width: 900px) { .contact-hero-center h1 { font-size: 36px; } }


/* ==========================================================================
   Portadas interiores (todas menos la home): cuadrícula + UN cuadrado rojo
   --------------------------------------------------------------------------
   La cuadrícula ya no es una imagen escalada al ancho de pantalla: se dibuja
   con CSS en celdas de tamaño fijo (--cell), así que no se agranda ni se
   recorta nunca, cubre cualquier alto de portada y las celdas son iguales en
   todas las páginas. El cuadrado rojo (solo trazo) ocupa exactamente una
   celda de la primera fila; cada portada define su posición horizontal con
   --sq-x (en el atributo style de la propia portada) y `round()` lo ajusta
   a la cuadrícula. La home conserva su cinta y no usa nada de esto. */
:root { --cell: 42px; --sq-edge: var(--cell); }
@media (max-width: 640px) { :root { --cell: 32px; --sq-edge: 0px; } }

.contact-hero, .hero-team, .page-hero { position: relative; isolation: isolate; }

.contact-hero::before, .hero-team::before, .page-hero::before,
.contact-hero::after, .hero-team::after, .page-hero::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
}
.contact-hero::before, .hero-team::before, .page-hero::before {
  inset: 0;
  --grid-line: rgba(255,255,255,.14);
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: var(--cell) var(--cell);
  background-position: 0 0;
}
.page-hero:not(.hero-dark)::before { --grid-line: rgba(0,0,0,.10); }
.contact-hero::after, .hero-team::after, .page-hero::after {
  /* Posición "aleatoria" pero fija por página: lado (--sq-side 0=izq, 1=der),
     profundidad dentro de la franja libre del margen (--sq-t) y altura
     (--sq-v), todos de 0 a 1. Vive en el margen lateral de la portada, donde
     no hay texto, separado un hueco del borde; round() lo encaja en la
     cuadrícula. */
  --sq-strip: max(0px, calc((100vw - var(--container)) / 2 + 32px - 2 * var(--cell)));
  --sq-l: calc(var(--sq-edge) + var(--sq-t, .5) * var(--sq-strip));
  --sq-r: calc(100% - var(--cell) - var(--sq-edge) - var(--sq-t, .5) * var(--sq-strip));
  top: round(down, calc(var(--cell) + var(--sq-v, .5) * (100% - 3 * var(--cell))), var(--cell));
  left: round(down, calc((1 - var(--sq-side, 0)) * var(--sq-l) + var(--sq-side, 0) * var(--sq-r)), var(--cell));
  width: var(--cell); height: var(--cell);
  box-sizing: border-box; border: 1.5px solid var(--red); opacity: .8;
}

/* Portada negra de Conócenos: ya no usa la cinta de la home */
.hero-team { background-image: none; }
/* Portadas de categoría (Label, Producción, Oficina, Gran formato): negro liso + cuadrícula en vez de la foto de prueba */
.page-hero.hero-bg-fondo1 { background-image: none; }

/* Portadas de hub (servicios, soporte, recursos...): pasan a banda gris a
   sangre, igual que las de ficha de producto, para alojar la cuadrícula. */
.page-hero.container:not(:has(> .model-hero)) {
  width: 100vw; max-width: 100vw;
  margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  padding: 48px max(32px, calc((100vw - var(--container)) / 2 + 32px));
  background-color: #E8E8E8;
}


/* ---------- Conócenos: equipo en una sola rejilla compacta con filtro ---------- */
.team-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.team-chip {
  font: inherit; font-size: 13.5px; font-weight: 600; color: var(--text);
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  min-height: 44px; padding: 0 20px; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.team-chip:hover { border-color: var(--ink); background: #EDEDED; }
.team-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.team-chip[aria-pressed="true"]:hover { background: var(--ink); }
.team-chip:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.team-grid-flat { grid-template-columns: repeat(6, minmax(0,1fr)); gap: 32px 20px; align-items: start; }
.team-grid-flat .avatar-placeholder { width: 88px; height: 88px; }
.team-grid-flat .team-card .name { font-size: 14px; }
.team-grid-flat .team-card .role { font-size: 12px; line-height: 1.35; }
.team-card[hidden] { display: none; }
@media (max-width: 1100px) { .team-grid-flat { grid-template-columns: repeat(4, minmax(0,1fr)); } }
@media (max-width: 640px) {
  .team-grid-flat { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px 8px; }
  .team-grid-flat .avatar-placeholder { width: 68px; height: 68px; }
  .team-grid-flat .team-card .name { font-size: 13px; }
  .team-grid-flat .team-card .role { font-size: 11.5px; }
  .team-chip { padding: 0 18px; }
}

/* Portada de Conócenos: mismo margen arriba que abajo */
.hero.hero-team { padding-top: 64px; padding-bottom: 64px; }

/* Conócenos: el vídeo destacado ocupaba todo el ancho (unos 700px de alto).
   Ahora vídeo a la izquierda en 16:9 y la ficha del caso a la derecha. */
.video-case-card.is-wide {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 36px; align-items: center;
}
.video-case-card.is-wide .media-placeholder.is-video { aspect-ratio: 16/9; }
.video-case-card.is-wide .video-case-body h3 { font-size: 22px; }
@media (max-width: 900px) {
  .video-case-card.is-wide { grid-template-columns: 1fr; gap: 16px; }
}


/* Portada apilada (texto arriba, foto debajo) ya desde 1240px: por debajo
   de ese ancho el texto + la caja de foto no caben en una fila y la foto
   se cortaba. Mismo comportamiento que en móvil, pero con la cinta de
   escritorio (la versión retrato de la cinta solo se usa en ≤640). */
@media (max-width: 1240px) {
  .hero, .hero.hero-team { flex-direction: column; align-items: stretch; gap: 32px; }
  .hero { padding-left: 32px; padding-right: 32px; }
  .hero-copy { max-width: none; flex-shrink: 1; }
  .hero-photo { flex: none; width: 100%; height: 380px; aspect-ratio: auto; }
}
@media (max-width: 640px) {
  .hero-photo { height: auto; aspect-ratio: 4/3; }
}

/* Texto pequeño en rojo sobre portadas negras: el rojo de marca (#E60000)
   da 4,36:1 sobre negro; este tono más claro supera AA (≈5,9:1). */
:root { --red-on-dark: #FF3B3B; }
.hero-team .eyebrow, .hero-team-stat strong, .contact-hero .eyebrow, .page-hero.hero-dark .eyebrow { color: var(--red-on-dark); }

/* ---------- Banner de cierre (Conócenos) ----------
   Propuesta: tarjeta negra con la misma cuadrícula de las portadas, sobre
   fondo blanco para que no se funda con el footer oscuro. Pensada para
   sustituir su fondo por una imagen propia. */
.cta-banner {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  background-color: var(--ink); border-radius: var(--radius-lg); padding: 64px 56px;
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.14) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: var(--cell) var(--cell);
}
.cta-banner-text { max-width: 560px; display: flex; flex-direction: column; gap: 12px; }
.cta-banner h2 { color: #fff; font-size: 32px; line-height: 1.2; font-weight: 800; }
.cta-banner p { color: #C9C9C7; font-size: 16px; line-height: 1.6; margin: 0; }
.cta-banner-actions { display: flex; gap: 14px; flex-wrap: wrap; flex-shrink: 0; }
.cta-banner .btn-secondary { color: #fff; border-color: #fff; }
@media (max-width: 900px) {
  .cta-banner { flex-direction: column; align-items: flex-start; padding: 40px 28px; gap: 28px; }
  .cta-banner h2 { font-size: 26px; }
}


/* ==========================================================================
   Banners: misma cuadrícula que las portadas (el cuadrado rojo es solo de portadas)
   --------------------------------------------------------------------------
   Aplica a .callout (banner oscuro de las fichas y la home; claro en las
   4 páginas de categoría) y .cta-banner. La franja .band-accent de Conócenos va lisa, sin cuadrícula. */
.callout, .cta-banner, .band-accent { position: relative; isolation: isolate; overflow: hidden; }
.callout::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  --grid-line: rgba(255,255,255,.14);
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: var(--cell) var(--cell);
}
.callout-light::before { --grid-line: rgba(0,0,0,.10); }


/* Hub con portada negra (de momento solo Servicios): la regla de las
   portadas de hub (fondo gris a sangre) tiene más especificidad que
   .hero-dark, así que se pisa aquí. */
.page-hero.container.hero-dark:not(:has(> .model-hero)) { background-color: var(--ink); }


/* Portadas de las páginas de Servicios: texto centrado y portada baja
   (más compacta que las de producto, a propósito, para distinguir la sección). */
.page-hero.hero-center { text-align: center; }
.page-hero.hero-center .lede { margin-left: auto; margin-right: auto; }


/* ---------- Soporte técnico remoto ---------- */
.text-link { text-decoration: underline; text-underline-offset: 3px; }
/* Pasos: columna centrada de tarjetas con el icono a la izquierda */
.support-steps { display: flex; flex-direction: column; gap: 20px; max-width: 760px; margin: 0 auto; }
.support-step { flex-direction: row; gap: 18px; align-items: flex-start; }
.support-step .icon-circle { flex-shrink: 0; }
.support-step-body { display: flex; flex-direction: column; gap: 10px; }
.support-step-body h3 { font-size: 19px; }
.support-step-body p { font-size: 14.5px; line-height: 1.65; color: var(--text); }
@media (max-width: 520px) {
  .support-step { flex-direction: column; padding: 20px; gap: 14px; }
}

/* "Qué podemos resolver": cuatro mini-tarjetas */
.resolve-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.resolve-card {
  display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
  padding: 28px 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.resolve-card h3 { font-size: 16px; font-weight: 700; }

/* "Por qué funciona" en dos columnas */
/* "Por qué funciona" en dos columnas: texto + tres recuadros blancos con borde gris y icono */
.why-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.why-text { display: flex; flex-direction: column; gap: 16px; }
.why-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.why-points li {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  font-weight: 600; font-size: 15px; color: var(--ink);
}
.why-points .icon-circle { flex-shrink: 0; }
@media (max-width: 900px) { .why-layout { grid-template-columns: 1fr; gap: 32px; } }

/* Preguntas frecuentes: acordeón de filas planas con hairline; la fila abierta cambia de fondo
   (sin barra roja). Máximo 5 por página. */
.faq-list { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--border); }
.faq-item {
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius-lg); transition: background-color .15s ease, border-color .15s ease;
}
.faq-item[open] { background: var(--bg-alt); border-bottom-color: transparent; }
.section-alt .faq-item[open] { background: #fff; }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 20px; font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chevron { flex-shrink: 0; transition: transform .15s ease, color .15s ease; }
.faq-item summary:hover .chevron, .faq-item[open] summary .chevron { color: var(--red-dark); }
.faq-item[open] summary .chevron { transform: rotate(180deg); }
.faq-item p { margin: 0; padding: 0 56px 24px 20px; font-size: 15px; line-height: 1.7; color: var(--text); }
@media (max-width: 640px) {
  .faq-item summary { padding: 18px 12px; }
  .faq-item p { padding: 0 12px 20px; }
}


@media (max-width: 900px) {
  .resolve-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.section-head.section-head-tight { margin-bottom: 24px; }


/* Páginas de Servicios: títulos de sección algo más bajos (el h1 de la portada manda) */
.page-servicios .section-head-center h2 { font-size: 28px; }
@media (max-width: 640px) { .page-servicios .section-head-center h2 { font-size: 24px; } }
/* FAQ: la línea superior también se curva en los extremos (hacia abajo), en espejo de las inferiores */
.faq-list { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
/* Teléfono en negrita en toda la sección de Soporte */
.support-step a[href^="tel:"], .faq-item a[href^="tel:"] { font-weight: 700; }

/* Portada de Servicios: un poco más alta (antes 48px de relleno vertical) */
.page-hero.container.hero-center:not(:has(> .model-hero)) { padding-top: 72px; padding-bottom: 72px; }
@media (max-width: 640px) { .page-hero.container.hero-center:not(:has(> .model-hero)) { padding-top: 56px; padding-bottom: 56px; } }

/* Título de la portada de Servicios: más grande (antes 34px) */
.page-hero.hero-center h1 { font-size: 44px; line-height: 1.15; }
@media (max-width: 640px) { .page-hero.hero-center h1 { font-size: 32px; } }
.page-hero.hero-center h1 em { font-style: normal; color: var(--red); }


/* ---------- Alquiler: "por qué contratarlo" con frases largas + formulario en dos columnas ---------- */
.why-points-text li { font-weight: 400; font-size: 14.5px; line-height: 1.55; align-items: flex-start; color: var(--text); }
.why-points-text li strong { font-weight: 700; color: var(--ink); }

.event-layout { max-width: 760px; }
.event-intro { margin-bottom: 36px; }
.contact-form.event-form { gap: 22px; padding: 34px; border: 0; box-shadow: 0 6px 22px rgba(0,0,0,.05); }
.event-form .form-field input, .event-form .form-field select, .event-form .form-field textarea {
  min-height: 48px; background: #FAFAFA; border-radius: 8px; transition: border-color .15s ease, box-shadow .15s ease;
}
.event-form .form-field textarea { min-height: 120px; }
.event-form .form-field input:hover, .event-form .form-field select:hover, .event-form .form-field textarea:hover { border-color: #BDBDBD; }
.event-form .form-field input:focus, .event-form .form-field select:focus, .event-form .form-field textarea:focus {
  outline: none; border-color: var(--red-dark); background: #fff; box-shadow: 0 0 0 3px rgba(230,0,0,.18);
}
.event-form .form-note { text-align: center; }
@media (max-width: 900px) {
  .contact-form.event-form { padding: 24px; }
}

/* Alquiler: "por qué contratarlo" en cuadrícula 2x2 para equilibrar con el texto de la izquierda */
.why-layout.why-layout-balanced { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); align-items: center; }
.why-points-text { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.why-points-text li { flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px; }
@media (max-width: 900px) {
  .why-layout.why-layout-balanced { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .why-points-text { grid-template-columns: 1fr; }
  .why-points-text li { flex-direction: row; }
}


/* ---------- Avisos de formulario ---------- */
.form-error, .form-success, .contact-form .form-field, .contact-form .form-check { scroll-margin-top: 110px; }
.form-error svg, .form-success svg { flex-shrink: 0; }
.form-error { align-items: flex-start; }
.form-error span strong { display: block; margin-bottom: 4px; }
.form-error ul { margin: 0; padding-left: 18px; }
.form-error li { margin: 2px 0; }
.form-error a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
/* Éxito en verde (el rojo se leía como fallo) */
.form-success { background: #EDF7EF; border: 1px solid #BFDFC8; color: #1E5A2E; }
.form-success svg { stroke: #1E7A3C; }


/* ---------- Consumibles gran formato: catálogo de materiales agrupado por familia (sin imágenes) ---------- */
.mat-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.mat-col { display: flex; flex-direction: column; gap: 20px; }
.mat-col .mat-group:last-child { flex: 1 1 auto; }
.mat-group {
  margin: 0; padding: 24px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.mat-group-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.mat-group-head .icon-circle { width: 40px; height: 40px; flex-shrink: 0; }
.mat-group-head h3 { font-size: 18px; margin: 0; flex: 1; }
.mat-count { font-size: 12.5px; color: var(--text-faint); }
.mat-list { list-style: none; margin: 0; padding: 0; }
.mat-list li + li { border-top: 1px solid var(--border); }
.mat-list a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  min-height: 44px; padding: 10px 4px; font-size: 15px; line-height: 1.35; color: var(--ink);
}
.mat-list a::after { content: "›"; color: var(--text-faint); transition: transform .15s ease, color .15s ease; }
.mat-list a:hover { color: var(--red-dark); }
.mat-list a:hover::after { transform: translateX(3px); color: var(--red-dark); }
@media (max-width: 820px) { .mat-groups { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .mat-list a:hover::after { transform: none; } }

/* Consumibles: pedido (formulario + personas de contacto) en un solo eje centrado */
.cons-order { max-width: 760px; margin: 0 auto; }
.cons-order-intro { display: flex; flex-direction: column; align-items: center; gap: 28px; margin-bottom: 32px; }
.cons-order-intro .section-head { max-width: 560px; }
.person-list { display: flex; flex-direction: row; gap: 16px; width: 100%; }
.person-card {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.person-card .avatar-placeholder { width: 56px; height: 56px; flex-shrink: 0; }
.person-card div:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.person-card strong { font-size: 15px; color: var(--ink); }
.person-card span { font-size: 13px; color: var(--text-faint); }
.person-card a { font-size: 14px; font-weight: 600; color: var(--red-dark); overflow-wrap: anywhere; }
.person-card a:hover { text-decoration: underline; text-underline-offset: 3px; }
.person-card .pending { font-size: 13.5px; font-style: italic; color: var(--text-faint); }
.cons-order form { scroll-margin-top: 100px; }
.cons-selected {
  margin: 0; padding: 12px 16px; border-radius: 8px; background: #F5F5F5; border: 1px solid var(--border);
  font-size: 14px; font-weight: 600; color: var(--ink);
}
.cons-selected[hidden] { display: none; }
@media (max-width: 640px) { .person-list { flex-direction: column; } }
.form-check input { width: 18px; height: 18px; }
.cons-selected:focus { outline: none; }


/* ---------- Blog ---------- */
.blog-filter { justify-content: flex-start; margin-bottom: 36px; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: border-color .15s ease, transform .15s ease; }
.post-card:hover { border-color: var(--red-dark); transform: translateY(-2px); }
.post-card[hidden], .post-tile[hidden] { display: none; }
.post-link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.post-link:hover { color: inherit; }
.post-thumb { aspect-ratio: 16/9; overflow: hidden; background: #E8E8E8; }
.post-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.post-body-card { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 12.5px; color: var(--text-faint); }
.post-tag { padding: 3px 10px; border-radius: 999px; background: var(--red-tint); color: var(--red-darker); font-weight: 700; }
.post-card h3 { font-size: 19px; line-height: 1.3; }
.post-card p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--text-muted); }
.post-more { margin-top: auto; padding-top: 6px; font-size: 14.5px; font-weight: 600; color: var(--red-dark); }
.post-featured { grid-column: 1 / -1; }
.post-featured .post-link { flex-direction: row; }
.post-featured .post-thumb { flex: 0 0 46%; aspect-ratio: 16/9; min-height: 0; align-self: center; }
.post-featured .post-body-card { justify-content: center; padding: 32px 40px; }
.post-featured h3 { font-size: 26px; line-height: 1.2; }
.post-featured p { font-size: 16px; }
.post-tile {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: center;
  align-items: flex-start; gap: 12px; padding: 28px; background: var(--ink); border-radius: var(--radius-lg);
}
.post-tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(to right, rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: var(--cell) var(--cell);
}
.post-tile h3 { color: #fff; font-size: 22px; }
.post-tile p { margin: 0; color: #C9C9C7; font-size: 14.5px; line-height: 1.6; }
.post-tile .btn-secondary { color: #fff; border-color: #fff; }
@media (max-width: 1000px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .post-grid { grid-template-columns: 1fr; }
  .post-featured .post-link { flex-direction: column; }
  .post-featured .post-thumb { flex: none; min-height: 0; aspect-ratio: 16/9; }
  .post-featured .post-body-card { padding: 22px 24px 24px; }
  .post-featured h3 { font-size: 22px; }
  .blog-filter { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .blog-filter .team-chip { flex-shrink: 0; }
}
@media (hover: none) { .post-card:hover { transform: none; } }

/* Artículo: cabecera clara editorial, foto protagonista, columna de lectura */
.post-page { padding-bottom: 72px; }
.post-head { max-width: 884px; margin: 0 auto; padding: 56px 32px 28px; }
.post-crumbs { display: flex; gap: 8px; font-size: 13.5px; color: var(--text-faint); margin-bottom: 18px; }
.post-crumbs a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 3px; }
.post-crumbs a:hover { color: var(--red-dark); }
.post-meta-top { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 13px; color: var(--text-faint); }
.post-head h1 { font-size: 50px; line-height: 1.12; font-weight: 800; margin: 0 0 18px; text-align: left; }
.post-head h1 em { font-style: normal; color: var(--red-dark); }
.post-lede { margin: 0; max-width: 800px; font-size: 20px; line-height: 1.6; color: var(--text); }
.post-byline-row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 28px; padding: 14px 0; border-block: 1px solid var(--border); font-size: 14px; color: var(--text-muted);
}
.post-byline-row p { margin: 0; }
.post-share { display: flex; gap: 8px; }
.post-share a, .post-share button {
  width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 999px;
  background: #fff; color: var(--ink); cursor: pointer; transition: border-color .15s ease, color .15s ease;
}
.post-share a:hover, .post-share button:hover { border-color: var(--ink); color: var(--red-dark); }
.post-share button.is-done { border-color: #1E7A3C; color: #1E7A3C; }
.post-share :focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.post-hero-fig { max-width: 884px; margin: 0 auto 56px; padding: 0 32px; }
.post-hero-fig img { display: block; width: 100%; aspect-ratio: 2/1; object-fit: cover; border-radius: var(--radius-lg); }
.post-text { max-width: 884px; margin: 0 auto; padding: 0 32px; font-size: 17.5px; line-height: 1.75; color: var(--text); }
.post-toc { padding: 0 0 28px; margin-bottom: 36px; border-bottom: 1px solid var(--border); }
.post-toc strong { display: block; margin-bottom: 10px; font-family: var(--font-display); font-size: 15px; }
.post-toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; font-size: 14.5px; line-height: 1.9; }
.post-toc a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.post-toc a:hover { color: var(--red-dark); }
.post-text h2 { font-size: 28px; line-height: 1.25; margin: 44px 0 14px; scroll-margin-top: calc(var(--header-h) + 16px); }
.post-text p { margin: 0 0 16px; }
.post-intro { font-size: 19px; line-height: 1.65; color: var(--ink); }
.post-text ul { margin: 0 0 16px; padding-left: 22px; }
.post-text li { margin-bottom: 8px; }
.post-quote {
  margin: 36px 0; padding: 28px 0; border-block: 1px solid var(--border);
  font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1.35; color: var(--ink);
}
.post-fig { margin: 36px 0; }
.post-fig img { display: block; width: 100%; height: auto; aspect-ratio: 21/9; object-fit: cover; border-radius: var(--radius-lg); }
@media (max-width: 640px) { .post-fig img { aspect-ratio: 16/9; } }
.post-fig figcaption { margin-top: 10px; font-size: 13.5px; color: var(--text-muted); }
.post-table-wrap { overflow-x: auto; margin: 0 0 28px; border: 1px solid var(--border); border-radius: var(--radius-lg); }
.post-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 520px; }
.post-table th, .post-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); }
.post-table th { background: #F5F5F5; font-family: var(--font-display); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); }
.post-table tr:last-child td { border-bottom: 0; }
.post-table td:first-child { font-weight: 700; color: var(--ink); }
.post-note { padding: 24px 28px; margin: 32px 0 40px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); }
.post-note strong { display: block; margin-bottom: 12px; font-family: var(--font-display); font-size: 17px; color: var(--ink); }
.post-note ul { list-style: none; padding: 0; margin: 0; }
.post-note li { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; font-size: 15.5px; }
.post-note li svg { flex-shrink: 0; }
.post-text .callout { margin-top: 8px; }
.post-grid-related .post-card h3 { font-size: 17px; }
@media (max-width: 760px) {
  .post-head { padding: 28px 32px 20px; }
  .post-head h1 { font-size: 30px; }
  .post-lede { font-size: 17.5px; }
  .post-hero-fig { margin-bottom: 36px; padding: 0 32px; }
  .post-text { padding: 0 32px; font-size: 16px; }
  .post-text h2 { font-size: 23px; }
  .post-toc ol { columns: 1; }
  .post-quote { font-size: 21px; }
}
@media (max-width: 640px) { .post-hero-fig img { aspect-ratio: 16/9; } }


/* Blog: correcciones de la revisión */
.post-card.is-soon:hover { border-color: var(--border); transform: none; }
.post-soon { margin-top: auto; padding-top: 6px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text-faint); }
.post-card:has(a.post-link:focus-visible) { outline: 2px solid var(--red); outline-offset: 2px; }
.post-link:focus-visible { outline: none; }
.post-text h3 { font-size: 20px; line-height: 1.3; margin: 32px 0 10px; }
.post-text ol { margin: 0 0 16px; padding-left: 22px; }
.post-checklist { list-style: none; padding-left: 0; }
.post-checklist li { position: relative; padding-left: 34px; }
.post-checklist li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 18px; height: 18px; border: 1.5px solid var(--ink); border-radius: 4px; }
.post-table-wrap:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.post-table th[scope="row"] { font-family: inherit; font-size: inherit; text-transform: none; letter-spacing: 0; background: transparent; color: var(--ink); font-weight: 700; }
.post-toc summary { cursor: pointer; list-style: none; margin-bottom: 10px; font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.post-toc summary::-webkit-details-marker { display: none; }
.post-toc summary::after { content: " +"; color: var(--red-dark); }
.post-toc details[open] summary::after { content: " –"; }
@media (min-width: 761px) { .post-toc summary { pointer-events: none; } .post-toc summary::after { content: none !important; } }
@media (max-width: 1000px) {
  .post-featured .post-link { flex-direction: column; }
  .post-featured .post-thumb { flex: none; min-height: 0; aspect-ratio: 16/9; }
  .post-featured .post-body-card { padding: 24px 28px 28px; }
  .post-head h1 { font-size: 40px; }
}
@media (max-width: 640px) {
  .post-head, .post-hero-fig, .post-text { padding-left: 32px; padding-right: 32px; }
  .post-head h1 { font-size: 30px; }
  .post-table-wrap { border: 0; overflow: visible; }
  .post-table { min-width: 0; display: block; }
  .post-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .post-table tbody, .post-table tr, .post-table th[scope="row"], .post-table td { display: block; }
  .post-table tr { margin-bottom: 14px; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
  .post-table th[scope="row"] { padding: 12px 16px; background: #F5F5F5; border-bottom: 1px solid var(--border); font-size: 16px; }
  .post-table td { padding: 10px 16px; border-bottom: 0; }
  .post-table td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text-faint); margin-bottom: 2px; }
}
.post-note li { align-items: flex-start; }
.post-note li svg { margin-top: 4px; }


/* Servicios y Productos: tarjetas que pisan la portada, como en Contacto */
.page-hero.container.hero-center.hero-overlap:not(:has(> .model-hero)) { padding-bottom: 162px; }
.cards-overlap { position: relative; z-index: 2; margin-top: -90px; padding-top: 0; }
.cards-overlap .card { box-shadow: var(--shadow-panel); transition: transform .15s ease, border-color .15s ease; }
.cards-overlap .card:hover { transform: translateY(-3px); border-color: var(--red-dark); }
@media (max-width: 900px) {
  .page-hero.container.hero-center.hero-overlap:not(:has(> .model-hero)) { padding-bottom: 140px; }
  .cards-overlap { margin-top: -70px; }
}
@media (max-width: 640px) { .page-hero.container.hero-center.hero-overlap:not(:has(> .model-hero)) { padding-bottom: 126px; } }
@media (hover: none) { .cards-overlap .card:hover { transform: none; } }


/* Portadas de categoría sin foto todavía (Producción, Oficina, Gran formato)
   y vídeo de Software sobre negro: marco oscuro con los logos de los
   fabricantes en blanco, en vez del rayado gris que deslumbraba. */
.hero-media-placeholder.is-dark {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.18);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 32px; padding: 32px;
}
.hero-media-placeholder .hero-brands {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px 40px;
}
/* Los SVG blancos traen márgenes muy distintos: se fija el ancho de cada uno
   para que el dibujo visible pese lo mismo. */
.hero-media-placeholder .hero-brands img { width: 152px; height: auto; max-width: none; object-fit: contain; opacity: .92; }
.hero-media-placeholder .hero-brands img[src*="logo-dpr"] { width: 150px; }
.hero-media-placeholder .hero-brands img[src*="logo-hp"],
.hero-media-placeholder .hero-brands img[src*="logo-konica"] { width: 166px; }
.hero-media-placeholder.is-dark .placeholder-tag {
  background: transparent; border-color: rgba(255,255,255,.22); color: #C9C9C7;
}
.hero-dark .media-placeholder {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.18);
}
.hero-dark .media-placeholder .ph-icon { background: transparent; border-color: rgba(255,255,255,.28); }
.hero-dark .media-placeholder .ph-icon svg { stroke: #C9C9C7; }
.hero-dark .media-placeholder .ph-tag { background: transparent; border-color: rgba(255,255,255,.22); color: #fff; }
.hero-dark .media-placeholder .ph-sub { color: #C9C9C7; }

/* Tarjeta de catálogo cuya marca no tiene logo todavía: nombre en texto,
   en el mismo hueco que .logo-badge para no descuadrar la rejilla. */
.logo-badge .logo-text { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: .01em; color: var(--ink); }
/* Logos de texto (muy anchos) un poco más contenidos que los sellos, para que
   Fujifilm, Mimaki o Graphtec no pesen el doble que Konica Minolta o HP. */
.card .logo-badge img[src*="logo-fujifilm"],
.card .logo-badge img[src*="logo-mimaki"],
.card .logo-badge img[src*="logo-graphtec"] { max-width: 124px; }
@media (max-width: 900px) {
  .hero-media-placeholder.is-dark { aspect-ratio: auto; height: auto; min-height: 260px; }
}
@media (max-width: 640px) {
  .hero-media-placeholder.is-dark { padding: 28px 20px; gap: 24px; min-height: 0; }
  .hero-media-placeholder .hero-brands { gap: 20px 28px; }
  .hero-media-placeholder .hero-brands img { width: 108px; }
  .hero-media-placeholder .hero-brands img[src*="logo-dpr"] { width: 106px; }
  .hero-media-placeholder .hero-brands img[src*="logo-hp"],
  .hero-media-placeholder .hero-brands img[src*="logo-konica"] { width: 118px; }
}


/* Selector de fabricante (sub-pestañas de Label > Finisher): las mismas
   píldoras de texto de siempre, algo más grandes y con más contraste para que
   se note que hay más de un fabricante. */
.subtabs > .tab-list { gap: 10px; margin-bottom: 24px; }
.subtabs > .tab-list .tab-btn {
  min-height: 44px; padding: 0 24px; font-size: 14.5px; font-weight: 700; border-radius: 999px;
  background: #fff; color: var(--ink); border: 1.5px solid #B8B8B6; margin-bottom: 0;
}
.subtabs > .tab-list .tab-btn:hover { border-color: var(--red); color: var(--red-dark); }
.subtabs > .tab-list .tab-btn[aria-selected="true"] {
  background: var(--red-tint); border-color: var(--red); color: var(--red-dark);
  box-shadow: 0 0 0 1px var(--red);
}


/* ---------- Portadas de categoría de Productos: solo texto, centradas ---------- */
.page-hero.hero-center .eyebrow { display: block; margin-bottom: 10px; }
.page-hero.hero-center .lede { max-width: 700px; }

/* Marcas dentro de la propia portada (logos blancos, fijos, sin rótulo). */
.page-hero .brands-static {
  position: relative; z-index: 1; max-width: 1100px; margin: 30px auto 0;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 8px;
}
.page-hero .brands-static .brand-chip-lg { min-width: 168px; height: 72px; padding: 0 18px; }
.page-hero.container.hero-center:has(> .brands-static):not(:has(> .model-hero)) { padding-bottom: 40px; }
.brand-chip-text { color: #fff; font-size: 20px; }
@media (max-width: 640px) {
  .page-hero .brands-static { margin-top: 22px; }
  .page-hero .brands-static .brand-chip-lg { min-width: 0; flex: 0 0 calc(50% - 4px); height: 64px; padding: 0 10px; }
  .page-hero .brands-static .brand-chip-lg img { max-width: 120px; max-height: 38px; }
  .page-hero .brands-static .brand-chip-lg img[src*="logo-mga"] { max-height: 50px; }
  .page-hero.container.hero-center:has(> .brands-static):not(:has(> .model-hero)) { padding-bottom: 28px; }
}


/* ---------- Ajustes de las portadas y tarjetas de categoría ---------- */
/* Cuadrado rojo: con poco ancho ya no hay margen lateral libre; se coloca en la
   primera fila de la cuadrícula (encima del texto, que empieza a 72px) y se
   reparte por el ancho según --sq-t, así no tapa nada. */
@media (max-width: 1300px) {
  .page-hero.hero-cat::after {
    top: 0;
    left: round(down, calc(var(--cell) + var(--sq-t, .5) * (100% - 3 * var(--cell))), var(--cell));
  }
}

/* «Ver los N restantes» */
.card[hidden] { display: none; }
.show-more { display: flex; justify-content: center; margin-top: 28px; }

/* Logos de las tarjetas: mismo peso visual. Los sellos (MGA, Konica Minolta, HP)
   a 44px de alto, Lemorau y el icono de DPR algo más bajos para no pesar más. */
.card .logo-badge { height: 60px; }
.card .logo-badge img[src*="logo-mga"], .card .logo-badge img[src*="logo-konica"], .card .logo-badge img[src*="logo-hp"] { height: 44px; }
.card .logo-badge img[src*="logo-lemorau"] { height: 36px; }
.card .logo-badge img[src*="logo-dpr-icon"] { height: 40px; }
.card .logo-badge img[src*="logo-dpr-icon"] { height: 46px; }
/* Logos de la portada: los sellos (MGA, Konica Minolta, HP) traen mucho margen
   en el SVG blanco y se veían mucho más pequeños que Lemorau o DPR. */
.page-hero .brands-static .brand-chip-lg img[src*="logo-mga"],
.page-hero .brands-static .brand-chip-lg img[src*="logo-konica"] { max-height: 64px; }
.page-hero .brands-static .brand-chip-lg img[src*="logo-hp"] { max-height: 58px; }
@media (max-width: 640px) {
  .page-hero .brands-static .brand-chip-lg img[src*="logo-mga"],
  .page-hero .brands-static .brand-chip-lg img[src*="logo-konica"] { max-height: 50px; }
  .page-hero .brands-static .brand-chip-lg img[src*="logo-hp"] { max-height: 46px; }
}


/* ---------- Ficha de producto (plantilla nueva, piloto FX y BX Series) ---------- */
.hero-note { font-size: 14px; color: #C9C9C7; margin: 12px auto 0; max-width: 620px; }
.hero-video { position: relative; z-index: 1; width: 100%; max-width: 780px; margin: 32px auto 0; }
.hero-video .video-embed { box-shadow: 0 18px 50px rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.12); }
.page-hero.container.hero-center:has(> .hero-video):not(:has(> .model-hero)) { padding-bottom: 56px; }
@media (max-width: 640px) { .page-hero.container.hero-center:has(> .hero-video):not(:has(> .model-hero)) { padding-bottom: 36px; } .hero-video { margin-top: 24px; } }

.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gallery-item { display: block; border-radius: 10px; overflow: hidden; background: #E8E8E8; aspect-ratio: 4 / 3; border: 1px solid var(--border); }
.gallery-item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.gallery-item:hover img { transform: scale(1.03); }
@media (max-width: 860px) { .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .gallery-grid { gap: 10px; } }
@media (prefers-reduced-motion: reduce) { .gallery-item img { transition: none; } .gallery-item:hover img { transform: none; } }

.download-card {
  display: flex; align-items: center; gap: 24px; margin-top: 28px; padding: 20px;
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
}
.download-cover { width: 92px; height: auto; flex-shrink: 0; border: 1px solid var(--border); border-radius: 4px; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.download-body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.download-body h3 { font-size: 18px; }
.download-body p { font-size: 14px; color: var(--text-muted); margin: 0 0 8px; }
@media (max-width: 520px) { .download-card { flex-direction: column; align-items: flex-start; } }


/* ---------- Ficha de producto: carátula de vídeo, galería en mosaico, visor, descarga ---------- */
.video-poster {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--radius-lg); background: #000; border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 50px rgba(0,0,0,.45); color: #fff; text-decoration: none; cursor: pointer;
}
.video-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, opacity .2s ease; }
.video-poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,.05) 55%); pointer-events: none; }
.video-poster:hover img { transform: scale(1.03); }
.video-play {
  position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 76px; border-radius: 50%; background: var(--red); color: #fff;
  display: flex; align-items: center; justify-content: center; padding-left: 5px;
  box-shadow: 0 8px 28px rgba(0,0,0,.5); transition: transform .15s ease, background-color .15s ease;
}
.video-poster:hover .video-play { transform: translate(-50%, -50%) scale(1.07); background: var(--red-darker); }
.video-poster:focus-visible { outline: 3px solid var(--red-on-dark); outline-offset: 3px; }
.video-meta {
  position: absolute; z-index: 1; left: 18px; bottom: 14px; right: 18px; text-align: left;
  font-size: 13.5px; font-weight: 600; letter-spacing: .01em;
}
.video-poster iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; background: #000; }
.video-poster video { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; background: #000; object-fit: contain; }
.video-poster.is-playing::after, .video-poster.is-playing .video-play, .video-poster.is-playing .video-meta { display: none; }
@media (max-width: 640px) { .video-play { width: 60px; height: 60px; } .video-meta { left: 12px; bottom: 10px; font-size: 12.5px; } }
@media (prefers-reduced-motion: reduce) { .video-poster img, .video-play { transition: none; } .video-poster:hover img { transform: none; } }

.gallery-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 210px; gap: 14px; }
.gallery-bento .gallery-item { position: relative; aspect-ratio: auto; height: 100%; }
.gallery-bento .gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-bento .gallery-item::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .2s ease;
  background: linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,0) 55%);
}
.gallery-bento .gallery-item:hover::after, .gallery-bento .gallery-item:focus-visible::after { opacity: 1; }
.gallery-bento .gallery-item:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.gallery-zoom {
  position: absolute; z-index: 1; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%;
  background: #fff; color: var(--ink); display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(6px); transition: opacity .2s ease, transform .2s ease;
}
.gallery-bento .gallery-item:hover .gallery-zoom, .gallery-bento .gallery-item:focus-visible .gallery-zoom { opacity: 1; transform: none; }
@media (max-width: 860px) {
  .gallery-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; }
  .gallery-bento .gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
}
@media (hover: none) { .gallery-zoom { opacity: 1; transform: none; width: 32px; height: 32px; } }

.lightbox {
  position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.92);
  display: flex; align-items: center; justify-content: center; padding: 56px 72px;
}
.lightbox[hidden] { display: none; }
.lb-fig { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lb-img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; border-radius: 6px; }
.lb-cap { color: #C9C9C7; font-size: 14px; text-align: center; }
.lb-btn {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.08); color: #fff; font-size: 28px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lb-btn:hover { background: rgba(255,255,255,.2); }
.lb-btn:focus-visible { outline: 3px solid var(--red-on-dark); outline-offset: 2px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
html.lb-open { overflow: hidden; }
@media (max-width: 640px) { .lightbox { padding: 64px 12px; } .lb-prev, .lb-next { top: auto; bottom: 12px; transform: none; } .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); } }

.download-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 20px 24px; background: var(--bg-alt); }
.download-body { align-items: flex-start; }
.download-body p { margin: 0; }
@media (max-width: 640px) { .download-card { grid-template-columns: auto 1fr; } .download-card .btn { grid-column: 1 / -1; justify-self: stretch; text-align: center; } }


/* ---------- Ficha de producto: subnavegación, datos clave, series, equipamiento, opciones, ficha ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 90; background: #fff; border-bottom: 1px solid var(--border); }
.subnav-inner { display: flex; gap: 32px; height: 52px; align-items: stretch; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav a {
  display: inline-flex; align-items: center; font-size: 14px; font-weight: 600; color: var(--text-muted);
  border-bottom: 2px solid transparent; margin-bottom: -1px; text-decoration: none; transition: color .15s ease, border-color .15s ease;
}
.subnav a:hover { color: var(--ink); }
.subnav a.is-active { color: var(--ink); border-bottom-color: var(--ink); }
.subnav a:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; border-radius: 2px; }
.subnav ~ section[id] { scroll-margin-top: calc(var(--header-h) + 52px); }
@media (max-width: 760px) { .subnav { position: static; } .subnav-inner { gap: 24px; } .subnav ~ section[id] { scroll-margin-top: var(--header-h); } }

.keyfacts { background: #fff; border-bottom: 1px solid var(--border); }
.keyfacts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kf { display: flex; flex-direction: column; gap: 8px; padding: 34px 28px; border-left: 1px solid var(--border); }
.kf:first-child { border-left: 0; padding-left: 0; }
.kf-value { font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1.05; color: var(--ink); letter-spacing: -.01em; }
.kf-value small { font-size: 17px; font-weight: 600; color: var(--text-muted); letter-spacing: 0; }
.kf-label { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-faint); }
@media (max-width: 860px) {
  .keyfacts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kf { padding: 24px 20px; border-top: 1px solid var(--border); }
  .kf:nth-child(-n+2) { border-top: 0; }
  .kf:nth-child(odd) { border-left: 0; padding-left: 0; }
  .kf-value { font-size: 30px; }
}

.series-photo { margin: 0 auto 32px; max-width: 900px; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 16px; }
.series-photo img { display: block; width: 100%; height: auto; max-height: 300px; object-fit: contain; }
.series-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 900px; margin: 0 auto; }
.series-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 28px 30px; display: flex; flex-direction: column; gap: 14px; }
.series-tag { font-family: var(--font-display); font-weight: 800; font-size: 48px; line-height: 1; color: var(--ink); letter-spacing: -.02em; }
.series-card h3 { font-size: 18px; }
.series-rows { display: flex; flex-direction: column; margin: 4px 0 0; border-top: 1px solid var(--border); }
.series-rows > div { display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.series-rows dt { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text-faint); padding-top: 2px; }
.series-rows dd { margin: 0; font-size: 15px; line-height: 1.5; color: var(--text); }
.series-note { max-width: 900px; margin: 22px auto 0; text-align: center; font-size: 14.5px; color: var(--text-muted); }
@media (max-width: 760px) { .series-compare { grid-template-columns: 1fr; } .series-rows > div { grid-template-columns: 1fr; gap: 2px; } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: stretch; }
.split.is-reverse .split-photo { order: -1; }
.split-copy { display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.split-copy h2 { font-size: 30px; line-height: 1.2; }
.split-copy .lede { font-size: 16px; }
.split-photo { margin: 0; border-radius: 10px; overflow: hidden; min-height: 300px; background: #E8E8E8; border: 1px solid var(--border); }
.split-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split .split-photo, .split.is-reverse .split-photo { order: -1; min-height: 0; aspect-ratio: 16 / 10; }
}

.std-grid { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.std-grid li { display: flex; align-items: center; gap: 14px; padding: 18px 18px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 10px; }
.std-grid svg { flex-shrink: 0; color: var(--ink); }
.std-grid span { font-size: 15px; font-weight: 600; line-height: 1.35; }
@media (max-width: 520px) { .std-grid { grid-template-columns: 1fr; } }

.chip-list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chip-list li { padding: 9px 14px; background: #fff; border: 1px solid var(--border); border-radius: 6px; font-size: 14px; font-weight: 600; line-height: 1.3; }

.ficha-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.ficha-main h2 { font-size: 30px; margin-bottom: 18px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.spec-table thead th { background: var(--ink); color: #fff; text-align: left; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 14px 18px; }
.spec-table tbody td { padding: 15px 18px; border-top: 1px solid var(--border); vertical-align: top; line-height: 1.5; }
.spec-table tbody tr:first-child td { border-top: 0; }
.spec-table tbody td:first-child { width: 34%; font-weight: 700; color: var(--ink); }
.ficha-aside { position: sticky; top: calc(var(--header-h) + 52px + 24px); }
.download-card.is-stacked { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 0; padding: 24px; background: var(--bg-alt); }
.download-card.is-stacked .download-cover { width: 120px; }
.download-card.is-stacked .btn { align-self: stretch; text-align: center; }
@media (max-width: 960px) { .ficha-grid { grid-template-columns: 1fr; gap: 32px; } .ficha-aside { position: static; } .spec-table tbody td:first-child { width: 38%; } }

/* Ajustes: datos clave sin saltos raros y mosaico de 3 columnas (6 imágenes exactas) */
.keyfacts-grid { grid-template-columns: 1fr 1.15fr 1.25fr .85fr; }
.kf-value { white-space: nowrap; font-size: 38px; }
.gallery-bento { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 230px; }
.gallery-bento .gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
@media (max-width: 860px) {
  .keyfacts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kf-value { white-space: normal; font-size: 28px; }
  .gallery-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; }
  .gallery-bento .gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
}

/* Ficha de producto: más aire entre bloques y opciones como bloquecitos */
.feature-rows.is-spaced { gap: 112px; }
.feature-rows.is-spaced + * { margin-top: 0; }
.ficha-sub { font-size: 18px; margin: 36px 0 4px; }
.ficha-main .chip-list { margin-top: 14px; }
.ficha-main .chip-list li { padding: 11px 16px; font-size: 14.5px; }
@media (max-width: 860px) { .feature-rows.is-spaced { gap: 72px; } }
.download-card.is-stacked { align-items: center; text-align: center; }
.download-card.is-stacked .download-body { align-items: center; }

/* Ficha técnica con columnas FX y BX */
.spec-wrap { overflow-x: auto; border-radius: 10px; }
.spec-table thead th:not(:first-child), .spec-table tbody td { width: auto; }
.spec-table thead th:not(:first-child) { text-align: left; }
.spec-table tbody th[scope="row"] { width: 34%; text-align: left; font-weight: 700; color: var(--ink); padding: 15px 18px; border-top: 1px solid var(--border); vertical-align: top; line-height: 1.5; background: #fff; }
.spec-table tbody tr:first-child th, .spec-table tbody tr:first-child td { border-top: 0; }
.spec-table tbody td:first-child { width: auto; font-weight: 400; color: inherit; }
.spec-table tbody tr:nth-child(even) th, .spec-table tbody tr:nth-child(even) td { background: #FAFAFA; }
.spec-footnote { margin: 12px 0 0; font-size: 13px; color: var(--text-faint); }
@media (max-width: 640px) { .spec-table { min-width: 520px; } }
.spec-table tbody th[scope="row"] { text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 700; color: var(--ink); }
.spec-table tbody td { font-size: 15px; }
.spec-table td.both { text-align: center; }
.ficha-sub-first { margin-top: 4px; margin-bottom: 14px; }
.ficha-main .ficha-sub { margin-bottom: 14px; }
.ficha-main .chip-list { margin-top: 0; }
.spec-table thead th:first-child:empty { background: var(--ink); }
.spec-table tbody th[scope="row"] { width: 36%; }
.spec-wrap + .ficha-sub { margin-top: 40px; }

/* Tabla de especificaciones estilo catálogo: filas alternas, FX y BX centrados, valores comunes a las dos columnas */
.spec-hint { margin: 0 0 14px; font-size: 14px; color: var(--text-muted); }
.spec-table.is-catalog { border: 0; border-radius: 0; background: transparent; overflow: visible; }
.spec-table.is-catalog thead th {
  background: transparent; color: var(--ink); text-transform: none; letter-spacing: 0;
  font-family: var(--font-display); font-size: 15px; font-weight: 700; padding: 0 18px 14px; border-bottom: 2px solid var(--ink);
}
.spec-table.is-catalog thead th.c { text-align: center; font-size: 24px; font-weight: 800; padding-bottom: 10px; width: 24%; }
.spec-table.is-catalog tbody tr:nth-child(odd) > * { background: #F1F1F1; }
.spec-table.is-catalog tbody tr:nth-child(even) > * { background: #fff; }
.spec-table.is-catalog tbody tr > * { border-top: 0; padding: 15px 18px; }
.spec-table.is-catalog tbody th[scope="row"] { width: 38%; font-weight: 600; }
.spec-table.is-catalog tbody td { text-align: center; font-size: 15.5px; line-height: 1.5; vertical-align: middle; }
.spec-table.is-catalog tbody td.sep { border-left: 1px solid rgba(0,0,0,.12); }
.spec-table.is-catalog tbody tr:last-child > * { border-bottom: 1px solid var(--border); }
@media (max-width: 640px) { .spec-table.is-catalog { min-width: 480px; } .spec-table.is-catalog thead th.c { font-size: 20px; } }
/* Cabecera de la tabla de especificaciones: franja negra con letras blancas */
.spec-table.is-catalog thead th { background: var(--ink); color: #fff; border-bottom: 0; padding: 14px 18px; }
.spec-table.is-catalog thead th:first-child { border-radius: 10px 0 0 0; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.spec-table.is-catalog thead th:last-child { border-radius: 0 10px 0 0; }
.spec-table.is-catalog thead th.c { padding: 10px 18px; font-size: 22px; }
.spec-table.is-catalog thead th.c + th.c { border-left: 1px solid rgba(255,255,255,.22); }
.spec-table.is-catalog tbody th[scope="row"] { vertical-align: middle; }

/* Móvil: la columna de la ficha técnica no puede ensancharse por la tabla (hace scroll dentro de su contenedor) */
.ficha-main, .ficha-aside { min-width: 0; }
@media (max-width: 960px) { .ficha-grid { grid-template-columns: minmax(0, 1fr); } }
.spec-wrap { max-width: 100%; }
/* Galería en 2 columnas: si queda una foto sola, ocupa el ancho completo */
@media (max-width: 860px) { .gallery-bento .gallery-item:last-child:nth-child(even) { grid-column: span 2; } }

/* ===== Ficha FX/BX v217: jerarquía de la tabla, tarjeta del catálogo y opciones planas =====
   (para volver a la v216: restaurar docs/backups/styles.v216-2026-10-08.css) */
.spec-table.is-catalog tbody th[scope="row"] { font-weight: 500; color: var(--text-muted); }
.spec-table.is-catalog tbody td { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.spec-table.is-catalog tbody td.both { text-wrap: balance; }
.spec-table.is-catalog tbody td.both > * { max-width: 44ch; margin-inline: auto; }
.spec-table.is-catalog tbody td.both { padding-inline: 28px; }

.ficha-aside { top: calc(50vh - 200px); }
@media (max-width: 960px) { .ficha-aside { top: auto; } }

.ficha-main .chip-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.ficha-main .chip-list li {
  display: flex; align-items: center; gap: 10px; background: var(--bg-alt); border: 0; border-radius: 6px;
  padding: 12px 14px; font-size: 14.5px; font-weight: 500; color: var(--ink);
}
.ficha-main .chip-list li::before { content: ""; flex-shrink: 0; width: 6px; height: 6px; background: var(--ink); border-radius: 50%; }
/* Opciones: cada bloque mide lo que ocupa su texto (sin cajas estiradas ni líneas partidas) */
.ficha-main .chip-list { display: flex; flex-wrap: wrap; gap: 10px; }
.ficha-main .chip-list li { width: auto; white-space: nowrap; }
@media (max-width: 420px) { .ficha-main .chip-list li { white-space: normal; } }

/* Ficha con una sola serie: tabla de dos columnas, valores a la izquierda */
.spec-table.is-single thead th:last-child { text-align: left; }
.spec-table.is-single tbody td { text-align: left; }
.spec-table.is-single thead th { font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.spec-table.is-single tbody th[scope="row"] { width: 40%; }
.model-lead { max-width: 760px; margin: 0 auto; text-align: center; font-size: 17px; line-height: 1.7; color: var(--text); text-wrap: pretty; }
.feature-photo.is-white { background: #fff; }
.feature-photo.is-render { background: #EDEDED; }
.feature-photo.is-render img { mix-blend-mode: multiply; }
/* Carátula de vídeo sobre fondo claro (casos de cliente) */
.video-case-thumb .video-poster { box-shadow: 0 10px 28px rgba(0,0,0,.18); border-color: var(--border); }

/* Hueco de galería sin foto todavía */
.gallery-bento .gallery-item.is-pending {
  display: flex; align-items: center; justify-content: center; cursor: default;
  background: repeating-linear-gradient(45deg, #ECECEC, #ECECEC 12px, #E3E3E3 12px, #E3E3E3 24px);
  border: 1px dashed #C9C9C7;
}
.gallery-bento .gallery-item.is-pending::after { display: none; }
.gallery-item.is-pending .placeholder-tag { background: #fff; }
.gallery-carousel .gc-slide.is-pending {
  display: flex; align-items: center; justify-content: center; cursor: default;
  background: repeating-linear-gradient(45deg, #ECECEC, #ECECEC 12px, #E3E3E3 12px, #E3E3E3 24px);
  border: 1px dashed #C9C9C7;
}
.gallery-bento .gallery-item.is-render { background: #fff; }
.gallery-bento .gallery-item.is-render img { object-fit: contain; padding: 14px; }

/* Ficha con datos o imágenes todavía pendientes */
.feature-photo.is-pending, .feature-media.is-pending {
  display: flex; align-items: center; justify-content: center; min-height: 280px;
  background: repeating-linear-gradient(45deg, #ECECEC, #ECECEC 12px, #E3E3E3 12px, #E3E3E3 24px);
  border: 1px dashed #C9C9C7; border-radius: 10px;
}
.feature-photo.is-pending .placeholder-tag { background: #fff; }
.spec-pending { color: var(--text-faint); font-style: italic; font-weight: 400; }
.download-card.is-pending { opacity: .95; }
.download-cover.is-pending {
  width: 120px; aspect-ratio: 283 / 400; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  background: repeating-linear-gradient(45deg, #ECECEC, #ECECEC 10px, #E3E3E3 10px, #E3E3E3 20px);
  border: 1px dashed #C9C9C7; border-radius: 4px; box-shadow: none;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--text-faint);
}
.feature-photo.is-pending { min-height: 0; width: 100%; max-width: 100%; }

/* Aplicaciones típicas: tarjetas de texto */
.app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 8px; }
.app-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.app-card h3 { font-size: 17px; }
.app-card p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--text-muted); }
@media (max-width: 900px) { .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .app-grid { grid-template-columns: 1fr; } }

/* Nota bajo el título de las aplicaciones / opciones */
.ficha-note { margin: 0 0 14px; font-size: 14.5px; line-height: 1.6; color: var(--text-muted); }

/* Fichas de producto: títulos de portada con el mismo ancho máximo y líneas equilibradas */
.page-hero.hero-cat:has(> .hero-video) h1 { max-width: 700px; margin-left: auto; margin-right: auto; text-wrap: pretty; }

/* Fichas: vídeo pendiente, tabla de características en lista, tablas consecutivas */
.video-poster.is-pending {
  display: flex; align-items: center; justify-content: center; cursor: default;
  background: repeating-linear-gradient(45deg, #1b1b1b, #1b1b1b 14px, #222 14px, #222 28px);
  border: 1px dashed rgba(255,255,255,.28); box-shadow: none;
}
.video-poster.is-pending::after { display: none; }
.video-poster.is-pending .placeholder-tag { background: #fff; color: var(--ink); }
.spec-table.is-list tbody td { text-align: left; }
.spec-wrap + .spec-wrap { margin-top: 24px; }

/* Opciones largas del catálogo: pueden partirse en varias líneas */
.ficha-main .chip-list li { white-space: normal; max-width: 100%; }

/* Logos añadidos: Kyocera (tarjetas) y tamaños en las franjas de marcas */
/* Los tres logos nuevos ocupan el mismo ancho (132 px) que el resto de la franja */
.brand-chip-lg img[src*="logo-epson"], .brand-chip-lg img[src*="logo-kiecho"] { width: 132px; max-width: 132px; height: auto; max-height: none; }

/* Tarjetas de producto con imagen (consumibles de Label) */
.card-product { padding: 18px 18px 22px; }
.card-media { width: 100%; aspect-ratio: 845 / 430; border-radius: 8px; overflow: hidden; background: #F1F1EF; display: flex; align-items: center; justify-content: center; }
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-media.is-pending { background: repeating-linear-gradient(45deg, #ECECEC, #ECECEC 12px, #E3E3E3 12px, #E3E3E3 24px); border: 1px dashed #C9C9C7; }
.card-media.is-pending .placeholder-tag { background: #fff; }
.card-product h3 { font-size: 18px; margin: 4px 4px 0; }
.card-product .card-link { margin: 0 4px; }

/* Soporte remoto: formulario de código de sesión (ISL Online) */
.isl-form { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.isl-row { display: flex; gap: 10px; align-items: stretch; }
.isl-row input { flex: 1 1 auto; min-width: 0; font-size: 16px; letter-spacing: .04em; }
.isl-row .btn { flex-shrink: 0; }
.isl-feedback { font-size: 14px; line-height: 1.5; }
.isl-feedback.isl-info { color: var(--text-muted); }
.isl-feedback.form-error, .isl-feedback.form-success { align-items: flex-start; }
@media (max-width: 480px) { .isl-row { flex-direction: column; } .isl-row .btn { width: 100%; } }

/* Cuadrado rojo en móvil: sin margen lateral libre, se coloca siempre en la
   primera fila de la cuadrícula (por encima del texto) y se reparte por el ancho
   según --sq-t, como ya hacían las portadas de categoría. Solo móvil: en
   ordenador y tablet grande no cambia nada. */
@media (max-width: 640px) {
  .contact-hero::after, .hero-team::after, .page-hero::after {
    top: 0;
    left: round(down, calc(var(--cell) + var(--sq-t, .5) * (100% - 3 * var(--cell))), var(--cell));
  }
}

/* Franja de marcas de la home: logos recortados a su tinta (los SVG blancos traían
   mucho margen interno y unos se veían diminutos), altura propia por logo para
   que pesen lo mismo y el mismo hueco entre logo y logo. */
.marquee-track { gap: 0; }
.marquee .brand-chip-lg { min-width: 0; padding: 0; margin-right: 128px; height: 92px; }
@media (max-width: 640px) { .marquee .brand-chip-lg { margin-right: 84px; } }
.marquee .brand-chip-lg img { max-width: none; max-height: none; width: auto; height: 36px; }
.marquee .brand-chip-lg img[src*="logo-fujifilm"] { height: 26px; }
.marquee .brand-chip-lg img[src*="logo-mimaki"] { height: 28px; }
.marquee .brand-chip-lg img[src*="logo-dpr"] { height: 34px; }
.marquee .brand-chip-lg img[src*="logo-lemorau"] { height: 42px; }
.marquee .brand-chip-lg img[src*="logo-epson"] { height: 34px; }
.marquee .brand-chip-lg img[src*="logo-kiecho"] { height: 32px; }
.marquee .brand-chip-lg img[src*="logo-hp"] { height: 56px; }
.marquee .brand-chip-lg img[src*="logo-konica"] { height: 54px; }
.marquee .brand-chip-lg img[src*="logo-mga"] { height: 58px; }
.marquee .brand-chip-lg img[src*="logo-ideal"] { height: 30px; }
.marquee .brand-chip-lg img[src*="logo-kala"] { height: 34px; }
.marquee .brand-chip-lg img[src*="logo-boway"] { height: 46px; }
.marquee .brand-chip-lg img[src*="logo-neolt"] { height: 34px; }
.marquee .brand-chip-lg img[src*="logo-keencut"] { height: 22px; }
.marquee .brand-chip-lg img[src*="logo-plockmatic"] { height: 20px; }
.marquee .brand-chip-lg img[src*="logo-widinovations"] { height: 22px; }

/* Cuadrado rojo en móvil — variante «abajo»: las portadas con --sq-v >= .5 lo llevan
   en la última fila de la cuadrícula, en una franja libre bajo el texto (72px).
   El resto se queda en la primera fila. Solo móvil. */
@media (max-width: 640px) {
  .page-hero.sq-bottom, .hero-team.sq-bottom { padding-bottom: 72px !important; }
  .page-hero.sq-bottom::after, .hero-team.sq-bottom::after { top: round(down, calc(100% - var(--cell)), var(--cell)); }
}

.card-media:not(.is-pending) { border: 1px solid var(--border); background: #fff; }

/* Franja de marcas (home) — arreglo del «recargado» al pasar el ratón y de los logos
   difíciles de pulsar: sin máscara sobre contenido animado (provoca parpadeo, sobre todo
   en Safari) → degradados laterales encima; pista en su propia capa; más lenta; y zona
   de clic más grande alrededor de cada logo (el hueco visible no cambia). */
.marquee { position: relative; -webkit-mask-image: none; mask-image: none; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 14%; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--ink), rgba(0,0,0,0)); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--ink), rgba(0,0,0,0)); }
.marquee-track { animation-duration: 60s; will-change: transform; backface-visibility: hidden; transform: translate3d(0,0,0); }
@keyframes brands-scroll { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee .brand-chip-lg { padding: 0 36px; margin-right: 56px; position: relative; z-index: 1; }
.marquee a.brand-chip-lg { cursor: pointer; transition: opacity .15s ease; }
.marquee a.brand-chip-lg:hover { opacity: .65; }
.marquee a.brand-chip-lg:hover img { opacity: 1; }
.marquee .brand-chip-lg img { transition: none; }
@media (max-width: 640px) { .marquee .brand-chip-lg { padding: 0 24px; margin-right: 36px; } .marquee-track { animation-duration: 48s; } }


/* Conócenos: portada solo texto (sin foto del equipo), centrada */
.hero.hero-team.hero-team-text { justify-content: center; text-align: center; }
.hero-team-text .hero-copy { max-width: 760px; margin: 0 auto; align-items: center; }
@media (max-width: 1300px) {
  .hero-team.hero-team-text::after { top: 0; left: round(down, calc(var(--cell) + var(--sq-t, .5) * (100% - 3 * var(--cell))), var(--cell)); }
}

/* Alquiler: banda negra a sangre con el contacto, bajo el formulario */
.band-contact .band-accent-text { font-size: 26px; max-width: 760px; margin: 0 auto; }
.band-link { display: inline-block; color: #fff; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 6px; overflow-wrap: anywhere; }
.band-link:hover { color: var(--red-on-dark); }
.band-link:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
@media (max-width: 640px) { .band-contact .band-accent-text { font-size: 20px; } .band-link { display: block; margin-top: 8px; } }

/* Conócenos: cifras bajo el lema (solo datos confirmados) */
.band-stats { list-style: none; margin: 40px 0 0; padding: 36px 0 0; border-top: 1px solid rgba(255,255,255,.14); display: flex; justify-content: center; gap: 24px 96px; flex-wrap: wrap; }
.band-stats li { display: flex; flex-direction: column; align-items: center; gap: 6px; max-width: 240px; }
.band-stats strong { font-family: var(--font-display); font-weight: 800; font-size: 44px; line-height: 1; color: #fff; }
.band-stats span { font-size: 14px; line-height: 1.45; color: #C9C9C7; }
@media (max-width: 640px) { .band-stats { margin-top: 28px; padding-top: 28px; gap: 28px; flex-direction: column; align-items: center; } .band-stats strong { font-size: 36px; } }

/* Conócenos — banda con lema a la izquierda y cifras en lista a la derecha */
.band-split { text-align: left; }
.band-split .container { padding: 0; display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .band-split .container { grid-template-columns: 1.1fr .9fr; gap: 80px; } }
.band-split .band-accent-text { font-size: clamp(30px, 4vw, 44px); line-height: 1.15; text-wrap: balance; }
.band-split .band-stats { display: block; margin: 0; padding: 0; border: 0; }
.band-split .band-stats li { display: grid; grid-template-columns: 5rem 1fr; align-items: baseline; gap: 16px; max-width: none; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.22); text-align: left; }
.band-split .band-stats li:last-child { border-bottom: 1px solid rgba(255,255,255,.22); }
.band-split .band-stats strong { font-size: 36px; }
.band-split .band-stats span { font-size: 15px; }
@media (max-width: 640px) { .band-split .band-accent-text { font-size: 28px; } }
@media (max-width: 480px) { .band-split .band-stats li { grid-template-columns: 1fr; gap: 6px; } }
/* Conócenos: cifras y su descripción, las dos en grande */
.band-split .band-stats li { grid-template-columns: 6.5rem 1fr; padding: 24px 0; }
.band-split .band-stats strong { font-size: 52px; }
.band-split .band-stats span { font-size: 24px; line-height: 1.25; color: #fff; font-weight: 600; }
@media (max-width: 640px) { .band-split .band-stats strong { font-size: 44px; } .band-split .band-stats span { font-size: 20px; } }
@media (max-width: 480px) { .band-split .band-stats li { grid-template-columns: 1fr; } }

/* Conócenos: la banda negra lleva la cuadrícula del sistema (como portadas y banners) */
.band-split { position: relative; isolation: isolate; padding-block: calc(2 * var(--cell)); }
.band-split::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; --grid-line: rgba(255,255,255,.14);
  background-image: linear-gradient(to right, var(--grid-line) 1px, transparent 1px), linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: var(--cell) var(--cell); }
@media (min-width: 641px) { .band-split .band-stats li { padding: 0; height: calc(2 * var(--cell)); box-sizing: border-box; align-items: center; } }

/* Alquiler: la banda de contacto lleva también la cuadrícula del sistema */
.band-contact { position: relative; isolation: isolate; padding-block: calc(2 * var(--cell)); }
.band-contact::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; --grid-line: rgba(255,255,255,.14);
  background-image: linear-gradient(to right, var(--grid-line) 1px, transparent 1px), linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: var(--cell) var(--cell); }

/* Maquinaria auxiliar: logos de marcas nuevas, contenidos al peso visual de Lemorau/Fujifilm */
.card .logo-badge img[src*="logo-ideal"] { height: 26px; max-width: 104px; }
.card .logo-badge img[src*="logo-plockmatic"] { height: auto; max-height: 22px; max-width: 150px; }
.card .logo-badge img[src*="logo-kala"] { height: 32px; max-width: 110px; }
.card .logo-badge img[src*="logo-boway"] { height: 46px; max-width: 100px; }
.page-hero .brands-static .brand-chip-lg img[src*="logo-ideal"] { max-height: 26px; max-width: 104px; }
.page-hero .brands-static .brand-chip-lg img[src*="logo-plockmatic"] { max-height: 22px; max-width: 150px; }
.page-hero .brands-static .brand-chip-lg img[src*="logo-kala"] { max-height: 32px; max-width: 110px; }
.page-hero .brands-static .brand-chip-lg img[src*="logo-boway"] { max-height: 56px; max-width: 120px; }

/* ---------- Galería en carrusel (imagen central grande, vecinas más pequeñas) ---------- */
.gallery-carousel { --gc-w: clamp(260px, 28vw, 440px); --gc-gap: 16px; position: relative; outline: none; }
.gallery-carousel:focus-visible { outline: 3px solid var(--red); outline-offset: 6px; border-radius: 12px; }
.gc-viewport { overflow-x: auto; padding: 8px 0 12px; scroll-snap-type: x mandatory; touch-action: pan-y; -webkit-overflow-scrolling: touch; }
.gc-track { display: flex; align-items: center; gap: var(--gc-gap); width: max-content; padding: 0 24px; }
.gc-slide { flex: 0 0 var(--gc-w); aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; border: 0; background: #DADADA; scroll-snap-align: center; }
.gc-slide img { display: block; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.gc-controls { display: none; }
/* con JS: el carrusel se coloca solo */
.gallery-carousel.is-ready .gc-viewport { overflow: hidden; padding: 28px 0 84px; scroll-snap-type: none; cursor: grab; }
.gallery-carousel.is-ready .gc-track { padding: 0; transition: transform .55s cubic-bezier(.22, .61, .36, 1); will-change: transform; }
.gallery-carousel.is-ready .gc-slide { transform: scale(.86); opacity: .75; cursor: pointer; transition: transform .55s cubic-bezier(.22, .61, .36, 1), opacity .55s ease, box-shadow .55s ease; }
.gallery-carousel.is-ready .gc-slide.is-active { transform: scale(1); opacity: 1; cursor: zoom-in; box-shadow: 0 34px 54px -24px rgba(0, 0, 0, .26), 0 12px 28px -14px rgba(0, 0, 0, .16); position: relative; z-index: 2; }
.gallery-carousel.is-ready .gc-slide:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.gallery-carousel.is-ready .gc-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: -48px; position: relative; z-index: 3; }
.gc-btn { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--ink); background: transparent; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .15s ease, color .15s ease; }
.gc-btn:hover { background: var(--ink); color: #fff; }
.gc-btn:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.gc-count { min-width: 56px; text-align: center; font-size: 16px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .gallery-carousel { --gc-w: 74vw; --gc-gap: 16px; }
  .gallery-carousel.is-ready .gc-viewport { padding: 20px 0 76px; }
  .gallery-carousel.is-ready .gc-controls { margin-top: -44px; }
  .gc-slide { border-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-carousel.is-ready .gc-track, .gallery-carousel.is-ready .gc-slide { transition: none; }
}
/* el carrusel ocupa todo el ancho de la ventana (las vecinas asoman a los lados) */
#galeria:has(.gallery-carousel.is-ready) { overflow-x: clip; }
.gallery-carousel.is-ready .gc-viewport { width: 100vw; margin-left: calc(50% - 50vw); }
.gc-slide { position: relative; }
.gallery-carousel.is-ready .gc-slide:not(.is-active) .gallery-zoom { display: none; }

/* Galería de 3 fotos: fila fija (sin carrusel ni mosaico) */
.gallery-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gallery-row .gallery-item { position: relative; aspect-ratio: 4 / 3; height: auto; }
.gallery-row .gallery-item.is-pending {
  display: flex; align-items: center; justify-content: center; cursor: default;
  background: repeating-linear-gradient(45deg, #ECECEC, #ECECEC 12px, #E3E3E3 12px, #E3E3E3 24px);
  border: 1px dashed #C9C9C7;
}
.gallery-row .gallery-item.is-render { background: #fff; }
.gallery-row .gallery-item.is-render img { object-fit: contain; padding: 14px; }
@media (max-width: 640px) { .gallery-row { grid-template-columns: 1fr; } }

/* Foto de máquina con margen interior (para que no quede pegada a los bordes de la caja) */
.feature-photo.is-padded img { box-sizing: border-box; padding: 7%; }

/* Servidores de impresión (dos tarjetas) */
.card-grid.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.server-card .feature-photo { width: 100%; aspect-ratio: 5 / 2; }
.server-card .feature-photo img { box-sizing: border-box; padding: 14px; }
.server-card:nth-child(2) .feature-photo img { padding: 6px; }
.server-card p { font-size: 15px; }
.server-card .btn { align-self: flex-start; margin-top: auto; min-width: min(290px, 100%); text-align: center; }
.server-note { margin-top: 18px; text-align: center; }
.server-note a { font-weight: 600; }
@media (max-width: 720px) { .card-grid.is-2 { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .server-section { padding: 52px 0; }
  .server-card { padding: 20px; }
  .server-card .feature-photo { aspect-ratio: 16 / 10; }
}

/* Botones de descarga: se rellenan en rojo al pasar el ratón (o al enfocarlos con teclado) */
.download-card .btn-secondary:hover, .download-card .btn-secondary:focus-visible,
.server-card .btn-secondary:hover, .server-card .btn-secondary:focus-visible {
  background: var(--red-dark); border-color: var(--red-dark); color: #fff;
}

/* Al llegar por un enlace de ancla, el título no queda pegado a la cabecera fija */
section[id] { scroll-margin-top: 90px; }

/* Tabla de ficha que se apila en móvil: nombre arriba, valor debajo (sin desplazamiento lateral) */
@media (max-width: 640px) {
  .spec-table.is-stack, .spec-table.is-catalog.is-stack { min-width: 0; }
  .spec-table.is-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .spec-table.is-stack, .spec-table.is-stack tbody, .spec-table.is-stack tr { display: block; width: 100%; }
  .spec-table.is-catalog.is-stack tbody th[scope="row"],
  .spec-table.is-catalog.is-stack tbody td { display: block; width: auto; text-align: left; border: 0; }
  .spec-table.is-catalog.is-stack tbody th[scope="row"] { padding: 14px 16px 2px; font-size: 13px; }
  .spec-table.is-catalog.is-stack tbody td { padding: 0 16px 14px; font-size: 15px; }
  .spec-table.is-catalog.is-stack tbody tr:last-child > * { border-bottom: 0; }
  .spec-table.is-catalog.is-stack tbody { border-bottom: 1px solid var(--border); }
}

/* Botones del bloque final con la misma anchura */
.callout-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.callout-actions .btn { text-align: center; justify-content: center; white-space: nowrap; }
.callout-actions .btn-secondary { border-color: #fff; color: #fff; }
@media (max-width: 640px) { .callout-actions { width: 100%; align-self: stretch; grid-template-columns: 1fr; } }

/* Redes sociales del pie */
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  color: #fff; border: 1px solid rgba(255,255,255,.35); transition: background-color .18s ease, border-color .18s ease;
}
.footer-social a:hover, .footer-social a:focus-visible { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }

/* Servidores: tres tarjetas (una columna por debajo de 900 px) */
.card-grid.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid.is-3 .server-card .feature-photo { aspect-ratio: 16 / 10; }
@media (max-width: 900px) { .card-grid.is-3 { grid-template-columns: 1fr; } .card-grid.is-3 .server-card .feature-photo { aspect-ratio: 16 / 10; } }

/* Fotos apaisadas en el carrusel: mismo alto que las verticales, más anchas (en móvil no pasan del ancho de pantalla) */
.gc-slide.is-landscape { flex-basis: min(calc(var(--gc-w) * 1.6667), 92vw); aspect-ratio: 4 / 3; }

/* Portada con foto (páginas sin vídeo): mismo marco que la carátula de vídeo */
.hero-still { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-lg); background: #000; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 18px 50px rgba(0,0,0,.45); }
.hero-still img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card .logo-badge img[src*="logo-iecho"] { height: auto; max-height: 34px; max-width: 128px; }
.card .logo-badge img[src*="logo-neolt"] { height: auto; max-height: 40px; max-width: 120px; }

/* Galería oculta (ocultar.py): una línea del ancho del container (no a sangre, como en la franja de marcas de la home) separa los bloques de la ficha técnica */
section[data-oculto="galeria"] + .section { position: relative; }
section[data-oculto="galeria"] + .section::before {
  content: "";
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: var(--container); max-width: calc(100% - 64px);
  border-top: 1px solid #B5B5B5;
}

/* Renders con aire alrededor (AccurioLabel 231 y 400): la máquina no toca el borde del recuadro */
.feature-photo.is-render.is-inset img { box-sizing: border-box; padding: 5% 6%; }

/* Recortes de detalle (MGA): la imagen toca el borde por el lado del corte y deja aire por los demás */
.feature-photo.is-render.is-edge-right img { box-sizing: border-box; padding: 8% 0 8% 10%; object-position: right center; }
.feature-photo.is-render.is-edge-left img { box-sizing: border-box; padding: 8% 10% 8% 0; object-position: left center; }

/* Franja negra de punta a punta (soporte remoto): enlace alternativo bajo los 3 pasos, con la misma cuadrícula que los banners */
.support-strip { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #fff; padding: 44px 0; }
.support-strip::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  --grid-line: rgba(255,255,255,.14);
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: var(--cell) var(--cell);
}
.support-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.support-strip h3 { color: #fff; font-size: 22px; margin-bottom: 6px; }
.support-strip p { color: #C9C9C7; font-size: 14.5px; max-width: 560px; margin: 0; }

/* ---------- Software RIP (AcroRIP): tarjetas, buscador de modelos y versiones ---------- */
.rip-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.rip-features .resolve-card p { font-size: 14.5px; line-height: 1.6; color: var(--text); }
.rip-finder { max-width: 900px; margin: 0 auto; }
.rip-search input {
  font: inherit; font-size: 16px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 8px;
  background: #fff; color: var(--text); width: 100%;
}
.rip-search input:focus-visible { outline: 3px solid var(--red-on-dark, #E60000); outline-offset: 2px; }
.rip-result { margin-top: 14px; padding: 14px 16px; border-radius: 8px; background: #fff; border: 1px solid var(--border); font-size: 14.5px; line-height: 1.55; }
.rip-result.is-ok { border-color: #1B7F4B; background: #F1F9F4; }
.rip-result.is-none { border-color: #C77A00; background: #FFF8EC; }
.rip-group { margin-top: 28px; }
.rip-group[hidden], .rip-finder li[hidden] { display: none; }
.rip-group h3 { font-size: 18px; margin-bottom: 4px; }
.rip-group h3 span { display: block; font-size: 13.5px; font-weight: 500; color: var(--text-muted); margin-top: 2px; }
.rip-group .chip-list li.is-match { border-color: var(--red); box-shadow: 0 0 0 2px rgba(230,0,0,.12); }
.rip-finder .ficha-note { margin-top: 22px; }
.rip-versions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 900px; margin: 40px auto 0; }
.rip-version { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; position: relative; }
.rip-version.is-recommended { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.rip-version h3 { font-size: 20px; margin: 10px 0 14px; }
.rip-badge { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--bg-alt); color: var(--text-muted); }
.rip-badge.is-accent { background: var(--red); color: #fff; }
.rip-version dl { margin: 0; display: grid; grid-template-columns: 1fr; gap: 0; }
.rip-version dt { font-size: 12.5px; font-weight: 600; color: var(--text-muted); margin-top: 12px; }
.rip-version dd { margin: 2px 0 0; font-size: 14.5px; font-weight: 600; color: var(--ink); }
@media (max-width: 860px) { .rip-features { grid-template-columns: 1fr; } .rip-versions { grid-template-columns: 1fr; } }

/* Sin la línea separadora tras una galería oculta cuando la sección anterior ya tiene otro fondo */
section[data-oculto="galeria"] + .section.no-sep::before { display: none; }

/* «¿Por dónde empezamos?» (home): titular a la izquierda y tres filas anchas a la derecha, sin imágenes.
   Cada fila es un enlace; al pasar el ratón se rellena de rojo y el botón circular se invierte. */
.start-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; }
.start-intro { display: flex; flex-direction: column; gap: 12px; padding-left: 20px; border-left: 4px solid var(--red); }
.start-intro h2 { margin: 0; }
.start-intro .lede { margin: 0; max-width: 32ch; }
.start-rows { display: flex; flex-direction: column; border-top: 1px solid var(--border-strong, #B5B5B5); }
.start-row {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 30px 28px; margin: 0 -28px; text-decoration: none; color: inherit;
  border-bottom: 1px solid var(--border-strong, #B5B5B5);
  transition: background-color .2s ease, color .2s ease;
}
.start-text { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.start-title { font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.2; letter-spacing: -.01em; color: var(--ink); transition: color .2s ease; }
.start-desc { font-size: 15.5px; line-height: 1.6; color: var(--text-muted); max-width: 46ch; transition: color .2s ease; }
.start-btn {
  flex: none; width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--ink); color: var(--ink); transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.start-row:hover, .start-row:focus-visible { background: var(--red); }
.start-row:hover .start-title, .start-row:focus-visible .start-title,
.start-row:hover .start-desc, .start-row:focus-visible .start-desc { color: #fff; }
.start-row:hover .start-btn, .start-row:focus-visible .start-btn { background: #fff; border-color: #fff; color: var(--red); transform: translateX(4px); }
.start-row:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; }
@media (max-width: 1100px) { .start-layout { gap: 48px; } }
@media (max-width: 860px) {
  .start-layout { grid-template-columns: 1fr; gap: 32px; }
  .start-row { margin: 0; padding: 26px 0; gap: 20px; }
}

/* Home: titulares de sección un poco más grandes que el tamaño por defecto (24 px) */
.page-home .section h2 { font-size: 30px; line-height: 1.2; }
@media (max-width: 640px) { .page-home .section h2 { font-size: 26px; } }

/* Conócenos: muro de marcas (logos en gris, a color al pasar el ratón) y mapa con hueco superior */
.brand-wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.brand-wall-item {
  display: flex; align-items: center; justify-content: center; height: 96px; padding: 0 22px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.brand-wall-item img { width: auto; height: 38px; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .2s ease, opacity .2s ease; }
/* Alturas por marca (proporciones del carrusel de la home) para que ningún logo pese 3 veces más que otro */
.brand-wall-item img[src*="logo-fujifilm"] { height: 30px; }
.brand-wall-item img[src*="logo-mimaki"] { height: 32px; }
.brand-wall-item img[src*="logo-dpr"] { height: 38px; }
.brand-wall-item img[src*="logo-lemorau"] { height: 48px; }
.brand-wall-item img[src*="logo-epson"] { height: 40px; }
.brand-wall-item img[src*="logo-iecho"] { height: 38px; }
.brand-wall-item img[src*="logo-hp"] { height: 60px; }
.brand-wall-item img[src*="logo-konica"] { height: 58px; }
.brand-wall-item img[src*="logo-mga"] { height: 62px; }
.brand-wall-item img[src*="logo-ideal"] { height: 36px; }
.brand-wall-item img[src*="logo-kala"] { height: 40px; }
.brand-wall-item img[src*="logo-boway"] { height: 50px; }
.brand-wall-item img[src*="logo-neolt"] { height: 42px; }
.brand-wall-item img[src*="logo-keencut"] { height: 26px; }
.brand-wall-item img[src*="logo-plockmatic"] { height: 24px; }
.brand-wall-item img[src*="logo-widinovations"] { height: 26px; }
.brand-wall-item img[src*="epson-white"] { filter: brightness(0); opacity: .75; }
a.brand-wall-item:hover, a.brand-wall-item:focus-visible { border-color: var(--ink); }
a.brand-wall-item:hover img, a.brand-wall-item:focus-visible img { filter: none; opacity: 1; }
a.brand-wall-item:hover img[src*="epson-white"], a.brand-wall-item:focus-visible img[src*="epson-white"] { filter: brightness(0); opacity: 1; }
@media (max-width: 860px) { .brand-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .brand-wall-item { height: 80px; padding: 0 14px; } .brand-wall-item img { max-height: 70%; } }
.map-section.has-gap { padding-top: 72px; padding-bottom: 0; }
.map-overlay .map-overlay-contact { font-size: 14.5px; }
.map-overlay .map-overlay-contact { margin-top: 6px; }
.map-overlay .map-overlay-contact a { display: block; color: var(--ink); font-weight: 600; }



/* ---------- Newsletter (home) ----------
   Reutiliza .start-layout/.start-intro de "¿Por dónde empezamos?". El
   formulario lo inyecta el script de EmailOctopus en .newsletter-embed. */
.newsletter-embed { min-width: 0; }
/* El formulario de EmailOctopus se centra con margen automático (max 520 px) y 16 px arriba: se anula para alinearlo con nuestro texto */
.newsletter-embed [data-form] .form-container { margin: 0; max-width: none; }
.newsletter-embed [data-form] .emailoctopus-form-wrapper { margin-top: 0; }
/* Franja vacía del "Powered by" (el enlace ya está oculto en la cuenta) y margen inferior del consentimiento: fuera, para que la línea de privacidad quede pegada */
.newsletter-embed [data-form] .text-center { display: none; }
.newsletter-embed [data-form] .emailoctopus-form-row-consent { margin-bottom: 0; }
/* El texto legal del formulario trae sangrado propio (30/40 px, en línea): se alinea con el resto */
.newsletter-embed [data-form] [eo-block="text"] { padding: 8px 0 0 !important; }
/* Mensajes del formulario: mismo aspecto que los avisos de los formularios de la web (éxito en recuadro verde, error con barra roja) */
.newsletter-embed [data-form] .emailoctopus-success-message:not(:empty) {
  display: flex; align-items: center; gap: 12px; margin: 0 0 4px; padding: 14px 16px; text-align: left;
  background: #EAF6EC; border: 1px solid #B9DFC1; border-radius: 8px;
  color: #1B5E2B !important; font-size: 15px; font-weight: 600; line-height: 1.45;
}
.newsletter-embed [data-form] .emailoctopus-success-message:not(:empty)::before {
  content: ""; flex: 0 0 20px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231E7A34' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.newsletter-embed [data-form] .emailoctopus-error-message:not(:empty) {
  margin: 0 0 12px; padding: 11px 14px; text-align: left; background: #FDECEC;
  border: 1px solid #F2B8B5; border-left: 4px solid #E60000; border-radius: 6px;
  color: #B3261E !important; font-size: 13.5px; font-weight: 600; line-height: 1.45;
}
/* Sugerencia de corrección del correo («¿Querías decir …?»): aviso ámbar, distinto del error (rojo) y del éxito (verde) */
.newsletter-sugerencia {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px;
  margin: 0 0 12px; padding: 11px 14px; background: #FFF6DD; border: 1px solid #EBD28D; border-left: 4px solid #D99A00;
  border-radius: 6px; color: #5C4200; font-size: 13.5px; line-height: 1.45;
}
.newsletter-sugerencia[hidden] { display: none; }
.newsletter-sugerencia strong { font-weight: 700; word-break: break-all; }
.newsletter-sugerencia-botones { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.newsletter-sugerencia button { font: 600 13px/1 var(--font-body); cursor: pointer; border-radius: 6px; padding: 8px 12px; min-height: 34px; }
.newsletter-sugerencia-si { background: var(--red); border: 1.5px solid var(--red); color: #fff; }
.newsletter-sugerencia-no { background: transparent; border: 1.5px solid #5C4200; color: #5C4200; }
.newsletter-sugerencia button:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
@media (hover: hover) {
  .newsletter-sugerencia-si:hover { background: var(--red-darker); border-color: var(--red-darker); }
  .newsletter-sugerencia-no:hover { background: #5C4200; color: #fff; }
}
.newsletter-legal { margin: 10px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--text-muted); }
.newsletter-legal a { text-decoration: underline; }

/* ---------- Aviso bajo los vídeos de YouTube/Vimeo ----------
   Lo añade video-facade.js debajo de la carátula. Pequeño y apagado para no
   competir con el vídeo; claro sobre las portadas negras, gris sobre fondo claro. */
.video-aviso { margin: 10px 0 0; font-size: 11.5px; line-height: 1.4; color: var(--text-faint); opacity: .8; }
.hero-video .video-aviso { color: #fff; opacity: .5; text-align: center; }

/* ---------- Aviso de cookies (cookies.js) ----------
   Cuadro abajo a la derecha con dos vistas: corta (Aceptar todo / Rechazar) y configuración
   (categorías desplegables con interruptor). Aceptar y Rechazar tienen el mismo tamaño. */
.cs-banner {
  position: fixed; right: 16px; bottom: 16px; z-index: 1000;
  width: min(380px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow-y: auto; box-sizing: border-box;
  background: #fff; color: var(--text); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 16px 48px rgba(0,0,0,.22); padding: 20px;
  font-family: var(--font-body); font-size: 13.5px; line-height: 1.55;
}
.cs-banner[hidden], .cs-view[hidden] { display: none; }
.cs-banner:focus, .cs-title:focus { outline: none; }
.cs-banner:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.cs-banner p { margin: 0; }
.cs-title { font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1.25; color: var(--ink); margin-bottom: 8px !important; }
.cs-text { color: var(--text); }
.cs-text a { color: var(--ink); text-decoration: underline; font-weight: 600; }
.cs-text a:hover { color: var(--red); }
.cs-note { margin-top: 10px !important; padding: 8px 10px; background: var(--red-tint); border-left: 3px solid var(--red); border-radius: 4px; color: #7a1a1a; font-size: 12.5px; }
.cs-note[hidden] { display: none; }
.cs-link, .cs-back, .cs-close, .cs-tipo-btn { background: none; border: 0; padding: 0; margin: 0; cursor: pointer; font: inherit; color: var(--ink); text-align: left; }
.cs-link { display: inline-block; margin-top: 10px; font-weight: 600; text-decoration: underline; }
.cs-link:hover, .cs-back:hover { color: var(--red); }
.cs-link:focus-visible, .cs-back:focus-visible, .cs-close:focus-visible, .cs-tipo-btn:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 4px; }
.cs-bar { display: flex; align-items: center; justify-content: space-between; margin: -4px 0 8px; }
.cs-back { font-weight: 600; font-size: 13px; }
.cs-back[hidden] { display: none; }
.cs-close { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; font-size: 22px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }
.cs-close:hover { background: var(--bg-alt); }
.cs-tipos { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--border); }
.cs-tipo { border-bottom: 1px solid var(--border); }
.cs-tipo-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; }
.cs-tipo-btn { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; padding-left: 22px; position: relative; }
.cs-tipo-btn::before { content: "+"; position: absolute; left: 2px; top: -1px; font-size: 18px; line-height: 1.2; font-weight: 400; }
.cs-tipo-btn[aria-expanded="true"]::before { content: "\2013"; }
.cs-tipo-t { font-weight: 700; font-size: 14px; color: var(--ink); }
.cs-tipo-s { font-size: 12px; color: var(--text-muted); }
.cs-siempre { font-size: 12px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.cs-tipo-panel { padding: 0 0 12px 22px; }
.cs-tipo-panel[hidden] { display: none; }
.cs-tipo-panel p { font-size: 13px; color: var(--text-muted); }
.cs-switch { position: relative; flex-shrink: 0; display: inline-block; width: 42px; height: 24px; cursor: pointer; }
.cs-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.cs-switch-ui { position: absolute; inset: 0; background: #BDBDBD; border-radius: 999px; transition: background-color .18s ease; }
.cs-switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: #fff; border-radius: 50%; transition: transform .18s ease; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.cs-switch input:checked + .cs-switch-ui { background: var(--red); }
.cs-switch input:checked + .cs-switch-ui::after { transform: translateX(18px); }
.cs-switch input:focus-visible + .cs-switch-ui { outline: 3px solid var(--ink); outline-offset: 2px; }
.cs-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.cs-btn {
  width: 100%; min-height: 44px; padding: 0 14px; border-radius: 8px; cursor: pointer;
  font: 600 14px/1.2 var(--font-body); border: 1.5px solid var(--ink); background: #fff; color: var(--ink);
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.cs-btn:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.cs-btn-accept { background: var(--red); border-color: var(--red); color: #fff; }
.cs-btn-save { border-color: #BDBDBD; }
@media (hover: hover) {
  .cs-btn-reject:hover { background: var(--ink); color: #fff; }
  .cs-btn-save:hover { border-color: var(--ink); }
  .cs-btn-accept:hover { background: var(--red-darker); border-color: var(--red-darker); }
}
@media (max-width: 560px) {
  .cs-banner { right: 12px; bottom: 12px; width: calc(100vw - 24px); max-height: calc(100vh - 24px); padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { .cs-switch-ui, .cs-switch-ui::after { transition: none; } }

/* Aviso mientras el formulario de la newsletter no tiene permiso */
.cs-placeholder {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  padding: 18px 20px; background: #fff; border: 1px solid var(--border); border-radius: 12px;
}
.cs-placeholder[hidden] { display: none; }
.cs-placeholder p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text); }

/* Tabla de la política de cookies: más compacta para que quepa en la columna de lectura */
.cookies-table { font-size: 13px; table-layout: auto; }
.cookies-table thead th { padding: 11px 12px; font-size: 11px; }
.cookies-table tbody td, .cookies-table tbody th[scope="row"] { padding: 12px; width: auto; }
.cookies-table tbody th[scope="row"] { width: 22%; }
.cookies-table code { font-size: 12px; overflow-wrap: anywhere; }

/* Campo trampa antispam de los formularios: invisible para personas */
.hp-campo { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
