@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/inter-cyrillic-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/inter-cyrillic-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/inter-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/inter-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/plus-jakarta-sans-cyrillic-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
@font-face {
  font-family: 'Plus Jakarta Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/plus-jakarta-sans-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Noto Sans Arabic Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/noto-sans-arabic-arabic-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1;
}
/* ==========================================================================
   Novafrut — sistema de diseño v2
   - Sin estilos inline: la CSP del sitio (style-src 'self') bloquea style="" y <style>.
   - Propiedades lógicas (inline/block) en todo: el árabe (dir="rtl") funciona sin hoja aparte.
   ========================================================================== */

:root {
  --brand-50: #fdf4f3;
  --brand-100: #f9e2e0;
  --brand-200: #f1bfbb;
  --brand-500: #c73c42;
  --brand-600: #b12a30;
  --brand-700: #8f2126;
  --brand-800: #6f1a1e;

  --green-950: #0f2018;
  --green-900: #15291f;
  --green-800: #1c3a2c;
  --green-700: #2f4a3c;
  --green-600: #3f6250;
  --green-200: #c9dacf;
  --green-100: #e4eee7;
  --green-50: #f2f7f3;

  --sand-50: #fbf9f5;
  --sand-100: #f4efe6;
  --sand-200: #e9e1d2;

  --ink-950: #110f0d;
  --ink-900: #1c1917;
  --ink-800: #2b2724;
  --ink-700: #403a35;
  --ink-600: #5a534c;
  --ink-500: #776f67;
  --ink-300: #c6bfb5;
  --ink-200: #e4dfd7;
  --ink-100: #f0ece6;
  --white: #ffffff;

  --font-display: "Plus Jakarta Sans Variable", "Inter Variable", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter Variable", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-xs: .78rem;
  --fs-sm: .875rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.1875rem;
  --fs-xl: 1.35rem;
  --fs-h1: clamp(2.3rem, 1.55rem + 3.1vw, 4.1rem);
  --fs-h2: clamp(1.8rem, 1.35rem + 1.85vw, 2.8rem);
  --fs-h3: clamp(1.15rem, 1.05rem + .4vw, 1.35rem);

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 999px;

  --shadow-xs: 0 1px 2px rgba(17, 15, 13, .06);
  --shadow-sm: 0 2px 6px -2px rgba(17, 15, 13, .08), 0 1px 2px rgba(17, 15, 13, .04);
  --shadow: 0 14px 34px -18px rgba(17, 15, 13, .28), 0 2px 6px -2px rgba(17, 15, 13, .06);
  --shadow-lg: 0 32px 70px -30px rgba(17, 15, 13, .45), 0 8px 20px -12px rgba(17, 15, 13, .16);

  --container: 1280px;
  --container-narrow: 800px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(64px, 8vw, 116px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Árabe (RTL): fuente con glifos árabes, sin tracking negativo ni mayúsculas forzadas. */
:root:lang(ar) {
  --font-display: "Noto Sans Arabic Variable", "Inter Variable", system-ui, sans-serif;
  --font-body: "Noto Sans Arabic Variable", "Inter Variable", system-ui, sans-serif;
}
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3, :lang(ar) h4, :lang(ar) .hero__title, :lang(ar) .hero__stats strong, :lang(ar) .stats strong { letter-spacing: 0; line-height: 1.3; }
:lang(ar) .eyebrow, :lang(ar) .mega__title, :lang(ar) .site-footer h4, :lang(ar) .toc p, :lang(ar) .product-card__cat, :lang(ar) .drawer__sub { letter-spacing: 0; text-transform: none; }
:lang(ar) body { line-height: 1.75; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font-body); font-size: var(--fs-base); line-height: 1.62;
  color: var(--ink-900); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
img, svg, picture, video { display: block; max-width: 100%; }
img { height: auto; }
picture img { width: 100%; }
/* En contenedores con aspect-ratio, el <picture> debe ocupar toda la altura para que el
   object-fit del <img> rellene la caja (si no, la altura % se resuelve contra "auto"). */
.media > picture, .service-card__media > picture, .post-card__media > picture, .system-card__media > picture,
.article-hero > picture, .video-thumb > picture, .media-stack__small > picture, .tile > picture,
.mega__promo > picture, .cta-band > picture, .hero__bg, .product-card__media > picture { height: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 750; line-height: 1.1; letter-spacing: -.022em; margin: 0 0 .5em; color: var(--ink-950); text-wrap: balance; }
h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -.012em; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; color: var(--ink-700); text-wrap: pretty; }
ul, ol { padding-inline-start: 1.25em; }
strong { font-weight: 650; color: var(--ink-900); }
::selection { background: var(--brand-600); color: var(--white); }
:focus-visible { outline: 3px solid var(--brand-500); outline-offset: 3px; border-radius: 4px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon--sm { width: 1em; height: 1em; }
.icon--lg { width: 1.6em; height: 1.6em; }
[dir="rtl"] .icon--dir { transform: scaleX(-1); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: absolute; inset-inline-start: 16px; inset-block-start: -60px; z-index: 200;
  background: var(--ink-950); color: var(--white); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600; text-decoration: none;
}
.skip-link:focus { inset-block-start: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(var(--container-narrow) + 2 * var(--gutter)); }

/* ---------- Tipografía de apoyo ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-600);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--white); }
.eyebrow--light::before { background: var(--brand-500); }
.eyebrow--plain::before { display: none; }
.lead { font-size: var(--fs-lg); line-height: 1.6; color: var(--ink-600); }
.muted { color: var(--ink-500); }
.text-center { text-align: center; }

/* ---------- Botones ---------- */
.btn {
  --btn-bg: var(--ink-900); --btn-fg: var(--white); --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--r); border: 1.5px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg); font-weight: 650; font-size: .98rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.15em; height: 1.15em; }
.btn--primary { --btn-bg: var(--brand-600); --btn-fg: var(--white); box-shadow: 0 10px 24px -12px rgba(177, 42, 48, .7); }
.btn--primary:hover { --btn-bg: var(--brand-700); }
.btn--secondary { --btn-bg: var(--white); --btn-fg: var(--ink-900); --btn-bd: var(--ink-200); }
.btn--secondary:hover { --btn-bd: var(--ink-500); }
.btn--dark { --btn-bg: var(--green-800); --btn-fg: var(--white); }
.btn--dark:hover { --btn-bg: var(--green-900); }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--green-900); }
.btn--light:hover { --btn-bg: var(--sand-100); }
.btn--glass { --btn-bg: rgba(255, 255, 255, .12); --btn-fg: var(--white); --btn-bd: rgba(255, 255, 255, .38); backdrop-filter: blur(8px); }
.btn--glass:hover { --btn-bg: rgba(255, 255, 255, .2); --btn-bd: rgba(255, 255, 255, .7); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--brand-700); padding-inline: 4px; min-height: 0; }
.btn--sm { min-height: 42px; padding: 9px 16px; font-size: .92rem; }
.btn--lg { min-height: 56px; padding: 15px 28px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--brand-700); text-decoration: none;
}
.link-arrow .icon { transition: transform .2s var(--ease); width: 1.05em; height: 1.05em; }
.link-arrow:hover .icon { transform: translateX(3px); }
[dir="rtl"] .link-arrow:hover .icon { transform: scaleX(-1) translateX(3px); }

