/* ============================================================================
   CANTOVI · front-page.css
   Estilos exclusivos del home (extraídos de index_7.html <style>).
   Enqueue: sólo cuando is_front_page().
   Filtrado: todas las reglas del header/mobile-nav legacy (#header, .header-*,
   #mobile-nav, .products-mega-*, .nav-item, etc.) han sido eliminadas.
   El header + mobile-nav vienen de design-system/header.{css,js}.
   ========================================================================== */

/* ─── RESET ─────────────────────────────────────────── */
    
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    
html { scroll-behavior: auto; }

    
img { display: block; max-width: 100%; }

    
a { text-decoration: none; color: inherit; }

    
button { cursor: pointer; border: none; background: none; font: inherit; }


    /* ─── TOKENS ─────────────────────────────────────────── */
    
:root {
      --dark:     #1b2124;
      --white:    #ffffff;
      --light:    #f7f8f8;
      --gray:     #ececec;
      --dim:      #999999;
      --dim2:     #666d76;
      --dim3:     #d9d9d9;
      --grid:     1080px;
      --ease:     cubic-bezier(0.16, 1, 0.3, 1);
      --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    }


    /* ─── BASE TYPOGRAPHY ────────────────────────────────── */
    
body {
      font-family: 'Neue Haas Grotesk Display Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
      background: var(--dark);
      color: var(--white);
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }


    /* ─── HEADER ─────────────────────────────────────────── */
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      max-width: 100%;
      background: transparent;
      backdrop-filter: none;
      -webkit-backdrop-filter: none;
      border-radius: 0;
      padding: 24px 64px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      z-index: 1000;
      transition:
        top               0.7s cubic-bezier(0.23, 1, 0.32, 1),
        left              0.7s cubic-bezier(0.23, 1, 0.32, 1),
        width             0.7s cubic-bezier(0.23, 1, 0.32, 1),
        max-width         0.7s cubic-bezier(0.23, 1, 0.32, 1),
        padding           0.7s cubic-bezier(0.23, 1, 0.32, 1),
        background        0.7s cubic-bezier(0.23, 1, 0.32, 1),
        border-radius     0.7s cubic-bezier(0.23, 1, 0.32, 1),
        box-shadow        0.7s cubic-bezier(0.23, 1, 0.32, 1),
        transform         0.7s cubic-bezier(0.23, 1, 0.32, 1),
        opacity           0.7s cubic-bezier(0.23, 1, 0.32, 1);
      box-shadow: none;
      /* Hidden until video ends */
      opacity: 0;
      pointer-events: none;
    }
      opacity: 1;
      pointer-events: auto;
    }
    /* ─── HEADER STATE 02: scrolled white pill ───────────── */
      top: 24px;
      left: 50%;
      transform: translateX(-50%);
      width: var(--grid);
      max-width: calc(100vw - 32px);
      background: rgba(255, 255, 255, 0.94);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-radius: 0;
      padding: 12px 12px 12px 24px;
      box-shadow: 0 4px 40px rgba(0,0,0,0.13), 0 1px 0 rgba(0,0,0,0.04);
    }
      top: 0;
      left: 0;
      transform: none;
      width: 100%;
      max-width: 100%;
      background: var(--white);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-radius: 0;
      padding: 12px 64px;
      box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    }

      font-size: 15px;
      font-weight: 700;
      letter-spacing: 0.05em;
      color: var(--white);
      white-space: nowrap;
      flex-shrink: 0;
      transition: color 0.7s cubic-bezier(0.23, 1, 0.32, 1);
    }

      display: flex;
      align-items: center;
      gap: 4px;
      flex: 1;
      justify-content: center;
    }

      display: flex;
      align-items: center;
      gap: 6px;
      padding: 10px 14px;
      border-radius: 12px;
      font-size: 14px;
      font-weight: 500;
      color: rgba(255,255,255,0.88);
      transition: background 0.2s, color 0.7s cubic-bezier(0.23, 1, 0.32, 1);
      white-space: nowrap;
      cursor: pointer;
      position: relative;
    
    
      outline-color: var(--dark);
    }
      outline-color: var(--dark);
    }
      width: 16px; height: 16px;
      transition: transform 0.2s, color 0.7s cubic-bezier(0.23, 1, 0.32, 1);
      color: rgba(255,255,255,0.7);
    

      border: 0;
      background: transparent;
      font-family: inherit;
    
    
      position: fixed;
      top: calc(var(--products-mega-top, 96px) - 1px);
      left: 0;
      right: 0;
      width: 100vw;
      background: var(--white);
      border-radius: 0;
      padding: 24px 0;
      opacity: 0;
      visibility: hidden;
      transform: translateY(-8px);
      transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
      box-shadow: 0 8px 32px rgba(0,0,0,0.12);
      cursor: default;
    }
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }
      width: 100%;
      max-width: 1080px;
      margin: 0 auto;
      padding: 0 32px;
    }
      display: grid;
      grid-template-columns: minmax(280px, 1fr) minmax(260px, 1fr) 364px;
      gap: 32px;
      align-items: start;
    }
      margin: 0 0 18px;
      font-size: 16px;
      font-weight: 700;
      color: var(--dark);
    
    
    
    
    
    
    
    
    
      display: block;
      position: relative;
      width: 100%;
      height: 300px;
      overflow: hidden;
      color: var(--white);
      background: var(--gray);
    
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: opacity 0.24s var(--ease), transform 0.5s var(--ease);
    
    
    
    

    /* ─── HEADER CTA — Figma design system button ────────── */
    /* Hero state: white background, dark text, dark square icon */
      display: flex;
      align-items: center;
      gap: 0;
      background: var(--white);
      color: var(--dark);
      border-radius: 0;
      padding: 10px 10px 10px 20px;
      font-size: 14px;
      font-weight: 300;
      letter-spacing: 0.05em;
      white-space: nowrap;
      box-shadow: 0 8px 16px rgba(0,0,0,0.2);
      transition:
        background     0.7s cubic-bezier(0.23, 1, 0.32, 1),
        box-shadow     0.7s cubic-bezier(0.23, 1, 0.32, 1),
        color          0.7s cubic-bezier(0.23, 1, 0.32, 1),
        padding        0.7s cubic-bezier(0.23, 1, 0.32, 1);
      cursor: pointer;
      flex-shrink: 0;
    }
    /* Scrolled / compact state: dark background, white text, white square icon */
      background: var(--dark);
      color: var(--white);
      padding: 10px 10px 10px 20px;
      box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    }
      background: var(--dark);
      color: var(--white);
      padding: 10px 10px 10px 20px;
      box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    
}

    /* Label slide-through animation — vertical, loops while hovering */
    @keyframes label-through {
      0% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0.4, 0, 1, 0.6);
      }
      42% {
        transform: translateY(-160%);
        animation-timing-function: steps(1, end);
      }
      42.5% {
        transform: translateY(160%);
        animation-timing-function: cubic-bezier(0, 0.4, 0.2, 1);
      }
      100% {
        transform: translateY(0);
      }
    }


    /* Arrow slide-through animation — loops while hovering */
    
@keyframes arrow-through {
      0% {
        transform: translateX(0);
        animation-timing-function: cubic-bezier(0.4, 0, 1, 0.6);
      }
      42% {
        transform: translateX(150%);
        animation-timing-function: steps(1, end);
      }
      42.5% {
        transform: translateX(-150%);
        animation-timing-function: cubic-bezier(0, 0.4, 0.2, 1);
      }
      100% {
        transform: translateX(0);
      }
    }


    /* Label clip container — hides text above/below during animation */
    
    
    

    /* Icon container: square, 28×28, clips arrow during transit */
      width: 28px;
      height: 28px;
      background: var(--dark);
      border-radius: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-left: 10px;
      flex-shrink: 0;
      overflow: hidden;
      transition: background 0.7s cubic-bezier(0.23, 1, 0.32, 1);
    }

      width: 16px;
      height: 16px;
      color: var(--white);
      display: block;
      flex-shrink: 0;
      transition: color 0.7s cubic-bezier(0.23, 1, 0.32, 1);
      /* Animation always defined but paused — plays on hover */
      animation: arrow-through 520ms linear infinite;
      animation-play-state: paused;
    

    /* ─── HERO ────────────────────────────────────────────── */
    
#hero-section {
      position: relative;
      height: 100vh;
      min-height: 560px;
      overflow: hidden;
      background: #0a0a0a;
    }


    
#hero-video {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }


    
#hero-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(
        to bottom,
        rgba(27,33,36,0)    0%,
        rgba(27,33,36,0)   40%,
        rgba(27,33,36,0.6) 65%,
        rgba(27,33,36,1)  100%
      );
      pointer-events: none;
    }


    
#hero-loader {
      position: absolute;
      inset: 0;
      background: var(--dark);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 10;
      transition: opacity 0.8s var(--ease);
    }

    
#hero-loader.hidden { opacity: 0; pointer-events: none; }


    
.loader-bar {
      width: 120px;
      height: 1px;
      background: rgba(255,255,255,0.15);
      position: relative;
      overflow: hidden;
    }

    
.loader-bar::after {
      content: '';
      position: absolute;
      inset: 0;
      background: var(--white);
      transform: scaleX(0);
      transform-origin: left;
      animation: loaderFill 1.2s var(--ease) forwards;
    }

    
@keyframes loaderFill { to { transform: scaleX(1); } }


    /* Hero Content */
    
#hero-content {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      padding: 0 calc((100% - var(--grid)) / 2) 72px;
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 40px;
      z-index: 5;
      pointer-events: auto;
    }

    
#hero-content.revealed { pointer-events: auto; }


#hero-content:not(.revealed) .hero-eyebrow,
#hero-content:not(.revealed) .hero-title,
#hero-content:not(.revealed) .hero-description,
#hero-content:not(.revealed) .hero-ctas {
      pointer-events: none;
    }


    
.hero-left { flex: 0 0 auto; max-width: 540px; }

    
.hero-right { flex: 0 0 340px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; justify-content: flex-end; }


    
.hero-eyebrow {
      font-size: 16px;
      font-weight: 300;
      letter-spacing: 0.04em;
      color: var(--white);
      margin-bottom: 16px;
    }

    
.hero-title {
      font-size: clamp(44px, 5vw, 72px);
      font-weight: 700;
      line-height: 1.05;
      text-transform: uppercase;
      color: var(--white);
    }

    
.hero-description {
      font-size: 15px;
      font-weight: 300;
      line-height: 1.6;
      letter-spacing: 0.05em;
      color: rgba(255,255,255,0.85);
      opacity: 0;
      filter: blur(12px);
      transform: translateY(12px);
      transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1) 0.25s, filter 0.7s cubic-bezier(0.23, 1, 0.32, 1) 0.25s, transform 0.7s cubic-bezier(0.23, 1, 0.32, 1) 0.25s;
    }

    
.hero-ctas {
      display: flex;
      gap: 16px;
      align-items: center;
      flex-wrap: wrap;
      opacity: 0;
      transform: translateY(16px) scale(0.97);
      transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1) 0.35s, transform 0.7s cubic-bezier(0.23, 1, 0.32, 1) 0.35s;
    }

    
#hero-content.revealed .hero-description {
      opacity: 1;
      filter: blur(0);
      transform: translateY(0);
    }

    
#hero-content.revealed .hero-ctas {
      opacity: 1;
      transform: translateY(0) scale(1);
    }


    /* ─── CONTROLES VÍDEO HERO (pausar + saltar) ─────────── */
    /* Viven dentro de .hero-left, fluyen encima del eyebrow y título en
       cualquier breakpoint sin necesidad de tunear posición absolute. */
    /* Tokens compartidos por AMBOS controles de vídeo (círculo Play/Pausa y
       pill "Saltar vídeo"). Valores del componente de Figma: fondo #000000 @ 30 %,
       efecto "Blur BG Light 30" (16 px) y borde 1 px. Una sola fuente de verdad:
       la única diferencia entre los dos botones es su contenido y su forma. */
#hero-controls {
      --vc-height: 56px;
      --vc-bg: rgba(0, 0, 0, 0.3);            /* Fill 000000 · 30 % — negro semitransparente (Enabled) */
      --vc-bg-hover: var(--white);            /* Hover: fondo completamente blanco */
      --vc-fg-hover: var(--dark);             /* Hover: texto/iconos negros (Foreground/Static/Default) */
      --vc-border: 1px solid rgba(255, 255, 255, 0.7);
      --vc-border-hover: var(--white);        /* Border/Interactive/Button/Neutral - Inverse/Hover */
      --vc-blur: 16px;                        /* Blur BG Light 30 */
      --vc-focus-ring: 2px solid var(--white);
      --vc-focus-offset: 3px;
      --vc-transition: background 0.25s var(--ease), border-color 0.25s var(--ease),
                       color 0.25s var(--ease), transform 0.25s var(--ease);

      display: flex;
      align-items: center;
      gap: 12px;
      align-self: flex-start;
      margin-bottom: 20px;
      opacity: 0;
      transition: opacity 0.25s var(--ease);
    }

#hero-controls.visible { opacity: 1; pointer-events: auto; }

#hero-controls.hidden { opacity: 0; pointer-events: none; }

    /* ── Base común: mismo fondo, desenfoque, borde, color de icono/texto y
          transiciones. Estados idénticos: Enabled · Hover · Focus · Active · Disabled. */
#hero-pause-btn,
#hero-skip-btn {
      height: var(--vc-height);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: var(--vc-border);
      background: var(--vc-bg);
      backdrop-filter: blur(var(--vc-blur));
      -webkit-backdrop-filter: blur(var(--vc-blur));
      color: var(--white);                    /* icono/texto blancos en todos los estados */
      cursor: pointer;
      transition: var(--vc-transition);
    }

    /* Hover: fondo completamente blanco, borde blanco e icono/texto negros
       (idéntico en ambos botones) + ligero crecimiento. */
#hero-pause-btn:hover,
#hero-skip-btn:hover {
      background: var(--vc-bg-hover);
      border-color: var(--vc-border-hover);
      color: var(--vc-fg-hover);
      transform: scale(1.04);
    }

    /* Focus: mismo aspecto que Hover + indicador de foco visible (anillo blanco) */
