/*
Theme Name: ROHU Innovations
Theme URI: https://rohuinnovations.com
Author: ROHU Innovations
Description: Tema a medida de ROHU Innovations (sistemas no tripulados). Al activarlo deja la web lista: reutiliza las páginas existentes (mismas URLs y SEO), crea las que faltan, redirige con 301 las direcciones antiguas y publica la versión en inglés en /en/. Todo se gestiona desde el menú ROHU Web del panel: productos (plantilla única, añadir y duplicar), colaboradores, solicitudes con estado, secciones de la home y configuración del formulario. Textos (ES | EN) en Apariencia → Personalizar → ROHU · Textos.
Version: 4.2.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: rohu
*/

/* =========================================================
   ROHU INNOVATIONS · Hoja de estilos
   ---------------------------------------------------------
    1. Tokens               14. Tecnología
    2. Base                 15. Casos de éxito
    3. Layout               16. CTA
    4. Tipografía           17. Contacto y formulario
    5. Componentes          18. Footer
    6. Header y menú        19. Avisos, volver arriba, modal
    7. Hero (vídeo)         20. Páginas internas (común)
    8. Datos bajo el vídeo  21. Páginas legales y artículos
    9. Colaboran            22. Páginas de producto
   10. Qué hacemos          23. Sobre ROHU
   11. Productos            24. Blog
   12. Por qué ROHU         25. Responsive
   13. Cifras
   ========================================================= */

/* =========================================================
   1. TOKENS
   ========================================================= */
:root {
  /* Color */
  --red: #d0021b;
  --red-dark: #a80016;
  --ink: #0b0d10;          /* negro principal */
  --graphite: #14171b;     /* fondos oscuros */
  --steel: #1d2127;        /* superficies oscuras */
  --paper: #ffffff;
  --mist: #f3f4f6;         /* gris clarito */
  --line: #e2e4e8;
  --line-dark: rgba(255, 255, 255, 0.08);
  --text: #16191d;
  --muted: #5f656d;
  --muted-dark: #9aa0a8;

  /* Tipografía */
  --f-title: "Montserrat", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Anchuras */
  --w-narrow: 760px;
  --w-main: 1240px;
  --w-wide: 1440px;
  --gutter: clamp(20px, 4vw, 64px);

  /* Espaciado vertical de sección */
  --sp: clamp(64px, 7vw, 108px);

  /* Otros */
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow: 0 24px 48px -24px rgba(11, 13, 16, 0.28);
}

/* =========================================================
   2. BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
button:focus, a:focus { outline: none; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* =========================================================
   3. LAYOUT
   ========================================================= */
.wrap {
  width: 100%;
  max-width: calc(var(--w-main) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrap--wide   { max-width: calc(var(--w-wide) + var(--gutter) * 2); }
.wrap--narrow { max-width: calc(var(--w-narrow) + var(--gutter) * 2); }
.container { width: 100%; padding: 0 var(--gutter); }   /* el header usa todo el ancho */

.section { padding: var(--sp) 0; }
.section--white { background: var(--paper); }
.section--light { background: var(--mist); }
.section--dark  { background: var(--graphite); color: #fff; }

/* Rejilla técnica sutil de fondo */
.bg-grid {
  background-image:
    linear-gradient(rgba(11, 13, 16, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 13, 16, 0.035) 1px, transparent 1px);
  background-size: 100% 64px, 64px 100%;
}

/* =========================================================
   4. TIPOGRAFÍA
   ========================================================= */
.h-xl, .h-lg { font-family: var(--f-title); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.h-xl { font-size: clamp(34px, 3.7vw, 58px); }
.h-lg { font-size: clamp(30px, 3vw, 46px); }
.h-xl em, .h-lg em { font-style: normal; color: var(--red); }

.lead { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.65; color: var(--muted); }
.body { font-size: 16px; line-height: 1.7; color: var(--muted); }
.section--dark .body { color: var(--muted-dark); }

/* Etiqueta de sección (estilo técnico) */
.label {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 22px;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text);
}
.label--light { color: #fff; }

/* Etiqueta superior de las páginas internas */
.page__eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--red);
}
.page__eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }

/* =========================================================
   5. COMPONENTES
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 52px; padding: 0 28px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap;
  border: 1px solid transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn svg { transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary, .btn--red { background: var(--red); color: #fff; }
.btn--primary:hover, .btn--red:hover { background: var(--red-dark); }
.btn--ghost-dark, .btn--outline { border-color: rgba(11, 13, 16, 0.25); color: var(--text); }
.btn--ghost-dark:hover, .btn--outline:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--ink); color: #fff; }
.btn--sm { height: 42px; padding: 0 20px; font-size: 13px; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; color: var(--text);
  transition: color 0.2s var(--ease), gap 0.2s var(--ease);
}
.link svg { color: var(--red); }
.link:hover { color: var(--red); gap: 14px; }

/* Cabecera de sección: título a la izquierda + apoyo a la derecha */
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px 80px;
  align-items: end;
  margin-bottom: clamp(48px, 5vw, 72px);
}
.sec-head .h-lg { max-width: 720px; }
.sec-head__side { max-width: 460px; justify-self: end; }

/* Aparición suave al hacer scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.services > .reveal:nth-child(2), .cases > .reveal:nth-child(2), .prods > .reveal:nth-child(2),
.tech-grid > .reveal:nth-child(2), .figures__grid > .reveal:nth-child(2) { transition-delay: 0.08s; }
.cases > .reveal:nth-child(3), .tech-grid > .reveal:nth-child(3) { transition-delay: 0.16s; }

/* Mosaicos de píxeles (eco del logo) */
[data-mosaic] { display: grid; grid-auto-rows: var(--px); }
[data-mosaic] span { display: block; }

/* =========================================================
   6. HEADER Y MENÚ
   ========================================================= */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: linear-gradient(180deg, rgba(11, 13, 16, 0.75), rgba(11, 13, 16, 0));
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}
.header.is-solid {
  background: rgba(11, 13, 16, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line-dark);
}
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; height: var(--header-h); }

.logo { justify-self: start; display: flex; align-items: center; height: var(--header-h); line-height: 0; }
.logo img { display: block; height: 50px; width: auto; object-fit: contain; transition: opacity 0.25s var(--ease); }
.logo:hover img { opacity: 0.85; }

.menu { justify-self: center; }
.menu__list { display: flex; align-items: center; gap: 32px; white-space: nowrap; }
.menu__list > li { position: relative; }
.menu__link {
  position: relative; display: inline-flex; align-items: center; gap: 7px;
  padding: 28px 0;
  font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s var(--ease);
}
.menu__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 20px; height: 1px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.menu__link:hover, .menu__link.is-active { color: #fff; }
.menu__link:hover::after, .menu__link.is-active::after { transform: scaleX(1); }
.menu__tip { display: none; }   /* aviso con el nombre del dron: desactivado */

.nav__right { justify-self: end; display: flex; align-items: center; gap: 26px; }
.nav__mail { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, 0.72); transition: color 0.2s; }
.nav__mail svg { color: var(--red); }
.nav__mail:hover { color: #fff; }

/* Idioma: solo texto rojo */
.lang { display: flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 12.5px; font-weight: 500; letter-spacing: 0.08em; }
.lang__btn { padding: 4px 0; color: var(--red); opacity: 0.5; transition: opacity 0.2s; -webkit-tap-highlight-color: transparent; }
.lang__btn:hover { opacity: 0.85; }
.lang__btn.is-active { opacity: 1; }
.lang__sep { color: var(--red); opacity: 0.45; }

.burger { display: none; flex-direction: column; gap: 5px; width: 26px; }
.burger span { display: block; height: 2px; background: #fff; transition: transform 0.3s var(--ease), opacity 0.3s; }
.header.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header.menu-open .burger span:nth-child(2) { opacity: 0; }
.header.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   7. HERO (vídeo a pantalla completa)
   ========================================================= */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--ink); }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 13, 16, 0.35) 0%, transparent 18%, transparent 78%, var(--ink) 100%);
}

/* =========================================================
   8. DATOS BAJO EL VÍDEO (X-Interceptor | AllDrone 440)
   ► Separación entre los dos bloques: --spec-gap
   ========================================================= */
.spec-strip {
  --spec-gap: clamp(32px, 6vw, 100px);
  position: relative; padding: 36px 0 44px;
  background: var(--ink); color: #fff;
}
.spec-tabs { display: none; }                       /* pestañas: solo móvil */
.spec-split__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spec-gap); }

.spec-panel { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line-dark); }
.spec-panel__head {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.02);
}
.spec-panel__name { display: flex; align-items: center; gap: 12px; font-family: var(--f-title); font-size: 17px; font-weight: 600; letter-spacing: 0.01em; }
.spec-panel__name::before { content: ""; width: 8px; height: 8px; background: var(--red); }
.spec-panel__link { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, 0.72); white-space: nowrap; transition: color 0.2s, gap 0.2s; }
.spec-panel__link svg { width: 14px; height: 14px; color: var(--red); }
.spec-panel__link:hover { color: #fff; gap: 12px; }

/* 4 datos en rejilla 2 × 2: cada dato con aire suficiente */
.spec-panel__kpis { display: grid; grid-template-columns: 1fr 1fr; flex: 1; }
.kpi {
  position: relative; display: flex; align-items: center; gap: 16px;
  padding: 24px;
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), background 0.3s var(--ease);
}
.kpi:nth-child(even) { border-left: 1px solid var(--line-dark); }
.kpi:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
.kpi::before {                                     /* línea roja al pasar el ratón */
  content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 2px;
  background: var(--red); transform: scaleX(0); transition: transform 0.4s var(--ease);
}
.kpi:hover { background: rgba(255, 255, 255, 0.02); }
.kpi:hover::before { transform: scaleX(1); }
.stats-band.is-visible .kpi { opacity: 1; transform: none; }
.stats-band.is-visible .kpi:nth-child(2) { transition-delay: 0.08s; }
.stats-band.is-visible .kpi:nth-child(3) { transition-delay: 0.16s; }
.stats-band.is-visible .kpi:nth-child(4) { transition-delay: 0.24s; }
.kpi__icon {
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  color: var(--red); border: 1px solid rgba(208, 2, 27, 0.45); background: rgba(208, 2, 27, 0.06);
}
.kpi__data { display: flex; flex-direction: column; min-width: 0; }
.kpi__key { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-dark); }
.kpi__value { margin: 6px 0 4px; font-family: var(--f-title); font-size: clamp(24px, 2vw, 30px); font-weight: 600; line-height: 1; letter-spacing: -0.02em; white-space: nowrap; }
.kpi__value span { font: inherit; }
.kpi__value small { margin-left: 4px; font-size: 0.5em; font-weight: 600; color: var(--red); letter-spacing: 0; }
.kpi__label { font-size: 12.5px; line-height: 1.4; color: var(--muted-dark); }