.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: var(--r-full);
  font-size: var(--fs-xs); font-weight: 650; letter-spacing: .02em; background: var(--brand-50); color: var(--brand-700);
}
.chip--green { background: var(--green-100); color: var(--green-800); }
.chip--light { background: rgba(255, 255, 255, .16); color: var(--white); }

/* Motivo de malla del logo */
.mesh {
  background-image:
    repeating-linear-gradient(45deg, rgba(177, 42, 48, .1) 0 1.2px, transparent 1.2px 16px),
    repeating-linear-gradient(-45deg, rgba(177, 42, 48, .1) 0 1.2px, transparent 1.2px 16px);
}
.mesh--light {
  background-image:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .07) 0 1.2px, transparent 1.2px 16px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, .07) 0 1.2px, transparent 1.2px 16px);
}

/* ==========================================================================
   Barra superior + cabecera
   ========================================================================== */
.topbar { background: var(--green-900); color: rgba(255, 255, 255, .82); font-size: var(--fs-xs); position: relative; z-index: 61; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 40px; }
.topbar__info, .topbar__actions { display: flex; align-items: center; gap: 22px; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; white-space: nowrap; }
.topbar__item .icon { width: 15px; height: 15px; color: var(--brand-200); }
a.topbar__item:hover { color: var(--white); }

.lang-menu { position: relative; }
.lang-menu > summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; margin-inline-end: -10px; border-radius: var(--r-sm); font-weight: 650; color: var(--white);
}
.lang-menu > summary::-webkit-details-marker { display: none; }
.lang-menu > summary .icon { width: 15px; height: 15px; }
.lang-menu > summary:hover { background: rgba(255, 255, 255, .08); }
.lang-menu[open] > summary .icon--chevron { transform: rotate(180deg); }
.lang-menu__list {
  position: absolute; inset-inline-end: -6px; inset-block-start: calc(100% + 6px); min-width: 190px; z-index: 80;
  list-style: none; margin: 0; padding: 6px; background: var(--white); color: var(--ink-900);
  border-radius: var(--r); box-shadow: var(--shadow-lg); border: 1px solid var(--ink-200); font-size: var(--fs-sm);
}
.lang-menu__list a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: var(--r-sm); text-decoration: none; }
.lang-menu__list a:hover { background: var(--sand-100); }
.lang-menu__list a.is-active { font-weight: 700; color: var(--brand-700); background: var(--brand-50); }
.lang-menu__list .lang-code { color: var(--ink-500); font-weight: 600; font-size: var(--fs-xs); }

.site-header {
  position: sticky; inset-block-start: 0; z-index: 60;
  background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(14px);
  border-block-end: 1px solid transparent; transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.site-header.is-scrolled { border-color: var(--ink-200); box-shadow: 0 10px 30px -24px rgba(17, 15, 13, .5); }
.site-header__bar { position: relative; display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { display: inline-flex; flex: none; }
.brand img { width: auto; height: 46px; }
.site-header__actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }

.nav { margin-inline-start: 8px; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__item.is-mega { position: static; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 13px; border-radius: var(--r-sm);
  font-weight: 600; font-size: .95rem; color: var(--ink-800); text-decoration: none; white-space: nowrap;
  transition: color .15s var(--ease), background-color .15s var(--ease);
}
.nav__link .icon { width: 15px; height: 15px; color: var(--ink-500); transition: transform .2s var(--ease); }
.nav__link:hover, .nav__item:hover > .nav__link, .nav__item.is-open > .nav__link { color: var(--brand-700); background: var(--brand-50); }
.nav__item:hover > .nav__link .icon, .nav__item.is-open > .nav__link .icon { transform: rotate(180deg); color: var(--brand-600); }
.nav__link[aria-current="page"] { color: var(--brand-700); }

.nav__panel {
  position: absolute; inset-block-start: 100%; inset-inline-start: -14px; padding-block-start: 10px; z-index: 70;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear .18s;
}
.nav__item.is-mega > .nav__panel { inset-inline: var(--gutter); }
.nav__item:hover > .nav__panel, .nav__item:focus-within > .nav__panel, .nav__item.is-open > .nav__panel {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.nav__item.is-closed > .nav__panel { opacity: 0; visibility: hidden; }
.nav__card {
  background: var(--white); border: 1px solid var(--ink-200); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; width: 420px;
}
.nav__card--wide { width: 640px; }
.nav__card--mega { width: auto; }
.nav__card-body { padding: 14px; }

.mega { display: grid; grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr); }
.mega__groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 18px; padding: 24px 22px 18px; }
.mega__title {
  display: flex; align-items: center; gap: 8px; margin: 0 0 10px; padding-inline: 12px;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-500);
}
.mega__promo {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100%;
  color: var(--white); text-decoration: none; isolation: isolate; overflow: hidden; background: var(--green-900);
}
.mega__promo picture { position: absolute; inset: 0; z-index: -2; }
.mega__promo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mega__promo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15, 32, 24, .1) 20%, rgba(15, 32, 24, .92) 100%); }
.mega__promo:hover img { transform: scale(1.05); }
.mega__promo-body { display: grid; gap: 10px; padding: 26px 24px; }
.mega__promo-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-200); }
.mega__promo-title { font-family: var(--font-display); font-weight: 750; font-size: 1.25rem; line-height: 1.2; letter-spacing: -.015em; }
.mega__promo-cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-size: .95rem; }
.mega__promo-play {
  position: absolute; inset-block-start: 22px; inset-inline-end: 22px; width: 46px; height: 46px; border-radius: var(--r-full);
  display: grid; place-items: center; background: var(--brand-600); color: var(--white); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .5);
}
.mega__promo-play .icon { width: 18px; height: 18px; margin-inline-start: 2px; }

.nav__panel-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 24px;
  background: var(--sand-50); border-block-start: 1px solid var(--ink-200); font-size: var(--fs-sm); color: var(--ink-600);
}
.nav__panel-footer .link-arrow { font-size: var(--fs-sm); }