#hero-pause-btn:focus-visible,
#hero-skip-btn:focus-visible {
      background: var(--vc-bg-hover);
      border-color: var(--vc-border-hover);
      color: var(--vc-fg-hover);
      outline: var(--vc-focus-ring);
      outline-offset: var(--vc-focus-offset);
    }

    /* Active: pulsación */
#hero-pause-btn:active,
#hero-skip-btn:active { transform: scale(0.97); }

    /* Disabled: fondo tenue, borde e icono apagados, sin interacción */
#hero-pause-btn:disabled,
#hero-pause-btn[disabled],
#hero-skip-btn:disabled,
#hero-skip-btn[disabled] {
      background: rgba(0, 0, 0, 0.05);        /* Background/Interactive/Disabled */
      border-color: #404953;                  /* Border/Disabled */
      color: #666d76;                         /* Foreground/Interactive/Disabled */
      cursor: default;
      pointer-events: none;
      transform: none;
    }

    /* ── Único rasgo propio del círculo Play/Pausa: la forma. */
#hero-pause-btn {
      width: var(--vc-height);
      flex-shrink: 0;
      border-radius: 50%;
    }

#hero-pause-btn svg {
      height: 14px;
      width: auto;
      flex-shrink: 0;
      pointer-events: none;
    }

#hero-pause-btn svg[hidden] { display: none; }

    /* ── Rasgos propios de "Saltar vídeo": pill con texto + icono de avance. */
#hero-skip-btn {
      gap: 8px;
      padding: 0 22px;
      border-radius: 300px;
      font-size: 16px;
      font-weight: 400;
      letter-spacing: 0.05em;
    }

#hero-skip-btn svg {
      width: 14px; height: 14px;
      flex-shrink: 0;
    }

    /* Respeta prefers-reduced-motion: cambio de estado inmediato, sin transición */
@media (prefers-reduced-motion: reduce) {
#hero-pause-btn,
#hero-skip-btn { transition: none; }
#hero-pause-btn:hover,
#hero-skip-btn:hover,
#hero-pause-btn:active,
#hero-skip-btn:active { transform: none; }
    }


    /* ─── BUTTONS ─────────────────────────────────────────── */
    
.btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 0;
      background: var(--white);
      color: var(--dark);
      border: 1.5px solid var(--white);
      padding: 10px 10px 10px 20px;
      font-size: 13px;
      font-weight: 300;
      letter-spacing: 0.06em;
      transition: background 0.2s, color 0.2s, border-color 0.2s;
      cursor: pointer;
    }

    
.btn-primary:hover { background: var(--dark); color: var(--white); border-color: var(--white); }


    /* Shared icon container for all arrow buttons */
    
.btn-icon {
      width: 28px;
      height: 28px;
      background: var(--dark);
      border-radius: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-left: 10px;
      flex-shrink: 0;
      overflow: hidden;
      transition: background 0.2s;
    }

    
.btn-primary:hover .btn-icon { background: var(--white); }

    
.btn-icon svg {
      width: 16px;
      height: 16px;
      color: var(--white);
      display: block;
      flex-shrink: 0;
      transition: color 0.2s;
      animation: arrow-through 520ms linear infinite;
      animation-play-state: paused;
    }

    
.btn-primary:hover .btn-icon svg { color: var(--dark); }

    
.btn-icon svg.arrow-running { animation-play-state: running; }


    /* Label clip wrapper for btn-primary */
    
.btn-label-wrap {
      display: inline-flex;
      align-items: center;
      overflow: hidden;
      height: 1em;
      line-height: 1;
    }

    
.btn-label {
      display: block;
      animation: label-through 520ms linear infinite;
      animation-play-state: paused;
    }

    
.btn-label.label-running { animation-play-state: running; }


    
.btn-outline {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: transparent;
      color: var(--white);
      border: 1.5px solid rgba(255,255,255,0.6);
      padding: 11px 20px;
      font-size: 13px;
      font-weight: 300;
      letter-spacing: 0.06em;
      transition: border-color 0.2s, background 0.2s, color 0.2s;
      cursor: pointer;
    }

    
.btn-outline:hover { border-color: var(--white); background: var(--white); color: var(--dark); }

    
.btn-outline:hover .btn-label { animation-play-state: running; }


    
.btn-dark {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: var(--dark);
      color: var(--white);
      padding: 12px 20px;
      font-size: 13px;
      font-weight: 300;
      letter-spacing: 0.06em;
      transition: background 0.2s;
      cursor: pointer;
    }

    
.btn-dark:hover { background: #1a2a3a; }


    /* Motion tokens (.word-reveal, .anim-title, .anim-words, .anim-fade,
       #hero-content.revealed .hero-* .word-reveal) viven en
       design-system/motion.css — no dupliques aquí. */

    /* ─── SECTION: PRODUCTS ──────────────────────────────── */
    
#productos {
      background: var(--dark);
      padding: 120px 0 100px;
    }

    
.section-grid {
      max-width: var(--grid);
      margin: 0 auto;
      padding: 0 24px;
    }


    
.products-header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 48px;
      margin-bottom: 64px;
    }

    
.products-title {
      font-size: clamp(40px, 4.5vw, 64px);
      font-weight: 300;
      text-transform: uppercase;
      color: var(--white);
      line-height: 1.05;
      max-width: 380px;
    }

    
.products-subtitle {
      font-size: 16px;
      font-weight: 300;
      letter-spacing: 0.06em;
      color: var(--dim);
      max-width: 240px;
      padding-top: 8px;
      line-height: 1.5;
    }


    
.product-list { width: 100%; }


    
.product-card {
      position: relative;
      background: var(--bg-inverse, var(--dark));
      border-top: 1px solid rgba(255,255,255,0.1);
      overflow: hidden;
      cursor: pointer;
      transition: background 0.4s var(--ease);
    }

    
.product-card:last-child { border-bottom: 1px solid rgba(255,255,255,0.1); }

    
.product-card:hover { background: var(--base-white, var(--white)); }


    
.product-card-inner {
      display: flex;
      align-items: flex-start;
      gap: 80px;
      padding: 24px;
      min-height: 100px;
      transition: min-height 0.4s var(--ease);
    }

    
.product-card:hover .product-card-inner { min-height: 200px; }


    /* Col 1: number */
    
.product-number {
      font-size: 13px;
      font-weight: 300;
      letter-spacing: 0.08em;
      color: var(--fg-inverse, var(--white));
      width: 28px;
      flex-shrink: 0;
      transition: color 0.35s var(--ease);
      padding-top: 10px;
    }

    
.product-card:hover .product-number { color: var(--fg-default, var(--dark)); }


    /* Col 2: title + arrow */
    
.product-main {
      flex: 0 0 300px;
      display: flex;
      flex-direction: column;
      gap: 24px;
    }


    
.product-name {
      font-size: clamp(28px, 3vw, 40px);
      font-weight: 300;
      text-transform: uppercase;
      color: var(--fg-inverse, var(--white));
      transition: color 0.35s var(--ease);
      line-height: 1;
    }

    
.product-card:hover .product-name { color: var(--fg-default, var(--dark)); }


    
.product-arrow {
      opacity: 0;
      transform: translateY(6px);
      transition: opacity 0.4s var(--ease) 0.05s, transform 0.4s var(--ease) 0.05s;
      display: flex;
      align-items: center;
    }

    
.product-arrow img {
      width: 48px;
      height: 16px;
      display: block;
      transition: transform 0.3s var(--ease);
    }

    
.product-card:hover .product-arrow { opacity: 1; transform: translateY(0); }

    
.product-card:hover .product-arrow img { transform: translateX(6px); }


    /* Col 3: subcategories — sibling of product-main in the flex row */
    
.product-subcats {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 24px;
      opacity: 0;
      transform: translateY(6px);
      transition: opacity 0.4s var(--ease) 0.1s, transform 0.4s var(--ease) 0.1s;
      pointer-events: none;
      align-self: center;
    }

    
.product-card:hover .product-subcats {
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
    }

    
.product-subcat {
      font-size: 13px;
      font-weight: 300;
      letter-spacing: 0.05em;
      color: var(--fg-inverse, var(--white));
      line-height: 1.4;
    }


    
.product-image-wrap {
      width: 220px;
      height: 120px;
      flex-shrink: 0;
      overflow: hidden;
      opacity: 0;
      transform: scale(0.97);
      transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
    }

    
.product-card:hover .product-image-wrap { opacity: 1; transform: scale(1); }

    
.product-image-wrap img {
      width: 100%; height: 100%; object-fit: cover;
      transition: transform 0.6s var(--ease);
    }

    
.product-card:hover .product-image-wrap img { transform: scale(1.04); }


    /* ─── SECTION: CONTACT ───────────────────────────────── */
    
#contact {
      background: var(--dark);
      padding: 120px 0;
      position: relative;
      overflow: visible;
    }


    /* Single-column layout — all text on the left */
    
.contact-grid {
      max-width: var(--grid);
      margin: 0 auto;
      padding: 0 24px;
      position: relative;
      z-index: 2;
    }


    
.contact-left-col {
      display: flex;
      flex-direction: column;
      gap: 24px;
      max-width: 520px;
    }


    
.contact-eyebrow {
      font-size: 16px; font-weight: 300; color: var(--white);
      letter-spacing: 0.04em;
    }

    
.contact-title {
      font-size: clamp(40px, 4.5vw, 64px);
      font-weight: 300; text-transform: uppercase;
      line-height: 1.15; color: var(--white);
    }

    
.contact-subtitle {
      font-size: clamp(18px, 2vw, 28px);
      font-weight: 700; text-transform: uppercase;
      color: var(--white);
    }

    
.contact-description {
      font-size: 14px; font-weight: 300;
      letter-spacing: 0.06em; line-height: 1.7;
      color: var(--white);
      margin-top: 4px;
    }

    
.contact-actions { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 4px; }


    /* ─── CIRCULAR GALLERY ─────────────────────────────────── */
    
#contact { overflow: visible; }

    
.float-gallery {
      position: absolute;
      right: calc((100% - var(--grid)) / 2 - 460px);
      top: 50%;
      transform: translateY(-50%);
      width: 860px;
      height: 860px;
      pointer-events: none;
      z-index: 50;
      overflow: visible;
    }

    
.fg-card {
      position: absolute;
      border-radius: 0;
      overflow: hidden;
      will-change: transform;
      box-shadow:
        0 12px 40px rgba(0,0,0,0.32),
        0 2px 10px rgba(0,0,0,0.18),
        inset 0 1px 0 rgba(255,255,255,0.07);
      pointer-events: auto;
    }

    
.fg-card img { width:100%; height:100%; object-fit:cover; display:block; }


    
@keyframes fg-float-a {
      0%,100% { transform: rotate(var(--r)) translateY(0px); }
      33%     { transform: rotate(calc(var(--r) + 1.2deg)) translateY(-5px); }
      66%     { transform: rotate(calc(var(--r) - 0.8deg)) translateY(-2px); }
    }

    
@keyframes fg-float-b {
      0%,100% { transform: rotate(var(--r)) translateY(0px); }
      40%     { transform: rotate(calc(var(--r) - 1.8deg)) translateY(-7px); }
      75%     { transform: rotate(calc(var(--r) + 1.0deg)) translateY(-3px); }
    }

    
@keyframes fg-float-c {
      0%,100% { transform: rotate(var(--r)) translateY(0px); }
      25%     { transform: rotate(calc(var(--r) + 2.2deg)) translateY(-6px); }
      70%     { transform: rotate(calc(var(--r) - 1.5deg)) translateY(-9px); }
    }

    
@keyframes fg-float-d {
      0%,100% { transform: rotate(var(--r)) translateY(0px); }
      45%     { transform: rotate(calc(var(--r) - 1.0deg)) translateY(-4px); }
      80%     { transform: rotate(calc(var(--r) + 2.0deg)) translateY(-7px); }
    }

    
@media (max-width: 900px) {
.float-gallery { display: none; }
}


    /* ─── SECTION: HOTSPOTS ─────────────────────────────── */
    
#hotspots-section {
      position: relative; width: 100%; overflow: hidden; background: var(--dark);
    }

    
.hotspots-image {
      display: block; width: 100%; height: 70vh;
      min-height: 480px; max-height: 800px;
      object-fit: cover; object-position: center;
    }

    
.hotspot {
      position: absolute; width: 36px; height: 36px;
      transform: translate(-50%, -50%); cursor: pointer; z-index: 10;
    }

    
.hotspot-ring {
      position: absolute; inset: 0;
      border: 1.5px solid rgba(255,255,255,0.5); border-radius: 50%;
      animation: hs-pulse 2.4s ease-out infinite;
    }

    
.hotspot-dot {
      position: absolute; inset: 11px; background: #fff;
      border-radius: 50%; transition: transform 0.2s var(--ease);
    }

    
.hotspot:hover .hotspot-dot { transform: scale(1.25); }

    
@keyframes hs-pulse {
      0%  { transform: scale(1);   opacity: 0.7; }
      70% { transform: scale(1.8); opacity: 0; }
      100%{ transform: scale(1.8); opacity: 0; }
    }

    
.hotspot-tooltip {
      position: absolute; bottom: calc(100% + 14px); left: 50%;
      transform: translateX(-50%) translateY(6px);
      background: #fff; color: var(--dark); padding: 16px 20px;
      min-width: 180px; pointer-events: none; opacity: 0; white-space: nowrap;
      transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
    }

    
.hotspot:hover .hotspot-tooltip, .hotspot.active .hotspot-tooltip {
      opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto;
    }

    
.hotspot.tt-below .hotspot-tooltip { bottom: auto; top: calc(100% + 14px); }

    
.hotspot.tt-right .hotspot-tooltip {
      left: calc(100% + 14px); bottom: auto; top: 50%; transform: translateY(-50%);
    }

    
.hotspot.tt-right:hover .hotspot-tooltip, .hotspot.tt-right.active .hotspot-tooltip { opacity: 1; transform: translateY(-50%); }

    
.tooltip-title {
      font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
      text-transform: uppercase; margin-bottom: 4px;
    }

    
