  /* ---------- Tokens ---------- */
  :root {
    /* One unified dark background across every section — no per-section
       color blocks, so scrolling reads as continuous rather than a
       stack of separate panels. --surface/-2 stay a few percent off
       --bg only so small chips (pills, buttons) keep some definition;
       they're never used for whole-section backgrounds. */
    --bg: #0a0c10;
    --surface: #0d0f15;
    --surface-2: #14161c;
    --ink: #f3f4f2;
    --ink-muted: rgba(243, 244, 242, 0.62);
    --accent: #c3c8d1;
    --accent-strong: #f3f4f2;
    --accent-soft: rgba(255, 255, 255, 0.06);
    --line: rgba(255, 255, 255, 0.12);
    --shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.5);

    /* "hero" tokens mirror --bg/--ink so every full-bleed section reads
       as the same surface — kept as a separate group only so this file
       doesn't need every rule renamed. */
    --hero-bg-1: #0a0c10;
    --hero-bg-2: #12141a;
    --hero-ink: #f3f4f2;
    --hero-ink-muted: rgba(243, 244, 242, 0.65);
    --hero-line: rgba(255, 255, 255, 0.12);
    /* Named for legacy reasons — this is the site's silver/steel
       accent, not gold: no yellow in text or small accents. */
    --hero-gold: #c3c8d1;
    --metal-1: #c3c8d1;
    --metal-2: #4a5a78;
    --whatsapp: #25d366;

    --font-display: "Archivo Expanded", "Arial Narrow", sans-serif;
    --font-nav: "Archivo", "Helvetica Neue", sans-serif;
    --font-body: "Archivo", "Helvetica Neue", sans-serif;
    --font-mono: "Archivo", "Helvetica Neue", sans-serif;

    --glass-bg: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.14);
    --glass-bg-light: rgba(255, 255, 255, 0.7);
    --glass-border-light: rgba(20, 26, 36, 0.1);

    /* single motion signature used across reveal, hover and navigation transitions */
    --ease: cubic-bezier(.22, 1, .36, 1);
  }

  /* COIM's identity is a fixed dark, single-surface palette — no
     per-section color blocks, and no OS dark-mode auto-adaptation. */

  /* ---------- Base ---------- */
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
    ::view-transition-group(*),
    ::view-transition-old(*),
    ::view-transition-new(*) { animation: none !important; }
  }

  /* clip (not hidden): hidden would turn body into a scroll container and
     break position: sticky. */
  html, body { overflow-x: clip; }
  body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

  h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; margin: 0; letter-spacing: 0.01em; }
  p { margin: 0; }
  a { color: inherit; }
  img, svg { display: block; max-width: 100%; }
  section { position: relative; }
  section[id] { scroll-margin-top: 88px; }

  main, footer { position: relative; z-index: 1; }

  .wrap {
    max-width: 1220px;
    margin: 0 auto;
    padding-inline: clamp(20px, 5vw, 48px);
  }

  .eyebrow {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
  }
  .hero .eyebrow { color: var(--hero-gold); }

  .btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-nav);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 15px 26px;
    border-radius: 4px;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  }
  .btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(115deg, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0) 30%);
    opacity: 0.6;
    pointer-events: none;
  }
  .btn > span, .btn > svg { position: relative; z-index: 1; }
  .btn:hover { transform: translateY(-2px); }
  .btn:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 3px; }
  .btn svg { width: 16px; height: 16px; flex: none; }

  .btn-solid {
    background: linear-gradient(160deg, rgba(255,255,255,0.24) 0%, rgba(255,255,255,0.05) 55%, rgba(255,255,255,0.14) 100%);
    color: #fff;
    border-color: rgba(255,255,255,0.45);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    box-shadow: 0 14px 28px -16px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.35);
  }
  .btn-solid:hover {
    background: linear-gradient(160deg, rgba(255,255,255,0.32) 0%, rgba(255,255,255,0.08) 55%, rgba(255,255,255,0.2) 100%);
    border-color: rgba(255,255,255,0.65);
    box-shadow: 0 18px 34px -16px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.45);
  }
  .btn-ghost {
    background: var(--glass-bg);
    color: var(--hero-ink);
    border-color: var(--glass-border);
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
  }
  .btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: var(--metal-1); }
  .btn-outline {
    background: var(--glass-bg-light);
    color: #14181f;
    border-color: var(--glass-border-light);
    backdrop-filter: blur(10px) saturate(160%);
    -webkit-backdrop-filter: blur(10px) saturate(160%);
  }
  .btn-outline:hover { border-color: var(--hero-gold); color: #14181f; background: rgba(255,255,255,0.85); }

  /* ---------- Header ---------- */
  header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
    transition: background 0.5s var(--ease), backdrop-filter 0.5s var(--ease), border-color 0.5s var(--ease);
  }
  header.scrolled {
    background: rgba(10, 13, 19, 0.84);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom-color: rgba(255,255,255,0.08);
    box-shadow: 0 1px 0 rgba(0,0,0,0.2);
  }
  .nav-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    height: 84px;
  }
  .wordmark { display: flex; align-items: center; gap: 10px; line-height: 1; text-decoration: none; justify-self: start; }
  .wordmark .logo-mark { height: 56px; width: auto; flex: none; border-radius: 10px; box-shadow: 0 3px 12px -2px rgba(0,0,0,0.5); }
  .wordmark-text { display: flex; flex-direction: column; }
  .wordmark .w1 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 0.03em;
    background: linear-gradient(120deg, #dfe2e7 0%, #838a97 28%, #f4f5f7 46%, #6b7280 64%, #c3c8d1 82%, #9aa0ab 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .wordmark .w2 {
    font-family: var(--font-nav);
    font-weight: 600;
    font-size: 0.68rem;
    letter-spacing: 0.32em;
    color: var(--hero-ink-muted);
    margin-top: 2px;
  }

  nav.primary { display: flex; align-items: center; gap: 30px; justify-self: center; transition: opacity 0.35s ease; }
  header:not(.scrolled) nav.primary { opacity: 0.8; }
  nav.primary ul { list-style: none; display: flex; gap: 24px; margin: 0; padding: 0; }
  nav.primary a {
    font-family: var(--font-nav);
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(238, 240, 243, 0.75);
    padding: 6px 2px;
    border-bottom: 1px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
  }
  nav.primary a:hover, nav.primary a:focus-visible { color: #fff; border-color: var(--hero-gold); }
  .has-drop { position: relative; }
  .dropdown {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(13, 16, 23, 0.97);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    padding: 10px;
    display: grid;
    gap: 2px;
    min-width: 168px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease;
    box-shadow: 0 16px 32px -14px rgba(0,0,0,0.6);
  }
  .has-drop:hover .dropdown,
  .has-drop:focus-within .dropdown { opacity: 1; visibility: visible; }
  .dropdown a { padding: 8px 10px; border-radius: 4px; text-transform: none; letter-spacing: 0.02em; font-size: 0.82rem; }
  .dropdown a:hover { background: rgba(255,255,255,0.06); border-color: transparent; }

  .header-actions { display: flex; align-items: center; gap: 16px; justify-self: end; }
  .menu-toggle { display: none; }
  .menu-toggle .icon-close { display: none; }
  .menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
  .menu-toggle[aria-expanded="true"] .icon-close { display: block; }

  body.menu-open { overflow: hidden; }

  .mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    background: var(--hero-bg-1);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0s linear 0.4s;
  }
  .mobile-nav.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  }
  .mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0 clamp(24px, 8vw, 56px);
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
  }
  .mobile-nav li {
    border-bottom: 1px solid var(--hero-line);
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  }
  .mobile-nav.open li {
    opacity: 1;
    transform: translateY(0);
  }
  .mobile-nav.open li:nth-child(1) { transition-delay: 0.06s; }
  .mobile-nav.open li:nth-child(2) { transition-delay: 0.11s; }
  .mobile-nav.open li:nth-child(3) { transition-delay: 0.16s; }
  .mobile-nav.open li:nth-child(4) { transition-delay: 0.21s; }
  .mobile-nav a {
    display: block;
    padding: 18px 2px;
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    text-transform: uppercase;
    text-decoration: none;
    color: var(--hero-ink);
    letter-spacing: 0.01em;
  }
  @media (prefers-reduced-motion: reduce) {
    .mobile-nav, .mobile-nav li { transition: none; }
  }

  /* ---------- Hero ---------- */
  .hero {
    position: relative;
    background: var(--bg);
    color: var(--ink);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: clamp(110px, 14vw, 150px) 0 clamp(90px, 9vw, 120px);
    overflow: hidden;
  }
  .hero .wrap { width: 100%; }

  .hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
    background-size: cover;
    background-position: center 60%;
    transform: scale(1.02);
  }

  .hero-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
      linear-gradient(100deg, rgba(6,8,12,0.92) 0%, rgba(6,8,12,0.72) 34%, rgba(6,8,12,0.28) 62%, rgba(6,8,12,0.12) 100%),
      linear-gradient(0deg, rgba(4,5,8,0.75) 0%, transparent 30%, rgba(4,5,8,0.2) 100%);
    pointer-events: none;
  }

  .hero-content {
    position: relative;
    z-index: 2;
  }
  @media (max-width: 760px) {
    .hero-scrim {
      background:
        linear-gradient(180deg, rgba(4,5,8,0.78) 0%, rgba(4,5,8,0.55) 40%, rgba(4,5,8,0.88) 100%);
    }
  }
  .hero-badges {
    display: flex;
    gap: clamp(18px, 3vw, 34px);
    list-style: none;
    margin: 52px 0 0;
    padding-top: 26px;
    border-top: 1px solid rgba(255,255,255,0.14);
    max-width: 560px;
  }
  .hero-badges li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    line-height: 1.35;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: rgba(243,244,242,0.78);
  }
  .hero-badges svg { width: 22px; height: 22px; flex: none; color: var(--hero-gold); }


  .hero-tag {
    display: inline-block;
    margin-top: 56px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    color: rgba(243,244,242,0.7);
    text-transform: uppercase;
  }

  .scroll-cue {
    position: absolute;
    left: 50%;
    bottom: clamp(20px, 4vh, 40px);
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: rgba(243,244,242,0.7);
    z-index: 4;
    opacity: 1;
    transition: opacity 0.35s ease;
  }
  .scroll-cue.is-fading { opacity: 0; pointer-events: none; }
  .scroll-cue span {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
  }
  .scroll-cue .line {
    width: 1px;
    height: 34px;
    background: linear-gradient(180deg, rgba(243,244,242,0.7), transparent);
    position: relative;
    overflow: hidden;
  }
  .scroll-cue .line::after {
    content: "";
    position: absolute;
    left: 0; top: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(180deg, transparent, var(--hero-gold));
    animation: scrollcue 1.8s ease-in-out infinite;
  }
  @keyframes scrollcue {
    0% { top: -100%; }
    60%, 100% { top: 100%; }
  }
  .scroll-cue:hover { color: #fff; }
  @media (prefers-reduced-motion: reduce) {
    .scroll-cue .line::after { animation: none; top: 40%; }
  }
  @media (max-height: 700px) {
    .scroll-cue { display: none; }
  }
  .hero h1 {
    position: relative;
    font-size: clamp(2.8rem, 7vw, 5.6rem);
    line-height: 1.02;
    font-weight: 800;
    text-transform: uppercase;
    max-width: 14ch;
    background: linear-gradient(115deg, #dde4e6 0%, #6f7f88 16%, #f7fafb 30%, #3f4a52 46%, #eef4f5 58%, #6f7f88 72%, #c3ced2 86%, #dde4e6 100%);
    background-size: 240% 100%;
    background-position: 0% 50%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 0 rgba(0,0,0,0.55)) drop-shadow(0 18px 34px rgba(0,0,0,0.6)) drop-shadow(0 0 30px rgba(220,228,230,0.18));
    animation: hero-in 0.9s var(--ease) forwards, metal-shine 7s ease-in-out infinite;
    animation-delay: calc(var(--d, 0) * 110ms + 200ms), 0s;
  }
  .hero h1 .accent-line {
    background: linear-gradient(115deg, #dde4e6 0%, #6f7f88 16%, #f7fafb 30%, #3f4a52 46%, #eef4f5 58%, #6f7f88 72%, #c3ced2 86%, #dde4e6 100%);
    background-size: 240% 100%;
    background-position: 0% 50%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: metal-shine 7s ease-in-out infinite;
  }
  @keyframes metal-shine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
  }
  @media (prefers-reduced-motion: reduce) {
    .hero h1, .hero h1 .accent-line { animation: none; }
    .hero h1 { opacity: 1; transform: none; }
  }
  .hero-sub {
    margin-top: 26px;
    max-width: 44ch;
    color: rgba(243,244,242,0.8);
    font-size: 1.05rem;
  }
  .hero-cta { display: flex; gap: 14px; margin-top: 44px; flex-wrap: wrap; }

  .hero-in {
    opacity: 0;
    transform: translateY(22px);
    animation: hero-in 0.9s var(--ease) forwards;
    animation-delay: calc(var(--d, 0) * 110ms + 200ms);
  }
  @keyframes hero-in {
    to { opacity: 1; transform: none; }
  }
  @media (prefers-reduced-motion: reduce) {
    .hero-in { opacity: 1; transform: none; animation: none; }
  }

  /* ---------- Feature strip ---------- */
  .features {
    background: var(--hero-bg-1);
    border-top: 1px solid var(--hero-line);
    padding: 44px 0;
  }
  .features ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 28px;
  }
  .features li { text-align: center; padding-inline: 6px; }
  .features .ficon {
    width: 46px;
    height: 46px;
    margin: 0 auto 14px;
    border: 1px solid var(--hero-line);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hero-gold);
  }
  .features .ficon svg { width: 20px; height: 20px; }
  .features h3 {
    font-family: var(--font-nav);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--hero-ink);
  }
  .features p {
    margin-top: 8px;
    font-size: 0.82rem;
    color: var(--hero-ink-muted);
    line-height: 1.5;
  }

  /* ---------- Section shell ---------- */
  .section { padding: clamp(64px, 9vw, 108px) 0; }

  /* ---------- Intro / mosaic ---------- */
  .intro {
    position: relative;
    background: var(--bg);
    color: var(--ink);
    overflow: hidden;
  }
  /* ---------- Hero → Quiénes-somos pin transition ----------
     heroPinWrap is the GSAP ScrollTrigger pin target: a fixed 100vh
     stage holding the Hero (fades/scales out) and the mosaic reveal
     (flies in from depth) as two absolutely-positioned layers. */
  .hero-pin-wrap {
    position: relative;
    height: 100vh;
    overflow: hidden;
    perspective: 1200px;
  }
  .hero-pin-wrap .hero { position: absolute; inset: 0; }
  .mosaic-wrap {
    position: absolute;
    inset: 0;
    z-index: 5;
    overflow: hidden;
    perspective: 1200px;
    transform-style: preserve-3d;
  }
  /* No pin/fly-in for reduced motion — Hero and the mosaic go back to
     plain, sequential document flow instead of overlaid layers, and the
     floating tiles fall back to a simple wrapped row so nothing overlaps. */
  @media (prefers-reduced-motion: reduce) {
    .hero-pin-wrap { height: auto; overflow: visible; }
    .hero-pin-wrap .hero { position: relative; }
    .mosaic-wrap { position: relative; height: auto; min-height: 100vh; display: flex; flex-wrap: wrap; gap: 6px; padding: 24px; }
    .mosaic-tile { position: relative !important; top: auto !important; left: auto !important; width: clamp(140px, 18vw, 220px) !important; height: 220px !important; }
  }
  .mosaic-tile {
    position: absolute;
    overflow: hidden;
    border-radius: 6px;
    background-size: cover;
    /* LED mirror photos are portrait with the mirror in the upper half */
    background-position: center 28%;
    will-change: transform, opacity;
  }
  .mosaic-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(4, 5, 7, 0.6);
  }
  .mosaic-copy {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    pointer-events: none;
  }
  .mosaic-copy > div { max-width: 620px; padding: 0 24px; }
  .mosaic-copy .eyebrow { color: var(--hero-gold); }
  .mosaic-copy h2 {
    margin-top: 16px;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: none;
    font-size: clamp(1.4rem, 2.9vw, 2.1rem);
    line-height: 1.35;
    color: #f4f2ec;
  }
  .intro-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    margin-top: 48px;
  }
  .intro-stat b { display: block; font-family: var(--font-display); font-size: 2.4rem; color: #f4f2ec; line-height: 1; }
  .intro-stat span { display: block; margin-top: 8px; font-size: 0.88rem; color: rgba(244,242,236,0.6); }

  .section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 44px;
    flex-wrap: wrap;
  }
  .section-head h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.5rem);
    text-transform: uppercase;
    margin-top: 10px;
    max-width: 16ch;
  }
  .section-head .lede { max-width: 40ch; color: var(--ink-muted); }

  /* ---------- Products ---------- */
  .products-intro {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr) auto;
    gap: clamp(28px, 5vw, 56px);
    align-items: end;
    margin-bottom: 40px;
  }
  .products-intro p { color: var(--ink-muted); max-width: 58ch; }
  .products-intro .btn-outline { margin-top: 18px; }

  .carousel-controls { display: flex; gap: 10px; }
  .car-btn {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  }
  .car-btn svg { width: 18px; height: 18px; }
  .car-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

  .product-grid {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-padding-left: 4px;
    padding-bottom: 6px;
    perspective: 1200px;
    transform-style: preserve-3d;
    scrollbar-width: none;
  }
  .product-grid::-webkit-scrollbar { display: none; }
  .product-card {
    position: relative;
    display: block;
    flex: 0 0 clamp(220px, 23vw, 280px);
    scroll-snap-align: start;
    text-decoration: none;
    color: inherit;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    isolation: isolate;
    transform-style: preserve-3d;
    will-change: transform;
    --tilt-x: 0deg;
    --tilt-y: 0deg;
    --scroll-rx: 0deg;
    --scroll-rz: 0deg;
    --scroll-z: 0px;
    --mx: 50%;
    --my: 50%;
    transform: translateZ(var(--scroll-z)) rotateX(var(--scroll-rx)) rotateZ(var(--scroll-rz));
    transition: transform 0.4s var(--ease), box-shadow 0.4s ease;
  }
  .product-card:hover {
    transform: translateY(-26px) translateZ(var(--scroll-z)) rotateX(calc(var(--scroll-rx) + var(--tilt-x))) rotateY(var(--tilt-y)) rotateZ(var(--scroll-rz));
    box-shadow: 0 40px 60px -24px rgba(10, 16, 24, 0.45);
  }
  .product-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mx) var(--my), rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.12) 22%, transparent 55%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: 2;
  }
  .product-card:hover::after { opacity: 1; }
  .product-card .art {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    --art-y: 0px;
    --art-scale: 1.08;
    transform: translateY(var(--art-y)) scale(var(--art-scale));
    transition: transform 0.7s var(--ease);
    will-change: transform;
  }
  .product-card .art::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(4,5,7,0.9) 0%, rgba(4,5,7,0.15) 55%, rgba(4,5,7,0.35) 100%);
  }
  .product-card:hover .art { --art-scale: 1.15; }
  .card-index {
    position: absolute;
    top: 16px; left: 16px;
    z-index: 3;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    color: rgba(245,247,245,0.85);
    border: 1px solid rgba(245,247,245,0.35);
    border-radius: 50%;
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(6,8,10,0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
  .product-card .label {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 18px 16px;
    background: linear-gradient(0deg, rgba(6,10,10,0.92) 0%, rgba(6,10,10,0.0) 100%);
    color: #f2f5f4;
    z-index: 3;
  }
  .product-card .label-name {
    display: block;
    font-family: var(--font-nav);
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }
  .product-card .label-blurb {
    display: block;
    margin-top: 6px;
    font-size: 0.8rem;
    color: rgba(242, 245, 244, 0.75);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.3s ease;
  }
  .product-card:hover .label-blurb,
  .product-card:focus-visible .label-blurb {
    max-height: 3.5em;
    opacity: 1;
  }

  /* ---------- Proceso ---------- */
  .process { background: var(--surface); }
  .process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
  }
  .process-step {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 26px 22px;
  }
  .process-step .num {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--accent);
  }
  .process-step h3 {
    margin-top: 14px;
    font-size: 1.08rem;
    text-transform: uppercase;
  }
  .process-step p { margin-top: 10px; color: var(--ink-muted); font-size: 0.92rem; }

  /* ---------- Nosotros ---------- */
  .about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 6vw, 72px);
    align-items: start;
  }
  .about-grid p + p { margin-top: 16px; }
  .about-grid .lede-body { color: var(--ink-muted); max-width: 56ch; }
  .about-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
  .about-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.96rem; }
  .about-list svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--accent); }

  .about-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 30px;
    background: var(--surface);
  }
  .about-card .stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .about-card .stat b {
    display: block;
    font-family: var(--font-display);
    font-size: 2.1rem;
    color: var(--accent-strong);
  }
  .about-card .stat span { font-size: 0.82rem; color: var(--ink-muted); }
  .about-card hr { border: none; border-top: 1px solid var(--line); margin: 26px 0; }

  /* ---------- Proyectos: pinned horizontal showcase ---------- */
  .projects-showcase {
    position: relative;
    height: 100vh;
    overflow: hidden;
    color: var(--ink);
    display: flex;
    align-items: center;
  }
  /* The wireframe sits behind the copy, off-set past the left edge so it
     reads as an ambient object rather than a panel competing with the
     text for space — .text-content stays a full ten steps above it. */
  .projects-3d {
    position: absolute;
    left: -10%;
    top: 50%;
    width: 46%;
    height: 70%;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
  }
  .projects-3d canvas { width: 100%; height: 100%; display: block; }

  .projects-head {
    position: relative;
    z-index: 10;
    flex: 0 0 42%;
    width: 42%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    pointer-events: none;
  }
  .projects-head .eyebrow { color: var(--hero-gold); margin-top: 22px; }
  .projects-head .lede {
    margin-top: 16px;
    max-width: 34ch;
    color: var(--ink-muted);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 12px 16px;
  }
  .projects-title {
    overflow: hidden;
    margin-top: 2px;
    font-family: 'Cormorant Garamond', 'Archivo Expanded', serif;
    font-weight: 300;
    font-size: clamp(2.4rem, 4.6vw, 4rem);
    letter-spacing: 0.01em;
    text-transform: none;
    max-width: 16ch;
  }
  .projects-title em { font-style: italic; font-weight: 500; }
  .projects-title > span {
    display: block;
    transform: translateY(105%);
    opacity: 0;
  }
  .projects-tags {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .projects-tags li {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(245, 247, 245, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 7px 14px;
    opacity: 0;
    transform: translateY(10px);
  }
  @media (prefers-reduced-motion: reduce) {
    .projects-title > span, .projects-tags li { opacity: 1; transform: none; }
    /* No pin/horizontal-drive JS runs — fall back to a plain, directly
       scrollable strip so every card stays reachable. */
    .projects-showcase { height: auto; display: block; padding: clamp(64px, 9vw, 108px) 0; }
    .projects-3d { display: none; }
    .projects-head { position: relative; width: 100%; height: auto; margin-bottom: 36px; }
    .projects-track-wrap { margin-left: 0; overflow-x: auto; }
  }

  .projects-track-wrap {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    overflow: hidden;
  }
  .projects-track {
    display: flex;
    gap: 20px;
    will-change: transform;
  }
  .projects-track::after {
    content: "";
    flex: 0 0 clamp(20px, 4vw, 60px);
  }

  .project-card {
    position: relative;
    display: block;
    flex: 0 0 clamp(260px, 30vw, 380px);
    text-decoration: none;
    color: inherit;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    isolation: isolate;
    border: 1px solid rgba(255,255,255,0.08);
    transform-style: preserve-3d;
    will-change: transform;
    --tilt-x: 0deg;
    --tilt-y: 0deg;
    --mx: 50%;
    --my: 50%;
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
    transition: transform 0.4s var(--ease), box-shadow 0.4s ease;
  }
  .project-card:hover,
  .project-card:focus-visible {
    transform: translateY(-14px) translateZ(30px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
    box-shadow: 0 44px 70px -24px rgba(0, 0, 0, 0.85);
  }
  .project-card .glare {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mx) var(--my), rgba(255,255,255,0.35) 0%, rgba(255,255,255,0.1) 22%, transparent 55%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: 2;
  }
  .project-card:hover .glare { opacity: 1; }
  .project-card .art {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    --art-y: 0px;
    --art-scale: 1.08;
    transform: translateY(var(--art-y)) scale(var(--art-scale));
    transition: transform 0.7s var(--ease);
    will-change: transform;
  }
  .project-card:hover .art { --art-scale: 1.15; }
  .project-card .art::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(3,4,5,0.92) 0%, rgba(3,4,5,0.08) 55%, rgba(3,4,5,0.3) 100%);
  }
  .project-card .art::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.2) 45%, transparent 60%);
    transform: translateX(-120%);
    transition: transform 0.7s ease;
    pointer-events: none;
  }
  .project-card:hover .art::after { transform: translateX(120%); }
  .city-tag {
    position: absolute;
    top: 16px; left: 16px;
    z-index: 3;
    display: flex; align-items: center; gap: 5px;
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(245,247,245,0.9);
    background: rgba(6,8,10,0.4);
    border: 1px solid rgba(245,247,245,0.25);
    border-radius: 20px;
    padding: 5px 10px 5px 8px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
  .city-tag svg { width: 12px; height: 12px; flex: none; }
  .project-card .meta {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 18px 20px;
    z-index: 2;
  }
  .project-card .cat {
    font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--hero-gold);
  }
  .project-card h3 { margin-top: 4px; font-size: 1.14rem; color: #f4f2ec; }

  /* ---------- Impacto ---------- */
  .impact {
    position: relative;
    overflow: hidden;
    padding: clamp(90px, 14vw, 160px) 0;
  }
  .impact-bg { position: absolute; inset: 0; opacity: 0.55; }
  .impact-bg .pane {
    position: absolute;
    border: 1px solid rgba(245,247,245,0.12);
    background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.01));
  }
  .impact-bg .p1 { top: -10%; right: 8%; width: 34%; height: 90%; transform: skewX(-8deg); }
  .impact-bg .p2 { bottom: -20%; left: 4%; width: 26%; height: 70%; transform: skewX(-8deg); }
  .impact-wrap { position: relative; z-index: 1; }
  .impact-quote {
    max-width: 16ch;
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 4.6vw, 3.3rem);
    line-height: 1.15;
    font-weight: 700;
    text-transform: uppercase;
    color: #f4f2ec;
  }

  /* ---------- Cobertura ---------- */
  .coverage-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
    gap: clamp(32px, 6vw, 72px);
    align-items: center;
  }
  .coverage-copy h2 { margin-top: 12px; font-size: clamp(1.6rem, 3vw, 2.2rem); max-width: 18ch; }
  .coverage-copy .lede { margin-top: 18px; max-width: 48ch; color: var(--ink-muted); }
  .coverage-list {
    list-style: none;
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 20px;
  }
  .coverage-list li {
    font-family: var(--font-mono);
    font-size: 0.86rem;
    letter-spacing: 0.03em;
    color: var(--ink);
    padding-left: 16px;
    position: relative;
  }
  .coverage-list li::before {
    content: "";
    position: absolute; left: 0; top: 0.55em;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent);
  }

  .coverage-map { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 460px; margin: 0 auto; }
  .co-shape { position: absolute; inset: 0; width: 100%; height: 100%; }
  .co-shape path { fill: rgba(255,255,255,0.045); stroke: rgba(255,255,255,0.22); stroke-width: 1; }
  .co-pin { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 6px; }
  .co-dot {
    width: 9px; height: 9px; border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent);
    flex: none;
  }
  .co-name {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    color: var(--ink);
    background: rgba(14, 16, 21, 0.9);
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 2px 7px;
    white-space: nowrap;
  }

  /* ---------- Contacto ---------- */
  .contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(28px, 5vw, 64px);
  }
  .contact-cards { display: grid; gap: 16px; }
  .contact-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 20px 22px;
    background: var(--surface);
    display: flex;
    gap: 16px;
    align-items: flex-start;
  }
  .contact-card svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 2px; }
  .contact-card h3 { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); }
  .contact-card p, .contact-card a { margin-top: 4px; font-size: 0.98rem; text-decoration: none; }
  .contact-card a:hover { color: var(--accent-strong); }

  .contact-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--hero-bg-1);
    color: var(--hero-ink);
    padding: clamp(28px, 4vw, 40px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
  }
  .contact-panel h2 { text-transform: uppercase; font-size: 1.7rem; }
  .contact-panel p { color: var(--hero-ink-muted); max-width: 46ch; }
  .contact-panel .btn-solid { align-self: flex-start; }

  .contact-form { display: flex; flex-direction: column; gap: 12px; }
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    background: rgba(245, 247, 245, 0.06);
    border: 1px solid var(--hero-line);
    border-radius: 6px;
    color: var(--hero-ink);
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 12px 14px;
  }
  .contact-form input::placeholder,
  .contact-form textarea::placeholder { color: var(--hero-ink-muted); }
  .contact-form input:focus,
  .contact-form textarea:focus { outline: 2px solid var(--hero-gold); outline-offset: 1px; }
  .contact-form textarea { resize: vertical; min-height: 96px; }
  .contact-form button { align-self: flex-start; cursor: pointer; border: none; font: inherit; }
  .form-note { font-size: 0.88rem; border-radius: 6px; padding: 10px 14px; }
  .form-note.success { background: rgba(37, 211, 102, 0.12); color: #7fe3a3; }
  .form-note.error { background: rgba(220, 80, 80, 0.14); color: #f2a3a3; }

  /* ---------- CTA final ---------- */
  .cta-final {
    position: relative;
    overflow: hidden;
    color: var(--hero-ink);
    padding: clamp(80px, 12vw, 130px) 0;
    text-align: center;
  }
  .cta-final-inner { position: relative; z-index: 1; max-width: 620px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
  .cta-final h2 { margin-top: 14px; font-size: clamp(2rem, 4.4vw, 3.1rem); text-transform: uppercase; }
  .cta-final-lede { margin-top: 20px; color: var(--hero-ink-muted); max-width: 46ch; }
  .cta-final .btn-solid { margin-top: 38px; }
  .cta-final-meta {
    margin-top: 26px;
    display: flex; align-items: center; gap: 10px;
    font-size: 0.9rem; color: var(--hero-ink-muted);
  }
  .cta-final-meta a { text-decoration: none; }
  .cta-final-meta a:hover { color: var(--hero-ink); }

  /* ---------- WhatsApp float ---------- */
  .wa-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--whatsapp);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px -8px rgba(0,0,0,0.5);
    z-index: 60;
    text-decoration: none;
  }
  .wa-float svg { width: 28px; height: 28px; fill: #fff; }
  .wa-float:hover { filter: brightness(1.06); }
  .wa-float:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

  /* ---------- Footer ---------- */
  footer {
    color: var(--hero-ink-muted);
    padding: clamp(56px, 8vw, 84px) 0 0;
    border-top: 1px solid var(--hero-line);
  }
  .footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.9fr);
    gap: clamp(32px, 6vw, 72px);
    padding-bottom: 48px;
  }
  .footer-brand .wordmark { display: inline-flex; }
  .footer-tag { margin-top: 18px; max-width: 34ch; font-size: 0.92rem; color: var(--hero-ink-muted); }
  .footer-social { display: flex; gap: 12px; margin-top: 22px; }
  .footer-social a {
    width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid var(--hero-line);
    display: flex; align-items: center; justify-content: center;
    color: var(--hero-ink-muted);
    transition: color 0.2s ease, border-color 0.2s ease;
  }
  .footer-social a:hover { color: var(--hero-ink); border-color: var(--hero-ink-muted); }
  .footer-social svg { width: 17px; height: 17px; }

  .footer-col h3 {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hero-ink-muted);
    font-weight: 500;
  }
  .footer-col ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
  .footer-col li { font-size: 0.92rem; }
  .footer-col a { text-decoration: none; color: var(--hero-ink-muted); }
  .footer-col a:hover { color: var(--hero-ink); }

  .footer-bottom {
    border-top: 1px solid var(--hero-line);
    padding: 22px 0;
    font-size: 0.78rem;
    color: var(--hero-ink-muted);
  }

  /* ---------- Scroll reveal (progressive enhancement) ----------
     Only the hidden (:not(.in-view)) state sets `transform`, so once an
     item has revealed, hover/other effects that also animate `transform`
     (e.g. card lift) aren't fighting a same-specificity `transform: none`. */
  .reveal-item {
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  }
  .js-reveal .reveal-item:not(.in-view) {
    opacity: 0;
    transform: translateY(38px);
  }
  @media (prefers-reduced-motion: reduce) {
    .js-reveal .reveal-item:not(.in-view) { opacity: 1; transform: none; transition: none; }
  }

  /* Title reveal — a masked line rises into place, independent of the
     generic fade-up used for cards/sections above. */
  .title-reveal { overflow: hidden; }
  .title-reveal > span {
    display: block;
    transition: transform 0.9s var(--ease);
  }
  .js-reveal .title-reveal:not(.in-view) > span { transform: translateY(105%); }
  @media (prefers-reduced-motion: reduce) {
    .js-reveal .title-reveal:not(.in-view) > span { transform: none; transition: none; }
  }

  /* ---------- Responsive ---------- */
  @media (max-width: 980px) {
    nav.primary ul { display: none; }
    .header-actions .btn-solid { display: none; }
    .wordmark .logo-mark { height: 46px; }
    .wordmark .w1 { font-size: 1.28rem; }
    .wordmark .w2 { font-size: 0.58rem; letter-spacing: 0.26em; }
    .menu-toggle {
      display: flex; align-items: center; justify-content: center;
      width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.28); border-radius: 4px;
      background: rgba(10,13,19,0.3); color: #f3f4f2; cursor: pointer;
    }
    .features ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .products-intro { grid-template-columns: 1fr; }
    .intro-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .coverage-grid { grid-template-columns: 1fr; }
    .coverage-map { margin-top: 12px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }

    /* Below desktop the pinned overlay layout doesn't have room to
       breathe — stack the intro above a plain, touch-scrollable track. */
    .projects-showcase { height: auto; display: block; padding: clamp(64px, 9vw, 108px) 0; }
    .projects-3d { display: none; }
    .projects-head { position: relative; width: 100%; height: auto; margin-bottom: 36px; }
    .projects-track-wrap { margin-left: 0; overflow-x: auto; }
    .projects-track { transform: none !important; }
    .projects-title > span, .projects-tags li { opacity: 1; transform: none; }
  }
  @media (max-width: 620px) {
    .features ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-card { flex-basis: 72vw; }
    .process-grid { grid-template-columns: 1fr; }
    .intro-stats { grid-template-columns: 1fr; }
    .coverage-list { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
  }

  /* ---------- Collection page (/productos/:slug) ---------- */
  .sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }

  .col-hero { padding-top: 108px; }
  .col-hero-panel {
    background: linear-gradient(120deg, var(--surface-2), var(--surface));
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: clamp(24px, 4vw, 44px);
  }
  .crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.78rem; color: var(--ink-muted); }
  .crumbs a { text-decoration: none; }
  .crumbs a:hover { color: var(--ink); }
  .col-hero h1 { margin-top: 16px; font-size: clamp(1.8rem, 4vw, 2.8rem); text-transform: uppercase; }
  .col-intro { margin-top: 12px; max-width: 60ch; color: var(--ink-muted); }

  .col-body { padding: 28px 0 clamp(56px, 8vw, 96px); }
  .col-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
  }
  .col-count { font-size: 0.85rem; color: var(--ink-muted); }
  .col-controls { display: flex; flex-wrap: wrap; gap: 8px; }

  .cf-drop { position: relative; }
  .cf-drop summary,
  .cf-sort select {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 14px;
    font: 600 0.8rem/1 var(--font-nav);
    color: var(--ink);
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 6px;
    cursor: pointer;
    list-style: none;
  }
  .cf-drop summary::-webkit-details-marker { display: none; }
  .cf-drop summary svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
  .cf-drop[open] summary { border-color: var(--accent); }
  .cf-drop[open] summary svg { transform: rotate(180deg); }
  .cf-drop summary:focus-visible, .cf-sort select:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 2px; }
  .cf-n {
    display: inline-grid; place-items: center;
    min-width: 18px; height: 18px; padding: 0 5px;
    border-radius: 999px; background: var(--accent-strong); color: var(--bg);
    font-size: 0.7rem;
  }
  .cf-n[hidden] { display: none; }
  .cf-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 20;
    min-width: 230px;
    padding: 8px;
    display: grid;
    gap: 2px;
    background: rgba(13, 16, 23, 0.98);
    border: 1px solid var(--line);
    border-radius: 6px;
    box-shadow: 0 16px 32px -14px rgba(0,0,0,0.7);
  }
  .cf-opt {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 10px; border-radius: 4px;
    font-size: 0.85rem; cursor: pointer;
  }
  .cf-opt:hover { background: rgba(255,255,255,0.06); }
  .cf-opt input { accent-color: var(--accent); width: 16px; height: 16px; }
  .cf-sort select { appearance: none; padding-right: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c3c8d1' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 10px center; background-size: 14px; }

  .cf-active { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 16px; }
  .cf-active[hidden] { display: none; }
  .cf-chip, .cf-clear {
    font: 600 0.78rem/1 var(--font-nav);
    padding: 8px 12px;
    border-radius: 999px;
    cursor: pointer;
  }
  .cf-chip { color: var(--ink); background: var(--glass-bg); border: 1px solid var(--glass-border); }
  .cf-chip:hover { border-color: var(--accent); }
  .cf-clear { color: var(--ink-muted); background: none; border: 0; text-decoration: underline; }

  .col-grid {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px clamp(14px, 1.6vw, 22px);
  }
  .pcard[hidden] { display: none; }
  .pcard { display: flex; flex-direction: column; }
  .pcard-media {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 4px;
    background: var(--surface);
  }
  .pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
  .pcard:hover .pcard-media img { transform: scale(1.04); }
  .pcard-badge {
    position: absolute; top: 10px; left: 10px;
    font: 600 0.68rem/1 var(--font-nav);
    letter-spacing: 0.08em; text-transform: uppercase;
    padding: 6px 9px; border-radius: 3px;
    background: rgba(10, 12, 16, 0.72);
    backdrop-filter: blur(6px);
  }
  .pcard-body { display: flex; flex-direction: column; flex: 1; padding-top: 14px; }
  .pcard-title { font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; line-height: 1.35; }
  .pcard-spec { margin-top: 4px; font-size: 0.8rem; color: var(--ink-muted); }
  .pcard-tags { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
  .pcard-tags li { font-size: 0.7rem; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-muted); }
  .pcard-price { margin: 12px 0 14px; font-weight: 700; color: var(--accent); }
  .pcard-btn {
    margin-top: auto;
    display: block;
    text-align: center;
    padding: 11px 16px;
    font: 700 0.74rem/1 var(--font-nav);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ink);
    background: transparent;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 999px;
    cursor: pointer;
    transition: background .3s var(--ease), color .3s var(--ease);
  }
  .pcard-btn:hover { background: var(--accent-strong); color: var(--bg); }
  .pcard-btn:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 2px; }

  .col-empty { text-align: center; padding: 64px 0; color: var(--ink-muted); }
  .col-empty[hidden] { display: none; }
  .col-empty .pcard-btn { display: inline-block; margin-top: 16px; }

  .col-custom { border-top: 1px solid var(--line); padding: clamp(48px, 7vw, 80px) 0; }
  .col-custom-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
  .col-custom h2 { margin-top: 10px; font-size: clamp(1.4rem, 2.6vw, 2rem); text-transform: uppercase; max-width: 22ch; }

  @media (max-width: 980px) {
    .col-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  }
  @media (max-width: 760px) {
    .col-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .col-controls { width: 100%; }
    .cf-drop:nth-last-of-type(-n+2) .cf-panel { left: auto; right: 0; }
  }

  /* ---------- Home store blocks (partials/tienda.ejs) ---------- */
  .shop-featured, .shop-cats { padding: clamp(56px, 8vw, 96px) 0 0; }
  .shop-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
  .shop-head h2, .shop-title-center {
    margin-top: 8px;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    text-transform: uppercase;
  }
  .shop-title-center { text-align: center; margin: 0 0 clamp(24px, 4vw, 40px); }

  .shop-arrows { display: flex; gap: 8px; }
  .shop-arrow {
    width: 44px; height: 44px; display: grid; place-items: center;
    color: var(--ink); background: var(--glass-bg);
    border: 1px solid var(--glass-border); border-radius: 50%;
    cursor: pointer; transition: background .3s var(--ease), opacity .3s;
  }
  .shop-arrow svg { width: 18px; height: 18px; }
  .shop-arrow:hover:not(:disabled) { background: rgba(255,255,255,0.14); }
  .shop-arrow:disabled { opacity: .3; cursor: default; }

  .shop-rail {
    list-style: none; margin: 28px 0 0; padding: 0 0 8px;
    display: grid; grid-auto-flow: column;
    grid-auto-columns: calc((100% - 3 * 20px) / 4);
    gap: 20px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .shop-rail::-webkit-scrollbar { display: none; }
  .shop-rail > li { scroll-snap-align: start; }
  .shop-rail .pcard-media { display: block; }

  .shop-cat-grid {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 24px);
  }
  .shop-cat {
    position: relative; display: block; overflow: hidden;
    aspect-ratio: 4 / 5; border-radius: 4px;
    color: #fff; text-decoration: none; background: var(--surface);
  }
  .shop-cat img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
  .shop-cat:hover img { transform: scale(1.04); }
  .shop-cat::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent 45%);
  }
  .shop-cat-label {
    position: absolute; left: 0; right: 0; bottom: clamp(20px, 3vw, 36px); z-index: 1;
    display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  }
  .shop-cat-name { font: 700 clamp(1.3rem, 2.4vw, 2rem)/1.1 var(--font-display); text-transform: uppercase; }
  .shop-cat-link { font-size: 0.85rem; text-decoration: underline; text-underline-offset: 4px; opacity: .9; }

  .shop-trust { margin-block: clamp(56px, 8vw, 96px); border-block: 1px solid var(--line); background: rgba(13, 15, 21, 0.62); backdrop-filter: blur(10px); }
  .shop-trust-list {
    list-style: none; margin: 0 auto; padding-block: 28px;
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px;
  }
  .shop-trust-list li { display: flex; align-items: center; gap: 14px; }
  .shop-trust-list svg { width: 34px; height: 34px; flex: none; color: var(--accent); }
  .shop-trust-list span { display: flex; flex-direction: column; font-size: 0.8rem; color: var(--ink-muted); }
  .shop-trust-list b { font-size: 0.92rem; color: var(--ink); }

  @media (max-width: 980px) {
    .shop-rail { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
    .shop-trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .shop-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (max-width: 620px) {
    .shop-rail { grid-auto-columns: 72%; gap: 14px; }
    .shop-arrows { display: none; }
    .shop-cat-grid { grid-template-columns: 1fr; }
    .shop-cat { aspect-ratio: 4 / 5; }
  }

  /* ---------- Glass sample (products without a photo) ----------
     A tinted pane in 3D perspective over a studio backdrop; --tint is the
     glass color. Laminated products get a second pane behind (layers). */
  .glass-swatch {
    position: absolute; inset: 0;
    display: grid; place-items: center;
    perspective: 900px;
    background:
      radial-gradient(ellipse at 50% 85%, rgba(0,0,0,0.55), transparent 60%),
      linear-gradient(160deg, #3a3e45, #1b1d22 70%);
  }
  .gs-pane {
    grid-area: 1 / 1;
    width: 58%; aspect-ratio: 3 / 4;
    border-radius: 3px;
    transform: rotateY(-28deg) rotateX(8deg) translateZ(0);
    background:
      linear-gradient(115deg, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.06) 32%, transparent 50%, rgba(255,255,255,0.12) 78%),
      color-mix(in srgb, var(--tint) 55%, transparent);
    border: 1px solid color-mix(in srgb, var(--tint) 70%, white 30%);
    box-shadow:
      inset 0 0 0 1px rgba(255,255,255,0.18),
      10px 0 0 -4px color-mix(in srgb, var(--tint) 85%, black 15%),
      30px 40px 50px -20px rgba(0,0,0,0.6);
    backdrop-filter: blur(1px);
    transition: transform .9s var(--ease);
  }
  .gs-back { transform: rotateY(-28deg) rotateX(8deg) translate3d(26px, -18px, -60px); opacity: .75; }
  .glass-swatch.is-frosted .gs-pane {
    background:
      linear-gradient(115deg, rgba(255,255,255,0.35), rgba(255,255,255,0.08) 45%, transparent),
      color-mix(in srgb, var(--tint) 82%, transparent);
  }
  /* Reflective glass: opaque mirror in its tint, with a horizon reflection band. */
  .glass-swatch.is-mirror .gs-pane {
    background:
      linear-gradient(115deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.08) 30%, transparent 48%, rgba(255,255,255,0.25) 80%),
      linear-gradient(180deg,
        color-mix(in srgb, var(--tint) 35%, white 65%) 0%,
        var(--tint) 42%,
        color-mix(in srgb, var(--tint) 50%, black 50%) 58%,
        color-mix(in srgb, var(--tint) 80%, white 20%) 100%);
    border-color: color-mix(in srgb, var(--tint) 30%, white 70%);
  }
  .pcard:hover .gs-pane:not(.gs-back) { transform: rotateY(-16deg) rotateX(5deg) translateZ(20px); }


  /* ---------- Glass-particle world (js/world-3d.js) ----------
     A fixed canvas behind the whole home page (main/footer sit above it at
     z-index 1). The hero only holds the copy around the globe. */
  .world-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
  .world-bg canvas { width: 100%; height: 100%; display: block; }
  .world-bg::before {                       /* soft glow behind the globe */
    content: ""; position: absolute; left: 50%; top: 50%;
    width: 70vmin; height: 70vmin; transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(140, 170, 210, 0.10), transparent 65%);
  }

  .hw { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 110px 0 70px; }
  .hw-inner { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 32px; }
  .hw-copy { max-width: 420px; }
  .hw-pill {
    display: inline-flex; padding: 7px 12px; border-radius: 999px;
    font: 600 0.7rem/1 var(--font-nav); letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--ink); background: var(--glass-bg); border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
  }
  .hw h1, .hw h2 {
    margin-top: 18px;
    font: 700 clamp(2.3rem, 4.6vw, 3.9rem)/1.02 var(--font-display);
    text-transform: uppercase;
    text-shadow: 0 4px 30px rgba(0,0,0,0.6);
  }
  .hw h1 span, .hw h2 span { color: var(--accent); font-style: italic; }
  .hw-sub { margin-top: 18px; color: var(--ink-muted); max-width: 38ch; }
  .hw-ctas { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }

  .hw-stats { list-style: none; margin: 0; padding: 0; min-width: 300px; }
  .hw-stats li {
    display: grid; grid-template-columns: 112px 1fr; align-items: baseline; gap: 14px;
    padding: 14px 0; border-bottom: 1px solid var(--line);
  }
  .hw-stats b { font: 700 1.45rem/1 var(--font-display); color: #fff; }
  .hw-stats span { font-size: 0.9rem; color: var(--accent); }

  .hw-cue {
    position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: rgba(255,255,255,0.6); text-decoration: none;
    font: 600 0.62rem/1 var(--font-nav); letter-spacing: 0.3em; text-transform: uppercase;
  }
  .hw-cue .line { width: 1px; height: 34px; background: linear-gradient(rgba(255,255,255,0.8), transparent); }

  /* the globe is the map now — keep the column, hide the flat map */
  .coverage-map { visibility: hidden; }

  @media (max-width: 980px) {
    .hw-inner { flex-direction: column; align-items: flex-start; }
    .hw-stats { width: 100%; min-width: 0; margin-top: 40vh; }
  }
  @media (max-width: 760px) {
    .coverage-map { display: none; }
  }

  /* ---------- Floating pill header ----------
     No bar: logo on the left, the menu in a floating glass capsule and the
     quote button on the right. A soft fade behind keeps them readable over
     the content scrolling underneath. */
  header, header.scrolled {
    background: transparent;
    backdrop-filter: none; -webkit-backdrop-filter: none;
    border-bottom-color: transparent; box-shadow: none;
  }
  header::before {
    content: ""; position: absolute; inset: 0 0 -36px; z-index: -1; pointer-events: none;
    background: linear-gradient(rgba(10, 12, 16, 0.97) 55%, rgba(10, 12, 16, 0));
    opacity: 0; transition: opacity .4s var(--ease);
  }
  header.scrolled::before { opacity: 1; }
  .nav-row { height: 80px; }

  nav.primary, header:not(.scrolled) nav.primary { opacity: 1; }
  nav.primary ul {
    gap: 4px;
    padding: 6px;
    background: rgba(22, 24, 30, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }
  nav.primary ul a {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 16px;
    font-size: 0.86rem; font-weight: 500;
    letter-spacing: 0.01em; text-transform: none;
    color: rgba(238, 240, 243, 0.82);
    border: 0; border-radius: 9px;
    transition: background .2s ease, color .2s ease;
  }
  nav.primary ul a:hover, nav.primary ul a:focus-visible { color: #fff; background: rgba(255, 255, 255, 0.07); }
  .nav-caret { width: 13px; height: 13px; opacity: .7; transition: transform .2s ease; }
  .has-drop:hover .nav-caret, .has-drop:focus-within .nav-caret { transform: rotate(180deg); }
  .dropdown { top: calc(100% + 12px); border-radius: 12px; background: rgba(22, 24, 30, 0.97); backdrop-filter: blur(14px); }
  .dropdown a { display: block; padding: 9px 12px; border-radius: 8px; }

  .header-actions .btn { border-radius: 12px; }

  /* ---------- 3D logo intro (js/logo-3d.js) ----------
     A tall section with a sticky full-screen stage: the Coim mark turns as
     you scroll, chapters fade in beside it, then the camera flies through
     the compass and the stage fades into the page. */
  .li { position: relative; height: 520vh; z-index: 2; }
  .li-stage {
    position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
    background: radial-gradient(60% 55% at 50% 48%, #1a1d24 0%, #0d0f14 55%, var(--bg) 100%);
  }
  .li-stage::after {                        /* film grain, like the reference */
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.07; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }
  .li-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 0.8s ease; }
  .li-ready .li-canvas { opacity: 1; }
  .li-no3d .li-canvas { display: none; }
  .li-no3d .li-stage { background: var(--bg) url(/images/logo-mark.png) center 45% / auto 62vh no-repeat; }

  .li-hero { position: absolute; inset: 0; pointer-events: none; }
  .li-hero a { pointer-events: auto; }
  .li-h { margin: 0; font: 300 clamp(2.6rem, 6.2vw, 5.6rem)/1 var(--font-display); letter-spacing: -0.035em; color: var(--ink); }
  .li-h span { position: absolute; }
  .li-h-l { left: clamp(16px, 3vw, 48px); top: 27%; }
  .li-h-r { right: clamp(16px, 3vw, 48px); top: 54%; }
  .li-sub { position: absolute; left: clamp(16px, 3vw, 48px); bottom: 40px; max-width: 30ch; }
  .li-sub p { margin: 0; font-size: 1.02rem; line-height: 1.45; color: var(--ink); }
  .li-sub small { display: block; margin-top: 12px; font-size: 0.8rem; color: var(--ink-muted); }
  .li-cta {
    position: absolute; right: 104px; bottom: 40px;
    display: inline-flex; gap: 10px; align-items: center; padding: 15px 22px; border-radius: 999px;
    background: var(--ink); color: #0b0d11; text-decoration: none; font: 600 0.9rem/1 var(--font-nav);
    transition: transform 0.25s ease;
  }
  .li-cta:hover { transform: translateY(-2px); }

  .li-ch {
    position: absolute; left: clamp(16px, 3vw, 48px); top: 50%; margin-top: -90px;
    max-width: min(620px, 46vw); visibility: hidden; opacity: 0; pointer-events: none;
  }
  .li-k { margin: 0 0 18px; font: 500 0.82rem/1 var(--font-nav); color: var(--ink-muted); }
  .li-ch h2 { margin: 0; font: 300 clamp(2rem, 4.4vw, 4rem)/1.04 var(--font-display); letter-spacing: -0.03em; color: var(--ink); text-shadow: 0 2px 30px rgba(0,0,0,0.5); }

  .li-deg {
    position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none;
  }
  .li-deg b { font: 300 clamp(2.8rem, 5vw, 4.4rem)/1 var(--font-display); letter-spacing: -0.03em; color: #e2553a; font-variant-numeric: tabular-nums; }
  .li-deg span { font: 500 0.78rem/1 var(--font-nav); color: var(--ink-muted); }

  @media (max-width: 760px) {
    .li { height: 440vh; }
    .li-h-l { top: 16%; }
    .li-h-r { top: auto; bottom: 37%; }
    .li-sub { bottom: 120px; right: 16px; max-width: none; }
    .li-sub p { font-size: 0.92rem; }
    .li-cta { left: 16px; right: auto; bottom: 46px; }
    .li-deg { left: auto; right: 16px; transform: none; align-items: flex-end; bottom: 40px; }
    .li-deg span { display: none; }
    .li-ch { top: auto; bottom: 120px; margin-top: 0; max-width: none; right: 16px; }
  }

  /* Header: just the Coim mark, no text. Tall enough to read the anchor,
     wing and compass, with a faint silver glow so it stands off the dark. */
  header .wordmark .logo-mark {
    height: 76px; border-radius: 0; box-shadow: none;
    filter: drop-shadow(0 0 10px rgba(200, 215, 240, 0.28)) brightness(1.12);
    transition: transform 0.3s ease, filter 0.3s ease;
  }
  header .wordmark:hover .logo-mark {
    transform: scale(1.06);
    filter: drop-shadow(0 0 14px rgba(215, 230, 255, 0.5)) brightness(1.2);
  }
  @media (max-width: 760px) { header .wordmark .logo-mark { height: 52px; } }

  /* Home intro on screen (body.li-active, js/logo-3d.js): the 3D mark is
     the logo, so the header logo and Cotizar button wait until it ends. */
  header .wordmark, header .header-actions .btn {
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
  }
  body.li-active header .wordmark,
  body.li-active header .header-actions .btn {
    opacity: 0; visibility: hidden; transform: translateY(-10px); pointer-events: none;
  }

  /* ---------- Mundo de espejos (LED catalog hero, js/mirror-world.js) ---------- */
  .mw {
    position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden;
    background: radial-gradient(70% 60% at 50% 42%, #15171d 0%, #0b0c10 60%, var(--bg) 100%);
    color: var(--ink);
  }
  .mw-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; opacity: 0; transition: opacity 1s ease; }
  .mw-ready .mw-canvas { opacity: 1; }
  .mw-no3d .mw-canvas { display: none; }

  .mw-head { position: absolute; left: clamp(16px, 3vw, 48px); top: 108px; max-width: 360px; pointer-events: none; }
  .mw-head a { pointer-events: auto; }
  .mw-head .crumbs { margin-bottom: 14px; }
  .mw-head h1 { margin: 0; font: 300 clamp(1.7rem, 2.6vw, 2.4rem)/1.05 var(--font-display); letter-spacing: -0.02em; text-transform: none; }
  .mw-head p { margin: 12px 0 0; font-size: 0.88rem; line-height: 1.5; color: var(--ink-muted); }

  .mw-index {
    position: absolute; right: clamp(16px, 3vw, 48px); top: 50%; transform: translateY(-50%);
    list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; align-items: flex-end;
  }
  .mw-index button {
    display: flex; align-items: center; gap: 12px; padding: 5px 0; background: none; border: 0; cursor: pointer;
    color: rgba(255,255,255,0.4); font: 400 0.8rem/1 var(--font-nav);
  }
  .mw-index i { font-family: Georgia, 'Times New Roman', serif; font-style: italic; min-width: 30px; text-align: right; }
  .mw-index i::after { content: ""; display: inline-block; width: 14px; height: 1px; margin-left: 10px; vertical-align: middle; background: currentColor; transition: width 0.3s ease; }
  .mw-index span { opacity: 0; transform: translateX(6px); transition: opacity 0.25s ease, transform 0.25s ease; white-space: nowrap; }
  .mw-index button:hover, .mw-index button:focus-visible, .mw-index button[aria-current="true"] { color: #fff; }
  .mw-index button:hover span, .mw-index button:focus-visible span, .mw-index button[aria-current="true"] span { opacity: 1; transform: none; }
  .mw-index button[aria-current="true"] i::after { width: 28px; }

  .mw-info { position: absolute; left: clamp(16px, 3vw, 48px); bottom: 48px; max-width: 400px; }
  .mw-info.is-in { animation: mw-in 0.6s ease both; }
  @keyframes mw-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
  .mw-k { margin: 0 0 10px; font: 500 0.75rem/1 var(--font-nav); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-muted); }
  .mw-k [data-mw-num] { font-family: Georgia, serif; font-style: italic; letter-spacing: 0; text-transform: none; color: #fff; }
  .mw-info h2 { margin: 0; font: 300 clamp(1.8rem, 3.2vw, 2.9rem)/1.02 var(--font-display); letter-spacing: -0.025em; text-transform: none; }
  .mw-meta { margin: 10px 0 0; color: var(--ink-muted); font-size: 0.92rem; }
  .mw-chips { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
  .mw-chips li { padding: 6px 10px; border: 1px solid rgba(255,255,255,0.16); border-radius: 999px; font-size: 0.76rem; color: var(--ink); background: rgba(255,255,255,0.04); }
  .mw-actions { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
  .mw-btn {
    display: inline-flex; align-items: center; padding: 12px 18px; border-radius: 999px; text-decoration: none;
    font: 600 0.84rem/1 var(--font-nav); color: var(--ink); border: 1px solid rgba(255,255,255,0.25); transition: background 0.2s ease, transform 0.2s ease;
  }
  .mw-btn:hover { background: rgba(255,255,255,0.08); transform: translateY(-1px); }
  .mw-btn-solid { background: var(--ink); color: #0b0d11; border-color: var(--ink); }
  .mw-btn-solid:hover { background: #fff; }

  .mw-nav {
    position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%);
    display: flex; align-items: center; gap: 14px; font: 500 0.7rem/1 var(--font-nav); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-muted);
  }
  .mw-arrow {
    width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.18); color: #fff; transition: background 0.2s ease;
  }
  .mw-arrow:hover { background: rgba(255,255,255,0.12); }
  .mw-arrow svg { width: 18px; height: 18px; }

  .mw-tones { position: absolute; right: 104px; bottom: 48px; display: flex; align-items: center; gap: 6px; }
  .mw-tones > span { margin-right: 6px; font: 500 0.7rem/1 var(--font-nav); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-muted); }
  .mw-tones button {
    padding: 8px 12px; border-radius: 999px; cursor: pointer; font: 500 0.78rem/1 var(--font-nav);
    color: var(--ink-muted); background: transparent; border: 1px solid rgba(255,255,255,0.14);
  }
  .mw-tones button::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 7px; vertical-align: 1px; }
  .mw-tones [data-mw-tone="calida"]::before { background: #ffc880; box-shadow: 0 0 8px #ffc880; }
  .mw-tones [data-mw-tone="neutra"]::before { background: #fff0d8; box-shadow: 0 0 8px #fff0d8; }
  .mw-tones [data-mw-tone="fria"]::before { background: #c8e2ff; box-shadow: 0 0 8px #c8e2ff; }
  .mw-tones button[aria-pressed="true"] { color: #fff; border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.08); }

  .mw-down {
    position: absolute; right: clamp(16px, 3vw, 48px); bottom: 14px;
    font: 500 0.72rem/1 var(--font-nav); color: var(--ink-muted); text-decoration: none;
  }
  .mw-down:hover { color: #fff; }

  .pcard { scroll-margin-top: 120px; }
  .pcard.is-flash { animation: mw-flash 1.8s ease; }
  @keyframes mw-flash { 0%, 60% { box-shadow: 0 0 0 2px rgba(255, 240, 216, 0.9), 0 0 40px rgba(255, 240, 216, 0.35); } 100% { box-shadow: none; } }

  @media (max-width: 980px) {
    .mw-index span { display: none; }
    .mw-tones { bottom: auto; top: 108px; }
    .mw-head { max-width: 46vw; }
  }
  @media (max-width: 760px) {
    .mw { min-height: 700px; }
    .mw-head { top: 92px; right: 16px; max-width: none; }
    .mw-head p { display: none; }
    .mw-index { display: none; }
    .mw-tones { top: auto; bottom: 150px; left: 16px; right: auto; }
    .mw-tones > span { display: none; }
    .mw-info { bottom: 196px; right: 16px; }
    .mw-info h2 { font-size: 1.6rem; }
    .mw-chips, .mw-meta { display: none; }
    .mw-actions { margin-top: 12px; }
    .mw-nav { bottom: 84px; }
    .mw-down { left: 0; right: 0; text-align: center; bottom: 40px; }
  }

  /* ---------- Star ratings + reviews drawer (mirror world) ---------- */
  .stars { position: relative; display: inline-block; line-height: 1; letter-spacing: 2px; color: rgba(255,255,255,0.18); white-space: nowrap; }
  .stars::before { content: "★★★★★"; }
  .stars::after {
    content: "★★★★★"; position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap;
    width: calc(var(--v, 0) / 5 * 100%); color: #f5c26b;
  }
  .pcard-rating { display: flex; align-items: center; gap: 8px; margin: 4px 0 0; font-size: 0.8rem; color: var(--ink-muted); }
  .pcard-rating[hidden] { display: none; }

  .mw-rate {
    margin-top: 12px; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 0; background: none; border: 0; cursor: pointer;
    color: var(--ink); font: 500 0.86rem/1.2 var(--font-nav); text-align: left;
  }
  .mw-rate .stars { font-size: 1rem; }
  .mw-rate-go { color: var(--ink-muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,0.3); }
  .mw-rate:hover .mw-rate-go { color: #fff; }

  .mw-rev {
    position: fixed; top: 96px; right: clamp(16px, 3vw, 48px); bottom: 24px; width: min(400px, calc(100% - 32px)); z-index: 3;
    display: flex; flex-direction: column; gap: 16px; padding: 22px; overflow-y: auto; overscroll-behavior: contain;
    background: rgba(16, 18, 23, 0.9); border: 1px solid rgba(255,255,255,0.12); border-radius: 18px;
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 30px 80px -20px rgba(0,0,0,0.8);
    animation: mw-in 0.35s ease both;
  }
  .mw-rev[hidden] { display: none; }
  .mw-rev-open .mw-index, .mw-rev-open .mw-tones, .mw-rev-open .mw-pop { opacity: 0; pointer-events: none; }
  .mw-rev-head { display: flex; justify-content: space-between; gap: 12px; }
  .mw-rev-head .mw-k { margin-bottom: 6px; }
  .mw-rev-head h3 { margin: 0; font: 400 1.25rem/1.15 var(--font-display); text-transform: none; }
  .mw-rev-close { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); color: #fff; }
  .mw-rev-close svg { width: 16px; height: 16px; }
  .mw-rev-sum { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-block: 1px solid rgba(255,255,255,0.08); }
  .mw-rev-sum b { font: 300 2.6rem/1 var(--font-display); }
  .mw-rev-sum .stars { font-size: 1.1rem; display: block; }
  .mw-rev-sum small { display: block; margin-top: 6px; color: var(--ink-muted); font-size: 0.8rem; }

  .mw-rev-form { display: flex; flex-direction: column; gap: 10px; }
  .mw-rev-form-t { margin: 0; font: 600 0.88rem/1 var(--font-nav); }
  .mw-star-pick { border: 0; margin: 0; padding: 0; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
  .mw-star-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
  .mw-star-pick label { font-size: 1.7rem; line-height: 1; cursor: pointer; color: rgba(255,255,255,0.2); transition: color 0.15s ease, transform 0.15s ease; }
  .mw-star-pick label:hover, .mw-star-pick label:hover ~ label,
  .mw-star-pick input:checked ~ label { color: #f5c26b; }
  .mw-star-pick label:hover { transform: scale(1.15); }
  .mw-star-pick input:focus-visible + label { outline: 2px solid #f5c26b; outline-offset: 2px; border-radius: 4px; }
  .mw-rev-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .mw-rev-form input:not([type="radio"]), .mw-rev-form textarea {
    width: 100%; box-sizing: border-box; padding: 11px 12px; border-radius: 10px; font: 400 0.88rem/1.4 var(--font-nav);
    color: var(--ink); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14); resize: vertical;
  }
  .mw-rev-form input:focus, .mw-rev-form textarea:focus { outline: none; border-color: rgba(245, 194, 107, 0.7); }
  .mw-rev-form .mw-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
  .mw-rev-send { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .mw-rev-msg { margin: 0; font-size: 0.8rem; color: #f5c26b; }
  .mw-rev-send .mw-btn { border: 0; cursor: pointer; white-space: nowrap; flex: none; }
  .mw-rev-send .mw-btn:disabled { opacity: 0.6; cursor: wait; }

  .mw-rev-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
  .mw-rev-list li { padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.08); }
  .mw-rev-who { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 0.82rem; }
  .mw-rev-who .stars { font-size: 0.85rem; }
  .mw-rev-who time { color: var(--ink-muted); font-size: 0.75rem; margin-left: auto; }
  .mw-rev-list p { margin: 8px 0 0; font-size: 0.88rem; line-height: 1.5; color: var(--ink); overflow-wrap: anywhere; }
  .mw-rev-loading { color: var(--ink-muted); font-size: 0.85rem; border: 0 !important; }
  .mw-rev-empty { margin: 0; color: var(--ink-muted); font-size: 0.88rem; }

  @media (max-width: 760px) {
    .mw-rev { top: 80px; right: 12px; left: 12px; bottom: 12px; width: auto; }
    .mw-rev-row { grid-template-columns: 1fr; }
  }

  /* ---------- Mirror world across the whole LED page ----------
     The 3D canvas is fixed behind everything; the hero overlay lets clicks
     through to it, and the catalog scrolls over it on glass cards. */
  body.has-world { background: radial-gradient(80% 70% at 50% 40%, #15171d 0%, #0b0c10 60%, var(--bg) 100%) fixed var(--bg); }
  .has-world .mw { background: transparent; pointer-events: none; }
  .has-world .mw-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: auto; }
  .has-world .mw-head a, .has-world .mw-index, .has-world .mw-nav, .has-world .mw-tones,
  .has-world .mw-down, .has-world .mw-pop, .has-world .mw-rev { pointer-events: auto; }
  .has-world .mw-nav { pointer-events: none; }
  .has-world .mw-nav .mw-arrow { pointer-events: auto; }
  .has-world .col-body, .has-world .col-custom { position: relative; z-index: 1; }
  .has-world .pcard {
    padding: 10px; border-radius: 16px;
    background: rgba(14, 16, 21, 0.62); border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(14px) saturate(1.1); -webkit-backdrop-filter: blur(14px) saturate(1.1);
  }
  .has-world .pcard-media { border-radius: 10px; }
  .has-world .col-toolbar { position: relative; z-index: 2; }

  .mw-hint {
    position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%); margin: 0; pointer-events: none;
    font: 500 0.78rem/1 var(--font-nav); color: rgba(255,255,255,0.55); white-space: nowrap;
  }

  /* product card popped out of the ring */
  .mw-pop {
    position: fixed; z-index: 60; top: 50%; left: calc(50% + min(14vw, 220px)); transform: translateY(-46%);
    width: min(310px, 88vw); perspective: 900px; transition: opacity 0.25s ease;
  }
  .mw-pop[hidden] { display: none; }
  .mw-pop.is-in .mw-pop-card { animation: mw-pop-in 0.45s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes mw-pop-in { from { opacity: 0; transform: translateY(18px) scale(0.94) rotateY(-12deg); } to { opacity: 1; transform: none; } }
  .mw-pop-card {
    transform-style: preserve-3d; transition: transform 0.18s ease-out;
    border-radius: 18px; box-shadow: 0 40px 90px -20px rgba(0,0,0,0.85), 0 0 0 1px rgba(255,255,255,0.1);
  }
  .mw-pop .pcard {
    padding: 12px; border-radius: 18px; background: rgba(14, 16, 21, 0.94);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 0;
  }
  .mw-pop .pcard-media { aspect-ratio: 4 / 3.5; border-radius: 12px; }
  .mw-pop .pcard-title { font-size: 1.05rem; }
  .mw-pop .mw-rate { margin-top: 8px; font-size: 0.8rem; gap: 8px; }
  .mw-pop .mw-rate .stars { font-size: 0.9rem; }
  .mw-pop .pcard-price { margin: 10px 0 12px; }
  .mw-glare {
    position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light;
    background: radial-gradient(circle at var(--gx, 30%) var(--gy, 20%), rgba(255,255,255,0.55), transparent 55%);
  }
  .mw-pop-close {
    position: absolute; z-index: 2; top: -14px; right: -14px; width: 36px; height: 36px; border-radius: 50%;
    display: grid; place-items: center; cursor: pointer; color: #fff;
    background: #16181e; border: 1px solid rgba(255,255,255,0.2); box-shadow: 0 6px 18px rgba(0,0,0,0.5);
  }
  .mw-pop-close svg { width: 16px; height: 16px; }

  @media (max-width: 760px) {
    .mw-pop { left: 50%; top: auto; bottom: 12px; transform: translateX(-50%); }
    .mw-pop .pcard-media { aspect-ratio: 16 / 10; }
    .mw-hint { bottom: 140px; }
    .mw-pop-close { right: -6px; }
  }

  /* ---------- Promotions (models/promos.js) ---------- */
  .promo { position: relative; z-index: 1; padding: clamp(56px, 8vw, 96px) 0 8px; }
  .promo-head h2 { margin-top: 8px; font: 700 clamp(1.6rem, 3vw, 2.4rem)/1.05 var(--font-display); text-transform: uppercase; }
  .promo-grid { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
  .promo-card {
    position: relative; display: flex; align-items: flex-end; min-height: 300px; overflow: hidden; border-radius: 18px;
    text-decoration: none; color: #fff; isolation: isolate; border: 1px solid rgba(255,255,255,0.1);
  }
  .promo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.9s var(--ease); }
  .promo-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(8,9,12,0.92) 0%, rgba(8,9,12,0.65) 45%, rgba(8,9,12,0.05) 100%); }
  .promo-card:hover img { transform: scale(1.05); }
  .promo-off {
    position: absolute; top: 18px; right: 18px; width: 92px; height: 92px; border-radius: 50%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: #e2553a; color: #fff; box-shadow: 0 10px 30px -6px rgba(226, 85, 58, 0.7); transform: rotate(-8deg);
  }
  .promo-off b { font: 800 1.7rem/1 var(--font-display); }
  .promo-off small { font: 600 0.7rem/1 var(--font-nav); letter-spacing: 0.12em; text-transform: uppercase; margin-top: 2px; }
  .promo-body { display: flex; flex-direction: column; gap: 8px; padding: 26px; max-width: 360px; }
  .promo-tag { align-self: flex-start; padding: 6px 10px; border-radius: 999px; background: rgba(226, 85, 58, 0.18); border: 1px solid rgba(226, 85, 58, 0.6); color: #ffb4a3; font: 700 0.7rem/1 var(--font-nav); letter-spacing: 0.12em; text-transform: uppercase; }
  .promo-title { font: 700 clamp(1.5rem, 2.6vw, 2rem)/1.05 var(--font-display); text-transform: uppercase; }
  .promo-text { font-size: 0.92rem; line-height: 1.45; color: rgba(255,255,255,0.8); }
  .promo-cta { margin-top: 6px; font: 600 0.88rem/1 var(--font-nav); text-decoration: underline; text-underline-offset: 4px; }
  .promo-note { margin: 14px 0 0; font-size: 0.78rem; color: var(--ink-muted); }

  .pcard-media { position: relative; }
  .pcard-promo {
    position: absolute; top: 12px; right: 12px; padding: 6px 9px; border-radius: 8px;
    background: #e2553a; color: #fff; font: 800 0.82rem/1 var(--font-nav); box-shadow: 0 6px 16px -4px rgba(226, 85, 58, 0.7);
  }
  .pcard-price-promo { color: #ff8a70; }
  @media (max-width: 620px) {
    .promo-card { min-height: 260px; }
    .promo-off { width: 74px; height: 74px; }
    .promo-off b { font-size: 1.35rem; }
  }

  /* rail arrows sit over the particle world: keep them solid so it never shows through */
  .shop-arrows { position: relative; z-index: 2; }
  .shop-arrow { background: #16181e; }

  /* ---------- Divisions showcase (js/division-showcase.js) ----------
     One pinned screen per model; the 3D stage sticks while copy swaps. */
  .ds { position: relative; height: calc((var(--n, 6) + 0.6) * 100vh); }
  .ds-stage {
    position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
    background:
      radial-gradient(55% 60% at 68% 55%, rgba(212, 164, 76, 0.07), transparent 70%),
      radial-gradient(rgba(212, 164, 76, 0.16) 1px, transparent 1.5px) 0 0 / 22px 22px,
      #0d0e11;
  }
  .ds-stage::after {                          /* fade the dot grid at the edges */
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(70% 70% at 60% 50%, transparent 40%, #0d0e11 100%);
  }
  .ds-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 1; opacity: 0; transition: opacity 0.8s ease; }
  .ds-ready .ds-canvas { opacity: 1; }
  .ds-no3d .ds-canvas { display: none; }

  .ds-copy {
    position: absolute; z-index: 2; left: clamp(16px, 4vw, 64px); bottom: clamp(48px, 10vh, 96px);
    max-width: min(520px, 44vw); opacity: 0; visibility: hidden;
  }
  .ds-copy.is-on { visibility: visible; }
  .ds-pill {
    display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 8px 14px; border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.14); font: 600 0.7rem/1 var(--font-nav); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-muted);
  }
  .ds-pill span { width: 6px; height: 6px; border-radius: 50%; background: #d4a44c; box-shadow: 0 0 8px #d4a44c; }
  .ds-copy h2 { margin: 0; font: 600 clamp(2.4rem, 5.4vw, 4.6rem)/0.98 var(--font-display); letter-spacing: -0.02em; text-transform: none; }
  .ds-text { margin: 16px 0 0; font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.45; color: rgba(255,255,255,0.72); }
  .ds-meta { margin: 12px 0 0; font-size: 0.82rem; color: var(--ink-muted); }
  .ds-link { display: inline-block; margin-top: 18px; color: #e8c27a; font: 600 0.88rem/1 var(--font-nav); text-decoration: none; border-bottom: 1px solid rgba(232, 194, 122, 0.4); padding-bottom: 4px; }
  .ds-link:hover { border-color: #e8c27a; }

  .ds-keep {
    position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; pointer-events: none;
    padding: 8px 14px; border-radius: 999px; background: rgba(20, 21, 25, 0.7); backdrop-filter: blur(6px);
    font: 500 0.75rem/1 var(--font-nav); color: var(--ink-muted); transition: opacity 0.4s ease;
  }
  .ds-dots { position: absolute; z-index: 2; right: clamp(16px, 3vw, 48px); top: 50%; transform: translateY(-50%); list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
  .ds-dots li { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.2); transition: background 0.3s ease, transform 0.3s ease; }
  .ds-dots li.is-on { background: #d4a44c; transform: scale(1.5); box-shadow: 0 0 10px #d4a44c; }

  @media (min-width: 761px) { .ds-keep { left: 62%; } }
  @media (max-width: 760px) {
    .ds-copy { max-width: none; right: 16px; bottom: 28px; }
    .ds-copy h2 { font-size: 2.2rem; }
    .ds-text { font-size: 0.92rem; }
    .ds-keep { top: 30%; }
  }

  /* Divisions: the 3D layer is fixed behind the whole page (body.has-ds) */
  body.has-ds {
    background:
      radial-gradient(55% 60% at 68% 50%, rgba(212, 164, 76, 0.06), transparent 70%) fixed,
      radial-gradient(rgba(212, 164, 76, 0.13) 1px, transparent 1.5px) 0 0 / 22px 22px fixed,
      #0d0e11;
  }
  .has-ds .ds { height: auto; }
  .has-ds .ds-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; transition: none; }
  .has-ds .ds-track { position: relative; z-index: 1; }
  .has-ds .ds-copy {
    position: relative; left: auto; bottom: auto; visibility: visible;
    min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
    padding: 0 0 clamp(48px, 12vh, 110px) clamp(16px, 4vw, 64px); box-sizing: border-box;
  }
  .has-ds .ds-copy > * { max-width: min(520px, 44vw); }
  .has-ds .ds-keep, .has-ds .ds-dots { position: fixed; transition: opacity 0.4s ease; }
  .has-ds .col-hero, .has-ds .col-body, .has-ds .col-custom { position: relative; z-index: 1; }
  .has-ds .col-hero { background: transparent; }
  .has-ds .pcard {
    padding: 10px; border-radius: 16px;
    background: rgba(14, 15, 18, 0.66); border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(14px) saturate(1.1); -webkit-backdrop-filter: blur(14px) saturate(1.1);
  }
  .has-ds .pcard-media { border-radius: 10px; }
  .has-ds .col-toolbar { position: relative; z-index: 2; }
  @media (max-width: 760px) {
    .has-ds .ds-copy { padding: 0 16px 36px; }
    .has-ds .ds-copy > * { max-width: none; }
  }

  /* Divisions showcase as ONE screen: copy swaps in place, tabs pick a model */
  .has-ds .ds-panel { position: relative; z-index: 1; height: 100vh; height: 100svh; min-height: 600px; }
  .has-ds .ds-copy {
    position: absolute; left: clamp(16px, 4vw, 64px); bottom: clamp(120px, 20vh, 190px); top: auto;
    min-height: 0; display: block; padding: 0; max-width: min(520px, 44vw);
    opacity: 0; visibility: hidden; transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s;
  }
  .has-ds .ds-copy > * { max-width: none; }
  .has-ds .ds-copy.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0.35s; }

  .ds-picker {
    position: absolute; left: clamp(16px, 4vw, 64px); right: clamp(16px, 4vw, 64px); bottom: clamp(32px, 6vh, 56px);
    display: flex; align-items: center; gap: 12px;
  }
  .ds-tabs { list-style: none; margin: 0; padding: 0; display: flex; flex: 1; gap: 6px; overflow-x: auto; scrollbar-width: none; }
  .ds-tabs::-webkit-scrollbar { display: none; }
  .ds-tabs li { flex: 1; min-width: 96px; }
  .ds-tabs button {
    position: relative; width: 100%; display: flex; align-items: baseline; gap: 8px; padding: 12px 10px 14px; cursor: pointer; text-align: left;
    background: none; border: 0; border-top: 1px solid rgba(255,255,255,0.14); color: var(--ink-muted); font: 500 0.82rem/1 var(--font-nav);
    transition: color 0.25s ease;
  }
  .ds-tabs b { font: 600 0.72rem/1 var(--font-nav); letter-spacing: 0.08em; color: rgba(255,255,255,0.35); }
  .ds-tabs button:hover, .ds-tabs button[aria-current="true"] { color: #fff; }
  .ds-tabs button[aria-current="true"] b { color: #d4a44c; }
  .ds-bar { position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: #d4a44c; transform: scaleX(0); transform-origin: left; box-shadow: 0 0 8px rgba(212,164,76,0.7); }
  .ds-tabs button[aria-current="true"] .ds-bar { opacity: 1; }
  .ds-tabs button:not([aria-current="true"]) .ds-bar { opacity: 0; }
  .ds-tabs button[aria-current="true"]::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: rgba(212,164,76,0.45); }
  .ds-arrow {
    flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.18); color: #fff;
  }
  .ds-arrow:hover { background: rgba(255,255,255,0.12); }
  .ds-arrow svg { width: 18px; height: 18px; }
  @media (max-width: 760px) {
    .has-ds .ds-copy { left: 16px; right: 16px; bottom: 120px; max-width: none; }
    .has-ds .ds-copy .ds-text { display: none; }
    .ds-picker { left: 12px; right: 12px; bottom: 24px; gap: 6px; }
    .ds-tabs span { display: none; }
    .ds-tabs li { min-width: 40px; }
  }
  .ds-tabs button { user-select: none; -webkit-user-select: none; }
  @media (min-width: 761px) { .ds-picker { right: 100px; } }

  /* the page title lives inside the showcase on the divisions page */
  .ds-head { position: absolute; z-index: 2; left: clamp(16px, 4vw, 64px); top: 104px; max-width: min(420px, 40vw); }
  .ds-head .crumbs { margin-bottom: 12px; }
  .ds-head h1 { margin: 0; font: 300 clamp(1.5rem, 2.3vw, 2.1rem)/1.05 var(--font-display); letter-spacing: -0.02em; text-transform: none; }
  .ds-head p { margin: 10px 0 0; font-size: 0.85rem; line-height: 1.5; color: var(--ink-muted); }
  @media (max-height: 760px) { .ds-head p { display: none; } }
  @media (max-width: 760px) { .ds-head { top: 88px; right: 16px; max-width: none; } .ds-head p { display: none; } }

  /* ---------- Glass ribbon (vidrio catalog, js/glass-ribbon.js) ---------- */
  body.has-gr { background: #040405; }
  .gr-hero { position: relative; height: 100vh; height: 100svh; min-height: 600px; pointer-events: none; }
  .gr-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: auto; opacity: 0; transition: opacity 1.2s ease; }
  .gr-ready .gr-canvas { opacity: 1; }
  .gr-no3d .gr-canvas { display: none; }
  .gr-hovering .gr-canvas, .gr-hovering .gr-hero { cursor: pointer; }
  .gr-copy { position: absolute; z-index: 1; left: clamp(16px, 4vw, 64px); bottom: clamp(48px, 10vh, 96px); max-width: 560px; }
  .gr-copy a { pointer-events: auto; }
  .gr-copy .crumbs { margin-bottom: 16px; }
  .gr-copy h1 { margin: 0; font: 300 clamp(2.2rem, 4.6vw, 4rem)/1 var(--font-display); letter-spacing: -0.03em; text-transform: none; }
  .gr-copy p { margin: 16px 0 0; max-width: 46ch; font-size: 1rem; line-height: 1.55; color: rgba(255,255,255,0.68); }
  .gr-actions { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
  .gr-hint { font: 500 0.78rem/1 var(--font-nav); color: rgba(255,255,255,0.45); }
  .gr-tip {
    position: fixed; z-index: 70; left: 0; top: 0; pointer-events: none; display: flex; flex-direction: column; gap: 4px;
    padding: 10px 12px; border-radius: 10px; background: rgba(16,17,21,0.92); border: 1px solid rgba(255,255,255,0.14);
    backdrop-filter: blur(10px); font-size: 0.8rem; color: var(--ink-muted); white-space: nowrap;
  }
  .gr-tip[hidden] { display: none; }
  .gr-tip b { color: #fff; font-size: 0.88rem; }
  .has-gr .col-body, .has-gr .col-custom { position: relative; z-index: 1; }
  .has-gr .pcard {
    padding: 10px; border-radius: 16px; background: rgba(12, 12, 15, 0.7); border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  }
  .has-gr .pcard-media { border-radius: 10px; }
  .has-gr .col-toolbar { position: relative; z-index: 2; }
  @media (max-width: 760px) { .gr-copy { right: 16px; } .gr-hint { display: none; } }

  /* Patterned ("grabado") glass: the reference's texture over the sample */
  .glass-swatch.has-pat .gs-pane {
    background:
      var(--pat) 0 0 / var(--pat-size, 24px) repeat,
      linear-gradient(115deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.06) 32%, transparent 50%, rgba(255,255,255,0.12) 78%),
      color-mix(in srgb, var(--tint) 66%, transparent);
  }

  /* The hero copy slides up under the end of the logo intro, so when the
     intro dissolves the globe arrives together with its text (no empty
     screen). The intro box itself lets clicks through to it. */
  .li { pointer-events: none; }
  .li-stage { pointer-events: auto; }
  .li + .hw { margin-top: -100vh; margin-top: -100svh; position: relative; z-index: 1; }

  /* ---------- Hero copy on a pane of frosted glass ----------
     The text sits on a sheet of frosted glass floating over the globe:
     blurred backdrop, a soft sheen, a bright top edge and a reflection
     streak; crisp white type with numbered steps, like a glass sign. */
  .hw-copy {
    position: relative; isolation: isolate; overflow: hidden;
    max-width: 470px; padding: 34px 34px 28px; border-radius: 22px;
    background:
      linear-gradient(160deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.05) 38%, rgba(255,255,255,0.03) 62%, rgba(255,255,255,0.09) 100%);
    -webkit-backdrop-filter: blur(16px) saturate(1.25); backdrop-filter: blur(16px) saturate(1.25);
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.45),
      inset 1px 0 0 rgba(255,255,255,0.12),
      inset 0 -1px 0 rgba(0,0,0,0.25),
      0 40px 90px -30px rgba(0,0,0,0.75);
  }
  .hw-copy::before {                         /* reflection streak across the glass */
    content: ""; position: absolute; z-index: -1; inset: -40% -20%;
    background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,0.10) 44%, rgba(255,255,255,0.03) 50%, transparent 56%);
    animation: pane-sheen 9s ease-in-out infinite;
  }
  .hw-copy::after {                          /* faint frost grain */
    content: ""; position: absolute; z-index: -1; inset: 0; opacity: 0.08; mix-blend-mode: overlay; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }
  @keyframes pane-sheen { 0%, 100% { transform: translateX(-30%); } 50% { transform: translateX(30%); } }
  .hw .hw-pill { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); }
  .hw h2 {
    color: #f5f8fc; text-shadow: 0 0 22px rgba(190, 220, 255, 0.25), 0 1px 0 rgba(255,255,255,0.15);
    font-size: clamp(2rem, 3.6vw, 3.2rem);
  }
  .hw h2 span { color: #cfe3f5; }
  .hw-sub { color: rgba(240, 245, 252, 0.78); }
  .hw-steps { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,0.16); }
  .hw-steps li {
    display: grid; grid-template-columns: 44px 1fr; align-items: baseline; gap: 10px;
    padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,0.12);
  }
  .hw-steps li:last-child { border-bottom: 0; padding-bottom: 0; }
  .hw-steps b { font: 600 0.95rem/1 var(--font-display); color: #fff; letter-spacing: 0.02em; }
  .hw-steps span { font-size: 0.95rem; color: rgba(240,245,252,0.85); }
  @media (max-width: 760px) { .hw-copy { padding: 24px 20px 20px; border-radius: 18px; } }
  @media (prefers-reduced-motion: reduce) { .hw-copy::before { animation: none; } }
  .hw-copy { max-width: 560px; padding: 30px 32px 24px; }
  .hw h2 { font-size: clamp(1.9rem, 3vw, 2.8rem); }
  .hw-ctas { flex-wrap: nowrap; }
  .hw-ctas .btn { white-space: nowrap; }
  .hw-steps { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 22px; }
  .hw-steps li { display: flex; flex-direction: column; gap: 6px; padding: 14px 14px 0 0; border-bottom: 0; }
  .hw-steps li + li { padding-left: 14px; border-left: 1px solid rgba(255,255,255,0.12); }
  .hw-steps span { font-size: 0.82rem; line-height: 1.35; }
  @media (max-width: 760px) {
    .hw-ctas { flex-wrap: wrap; }
    .hw-steps { grid-template-columns: 1fr; }
    .hw-steps li, .hw-steps li + li { flex-direction: row; gap: 12px; padding: 10px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
  }

  /* ---------- Home hero, chrome edition ----------
     Silver lettering on the dark scene: thin "VIDRIO QUE", heavy chrome
     italic "TRANSFORMA", widely spaced "ESPACIOS"; a chrome pill CTA. */
  .hw .hw-copy {
    max-width: 760px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible;
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .hw .hw-copy::before, .hw .hw-copy::after { content: none; }
  .hw-eyebrow { display: flex; align-items: center; gap: 18px; margin: 0; font: 400 0.82rem/1 var(--font-nav); letter-spacing: 0.28em; text-transform: uppercase; color: rgba(235,240,246,0.82); }
  .hw-eyebrow::after { content: ""; width: 210px; max-width: 22vw; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,0.5), rgba(255,255,255,0.08)); }
  .hw-title { margin: 22px 0 0; display: flex; flex-direction: column; text-transform: uppercase; line-height: 0.95; text-shadow: none; }
  .hw-title span {
    display: block; color: transparent; -webkit-background-clip: text; background-clip: text;
    background-image: linear-gradient(180deg, #ffffff 0%, #e6e9ed 30%, #9ba2ab 52%, #f3f5f7 70%, #a9afb7 100%);
  }
  .hw-title .t1 { font: 300 clamp(2.6rem, 5.4vw, 5.2rem)/1 'Archivo Expanded', var(--font-display); letter-spacing: -0.01em; }
  .hw-title .t2 {
    font: italic 800 clamp(3rem, 6.6vw, 6.4rem)/1 'Archivo Expanded', var(--font-display); letter-spacing: -0.02em; margin-left: -0.04em; padding-right: 0.1em;
    background-image: linear-gradient(180deg, #ffffff 0%, #dfe3e8 22%, #8c939d 44%, #3c4148 52%, #c9ced5 64%, #ffffff 80%, #9da3ab 100%);
    filter: drop-shadow(0 6px 18px rgba(0,0,0,0.5)) drop-shadow(0 0 1px rgba(255,255,255,0.35));
  }
  .hw-title .t3 { font: 200 clamp(1.8rem, 3.6vw, 3.4rem)/1.1 'Archivo Expanded', var(--font-display); letter-spacing: 0.62em; margin-top: 6px; }
  .hw .hw-sub { margin-top: 26px; max-width: 32ch; font-size: clamp(1.02rem, 1.45vw, 1.3rem); line-height: 1.45; color: rgba(225,230,238,0.8); }
  .hw .hw-ctas { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 18px; }
  .hw-btn {
    display: inline-flex; align-items: center; gap: 14px; height: 60px; padding: 0 30px; border-radius: 999px; text-decoration: none;
    font: 700 0.95rem/1 var(--font-nav); letter-spacing: 0.04em; text-transform: uppercase; transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  .hw-btn:hover { transform: translateY(-2px); }
  .hw-btn-chrome {
    padding-right: 8px; color: #15171b;
    background: linear-gradient(180deg, #fbfcfd 0%, #d7dbe0 38%, #9aa1a9 62%, #e9ecef 100%);
    box-shadow: inset 0 1px 0 #fff, inset 0 -2px 4px rgba(0,0,0,0.25), 0 10px 30px -8px rgba(255,255,255,0.25), 0 0 0 1px rgba(255,255,255,0.4);
  }
  .hw-btn-chrome i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #121418; color: #fff; }
  .hw-btn-chrome i svg { width: 20px; height: 20px; }
  .hw-btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,0.45); background: rgba(255,255,255,0.03); }
  .hw-btn-ghost:hover { background: rgba(255,255,255,0.08); }
  .hw-btn-ghost svg { width: 24px; height: 24px; }
  .hw-feats { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0; }
  .hw-feats li { display: flex; align-items: center; gap: 16px; padding: 4px 36px 4px 0; font-size: 0.95rem; line-height: 1.3; color: rgba(235,240,246,0.88); }
  .hw-feats li + li { padding-left: 36px; border-left: 1px solid rgba(255,255,255,0.22); }
  .hw-feats svg { width: 38px; height: 38px; flex: none; color: #e9edf2; }
  .hw-steps { display: none; }

  /* header quote button in chrome too */
  .header-actions .btn-solid {
    border-radius: 999px; color: #15171b; border: 0;
    background: linear-gradient(180deg, #fbfcfd 0%, #d7dbe0 38%, #9aa1a9 62%, #e9ecef 100%);
    box-shadow: inset 0 1px 0 #fff, inset 0 -2px 4px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.35), 0 8px 24px -10px rgba(255,255,255,0.3);
  }
  .header-actions .btn-solid span { color: #15171b; }

  @media (max-width: 760px) {
    .hw-title .t3 { letter-spacing: 0.4em; }
    .hw-btn { height: 52px; padding: 0 22px; font-size: 0.85rem; }
    .hw-feats { gap: 14px; }
    .hw-feats li, .hw-feats li + li { padding: 0; border-left: 0; }
    .hw-eyebrow::after { display: none; }
  }
  .hw h2.hw-title { text-shadow: none; filter: none; animation: none; -webkit-text-stroke: 0; background: none; font-size: inherit; }
  .hw-title .t1 { font-size: min(5.4vw, 9.2vh); }
  .hw-title .t2 { font-size: min(6.6vw, 11vh); }
  .hw-title .t3 { font-size: min(3.6vw, 5.6vh); }
  .hw .hw-sub { margin-top: min(26px, 3vh); font-size: min(1.3rem, 2.5vh); max-width: 36ch; }
  .hw .hw-ctas { margin-top: min(30px, 3.6vh); }
  .hw-feats { margin-top: min(40px, 4.4vh); }
  .hw { padding-top: 96px; padding-bottom: 56px; }
  @media (max-width: 760px) {
    .hw-title .t1 { font-size: 11vw; } .hw-title .t2 { font-size: 12.5vw; } .hw-title .t3 { font-size: 6.5vw; }
    .hw .hw-sub { font-size: 1rem; }
  }

  .hw-inner { position: relative; z-index: 1; }

  /* stronger chrome on the title, like polished metal */
  .hw-title .t1, .hw-title .t3 {
    background-image: linear-gradient(180deg, #ffffff 0%, #f2f4f6 38%, #737a83 54%, #d9dde2 72%, #ffffff 100%);
  }
  .hw-title .t2 {
    background-image: linear-gradient(180deg, #ffffff 0%, #eef1f4 20%, #a3a9b1 38%, #2b2f35 50%, #5b6169 56%, #e4e7eb 72%, #ffffff 84%, #8d939b 100%);
  }
  @media (max-height: 820px) { .hw-cue { display: none; } }

  /* ---------- Hero lettering: Montserrat in polished chrome ---------- */
  .hw-eyebrow { font-family: 'Montserrat', var(--font-nav); font-weight: 500; letter-spacing: 0.32em; }
  .hw-title { line-height: 0.98; }
  .hw-title .t1 {
    font: 800 min(5.6vw, 9.4vh)/1 'Montserrat', sans-serif; letter-spacing: -0.01em;
    background-image: linear-gradient(180deg, #ffffff 0%, #f4f6f8 34%, #b9bfc7 50%, #6f767f 58%, #e6e9ed 78%, #ffffff 100%);
    -webkit-text-stroke: 0.6px rgba(255,255,255,0.35);
  }
  .hw-title .t2 {
    font: italic 900 min(6.9vw, 11.6vh)/0.95 'Montserrat', sans-serif; letter-spacing: -0.015em; margin-left: -0.03em;
    background-image: linear-gradient(178deg, #ffffff 0%, #f1f3f6 18%, #c5cad1 34%, #3a3f46 48%, #23272c 53%, #8b9199 62%, #eef0f3 76%, #ffffff 86%, #a4aab2 100%);
    -webkit-text-stroke: 1px rgba(255,255,255,0.55);
    filter: drop-shadow(0 1px 0 rgba(255,255,255,0.35)) drop-shadow(0 10px 22px rgba(0,0,0,0.65)) drop-shadow(0 0 18px rgba(200,220,255,0.18));
  }
  .hw-title .t3 {
    font: 400 min(3.7vw, 6vh)/1.15 'Montserrat', sans-serif; letter-spacing: 0.62em; margin-top: 4px;
    background-image: linear-gradient(180deg, #ffffff 0%, #e9ecef 45%, #9ea4ab 60%, #f5f6f8 100%);
  }
  .hw .hw-sub { font-family: 'Montserrat', sans-serif; font-weight: 400; color: rgba(236,240,245,0.86); }
  .hw-btn { font-family: 'Montserrat', sans-serif; font-weight: 700; letter-spacing: 0.01em; }
  .hw-feats li { font-family: 'Montserrat', sans-serif; font-weight: 500; }
  @media (max-width: 760px) {
    .hw-title .t1 { font-size: 10.5vw; } .hw-title .t2 { font-size: 12.5vw; } .hw-title .t3 { font-size: 6.4vw; letter-spacing: 0.45em; }
  }

  /* ---------- Menu: a thin line joins logo, menu capsule and quote button ---------- */
  .nav-row { position: relative; }
  @media (min-width: 981px) {
    .nav-row::before {
      content: ""; position: absolute; z-index: 0; top: 50%; height: 1px; left: 110px; right: 0;
      background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.45) 8%, rgba(255,255,255,0.45) 92%, rgba(255,255,255,0) 100%);
    }
    body.li-active .nav-row::before { opacity: 0; }
    .nav-row::before { transition: opacity 0.4s ease; }
  }
  .nav-row > * { position: relative; z-index: 1; }
  nav.primary ul {
    border-radius: 999px; padding: 8px 14px; gap: 6px;
    background: rgba(9, 11, 15, 0.86);
    border: 1px solid rgba(255,255,255,0.32);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), inset 0 0 18px rgba(255,255,255,0.05), 0 0 22px rgba(190,210,240,0.12);
  }
  nav.primary ul a { font: 500 0.98rem/1 'Montserrat', sans-serif; color: #f2f4f7; padding: 11px 20px; border-radius: 999px; }
  .header-actions .btn-solid {
    display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 28px; border-radius: 999px;
    background: rgba(10, 12, 16, 0.9); color: #fff;
    border: 1.5px solid rgba(255,255,255,0.88);
    box-shadow: 0 0 14px rgba(255,255,255,0.35), 0 0 30px rgba(190,215,255,0.15), inset 0 0 12px rgba(255,255,255,0.14);
    font: 700 1rem/1 'Montserrat', sans-serif; letter-spacing: 0.02em;
  }
  .header-actions .btn-solid span { color: #fff; }
  .header-actions .btn-solid .btn-arrow { width: 20px; height: 20px; flex: none; }
  .header-actions .btn-solid:hover { box-shadow: 0 0 20px rgba(255,255,255,0.5), 0 0 40px rgba(190,215,255,0.22), inset 0 0 14px rgba(255,255,255,0.2); }
  .hw .hw-title span { color: transparent; -webkit-text-fill-color: transparent; }
  .hw .hw-title .t1, .hw .hw-title .t2 { -webkit-text-stroke: 0; }

  /* hero title: a size that fits, with room for the italic overhang */
  .hw .hw-copy { max-width: 820px; }
  .hw-title .t1 { font-size: min(4.3vw, 7.4vh); }
  .hw-title .t2 { font-size: min(5.3vw, 9vh); padding-right: 0.18em; }
  .hw-title .t3 { font-size: min(2.9vw, 4.8vh); }
  .hw .hw-sub { font-size: min(1.15rem, 2.3vh); }
  @media (max-width: 760px) {
    .hw-title .t1 { font-size: 9.6vw; } .hw-title .t2 { font-size: 11.4vw; } .hw-title .t3 { font-size: 5.8vw; }
  }

  /* header logo: big and fully inside the bar */
  .nav-row { height: 100px; }
  header .wordmark .logo-mark { height: 86px; }
  @media (min-width: 981px) { .nav-row::before { left: 96px; } }
  @media (max-width: 760px) { .nav-row { height: 76px; } header .wordmark .logo-mark { height: 62px; } }
  @media (min-width: 761px) {
    .nav-row { height: 112px; }
    header .wordmark .logo-mark {
      height: 100px;
      filter: brightness(1.45) contrast(1.15) drop-shadow(0 0 10px rgba(220, 230, 245, 0.35));
    }
  }
  @media (min-width: 981px) { .nav-row::before { left: 120px; } }
  @media (min-width: 761px) { .hw { padding-top: 124px; } }

  /* Standard-size header (about 76px), like most sites */
  @media (min-width: 761px) {
    .nav-row { height: 76px; }
    header .wordmark .logo-mark { height: 60px; }
    .hw { padding-top: 104px; }
  }
  @media (min-width: 981px) { .nav-row::before { left: 72px; } }
  nav.primary ul { padding: 5px 8px; gap: 2px; }
  nav.primary ul a { font-size: 0.9rem; padding: 9px 16px; }
  .header-actions .btn-solid { height: 44px; padding: 0 20px; gap: 10px; font-size: 0.88rem; }
  .header-actions .btn-solid .btn-arrow { width: 17px; height: 17px; }

  /* logo bigger, menu compact */
  @media (min-width: 761px) {
    .nav-row { height: 84px; }
    header .wordmark .logo-mark { height: 76px; }
  }
  @media (min-width: 981px) { .nav-row::before { left: 84px; } }
  nav.primary ul { padding: 3px 6px; gap: 0; border-width: 1px; }
  nav.primary ul a { font-size: 0.84rem; padding: 8px 14px; }
  nav.primary .nav-caret { width: 12px; height: 12px; }
  .header-actions .btn-solid { height: 38px; padding: 0 16px; gap: 8px; font-size: 0.8rem; border-width: 1px; }
  .header-actions .btn-solid .btn-arrow { width: 15px; height: 15px; }

  /* Productos dropdown: an invisible bridge over the gap so moving the
     mouse down doesn't close it; a click (.is-open) also keeps it open. */
  .dropdown { z-index: 30; }
  .dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
  .has-drop.is-open .dropdown { opacity: 1; visibility: visible; }
  .has-drop.is-open .nav-caret { transform: rotate(180deg); }

  /* =====================================================================
     NOSOTROS — scroll story (views/nosotros.ejs, js/nosotros.js)
     ===================================================================== */
  body.page-about { background: #0d0d0f; }
  .ab { position: relative; z-index: 1; color: #f1efe9; }
  .ab-wrap { width: min(1240px, 100% - 2 * clamp(16px, 5vw, 64px)); margin: 0 auto; }
  .ab-kicker { margin: 0 0 18px; font: 500 0.78rem/1 'Montserrat', sans-serif; letter-spacing: 0.32em; text-transform: uppercase; color: rgba(241,239,233,0.6); }
  .ab-mono { font: 500 0.78rem/1.8 'Montserrat', sans-serif; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(241,239,233,0.5); }

  /* intro */
  .ab-intro {
    position: fixed; inset: 0; z-index: 200; background: #050506; display: grid; place-items: center;
    transition: opacity 0.9s ease, transform 1.1s cubic-bezier(.7,0,.2,1);
  }
  .ab-intro.is-out { opacity: 0; transform: scale(1.35); pointer-events: none; }
  .ab-intro-word {
    font: 400 clamp(8rem, 30vw, 26rem)/0.85 'Anton', 'Archivo Expanded', sans-serif; letter-spacing: 0.01em;
    color: transparent; -webkit-background-clip: text; background-clip: text;
    background: var(--img) center 40% / cover; -webkit-background-clip: text;
    animation: ab-pan 3s ease-out both;
  }
  @keyframes ab-pan { from { background-position: center 10%; filter: brightness(0.6); } to { background-position: center 60%; filter: brightness(1.05); } }
  .ab-intro-count { position: absolute; left: clamp(16px, 4vw, 48px); bottom: 36px; display: flex; align-items: baseline; gap: 16px; }
  .ab-intro-count span { font: 400 2.4rem/1 'DotGothic16', monospace; color: #c97b4a; }
  .ab-intro-count small { font: 500 0.72rem/1 'Montserrat', sans-serif; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
  .ab-skip { position: absolute; top: 28px; right: clamp(16px, 4vw, 48px); padding: 9px 16px; border-radius: 999px; cursor: pointer; background: none; border: 1px solid rgba(255,255,255,0.25); color: rgba(255,255,255,0.75); font: 500 0.72rem/1 'Montserrat', sans-serif; letter-spacing: 0.2em; text-transform: uppercase; }

  /* big headline, letter by letter: dark → warm → silver as it lands */
  .ab-mega { margin: 0; font: 400 clamp(3.4rem, 10.5vw, 10rem)/0.9 'Anton', sans-serif; text-transform: uppercase; letter-spacing: 0.005em; }
  .ab-mega-sm { font-size: clamp(2.8rem, 7.5vw, 7.2rem); }
  .ab-w { display: inline-block; white-space: nowrap; }
  .ab-l { display: inline-block; opacity: 0.12; color: #3a3833; transform: translateY(0.18em); transition: opacity 0.6s ease, color 1.2s ease, transform 0.8s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i) * 45ms); }
  .is-in .ab-l { opacity: 1; transform: none; color: #f1efe9; animation: ab-warm 1.6s ease both; animation-delay: calc(var(--i) * 45ms); }
  @keyframes ab-warm { 0% { color: #3a3833; } 45% { color: #d98a52; } 100% { color: #f1efe9; } }
  [data-ab-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.8s ease 0.6s, transform 0.8s ease 0.6s; }
  [data-ab-reveal].is-in { opacity: 1; transform: none; }

  /* hero */
  .ab-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding: 140px 0 clamp(60px, 12vh, 120px); overflow: hidden; }
  .ab-hero-bg { position: absolute; inset: -6% 0; background: center 45% / cover no-repeat; filter: brightness(0.42) saturate(0.85); will-change: transform; }
  .ab-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,13,15,0.2) 0%, rgba(13,13,15,0.1) 50%, #0d0d0f 100%); }
  .ab-hero .ab-wrap { position: relative; z-index: 1; }
  .ab-hero-sub { margin: 22px 0 0; font: 600 clamp(1rem, 2vw, 1.6rem)/1.2 'Montserrat', sans-serif; letter-spacing: 0.04em; text-transform: uppercase; color: #d98a52; }
  .ab-hero-beam, .ab-beam {
    position: absolute; z-index: 0; top: -10%; right: 18%; width: 46vw; height: 130%; pointer-events: none;
    background: conic-gradient(from 200deg at 70% 0%, transparent 0deg, rgba(255,214,150,0.18) 14deg, rgba(255,236,200,0.32) 20deg, rgba(255,214,150,0.12) 28deg, transparent 40deg);
    filter: blur(6px); mix-blend-mode: screen;
  }

  /* spotlight + particles */
  .ab-spot { position: relative; height: 220vh; }
  .ab-spot-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: radial-gradient(60% 50% at 68% 100%, rgba(255,200,130,0.10), transparent 70%), #0d0d0f; }
  .ab-spot .ab-beam { right: 14%; }
  .ab-particles { position: absolute; inset: 0; width: 100%; height: 100%; }
  .ab-spot-copy { position: absolute; z-index: 1; left: clamp(16px, 5vw, 80px); top: 50%; transform: translateY(-50%); max-width: 520px; }
  .ab-big { margin: 0; display: flex; flex-direction: column; font: 400 clamp(2.4rem, 5.4vw, 5rem)/0.95 'Anton', sans-serif; text-transform: uppercase; }
  .ab-big em { font-style: normal; color: #d98a52; }
  .ab-accent { color: #c97b4a; }
  .ab-spot-copy p:not(.ab-kicker) { margin: 18px 0 0; font: 400 1rem/1.65 'Montserrat', sans-serif; color: rgba(241,239,233,0.72); }

  /* floating photos */
  .ab-float { position: relative; height: 260vh; }
  .ab-float-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; perspective: 1100px; background: radial-gradient(50% 45% at 50% 55%, rgba(255,200,130,0.08), transparent 70%), #0d0d0f; }
  .ab-beam-2 { right: 30%; }
  .ab-float-text {
    position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(calc(0.92 + var(--fp, 0) * 0.16)); margin: 0; text-align: center;
    display: flex; flex-direction: column; font: 400 clamp(3rem, 9vw, 9rem)/0.9 'Anton', sans-serif; text-transform: uppercase; color: rgba(217,138,82,0.55); white-space: nowrap; mix-blend-mode: screen;
  }
  .ab-float-text span + span { color: rgba(241,239,233,0.35); }
  .ab-photos { position: absolute; inset: 0; transform-style: preserve-3d; z-index: 2; }
  .ab-photo { position: absolute; left: 50%; top: 50%; width: clamp(140px, 17vw, 250px); aspect-ratio: 4 / 5; margin: 0 0 0 calc(clamp(140px, 17vw, 250px) / -2); translate: 0 -50%; border-radius: 4px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.8); will-change: transform; }
  .ab-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9) contrast(1.05); }
  .ab-cities { position: absolute; z-index: 3; left: 0; right: 0; bottom: 32px; margin: 0; padding: 0; list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; font: 500 0.74rem/1 'Montserrat', sans-serif; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(241,239,233,0.55); }

  /* steps sliding sideways */
  .ab-steps { position: relative; height: calc(100vh + var(--n, 4) * 45vh); }
  .ab-steps-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-columns: minmax(320px, 38%) 1fr; align-items: center; gap: 4vw; padding: 0 0 0 clamp(16px, 5vw, 80px); background: #12110f; }
  .ab-steps-title .ab-mono { margin-top: 26px; }
  .ab-track { display: flex; gap: 28px; will-change: transform; }
  .ab-card { position: relative; flex: none; width: clamp(260px, 30vw, 420px); aspect-ratio: 4 / 4.6; border-radius: 6px; overflow: hidden; background: #1b1a17; border-bottom: 3px solid #c97b4a; }
  .ab-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.62); }
  .ab-card-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; background: linear-gradient(180deg, transparent, rgba(10,10,10,0.9) 40%); }
  .ab-card-k { display: flex; justify-content: space-between; margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.15); font: 500 0.7rem/1 'Montserrat', sans-serif; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
  .ab-card h3 { margin: 0; font: 400 clamp(1.6rem, 2.4vw, 2.3rem)/1 'Anton', sans-serif; text-transform: uppercase; color: #fff; }
  .ab-card-body > p:last-child { margin: 10px 0 0; font: 400 0.88rem/1.5 'Montserrat', sans-serif; color: rgba(255,255,255,0.72); }

  /* closing */
  .ab-end { padding: clamp(100px, 18vh, 180px) 0; background: radial-gradient(50% 60% at 50% 0%, rgba(217,138,82,0.12), transparent 70%), #0d0d0f; }
  .ab-highlights { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border-top: 1px solid rgba(255,255,255,0.12); }
  .ab-highlights li { padding: 20px 20px 20px 0; border-bottom: 1px solid rgba(255,255,255,0.12); font: 500 0.98rem/1.45 'Montserrat', sans-serif; color: rgba(241,239,233,0.85); }
  .ab-highlights li::before { content: "◆"; margin-right: 10px; color: #c97b4a; font-size: 0.7em; vertical-align: 2px; }
  .ab-ctas { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; }

  /* scoreboard */
  .ab-board {
    position: fixed; z-index: 40; right: clamp(16px, 3vw, 40px); bottom: 24px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0 16px;
    padding: 12px 16px 14px; min-width: 230px; border: 1px solid rgba(255,255,255,0.18); background: rgba(10,10,10,0.75); backdrop-filter: blur(8px);
    opacity: 0; transform: translateY(12px); transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .ab-started .ab-board { opacity: 1; transform: none; }
  .ab-board b { font: 400 2.6rem/1 'DotGothic16', monospace; color: #e07a45; text-shadow: 0 0 10px rgba(224,122,69,0.55); letter-spacing: 0.04em; }
  .ab-board span { display: block; font: 600 0.72rem/1.4 'Montserrat', sans-serif; letter-spacing: 0.2em; text-transform: uppercase; color: #fff; }
  .ab-board small { font: 500 0.66rem/1 'Montserrat', sans-serif; letter-spacing: 0.2em; color: rgba(255,255,255,0.45); }
  .ab-board-ticks { grid-column: 1 / -1; display: block; height: 6px; margin-top: 10px; background: repeating-linear-gradient(90deg, rgba(255,255,255,0.3) 0 1px, transparent 1px 8px); position: relative; }
  .ab-board-ticks i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: repeating-linear-gradient(90deg, #e07a45 0 1px, transparent 1px 8px); transform-origin: left; transform: scaleX(0); }
  .page-about .wa-float { bottom: 120px; }

  @media (max-width: 760px) {
    .ab-spot-copy { top: auto; bottom: 40px; transform: none; right: 16px; }
    .ab-spot-copy p:not(.ab-kicker) { display: none; }
    .ab-steps-stage { grid-template-columns: 1fr; align-content: center; gap: 28px; padding: 90px 0 0 16px; }
    .ab-card { width: 74vw; }
    .ab-board { min-width: 0; left: 16px; right: 16px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .ab-l, .is-in .ab-l { transition: none; animation: none; opacity: 1; transform: none; color: #f1efe9; }
  }
  .ab-track-wrap { min-width: 0; overflow: hidden; padding: 20px 0; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 36px, #000 calc(100% - 60px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 36px, #000 calc(100% - 60px), transparent 100%); }
  .ab-track { padding: 0 60px 0 36px; }
  .ab-spot-copy { top: 54%; }

  /* En obra: the Coim mark centre stage, every photo orbiting in 3D */
  .ab-float { height: 320vh; }
  .ab-float-stage { perspective: 1400px; perspective-origin: 50% 40%; background: radial-gradient(45% 55% at 50% 45%, rgba(255,205,130,0.13), transparent 70%), radial-gradient(70% 30% at 50% 100%, rgba(255,200,120,0.08), transparent 70%), #0e0d0b; }
  .ab-beam-2 { right: auto; left: 50%; width: 60vw; margin-left: -30vw; top: -12%; height: 120%; z-index: 2;
    background: conic-gradient(from 180deg at 50% 0%, transparent 162deg, rgba(255,214,140,0.22) 172deg, rgba(255,240,205,0.45) 180deg, rgba(255,214,140,0.22) 188deg, transparent 198deg); }
  .ab-scene { position: absolute; inset: 0; transform-style: preserve-3d; }
  .ab-float-text { top: 15%; transform: translate(-50%, 0) translateZ(-500px) scale(1.35); color: rgba(150,140,120,0.42); mix-blend-mode: normal; font-size: clamp(3rem, 8vw, 8rem); }
  .ab-float-text span + span { color: rgba(150,140,120,0.42); }
  .ab-logo3d { position: absolute; left: 50%; top: 52%; height: 64vh; aspect-ratio: 290 / 510; transform: translate(-50%, -50%) translateZ(0); }
  .ab-logo3d img { width: 100%; height: 100%; object-fit: contain; filter: brightness(1.35) contrast(1.1) drop-shadow(0 30px 40px rgba(0,0,0,0.7)) drop-shadow(0 0 30px rgba(255,220,160,0.25)); }
  /* golden pixel grid sweeping over the mark, like it is being scanned */
  .ab-logo-pix {
    position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, transparent 0%, rgba(255,214,120,0) 30%, rgba(255,214,120,0.95) 45%, rgba(255,240,190,0.9) 50%, rgba(255,214,120,0) 65%, transparent 100%) 0 0 / 100% 220%;
    -webkit-mask-image: url(/images/logo-mark.png), radial-gradient(circle, #000 1.2px, transparent 1.6px);
    -webkit-mask-size: contain, 7px 7px; -webkit-mask-repeat: no-repeat, repeat; -webkit-mask-position: center, 0 0; -webkit-mask-composite: source-in;
    mask-image: url(/images/logo-mark.png), radial-gradient(circle, #000 1.2px, transparent 1.6px);
    mask-size: contain, 7px 7px; mask-repeat: no-repeat, repeat; mask-position: center, 0 0; mask-composite: intersect;
    mix-blend-mode: screen; animation: ab-scan 4.5s ease-in-out infinite;
  }
  @keyframes ab-scan { 0% { background-position: 0 100%; } 100% { background-position: 0 -10%; } }
  .ab-orbit { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; }
  .ab-orb {
    --r: min(44vw, 640px); position: absolute; left: 0; top: 0; margin: 0; width: clamp(130px, 15vw, 230px); aspect-ratio: 4 / 5;
    transform: translate(-50%, -50%) rotateY(var(--a)) translateZ(var(--r)) translateY(var(--y));
    border-radius: 3px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.8);
  }
  .ab-orb img { width: 100%; height: 100%; object-fit: cover; }
  .ab-cities { z-index: 5; }
  @media (max-width: 760px) { .ab-orb { --r: 78vw; width: 30vw; } .ab-logo3d { height: 48vh; } }
  .ab-float-stage { perspective: 2200px; }
  .ab-orb { --r: min(40vw, 600px); width: clamp(100px, 10vw, 160px); }
  .ab-logo3d { transform: translate(-50%, -50%) translateZ(60px); }
  @media (max-width: 760px) { .ab-orb { --r: 70vw; width: 22vw; } }
  .ab-logo3d { height: 70vh; top: 50%; transform: translate(-50%, -50%) translateZ(220px); }
  .ab-orb { --r: min(46vw, 700px); }
  .ab-float-text { top: 11%; }
  .ab-logo3d { height: 62vh; top: 51%; }

  /* Quiénes somos: photos detach from the ring and tell the story; the
     section after slides up over the pinned scene like a sheet. */
  .ab-float { height: calc((var(--stories, 5) + 1) * 100vh + 100vh); }
  .ab-float + .ab-steps { margin-top: -100vh; z-index: 3; box-shadow: 0 -40px 80px rgba(0,0,0,0.7); border-top: 1px solid rgba(255,255,255,0.08); }
  .ab-steps { position: relative; }
  .ab-story {
    position: absolute; z-index: 4; left: 50%; top: 50%; display: grid; grid-template-columns: auto 300px; align-items: end; gap: 24px;
    visibility: hidden; opacity: 0; will-change: transform; transform-style: preserve-3d;
  }
  .ab-story[data-side="-1"] { grid-template-columns: 300px auto; }
  .ab-story[data-side="-1"] .ab-story-copy { order: -1; text-align: right; }
  .ab-story-photo { margin: 0; width: clamp(200px, 22vw, 330px); aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; box-shadow: 0 40px 80px -20px rgba(0,0,0,0.85), 0 0 0 1px rgba(255,255,255,0.08); }
  .ab-story-photo img { width: 100%; height: 100%; object-fit: cover; }
  .ab-story-copy { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; padding: 18px 20px; background: rgba(10,10,9,0.72); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.1); border-bottom: 2px solid #c97b4a; }
  .ab-story.is-front .ab-story-copy { opacity: 1; transform: none; }
  .ab-story[data-side="-1"] .ab-card-k { flex-direction: row-reverse; }
  .ab-story-copy h3 { margin: 0; font: 400 clamp(1.5rem, 2.3vw, 2.2rem)/1 'Anton', sans-serif; text-transform: uppercase; color: #fff; }
  .ab-story-copy p:last-child { margin: 10px 0 0; font: 400 0.9rem/1.5 'Montserrat', sans-serif; color: rgba(255,255,255,0.75); }
  .ab-scroll-hint { position: absolute; z-index: 5; left: 50%; bottom: 34px; transform: translateX(-50%); margin: 0; padding: 8px 14px; border-radius: 999px; background: rgba(10,10,9,0.7); border: 1px solid rgba(255,255,255,0.15); font: 500 0.72rem/1 'Montserrat', sans-serif; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.7); transition: opacity 0.4s ease; }
  .ab-float-text { color: rgba(150,140,120,0.32); }
  .ab-float-text span + span { color: rgba(150,140,120,0.32); }
  @media (max-width: 760px) {
    .ab-story, .ab-story[data-side="-1"] { grid-template-columns: 1fr; width: 80vw; }
    .ab-story-photo { width: 52vw; justify-self: center; }
    .ab-story[data-side="-1"] .ab-story-copy { order: 0; text-align: left; }
    .ab-story[data-side="-1"] .ab-card-k { flex-direction: row; }
  }
  .ab-story { grid-template-columns: auto 260px; gap: 18px; }
  .ab-story[data-side="-1"] { grid-template-columns: 260px auto; }
  .ab-story-photo { width: clamp(170px, 15vw, 240px); }
  .ab-story-copy h3 { font-size: clamp(1.3rem, 1.9vw, 1.9rem); }
  .ab-story-copy p:last-child { font-size: 0.84rem; }

/* ------------------------------------------------------------ home: opiniones */
.op { position: relative; z-index: 1; padding: clamp(64px, 9vw, 110px) 0 clamp(40px, 6vw, 72px); }
.op-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.op-head h2 { font: 700 clamp(1.6rem, 3.2vw, 2.5rem)/1.1 "Montserrat", var(--font-display); color: #f4f6fa; }
.op-sum { margin: 12px 0 0; display: flex; align-items: center; gap: 8px; color: var(--ink-muted); font-size: 0.92rem; }
.op-sum b { color: #f4f6fa; font-size: 1.05rem; }
.op-stars { font-size: 1.15rem; letter-spacing: 3px; }
.op-stars::after { color: #ff7a1a; text-shadow: 0 0 10px rgba(255,122,26,0.45); }

.op-viewport {
  overflow: hidden; padding: 6px 0 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.op-track { display: flex; gap: 16px; width: max-content; padding: 0 max(16px, calc((100vw - 1200px) / 2)); }
.op-track.is-loop { padding: 0; animation: op-slide var(--op-dur, 40s) linear infinite; }
.op-track.is-loop > .op-card:first-child { margin-left: 16px; }
.op-viewport:hover .op-track, .op-track:focus-within { animation-play-state: paused; }
@keyframes op-slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .op-viewport { overflow-x: auto; } }

.op-card {
  flex: 0 0 auto; width: 260px; min-height: 300px; padding: 26px 22px 22px; border-radius: 14px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
  background: linear-gradient(160deg, rgba(30,36,46,0.94), rgba(14,17,23,0.96));
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 18px 40px -24px rgba(0,0,0,0.8);
  transition: transform .35s ease, border-color .35s ease;
}
.op-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.22); }
.op-card h3 { font: 700 1.02rem/1.25 "Montserrat", var(--font-body); color: #f4f6fa; text-transform: none; letter-spacing: 0; }
.op-city { margin: -6px 0 0; font-size: 0.78rem; color: var(--ink-muted); }
.op-text { margin: 0; font-size: 0.92rem; line-height: 1.6; color: rgba(235,240,247,0.82); flex: 1; }
.op-src { margin: 6px 0 0; display: flex; align-items: center; gap: 8px; font: 600 0.78rem/1 var(--font-nav); color: #f4f6fa; }
.op-src img { width: 18px; height: 18px; object-fit: contain; filter: brightness(2.4) contrast(1.1); }
.op-g { font: 600 0.95rem/1 Arial, sans-serif; letter-spacing: -0.02em; }
.op-g b:nth-child(1), .op-g b:nth-child(4) { color: #4285f4; }
.op-g b:nth-child(2), .op-g b:nth-child(6) { color: #ea4335; }
.op-g b:nth-child(3) { color: #fbbc05; }
.op-g b:nth-child(5) { color: #34a853; }
.op-prod { margin: 0; font-size: 0.74rem; color: var(--ink-muted); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
a.op-prod:hover { color: #f4f6fa; }
.op-card-cta { justify-content: center; border-style: dashed; border-color: rgba(255,122,26,0.4); }
.op-card-cta .op-text { flex: 0; }
.op-card.is-new { animation: op-new .8s ease; }
@keyframes op-new { from { opacity: 0; transform: scale(.92); } }

/* form */
body.op-lock { overflow: hidden; }
.op-modal {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px;
  background: rgba(4,6,10,0.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.op-modal[hidden] { display: none; }
.op-form {
  position: relative; width: min(480px, 100%); max-height: calc(100vh - 32px); overflow: hidden auto;
  padding: 28px 26px 26px; border-radius: 18px; display: grid; gap: 14px;
  background: linear-gradient(160deg, #161b24, #0c0f15); border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.9);
}
.op-form h3 { margin: -6px 0 0; font: 700 1.35rem/1.2 "Montserrat", var(--font-body); color: #f4f6fa; text-transform: none; }
.op-form label { display: grid; gap: 6px; font: 600 0.78rem/1 var(--font-nav); color: var(--ink-muted); }
.op-form input, .op-form select, .op-form textarea {
  width: 100%; padding: 11px 12px; border-radius: 10px; font: 400 0.95rem/1.4 var(--font-body); color: #f4f6fa;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14);
}
.op-form select option, .op-form select optgroup { background: #12161e; color: #f4f6fa; }
.op-form input:focus, .op-form select:focus, .op-form textarea:focus { outline: none; border-color: #ff7a1a; }
.op-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .op-row { grid-template-columns: 1fr; } }
.op-close { position: absolute; top: 10px; right: 12px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255,255,255,0.06); color: #f4f6fa; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.op-rate { border: 0; padding: 0; margin: 0; display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.op-rate legend { font: 600 0.78rem/1 var(--font-nav); color: var(--ink-muted); margin-bottom: 8px; padding: 0; }
.op-rate input { position: absolute; opacity: 0; pointer-events: none; }
.op-rate label { font-size: 1.9rem; color: rgba(255,255,255,0.2); cursor: pointer; transition: color .15s; }
.op-rate label:hover, .op-rate label:hover ~ label, .op-rate input:checked ~ label { color: #ff7a1a; }
.op-rate input:focus-visible + label { outline: 2px solid #ff7a1a; outline-offset: 2px; border-radius: 4px; }
.op-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.op-msg { margin: 0; min-height: 1.2em; font-size: 0.85rem; color: var(--ink-muted); }
.op-msg.is-err { color: #ff8a7a; }
.op-msg.is-ok { color: #7fe0a6; }
/* intro already crossed (js/logo-3d.js removes it): the hero is the top of the page */
body.li-done .hw { margin-top: 0; }

/* ---------- Home loader (js/logo-3d.js) ----------
   Like a preloader: the mark turns while the counter runs to 100, a cold
   steel light rises from below and thin lines sweep across. At 100 the
   loader fades straight into the home and the hero copy comes in. Once per
   page load. */
:root { --li-c: 58, 84, 120; }                 /* the light: dark steel, like glass edge-on */
html.li-lock, html.li-lock body { overflow: hidden; }
.li {
  position: fixed; inset: 0; height: 100vh !important; height: 100svh !important; z-index: 5000; pointer-events: auto; overflow: hidden;
  background: var(--bg); transition: background-color 0.9s ease 0.15s;
}
.li-stage { position: absolute; inset: 0; height: auto; background: none; transition: opacity 0.5s ease; }
.li + .hw { margin-top: 0; }

.li-glow {                                     /* light rising from below while it loads */
  position: absolute; left: -20%; right: -20%; bottom: -60%; height: 120%; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(110, 138, 178, 0.5), rgba(var(--li-c), 0.2) 45%, transparent 70%);
  transform: translateY(55%); animation: li-rise 4.6s cubic-bezier(.4, 0, .2, 1) forwards;
}
@keyframes li-rise { to { transform: translateY(8%); } }

.li-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.li-lines path {
  fill: none; stroke: rgba(225, 235, 255, 0.55); stroke-width: 1; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 1; animation: li-draw 3.4s cubic-bezier(.5, 0, .3, 1) forwards;
}
.li-lines path:nth-child(2) { stroke: rgba(var(--li-c), 0.7); animation-delay: 0.5s; }
.li-lines path:nth-child(3) { animation-delay: 1.1s; stroke: rgba(225, 235, 255, 0.35); }
.li-lines path:nth-child(4) { animation-delay: 1.6s; stroke: rgba(var(--li-c), 0.5); }
@keyframes li-draw { to { stroke-dashoffset: 0; } }

.li.li-out { opacity: 0; pointer-events: none; transition: opacity 0.7s ease; }
.li.li-out .li-glow { opacity: 0; transition: opacity 0.6s ease; }

.li-deg { left: auto; right: clamp(24px, 4vw, 56px); bottom: clamp(18px, 3vw, 36px); transform: none; align-items: flex-end; gap: 6px; }
.li-deg b { font: 400 clamp(2.6rem, 5vw, 4.2rem)/1 "DotGothic16", var(--font-display); letter-spacing: 0.02em; color: rgb(196, 212, 236); text-shadow: 0 0 18px rgba(150, 180, 225, 0.6); }
.li-deg span { font: 500 0.72rem/1 var(--font-nav); letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-muted); }
.li-skip {
  position: absolute; left: clamp(16px, 3vw, 44px); bottom: clamp(22px, 3vw, 40px); padding: 8px 14px; border-radius: 999px;
  background: none; border: 1px solid rgba(255,255,255,0.18); color: var(--ink-muted); font: 500 0.74rem/1 var(--font-nav);
  letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; transition: color .2s, border-color .2s;
}
.li-skip:hover { color: #fff; border-color: rgba(255,255,255,0.5); }

.hw { position: relative; z-index: 1; }

/* hero copy comes in as the loader fades */
.hw-copy, header, .wa-float { transition: opacity 0.9s ease 0.35s, transform 0.9s cubic-bezier(.2, .7, .2, 1) 0.35s, visibility 0.9s ease 0.35s; }
body.li-active .hw-copy { opacity: 0; transform: translateY(26px); }
body.li-active header, body.li-active .wa-float { opacity: 0; visibility: hidden; }

/* ---------- Showroom virtual (/showroom, js/showroom.js) ----------
   A full-screen 3D room with every LED mirror; a tour-style toolbar at the
   bottom, numbered dots on the mirrors, the mirror's card and a list. */
body.page-showroom { overflow: hidden; background: #0b0c10; }
body.page-showroom header { background: linear-gradient(to bottom, rgba(8,9,12,0.75), transparent); }
.sr { position: fixed; inset: 0; color: #f4f6fa; font-family: var(--font-body); }
.sr-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; }
.sr-canvas.is-drag { cursor: grabbing; }
.sr-k { margin: 0; font: 600 0.68rem/1.2 var(--font-nav); letter-spacing: 0.2em; text-transform: uppercase; color: rgba(235,240,247,0.62); }

.sr-title { position: absolute; left: clamp(16px, 3vw, 40px); top: 104px; pointer-events: none; text-shadow: 0 2px 20px rgba(0,0,0,0.6); }
.sr-title h1 { margin: 6px 0 0; font: 800 clamp(1.4rem, 2.6vw, 2.1rem)/1 "Montserrat", var(--font-display); }
.sr-hint {
  position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%); margin: 0; padding: 10px 16px; border-radius: 999px;
  background: rgba(10,12,16,0.62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 0.82rem; white-space: nowrap; pointer-events: none; transition: opacity .6s ease;
}
.sr-hint.is-gone { opacity: 0; }
@media (max-width: 760px) { .sr-hint { white-space: normal; text-align: center; width: calc(100% - 32px); } }

/* numbered dots on the mirrors */
.sr-hots { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.sr-hot {
  position: absolute; left: -15px; top: -15px; width: 30px; height: 30px; border-radius: 50%; pointer-events: auto; cursor: pointer;
  border: 1.5px solid rgba(255,255,255,0.9); background: rgba(12,14,18,0.55); color: #fff; font: 700 0.74rem/1 "Montserrat", sans-serif;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 0 0 0 rgba(255,255,255,0.5);
  animation: sr-pulse 2.6s ease-out infinite; transition: background .2s, color .2s;
}
.sr-hot:hover, .sr-hot.is-on { background: #fff; color: #0b0c10; }
@keyframes sr-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.45); } 70%, 100% { box-shadow: 0 0 0 12px rgba(255,255,255,0); } }

/* the mirror's card */
.sr-card {
  position: absolute; left: clamp(16px, 3vw, 40px); bottom: 96px; width: min(380px, calc(100% - 32px));
  display: grid; grid-template-columns: 112px 1fr; gap: 14px; padding: 14px; border-radius: 16px;
  background: rgba(14,16,21,0.82); border: 1px solid rgba(255,255,255,0.12);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 20px 50px -20px rgba(0,0,0,0.8);
  animation: sr-in .45s cubic-bezier(.2,.7,.2,1);
}
.sr-card[hidden] { display: none; }
@keyframes sr-in { from { opacity: 0; transform: translateY(14px); } }
.sr-card img { width: 112px; height: 100%; min-height: 140px; object-fit: cover; border-radius: 10px; }
.sr-card h2 { margin: 6px 0 4px; font: 700 1.02rem/1.25 "Montserrat", sans-serif; text-transform: none; letter-spacing: 0; padding-right: 22px; }
.sr-range { margin: 0; font-size: 0.82rem; color: rgba(235,240,247,0.7); }
.sr-tags { list-style: none; margin: 10px 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sr-tags li { padding: 4px 9px; border-radius: 999px; font-size: 0.7rem; background: rgba(255,255,255,0.08); }
.sr-card-ctas { display: flex; flex-wrap: wrap; gap: 8px; }
.sr-card-ctas .hw-btn { height: 38px; padding: 0 16px; font-size: 0.74rem; }
.sr-x { position: absolute; top: 8px; right: 10px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(255,255,255,0.08); color: #fff; font-size: 1.1rem; line-height: 1; cursor: pointer; }
@media (max-width: 760px) {
  .sr-card { bottom: 84px; grid-template-columns: 84px 1fr; }
  .sr-card img { width: 84px; min-height: 110px; }
  .sr-title { top: 84px; }
}

/* list of all mirrors */
.sr-list {
  position: absolute; right: clamp(16px, 3vw, 40px); top: 104px; bottom: 96px; width: 280px; overflow: auto; padding: 14px;
  border-radius: 16px; background: rgba(14,16,21,0.82); border: 1px solid rgba(255,255,255,0.12);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); animation: sr-in .35s ease;
}
.sr-list[hidden] { display: none; }
.sr-list ol { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.sr-list button {
  width: 100%; display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 10px; border: 0; cursor: pointer;
  background: transparent; color: #f4f6fa; text-align: left; font: 500 0.82rem/1.25 var(--font-body);
}
.sr-list button:hover { background: rgba(255,255,255,0.08); }
.sr-list img { width: 46px; height: 46px; object-fit: cover; border-radius: 8px; flex: none; }
.sr-list b { display: block; font: 700 0.66rem/1 "Montserrat", sans-serif; color: rgba(235,240,247,0.55); margin-bottom: 3px; }
@media (max-width: 760px) { .sr-list { left: 16px; right: 16px; width: auto; top: 84px; bottom: 84px; } }

/* toolbar */
.sr-bar {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; align-items: center; gap: 4px; padding: 6px;
  border-radius: 999px; background: rgba(14,16,21,0.82); border: 1px solid rgba(255,255,255,0.12);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); max-width: calc(100% - 24px);
}
.sr-bar > button {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; border: 0; cursor: pointer;
  background: transparent; color: #f4f6fa; font: 600 0.78rem/1 "Montserrat", sans-serif; white-space: nowrap; transition: background .2s;
}
.sr-bar > button[hidden] { display: none; }
.sr-bar > button:hover, .sr-bar > button.is-on, .sr-bar > button[aria-expanded="true"] { background: rgba(255,255,255,0.12); }
.sr-bar svg { width: 18px; height: 18px; flex: none; }
.sr-tones { display: flex; gap: 4px; padding-left: 8px; margin-left: 4px; border-left: 1px solid rgba(255,255,255,0.14); }
.sr-tones button { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid transparent; background: none; padding: 0; cursor: pointer; display: grid; place-items: center; }
.sr-tones button.is-on { border-color: #fff; }
.sr-tones i { width: 18px; height: 18px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
@media (max-width: 760px) { .sr-bar > button span { display: none; } .sr-bar > button { padding: 0 12px; } }

.sr-load { position: absolute; inset: 0; display: grid; place-items: center; background: #0b0c10; transition: opacity .8s ease, visibility .8s; font-size: 0.9rem; color: rgba(235,240,247,0.7); }
.sr-load.is-out { opacity: 0; visibility: hidden; }
.sr-load a, .sr-nojs a { color: #fff; }
.sr-nojs { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; }
/* links to the virtual showroom */
.mw-showroom {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; padding: 10px 16px; border-radius: 999px; pointer-events: auto;
  color: #fff; text-decoration: none; font: 600 0.8rem/1 "Montserrat", sans-serif; border: 1px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.06); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .2s, border-color .2s;
}
.mw-showroom:hover { background: rgba(255,255,255,0.16); border-color: #fff; }
.mw-showroom svg { width: 18px; height: 18px; }
.dropdown .dd-showroom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 4px; padding-top: 10px; font-weight: 600; }
/* showroom welcome */
.sr-welcome { position: absolute; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgba(6,7,10,0.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: opacity .5s ease; }
.sr-welcome[hidden] { display: none; }
.sr-welcome.is-out { opacity: 0; pointer-events: none; }
.sr-welcome-box {
  width: min(640px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: clamp(22px, 4vw, 36px); border-radius: 22px; text-align: center;
  background: linear-gradient(160deg, rgba(26,30,38,0.96), rgba(12,14,19,0.96)); border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.9); animation: sr-in .5s cubic-bezier(.2,.7,.2,1);
}
.sr-welcome-box h2 { margin: 10px 0 22px; font: 800 clamp(1.35rem, 3vw, 1.9rem)/1.15 "Montserrat", sans-serif; text-transform: none; }
.sr-how { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.sr-how li { display: grid; justify-items: center; gap: 6px; padding: 16px 10px; border-radius: 14px; background: rgba(255,255,255,0.05); }
.sr-how svg { width: 52px; height: 52px; color: #fff; margin-bottom: 4px; }
.sr-how b { font: 700 0.92rem/1.2 "Montserrat", sans-serif; }
.sr-how span { font-size: 0.8rem; line-height: 1.35; color: rgba(235,240,247,0.7); }
.sr-anim-drag { animation: sr-drag 1.8s ease-in-out infinite; }
@keyframes sr-drag { 0%, 100% { transform: translateX(-4px); } 50% { transform: translateX(4px); } }
.sr-anim-ring { transform-origin: 24px 36px; animation: sr-ring 1.6s ease-out infinite; }
@keyframes sr-ring { from { transform: scale(0.4); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
.sr-welcome-ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.sr-welcome-foot { margin: 18px 0 0; font-size: 0.78rem; color: rgba(235,240,247,0.6); }
@media (max-width: 560px) { .sr-how { grid-template-columns: 1fr; } .sr-how li { grid-template-columns: 44px 1fr; justify-items: start; text-align: left; column-gap: 12px; } .sr-how svg { grid-row: span 2; width: 44px; height: 44px; margin: 0; } }
.sr-card .sr-k { padding-right: 26px; }
.sr-design { margin: 8px 0 0; font-size: 0.74rem; line-height: 1.4; color: rgba(235,240,247,0.85); }
.sr-design span { display: block; font: 600 0.62rem/1.4 var(--font-nav); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(235,240,247,0.5); }
.sr-tones[hidden] { display: none; }
.sr-door {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; height: 34px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255,255,255,0.35); background: rgba(255,255,255,0.06); color: #fff; font: 600 0.74rem/1 "Montserrat", sans-serif;
}
.sr-door[hidden] { display: none; }
.sr-door:hover { background: rgba(255,255,255,0.16); }
.sr-door svg { width: 16px; height: 16px; }

/* ---------- Diseña tu baño (/disena) ---------- */
.page-planner .sr-hots, .page-planner .sr-hint, .page-planner [data-sr-tour], .page-planner [data-sr-list-btn] { display: none !important; }
.page-planner .sr-title { left: auto; right: clamp(16px, 3vw, 40px); text-align: right; }
.page-planner .sr-bar > button.is-on { background: rgba(255,255,255,0.16); }
.pl-panel {
  position: absolute; z-index: 30; left: clamp(12px, 2vw, 28px); top: 96px; bottom: 24px; width: 340px; display: flex; flex-direction: column;
  border-radius: 18px; background: rgba(14,16,21,0.88); border: 1px solid rgba(255,255,255,0.12);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 24px 60px -24px rgba(0,0,0,0.9);
}
.pl-toggle { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 18px; border: 0; background: none; color: #f4f6fa; cursor: pointer; font: 700 0.86rem/1 "Montserrat", sans-serif; }
.pl-toggle svg { width: 18px; height: 18px; transition: transform .25s; }
.pl-panel.is-closed { bottom: auto; }
.pl-panel.is-closed .pl-body { display: none; }
.pl-panel.is-closed .pl-toggle svg { transform: rotate(-90deg); }
.pl-body { overflow: auto; padding: 0 18px 18px; overscroll-behavior: contain; }
.pl-body section { padding: 14px 0; border-top: 1px solid rgba(255,255,255,0.08); }
.pl-body h3 { margin: 0 0 10px; font: 700 0.8rem/1.2 "Montserrat", sans-serif; letter-spacing: 0.04em; text-transform: uppercase; color: #f4f6fa; }
.pl-sub { margin: 12px 0 6px; font: 600 0.68rem/1 var(--font-nav); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(235,240,247,0.55); }
.pl-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.pl-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 7px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.04); color: #e9edf3; font: 500 0.74rem/1 var(--font-body);
}
.pl-chip i { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25); flex: none; }
.pl-chip:hover { border-color: rgba(255,255,255,0.4); }
.pl-chip.is-on { border-color: #fff; background: rgba(255,255,255,0.14); }
.pl-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pl-thumbs button {
  display: grid; gap: 4px; padding: 4px; border-radius: 10px; cursor: pointer; text-align: left;
  border: 1.5px solid transparent; background: rgba(255,255,255,0.04); color: #e9edf3; font: 500 0.64rem/1.2 var(--font-body);
}
.pl-thumbs img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 7px; display: block; }
.pl-thumbs span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.4em; }
.pl-thumbs .pl-none { display: grid; place-items: center; aspect-ratio: 4 / 5; min-height: 0; border-radius: 7px; border: 1px dashed rgba(255,255,255,0.25); text-align: center; -webkit-line-clamp: unset; }
.pl-thumbs button:hover { border-color: rgba(255,255,255,0.35); }
.pl-thumbs button.is-on { border-color: #fff; background: rgba(255,255,255,0.12); }
.pl-range { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 10px; margin: 6px 0 10px; font: 600 0.78rem/1 var(--font-body); color: #e9edf3; }
.pl-range output { font-weight: 700; }
.pl-range input { grid-column: 1 / -1; width: 100%; accent-color: #fff; }
.pl-apply, .pl-link { margin-top: 4px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.4); background: rgba(255,255,255,0.08); color: #fff; cursor: pointer; font: 600 0.74rem/1 "Montserrat", sans-serif; }
.pl-apply[hidden] { display: none; }
.pl-link { border: 0; background: none; padding: 8px 0; text-decoration: underline; text-underline-offset: 3px; }
.pl-sum { margin: 0 0 12px; display: grid; gap: 4px; font-size: 0.76rem; line-height: 1.4; color: rgba(235,240,247,0.85); }
.pl-sum span::before { content: "· "; color: rgba(235,240,247,0.4); }
.pl-out .hw-btn { height: 42px; padding: 0 18px; font-size: 0.76rem; margin: 0 6px 8px 0; }
@media (max-width: 760px) {
  .pl-panel { left: 8px; right: 8px; width: auto; top: auto; bottom: 84px; max-height: 52vh; }
  .pl-panel.is-closed { max-height: none; }
  .page-planner .sr-title { display: none; }
}

/* ---------- Home: Diseña tu baño ---------- */
.dz { position: relative; z-index: 1; padding: clamp(64px, 9vw, 110px) 0 0; }
.dz-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.dz-copy h2 { margin: 6px 0 14px; font: 800 clamp(1.7rem, 3.4vw, 2.7rem)/1.08 "Montserrat", var(--font-display); color: #f4f6fa; text-transform: none; }
.dz-lede { margin: 0 0 22px; max-width: 46ch; color: var(--ink-muted); line-height: 1.6; }
.dz-steps { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; }
.dz-steps li { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 12px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); color: #e9edf3; font-size: 0.92rem; }
.dz-steps b { font: 800 0.8rem/1 "Montserrat", sans-serif; color: rgba(235,240,247,0.5); }
.dz-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.dz-preview {
  position: relative; display: block; border-radius: 20px; overflow: hidden; aspect-ratio: 860 / 600;
  background: radial-gradient(70% 70% at 50% 50%, #1a1d24, #0b0c10); border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 40px 90px -40px rgba(0,0,0,0.9); transition: transform .5s cubic-bezier(.2,.7,.2,1), border-color .3s;
}
.dz-preview:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.25); }
.dz-preview img { width: 100%; height: 100%; object-fit: cover; display: block; mix-blend-mode: lighten; }
.dz-tag { position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: 999px; background: rgba(10,12,16,0.7); color: #fff; font: 600 0.74rem/1 "Montserrat", sans-serif; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
@media (max-width: 860px) { .dz-wrap { grid-template-columns: 1fr; } }
/* way out of the showroom / planner */
.sr-exit {
  position: absolute; z-index: 40; right: clamp(16px, 3vw, 40px); top: 96px; display: inline-flex; align-items: center; gap: 6px;
  height: 38px; padding: 0 16px 0 10px; border-radius: 999px; text-decoration: none; color: #fff;
  font: 600 0.78rem/1 "Montserrat", sans-serif; background: rgba(14,16,21,0.8); border: 1px solid rgba(255,255,255,0.3);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .2s, border-color .2s;
}
.sr-exit:hover { background: rgba(255,255,255,0.16); border-color: #fff; }
.sr-exit svg { width: 18px; height: 18px; }
.page-showroom .sr-title { top: 146px; }
.page-planner .sr-title { top: 146px; }
.sr-list { top: 146px; }
@media (max-width: 760px) { .sr-exit { top: 78px; right: 12px; height: 34px; } .page-showroom .sr-title { top: 120px; } }
/* cinematic intro: deep black, fades out into the home */
.li { background: #000 !important; }
.li.li-out { opacity: 0; transition: opacity 0.85s ease; }
.li-skip { opacity: 0.45; }
.li-skip:hover { opacity: 1; }

/* Home intro, video version (views/partials/logo-intro.ejs, js/logo-intro.js):
   the "glass arrives" clip fills the screen; at the end the original logo
   appears inside the glass with a silver light sweep, then it fades to home. */
.li-video { background: #000 !important; }
.li-film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.li-vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0,0,0,0.55) 100%); }
.li-mark {
  position: absolute; left: 50%; top: 50%; height: min(58vh, 74vw); aspect-ratio: 290 / 510;
  transform: translate(-50%, -46%) scale(0.96); opacity: 0; pointer-events: none;
  filter: drop-shadow(0 0 22px rgba(190, 220, 255, 0.35)) drop-shadow(0 8px 30px rgba(0,0,0,0.6));
  transition: opacity 0.6s ease, transform 1.8s cubic-bezier(.2, .7, .2, 1);
}
.li-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.li-sweep {                                    /* light passing over the metal, only where the logo is */
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  -webkit-mask: url(/images/logo-mark.png) center / contain no-repeat; mask: url(/images/logo-mark.png) center / contain no-repeat;
  background: linear-gradient(115deg, transparent 40%, rgba(235, 245, 255, 0.8) 50%, transparent 60%) 0 0 / 300% 100% no-repeat;
  background-position: 100% 0;
}
.li-marked .li-mark { opacity: 1; transform: translate(-50%, -46%) scale(1); }
.li-marked .li-sweep { transition: background-position 1.1s cubic-bezier(.5, 0, .3, 1) 0.3s; background-position: 0% 0; }
.li-still .li-film { animation: li-kb 3s ease-out forwards; }
@keyframes li-kb { from { transform: scale(1.06); } to { transform: scale(1); } }

/* /pagar — online payment with PSE (views/pagar.ejs, js/pagar.js) */
.py { padding-top: clamp(120px, 16vh, 170px); padding-bottom: 90px; }
.py-k { margin: 0 0 14px; font: 600 0.78rem/1 var(--font-nav); letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-muted); }
.py-intro h1 { margin: 0; font: 700 clamp(2.2rem, 5vw, 3.8rem)/1.02 var(--font-display); letter-spacing: -0.02em; color: var(--ink); }
.py-lead { max-width: 60ch; margin: 18px 0 0; font-size: 1.05rem; line-height: 1.55; color: var(--ink-muted); }
.py-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(18px, 3vw, 36px); margin-top: clamp(30px, 5vw, 52px); align-items: start; }
.py-card, .py-steps { border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 3vw, 34px); background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015)); }
.py-card h2, .py-steps h2 { margin: 0 0 10px; font: 700 1.05rem/1.2 var(--font-display); color: var(--ink); }
.py-card h2 + .py-go { margin-top: 6px; }
.py-card h2:not(:first-child) { margin-top: 30px; }
.py-help { margin: 0 0 18px; color: var(--ink-muted); line-height: 1.5; font-size: 0.95rem; }
.py-help b { color: var(--ink); font-weight: 600; }
.py-field { display: block; margin-bottom: 14px; }
.py-field span { display: block; margin-bottom: 7px; font: 500 0.82rem/1.2 var(--font-nav); color: var(--ink-muted); }
.py-field input {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0,0,0,0.35);
  color: var(--ink); font: 500 1rem/1.2 var(--font-nav); outline: none; transition: border-color .2s, box-shadow .2s;
}
.py-field input:focus { border-color: rgba(190, 215, 255, 0.6); box-shadow: 0 0 0 3px rgba(150, 190, 240, 0.15); }
.py-ref { margin-top: 6px; padding: 14px 16px; border-radius: 14px; background: rgba(150, 190, 240, 0.08); border: 1px dashed rgba(190, 215, 255, 0.35); }
.py-ref > span { font: 500 0.78rem/1 var(--font-nav); color: var(--ink-muted); }
.py-ref-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.py-ref output { font: 700 clamp(1.2rem, 3vw, 1.5rem)/1.1 var(--font-nav); letter-spacing: 0.06em; color: var(--ink); word-break: break-all; }
.py-ref small { display: block; margin-top: 8px; color: var(--ink-muted); }
.py-copy { flex: none; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.3); background: none; color: var(--ink); font: 600 0.82rem/1 var(--font-nav); cursor: pointer; }
.py-copy:hover { background: rgba(255,255,255,0.08); }
.py-msg { min-height: 1.2em; margin: 10px 0 0; font-size: 0.88rem; color: var(--ink-muted); }
.py-msg.is-ok { color: #9fe0b8; }
.py-go { display: inline-flex; }
.py-note { margin: 14px 0 0; font-size: 0.82rem; line-height: 1.5; color: var(--ink-muted); }
.py-steps ol { margin: 6px 0 0; padding: 0; list-style: none; counter-reset: s; }
.py-steps li { position: relative; padding: 0 0 16px 44px; color: var(--ink-muted); line-height: 1.5; counter-increment: s; }
.py-steps li b { color: var(--ink); font-weight: 600; }
.py-steps li::before {
  content: counter(s); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--line); font: 700 0.85rem/1 var(--font-nav); color: var(--ink);
}
.py-safe { display: flex; gap: 12px; margin-top: 8px; padding: 14px; border-radius: 14px; background: rgba(255,255,255,0.04); }
.py-safe svg { flex: none; width: 24px; height: 24px; color: #9fe0b8; }
.py-safe p { margin: 0; font-size: 0.88rem; line-height: 1.5; color: var(--ink-muted); }
.py-contact { margin: 16px 0 0; font-size: 0.9rem; color: var(--ink-muted); }
.py-contact a { color: var(--ink); }
@media (max-width: 860px) { .py-grid { grid-template-columns: 1fr; } }