.menu-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.menu-list--2col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 6px; }
.menu-item {
  display: flex; align-items: flex-start; gap: 13px; padding: 11px 12px; border-radius: var(--r);
  text-decoration: none; transition: background-color .15s var(--ease);
}
.menu-item:hover, .menu-item:focus-visible { background: var(--sand-100); }
.menu-item__icon {
  flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand-600); transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.menu-item__icon .icon { width: 21px; height: 21px; }
.menu-item:hover .menu-item__icon { background: var(--brand-600); color: var(--white); transform: scale(1.04); }
.menu-item__text { display: grid; gap: 2px; min-width: 0; }
.menu-item__label { font-weight: 650; font-size: .95rem; color: var(--ink-950); line-height: 1.3; }
.menu-item__desc { font-size: .83rem; color: var(--ink-500); line-height: 1.4; }
.menu-item[aria-current="page"] .menu-item__label { color: var(--brand-700); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: var(--r); border: 1.5px solid var(--ink-200);
  background: var(--white); align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.header-phone {
  display: none; width: 46px; height: 46px; border-radius: var(--r); border: 1.5px solid var(--ink-200);
  align-items: center; justify-content: center; color: var(--brand-600);
}

/* ---------- Cajón móvil ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; pointer-events: none; }
.drawer.is-open { visibility: visible; pointer-events: auto; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(17, 15, 13, .5); opacity: 0; transition: opacity .25s var(--ease); }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel {
  position: absolute; inset-block: 0; inset-inline-end: 0; width: min(440px, 100%); display: flex; flex-direction: column;
  background: var(--white); box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .3s var(--ease);
}
[dir="rtl"] .drawer__panel { transform: translateX(-100%); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-block-end: 1px solid var(--ink-200); }
.drawer__head img { height: 38px; width: auto; }
.drawer__close { width: 44px; height: 44px; border: 0; background: var(--sand-100); border-radius: var(--r); display: grid; place-items: center; cursor: pointer; }
.drawer__close .icon { width: 22px; height: 22px; }
.drawer__nav { flex: 1; overflow-y: auto; padding: 10px 12px 20px; overscroll-behavior: contain; }
.drawer__group { border-block-end: 1px solid var(--ink-100); }
.drawer__group > summary, .drawer__link {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; cursor: pointer; text-decoration: none;
}
.drawer__group > summary::-webkit-details-marker { display: none; }
.drawer__group > summary .icon { width: 20px; height: 20px; color: var(--ink-500); transition: transform .2s var(--ease); }
.drawer__group[open] > summary .icon { transform: rotate(180deg); }
.drawer__group .menu-list { padding-block-end: 10px; }
.drawer__sub { margin: 10px 10px 4px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-500); }
.drawer__all { display: flex; padding: 6px 12px 16px; }
.drawer__link { border-block-end: 1px solid var(--ink-100); }
.drawer__foot { padding: 18px 20px 22px; border-block-start: 1px solid var(--ink-200); display: grid; gap: 14px; background: var(--sand-50); }
.drawer__contact { display: grid; gap: 8px; font-size: var(--fs-sm); }
.drawer__contact a { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 600; }
.drawer__contact .icon { color: var(--brand-600); width: 18px; height: 18px; }
.lang-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lang-chips a {
  padding: 6px 11px; border-radius: var(--r-full); border: 1px solid var(--ink-200); background: var(--white);
  font-size: var(--fs-xs); font-weight: 700; text-decoration: none;
}
.lang-chips a.is-active { background: var(--ink-900); color: var(--white); border-color: var(--ink-900); }

/* ==========================================================================
   Héroes
   ========================================================================== */
.hero { position: relative; isolation: isolate; color: var(--white); overflow: hidden; background: var(--green-950); }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 26, 19, .9) 0%, rgba(12, 26, 19, .7) 38%, rgba(12, 26, 19, .18) 72%, rgba(12, 26, 19, .1) 100%),
    linear-gradient(0deg, rgba(12, 26, 19, .85) 0%, rgba(12, 26, 19, 0) 40%);
}
[dir="rtl"] .hero::before {
  background:
    linear-gradient(270deg, rgba(12, 26, 19, .9) 0%, rgba(12, 26, 19, .7) 38%, rgba(12, 26, 19, .18) 72%, rgba(12, 26, 19, .1) 100%),
    linear-gradient(0deg, rgba(12, 26, 19, .85) 0%, rgba(12, 26, 19, 0) 40%);
}
.hero__inner { display: grid; align-content: end; gap: clamp(40px, 6vw, 80px); min-height: min(88vh, 860px); padding-block: clamp(110px, 14vw, 170px) clamp(36px, 5vw, 56px); }
.hero__content { max-width: 720px; }
.hero__title { color: var(--white); font-size: clamp(2.5rem, 1.6rem + 3.8vw, 4.6rem); margin-block-end: 22px; }
.hero__title em { font-style: normal; color: var(--brand-200); }
.hero__lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.28rem); color: rgba(255, 255, 255, .86); max-width: 600px; margin-block-end: 34px; }
.hero__stats {
  list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block-start: 1px solid rgba(255, 255, 255, .22);
}
.hero__stats li { padding: 22px 22px 4px 0; padding-inline: 0 22px; }
.hero__stats li + li { padding-inline-start: 22px; border-inline-start: 1px solid rgba(255, 255, 255, .16); }
.hero__stats strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); letter-spacing: -.03em; color: var(--white); line-height: 1.1; }
.hero__stats span { font-size: var(--fs-sm); color: rgba(255, 255, 255, .72); }

.page-hero { position: relative; background: var(--sand-50); border-block-end: 1px solid var(--ink-100); overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; inset-block: 0; inset-inline-end: 0; width: 42%; z-index: 0; pointer-events: none; opacity: .5;
  background-image:
    repeating-linear-gradient(45deg, rgba(177, 42, 48, .07) 0 1.2px, transparent 1.2px 16px),
    repeating-linear-gradient(-45deg, rgba(177, 42, 48, .07) 0 1.2px, transparent 1.2px 16px);
  mask-image: linear-gradient(90deg, transparent, #000 70%);
}
[dir="rtl"] .page-hero::after { mask-image: linear-gradient(270deg, transparent, #000 70%); }
.page-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 5vw, 72px); }
.page-hero__inner--solo { grid-template-columns: minmax(0, 1fr); max-width: 880px; }
.page-hero h1 { font-size: clamp(2.1rem, 1.5rem + 2.5vw, 3.5rem); }
.page-hero .lead { max-width: 620px; margin-block-end: 28px; }
.page-hero__media { position: relative; }
.page-hero__media picture { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5 / 4; }
.page-hero__media img { height: 100%; object-fit: cover; }
.page-hero__badge {
  position: absolute; inset-inline-start: -22px; inset-block-end: 26px; display: flex; align-items: center; gap: 12px;
  max-width: 280px; padding: 14px 18px; background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow);
  font-size: var(--fs-sm); font-weight: 600; color: var(--ink-800); line-height: 1.35;
}
.page-hero__badge .icon-tile { width: 42px; height: 42px; }
.page-hero__facts { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin: 26px 0 0; padding: 0; font-size: var(--fs-sm); color: var(--ink-600); font-weight: 550; }
.page-hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.page-hero__facts .icon { color: var(--brand-600); width: 18px; height: 18px; }