.tooltip-desc { font-size: 12px; color: var(--dim2); margin-bottom: 12px; }

    
.tooltip-cta {
      font-size: 12px; color: var(--dark); text-decoration: underline;
      text-underline-offset: 3px; letter-spacing: 0.02em;
    }

    
.tooltip-cta:hover { color: #555; }


    /* ─── SECTION: ENCUENTRANOS ──────────────────────────── */
    
#encuentranos { background: var(--white); padding: 80px 0; }

    
.encuentranos-grid {
      max-width: var(--grid); margin: 0 auto; padding: 0 24px;
      display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: start;
    }

    
.encuentranos-title {
      font-size: clamp(40px, 5vw, 64px); font-weight: 300;
      text-transform: uppercase; letter-spacing: 0.03em;
      color: var(--dark); margin-bottom: 16px; line-height: 1;
    }

    
.encuentranos-intro {
      font-size: 15px; font-weight: 300; color: var(--dark);
      line-height: 1.6; letter-spacing: 0.03em; margin-bottom: 40px;
    }

    
.contact-items { display: flex; flex-direction: column; gap: 28px; }

    
.contact-item { display: flex; flex-direction: column; gap: 8px; }

    
.contact-item-label { font-size: 13px; font-weight: 300; letter-spacing: 0.06em; color: var(--dim2); }

    
.contact-item-value { font-size: 15px; font-weight: 700; letter-spacing: 0.06em; color: var(--dark); }

    
.contact-item-link {
      display: inline-flex; align-items: center; gap: 6px; font-size: 14px;
      font-weight: 400; color: #333d48; text-decoration: underline;
      text-underline-offset: 3px; margin-top: 4px; transition: color 0.2s;
    }

    
.contact-item-link:hover { color: var(--dark); }

    
.link-arrow-wrap {
      display: inline-flex;
      align-items: center;
      overflow: hidden;
      width: 14px;
      height: 14px;
      flex-shrink: 0;
    }

    
.link-arrow-wrap svg {
      width: 14px;
      height: 14px;
      flex-shrink: 0;
      animation: arrow-through 520ms linear infinite;
      animation-play-state: paused;
    }

    
.link-arrow-wrap.external-icon svg {
      animation: none;
      animation-play-state: paused;
    }

    
.link-arrow-wrap svg.arrow-running { animation-play-state: running; }

    
.encuentranos-image { width: 420px; height: 400px; flex-shrink: 0; overflow: hidden; }

    
.encuentranos-image img { width: 100%; height: 100%; object-fit: cover; }


    /* ─── SECTION: LOGOS ─────────────────────────────────── */
    
#logos { background: var(--dark); padding: 56px 0; }

    
.logos-grid { max-width: var(--grid); margin: 0 auto; padding: 0 24px; }

    
.logos-brands {
      display: flex; align-items: center; justify-content: center;
      gap: 32px; margin-bottom: 40px; flex-wrap: wrap;
    }

    
.logos-brand img {
      height: 88px; width: auto; object-fit: contain;
      opacity: 1;
    }

    
.logos-divider { height: 1px; background: rgba(217,217,217,0.2); margin-bottom: 40px; }

    
.logos-institutional {
      display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap;
    }

    
.logos-institutional img {
      height: 64px; width: auto; object-fit: contain;
      filter: brightness(0) invert(1); opacity: 1;
    }


    /* ─── FOOTER ──────────────────────────────────────────── */
    
#footer { background: var(--dark); padding: 64px 0 0; border-top: 1px solid rgba(255,255,255,0.08); }

    
.footer-grid { max-width: var(--grid); margin: 0 auto; padding: 0 24px; }

    
.footer-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-bottom: 64px; }

    
.footer-col-title { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 16px; }

    
.footer-col-links { display: flex; flex-direction: column; gap: 12px; }

    
.footer-link { font-size: 16px; font-weight: 300; color: var(--white); transition: color 0.2s; cursor: pointer; text-decoration: none; }

    
.footer-link:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

    
.footer-social { display: flex; gap: 16px; margin-top: 16px; }

    
.footer-social-link {
      width: 32px; height: 32px; display: flex; align-items: center;
      justify-content: center; color: rgba(255,255,255,0.65); transition: color 0.2s;
    }

    
.footer-social-link:hover { color: var(--white); }

    
.footer-social-link svg { width: 20px; height: 20px; }

    
.footer-wordmark {
      font-size: clamp(88px, 18vw, 320px); font-weight: 700; color: var(--white);
      letter-spacing: -0.03em; line-height: 0.82; padding-bottom: 0; display: block;
      opacity: 0.07;
    }

    
.footer-bottom {
      display: flex; align-items: center; justify-content: space-between;
      padding: 20px 0 28px; border-top: 1px solid rgba(255,255,255,0.08); margin-top: 24px;
    }

    
.footer-legal { font-size: 12px; font-weight: 300; color: rgba(255,255,255,0.45); letter-spacing: 0.04em; }


    /* ─── RESPONSIVE ──────────────────────────────────────── */
    
@media (max-width: 1120px) {
:root { --grid: 100%; }
}


    
@media (max-width: 900px) {
.products-header { flex-direction: column; gap: 16px; }

      
.products-subtitle { max-width: 100%; }

      
.contact-left-col { max-width: 100%; }

      
.encuentranos-grid { grid-template-columns: 1fr; }

      
.encuentranos-image { width: 100%; height: 280px; }

      
.footer-nav { grid-template-columns: repeat(2, 1fr); }

      
#hero-content { padding: 0 24px 56px; }

      
.hero-right { flex: 0 0 auto; width: 100%; }
}


    
@media (max-width: 640px) {
.product-image-wrap { display: none; }

      
.product-name { font-size: 24px; min-width: auto; white-space: normal; }

      
.contact-actions { flex-direction: column; }

      
.footer-nav { grid-template-columns: 1fr 1fr; gap: 24px; }

      
.footer-wordmark { font-size: 56px; }

      
#hero-content { flex-direction: column; align-items: flex-start; gap: 20px; }

      
.hero-left { max-width: 100%; }
}


    
@media (hover: none) {
.product-card.active { background: var(--base-white, var(--white)); }

      
.product-card.active .product-name { color: var(--fg-default, var(--dark)); }

      
.product-card.active .product-number { color: var(--fg-default, var(--dark)); }


.product-card.active .product-subcat { color: var(--fg-default, var(--dark)); }

      
.product-card.active .product-arrow { opacity: 1; transform: translateY(0); }

      
.product-card.active .product-subcats { opacity: 1; transform: translateY(0); }

      
.product-card.active .product-image-wrap { opacity: 1; transform: scale(1); }

      
.product-card.active .product-card-inner { min-height: 200px; }
}


    /* ─── MENU MOBILE ─────────────────────────────────────── */
      display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer;
    
}
    @media (max-width: 900px) { .menu-toggle { display: flex; } }


      position: fixed; inset: 0; background: var(--white); z-index: 999;
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      gap: 8px; opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease);
    
    
      position: absolute; top: 24px; right: 24px; font-size: 28px;
      color: var(--dark); cursor: pointer; padding: 8px;
    
}

    /* ─── SECTION: QUIÉNES SOMOS ──────────────────────────────── */
    #quienes-somos {
      background: var(--light);
      padding: 120px 0;
    }

    
.qs-inner {
      max-width: var(--grid);
      margin: 0 auto;
      padding: 0 24px;
    }

    
.qs-heading {
      font-size: clamp(40px, 5.5vw, 64px);
      font-weight: 300;
      text-transform: uppercase;
      color: var(--dark);
      line-height: 1.05;
      max-width: 682px;
      margin-bottom: 56px;
    }

    
.qs-para {
      font-size: clamp(20px, 3.5vw, 46px);
      font-weight: 400;
      color: var(--dark);
      letter-spacing: 0.05em;
      line-height: 1.4;
      margin: 0 0 1.1em 0;
    }

    
.qs-para:last-child { margin-bottom: 0; }


    /* ─── TEXT GRADIENT SCROLL ──────────────────────────────────── */
    
.gs-word { display: inline; }

    
.gs-char { position: relative; display: inline-block; line-height: inherit; vertical-align: baseline; }

    
.gs-ghost {
      position: absolute; top: 0; left: 0;
      opacity: 0.08; pointer-events: none; user-select: none;
      color: var(--dark); white-space: pre;
    }

    
.gs-active { opacity: 0; display: inline-block; }


    
@media (max-width: 640px) {
.qs-heading { font-size: 36px; }

      
.qs-para { font-size: 20px; }
}


/* ─── INTRO HOME · secuencia cinematográfica (2026-11-27) ─────────────
   Sustituye a las franjas naranjas. Timeline y tiempos: main.js ›
   HERO_INTRO (una sola tabla). Aquí solo geometría y estados base.
   1 Logo (#intro, fijo, fondo opaco hasta que arranca el mosaico)
   2 Mosaico (#hero-intro-stage) alrededor del vídeo, que es la pieza
     central: el <video> del hero se reduce con transform al hueco central
     (mismo aspecto que el hero → al ampliarse no cambia el encuadre)
   3 El escenario y el vídeo se amplían a la vez (escala desde el centro)
   4 Header baja, textos/botones suben (máscara en el H1)
   Solo transform y opacity durante la animación.                        */
@media (prefers-reduced-motion: no-preference) {
html:has(> body > #intro) { overflow: hidden; }
}

#intro {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      height: 100lvh;
      z-index: 9999;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #1b2124;
      pointer-events: none;
    }

#intro.is-clear { background: transparent; }

#intro-logo {
      display: block;
      width: 222px;            /* Figma 52853:57536 · 221×36 */
      height: auto;
      overflow: hidden;        /* máscara de las letras */
    }

#intro-logo path {
      transform-box: fill-box;
      transform: translate3d(0, 115%, 0);   /* estado previo al JS */
    }

/* «Saltar intro»: mismo componente que «Saltar vídeo» (#hero-skip-btn). */
#intro-skip {
      position: fixed;
      right: 40px;
      bottom: 40px;
      z-index: 10000;
      height: 48px;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 0 20px;
      border: 1px solid rgba(255, 255, 255, 0.7);
      border-radius: 300px;
      background: rgba(0, 0, 0, 0.3);
      -webkit-backdrop-filter: blur(16px);
      backdrop-filter: blur(16px);
      color: var(--white, #fff);
      font-size: 14px;
      font-weight: 400;
      letter-spacing: 0.05em;
      cursor: pointer;
      opacity: 0;
      transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.6s,
                  background 0.25s, border-color 0.25s, color 0.25s;
    }
#intro-skip.is-visible { opacity: 1; }
#intro-skip:hover,
#intro-skip:focus-visible { background: var(--white, #fff); border-color: var(--white, #fff); color: var(--dark, #1b2124); }
#intro-skip:focus-visible { outline: 2px solid var(--white, #fff); outline-offset: 3px; }
#intro-skip svg { width: 14px; height: 14px; flex-shrink: 0; }

/* Mosaico · geometría en % del escenario, que es FIJO y cubre el viewport
   entero (también el hueco del header en ≤900px). .hi-center marca el
   hueco del vídeo: --cl/--ct (esquina) y --cw/--ch (tamaño). El JS mide
   ese hueco y encaja en él el <video> real (escala + recorte), así que
   su proporción puede diferir de la del hero.                           */
#hero-intro-stage {
      --g: 14px;
      --cw: 42%;
      --ch: 42%;
      --cl: 29%;
      --ct: 29%;
      --cr: calc(var(--cl) + var(--cw));
      --cb: calc(var(--ct) + var(--ch));
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;            /* el JS fija innerHeight en px */
      pointer-events: none;
      display: none;            /* solo existe durante la intro */
    }
#hero-section.hi-running #hero-intro-stage { display: block; }

.hi-center {
      position: absolute;
      left: var(--cl);
      top: var(--ct);
      width: var(--cw);
      height: var(--ch);
      visibility: hidden;
    }

.hi-tile {
      position: absolute;
      overflow: hidden;
      background: #232a2e;
      backface-visibility: hidden;
    }
.hi-tile img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
/* Columna izquierda (corte al 52 %), centro (arriba/abajo del vídeo),
   columna derecha (corte al 44 %): ritmo editorial asimétrico. */
.hi-tile--1 { left: -6%; top: -5%; width: calc(var(--cl) + 6% - var(--g)); height: calc(57% - var(--g) / 2); }
.hi-tile--4 { left: -6%; top: calc(52% + var(--g) / 2); width: calc(var(--cl) + 6% - var(--g)); height: 54%; }
.hi-tile--2 { left: var(--cl); top: -8%; width: var(--cw); height: calc(var(--ct) + 8% - var(--g)); }
.hi-tile--5 { left: var(--cl); top: calc(var(--cb) + var(--g)); width: var(--cw); height: calc(108% - var(--cb) - var(--g)); }
.hi-tile--3 { left: calc(var(--cr) + var(--g)); top: -5%; width: calc(106% - var(--cr) - var(--g)); height: calc(49% - var(--g) / 2); }
.hi-tile--6 { left: calc(var(--cr) + var(--g)); top: calc(44% + var(--g) / 2); width: calc(106% - var(--cr) - var(--g)); height: 62%; }

@media (max-width: 1024px) {
  #hero-intro-stage { --g: 12px; --cw: 48%; --ch: 48%; --cl: 26%; --ct: 26%; }
}

@media (max-width: 640px) {
  #intro-logo { width: 168px; }
  #intro-skip { right: 20px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); height: 44px; padding: 0 18px; }
  /* Mobile (diseño Hero mobile): columna central ancha + franja estrecha
     a cada lado con dos piezas; hueco del vídeo más ancho que alto. */
  #hero-intro-stage {
    --g: 14px;
    --cl: calc(9% + var(--g));
    --cw: calc(82% - 2 * var(--g));
    --ct: 31%;
    --ch: 39%;
  }
  .hi-tile--1 { left: -4%; top: -4%; width: calc(var(--cl) + 4% - var(--g)); height: calc(62% - var(--g) / 2); }
  .hi-tile--4 { left: -4%; top: calc(58% + var(--g) / 2); width: calc(var(--cl) + 4% - var(--g)); height: 46%; }
  .hi-tile--2 { top: -4%; height: calc(var(--ct) + 4% - var(--g)); }
  .hi-tile--5 { height: calc(104% - var(--cb) - var(--g)); }
  .hi-tile--3 { top: -4%; width: calc(104% - var(--cr) - var(--g)); height: calc(44% - var(--g) / 2); }
  .hi-tile--6 { top: calc(40% + var(--g) / 2); width: calc(104% - var(--cr) - var(--g)); height: 64%; }
}