/* =========================================================
   9. COLABORAN CON NOSOTROS (carrusel)
   ► Para poner logos: cambia el contenido de cada <li> por <img>
   ========================================================= */
.trust { padding: 30px 0 32px; background: var(--paper); border-bottom: 1px solid var(--line); }
.trust__title { text-align: center; font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); }
.trust__viewport {
  margin-top: 20px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.trust__track { display: flex; width: max-content; }
.trust__track.is-running { animation: trustScroll var(--trust-dur, 30s) linear infinite; }
.trust:hover .trust__track { animation-play-state: paused; }
@keyframes trustScroll { to { transform: translateX(-50%); } }
.trust__item {
  flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  width: 240px; height: 96px; margin-right: 16px; padding: 12px 18px;
  text-align: center; color: #8b9097;
  background: var(--paper); border: 1px solid var(--line);
  transition: border-color 0.3s, color 0.3s;
}
.trust__item:hover { border-color: var(--red); color: var(--text); }
.trust__item small { font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; line-height: 1.4; text-transform: uppercase; }
.trust__item img { max-width: 180px; max-height: 56px; object-fit: contain; filter: grayscale(1); opacity: 0.75; transition: filter 0.3s, opacity 0.3s; }
.trust__item:hover img { filter: none; opacity: 1; }

/* =========================================================
   10. QUÉ HACEMOS (Fabricación UAV en formato largo)
   ========================================================= */
#fabricacion { padding: clamp(56px, 6vw, 88px) 0; }
.intro {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px 72px; align-items: end; margin-bottom: 44px;
}
.intro .h-xl { font-size: clamp(28px, 2.5vw, 40px); max-width: 640px; }
.intro .lead { font-size: 15.5px; }
.intro .actions { margin-top: 24px; }
.intro .btn { height: 46px; padding: 0 22px; font-size: 13.5px; }

.services { display: grid; grid-template-columns: 1fr; }
.service {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  background: var(--paper); border: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}
.service:hover { box-shadow: var(--shadow); }
.service__media { position: relative; min-height: 380px; overflow: hidden; background: var(--ink); }
.service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.service:hover .service__media img { transform: scale(1.05); }
.service__media::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 3px; background: var(--red); }
.service__main { display: flex; flex-direction: column; padding: clamp(32px, 3.5vw, 52px); }
.service__head { display: flex; margin-bottom: 26px; }
.service__icon {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; color: var(--red);
  background: var(--paper); border: 1px solid var(--line);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s;
}
.service__icon svg { width: 22px; height: 22px; }
.service:hover .service__icon { background: var(--red); border-color: var(--red); color: #fff; }
.service__title { margin-bottom: 10px; font-family: var(--f-title); font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -0.01em; }
.service__desc { max-width: 560px; font-size: 15.5px; line-height: 1.7; color: var(--muted); }
.service__list {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 10px 28px;
  margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 13.5px;
}
.service__list li { display: flex; gap: 10px; align-items: baseline; }
.service__list li::before { content: ""; flex-shrink: 0; width: 5px; height: 5px; background: var(--red); transform: translateY(-2px); }
.service__products { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: auto; padding-top: 28px; }
.service__products-k { margin-right: 6px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.service__product {
  display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 18px;
  font-size: 13.5px; font-weight: 600;
  border: 1px solid var(--line);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.service__product svg { width: 14px; height: 14px; color: var(--red); transition: transform 0.2s; }
.service__product:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.service__product:hover svg { transform: translateX(3px); }

/* =========================================================
   11. PRODUCTOS (dos drones)
   ========================================================= */
.prods-sec { background: radial-gradient(ellipse at 15% 0%, rgba(208, 2, 27, 0.16), transparent 50%), var(--graphite); }
.prods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.prod {
  display: flex; flex-direction: column;
  background: var(--steel); border: 1px solid var(--line-dark);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.prod:hover { border-color: rgba(208, 2, 27, 0.55); transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7); }
.prod__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #e9ebee; }
.prod__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.prod:hover .prod__media img { transform: scale(1.05); }
.prod__media::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 3px; background: var(--red); transition: width 0.5s var(--ease); }
.prod:hover .prod__media::after { width: 100%; }
.prod__body { display: flex; flex-direction: column; flex: 1; padding: 28px 30px 26px; }
.prod__name { font-family: var(--f-title); font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -0.01em; color: #fff; }
.prod__desc { flex: 1; margin-top: 8px; font-size: 15px; line-height: 1.65; color: var(--muted-dark); }
.prod__link {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px; font-weight: 600; color: #fff; transition: color 0.2s;
}
.prod__link svg { color: var(--red); transition: transform 0.25s var(--ease); }
.prod:hover .prod__link svg { transform: translateX(4px); }
.prod__link:hover { color: var(--red); }

/* =========================================================
   12. POR QUÉ ROHU (imagen a sangre + 6 razones)
   ========================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: min(72vh, 620px); background: var(--mist); }
.split__media { position: relative; overflow: hidden; background: var(--ink); }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__media .mosaic { --px: 18px; position: absolute; right: 0; bottom: 0; }
.split__content { display: flex; align-items: center; padding: clamp(48px, 5vw, 80px) var(--gutter); }
.split__inner { width: 100%; max-width: 600px; margin-left: clamp(0px, 4vw, 80px); }
.split .h-lg { font-size: clamp(26px, 2.4vw, 38px); }

.pillars { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; margin-top: 28px; border-top: 1px solid var(--line); }
.pillars li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pillars__icon { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: var(--paper); border: 1px solid var(--line); color: var(--red); }
.pillars h3 { margin-bottom: 4px; font-family: var(--f-title); font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.pillars p { font-size: 13px; line-height: 1.5; color: var(--muted); }

/* =========================================================
   13. CIFRAS
   ========================================================= */
.figures { position: relative; padding: clamp(56px, 6vw, 88px) 0; color: #fff; background: radial-gradient(ellipse at 50% 0%, rgba(208, 2, 27, 0.12), transparent 55%), var(--ink); }
.figures__head { text-align: center; margin-bottom: 40px; }
.figures__eyebrow { display: inline-flex; align-items: center; gap: 14px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red); }
.figures__eyebrow::before, .figures__eyebrow::after { content: ""; width: 32px; height: 1px; background: currentColor; }
.figures__title { margin-top: 14px; font-family: var(--f-title); font-size: clamp(22px, 2vw, 30px); font-weight: 600; letter-spacing: -0.01em; }
.figures__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 760px; margin: 0 auto; }
.figure {
  position: relative; display: flex; flex-direction: column; align-items: center;
  padding: 34px 20px 30px; text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line-dark);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.figure::before { content: ""; position: absolute; top: -1px; left: 50%; width: 40px; height: 2px; background: var(--red); transform: translateX(-50%); transition: width 0.4s var(--ease); }
.figure:hover { border-color: rgba(208, 2, 27, 0.5); transform: translateY(-3px); }
.figure:hover::before { width: 100%; }
.figure__icon { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-bottom: 18px; color: var(--red); border: 1px solid rgba(208, 2, 27, 0.4); border-radius: 50%; }
.figure__value { font-family: var(--f-title); font-size: clamp(32px, 3vw, 44px); font-weight: 600; line-height: 1; letter-spacing: -0.02em; }
.figure__value i { font-style: normal; color: var(--red); margin-right: 2px; }
.figure__value span { font: inherit; }
.figure__label { margin-top: 12px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-dark); }

/* =========================================================
   14. TECNOLOGÍA
   ========================================================= */
#tecnologia { padding: clamp(64px, 6vw, 96px) 0; }
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.tech-item { display: flex; flex-direction: column; padding: 32px 28px 34px; background: var(--paper); transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.tech-item__icon { margin-bottom: 16px; color: var(--red); }
.tech-item h3 { margin-bottom: 8px; font-family: var(--f-title); font-size: 16px; font-weight: 600; }
.tech-item p { font-size: 13.5px; color: var(--muted); transition: color 0.3s; }
.tech-item:hover { background: var(--ink); color: #fff; }
.tech-item:hover p { color: var(--muted-dark); }

/* =========================================================
   15. CASOS DE ÉXITO
   ========================================================= */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.case { display: flex; flex-direction: column; background: var(--paper); transition: box-shadow 0.3s var(--ease); }
.case:hover { box-shadow: var(--shadow); }
.case__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.case__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.case:hover .case__media img { transform: scale(1.05); }
.case__badge {
  position: absolute; left: 20px; top: 20px;
  padding: 5px 10px; background: #fff; color: var(--red);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em;
}
.case__body { display: flex; flex-direction: column; flex: 1; padding: 30px 30px 0; }
.case__title { min-height: 2.6em; font-family: var(--f-title); font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.case__desc { min-height: calc(1.6em * 3); margin-top: 10px; font-size: 14.5px; color: var(--muted); }
.case__kpis { display: grid; grid-template-columns: 1fr 1fr; margin-top: 26px; border-top: 1px solid var(--line); }
.case__kpis div { display: flex; flex-direction: column; gap: 4px; padding: 20px 0; }
.case__kpis div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.case__kpis strong { font-family: var(--f-title); font-size: 30px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; color: var(--red); }
.case__kpis span { font-size: 12.5px; color: var(--muted); }
.case__link { justify-content: space-between; margin-top: auto; padding: 20px 0 26px; border-top: 1px solid var(--line); }

/* =========================================================
   16. CTA (franja roja)
   ► ALTURA de la franja: --cta-pad · tamaño de los cuadraditos: --px
   ========================================================= */
.cta {
  --cta-pad: 52px;
  position: relative; overflow: hidden;
  padding: var(--cta-pad) 0;
  color: #fff; text-align: center;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(208, 2, 27, 0.55), transparent 60%),
    linear-gradient(180deg, #5c0712 0%, #8e0214 100%);
}
.cta__mosaic { --px: 20px; position: absolute; top: 50%; transform: translateY(-50%); opacity: 0.9; }
.cta__mosaic--left { left: 0; }
.cta__mosaic--right { right: 0; }
.cta__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.cta__title { font-family: var(--f-title); font-size: clamp(20px, 1.8vw, 28px); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
.cta__text { margin: 8px 0 20px; font-size: 14px; color: rgba(255, 255, 255, 0.8); }
.cta .btn { height: 42px; padding: 0 22px; font-size: 13px; }

/* =========================================================
   17. CONTACTO Y FORMULARIO
   ========================================================= */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px 96px; align-items: stretch; }
.contact__aside .body { margin-top: 22px; max-width: 440px; }
.contact__info { margin-top: 44px; border-top: 1px solid var(--line); }
.contact__info li { display: grid; grid-template-columns: 24px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact__info svg { color: var(--red); margin-top: 2px; }
.contact__info small { display: block; margin-bottom: 2px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.contact__info a:hover { color: var(--red); }

.hours { display: grid; gap: 4px; margin-top: 4px; min-width: 240px; }
.hours div { display: flex; justify-content: space-between; gap: 24px; padding: 3px 0; border-bottom: 1px dashed var(--line); }
.hours div:last-child { border-bottom: 0; }
.hours dt { color: var(--text); }
.hours dd { font-family: var(--f-mono); font-size: 13.5px; color: var(--text); }
.hours__closed dd { color: var(--red); font-family: var(--f-body); font-size: 13px; font-weight: 600; }

/* El formulario ocupa la misma altura que el texto de la izquierda */
.contact__form { display: flex; flex-direction: column; padding: clamp(28px, 3.5vw, 52px); background: var(--mist); }
.form { display: flex; flex-direction: column; gap: 20px; flex: 1; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; font-size: 13px; font-weight: 500; color: var(--text); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px;
  font: inherit; font-size: 15px; font-weight: 400; color: var(--text);
  background: var(--paper); border: 1px solid var(--line); border-radius: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(11, 13, 16, 0.06); }
.field--grow { flex: 1; display: flex; flex-direction: column; }
.field--grow textarea { flex: 1; min-height: 140px; }
.form .is-error { border-color: var(--red); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 8px; }
.form__checks { display: grid; gap: 10px; }
.form__check { display: flex; gap: 12px; align-items: flex-start; max-width: 360px; font-size: 13px; color: var(--muted); }
.form__check input { margin-top: 3px; accent-color: var(--red); }
.form__check.is-error span { color: var(--red); }
.form__check.is-error input { outline: 2px solid var(--red); outline-offset: 2px; }
.form button[disabled] { opacity: 0.7; cursor: progress; }
.form__ok { display: none; margin: auto 0; padding: 60px 20px; text-align: center; }
.form__ok.is-visible { display: block; }
.form__ok svg { color: var(--red); margin: 0 auto; }
.form__ok h3, .form__ok .form__ok-title { margin: 18px 0 8px; font-family: var(--f-title); font-size: 24px; font-weight: 600; color: var(--text); }
.form__ok p { color: var(--muted); }

/* =========================================================
   18. FOOTER
   ========================================================= */
.footer { position: relative; overflow: hidden; padding: 56px 0 24px; font-size: 14px; color: var(--muted-dark); background: var(--ink); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 32px; }
.footer__grid > * + * { padding-left: 28px; border-left: 1px solid var(--line-dark); }

/* Logo del footer
   ► --logo-h: tamaño · --logo-trim-x / --logo-trim-y: recortan el margen transparente de la imagen */
.footer__logo {
  --logo-h: 50px;
  --logo-trim-x: 20px;
  --logo-trim-y: 16px;
  display: inline-block; line-height: 0;
  margin: calc(var(--logo-trim-y) * -1) 0 calc(var(--logo-trim-y) * -1) calc(var(--logo-trim-x) * -1);
}
.footer__logo img { height: var(--logo-h); width: auto; object-fit: contain; margin-left: 20px; }
.footer__brand p { margin-top: 22px; max-width: 320px; line-height: 1.65; }

.footer__social { display: flex; gap: 10px; margin-top: 22px; }
.footer__social a {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; color: #c9ccd0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.footer__social a:hover { background: var(--red); border-color: var(--red); color: #fff; }

.footer__col h4, .footer__col .footer__title { margin-bottom: 16px; font-family: var(--f-title); font-size: 15px; font-weight: 600; color: #fff; }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { transition: color 0.2s; }
.footer__col a:hover { color: #fff; }
.footer__col > p { line-height: 1.6; }

.footer__form { display: flex; margin-top: 16px; }
.footer__form input {
  flex: 1; min-width: 0; padding: 12px 14px;
  font: inherit; font-size: 13px; color: #fff;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.12); border-right: 0;
}
.footer__form input::placeholder { color: #7d828a; }
.footer__form input:focus, .footer__form input.is-error { outline: none; border-color: var(--red); }
.footer__form button { width: 46px; background: var(--red); color: #fff; transition: background 0.2s; }
.footer__form button:hover { background: var(--red-dark); }

.footer__contact { display: grid; gap: 10px; margin-top: 20px; }
.footer__contact li { display: flex; align-items: center; gap: 10px; color: #d4d6d9; }
.footer__contact svg { flex-shrink: 0; color: var(--red); }
.footer__contact a:hover { color: #fff; }

.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
  margin-top: 40px; padding-top: 22px;
  border-top: 1px solid var(--line-dark);
  font-size: 12.5px;
}
.footer__legal { display: flex; flex-wrap: wrap; }
.footer__legal a { padding: 0 14px; border-left: 1px solid rgba(255, 255, 255, 0.15); transition: color 0.2s; }
.footer__legal a:first-child { padding-left: 0; border-left: 0; }
.footer__legal a:hover { color: #fff; }
.footer__mosaic { --px: 12px; position: absolute; right: 24px; bottom: 76px; }
.trust__item--logo img { max-width: 190px; max-height: 60px; }

/* =========================================================
   19. AVISOS, VOLVER ARRIBA Y MODAL
   ========================================================= */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 250;
  padding: 14px 24px;
  font-size: 14px; color: #fff; background: var(--ink);
  border-left: 3px solid var(--red);
  transform: translate(-50%, 90px); opacity: 0; pointer-events: none;
  transition: transform 0.35s var(--ease), opacity 0.35s;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

.to-top {
  position: fixed; right: 28px; bottom: 28px; z-index: 90;
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  color: #fff; background: var(--ink); border: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s var(--ease), background 0.2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--red); }

.modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center; padding: 16px;
  background: rgba(11, 13, 16, 0.8);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box { position: relative; width: 100%; max-width: 720px; max-height: 92vh; overflow: auto; background: var(--paper); color: var(--text); }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 40px; height: 40px; font-size: 26px; line-height: 1; background: var(--paper); }

/* =========================================================
   20. PÁGINAS INTERNAS (se abren en la misma pestaña)
   ========================================================= */
.page { animation: pageIn 0.4s var(--ease); }
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.page__lead { max-width: 700px; margin-top: 18px; font-size: 17px; line-height: 1.65; color: rgba(255, 255, 255, 0.78); }
.page__actions { margin-top: 30px; }
.page__sec { padding: clamp(56px, 6vw, 96px) 0; }

/* =========================================================
   21. PÁGINAS LEGALES Y ARTÍCULOS DEL BLOG
   ========================================================= */
.legal__hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 56px;
  color: #fff;
  background: radial-gradient(ellipse at 80% 0%, rgba(208, 2, 27, 0.18), transparent 50%), var(--ink);
  border-bottom: 1px solid var(--line-dark);
}
.legal__title { margin-top: 18px; font-family: var(--f-title); font-size: clamp(32px, 3.4vw, 52px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.legal__meta { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 13.5px; color: var(--muted-dark); }
.legal__meta:not(:empty)::before { content: ""; width: 8px; height: 8px; background: var(--red); }

/* Cabecera de artículo */
.page__hero { overflow: hidden; padding-bottom: 72px; }
.page__hero .wrap { position: relative; z-index: 2; }
.page__hero .legal__title { max-width: 860px; }
.page__mosaic { --px: 18px; position: absolute; right: 0; bottom: 0; z-index: 1; opacity: 0.85; }
.page__badge { position: static; display: table; margin-top: 22px; }
.page__badge + .legal__title { margin-top: 14px; }
.ar-back { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-dark); transition: color 0.2s, gap 0.2s; }
.ar-back svg { color: var(--red); }
.ar-back:hover { color: #fff; gap: 14px; }

.legal__layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 72px; padding-top: 64px; padding-bottom: 104px; }
.legal__aside { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.legal__aside-title { margin: 0 0 12px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.legal__aside-title + .legal__tabs, .legal__aside-title + .legal__toc { margin-bottom: 36px; }
.legal__tabs { display: grid; border: 1px solid var(--line); }
.legal__tabs a { position: relative; padding: 14px 18px; font-size: 14px; font-weight: 500; color: var(--muted); transition: color 0.2s, background 0.2s; }
.legal__tabs a + a { border-top: 1px solid var(--line); }
.legal__tabs a:hover, .legal__tabs a.is-active { color: var(--text); background: var(--mist); }
.legal__tabs a.is-active::before { content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 3px; background: var(--red); }
.legal__toc { display: grid; gap: 2px; border-left: 1px solid var(--line); }
.legal__toc a { display: block; margin-left: -1px; padding: 6px 0 6px 16px; font-size: 13px; color: var(--muted); border-left: 2px solid transparent; transition: color 0.2s, border-color 0.2s; }
.legal__toc a:hover, .legal__toc a.is-active { color: var(--text); border-left-color: var(--red); }
.legal__back { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--text); transition: color 0.2s, gap 0.2s; }
.legal__back svg { color: var(--red); }
.legal__back:hover { color: var(--red); gap: 14px; }

.legal__content { max-width: 780px; }
.legal__lang-note { margin-bottom: 28px; padding: 12px 16px; font-size: 13.5px; color: var(--muted); background: var(--mist); border-left: 3px solid var(--red); }
.legal__lang-note:empty { display: none; }

.legal-doc { display: none; }
.legal-doc.is-active { display: block; animation: pageIn 0.4s var(--ease); }
.legal-doc__intro { padding-bottom: 32px; margin-bottom: 8px; font-size: 17px; line-height: 1.7; color: var(--text); border-bottom: 1px solid var(--line); }
.legal-doc section { padding: 36px 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 24px); }
.legal-doc section:first-child { padding-top: 0; }
.legal-doc section:last-child { border-bottom: 0; }
.legal-doc h2 { margin-bottom: 16px; font-family: var(--f-title); font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.legal-doc h3 { font-family: var(--f-title); font-size: 16px; font-weight: 600; }
.legal-doc h3 em { font-style: normal; font-weight: 500; font-size: 13.5px; color: var(--muted); }
.legal-doc p { margin-top: 12px; font-size: 15.5px; line-height: 1.75; color: #3d4148; }
.legal-doc p:first-of-type { margin-top: 0; }
.legal-doc a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.legal-doc a:hover { color: var(--red-dark); }
.legal-doc strong { color: var(--text); font-weight: 600; }
.legal-doc ul, .legal-doc ol { display: grid; gap: 10px; margin: 16px 0; font-size: 15px; line-height: 1.65; color: #3d4148; }
.legal-doc ul li, .legal-doc ol li { position: relative; padding-left: 22px; }
.legal-doc ul li::before, .legal-doc ol li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; background: var(--red); }

.legal-card { margin-top: 20px; background: var(--mist); border: 1px solid var(--line); border-top: 3px solid var(--red); }
.legal-card div { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 14px 22px; }
.legal-card div + div { border-top: 1px solid var(--line); }
.legal-card dt { padding-top: 2px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.legal-card dd { font-size: 15px; color: var(--text); }
.legal-card a { text-decoration: none; }

.legal-doc ul.legal-grid { grid-template-columns: 1fr 1fr; }
.legal-doc ul.legal-grid li { padding: 14px 16px 14px 36px; border: 1px solid var(--line); }
.legal-doc ul.legal-grid li::before { left: 16px; top: 22px; }

.legal-types { display: grid; gap: 12px; margin-top: 20px; }
.legal-types > div { padding: 20px 22px; border: 1px solid var(--line); transition: border-color 0.2s; }
.legal-types > div:hover { border-color: #c9ccd1; }
.legal-types p { margin-top: 6px !important; font-size: 14.5px; }

.legal-doc ul.legal-links, .legal-doc ul.pg-res { gap: 0; border: 1px solid var(--line); }
.legal-doc ul.legal-links li + li, .legal-doc ul.pg-res li + li { border-top: 1px solid var(--line); }
.legal-doc ul.legal-links li::before, .legal-doc ul.pg-res li::before { display: none; }
.legal-doc ul.legal-links li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 20px; }
.legal-doc ul.legal-links a { font-size: 14px; white-space: nowrap; }
.legal-doc ul.legal-links a::after { content: " ↗"; }

/* Contenido de artículo */
.article__img { margin: 0 0 40px; aspect-ratio: 16 / 8; overflow: hidden; }
.article__img img { width: 100%; height: 100%; object-fit: cover; }
.article__k { margin: 0 0 8px !important; font-family: var(--f-mono); font-size: 11.5px !important; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red) !important; }
.article__h3 { margin-top: 26px; }
.article__others { display: grid; margin-bottom: 28px; border: 1px solid var(--line); }
.article__others li + li { border-top: 1px solid var(--line); }
.article__others a { display: block; padding: 14px 18px; font-size: 14px; font-weight: 500; line-height: 1.45; color: var(--muted); transition: color 0.2s, background 0.2s; }
.article__others a:hover { color: var(--text); background: var(--mist); }
.article__btn { width: 100%; justify-content: center; margin-bottom: 28px; }
.legal-doc ul.pg-res li { display: flex; gap: 14px; align-items: center; padding: 16px 20px; color: var(--text); }
.pg-res__ic { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; color: #fff; background: var(--red); }

/* =========================================================
   22. PÁGINAS DE PRODUCTO (X-Interceptor · AllDrone 440)
   ========================================================= */
.pd-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + 64px) 0 0; color: #fff; background: var(--ink); }
.pd-hero__bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 72% 45%, rgba(208, 2, 27, 0.22), transparent 45%),
    radial-gradient(ellipse at 0% 100%, rgba(208, 2, 27, 0.12), transparent 40%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 100% 48px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 48px 100%;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent);
  mask-image: linear-gradient(180deg, #000 55%, transparent);
}
.pd-hero__word {
  position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%);
  font-family: var(--f-title); font-weight: 700; font-size: clamp(110px, 16vw, 290px);
  line-height: 1; letter-spacing: -0.04em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.06);
  pointer-events: none; user-select: none;
}
.pd-hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px);
  align-items: center; padding-bottom: clamp(48px, 5vw, 80px);
}
.pd-hero__title { margin-top: 20px; font-family: var(--f-title); font-size: clamp(40px, 4.6vw, 72px); font-weight: 700; line-height: 0.95; letter-spacing: -0.035em; white-space: nowrap; }
.pd-hero__title span { color: var(--red); }
.pd-hero__sub { margin-top: 20px; font-size: 17px; font-weight: 600; color: var(--red); }
.pd-hero__lead { max-width: 520px; margin-top: 14px; font-size: 16.5px; line-height: 1.7; color: var(--muted-dark); }
.pd-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 34px; }
.pd-hero__more { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.75); transition: color 0.2s; }
.pd-hero__more svg { color: var(--red); animation: pdBounce 1.8s var(--ease) infinite; }
.pd-hero__more:hover { color: #fff; }
@keyframes pdBounce { 50% { transform: translateY(4px); } }

/* Visor tipo HUD */
.pd-hud { position: relative; padding: 30px; }
.pd-hud__c { position: absolute; z-index: 2; width: 26px; height: 26px; border: 0 solid var(--red); }
.pd-hud__c--tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.pd-hud__c--tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.pd-hud__c--bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.pd-hud__c--br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.pd-hud__label {
  position: absolute; top: 6px; left: 42px; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-dark);
}
.pd-hud__label i { width: 6px; height: 6px; background: var(--red); animation: pdBlink 1.6s steps(2) infinite; }
@keyframes pdBlink { 50% { opacity: 0.2; } }
.pd-hud__axis { position: absolute; z-index: 0; background: rgba(255, 255, 255, 0.07); }
.pd-hud__axis--x { left: 0; right: 0; top: 50%; height: 1px; }
.pd-hud__axis--y { top: 0; bottom: 0; left: 50%; width: 1px; }
.pd-hud__img { position: relative; z-index: 1; aspect-ratio: 16 / 10; overflow: hidden; background: #e9ebee; box-shadow: 0 50px 90px -40px rgba(208, 2, 27, 0.45); }
.pd-hud__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pd-hud:hover .pd-hud__img img { transform: scale(1.04); }
.pd-hud__scan {
  position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(208, 2, 27, 0.9), transparent);
  box-shadow: 0 0 18px rgba(208, 2, 27, 0.6);
  animation: pdScan 4.5s linear infinite;
}
@keyframes pdScan { 0% { top: 0; opacity: 0; } 8%, 92% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

/* Franja de datos */
.pd-ribbon { position: relative; z-index: 1; border-top: 1px solid var(--line-dark); background: rgba(255, 255, 255, 0.02); }
.pd-ribbon__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.pd-ribbon__cell { position: relative; display: flex; flex-direction: column; padding: 30px 26px 32px; }
.pd-ribbon__cell + .pd-ribbon__cell { border-left: 1px solid var(--line-dark); }
.pd-ribbon__cell:first-child { padding-left: 0; }
.pd-ribbon__cell::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.pd-ribbon__cell:hover::before { transform: scaleX(1); }
.pd-ribbon__k { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-dark); }
.pd-ribbon__v { margin: 10px 0 6px; font-family: var(--f-title); font-size: clamp(26px, 2.4vw, 36px); font-weight: 600; line-height: 1; letter-spacing: -0.02em; }
.pd-ribbon__v small { margin-left: 4px; font-size: 0.5em; color: var(--red); }
.pd-ribbon__l { font-size: 13px; color: var(--muted-dark); }

/* Qué fabricamos: tres columnas */
.pd-what { padding: var(--sp) 0; background: var(--paper); }
.pd-what__head { max-width: 920px; }
.pd-what__title { font-family: var(--f-title); font-size: clamp(28px, 3vw, 46px); font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; }
.pd-what__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); margin-top: clamp(40px, 4vw, 64px); }
.pd-what__col { position: relative; padding-top: 22px; border-top: 1px solid var(--line); }
.pd-what__col::before { content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 2px; background: var(--red); transition: width 0.5s var(--ease); }
.pd-what__col:hover::before { width: 100%; }
.pd-what__col p { font-size: 15.5px; line-height: 1.75; color: var(--muted); }

/* Características */
.pd-feat { padding: var(--sp) 0; background: var(--mist); scroll-margin-top: var(--header-h); }
.pd-feat__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 104px); align-items: start; }
.pd-feat__media { position: sticky; top: calc(var(--header-h) + 40px); }
.pd-feat__frame { position: relative; padding: 18px; }
.pd-feat__frame img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #e9ebee; }
.pd-feat__title { margin-bottom: 18px; font-family: var(--f-title); font-size: clamp(28px, 3vw, 44px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.pd-feat__body .body + .body { margin-top: 12px; }
.pd-list { margin-top: 36px; border-top: 1px solid var(--line); }
.pd-list li {
  display: grid; grid-template-columns: 28px 1fr; align-items: center;
  padding: 20px 16px 20px 0; border-bottom: 1px solid var(--line);
  transition: background 0.25s, padding-left 0.25s var(--ease);
}
.pd-list li:hover { background: var(--paper); padding-left: 16px; }
.pd-list__m { width: 8px; height: 8px; background: var(--red); }
.pd-list__t { font-size: 16px; line-height: 1.55; color: var(--text); }

/* Enlace al otro producto */
.pd-next { padding: clamp(48px, 5vw, 80px) 0; background: var(--graphite); }
.pd-next__card {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: stretch;
  overflow: hidden; color: #fff; background: var(--steel); border: 1px solid var(--line-dark);
  transition: border-color 0.3s var(--ease);
}
.pd-next__card:hover { border-color: rgba(208, 2, 27, 0.6); }
.pd-next__text { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 4vw, 64px); }
.pd-next__name { margin-top: 16px; font-family: var(--f-title); font-size: clamp(32px, 3.4vw, 52px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.pd-next__link { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-size: 14px; font-weight: 600; transition: gap 0.2s, color 0.2s; }
.pd-next__link svg { color: var(--red); }
.pd-next__card:hover .pd-next__link { gap: 16px; color: var(--red); }
.pd-next__img { position: relative; min-height: 300px; overflow: hidden; background: #e9ebee; }
.pd-next__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.pd-next__card:hover .pd-next__img img { transform: scale(1.05); }

/* ---------- X-Interceptor: capacidades y sensores ---------- */
.xi-caps { padding: var(--sp) 0; color: #fff; background: radial-gradient(ellipse at 85% 0%, rgba(208, 2, 27, 0.16), transparent 50%), var(--graphite); }
.xi-caps .h-lg { color: #fff; }
.xi-caps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.xi-cap {
  position: relative; padding: clamp(28px, 3vw, 40px);
  background: var(--steel); border: 1px solid var(--line-dark);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.xi-cap::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--red); transform: scaleX(0.18); transform-origin: left; transition: transform 0.5s var(--ease); }
.xi-cap:hover { border-color: rgba(208, 2, 27, 0.45); transform: translateY(-3px); }
.xi-cap:hover::before { transform: scaleX(1); }
.xi-cap__icon { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 28px; color: var(--red); border: 1px solid rgba(208, 2, 27, 0.45); background: rgba(208, 2, 27, 0.06); }
.xi-cap h3 { font-family: var(--f-title); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.xi-cap p { margin-top: 12px; font-size: 15px; line-height: 1.7; color: #c3c7cd; }

.xi-sensors { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 24px; border: 1px solid var(--line-dark); }
.xi-sensor { padding: 26px 24px 28px; transition: background 0.3s; }
.xi-sensor + .xi-sensor { border-left: 1px solid var(--line-dark); }
.xi-sensor:hover { background: rgba(255, 255, 255, 0.03); }
.xi-sensor__top { display: flex; align-items: center; gap: 12px; }
.xi-sensor__icon { display: flex; color: var(--red); }
.xi-sensor__k { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-dark); }
.xi-sensor__t { margin-top: 16px; font-family: var(--f-title); font-size: 18px; font-weight: 600; }
.xi-sensor ul { display: grid; gap: 8px; margin-top: 14px; }
.xi-sensor li { display: flex; align-items: baseline; gap: 10px; font-size: 13.5px; color: #c3c7cd; }
.xi-sensor li::before { content: ""; flex-shrink: 0; width: 5px; height: 5px; background: var(--red); transform: translateY(-2px); }

/* ---------- X-Interceptor: especificaciones técnicas ---------- */
.xi-specs__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 12px; }
.xi-spec { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--red); }
.xi-spec__title { padding: 16px 20px; font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text); border-bottom: 1px solid var(--line); }
.xi-spec dl div { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 12px; padding: 12px 20px; }
.xi-spec dl div + div { border-top: 1px solid var(--line); }
.xi-spec dt { font-size: 13px; color: var(--muted); }
.xi-spec dd { font-size: 14px; font-weight: 600; color: var(--text); }

.xi-sys { margin-top: 24px; padding: 26px 26px 22px; color: #fff; background: var(--ink); }
.xi-sys__title { margin-bottom: 14px; font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); }
.xi-sys ul { display: grid; }
.xi-sys li { display: flex; align-items: center; gap: 12px; padding: 12px 0; font-size: 14px; line-height: 1.45; border-top: 1px solid var(--line-dark); }
.xi-sys__ic { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; color: #fff; background: var(--red); }

@media (max-width: 1100px) {
  .xi-sensors { grid-template-columns: 1fr 1fr; }
  .xi-sensor:nth-child(3) { border-left: 0; }
  .xi-sensor:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
}
@media (max-width: 1024px) {
  .xi-caps__grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .xi-specs__grid { grid-template-columns: 1fr; }
  .xi-sensors { grid-template-columns: 1fr; }
  .xi-sensor + .xi-sensor { border-left: 0; border-top: 1px solid var(--line-dark); }
  .xi-spec dl div { padding: 11px 16px; }
}


/* =========================================================
   23. SOBRE ROHU
   ========================================================= */
.ab-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + 80px) 0 88px; color: #fff; background: var(--ink); }
.ab-hero__photo { position: absolute; top: 0; right: 0; bottom: 0; width: 55%; }
.ab-hero__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.6) brightness(0.6); }
.ab-hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(11, 13, 16, 0.75) 45%, rgba(11, 13, 16, 0.35) 100%); }
.ab-hero__grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 15% 100%, rgba(208, 2, 27, 0.2), transparent 55%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 100% 72px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 72px 100%;
}
.ab-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 6vw, 112px); align-items: end; }
.ab-hero__title { max-width: 820px; margin-top: 20px; font-family: var(--f-title); font-size: clamp(36px, 4.2vw, 64px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
.ab-hero .page__lead { max-width: 640px; font-size: 18px; }
.ab-hero__stats { position: relative; display: grid; gap: 16px; }
.ab-stat { display: flex; flex-direction: column; gap: 6px; padding: 26px 28px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.1); border-left: 3px solid var(--red); }
.ab-stat strong { font-family: var(--f-title); font-size: clamp(38px, 3.4vw, 52px); font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
.ab-stat strong i { font-style: normal; color: var(--red); }
.ab-stat span { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-dark); }
.ab-hero__mosaic { --px: 14px; position: absolute; right: -14px; bottom: -40px; opacity: 0.85; }

.ab-who { padding: clamp(72px, 8vw, 128px) 0; }
.ab-who__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 112px); align-items: center; }
.ab-who__title { font-family: var(--f-title); font-size: clamp(32px, 3.4vw, 52px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
.ab-who__text { margin-top: 26px; font-family: var(--f-title); font-size: clamp(19px, 1.6vw, 24px); font-weight: 500; line-height: 1.55; letter-spacing: -0.01em; color: var(--text); }
.ab-collage { position: relative; height: clamp(380px, 36vw, 540px); }
.ab-collage__a, .ab-collage__b { position: absolute; overflow: hidden; background: var(--ink); }
.ab-collage__a { top: 0; left: 0; z-index: 1; width: 74%; height: 72%; }
.ab-collage__b { right: 0; bottom: 0; z-index: 2; width: 58%; height: 52%; border: 8px solid var(--paper); box-shadow: var(--shadow); }
.ab-collage__a img, .ab-collage__b img { width: 100%; height: 100%; object-fit: cover; }
.ab-collage__frame { position: absolute; top: 28px; left: 28px; z-index: 0; width: 74%; height: 72%; border: 2px solid var(--red); }
.ab-collage__mosaic { --px: 14px; position: absolute; left: -14px; bottom: 14%; z-index: 3; }

.ab-mv { padding: clamp(64px, 7vw, 112px) 0; color: #fff; background: var(--graphite); }
.ab-mv__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ab-mv__item {
  position: relative; overflow: hidden;
  padding: clamp(32px, 3.5vw, 52px);
  background: var(--steel); border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.ab-mv__item::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--red); transform: scaleX(0.18); transform-origin: left; transition: transform 0.5s var(--ease); }
.ab-mv__item::after {                              /* letra grande de fondo */
  content: attr(data-letter);
  position: absolute; right: 18px; bottom: -48px;
  font-family: var(--f-title); font-size: 240px; font-weight: 700; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.07);
  pointer-events: none;
}
.ab-mv__item:hover { border-color: rgba(208, 2, 27, 0.4); transform: translateY(-3px); }
.ab-mv__item:hover::before { transform: scaleX(1); }
.ab-mv__item > * { position: relative; z-index: 1; }
.ab-mv__top { display: flex; margin-bottom: 32px; }
.ab-mv__icon { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; color: var(--red); border: 1px solid rgba(208, 2, 27, 0.45); background: rgba(208, 2, 27, 0.06); }
.ab-mv__item h3 { font-family: var(--f-title); font-size: clamp(24px, 2.2vw, 32px); font-weight: 600; letter-spacing: -0.02em; }
.ab-mv__item p { margin-top: 14px; font-size: 16.5px; line-height: 1.75; color: #c3c7cd; }

.ab-band { position: relative; overflow: hidden; display: flex; align-items: center; min-height: clamp(300px, 32vw, 440px); color: #fff; background: var(--ink); }
.ab-band__img { position: absolute; inset: 0; }
.ab-band__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.7) brightness(0.5); transform: scale(1.04); }
.ab-band__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 13, 16, 0.9) 0%, rgba(11, 13, 16, 0.55) 60%, rgba(11, 13, 16, 0.25) 100%); }
.ab-band__inner { position: relative; z-index: 1; padding-top: 56px; padding-bottom: 56px; }
.ab-band__mark { display: block; width: 64px; height: 3px; margin-bottom: 26px; background: var(--red); }
.ab-band__text { max-width: 820px; font-family: var(--f-title); font-size: clamp(28px, 3.4vw, 52px); font-weight: 700; line-height: 1.12; letter-spacing: -0.03em; }