.breadcrumb { margin-block-end: 22px; font-size: var(--fs-sm); color: var(--ink-500); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; padding: 0; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "/"; color: var(--ink-300); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--brand-700); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--ink-800); font-weight: 550; }

/* ==========================================================================
   Secciones y rejillas
   ========================================================================== */
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--flush-top { padding-block-start: 0; }
.section--sand { background: var(--sand-50); }
.section--green { background: var(--green-900); color: var(--white); }
.section--green h2, .section--green h3, .section--green strong { color: var(--white); }
.section--green p { color: rgba(255, 255, 255, .78); }
.section--line { border-block-start: 1px solid var(--ink-100); }

.section-head { max-width: 760px; margin-block-end: clamp(36px, 4vw, 56px); }
.section-head p { font-size: var(--fs-lg); color: var(--ink-600); margin: 0; }
.section--green .section-head p { color: rgba(255, 255, 255, .75); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.section-head--split > div { max-width: 720px; }

.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split--top { align-items: start; }
.split__text h2 { margin-block-end: 20px; }
.split__text > p { font-size: var(--fs-lg); color: var(--ink-600); }

.media { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--sand-100); box-shadow: var(--shadow); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--5x4 { aspect-ratio: 5 / 4; }
.media--16x10 { aspect-ratio: 16 / 10; }
.media--square { aspect-ratio: 1; }
.media--tall { aspect-ratio: 4 / 5; }
.media__caption {
  position: absolute; inset-inline-start: 16px; inset-block-end: 16px; padding: 8px 12px; border-radius: var(--r-sm);
  background: rgba(17, 15, 13, .66); color: var(--white); font-size: var(--fs-xs); font-weight: 600; backdrop-filter: blur(6px);
}
.media-stack { position: relative; padding-block-end: 46px; padding-inline-end: 46px; }
.media-stack__small {
  position: absolute; inset-inline-end: 0; inset-block-end: 0; width: 46%; border-radius: var(--r-lg); overflow: hidden;
  border: 6px solid var(--white); box-shadow: var(--shadow-lg); aspect-ratio: 1;
}
.media-stack__small img { height: 100%; object-fit: cover; }

.icon-tile {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; flex: none;
  background: var(--brand-50); color: var(--brand-600);
}
.icon-tile .icon { width: 26px; height: 26px; }
.icon-tile--green { background: var(--green-100); color: var(--green-700); }
.icon-tile--solid { background: var(--brand-600); color: var(--white); }
.icon-tile--glass { background: rgba(255, 255, 255, .12); color: var(--white); }
.icon-tile--sm { width: 40px; height: 40px; border-radius: 11px; }
.icon-tile--sm .icon { width: 20px; height: 20px; }

/* ---------- Tarjetas ---------- */
.card {
  position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--ink-200);
  border-radius: var(--r-lg); padding: clamp(22px, 2.4vw, 30px); transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
}
.card h3 { margin-block: 18px 10px; }
.card p { margin-block-end: 0; color: var(--ink-600); }
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--ink-300); }
.card__link { margin-block-start: auto; padding-block-start: 20px; }
.card--sand { background: var(--sand-50); }
.card--green { background: var(--green-800); border-color: transparent; color: var(--white); }
.card--green h3 { color: var(--white); }
.card--green p { color: rgba(255, 255, 255, .78); }
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

.feature { display: flex; gap: 18px; align-items: flex-start; }
.feature h3 { font-size: 1.08rem; margin: 2px 0 6px; }
.feature p { margin: 0; font-size: .98rem; color: var(--ink-600); }
.section--green .feature p { color: rgba(255, 255, 255, .72); }

/* Grupos de servicio (home) */
.service-card { position: relative; display: flex; flex-direction: column; border-radius: var(--r-xl); overflow: hidden; background: var(--white); border: 1px solid var(--ink-200); transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.service-card__media img { height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.05); }
.service-card__body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 0 26px 26px; }
.service-card__body .icon-tile { margin-block-start: -28px; border: 4px solid var(--white); width: 60px; height: 60px; box-sizing: content-box; }
.service-card__body h3 { margin-block: 16px 8px; font-size: 1.35rem; }
.service-card__links { list-style: none; margin: 18px 0 0; padding: 0; display: grid; border-block-start: 1px solid var(--ink-100); }
.service-card__links a {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 0; border-block-end: 1px solid var(--ink-100); text-decoration: none; font-weight: 600; font-size: .96rem;
}
.service-card__links a .icon { color: var(--ink-300); width: 18px; height: 18px; transition: color .2s, transform .2s; }
.service-card__links a:hover { color: var(--brand-700); }
.service-card__links a:hover .icon { color: var(--brand-600); transform: translateX(3px); }

/* Sectores con imagen */
.tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; padding: 24px;
  border-radius: var(--r-lg); overflow: hidden; color: var(--white); text-decoration: none; isolation: isolate; background: var(--green-800);
}
.tile picture { position: absolute; inset: 0; z-index: -2; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 26, 19, 0) 30%, rgba(12, 26, 19, .88) 100%); transition: opacity .3s; }
.tile:hover img { transform: scale(1.06); }
.tile .icon-tile { margin-block-end: auto; }
.tile h3 { color: var(--white); margin: 18px 0 6px; font-size: 1.3rem; }
.tile p { color: rgba(255, 255, 255, .8); margin: 0; font-size: .95rem; }
.tile__arrow {
  position: absolute; inset-block-start: 22px; inset-inline-end: 22px; width: 40px; height: 40px; border-radius: var(--r-full);
  display: grid; place-items: center; background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); transition: background-color .2s;
}
.tile:hover .tile__arrow { background: var(--brand-600); }
.tile--tall { min-height: 420px; }

/* Productos */
.product-card { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--ink-200); overflow: hidden; transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card__media { aspect-ratio: 1; background: var(--sand-50); padding: 18px; display: grid; place-items: center; border-block-end: 1px solid var(--ink-100); }
.product-card__media picture { width: 100%; height: 100%; }
.product-card__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 18px 20px 20px; }
.product-card__cat { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-600); }
.product-card h3 { font-size: 1.04rem; margin: 0; line-height: 1.3; }
.product-card h3 a { text-decoration: none; }
.product-card__sub { font-size: var(--fs-sm); color: var(--ink-500); margin: 0; }
.product-card .link-arrow { margin-block-start: auto; padding-block-start: 8px; font-size: var(--fs-sm); }