/* Durante la intro el texto lo anima el JS (WAAPI): se neutralizan las
   transiciones heredadas (word-reveal con blur, fades de .revealed). */
#hero-section.hi-v2 #hero-content .hero-title .word-reveal,
#hero-section.hi-v2 #hero-content .hero-eyebrow .word-reveal {
      opacity: 1;
      transform: none;
      filter: none;
      transition: none;
    }
#hero-section.hi-v2 #hero-content .hero-description,
#hero-section.hi-v2 #hero-content .hero-ctas {
      opacity: 1;
      filter: none;
      transform: none;
      transition: none;
    }
/* Máscara de cada palabra del H1 (reveal de abajo arriba). El padding
   evita recortar descendentes y acentos; el margen lo compensa. */
.hi-mask {
      display: inline-block;
      overflow: hidden;
      vertical-align: top;
      padding: 0.08em 0 0.12em;
      margin: -0.08em 0 -0.12em;
    }

/* Movimiento reducido: sin intro (el JS la retira al instante). */
@media (prefers-reduced-motion: reduce) {
#intro,
#intro-skip,
#hero-intro-stage { display: none !important; }
}


    /* ─── INDEX 7: TABLET + MOBILE HOME RESPONSIVE ───────── */
    
@media (max-width: 1024px) {
:root { --grid: 100%; }


      
      
      
      
      
      
      
      
      
      
      

      
#hero-section {
        min-height: 720px;
      }

      
#hero-content {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
        gap: 28px;
        padding: 0 32px 64px;
      }

      
.hero-left {
        max-width: 760px;
      }

      
.hero-right {
        flex: 0 0 auto;
        width: min(100%, 460px);
        gap: 22px;
      }

      
.hero-title {
        font-size: clamp(52px, 8vw, 70px);
      }

      
.hero-description br {
        display: none;
      }

      
#productos {
        padding: 96px 0 80px;
      }

      
.section-grid, .contact-grid, .qs-inner, .encuentranos-grid, .logos-grid, .footer-grid {
        padding-left: 32px;
        padding-right: 32px;
      }

      
.products-header {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 48px;
      }

      
.products-title, .products-subtitle {
        max-width: 680px;
      }

      
.product-list {
        display: flex;
        flex-direction: column;
        gap: 16px;
      }

      
.product-card {
        background: var(--light);
        border: 1px solid transparent;
        overflow: hidden;
      }

      
.product-card:last-child {
        border-bottom: 1px solid transparent;
      }

      
.product-card:hover, .product-card.active {
        background: var(--light);
        border-color: var(--dark);
      }

      
.product-card-inner {
        display: grid;
        grid-template-columns: 24px minmax(160px, 1fr) minmax(150px, 1fr) 180px;
        align-items: start;
        gap: 20px;
        padding: 16px;
        min-height: 100px;
      }

      
.product-card:hover .product-card-inner, .product-card.active .product-card-inner {
        min-height: 100px;
      }

      
.product-number {
        width: auto;
        padding-top: 2px;
        font-size: 10px;
        line-height: 1.2;
        color: rgba(27,33,36,0.55);
      }

      
.product-main {
        flex: none;
        gap: 16px;
      }

      
.product-name {
        font-size: clamp(24px, 3vw, 32px);
        font-weight: 700;
        line-height: 1.05;
        color: var(--dark);
      }

      
.product-arrow {
        opacity: 1;
        transform: none;
      }

      
.product-arrow img {
        width: 40px;
        height: 14px;
      }

      
.product-subcats {
        flex: none;
        gap: 9px;
        opacity: 1;
        transform: none;
        pointer-events: auto;
        align-self: start;
        padding-top: 2px;
      }

      
.product-subcat {
        font-size: 10px;
        line-height: 1.35;
        color: var(--dim2);
      }

      
.product-image-wrap {
        grid-column: auto;
        grid-row: auto;
        align-self: start;
        width: 100%;
        height: 76px;
        min-height: 0;
        opacity: 1;
        transform: none;
      }


      
.hotspots-image {
        height: 56vh;
        min-height: 420px;
      }

      
#quienes-somos, #contact {
        padding: 96px 0;
      }

      
.qs-heading {
        margin-bottom: 44px;
      }

      
.contact-description br {
        display: none;
      }

      
.encuentranos-grid {
        grid-template-columns: 1fr;
        gap: 40px;
      }

      
.encuentranos-image {
        width: 100%;
        height: 360px;
      }

      
.footer-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 32px;
      }
}


    
@media (max-width: 768px) {
#hero-section {
        min-height: 680px;
      }

      
#hero-content {
        padding-bottom: 56px;
      }

      
.hero-title {
        font-size: clamp(44px, 9.4vw, 58px);
      }

      
.hero-right {
        width: min(100%, 420px);
      }


      
.product-card-inner {
        grid-template-columns: 24px minmax(150px, 1fr) minmax(130px, 0.9fr);
        gap: 18px;
      }

      
.product-image-wrap {
        grid-column: 3 / 4;
        grid-row: auto;
        height: 84px;
        min-height: 0;
      }

      
.product-subcats {
        grid-column: auto;
      }


      
.hotspot-tooltip {
        max-width: min(220px, calc(100vw - 48px));
        min-width: 0;
        white-space: normal;
      }

      
.logos-brand img {
        height: 72px;
      }

      
.logos-institutional img {
        height: 52px;
      }
}


    
@media (max-width: 640px) {
#hero-section {
        height: 100svh;
        min-height: 620px;
      }

      
#hero-overlay {
        background: linear-gradient(
          to bottom,
          rgba(27,33,36,0.05) 0%,
          rgba(27,33,36,0.08) 35%,
          rgba(27,33,36,0.78) 70%,
          rgba(27,33,36,1) 100%
        );
      }

      
#hero-content {
        padding: 0 20px 42px;
        gap: 18px;
      }

      
.hero-eyebrow {
        font-size: 14px;
        margin-bottom: 12px;
      }

      
.hero-title {
        font-size: clamp(38px, 11vw, 46px);
        line-height: 1.02;
      }

      
.hero-description {
        font-size: 14px;
        line-height: 1.55;
      }

      
.hero-ctas, .contact-actions {
        width: 100%;
      }

      
.hero-ctas .btn-outline, .contact-actions .btn-primary, .contact-actions .btn-outline {
        width: 100%;
        justify-content: center;
      }

      
/* Móvil: altura compartida = 48 px (tamaño Sm de Figma) vía el token común.
   El círculo hereda 48×48; la pill solo ajusta su padding horizontal. */
#hero-controls {
        --vc-height: 48px;
        margin-bottom: 16px;
      }


#hero-skip-btn {
        padding: 0 18px;
      }


#hero-pause-btn svg { height: 12px; }


      
#productos, #quienes-somos, #contact {
        padding: 72px 0;
      }

      
.section-grid, .contact-grid, .qs-inner, .encuentranos-grid, .logos-grid, .footer-grid {
        padding-left: 20px;
        padding-right: 20px;
      }

      
.products-header {
        margin-bottom: 36px;
      }

      
.products-title, .contact-title, .encuentranos-title {
        font-size: clamp(36px, 11vw, 48px);
      }

      
.products-subtitle {
        font-size: 14px;
      }

      
.product-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
      }

      
.product-card-inner {
        position: relative;
        display: flex;
        min-height: 232px;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 14px 12px 12px;
      }

      
.product-card {
        background: var(--white);
        border: 1px solid transparent;
        margin-bottom: 0;
      }

      
.product-card:last-child {
        border-bottom: 0;
      }

      
.product-card .product-number {
        color: rgba(27,33,36,0.35);
        padding-top: 0;
        margin-bottom: 9px;
        font-size: 9px;
      }

      
.product-card .product-name {
        color: var(--dark);
      }

      
.product-main {
        width: 100%;
        gap: 0;
      }

      
.product-name {
        max-width: calc(100% - 36px);
        font-size: clamp(17px, 5vw, 20px);
        font-weight: 700;
        line-height: 1.14;
        text-transform: none;
      }

      
.product-arrow {
        position: absolute;
        top: 24px;
        right: 12px;
      }

      
.product-arrow img {
        width: 32px;
        height: 12px;
      }

      
.product-subcats {
        width: 100%;
        gap: 7px;
        margin-top: 18px;
        padding-top: 0;
      }

      
.product-subcat {
        font-size: 9px;
        line-height: 1.35;
      }

      
.product-image-wrap {
        display: block;
        width: min(94px, 100%);
        height: 68px;
        margin-top: auto;
      }


      
.hotspots-image {
        height: 420px;
        min-height: 420px;
        object-position: center;
      }

      
.hotspot {
        width: 32px;
        height: 32px;
      }

      
.hotspot-dot {
        inset: 10px;
      }


      
.qs-heading {
        font-size: clamp(34px, 10vw, 44px);
        margin-bottom: 32px;
      }

      
.qs-para {
        font-size: clamp(19px, 5.4vw, 24px);
        line-height: 1.45;
      }

      
.contact-left-col {
        gap: 20px;
      }

      
.contact-subtitle {
        font-size: 20px;
      }

      
.contact-description {
        font-size: 14px;
      }

      
#encuentranos {
        padding: 64px 0;
      }

      
.encuentranos-intro {
        margin-bottom: 30px;
      }

      
.contact-item-value {
        font-size: 14px;
        overflow-wrap: anywhere;
      }

      
.encuentranos-image {
        height: 260px;
      }


      
#logos {
        padding: 44px 0;
      }

      
.logos-brands, .logos-institutional {
        gap: 20px 24px;
      }

      
.logos-brand img {
        height: 58px;
      }

      
.logos-institutional img {
        max-width: calc(50vw - 32px);
        height: 42px;
      }


      
#footer {
        padding-top: 48px;
      }

      
.footer-nav {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 44px;
      }

      
.footer-link {
        font-size: 15px;
      }

      
.footer-wordmark {
        font-size: clamp(56px, 20vw, 86px);
        letter-spacing: 0;
      }

      
.footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
      }
}


  

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
@media (max-width: 1024px) {
.breadcrumb .crumb-link, .breadcrumb .crumb-sep, .breadcrumb .crumb-current { font-size: 16px !important; line-height: 24px !important; }
}

    
@media (max-width: 700px) {
.breadcrumb { gap: 8px !important; }
 
.breadcrumb .crumb-link, .breadcrumb .crumb-sep, .breadcrumb .crumb-current { font-size: 16px !important; line-height: 24px !important; }
}

/* === Home refinement: Quienes somos breathing room — 2026-08-03 === */
#quienes-somos {
  background: var(--light, #f7f8f8);
  padding-top: clamp(150px, 12vw, 220px) !important;
  padding-bottom: clamp(160px, 13vw, 240px) !important;
  min-height: auto;
}

#quienes-somos .qs-inner {
  width: 100%;
  max-width: min(1240px, calc(100vw - 96px));
  margin: 0 auto;
  padding-left: clamp(32px, 5vw, 72px);
  padding-right: clamp(32px, 5vw, 72px);
}

#quienes-somos .qs-heading {
  margin-bottom: clamp(82px, 7vw, 128px) !important;
}

#quienes-somos .qs-para {
  max-width: 1160px;
  line-height: 1.48 !important;
  margin-bottom: clamp(48px, 5vw, 84px) !important;
}

#quienes-somos .qs-para:last-child {
  margin-bottom: 0 !important;
}

@media (max-width: 768px) {
  #quienes-somos {
    padding-top: 96px !important;
    padding-bottom: 112px !important;
  }

  #quienes-somos .qs-inner {
    max-width: none;
    padding-left: 24px;
    padding-right: 24px;
  }

  #quienes-somos .qs-heading {
    margin-bottom: 48px !important;
  }

  #quienes-somos .qs-para {
    line-height: 1.5 !important;
    margin-bottom: 36px !important;
  }
}

/* === Home first-fold guard — 2026-08-03 ===
   Prevent migrated/animated product blocks from rendering over the hero. */
#hero-section {
  display: block;
  position: relative !important;
  height: 100svh;
  min-height: 720px;
  overflow: hidden !important;
  margin: 0 !important;
  background: #1b2124;
}

#hero-content {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 5 !important;
}

#productos {
  display: block;
  position: relative !important;
  z-index: 1 !important;
  clear: both;
  margin: 0 !important;
  padding: 0 !important;
  background: #1b2124 !important;
  overflow: hidden;
}

#productos .products-shell {
  display: flow-root;
  position: relative !important;
  z-index: 1 !important;
  margin: 0 !important;
  padding: clamp(96px, 8vw, 120px) 0 100px !important;
  background: #1b2124 !important;
}

#productos .section-grid,
#productos .products-header,
#productos .product-list,
#productos .product-card {
  position: relative !important;
  top: auto !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  z-index: auto !important;
}

#productos .products-header {
  display: flex;
  transform: none !important;
  margin-top: 0 !important;
}

@media (max-width: 768px) {
  #hero-section {
    min-height: 680px;
  }

  #productos .products-shell {
    padding-top: 72px !important;
    padding-bottom: 72px !important;
  }
}

/* === Home products responsive list — 2026-08-05 ===
   Reference: Productos.jpg. Mobile/tablet cards must show all content without
   hover: number, title, arrow, subcategories and preview image on dark surface. */