.ab-story { padding: clamp(72px, 8vw, 128px) 0; }
.ab-story__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 112px); }
.ab-story__head { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
.ab-story__mosaic { --px: 16px; margin-top: 28px; }
.ab-story__body { position: relative; }
.ab-story__line { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--line); }
.ab-story__line span { display: block; width: 100%; height: 100%; background: var(--red); transform: scaleY(0); transform-origin: top; transition: transform 0.15s linear; }
.ab-story__lead { padding-left: 36px; font-family: var(--f-title); font-size: clamp(22px, 2vw, 30px); font-weight: 600; line-height: 1.4; letter-spacing: -0.02em; }
.ab-story__body .body { margin-top: 28px; padding-left: 36px; font-size: 17px; line-height: 1.8; }

/* Preguntas frecuentes */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__head .body { margin-top: 16px; }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: grid; grid-template-columns: 1fr 20px; gap: 12px; align-items: center;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-family: var(--f-title); font-size: 16px; font-weight: 600;
  transition: color 0.2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--red); }
.faq__item summary i { position: relative; width: 14px; height: 14px; }
.faq__item summary i::before, .faq__item summary i::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: currentColor; transition: transform 0.3s var(--ease); }
.faq__item summary i::after { transform: rotate(90deg); }
.faq__item[open] summary i::after { transform: rotate(0); }
.faq__item p { padding: 0 32px 24px 0; font-size: 15px; line-height: 1.75; color: var(--muted); }