/* Artículos */
.post-card { position: relative; display: flex; flex-direction: column; gap: 14px; }
.post-card__media { aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; background: var(--sand-100); }
.post-card__media img { height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: var(--fs-xs); color: var(--ink-500); }
.post-card h3 { font-size: 1.15rem; margin: 0; line-height: 1.3; }
.post-card h3 a { text-decoration: none; }
.post-card:hover h3 a { color: var(--brand-700); }
.post-card p { margin: 0; font-size: .96rem; color: var(--ink-600); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card--featured { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.post-card--featured .post-card__media { aspect-ratio: 16 / 11; }
.post-card--featured h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); }

/* Sistemas (Trampolín, Capilla, Winterfix) */
.system-card { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--green-800); border: 1px solid rgba(255, 255, 255, .08); position: relative; }
.system-card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.system-card__media img { height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.system-card:hover .system-card__media img { transform: scale(1.05); }
.system-card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.system-card__body h3 { margin: 0; color: var(--white); }
.system-card__body p { margin: 0; color: rgba(255, 255, 255, .75); font-size: .97rem; }
.system-card .link-arrow { color: var(--brand-200); margin-block-start: auto; padding-block-start: 8px; }

/* Pasos del proceso */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: paso; }
.steps li { position: relative; padding-block-start: 64px; counter-increment: paso; }
.steps li::before {
  content: counter(paso, decimal-leading-zero); position: absolute; inset-block-start: 0; inset-inline-start: 0;
  width: 48px; height: 48px; border-radius: var(--r-full); display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: .95rem; background: var(--white); color: var(--brand-600);
  border: 1.5px solid var(--brand-200); box-shadow: 0 0 0 6px var(--sand-50);
}
.steps li::after { content: ""; position: absolute; inset-block-start: 24px; inset-inline: 60px -12px; height: 1.5px; background: repeating-linear-gradient(90deg, var(--brand-200) 0 6px, transparent 6px 12px); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.12rem; margin-block-end: 8px; }
.steps p { font-size: .96rem; margin: 0; color: var(--ink-600); }
.section--green .steps li::before { background: var(--green-800); color: var(--white); border-color: rgba(255, 255, 255, .25); box-shadow: 0 0 0 6px var(--green-900); }

/* Lista con check */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon {
  flex: none; width: 24px; height: 24px; padding: 4px; margin-block-start: 1px; border-radius: var(--r-full);
  background: var(--brand-600); color: var(--white); stroke-width: 2.6;
}
.checklist strong { display: block; margin-block-end: 2px; }
.checklist span { color: var(--ink-700); }
.checklist--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
.section--green .checklist span { color: rgba(255, 255, 255, .8); }

/* Banda de cifras */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--ink-200); background: var(--white); }
.stats > div { padding: 30px 28px; }
.stats > div + div { border-inline-start: 1px solid var(--ink-200); }
.stats strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 1.5rem + 1.6vw, 3rem); letter-spacing: -.035em; color: var(--brand-600); line-height: 1; margin-block-end: 10px; }
.stats span { color: var(--ink-600); font-size: .96rem; }

/* Callout / nota */
.callout { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: var(--r-lg); background: var(--sand-100); border: 1px solid var(--sand-200); }
.callout p { margin: 0; color: var(--ink-700); }
.callout--brand { background: var(--brand-50); border-color: var(--brand-100); }

/* Comparativa / tabla de especificaciones */
.spec-table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.spec-table th, .spec-table td { text-align: start; padding: 13px 16px; border-block-end: 1px solid var(--ink-200); vertical-align: top; }
.spec-table th { width: 38%; font-weight: 600; color: var(--ink-600); background: var(--sand-50); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-block-end: 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--ink-200); border-radius: var(--r-lg); background: var(--white); }
.compare { width: 100%; border-collapse: collapse; font-size: .96rem; min-width: 560px; }
.compare th, .compare td { padding: 14px 18px; text-align: start; border-block-end: 1px solid var(--ink-200); }
.compare thead th { background: var(--green-900); color: var(--white); font-family: var(--font-display); font-weight: 700; }
.compare tbody th { font-weight: 600; color: var(--ink-700); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--ink-200); border-radius: var(--r-lg); background: var(--white); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--ink-300); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 24px; font-family: var(--font-display); font-weight: 700; font-size: 1.06rem; color: var(--ink-950);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { flex: none; width: 30px; height: 30px; padding: 6px; border-radius: var(--r-full); background: var(--sand-100); color: var(--brand-600); transition: transform .25s var(--ease), background-color .2s; }
.faq details[open] summary .icon { transform: rotate(45deg); background: var(--brand-600); color: var(--white); }
.faq__answer { padding: 0 24px 22px; color: var(--ink-700); }
.faq__answer p:last-child { margin-block-end: 0; }

/* Banda CTA */
.cta-band { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-xl); background: var(--green-900); color: var(--white); }
.cta-band picture { position: absolute; inset: 0; z-index: -2; }
.cta-band picture img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(15, 32, 24, .96) 0%, rgba(15, 32, 24, .86) 50%, rgba(15, 32, 24, .55) 100%); }
.cta-band__inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px 56px; align-items: center; padding: clamp(36px, 5vw, 68px); }
.cta-band h2 { color: var(--white); margin-block-end: 14px; }
.cta-band p { color: rgba(255, 255, 255, .8); font-size: var(--fs-lg); margin: 0; }
.cta-band__actions { display: grid; gap: 14px; justify-items: start; }
.cta-band__phone { display: inline-flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; font-weight: 650; }
.cta-band__phone .icon-tile { width: 44px; height: 44px; }
.cta-band__phone small { display: block; font-weight: 500; color: rgba(255, 255, 255, .65); font-size: var(--fs-xs); }

/* Lead magnet (vídeo) */
.lead-magnet { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-xl); background: var(--white); border: 1px solid var(--ink-200); box-shadow: var(--shadow); }
.video-thumb { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10; background: var(--green-900); isolation: isolate; }
.video-thumb picture, .video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 26, 19, .05), rgba(12, 26, 19, .55)); }
.video-thumb__play {
  position: absolute; z-index: 1; inset-block-start: 50%; inset-inline-start: 50%; transform: translate(-50%, -50%);
  width: 78px; height: 78px; border-radius: var(--r-full); display: grid; place-items: center;
  background: var(--brand-600); color: var(--white); box-shadow: 0 0 0 10px rgba(255, 255, 255, .22), 0 20px 40px -10px rgba(0, 0, 0, .55);
}
[dir="rtl"] .video-thumb__play { transform: translate(50%, -50%); }
.video-thumb__play .icon { width: 28px; height: 28px; margin-inline-start: 4px; }
.video-thumb__label { position: absolute; z-index: 1; inset-inline-start: 18px; inset-block-end: 16px; color: var(--white); font-weight: 650; font-size: var(--fs-sm); display: inline-flex; align-items: center; gap: 8px; }
.lead-magnet h2 { font-size: clamp(1.6rem, 1.25rem + 1.3vw, 2.3rem); }
.inline-form { display: grid; gap: 12px; margin-block-start: 22px; }
.inline-form__row { display: flex; gap: 10px; }
.inline-form__row input { flex: 1; min-width: 0; }