@media (max-width: 900px) {
  #productos .products-shell {
    padding-top: 64px !important;
    padding-bottom: 72px !important;
  }

  #productos .section-grid {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  #productos .products-header {
    display: block !important;
    margin-bottom: 48px !important;
  }

  #productos .products-title {
    max-width: none !important;
    margin: 0 0 10px !important;
    color: #ffffff !important;
    font-size: clamp(24px, 7vw, 32px) !important;
    font-weight: 300 !important;
    line-height: 1.12 !important;
    letter-spacing: -0.02em !important;
    text-transform: none !important;
  }

  #productos .products-title br {
    display: none;
  }

  #productos .products-subtitle {
    max-width: 280px !important;
    padding-top: 0 !important;
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    letter-spacing: 0 !important;
  }

  #productos .product-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }

  #productos .product-card,
  #productos .product-card:hover,
  #productos .product-card.active {
    margin: 0 !important;
    background: var(--bg-inverse, var(--dark)) !important;
    border: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.10) !important;
    overflow: visible !important;
  }

  #productos .product-card:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.10) !important;
  }

  #productos .product-card-inner,
  #productos .product-card:hover .product-card-inner,
  #productos .product-card.active .product-card-inner {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    min-height: 0 !important;
    padding: 28px 8px 28px !important;
  }

  #productos .product-number,
  #productos .product-card:hover .product-number,
  #productos .product-card.active .product-number {
    width: auto !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    color: var(--fg-inverse, var(--white)) !important;
    font-size: 12px !important;
    font-weight: 300 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.06em !important;
  }

  #productos .product-main {
    display: flex !important;
    width: 100% !important;
    flex: none !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 24px !important;
    margin: 0 0 26px !important;
  }

  #productos .product-name,
  #productos .product-card:hover .product-name,
  #productos .product-card.active .product-name {
    max-width: min(235px, calc(100% - 76px)) !important;
    color: var(--fg-inverse, var(--white)) !important;
    font-size: clamp(23px, 6.2vw, 27px) !important;
    font-weight: 700 !important;
    line-height: 1.08 !important;
    letter-spacing: -0.03em !important;
    text-transform: none !important;
  }

  #productos .product-arrow,
  #productos .product-card:hover .product-arrow,
  #productos .product-card.active .product-arrow {
    position: static !important;
    display: flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: flex-end !important;
    width: 56px !important;
    height: 28px !important;
    opacity: 1 !important;
    transform: none !important;
  }

  #productos .product-arrow img,
  #productos .product-card:hover .product-arrow img {
    width: 48px !important;
    height: auto !important;
    filter: brightness(0) invert(1) !important;
    transform: none !important;
  }

  #productos .product-subcats,
  #productos .product-card:hover .product-subcats,
  #productos .product-card.active .product-subcats {
    display: flex !important;
    flex: none !important;
    flex-direction: column !important;
    gap: 12px !important;
    align-self: stretch !important;
    margin: 0 0 16px !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  #productos .product-subcat {
    color: var(--fg-inverse, var(--white)) !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    line-height: 1.3 !important;
    letter-spacing: 0 !important;
  }

  #productos .product-image-wrap,
  #productos .product-card:hover .product-image-wrap,
  #productos .product-card.active .product-image-wrap {
    display: block !important;
    width: 100% !important;
    height: clamp(118px, 34vw, 168px) !important;
    flex: none !important;
    margin: 0 !important;
    opacity: 1 !important;
    overflow: hidden !important;
    transform: none !important;
  }

  #productos .product-image-wrap img,
  #productos .product-card:hover .product-image-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transform: none !important;
  }
}

@media (min-width: 700px) and (max-width: 900px) {
  #productos .section-grid {
    padding-left: 30px !important;
    padding-right: 30px !important;
  }

  #productos .product-card-inner,
  #productos .product-card:hover .product-card-inner,
  #productos .product-card.active .product-card-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #productos .product-image-wrap,
  #productos .product-card:hover .product-image-wrap,
  #productos .product-card.active .product-image-wrap {
    width: 100% !important;
    height: 168px !important;
  }
}

/* ─── Últimas noticias ──────────────────────────────────────────────────
   Figma 52382:10766 (Desktop) · 52382:11208 (Mobile).
   Desktop: cabecera (título + "Mostrar todas"), carrusel de cards 521px
   que sangra hasta el borde derecho del viewport, flechas + "n/total".
   Mobile: título 28px, link debajo, 3 cards apiladas, sin controles.
   Los estilos de .blog-post-card se re-escalan solo dentro de esta sección
   (el listado /blog/ conserva su card compacta). */
#ultimas-noticias.latest-news {
  --ln-gutter: 24px;
  --ln-gap: 32px;
  --ln-card: min(521px, calc((100vw - 2 * var(--ln-gutter) - var(--ln-gap)) / 2));
  background: var(--bg-static-pastel, #f3f0ea);
  color: var(--grey-950, #1b2124);
  padding: 64px 0;
  overflow: hidden;
}

#ultimas-noticias .latest-news__inner {
  display: flex;
  flex-direction: column;
  gap: var(--ln-gap);
  max-width: calc(var(--grid) + 2 * var(--ln-gutter));
  margin: 0 auto;
  padding: 0 var(--ln-gutter);
  box-sizing: border-box;
}

#ultimas-noticias .latest-news__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Heading/Desktop · NHG 45 Light 64px, uppercase */
#ultimas-noticias .latest-news__title {
  margin: 0;
  color: var(--grey-950, #1b2124);
  font-size: 64px;
  font-weight: 300;
  line-height: normal;
  letter-spacing: 0;
  text-transform: uppercase;
}

/* Button · Link-neutral (Common/Button 1/Line: 16/16, tracking .48px, subrayado) */
#ultimas-noticias .latest-news__link {
  --btn-fs: var(--font-size-16, 16px);
  --btn-lh: 16px;
  --btn-icon: 24px;
  --btn-gap: 10px;
  flex-shrink: 0;
  letter-spacing: 0.48px;
}

#ultimas-noticias .latest-news__link .btn__label {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

#ultimas-noticias .latest-news__link-icon {
  -webkit-mask: url("../source/img/icons/arrow-right-24.svg") center / contain no-repeat;
  mask: url("../source/img/icons/arrow-right-24.svg") center / contain no-repeat;
}

#ultimas-noticias .latest-news__link:focus-visible {
  outline: 3px solid var(--yellow-300, #ffd970);
  outline-offset: 4px;
}

/* Carrusel: sangra hasta el borde derecho del viewport (peek de la 3ª card) */
#ultimas-noticias .latest-news__track {
  display: flex;
  gap: var(--ln-gap);
  margin-right: calc(50% - 50vw);
  /* Relleno final = sangrado + hueco sobrante, para que la última página
     quede alineada al contenedor igual que las demás. */
  padding-right: max(0px, calc(50vw + 50% - 2 * var(--ln-card) - var(--ln-gap)));
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

#ultimas-noticias .latest-news__track::-webkit-scrollbar { display: none; }

#ultimas-noticias .latest-news__track:focus-visible {
  outline: 3px solid var(--yellow-300, #ffd970);
  outline-offset: 4px;
}

/* Card_blog (Desktop): 521 × 348 + body py 24 / gap 6 */
#ultimas-noticias .latest-news__card {
  flex: 0 0 var(--ln-card);
  width: var(--ln-card);
  gap: 0;
  scroll-snap-align: start;
}

#ultimas-noticias .latest-news__card .blog-post-card__media {
  aspect-ratio: 521 / 348;
}

#ultimas-noticias .latest-news__card .blog-post-card__body {
  gap: 6px;
  padding: 24px 0;
}

/* P1/Medium · 18/24 · Foreground/Static/Dim2 */
#ultimas-noticias .latest-news__card .blog-post-card__kicker {
  font-size: var(--font-size-18, 18px);
  line-height: 24px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--grey-800, #333d48);
}

/* Headline 55 Roman · 32/40 · Foreground/Static/Default */
#ultimas-noticias .latest-news__card .blog-post-card__title {
  font-size: 32px;
  line-height: 40px;
  font-weight: 500;
  color: var(--grey-950, #1b2124);
}

/* P2/Medium · 16/24 · tracking .64px · Foreground/Static/Dim1 */
#ultimas-noticias .latest-news__card .blog-post-card__meta {
  gap: 14px;
  margin: 0;
  font-size: var(--font-size-16, 16px);
  line-height: 24px;
  font-weight: 500;
  letter-spacing: 0.64px;
  color: var(--grey-900, #1a2431);
}

/* Divider vertical 1 × 24 · Foreground/Static/Divider */
#ultimas-noticias .latest-news__card .blog-post-card__meta-sep {
  width: 1px;
  height: 24px;
  border-radius: 0;
  background: var(--grey-300, #bfc2c6);
}

/* Buttons control: flechas 90×60 (gap 16) + indicador de página */
#ultimas-noticias .latest-news__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#ultimas-noticias .latest-news__nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

#ultimas-noticias .latest-news__arrow {
  display: block;
  width: 90px;
  height: 60px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

#ultimas-noticias .latest-news__arrow img {
  display: block;
  width: 90px;
  height: 60px;
  transition: transform 0.35s var(--ease);
}

#ultimas-noticias .latest-news__arrow--prev img { transform: rotate(180deg); }

#ultimas-noticias .latest-news__arrow:not([disabled]):hover img { transform: translateX(6px); }
#ultimas-noticias .latest-news__arrow--prev:not([disabled]):hover img { transform: rotate(180deg) translateX(6px); }
#ultimas-noticias .latest-news__arrow:active { transform: scale(0.96); }

#ultimas-noticias .latest-news__arrow:focus-visible {
  outline: 3px solid var(--yellow-300, #ffd970);
  outline-offset: 2px;
}

#ultimas-noticias .latest-news__arrow[disabled] {
  opacity: 0.3;
  cursor: default;
}

/* Headline 55 Roman · 24/32 */
#ultimas-noticias .latest-news__pager {
  margin: 0;
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
  color: #000;
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
  #ultimas-noticias .latest-news__track { scroll-behavior: auto; }
  #ultimas-noticias .latest-news__arrow img { transition: none; }
}

/* Mobile (Figma 52382:11208): 3 cards apiladas, sin carrusel */
@media (max-width: 900px) {
  #ultimas-noticias.latest-news {
    --ln-gutter: 16px;
    padding: 64px 0;
  }

  #ultimas-noticias .latest-news__inner {
    gap: 16px;
  }

  #ultimas-noticias .latest-news__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  /* Heading/Mobile/H2 · 45 Light 28/36, sin uppercase */
  #ultimas-noticias .latest-news__title {
    font-size: 28px;
    line-height: 36px;
    text-transform: none;
  }

  /* Common/Button 2/Line · 14 / 1.2 · icono 20 */
  #ultimas-noticias .latest-news__link {
    --btn-fs: var(--font-size-14, 14px);
    --btn-lh: 1.2;
    --btn-icon: 20px;
    letter-spacing: 0;
  }

  #ultimas-noticias .latest-news__link-icon {
    -webkit-mask-image: url("../source/img/icons/arrow-right-20.svg");
    mask-image: url("../source/img/icons/arrow-right-20.svg");
  }

  #ultimas-noticias .latest-news__track {
    flex-direction: column;
    margin-right: 0;
    padding-right: 0;
    overflow: visible;
    scroll-snap-type: none;
  }

  #ultimas-noticias .latest-news__card {
    flex: none;
    width: 100%;
  }

  #ultimas-noticias .latest-news__card:nth-child(n + 4) { display: none; }

  /* Card_blog mobile (Figma 52158:12699): imagen a todo el ancho × 220 */
  #ultimas-noticias .latest-news__card .blog-post-card__media {
    aspect-ratio: auto;
    height: 220px;
  }

  /* Body · py 16 / gap 6 */
  #ultimas-noticias .latest-news__card .blog-post-card__body {
    padding: 16px 0;
  }

  /* P2/Medium · 55 Roman 16/24 · tracking .64px · Foreground/Static/Dim2 */
  #ultimas-noticias .latest-news__card .blog-post-card__kicker {
    font-size: var(--font-size-16, 16px);
    line-height: 24px;
    letter-spacing: 0.64px;
  }

  /* Headline 55 Roman · 24/32 · Foreground/Static/Default */
  #ultimas-noticias .latest-news__card .blog-post-card__title {
    font-size: 24px;
    line-height: 32px;
  }

  /* P3/Medium · 45 Light 14/20 · Foreground/Static/Dim1 */
  #ultimas-noticias .latest-news__card .blog-post-card__meta {
    font-size: var(--font-size-14, 14px);
    line-height: 20px;
    font-weight: 300;
    letter-spacing: 0;
  }

  #ultimas-noticias .latest-news__controls { display: none; }
}

/* Home product cards are links in WordPress. Keep the original desktop hover. */
@media (min-width: 901px) {
  #productos a.product-card {
    display: block;
    color: inherit;
    text-decoration: none;
  }

  #productos a.product-card,
  #productos a.product-card:visited {
    background: var(--bg-inverse, var(--dark));
  }

  #productos a.product-card:hover,
  #productos a.product-card:focus-visible,
  #productos a.product-card.active {
    background: var(--base-white, var(--white));
    outline: none;
  }

  #productos a.product-card .product-number,
  #productos a.product-card .product-name,
  #productos a.product-card .product-subcat {
    color: var(--fg-inverse, var(--white));
  }

  #productos a.product-card:hover .product-card-inner,
  #productos a.product-card:focus-visible .product-card-inner,
  #productos a.product-card.active .product-card-inner {
    min-height: 200px;
  }

  #productos a.product-card:hover .product-number,
  #productos a.product-card:focus-visible .product-number,
  #productos a.product-card.active .product-number {
    color: var(--fg-default, var(--dark));
  }

  #productos a.product-card:hover .product-name,
  #productos a.product-card:focus-visible .product-name,
  #productos a.product-card.active .product-name {
    color: var(--fg-default, var(--dark));
  }

  #productos a.product-card:hover .product-arrow,
  #productos a.product-card:focus-visible .product-arrow,
  #productos a.product-card.active .product-arrow {
    opacity: 1;
    transform: translateY(0);
  }

  #productos a.product-card:hover .product-arrow img,
  #productos a.product-card:focus-visible .product-arrow img,
  #productos a.product-card.active .product-arrow img {
    filter: none;
    transform: translateX(6px);
  }

  #productos a.product-card:hover .product-subcats,
  #productos a.product-card:focus-visible .product-subcats,
  #productos a.product-card.active .product-subcats {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  #productos a.product-card:hover .product-subcat,
  #productos a.product-card:focus-visible .product-subcat,
  #productos a.product-card.active .product-subcat {
    color: var(--fg-default, var(--dark));
  }

  #productos a.product-card:hover .product-image-wrap,
  #productos a.product-card:focus-visible .product-image-wrap,
  #productos a.product-card.active .product-image-wrap {
    opacity: 1;
    transform: scale(1);
  }
}