/* =========================================================
   24. BLOG
   ========================================================= */
.bl-mast { position: relative; overflow: hidden; padding: calc(var(--header-h) + 56px) 0 0; color: #fff; background: var(--ink); }
.bl-mast__lines {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 90% 0%, rgba(208, 2, 27, 0.2), transparent 45%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 120px);
}
.bl-mast__inner { position: relative; }
.bl-mast__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.bl-mast__brand { display: flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; }
.bl-mast__mark { width: 10px; height: 10px; background: var(--red); }
.bl-mast__sep { color: var(--muted-dark); }
.bl-mast__count { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-dark); }
.bl-mast__title { max-width: 760px; margin-top: 40px; font-family: var(--f-title); font-size: clamp(28px, 2.8vw, 42px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.bl-filter { display: flex; flex-wrap: wrap; margin-top: 40px; }
.bl-filter__btn {
  position: relative; padding: 16px 22px 18px;
  font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted-dark); transition: color 0.2s;
}
.bl-filter__btn::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--red); transform: scaleX(0); transition: transform 0.3s var(--ease); }
.bl-filter__btn:first-child { padding-left: 0; }
.bl-filter__btn:first-child::after { right: 22px; }
.bl-filter__btn:hover, .bl-filter__btn.is-active { color: #fff; }
.bl-filter__btn.is-active::after { transform: scaleX(1); }

.bl-list { padding: clamp(48px, 5vw, 80px) 0 clamp(72px, 7vw, 112px); background: var(--mist); }
.bl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.bl-post { display: flex; flex-direction: column; color: inherit; background: var(--paper); border: 1px solid var(--line); transition: box-shadow 0.3s var(--ease), border-color 0.3s; }
.bl-post[hidden] { display: none; }
.bl-post:hover { box-shadow: var(--shadow); border-color: #c9ccd1; }
.bl-post__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); }
.bl-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.bl-post:hover .bl-post__media img { transform: scale(1.04); }
.bl-post__media::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 3px; background: var(--red); transition: width 0.5s var(--ease); }
.bl-post:hover .bl-post__media::after { width: 100%; }
.bl-post__body { display: flex; flex-direction: column; flex: 1; padding: 28px 30px 26px; }
.bl-post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.bl-post__cat { color: var(--red); }
.bl-post__type { display: inline-flex; align-items: center; gap: 14px; color: var(--muted); }
.bl-post__type::before { content: ""; width: 4px; height: 4px; background: #c4c7cc; }
.bl-post__title { margin-top: 14px; font-family: var(--f-title); font-size: 19px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; transition: color 0.2s; }
.bl-post:hover .bl-post__title { color: var(--red); }
.bl-post__excerpt { flex: 1; margin-top: 12px; font-size: 15px; line-height: 1.65; color: var(--muted); }
.bl-post__more { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13.5px; font-weight: 600; transition: gap 0.2s; }
.bl-post__more svg { color: var(--red); }
.bl-post:hover .bl-post__more { gap: 14px; }

/* =========================================================
   25. RESPONSIVE
   ========================================================= */
@media (max-width: 1500px) {
  .nav__mail { display: none; }
}

@media (max-width: 1280px) {
  .menu__list { gap: 24px; }
  .cases { gap: 24px; }
  .case__body { padding-left: 24px; padding-right: 24px; }
  .intro, .contact { gap: 40px 64px; }
  .kpi { padding: 22px 18px; gap: 14px; }
}

/* Menú hamburguesa y bloques de datos uno debajo del otro */
@media (max-width: 1100px) {
  .nav { display: flex; justify-content: space-between; }
  .burger { display: flex; }
  .menu {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    display: none; width: 100%;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    background: var(--ink); border-top: 1px solid var(--line-dark);
  }
  .header.menu-open { background: var(--ink); }
  .header.menu-open .menu { display: block; }
  .menu__list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 28px; }
  .menu__link { width: 100%; padding: 16px 0; font-size: 16px; border-bottom: 1px solid var(--line-dark); }
  .menu__link::after { display: none; }
  .menu__link.is-active { color: var(--red); }

  .spec-split__grid { grid-template-columns: 1fr; gap: 16px; }
  .spec-panel__kpis { grid-template-columns: repeat(4, 1fr); }
  .kpi:nth-child(n) { border-top: 0; border-left: 0; }
  .kpi + .kpi { border-left: 1px solid var(--line-dark); }
  .kpi { flex-direction: column; align-items: flex-start; }

  .pillars { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  .intro, .sec-head, .contact { grid-template-columns: 1fr; }
  .sec-head__side { justify-self: start; }
  .service { grid-template-columns: 1fr; }
  .service__media { min-height: 0; aspect-ratio: 16 / 8; }
  .service__media::after { top: auto; left: 0; width: auto; height: 3px; }
  .split { grid-template-columns: 1fr; min-height: 0; }
  .split__media { aspect-ratio: 16 / 10; }
  .split__inner { margin-left: 0; max-width: 720px; }
  .case__title, .case__desc { min-height: 0; }

  .footer__grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .footer__grid > *:nth-child(3) { padding-left: 0; border-left: 0; }

  .legal__layout { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; }
  .legal__aside { position: static; }
  .legal__toc, .legal__aside-title:nth-of-type(2) { display: none; }
  .legal__tabs { grid-template-columns: repeat(3, 1fr); }
  .legal__tabs a + a { border-top: 0; border-left: 1px solid var(--line); }
  .legal__tabs a.is-active::before { left: -1px; right: -1px; top: auto; bottom: -1px; width: auto; height: 3px; }
  .legal__layout:not(.article) .legal__back { display: none; }

  .pd-hero__grid, .pd-what__grid, .pd-feat__grid, .pd-next__card { grid-template-columns: 1fr; }
  .pd-hero__word { top: 30%; }
  .pd-ribbon__grid { grid-template-columns: 1fr 1fr; }
  .pd-ribbon__cell:nth-child(3) { border-left: 0; padding-left: 0; }
  .pd-ribbon__cell:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .pd-feat__media { position: static; }
  .pd-next__img { min-height: 0; aspect-ratio: 16 / 9; }

  .ab-hero__inner, .ab-who__grid, .ab-story__grid { grid-template-columns: 1fr; }
  .ab-hero__photo { width: 100%; }
  .ab-hero__photo::after { background: linear-gradient(180deg, rgba(11, 13, 16, 0.6), var(--ink)); }
  .ab-hero__stats { grid-template-columns: 1fr 1fr; }
  .ab-hero__mosaic, .ab-story__mosaic { display: none; }
  .ab-collage { height: clamp(320px, 60vw, 460px); }
  .ab-story__head { position: static; }

  .bl-grid { grid-template-columns: 1fr 1fr; }
}

/* El vídeo mantiene su proporción y las tarjetas de casos pasan a horizontal */
@media (max-width: 900px) {
  .hero { height: auto; min-height: 0; aspect-ratio: 16 / 9; margin-top: var(--header-h); }
  .hero__shade { background: linear-gradient(180deg, transparent 70%, var(--ink) 100%); }
  .header { background: var(--ink); }
  .cta__mosaic, .page__mosaic { display: none; }
  .faq-wrap { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .pd-hero { padding-top: calc(var(--header-h) + 40px); }
  .ab-hero { padding-top: calc(var(--header-h) + 48px); }
}
@media (max-width: 900px) and (min-width: 701px) {
  .cases { grid-template-columns: 1fr; }
  .case { flex-direction: row; }
  .case__media { flex: 0 0 44%; aspect-ratio: auto; min-height: 320px; }
  .case__body { padding: 28px 28px 0; }
}

/* Móvil */
@media (max-width: 700px) {
  :root { --header-h: 68px; }
  .nav__right { gap: 18px; }
  .nav__right .btn--sm { display: none; }
  .logo img { height: 48px; } /* cabe entero en la cabecera de 68 px */

  .section { padding: 56px 0; }
  .sec-head { margin-bottom: 32px; }
  .h-xl { font-size: 29px; }
  .h-lg { font-size: 27px; }
  .label { margin-bottom: 16px; font-size: 11px; }
  .actions .btn { flex: 1 1 100%; }
  .cta { --cta-pad: 48px; }

  /* Datos bajo el vídeo: pestañas y formato compacto */
  .spec-strip { padding: 18px 0 22px; }
  .spec-tabs { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-dark); border-bottom: 0; }
  .spec-tabs__btn {
    position: relative; padding: 13px 8px;
    font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--muted-dark); background: rgba(255, 255, 255, 0.02);
  }
  .spec-tabs__btn + .spec-tabs__btn { border-left: 1px solid var(--line-dark); }
  .spec-tabs__btn.is-active { color: #fff; background: rgba(255, 255, 255, 0.05); }
  .spec-tabs__btn.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); }
  .spec-split__grid { gap: 0; }
  .spec-panel { display: none; }
  .spec-panel.is-current { display: flex; }
  .spec-panel__head { justify-content: flex-end; padding: 10px 14px; }
  .spec-panel__name { display: none; }
  .spec-panel__kpis { grid-template-columns: 1fr 1fr; }
  .kpi { flex-direction: row; align-items: center; gap: 12px; padding: 14px; }
  .kpi + .kpi { border-left: 0; }
  .kpi:nth-child(even) { border-left: 1px solid var(--line-dark); }
  .kpi:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .kpi__icon { width: 34px; height: 34px; }
  .kpi__icon svg { width: 16px; height: 16px; }
  .kpi__key { font-size: 9.5px; }
  .kpi__value { margin: 3px 0 0; font-size: 20px; }
  .kpi__label { display: none; }

  .trust { padding: 22px 0 24px; }
  .trust__item { width: 190px; height: 84px; margin-right: 12px; }

  .service__main { padding: 26px 22px 28px; }
  .service__list { grid-template-columns: 1fr; }
  .service__products-k { width: 100%; }
  .service__product { flex: 1 1 100%; justify-content: space-between; }

  .prods { grid-template-columns: 1fr; gap: 20px; }
  .prod__body { padding: 22px; }
  .pillars li { gap: 16px; }
  .figures__grid { gap: 10px; }
  .figure { padding: 26px 10px 22px; }
  .tech-grid, .cases { grid-template-columns: 1fr; }
  .tech-item { padding: 32px 24px; }

  .form__row { grid-template-columns: 1fr; }
  .form__foot { flex-direction: column; align-items: stretch; }
  .form__foot .btn { width: 100%; }
  .hours { min-width: 0; }
  .to-top { right: 16px; bottom: 16px; }

  .footer__grid { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .footer__grid > .footer__brand, .footer__grid > .footer__col:last-child { grid-column: 1 / -1; }
  .footer__grid > * + * { padding-left: 0; border-left: 0; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__legal a { padding: 4px 10px; }
  .footer__mosaic { display: none; }

  .legal__hero { padding: calc(var(--header-h) + 40px) 0 40px; }
  .legal__tabs { grid-template-columns: 1fr; }
  .legal__tabs a + a { border-left: 0; border-top: 1px solid var(--line); }
  .legal__tabs a.is-active::before { top: -1px; bottom: -1px; right: auto; width: 3px; height: auto; }
  .legal-card div { grid-template-columns: 1fr; gap: 4px; }
  .legal-doc ul.legal-grid { grid-template-columns: 1fr; }
  .legal-doc ul.legal-links li { flex-direction: column; align-items: flex-start; gap: 4px; }
  .page__lead { font-size: 15.5px; }

  .pd-hero__title { font-size: clamp(34px, 10vw, 42px); }
  .pd-hero__lead { font-size: 15.5px; }
  .pd-hud { padding: 20px; }
  .pd-hud__label { left: 32px; top: 2px; font-size: 9.5px; }
  .pd-hud__c { width: 18px; height: 18px; }
  .pd-ribbon__cell { padding: 20px 14px 22px; }
  .pd-ribbon__cell:nth-child(odd) { padding-left: 0; }
  .pd-ribbon__v { font-size: 24px; }
  .pd-ribbon__l { font-size: 12px; }
  .pd-list__t { font-size: 15px; }
  .pd-next__text { padding: 28px 22px; }

  .ab-mv__grid, .ab-hero__stats, .bl-grid { grid-template-columns: 1fr; }
  .ab-collage { height: 300px; }
  .ab-collage__b { border-width: 5px; }
  .ab-collage__frame { top: 16px; left: 16px; }
  .ab-band__text { font-size: 26px; }
  .ab-story__lead, .ab-story__body .body { padding-left: 24px; }
  .faq__item summary { grid-template-columns: 1fr 16px; font-size: 15px; }
  .faq__item p { padding: 0 0 22px; }

  .bl-mast__top { flex-direction: column; align-items: flex-start; }
  .bl-mast__brand { flex-wrap: wrap; letter-spacing: 0.14em; }
  .bl-filter { flex-wrap: nowrap; overflow-x: auto; }
  .bl-filter__btn { padding-left: 16px; padding-right: 16px; white-space: nowrap; }
  .bl-post__body { padding: 24px 22px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
  .reveal, .kpi { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}


/* =========================================================
   WORDPRESS · barra de administración (solo con sesión iniciada)
   ========================================================= */
.admin-bar .header { top: 32px; }
@media (max-width: 782px) { .admin-bar .header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .header { top: 0; } }

/* =========================================================
   26. WORDPRESS · v2.0 (páginas reales, blog, editor y formularios)
   ========================================================= */

/* Enlace "Saltar al contenido" (accesibilidad: solo visible con el teclado) */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px; font-size: 14px; color: #fff; background: var(--red); transition: top 0.2s; }
.skip-link:focus { top: 12px; }

/* Páginas: aparición suave */
main.page, main.legal { display: block; }

/* Menú creado en Apariencia → Menús: sin submenús en la cabecera */
.menu__list .sub-menu { display: none; }
.footer__legal a span, .menu__link > span:only-child { pointer-events: none; }

/* Formulario: enlace a la política de privacidad */
.form__link { color: var(--red); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.form__link:hover { color: var(--red-dark); }

/* AllDrone 440: franja con 6 datos y 4 capacidades */
.pd-ribbon__grid--6 { grid-template-columns: repeat(6, 1fr); }
.pd-ribbon__grid--6 .pd-ribbon__cell { padding-left: 22px; padding-right: 18px; }
.pd-ribbon__grid--6 .pd-ribbon__cell:first-child { padding-left: 0; }
.xi-caps__grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1280px) {
  .pd-ribbon__grid--6 { grid-template-columns: repeat(3, 1fr); }
  .pd-ribbon__grid--6 .pd-ribbon__cell:nth-child(4) { border-left: 0; padding-left: 0; }
  .pd-ribbon__grid--6 .pd-ribbon__cell:nth-child(n+4) { border-top: 1px solid var(--line-dark); }
  .xi-caps__grid--4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  .pd-ribbon__grid--6 { grid-template-columns: 1fr 1fr; }
  .pd-ribbon__grid--6 .pd-ribbon__cell:nth-child(4) { border-left: 1px solid var(--line-dark); padding-left: 22px; }
  .pd-ribbon__grid--6 .pd-ribbon__cell:nth-child(odd) { border-left: 0; padding-left: 0; }
  .pd-ribbon__grid--6 .pd-ribbon__cell:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
}
@media (max-width: 700px) {
  .xi-caps__grid--4 { grid-template-columns: 1fr; }
  .pd-ribbon__grid--6 .pd-ribbon__cell { padding: 20px 14px 22px; }
  .pd-ribbon__grid--6 .pd-ribbon__cell:nth-child(odd) { padding-left: 0; }
  .pd-ribbon__grid--6 .pd-ribbon__cell:nth-child(4) { padding-left: 14px; }
}

/* Blog: categorías como enlaces y paginación */
a.bl-filter__btn { display: inline-block; }
.bl-pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.bl-pager a { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); }
.bl-pager a:hover { color: var(--red); }
.bl-pager__prev a::before { content: "← "; }
.bl-pager__next a::after { content: " →"; }
.bl-empty { padding: 40px 0; font-size: 16px; color: var(--muted); }

/* Artículos y páginas escritos con el editor de WordPress */
.article__img + .article__content > section:first-child,
.article__img + .article__content > .wp-block-group:first-child { padding-top: 36px; }
.legal-doc .is-style-rohu-kicker { margin: 0 0 8px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.legal-doc h3 { margin-top: 26px; }
.legal-doc ul.is-style-rohu-check { gap: 0; border: 1px solid var(--line); }
.legal-doc ul.is-style-rohu-check li { display: flex; gap: 14px; align-items: center; padding: 16px 20px 16px 62px; min-height: 60px; color: var(--text); }
.legal-doc ul.is-style-rohu-check li + li { border-top: 1px solid var(--line); }
.legal-doc ul.is-style-rohu-check li::before { left: 20px; top: 50%; width: 28px; height: 28px; margin-top: -14px; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23fff' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Cpath d='m5 12 4.5 4.5L19 7'/%3E%3C/svg%3E") center / 18px no-repeat; }
.legal-doc ol { counter-reset: rohu; }
.legal-doc ol li::before { content: counter(rohu); counter-increment: rohu; width: auto; height: auto; top: 0; background: none; font-family: var(--f-mono); font-size: 13px; font-weight: 500; color: var(--red); }
.legal-doc figure, .legal-doc .wp-block-image { margin: 28px 0; }
.legal-doc figure img, .legal-doc .wp-block-image img { width: 100%; height: auto; }
.legal-doc figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }
.legal-doc blockquote { margin: 24px 0; padding: 6px 0 6px 22px; border-left: 3px solid var(--red); font-family: var(--f-title); font-size: 19px; line-height: 1.5; color: var(--text); }
.legal-doc .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.legal-doc .wp-block-button__link { display: inline-flex; padding: 14px 26px; font-weight: 600; font-size: 14px; color: #fff; background: var(--red); text-decoration: none; }
.legal-doc .wp-block-button__link:hover { color: #fff; background: var(--red-dark); }
.legal-doc .wp-block-embed, .legal-doc iframe { max-width: 100%; margin: 28px 0; }
.legal-doc .wp-block-table table, .legal-doc table { width: 100%; margin: 24px 0; border-collapse: collapse; font-size: 14.5px; }
.legal-doc td, .legal-doc th { padding: 12px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-doc th { background: var(--mist); font-weight: 600; }
.alignleft { float: left; margin: 6px 24px 16px 0; }
.alignright { float: right; margin: 6px 0 16px 24px; }
.aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* Página normal (Páginas → Añadir nueva) */
.page-content { max-width: var(--w-narrow); padding-top: clamp(48px, 5vw, 72px); padding-bottom: clamp(64px, 6vw, 110px); }

/* Error 404 */
.page-404 { min-height: 70vh; display: flex; align-items: center; }

/* =========================================================
   v3 · Newsletter (casilla de privacidad), selector de idioma y página de contacto
   ========================================================= */
.footer__consent { display: flex; align-items: flex-start; gap: 8px; margin-top: 10px; font-size: 12.5px; line-height: 1.45; color: #9aa0a8; cursor: pointer; }
.footer__consent input { flex-shrink: 0; width: 14px; height: 14px; margin-top: 2px; accent-color: var(--red); }
.footer__consent a { color: #d4d6d9; text-decoration: underline; text-underline-offset: 2px; }
.footer__consent a:hover { color: #fff; }
.footer__consent.is-error { color: #ff6b7d; }
a.lang__btn { text-decoration: none; }
.ct-hero .page__lead { max-width: 640px; }
.page--contact #contacto { padding-top: clamp(48px, 5vw, 80px); }

/* =========================================================
   26. AMPLIACIONES v4
   Solo clases nuevas: no cambian nada de lo anterior.
   ========================================================= */

/* Datos bajo el vídeo: 1 bloque (centrado) · 3 bloques (tres columnas) · 4 o más (filas de dos).
   Con 2 bloques se ve exactamente como antes. */
.spec-split--n1 .spec-split__grid { grid-template-columns: minmax(0, 1fr); width: calc((100% - var(--spec-gap)) / 2); margin-inline: auto; }
.spec-split--n3 .spec-split__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 40px); }
.spec-split--n4 .spec-split__grid { row-gap: 24px; }
.spec-panel__kpis--n1 { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 1280px) and (min-width: 1101px) {
  .spec-split--n3 .spec-split__grid { grid-template-columns: 1fr; gap: 16px; }
  .spec-split--n3 .spec-panel__kpis { grid-template-columns: repeat(4, 1fr); }
  .spec-split--n3 .kpi:nth-child(n) { border-top: 0; border-left: 0; }
  .spec-split--n3 .kpi + .kpi { border-left: 1px solid var(--line-dark); }
  .spec-split--n3 .kpi { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 1100px) {
  .spec-split--n1 .spec-split__grid { width: auto; }
  .spec-split--n3 .spec-split__grid { grid-template-columns: 1fr; gap: 16px; }
  .spec-split--n4 .spec-split__grid { grid-template-columns: 1fr; }
  .spec-panel__kpis--n1 { grid-template-columns: 1fr; }
  .spec-panel__kpis--n2 { grid-template-columns: repeat(2, 1fr); }
  .spec-panel__kpis--n3 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .spec-split--n3 .spec-tabs { grid-template-columns: repeat(3, 1fr); }
  .spec-split--n3 .spec-split__grid, .spec-split--n4 .spec-split__grid { gap: 0; }
  .spec-split--n1 .spec-panel__head { justify-content: space-between; }
  .spec-split--n1 .spec-panel__name { display: flex; font-size: 15px; }
  .spec-panel__kpis--n2, .spec-panel__kpis--n3 { grid-template-columns: 1fr 1fr; }
}

/* Página de producto: galería y vídeo (solo aparecen si se rellenan) */
.pd-media .pd-what__head { margin-bottom: clamp(28px, 3vw, 44px); }
.pd-media__video { max-width: 1100px; }
.pd-media__player, .pd-media__embed iframe { position: relative; z-index: 1; display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--ink); }
.pd-media__embed { position: relative; z-index: 1; }
.pd-media__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.pd-media__video + .pd-media__grid { margin-top: clamp(24px, 3vw, 40px); }
.pd-media__item { display: block; padding: 10px; }
.pd-media__item img { height: auto; transition: opacity 0.3s; }
.pd-media__item:hover img { opacity: 0.88; }

/* Página de producto: documentos para descargar */
.pd-docs .pd-what__head { margin-bottom: clamp(28px, 3vw, 44px); }
.pd-docs__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pd-doc { display: flex; flex-direction: column; transition: border-color 0.2s, transform 0.2s; }
.pd-doc:hover { border-color: var(--red); transform: translateY(-2px); }
.pd-doc .xi-spec__title { display: block; }
.pd-doc__name { flex: 1; padding: 18px 20px 6px; font-family: var(--f-title); font-size: 17px; font-weight: 600; line-height: 1.3; color: var(--text); }
.pd-doc__link { display: flex; justify-content: space-between; align-items: center; margin: 14px 20px 0; padding: 14px 0 18px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--text); }
.pd-doc__link svg { color: var(--red); }
@media (max-width: 1024px) {
  .pd-media__grid, .pd-docs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .pd-media__grid, .pd-docs__grid { grid-template-columns: 1fr; }
}

/* Home con el vídeo de portada oculto: el contenido empieza bajo la cabecera, que se ve sólida */
.rohu-no-hero #main { padding-top: var(--header-h); }
.rohu-no-hero .header { background: var(--ink); }

/* v4.1 · Cifras de la home: 1, 3, 4 o más con el mismo diseño (con 2 se ve como siempre) */
.figures__grid--1 { grid-template-columns: minmax(0, 372px); justify-content: center; }
.figures__grid--3 { grid-template-columns: repeat(3, 1fr); max-width: 1140px; }
.figures__grid--4 { grid-template-columns: repeat(4, 1fr); max-width: 1320px; }
.figures__grid--many { grid-template-columns: repeat(3, 1fr); max-width: 1140px; }
@media (max-width: 900px) {
  .figures__grid--3, .figures__grid--4, .figures__grid--many { grid-template-columns: repeat(2, 1fr); }
}

/* v4.1 · Casos de éxito: botón "Ver todos los artículos" */
.cases__more { display: flex; justify-content: center; margin-top: clamp(32px, 4vw, 48px); }

/* v4.1 · Colaboradores: el logo llena todo el recuadro, sea del tamaño que sea */
.trust__item--logo { padding: 0; overflow: hidden; }
.trust__item--logo > a { display: block; width: 100%; height: 100%; }
.trust__item--logo img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }

/* v4.2 · Colaboradores: se pueden arrastrar con el dedo o el ratón (el scroll vertical de la página sigue funcionando) */
.trust__viewport { touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.trust__viewport.is-dragging { cursor: grabbing; }
.trust__viewport img { -webkit-user-drag: none; pointer-events: none; }

/* Portada con imagen fija (img/hero.webp): la altura sigue la proporción de la imagen, sin recortes */
.hero.hero--image { height: auto; min-height: 0; aspect-ratio: 1884 / 835; }

/* Tarjeta de producto en la home: segunda imagen que aparece al pasar el ratón (si el producto la tiene) */
.prod__media .prod__hover { position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s var(--ease), transform 0.8s var(--ease); }
.prod:hover .prod__media .prod__hover, .prod__media:focus-visible .prod__hover { opacity: 1; }

/* Sobre ROHU · collage: el recuadro rojo enmarca la foto grande por igual en los cuatro lados (antes iba desplazado abajo-derecha) */
.ab-collage__frame { top: -14px; left: -14px; width: calc(74% + 28px); height: calc(72% + 28px); }
@media (max-width: 600px) { .ab-collage__frame { top: -10px; left: -10px; width: calc(74% + 20px); height: calc(72% + 20px); } }

/* Productos · foto de especificaciones: respeta su proporción (el atributo height="560" la estiraba en pantallas estrechas) */
.pd-feat__frame img { height: auto; }
/* En móvil y tablet, más baja y panorámica para no ocupar toda la pantalla */
@media (max-width: 900px) {
  .pd-feat__frame { padding: 12px; max-width: 560px; margin: 0 auto; }
  .pd-feat__frame img { aspect-ratio: 3 / 2; }
}

/* Tarjetas de producto en pantallas táctiles (sin ratón): las dos fotos se alternan solas cada 2 s, todas las tarjetas a la vez */
@keyframes rohu-prod-swap { 0%, 40% { opacity: 0; } 50%, 90% { opacity: 1; } 100% { opacity: 0; } }
@media (hover: none) {
  .prod__media .prod__hover { animation: rohu-prod-swap 4s ease-in-out infinite; transition: none; }
}
@media (hover: none) and (prefers-reduced-motion: reduce) {
  .prod__media .prod__hover { animation: none; }
}

/* Colaboradores: el logo se ve entero dentro de su recuadro, con margen (antes se ampliaba y se cortaba) */
.trust__item--logo { padding: 14px 22px; }
.trust__item--logo > a { display: flex; align-items: center; justify-content: center; }
.trust__item--logo img { object-fit: contain; }