/* Oficinas / contacto */
.office-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--ink-200); }
.office-card h3 { font-size: 1.05rem; margin: 0 0 6px; }
.office-card p { margin: 0; font-size: .96rem; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact-aside { display: grid; gap: 14px; position: sticky; inset-block-start: calc(var(--header-h) + 24px); }
.contact-direct { display: grid; gap: 10px; padding: 24px; border-radius: var(--r-lg); background: var(--green-900); color: var(--white); }
.contact-direct h3 { color: var(--white); font-size: 1.15rem; margin: 0 0 4px; }
.contact-direct p { color: rgba(255, 255, 255, .75); margin: 0 0 8px; font-size: .95rem; }
.contact-direct a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r); background: rgba(255, 255, 255, .08); text-decoration: none; font-weight: 650; }
.contact-direct a:hover { background: rgba(255, 255, 255, .14); }
.contact-direct a .icon { color: var(--brand-200); }

/* ---------- Formularios ---------- */
.form-card { padding: clamp(24px, 3vw, 40px); border-radius: var(--r-xl); background: var(--white); border: 1px solid var(--ink-200); box-shadow: var(--shadow); }
.form-card h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .is-full { grid-column: 1 / -1; }
.field { display: grid; gap: 7px; }
.field label, .field__label { font-weight: 600; font-size: var(--fs-sm); color: var(--ink-800); }
.field .req { color: var(--brand-600); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 15px; border-radius: var(--r); border: 1.5px solid var(--ink-200);
  background: var(--white); color: var(--ink-900); font: inherit; font-size: 1rem; transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-500) 50%), linear-gradient(135deg, var(--ink-500) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-inline-end: 40px; }
[dir="rtl"] select { background-position: 20px 22px, 15px 22px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 4px rgba(199, 60, 66, .14); }
input::placeholder, textarea::placeholder { color: var(--ink-500); }
.field__error { display: none; font-size: var(--fs-xs); font-weight: 600; color: var(--brand-700); }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: var(--brand-600); }
.field.is-invalid .field__error { display: block; }
.check { display: flex; gap: 11px; align-items: flex-start; font-size: var(--fs-sm); color: var(--ink-700); line-height: 1.5; cursor: pointer; }
.check input { flex: none; width: 19px; height: 19px; margin: 1px 0 0; accent-color: var(--brand-600); }
.check a { color: var(--brand-700); }
.check--light { color: rgba(255, 255, 255, .78); }
.form-note { font-size: var(--fs-xs); color: var(--ink-500); margin: 0; }
.form-context { display: none; align-items: center; gap: 10px; padding: 12px 15px; border-radius: var(--r); background: var(--brand-50); border: 1px solid var(--brand-100); color: var(--brand-800); font-weight: 650; font-size: var(--fs-sm); }
.form-context.is-visible { display: flex; }
.form-success { display: grid; gap: 10px; justify-items: start; padding: 28px; border-radius: var(--r-lg); background: var(--green-50); border: 1px solid var(--green-200); }
.form-success h3 { margin: 0; display: flex; align-items: center; gap: 10px; }
.form-success .icon-tile { width: 44px; height: 44px; }