/* ════════════════════════════════════════════════════════════════════════
   FRANJA DE IMÁGENES · expansión por scroll  (#image-strip)
   --------------------------------------------------------------------------
   Estado base (sin JS o prefers-reduced-motion / móvil): 3 imágenes en fila,
   estáticas, gap 16px. image-strip.js añade .is-active y escribe --p (0→1);
   entonces el bloque queda sticky y la imagen central crece hasta el 100%
   del ancho mientras las laterales se encogen y salen del encuadre.
   ════════════════════════════════════════════════════════════════════════ */
#image-strip {
  background: var(--dark);
  position: relative;
  z-index: 1;
}

.image-strip__spacer { position: relative; }

.image-strip__sticky {
  --p: 0;
  padding: 24px calc((100% - var(--grid)) / 2);
}

.image-strip__track {
  display: flex;
  gap: 16px;
  width: 100%;
  margin: 0 auto;
  overflow: clip;               /* recorta las laterales al salir */
}

.image-strip__item {
  margin: 0;
  flex: 1 1 0;
  min-width: 0;
  height: 46vh;
  min-height: 260px;
  max-height: 440px;
  overflow: hidden;
}

.image-strip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;            /* mantiene la composición sin deformar */
  object-position: center;
  transition: transform 0.05s linear;
}

/* ── Estado activo: sticky + scroll-scrub ────────────────────────────────
   El .image-strip__spacer aporta la longitud de scroll; dentro, el bloque
   visual queda sticky durante toda la transformación. Al llegar --p a 1 el
   spacer se acaba y la página continúa hacia "Quiénes somos". */
#image-strip.is-active .image-strip__spacer {
  height: 260vh;
}

#image-strip.is-active .image-strip__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  /* Padding lateral: se mantiene al inicio y se anula al 100% (--p → 1),
     así al final la imagen central llega a borde izquierdo y derecho. */
  padding: 0 calc((100% - min(1320px, 100vw - 48px)) / 2 * (1 - var(--p)));
}

#image-strip.is-active .image-strip__track {
  gap: calc(16px * (1 - var(--p)));                 /* 16px → 0 */
  /* La banda crece de 46vh → 100vh: al 100% ocupa todo el alto del sticky,
     sin franja oscura arriba ni abajo. */
  height: calc(46vh + var(--p) * 54vh);
}

#image-strip.is-active .image-strip__item {
  height: 100%;
  min-height: 0;
  max-height: none;
  flex-grow: 0;
  flex-shrink: 0;
}

/* Laterales: base (100% - 32px)/3 → 0 (cambio real de layout, no scale). */
#image-strip.is-active .image-strip__item--side {
  flex-basis: calc((100% - 32px) / 3 * (1 - var(--p)));
}

/* Central: base (100% - 32px)/3 → 100%.  100% - base = (200% + 32px)/3. */
#image-strip.is-active .image-strip__item--center {
  flex-basis: calc((100% - 32px) / 3 + (200% + 32px) / 3 * var(--p));
}

/* La imagen de cada lateral se desliza hacia su extremo mientras el hueco
   se recorta → sensación de salida, no de compresión. */
#image-strip.is-active .image-strip__item--left img  { transform: translateX(calc(var(--p) * -40%)); }
#image-strip.is-active .image-strip__item--right img { transform: translateX(calc(var(--p) *  40%)); }

/* ── Móvil / tablet estrecho: simplificar (solo imagen central) ─────────── */
@media (max-width: 768px) {
  .image-strip__sticky { padding: 20px 16px; }
  .image-strip__track { gap: 0; }
  .image-strip__item--side { display: none; }
  .image-strip__item {
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 16 / 10;
  }
  .image-strip__item--center { flex-basis: 100%; }
}

/* ── prefers-reduced-motion: nunca sticky ni scrub; 3-up estático ───────── */
@media (prefers-reduced-motion: reduce) {
  #image-strip.is-active .image-strip__spacer { height: auto; }
  #image-strip.is-active .image-strip__sticky {
    position: static;
    height: auto;
    padding: 24px calc((100% - var(--grid)) / 2);
  }
  #image-strip.is-active .image-strip__track { gap: 16px; height: auto; }
  #image-strip.is-active .image-strip__item {
    flex: 1 1 0;
    height: 46vh;
    min-height: 260px;
    max-height: 440px;
  }
  #image-strip.is-active .image-strip__item img { transform: none; }
}

/* ─── Product card · imagen 1:1 ─────────────────────────────────────────
   Figma 51417:8608 (Image 51417:8613): 280×280 en desktop, 295×295 en mobile.
   Va al final para ganar a los overrides previos de #productos. */
#productos .product-image-wrap,
#productos .product-card:hover .product-image-wrap,
#productos .product-card.active .product-image-wrap {
  width: 280px !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  flex-shrink: 0 !important;
}

@media (max-width: 900px) {
  #productos .product-image-wrap,
  #productos .product-card:hover .product-image-wrap,
  #productos .product-card.active .product-image-wrap {
    display: block !important;
    width: 295px !important;
  }
}

/* Desktop: card 179px en reposo → 328px en hover (24 + imagen 280 + 24).
   La imagen no ocupa alto hasta que se muestra. */
@media (min-width: 901px) {
  #productos .product-card-inner {
    box-sizing: border-box;
    min-height: 178px !important; /* + 1px border-top = 179 */
    transition: min-height 0.4s var(--ease);
  }
  #productos a.product-card:hover .product-card-inner,
  #productos a.product-card:focus-visible .product-card-inner,
  #productos a.product-card.active .product-card-inner {
    min-height: 327px !important; /* + 1px border-top = 328 */
    padding-bottom: 23px; /* 1 + 24 + 280 + 23 = 328 */
  }
  /* En reposo las subcategorías están ocultas: que no sumen alto. */
  #productos .product-subcats {
    max-height: 0;
    overflow: hidden;
  }
  #productos a.product-card:hover .product-subcats,
  #productos a.product-card:focus-visible .product-subcats,
  #productos a.product-card.active .product-subcats {
    max-height: 280px;
  }
  #productos .product-image-wrap {
    aspect-ratio: auto !important;
    height: 0 !important;
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), height 0.4s var(--ease);
  }
  #productos a.product-card:hover .product-image-wrap,
  #productos a.product-card:focus-visible .product-image-wrap,
  #productos a.product-card.active .product-image-wrap {
    height: 280px !important;
  }
}

/* ─── Aplicaciones ──────────────────────────────────────────────────────
   Figma 52400:20037 (página Home). Cabecera (título 64 + intro a la derecha),
   pestañas en píldora blanca, carrusel de cards 427×427 que sangra hasta el
   borde derecho del viewport y controles flechas + "n/total". */
#aplicaciones.aplicaciones {
  --ap-gutter: 24px;
  --ap-gap: 24px;
  --ap-card: min(427px, calc(100vw - 2 * var(--ap-gutter) - 48px));
  background: var(--bg-static-pastel, #f3f0ea);
  color: var(--grey-950, #1b2124);
  padding: 64px 0;
  overflow: hidden;
}

#aplicaciones .aplicaciones__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: calc(var(--grid) + 2 * var(--ap-gutter));
  margin: 0 auto;
  padding: 0 var(--ap-gutter);
  box-sizing: border-box;
}

#aplicaciones .aplicaciones__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 8px;
}

/* Heading/Desktop · NHG 45 Light 64px, uppercase */
#aplicaciones .aplicaciones__title {
  margin: 0;
  font-size: 64px;
  font-weight: 300;
  line-height: normal;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--grey-950, #1b2124);
}

/* 45 Light 16/24 · tracking .16px · alineado a la derecha, máx. 457px */
#aplicaciones .aplicaciones__intro {
  max-width: 457px;
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
  letter-spacing: 0.16px;
  text-align: right;
  color: var(--grey-950, #1b2124);
}

#aplicaciones .aplicaciones__intro strong { font-weight: 700; }

/* Pestañas: píldora blanca, padding 4, botones 8/20 min 120px */
#aplicaciones .aplicaciones__tabs {
  display: flex;
  align-self: flex-start;
  max-width: 100%;
  padding: 4px;
  border-radius: 100px;
  background: var(--base-white, #fff);
  overflow-x: auto;
  scrollbar-width: none;
}

#aplicaciones .aplicaciones__tabs::-webkit-scrollbar { display: none; }

#aplicaciones .aplicaciones__tab {
  flex: 0 0 auto;
  min-width: 120px;
  padding: 8px 20px;
  border: 0;
  border-radius: 100px;
  background: transparent;
  color: var(--grey-950, #1b2124);
  font: inherit;
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
  letter-spacing: 0.16px;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

#aplicaciones .aplicaciones__tab:hover:not(.is-active) { background: var(--grey-100, #eceae6); }

#aplicaciones .aplicaciones__tab.is-active {
  background: var(--grey-950, #1b2124);
  color: var(--base-white, #fff);
}

#aplicaciones .aplicaciones__tab:focus-visible {
  outline: 3px solid var(--yellow-300, #ffd970);
  outline-offset: 2px;
}

/* Carrusel */
#aplicaciones .aplicaciones__track {
  display: flex;
  gap: var(--ap-gap);
  margin-right: calc(50% - 50vw);
  padding-right: max(0px, calc(50vw + 50% - 2 * var(--ap-card) - var(--ap-gap)));
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

#aplicaciones .aplicaciones__track[hidden] { display: none; }
#aplicaciones .aplicaciones__track::-webkit-scrollbar { display: none; }

#aplicaciones .aplicaciones__track:focus-visible {
  outline: 3px solid var(--yellow-300, #ffd970);
  outline-offset: 4px;
}

#aplicaciones .aplicaciones__card {
  flex: 0 0 var(--ap-card);
  width: var(--ap-card);
  color: inherit;
  text-decoration: none;
  scroll-snap-align: start;
}

#aplicaciones .aplicaciones__media {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--grey-100, #eceae6);
}

#aplicaciones .aplicaciones__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

#aplicaciones .aplicaciones__card:hover .aplicaciones__media img { transform: scale(1.04); }

/* 45 Light 28/40 · tracking .28px */
#aplicaciones .aplicaciones__card-title {
  margin: 0;
  padding-top: 16px;
  font-size: 28px;
  line-height: 40px;
  font-weight: 300;
  letter-spacing: 0.28px;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s var(--ease);
}

/* motion.js parte el título en .word-reveal (display: inline-block): el underline
   del <h3> no entra en los inline-block y solo se veía en los espacios entre
   palabras. Cada palabra lleva su propio underline (mismo patrón que
   .blog-post-card__title) sin perder la transición del reveal. */
#aplicaciones .aplicaciones__card-title .word-reveal {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition:
    opacity   0.7s cubic-bezier(0.23, 1, 0.32, 1) var(--wd, 0ms),
    transform 0.7s cubic-bezier(0.23, 1, 0.32, 1) var(--wd, 0ms),
    filter    0.7s cubic-bezier(0.23, 1, 0.32, 1) var(--wd, 0ms),
    text-decoration-color 0.2s var(--ease) 0s;
}

#aplicaciones .aplicaciones__card:hover .aplicaciones__card-title,
#aplicaciones .aplicaciones__card:focus-visible .aplicaciones__card-title,
#aplicaciones .aplicaciones__card:hover .aplicaciones__card-title .word-reveal,
#aplicaciones .aplicaciones__card:focus-visible .aplicaciones__card-title .word-reveal {
  text-decoration-color: currentColor;
}

#aplicaciones .aplicaciones__card:focus-visible {
  outline: 3px solid var(--yellow-300, #ffd970);
  outline-offset: 4px;
}

/* Controles (mismo patrón que Últimas noticias) */
#aplicaciones .aplicaciones__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#aplicaciones .aplicaciones__nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

#aplicaciones .aplicaciones__arrow {
  display: block;
  width: 90px;
  height: 60px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

#aplicaciones .aplicaciones__arrow img {
  display: block;
  width: 90px;
  height: 60px;
  transition: transform 0.35s var(--ease);
}

#aplicaciones .aplicaciones__arrow--prev img { transform: rotate(180deg); }
#aplicaciones .aplicaciones__arrow:not([disabled]):hover img { transform: translateX(6px); }
#aplicaciones .aplicaciones__arrow--prev:not([disabled]):hover img { transform: rotate(180deg) translateX(6px); }
#aplicaciones .aplicaciones__arrow:active { transform: scale(0.96); }

#aplicaciones .aplicaciones__arrow:focus-visible {
  outline: 3px solid var(--yellow-300, #ffd970);
  outline-offset: 2px;
}

#aplicaciones .aplicaciones__arrow[disabled] {
  opacity: 0.3;
  cursor: default;
}

#aplicaciones .aplicaciones__pager {
  margin: 0;
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
  color: #000;
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
  #aplicaciones .aplicaciones__track { scroll-behavior: auto; }
  #aplicaciones .aplicaciones__media img,
  #aplicaciones .aplicaciones__arrow img { transition: none; }
}

@media (max-width: 900px) {
  #aplicaciones.aplicaciones {
    --ap-gutter: 16px;
    --ap-gap: 16px;
    --ap-card: min(320px, calc(100vw - 2 * var(--ap-gutter) - 40px));
  }

  #aplicaciones .aplicaciones__inner { gap: 24px; }

  #aplicaciones .aplicaciones__head {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 0;
  }

  /* Heading/Mobile/H2 · 45 Light 28/36 */
  #aplicaciones .aplicaciones__title {
    font-size: 28px;
    line-height: 36px;
    text-transform: none;
  }

  #aplicaciones .aplicaciones__intro { text-align: left; }

  #aplicaciones .aplicaciones__tab {
    min-width: 0;
    padding: 6px 16px;
    font-size: 14px;
    line-height: 20px;
  }

  #aplicaciones .aplicaciones__card-title {
    padding-top: 12px;
    font-size: 20px;
    line-height: 28px;
  }

  #aplicaciones .aplicaciones__arrow,
  #aplicaciones .aplicaciones__arrow img { width: 60px; height: 40px; }

  #aplicaciones .aplicaciones__pager { font-size: 18px; line-height: 24px; }
}