/* Modal de presupuesto (<dialog> abierto desde los CTA; ver main.js) */
.quote-modal {
  width: min(760px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 48px); padding: 0; border: 0;
  border-radius: var(--r-xl); background: var(--white); color: var(--ink-900); box-shadow: var(--shadow-lg); overflow: hidden;
}
.quote-modal[open] { display: flex; flex-direction: column; animation: modal-in .24s var(--ease); }
.quote-modal::backdrop { background: rgba(15, 32, 24, .58); backdrop-filter: blur(3px); }
.quote-modal__body { overflow-y: auto; overscroll-behavior: contain; padding: clamp(24px, 4vw, 40px); }
.quote-modal__body h2 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.9rem); padding-inline-end: 48px; }
.quote-modal__close {
  position: absolute; inset-block-start: 14px; inset-inline-end: 14px; z-index: 1; display: inline-grid; place-items: center;
  width: 42px; height: 42px; padding: 0; border: 1px solid var(--ink-200); border-radius: var(--r-full);
  background: var(--white); color: var(--ink-800); cursor: pointer; transition: background-color .15s var(--ease);
}
.quote-modal__close:hover { background: var(--sand-100); }
.quote-modal__close .icon { width: 20px; height: 20px; }
.quote-modal .form-success { margin-block-start: 8px; }
html.has-modal { overflow: hidden; }
@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .quote-modal[open] { animation: none; } }
@media (max-width: 640px) {
  .quote-modal { width: 100%; max-height: 94dvh; margin-block-end: 0; border-end-start-radius: 0; border-end-end-radius: 0; }
}
.form-error { display: none; padding: 12px 15px; border-radius: var(--r); background: var(--brand-50); color: var(--brand-800); font-size: var(--fs-sm); font-weight: 600; }
.form-error.is-visible { display: block; }
.honeypot { position: absolute !important; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ==========================================================================
   Texto largo (blog, legales, guías)
   ========================================================================== */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.article-aside { position: sticky; inset-block-start: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.toc { padding: 20px 22px; border-radius: var(--r-lg); background: var(--sand-50); border: 1px solid var(--ink-100); font-size: var(--fs-sm); }
.toc p { margin: 0 0 10px; font-weight: 700; color: var(--ink-900); font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.toc a { text-decoration: none; color: var(--ink-600); display: block; line-height: 1.4; }
.toc a:hover { color: var(--brand-700); }
.aside-cta { padding: 22px; border-radius: var(--r-lg); background: var(--green-900); color: var(--white); display: grid; gap: 12px; }
.aside-cta h3, .aside-cta strong { color: var(--white); font-size: 1.08rem; margin: 0; }
.aside-cta p { margin: 0; color: rgba(255, 255, 255, .75); font-size: var(--fs-sm); }

.prose { font-size: 1.075rem; line-height: 1.75; color: var(--ink-800); }
.prose > * { max-width: 72ch; }
.prose > :first-child { margin-block-start: 0; }
.prose h2 { font-size: clamp(1.45rem, 1.25rem + .8vw, 1.9rem); margin-block: 2.1em .6em; }
.prose h3 { font-size: 1.25rem; margin-block: 1.8em .5em; }
.prose p, .prose ul, .prose ol { margin-block: 0 1.1em; color: var(--ink-800); }
.prose li { margin-block-end: .45em; }
.prose li::marker { color: var(--brand-600); }
.prose a { color: var(--brand-700); font-weight: 550; }
.prose strong { color: var(--ink-950); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; padding-inline: 22px 0; border-inline-start: 3px solid var(--brand-600); font-size: 1.15rem; color: var(--ink-700); }
.prose figure { margin: 2em 0; max-width: none; }
.prose figure picture, .prose figure img { border-radius: var(--r-lg); }
.prose figcaption { margin-block-start: 10px; font-size: var(--fs-sm); color: var(--ink-500); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; margin-block: 1.5em; }
.prose th, .prose td { text-align: start; padding: 10px 12px; border-block-end: 1px solid var(--ink-200); vertical-align: top; }
.prose th { background: var(--sand-50); font-weight: 650; }
.prose .table-wrap { margin-block: 1.5em; max-width: none; }
.prose .table-wrap table { margin: 0; min-width: 620px; }
.prose .callout { margin-block: 1.6em; max-width: 72ch; }
.article-hero { margin-block-end: clamp(28px, 4vw, 48px); border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16 / 8; background: var(--sand-100); }
.article-hero img { height: 100%; object-fit: cover; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-size: var(--fs-sm); color: var(--ink-500); }
.article-meta span { display: inline-flex; align-items: center; gap: 7px; }
.article-meta .icon { width: 16px; height: 16px; }
.legal-meta { font-size: var(--fs-sm); color: var(--ink-500); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-block-end: 36px; }
.filters a { padding: 8px 15px; border-radius: var(--r-full); border: 1px solid var(--ink-200); text-decoration: none; font-size: var(--fs-sm); font-weight: 600; color: var(--ink-700); background: var(--white); }
.filters a:hover { border-color: var(--ink-500); }
.filters a.is-active { background: var(--ink-900); border-color: var(--ink-900); color: var(--white); }
[data-category].is-hidden { display: none; }
.link-arrow--light { color: var(--brand-200); }

/* ==========================================================================
   Producto
   ========================================================================== */
.product-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.gallery { display: grid; gap: 12px; position: sticky; inset-block-start: calc(var(--header-h) + 24px); }
.gallery__main { aspect-ratio: 1; border-radius: var(--r-xl); background: var(--sand-50); border: 1px solid var(--ink-100); display: grid; place-items: center; padding: 28px; overflow: hidden; }
.gallery__main picture, .gallery__main img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gallery__main [data-gallery-slide] { display: none; }
.gallery__main [data-gallery-slide].is-active { display: block; width: 100%; height: 100%; }
.gallery__main [data-gallery-slide] > picture, .gallery__thumb > picture { height: 100%; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.gallery__thumb { aspect-ratio: 1; border-radius: var(--r); background: var(--sand-50); border: 1.5px solid var(--ink-100); padding: 6px; cursor: pointer; overflow: hidden; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gallery__thumb.is-active, .gallery__thumb:hover { border-color: var(--brand-600); }
.product-info h1 { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.8rem); margin-block-end: 10px; }
.product-info__sub { font-size: var(--fs-lg); color: var(--ink-600); margin-block-end: 24px; }
.product-info__quote { display: grid; gap: 12px; padding: 22px; margin-block: 26px; border-radius: var(--r-lg); background: var(--sand-50); border: 1px solid var(--ink-100); }
.product-info__quote p { margin: 0; font-size: var(--fs-sm); color: var(--ink-600); display: flex; gap: 10px; align-items: flex-start; }

/* ==========================================================================
   Pie
   ========================================================================== */
.site-footer { position: relative; background: var(--green-950); color: rgba(255, 255, 255, .7); padding-block: clamp(56px, 7vw, 88px) 0; font-size: var(--fs-sm); overflow: hidden; isolation: isolate; }
.site-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .7; background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, .025) 0 1.2px, transparent 1.2px 16px), repeating-linear-gradient(-45deg, rgba(255, 255, 255, .025) 0 1.2px, transparent 1.2px 16px); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 36px 28px; }
.footer-brand img { height: 44px; width: auto; filter: brightness(0) invert(1); margin-block-end: 20px; }
.footer-brand p { color: rgba(255, 255, 255, .62); max-width: 340px; font-size: var(--fs-sm); }
.footer-contact { display: grid; gap: 10px; margin-block-start: 22px; }
.footer-contact a, .footer-contact div { display: flex; gap: 10px; align-items: flex-start; text-decoration: none; color: rgba(255, 255, 255, .85); }
.footer-contact .icon { width: 17px; height: 17px; margin-block-start: 2px; color: var(--brand-200); flex: none; }
.footer-contact a:hover { color: var(--white); }
.site-footer h4 { color: var(--white); font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 18px; font-family: var(--font-body); font-weight: 700; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--white); text-decoration: underline; }
.footer-offices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-block-start: 48px; padding-block: 28px; border-block: 1px solid rgba(255, 255, 255, .1); }
.footer-office { display: flex; gap: 12px; }
.footer-office .icon { color: var(--brand-200); width: 18px; height: 18px; margin-block-start: 2px; flex: none; }
.footer-office strong { color: var(--white); display: block; margin-block-end: 2px; font-weight: 650; }
.office-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-block-start: 8px; font-size: var(--fs-sm); }
.office-meta span { flex-basis: 100%; }
.office-meta a { font-weight: 650; }
.footer-office .office-meta a { color: var(--brand-200); text-decoration: none; }
.footer-office .office-meta a:hover { color: var(--white); text-decoration: underline; }
.office-card .office-meta { color: var(--ink-600, inherit); }
.social-links { margin-block-start: 18px; font-size: var(--fs-sm); color: rgba(255, 255, 255, .62); }
.social-links a { color: rgba(255, 255, 255, .85); text-decoration: none; font-weight: 600; }
.social-links a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding-block: 24px 30px; font-size: var(--fs-xs); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 0; padding: 0; }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { color: var(--white); text-decoration: underline; }
.footer-langs { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; }
.footer-langs a { display: inline-block; padding: 4px 8px; border-radius: var(--r-sm); text-decoration: none; font-weight: 700; color: rgba(255, 255, 255, .6); }
.footer-langs a:hover { color: var(--white); background: rgba(255, 255, 255, .08); }
.footer-langs a.is-active { color: var(--white); background: rgba(255, 255, 255, .12); }

/* ---------- Aparición al hacer scroll (solo con JS y sin reduced-motion) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Utilidades
   ========================================================================== */
.u-mt-0 { margin-block-start: 0; }
.u-mt-sm { margin-block-start: 16px; }
.u-mt-md { margin-block-start: 28px; }
.u-mt-lg { margin-block-start: 48px; }
.u-mb-0 { margin-block-end: 0; }
.u-center { margin-inline: auto; }
.u-stack-sm > * + * { margin-block-start: 12px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
  .mega { grid-template-columns: minmax(0, 1fr); }
  .mega__promo { display: none; }
  .topbar__info .topbar__item:nth-child(2) { display: none; }
  .site-header__bar { gap: 16px; }
  .nav__link { padding-inline: 9px; }
  .brand img { height: 40px; }
}
@media (max-width: 1100px) {
  .nav, .site-header__actions .btn--primary { display: none; }
  .nav-toggle, .header-phone { display: inline-flex; }
  :root { --header-h: 68px; }
  .brand img { height: 40px; }
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-aside { position: static; }
}
@media (max-width: 960px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .page-hero__inner, .contact-layout, .product-layout, .lead-magnet, .cta-band__inner, .post-card--featured { grid-template-columns: minmax(0, 1fr); }
  .split--reverse > :first-child { order: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .steps li:nth-child(2)::after { display: none; }
  .stats, .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats > div:nth-child(3) { border-inline-start: 0; }
  .stats > div:nth-child(n+3) { border-block-start: 1px solid var(--ink-200); }
  .hero__stats li:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .page-hero__badge { inset-inline-start: 16px; }
  .contact-aside, .gallery { position: static; }
  .topbar__info { display: none; }
  .topbar__inner { justify-content: flex-end; }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4, .checklist--2, .form-grid, .footer-offices { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li::after { display: none; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topbar__actions .topbar__item--email { display: none; }
  .hero__inner { min-height: auto; padding-block-start: 96px; }
  .hero__stats li { padding-inline-end: 12px; }
  .hero__stats li + li { padding-inline-start: 14px; }
  .media-stack { padding: 0; }
  .media-stack__small { display: none; }
  .inline-form__row { flex-direction: column; }
  .btn-row .btn { flex: 1 1 auto; }
  .tile { min-height: 240px; }
  .gallery__thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cta-band__actions { justify-items: stretch; }
}
@media print {
  .topbar, .site-header, .drawer, .site-footer, .cta-band, .lead-magnet { display: none !important; }
}

/* ---------- Aviso de cookies (Google Analytics bajo consentimiento) ---------- */
.consent { position: fixed; z-index: 90; inset-block-end: 16px; inset-inline-start: 16px; width: min(440px, calc(100% - 32px)); padding: 18px 20px; border-radius: var(--r-lg); background: var(--white); color: var(--ink-900); box-shadow: var(--shadow-lg); border: 1px solid var(--ink-200); animation: modal-in .24s var(--ease); }
.consent[hidden] { display: none; }
.consent__text { margin: 0 0 14px; font-size: .92rem; line-height: 1.5; }
.consent__text a { color: var(--brand-700); }
.consent__actions { display: flex; gap: 10px; justify-content: flex-end; }
.consent__actions .btn { flex: 1 1 0; }
.footer-legal__btn { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.footer-legal__btn:hover { color: var(--white); text-decoration: underline; }
@media (max-width: 640px) { .consent { inset-inline: 8px; inset-block-end: 8px; width: auto; } }
@media (prefers-reduced-motion: reduce) { .consent { animation: none; } }

/* ---------- Home: vídeo de instalaciones + captación (problema → agitación → solución) ---------- */
.section--reel { padding-block-end: clamp(40px, 5vw, 64px); }
.reel { max-width: 1120px; margin-inline: auto; aspect-ratio: 16 / 9; border-radius: var(--r-xl); overflow: hidden; background: var(--green-950); box-shadow: var(--shadow-lg); }
.reel__video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--green-950); }
.pas { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.pas h2 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.7rem); margin-block-end: 18px; }
.pas__agitation { font-size: 1.06rem; margin-block-end: 14px; }
.section--green .pas__solution { color: var(--white); font-weight: 650; font-size: 1.08rem; margin-block-end: 20px; }
.pas .checklist .icon { color: var(--brand-200); }
.pas__form { background: var(--white); color: var(--ink-900); border-radius: var(--r-xl); padding: clamp(24px, 3.4vw, 40px); box-shadow: var(--shadow-lg); }
.section--green .pas__form h3 { color: var(--ink-900); margin: 16px 0 6px; font-size: 1.35rem; }
.section--green .pas__form p { color: var(--ink-600); }
.section--green .pas__form .form-error { color: var(--brand-700); }
.pas__form .inline-form { margin-block-start: 18px; }
@media (max-width: 960px) { .pas { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Hero en portátiles (poca altura útil): titular, subtítulo y CTA visibles sin hacer scroll ---------- */
@media (min-width: 901px) and (max-height: 900px) {
  .hero__inner { min-height: calc(100svh - 118px); padding-block: clamp(40px, 8vh, 96px) clamp(20px, 3vh, 32px); gap: clamp(20px, 3.5vh, 40px); }
  .hero__title { font-size: clamp(2.3rem, 1rem + 5.4vh, 3.9rem); margin-block-end: clamp(10px, 1.8vh, 18px); }
  .hero__lead { font-size: clamp(1rem, .7rem + .9vh, 1.18rem); margin-block-end: clamp(16px, 3vh, 28px); }
  .hero__stats li { padding-block-start: clamp(10px, 1.8vh, 20px); }
  .hero__stats strong { font-size: clamp(1.35rem, .6rem + 2.2vh, 2rem); }
}
.reel { position: relative; }
.reel__sound { position: absolute; inset-block-start: 16px; inset-inline-end: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px; border: 1px solid rgba(255, 255, 255, .35); border-radius: var(--r-full); background: rgba(15, 32, 24, .62); color: var(--white); font: inherit; font-weight: 650; font-size: .95rem; cursor: pointer; backdrop-filter: blur(6px); transition: background .2s var(--ease); }
.reel__sound:hover { background: rgba(15, 32, 24, .82); }
.reel__sound:focus-visible { outline: 3px solid var(--brand-200); outline-offset: 2px; }
.reel__sound .icon { width: 20px; height: 20px; }
.reel__sound-on { display: none; }
.reel__sound.is-on .reel__sound-on { display: inline-flex; }
.reel__sound.is-on .reel__sound-off { display: none; }
.reel__sound-off { display: inline-flex; }
.reel__sound[hidden] { display: none; }
@media (max-width: 640px) { .reel__sound { inset-block-start: 10px; inset-inline-end: 10px; padding: 8px 12px 8px 10px; font-size: .88rem; } }