/* ─── Nuestros productos · Card_product_main ────────────────────────────
   Figma: componente 51417:8607 · frames Home 52447:22122 (Desktop),
   52447:22063 (Tablet), 52447:21944 / 52155:11420 (Mobile).
   Desktop (≥1025px): filas plegadas (número + título 40 Light); en hover/focus
   la card pasa a #f7f8f8 con título 75 Bold uppercase, flecha, subcategorías
   e imagen 280×280.
   Tablet/Mobile (≤1024px): cards desplegadas sobre #1b2124, título 75 Bold
   28/36 + flecha, subcategorías e imagen a todo el ancho (alto 295).
   Este bloque prevalece sobre las capas anteriores de #productos. */
html body #productos {
  --pc-bg: #1b2124;
  --pc-bg-hover: #f7f8f8;
  --pc-fg: #f7f8f8;
  --pc-fg-hover: #1b2124;
  --pc-divider: #404953;
}

html body #productos .products-shell {
  padding: 150px 0 120px !important;
}

html body #productos .section-grid {
  max-width: calc(1080px + 2 * 24px) !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  box-sizing: border-box;
}

html body #productos .products-header {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 32px !important;
  margin-bottom: 58px !important;
}

/* Heading/Desktop · 45 Light 64, uppercase */
html body #productos .products-title {
  max-width: 420px !important;
  margin: 0 !important;
  color: #fff !important;
  font-size: 64px !important;
  font-weight: 300 !important;
  line-height: 1.05 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
}

html body #productos .products-title br { display: inline !important; }

/* 45 Light 18 · tracking 5% */
html body #productos .products-subtitle {
  max-width: 256px !important;
  padding-top: 8px !important;
  color: #fff !important;
  font-size: 18px !important;
  font-weight: 300 !important;
  line-height: 1.3 !important;
  letter-spacing: 0.05em !important;
}

html body #productos .product-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}

html body #productos .product-card,
html body #productos a.product-card {
  display: block !important;
  margin: 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--pc-divider) !important;
  background: var(--pc-bg) !important;
  color: inherit !important;
  text-decoration: none !important;
  overflow: hidden !important;
  transition: background-color 0.4s var(--ease) !important;
}

html body #productos .product-card:first-child { border-top: 0 !important; }
html body #productos .product-card:last-child { border-bottom: 0 !important; }

html body #productos .product-number,
html body #productos .product-name,
html body #productos .product-subcat {
  color: var(--pc-fg) !important;
  transition: color 0.35s var(--ease) !important;
}

/* Número · 45 Light 16 · tracking 5% */
html body #productos .product-number {
  flex: 0 0 25px !important;
  width: 25px !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 16px !important;
  font-weight: 300 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.05em !important;
}

/* Subcategorías · 45 Light 16 · tracking 5% */
html body #productos .product-subcat {
  font-size: 16px !important;
  font-weight: 300 !important;
  line-height: 1.4 !important;
  letter-spacing: 0.05em !important;
}

html body #productos .product-arrow img {
  width: 54px !important;
  height: 21px !important;
  object-fit: contain;
}

html body #productos .product-image-wrap img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* ── Desktop: acordeón por hover ── */
@media (min-width: 1025px) {
  html body #productos .product-card-inner {
    position: relative !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 27px !important;
    min-height: 0 !important;
    padding: 24px !important;
  }

  html body #productos .product-main {
    display: flex !important;
    flex: 0 0 323px !important;
    flex-direction: column !important;
    gap: 27px !important;
    width: 323px !important;
    margin: 0 !important;
  }

  /* Plegada: 45 Light 40/48, sin uppercase */
  html body #productos .product-name {
    max-width: none !important;
    font-size: 40px !important;
    font-weight: 300 !important;
    line-height: 48px !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    white-space: normal !important;
  }

  html body #productos .product-arrow {
    display: flex !important;
    height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    transform: none !important;
    transition: opacity 0.35s var(--ease), height 0.45s var(--ease) !important;
  }

  html body #productos .product-arrow img { filter: none !important; transition: transform 0.3s var(--ease) !important; }

  html body #productos .product-subcats {
    display: flex !important;
    flex: 0 1 324px !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin: 0 !important;
    align-self: flex-start !important;
    max-height: 131px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    transform: none !important;
    pointer-events: none !important;
    transition: opacity 0.35s var(--ease) 0.05s, max-height 0.45s var(--ease) !important;
  }

  /* Imagen 280×280 alineada a la derecha */
  html body #productos .product-image-wrap {
    display: block !important;
    flex: 0 0 280px !important;
    width: 280px !important;
    height: 131px !important; /* Figma: fila plegada 179 = 24 + 131 + 24 */
    margin: 0 0 0 auto !important;
    overflow: hidden !important;
    opacity: 0 !important;
    transform: none !important;
    transition: opacity 0.45s var(--ease), height 0.45s var(--ease) !important;
  }

  /* Hover / focus / tap (.active) */
  html body #productos .product-card:hover,
  html body #productos .product-card:focus-visible,
  html body #productos .product-card.active {
    background: var(--pc-bg-hover) !important;
    outline: none !important;
  }

  html body #productos .product-card:focus-visible {
    box-shadow: inset 0 0 0 2px var(--pc-fg-hover) !important;
  }

  html body #productos .product-card:hover :is(.product-number, .product-name, .product-subcat),
  html body #productos .product-card:focus-visible :is(.product-number, .product-name, .product-subcat),
  html body #productos .product-card.active :is(.product-number, .product-name, .product-subcat) {
    color: var(--pc-fg-hover) !important;
  }

  /* Abierta: 75 Bold 40, uppercase */
  html body #productos .product-card:hover .product-name,
  html body #productos .product-card:focus-visible .product-name,
  html body #productos .product-card.active .product-name {
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
  }

  html body #productos .product-card:hover .product-arrow,
  html body #productos .product-card:focus-visible .product-arrow,
  html body #productos .product-card.active .product-arrow {
    height: 21px !important;
    opacity: 1 !important;
  }

  html body #productos .product-card:hover .product-arrow img { transform: translateX(6px) !important; }

  html body #productos .product-card:hover .product-subcats,
  html body #productos .product-card:focus-visible .product-subcats,
  html body #productos .product-card.active .product-subcats {
    max-height: 280px !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  html body #productos .product-card:hover .product-image-wrap,
  html body #productos .product-card:focus-visible .product-image-wrap,
  html body #productos .product-card.active .product-image-wrap {
    height: 280px !important;
    opacity: 1 !important;
  }

  html body #productos .product-card:hover .product-image-wrap img { transform: scale(1.04) !important; }
}

/* ── Tablet y mobile: cards desplegadas ── */
@media (max-width: 1024px) {
  html body #productos .products-shell { padding: 150px 0 120px !important; }
  html body #productos .section-grid { padding: 0 32px !important; }

  html body #productos .product-card,
  html body #productos .product-card:hover,
  html body #productos .product-card.active {
    background: var(--pc-bg) !important;
    border-top-color: rgba(255, 255, 255, 0.1) !important;
  }

  html body #productos .product-card-inner,
  html body #productos .product-card:hover .product-card-inner,
  html body #productos .product-card.active .product-card-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 27px !important;
    min-height: 0 !important;
    padding: 24px !important;
  }

  html body #productos .product-number,
  html body #productos .product-card:hover .product-number,
  html body #productos .product-card.active .product-number {
    width: auto !important;
    margin: 0 0 -19px !important; /* número pegado al título, como en Figma */
    color: var(--pc-fg) !important;
  }

  html body #productos .product-main {
    display: flex !important;
    flex: none !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 27px !important;
    width: 100% !important;
    margin: 0 !important;
  }

  /* 75 Bold 28/36 */
  html body #productos .product-name,
  html body #productos .product-card:hover .product-name,
  html body #productos .product-card.active .product-name {
    max-width: none !important;
    color: var(--pc-fg) !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    line-height: 36px !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
  }

  html body #productos .product-arrow,
  html body #productos .product-card:hover .product-arrow,
  html body #productos .product-card.active .product-arrow {
    display: flex !important;
    flex: 0 0 54px !important;
    width: 54px !important;
    height: 36px !important;
    align-items: center !important;
    opacity: 1 !important;
    transform: none !important;
  }

  html body #productos .product-arrow img,
  html body #productos .product-card:hover .product-arrow img {
    filter: brightness(0) invert(1) !important;
    transform: none !important;
  }

  html body #productos .product-subcats,
  html body #productos .product-card:hover .product-subcats,
  html body #productos .product-card.active .product-subcats {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin: 0 0 -3px !important; /* gap 24 hasta la imagen */
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
  }

  html body #productos .product-subcat,
  html body #productos .product-card:hover .product-subcat,
  html body #productos .product-card.active .product-subcat {
    color: var(--pc-fg) !important;
  }

  /* Imagen a todo el ancho · alto 295 */
  html body #productos .product-image-wrap,
  html body #productos .product-card:hover .product-image-wrap,
  html body #productos .product-card.active .product-image-wrap {
    display: block !important;
    width: 100% !important;
    height: 295px !important;
    flex: none !important;
    margin: 0 !important;
    opacity: 1 !important;
    transform: none !important;
  }

  html body #productos .product-image-wrap img,
  html body #productos .product-card:hover .product-image-wrap img { transform: none !important; }
}

/* Mobile (≤700px): cabecera compacta 55 Roman 32/36 + 16/24 */
@media (max-width: 700px) {
  html body #productos .products-shell { padding: 64px 0 !important; }
  html body #productos .section-grid { padding: 0 10px !important; }

  html body #productos .products-header {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin-bottom: 58px !important;
    padding: 0 6px !important;
  }

  html body #productos .products-title {
    font-size: 32px !important;
    font-weight: 500 !important;
    line-height: 36px !important;
    text-transform: none !important;
  }

  html body #productos .products-title br { display: none !important; }

  html body #productos .products-subtitle {
    padding-top: 0 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 24px !important;
    letter-spacing: 0 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body #productos :is(.product-card, .product-arrow, .product-subcats, .product-image-wrap, .product-image-wrap img) {
    transition: none !important;
  }
}

/* ─── Tipografía Home Desktop ───────────────────────────────────────────
   Figma: sección "Cambios tipografia" (52449:27471) · frame Home - Desktop
   (52449:22338). Formato de los comentarios: tamaño / interlineado / tracking.
   Pesos NHG: 45 Light = 300 · 55 Roman = 500 · 75 Bold = 700.
   Donde Figma usa Inter o DM Sans se mantiene NHG con el mismo tamaño y peso
   para no mezclar familias. Solo escritorio: tablet/móvil conservan su escala. */
@media (min-width: 1025px) {
  /* 1 · Header */
  html body #header .cantovi-header-nav-item { font-size: 14px !important; line-height: 20px !important; font-weight: 500 !important; letter-spacing: 0 !important; }
  /* Common/Button 1/Default · 16 / 16 / 3% · 55 Roman */
  html body #header .cantovi-header-cta-label { font-size: 16px !important; line-height: 16px !important; font-weight: 500 !important; letter-spacing: 0.03em !important; }

  /* 1 · Hero */
  html body #hero-section .hero-eyebrow,
  html body #hero-section .hero-eyebrow * { font-size: 20px !important; line-height: normal !important; font-weight: 300 !important; letter-spacing: 0 !important; }
  html body #hero-section .hero-title { font-size: 72px !important; line-height: normal !important; font-weight: 700 !important; letter-spacing: 0 !important; text-transform: uppercase !important; }
  html body #hero-section .hero-description { font-size: 16px !important; line-height: normal !important; font-weight: 300 !important; letter-spacing: 0.05em !important; }
  /* Botones del hero y del CTA · 14 / 100% / 6% · 45 Light */
  html body :is(#hero-section, #contact) :is(.btn-label, .btn-label-wrap, .btn-primary, .btn-outline) { font-size: 14px !important; line-height: 1 !important; font-weight: 300 !important; letter-spacing: 0.06em !important; }

  /* 2 · Nuestros productos */
  html body #productos .products-title { font-size: 64px !important; line-height: normal !important; font-weight: 300 !important; letter-spacing: 0 !important; }
  html body #productos .products-subtitle { font-size: 18px !important; line-height: normal !important; font-weight: 300 !important; letter-spacing: 0.05em !important; }
  /* Heading/Desktop/H2 · 40 / 48 / 0 (plegada; el hover la pasa a 75 Bold) */
  html body #productos .product-card:not(:hover):not(:focus-visible):not(.active) .product-name { font-size: 40px !important; line-height: 48px !important; font-weight: 300 !important; letter-spacing: 0 !important; }
  html body #productos :is(.product-number, .product-subcat) { font-size: 16px !important; line-height: normal !important; font-weight: 300 !important; letter-spacing: 0.05em !important; }

  /* 4 · Quiénes somos */
  html body #quienes-somos .qs-heading { font-size: 64px !important; line-height: normal !important; font-weight: 300 !important; letter-spacing: 0 !important; text-transform: uppercase !important; }
  /* 36 / auto / 5% · 55 Roman */
  html body #quienes-somos .qs-para { font-size: 36px !important; line-height: normal !important; font-weight: 500 !important; letter-spacing: 0.05em !important; }

  /* 5 · Aplicaciones */
  html body #aplicaciones .aplicaciones__title { font-size: 64px !important; line-height: normal !important; font-weight: 300 !important; letter-spacing: 0 !important; }
  html body #aplicaciones .aplicaciones__intro { font-size: 16px !important; line-height: 24px !important; font-weight: 300 !important; letter-spacing: 0.16px !important; }
  html body #aplicaciones .aplicaciones__intro strong { font-weight: 700 !important; }
  html body #aplicaciones .aplicaciones__tab { font-size: 16px !important; line-height: 24px !important; font-weight: 300 !important; letter-spacing: 0.16px !important; }
  html body #aplicaciones .aplicaciones__card-title { font-size: 28px !important; line-height: 40px !important; font-weight: 300 !important; letter-spacing: 0.28px !important; }
  /* Heading/Mobile/H3/Medium · 24 / 32 · 55 Roman */
  html body :is(#aplicaciones .aplicaciones__pager, #ultimas-noticias .latest-news__pager) { font-size: 24px !important; line-height: 32px !important; font-weight: 500 !important; letter-spacing: 0 !important; }

  /* 6 · Contacto (CTA) */
  html body #contact .contact-eyebrow { font-size: 20px !important; line-height: normal !important; font-weight: 300 !important; letter-spacing: 0 !important; }
  /* 64 / 130% / 0 · Light · mayúsculas */
  html body #contact .contact-title { font-size: 64px !important; line-height: 1.3 !important; font-weight: 300 !important; letter-spacing: 0 !important; text-transform: uppercase !important; }
  /* 28 / 130% / 0 · Bold · mayúsculas */
  html body #contact .contact-subtitle,
  html body #contact .contact-subtitle * { font-size: 28px !important; line-height: 1.3 !important; font-weight: 700 !important; letter-spacing: 0 !important; text-transform: uppercase !important; }
  html body #contact .contact-description { font-size: 16px !important; line-height: normal !important; font-weight: 300 !important; letter-spacing: 0.05em !important; }

  /* 7 · Últimas noticias */
  html body #ultimas-noticias .latest-news__title { font-size: 64px !important; line-height: normal !important; font-weight: 300 !important; letter-spacing: 0 !important; }
  /* Common/Button 1/Line · 16 / 16 / 3% · 55 Roman */
  html body #ultimas-noticias .latest-news__link { --btn-fs: 16px; --btn-lh: 16px; letter-spacing: 0.03em !important; }
  html body #ultimas-noticias .latest-news__link .btn__label { font-size: 16px !important; line-height: 16px !important; font-weight: 500 !important; letter-spacing: 0.03em !important; }
  html body #ultimas-noticias .latest-news__card .blog-post-card__kicker { font-size: 18px !important; line-height: 24px !important; font-weight: 500 !important; letter-spacing: 0 !important; }
  html body #ultimas-noticias .latest-news__card .blog-post-card__title { font-size: 32px !important; line-height: 40px !important; font-weight: 500 !important; letter-spacing: 0 !important; }
  html body #ultimas-noticias .latest-news__card .blog-post-card__meta { font-size: 16px !important; line-height: 24px !important; font-weight: 500 !important; letter-spacing: 0.04em !important; }

  /* 8 · Encuéntranos */
  html body #encuentranos .encuentranos-title { font-size: 64px !important; line-height: normal !important; font-weight: 300 !important; letter-spacing: 0.03em !important; text-transform: uppercase !important; }
  html body #encuentranos .encuentranos-intro { font-size: 16px !important; line-height: 24px !important; font-weight: 300 !important; letter-spacing: 0.03em !important; }
  html body #encuentranos .contact-item-label { font-size: 16px !important; line-height: normal !important; font-weight: 300 !important; letter-spacing: 0.06em !important; }
  html body #encuentranos .contact-item-value { font-size: 16px !important; line-height: normal !important; font-weight: 700 !important; letter-spacing: 0.06em !important; }
  html body #encuentranos .contact-item-link { font-size: 16px !important; line-height: 16px !important; font-weight: 500 !important; letter-spacing: 0.03em !important; }

  /* 10 · Footer */
  html body #footer .footer-col-title,
  html body #footer .footer-col-title * { font-size: 18px !important; line-height: normal !important; font-weight: 700 !important; letter-spacing: 0 !important; }
  html body #footer .footer-link:not(.footer-link--external) { font-size: 18px !important; line-height: normal !important; font-weight: 300 !important; letter-spacing: 0 !important; }
  /* "Dónde encontrarnos" / "Pedir presupuesto": Regular */
  html body #footer div.footer-col-links > .footer-link:not(.footer-link--external) { font-weight: 400 !important; }
  html body #footer .footer-link--external .footer-link__label { font-size: 16px !important; line-height: 16px !important; font-weight: 500 !important; letter-spacing: 0.03em !important; }
  /* Paragraph/Mobile/P1/Medium · 16 / 24 · 55 Roman */
  html body #footer .footer-legal { font-size: 16px !important; line-height: 24px !important; font-weight: 500 !important; letter-spacing: 0 !important; }
}

/* Texto con efecto letra a letra (.gs-text): cada palabra es un bloque
   indivisible para que el salto de línea no parta palabras ("espac|ios"). */
.gs-text .gs-word {
  display: inline-block;
  white-space: nowrap;
}

/* Home · Productos · encuadre de la foto Scrigno (card Casetones) */
#productos .product-card[href*="/casonetos-y-escaleras/"] .product-image-wrap img {
  object-position: 50% 80%;
}

/* ============================================================================
   FEEDBACK 08 (v3) · HERO HOME MOBILE (≤640px) — 2026-11-24
   Comportamiento original recuperado: H1, descripción y CTA visibles SIEMPRE
   (durante el vídeo, en pausa y al terminar), sin animación de entrada.
   Al terminar el vídeo o pulsar «Saltar vídeo» (revealHero() en main.js)
   solo se ocultan los controles con un fundido; conservan su hueco
   (visibility) para que el contenido no se mueva.
   Desktop/tablet NO cambian: todo vive dentro de @media (max-width: 640px);
   fuera solo se oculta el CTA primario, que no existe en el diseño desktop.
   ========================================================================== */
.hero-cta-quote { display: none; }

@media (max-width: 640px) {
  html body #hero-section {
    --hero-gutter: 20px;
    /* El hero arranca bajo el header sticky: su altura = viewport visible
       más pequeño (svh, barras del navegador visibles) - header. */
    height: auto;
    min-height: calc(100vh - var(--hero-offset, 72px));
    min-height: calc(100svh - var(--hero-offset, 72px));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  /* Contenido en flujo (no absolute): si en un móvil muy bajo no cabe,
     el hero crece y se hace scroll natural; nunca se corta nada. */
  html body #hero-section #hero-content {
    position: relative !important;
    inset: auto !important;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    gap: 20px;
    padding: 24px var(--hero-gutter) calc(24px + env(safe-area-inset-bottom, 0px));
  }
  html body #hero-section .hero-left,
  html body #hero-section .hero-right { width: 100%; max-width: 100%; }
  html body #hero-section .hero-right { gap: 16px; }

  /* v3 · Estado vídeo: el vídeo ocupa el 70 % superior del hero y el
     contenido empieza ahí (los CTA pueden quedar bajo el pliegue). Al terminar
     o saltar, .is-ended (main.js) quita el hueco y el bloque sube animado
     hasta quedar entero en pantalla. Vídeo y degradado mantienen siempre la
     altura del viewport → el encuadre no cambia. */
  html body #hero-section {
    box-sizing: border-box;
    padding-top: calc((100vh - var(--hero-offset, 72px)) * 0.7 - 24px);
    padding-top: calc((100svh - var(--hero-offset, 72px)) * 0.7 - 24px);
  }
  html body #hero-section.is-ended { padding-top: 0; }
  html body #hero-section #hero-video,
  html body #hero-section #hero-overlay {
    top: 0;
    bottom: auto;
    height: calc(100vh - var(--hero-offset, 72px));
    height: calc(100svh - var(--hero-offset, 72px));
  }

  /* Sin «Fabricación artesanal desde 1998.» en mobile */
  html body #hero-section .hero-eyebrow { display: none; }

  /* Degradado fijo: el texto está visible sobre el vídeo desde el inicio */
  html body #hero-section #hero-overlay {
    background: linear-gradient(to bottom,
      rgba(27,33,36,0) 20%, rgba(27,33,36,0.5) 45%,
      rgba(27,33,36,0.88) 68%, rgba(27,33,36,1) 100%);
  }

  /* Controles en flujo, encima del H1. Al ocultarse mantienen su hueco
     (visibility) → el H1, la descripción y los CTA no cambian de posición. */
  html body #hero-section #hero-controls {
    margin: 0 0 20px;
    transition: opacity 250ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 250ms;
  }
  html body #hero-section #hero-controls.visible { visibility: visible; transition: opacity 250ms cubic-bezier(0.22, 1, 0.36, 1); }
  html body #hero-section #hero-controls.hidden { visibility: hidden; }

  /* ── H1: completo, sin desbordes, Bold ──
     «REVESTIMIENTOS» mide ≈ 8.56em: el tamaño se limita a lo que cabe entre
     márgenes (con ~6 % de holgura para fuentes fallback) y como máximo 32px
     (Figma). 320px → ~30.8px · 375–430px → 32px. */
  html body #hero-section .hero-title {
    font-size: min(32px, calc((100vw - 40px) / 9.1));
    line-height: 1.12;
    font-weight: 700;
    white-space: normal;
    overflow-wrap: break-word;
    max-width: 100%;
  }
  html body #hero-section .hero-title br,
  html body #hero-section .hero-description br { display: none; }
  html body #hero-section .hero-title:focus { outline: none; }
  html body #hero-section .hero-title:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; }

  /* Contenido comercial SIEMPRE visible y estable (sin animación de entrada) */
  html body #hero-section #hero-content .hero-title .word-reveal,
  html body #hero-section #hero-content .hero-title,
  html body #hero-section #hero-content .hero-description,
  html body #hero-section #hero-content .hero-ctas {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
    pointer-events: auto;
  }

  html body #hero-section .hero-description {
    font-size: 16px;
    line-height: 1.35;
    color: rgba(255,255,255,0.9);
  }

  /* ── CTA: columna a todo el ancho, primario + secundario ── */
  html body #hero-section .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    width: 100%;
  }
  html body #hero-section .hero-ctas .btn-primary,
  html body #hero-section .hero-ctas .btn-outline {
    display: inline-flex;
    width: 100%;
    height: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
  }
  html body #hero-section .hero-ctas .btn-primary .btn-icon {
    width: auto;
    height: auto;
    background: transparent;
    margin-left: 12px;
  }
  html body #hero-section .hero-ctas .btn-primary .btn-icon svg { width: 20px; height: 20px; color: var(--dark); }
  html body #hero-section .hero-ctas .btn-outline { border-color: var(--white); }
}

/* === Home · Nuestros productos · anclas a categorías (2026-11-24) ===
   Card scroll variante circular (.cscroll--circle, main.css) + .ds-divider.
   Desktop/tablet: Figma 52697:32399 — título → 32 → anclas → 32 → divider → 32 → lista;
   7 tarjetas repartidas en 1080 (máx. 165), gap 24, círculo 103, label 16/24.
   Móvil ≤640: Figma 52697:32821 — 16 / 16 / 16, tarjetas 104, gap 8, label 14/20,
   el carrusel sangra hasta el borde derecho. Texto Foreground/Static/Inverse,
   divider Border/Static/Divider/Default (blanco 10%) sobre el fondo oscuro. */
html body #productos .products-header { margin-bottom: 32px !important; }
#productos .home-anchors {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin: 0 0 32px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
#productos .home-anchors::-webkit-scrollbar { display: none; }
#productos .home-anchors .cscroll--circle {
  --cscroll-label-fg:   var(--fg-inverse, #f7f8f8);
  --cscroll-label-size: var(--font-size-16, 16px);
  --cscroll-label-line: 24px;
  --cscroll-focus-ring: var(--btn-focus-ring-inverse, #f7f8f8);
  flex: 0 0 129px;                 /* Figma: 129–130px, máx. 165 */
  width: 129px;
  max-width: 165px;
  scroll-snap-align: start;
}
#productos .home-anchors-divider {
  margin: 0 0 32px;
  background: rgba(255, 255, 255, 0.1);
}
#productos .product-card { scroll-margin-top: 96px; } /* bajo la cabecera fija */

@media (max-width: 640px) {
  html body #productos .products-header { margin-bottom: 16px !important; }
  /* .section-grid deja 10px; el título y la lista van a 16 (Figma x=16):
     las anclas arrancan en 16 y sangran hasta el borde derecho. */
  #productos .home-anchors {
    gap: 8px;
    margin: 0 -10px 16px 0;
    padding: 0 10px 0 6px;
    scroll-padding-left: 6px;
  }
  #productos .home-anchors .cscroll--circle {
    --cscroll-label-size: var(--font-size-14, 14px);
    --cscroll-label-line: 20px;
    flex: 0 0 var(--cscroll-width);
  }
  #productos .home-anchors-divider { width: auto; margin: 0 6px 16px; }
  #productos .product-card { scroll-margin-top: 88px; }
}

/* Píldora de pestañas con scroll horizontal: flechas ‹ › (feedback 30-nov).
   main.js envuelve el tablist en .tabs-scroll y muestra cada flecha solo si
   queda contenido oculto a ese lado. */
.tabs-scroll {
  position: relative;
  display: flex;
  align-self: flex-start;
  max-width: 100%;
  min-width: 0;
  border-radius: 100px;
}
.tabs-scroll > [role="tablist"] { min-width: 0; max-width: 100%; }
.tabs-scroll__arrow {
  position: absolute;
  top: 4px;
  bottom: 4px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  padding: 0;
  border: 0;
  color: var(--grey-950, #1b2124);
  cursor: pointer;
}
.tabs-scroll__arrow[hidden] { display: none; }
.tabs-scroll__arrow--next {
  right: 4px;
  justify-content: flex-end;
  padding-right: 10px;
  border-radius: 0 100px 100px 0;
  background: linear-gradient(to right, rgba(255,255,255,0) 0, var(--base-white, #fff) 45%);
}
.tabs-scroll__arrow--prev {
  left: 4px;
  justify-content: flex-start;
  padding-left: 10px;
  border-radius: 100px 0 0 100px;
  background: linear-gradient(to left, rgba(255,255,255,0) 0, var(--base-white, #fff) 45%);
}
.tabs-scroll__arrow--prev svg { transform: scaleX(-1); }
.tabs-scroll__arrow:hover svg { opacity: .6; }
#aplicaciones .tabs-scroll { margin: 0; }
