/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  color: #0A0A0A;
  background: #fff;
  overflow-x: hidden;
}

/* ===== VARIABLES ===== */
:root {
  --gray-bg: #EFEFEF;
  --dark-bg: #111111;
  --white: #FFFFFF;
  --black: #0A0A0A;
  --mid-gray: #888888;
  --font-xl: clamp(36px, 6vw, 72px);
  --font-lg: clamp(28px, 4vw, 52px);
  --font-md: clamp(20px, 2.5vw, 32px);
  --font-sm: 14px;
  --tracking-wide: 0.12em;
  /* Hero global (misma escala que Crestron Home OS en index) */
  --site-hero-min-height: clamp(420px, min(92svh, 100vh), 1080px);
  --site-hero-min-height-mobile: clamp(420px, min(88svh, 100vh), 960px);
  --site-hero-grid: minmax(0, 0.82fr) minmax(0, 1.18fr);
}

.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;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 64px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.navbar-left { display: flex; align-items: center; gap: 20px; }
.menu-btn {
  display: flex; align-items: center; gap: 8px;
  background: none; border: none; cursor: pointer;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: #0A0A0A;
}
.menu-btn svg { width: 18px; height: 18px; }
.logo {
  font-size: 16px; font-weight: 700; letter-spacing: 0.05em;
  text-decoration: none; color: #0A0A0A;
  text-transform: uppercase;
}
.logo span { font-weight: 300; }
.navbar-right { display: flex; align-items: center; gap: 24px; }
.navbar-right a {
  font-size: 14px; color: #0A0A0A; text-decoration: none;
  transition: opacity 0.2s;
}
.navbar-right a:hover { opacity: 0.6; }
.btn-download {
  background: #0A0A0A; color: #fff;
  border: none; padding: 10px 20px;
  font-size: 13px; font-weight: 600;
  border-radius: 4px; cursor: pointer;
  transition: background 0.2s;
}
.btn-download:hover { background: #333; }

/* ===== MEGA MENU (sidebar — panel de navegación) ===== */
.mega-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: min(420px, 93vw);
  height: 100vh;
  max-height: 100dvh;
  z-index: 2000;
  padding: 96px 22px 36px 26px;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
  transform: translateX(-100%);
  transition: transform 0.42s cubic-bezier(0.32, 0.72, 0, 1);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.04) 0%, transparent 42%),
    linear-gradient(180deg, #0e0e12 0%, #080809 38%, #060607 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    16px 0 72px rgba(0, 0, 0, 0.55),
    1px 0 0 rgba(255, 255, 255, 0.04) inset;
}
.mega-menu::-webkit-scrollbar {
  width: 7px;
}
.mega-menu::-webkit-scrollbar-track {
  background: transparent;
}
.mega-menu::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 99px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
.mega-menu.open {
  transform: translateX(0);
}
.mega-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.38s ease;
  background: rgba(8, 8, 10, 0.52);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.mega-menu-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.menu-close {
  position: absolute;
  top: 20px;
  left: 22px;
  right: auto;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  color: #f5f5f5;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  transition: border-color 0.22s, background 0.22s, transform 0.22s, color 0.22s;
}
.menu-close:hover,
.menu-close:focus-visible {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  transform: scale(1.04);
}
.menu-close:active {
  transform: scale(0.97);
}
.menu-close__glyph {
  font-size: 24px;
  font-weight: 250;
  margin-top: -3px;
  opacity: 0.92;
}
.menu-section {
  padding-bottom: 22px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}
.mega-menu .menu-section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}
.menu-section h4 {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 14px;
  padding-left: 2px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}
.menu-section h4::before {
  content: "";
  width: 3px;
  height: 13px;
  flex-shrink: 0;
  border-radius: 2px;
  background: linear-gradient(180deg, #d4b347 0%, #8f7318 100%);
  box-shadow: 0 0 14px rgba(201, 162, 39, 0.35);
}
.menu-section:first-of-type h4 {
  margin-top: 0;
}
.menu-section ul {
  list-style: none;
}
.menu-section ul li {
  margin-bottom: 4px;
}
.menu-section ul li:last-child {
  margin-bottom: 0;
}
.menu-section ul li a {
  display: block;
  font-size: clamp(16px, 4vw, 20px);
  line-height: 1.3;
  color: rgba(250, 250, 250, 0.94);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.025em;
  padding: 11px 14px;
  margin-inline: -6px;
  border-radius: 11px;
  border: 1px solid transparent;
  transition:
    background 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease;
}
.menu-section ul li a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.09);
  transform: translateX(5px);
}
.menu-section ul li a:focus-visible {
  outline: 2px solid rgba(212, 179, 71, 0.65);
  outline-offset: 2px;
}
/* Soporte / enlaces secundarios */
.menu-section--secondary {
  padding-top: 10px;
}
.menu-section--secondary h4 {
  color: rgba(255, 255, 255, 0.32);
  margin-bottom: 12px;
}
.menu-section--secondary h4::before {
  height: 11px;
  opacity: 0.55;
  box-shadow: none;
}
.menu-section--secondary ul li a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(200, 200, 205, 0.85);
  padding: 9px 14px;
}
.menu-section--secondary ul li a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .mega-menu {
    transition: transform 0.01ms;
  }
  .mega-menu-overlay {
    transition: opacity 0.01ms;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .menu-close:hover,
  .menu-close:focus-visible,
  .menu-close:active {
    transform: none;
  }
  .menu-section ul li a:hover {
    transform: none;
  }
}

/* ===== HERO SPLIT (páginas de producto) — misma escala que home-hero OS4 ===== */
.hero-split {
  display: grid;
  grid-template-columns: var(--site-hero-grid);
  align-items: stretch;
  min-height: var(--site-hero-min-height);
  padding-top: 0;
}
.hero-left {
  background: var(--gray-bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  padding: clamp(40px, 5.5vh, 60px) clamp(40px, 4vw, 60px);
}
.hero-right {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: center;
  align-self: stretch;
  min-height: 0;
  background: #0a0a0a;
}
.hero-split .hero-right img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  display: block;
  object-fit: cover;
  object-position: center center;
}
.hero-right .hero-right-img {
  object-position: right center;
}
/* Termostatos: encuadre hacia la zona del dispositivo en la pared */
.page-termostatos .hero-split .hero-right img {
  object-position: 32% 42%;
}
/* Acceso al hogar: entrada y accesos en el encuadre */
.page-acceso-hogar .hero-split .hero-right img {
  object-position: 50% 38%;
}
.hero-split.hero-split--compact .hero-left {
  padding: clamp(40px, 5.5vh, 56px) clamp(40px, 4vw, 60px);
}
/* Iluminación: aire entre hero y bloque intro (evita dos imágenes pegadas) */
.hero-split + .section-intro.lighting-intro {
  margin-top: clamp(12px, 2vw, 28px);
}
.hero-subcopy {
  font-size: 16px;
  line-height: 1.7;
  color: #3a3a3a;
  max-width: 44ch;
  margin-bottom: 22px;
}
.hero-split .hero-right video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  display: block;
}
.category-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  margin-bottom: 48px;
}
.supertitle {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 16px;
}
.hero-title {
  font-size: var(--font-xl);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.0;
  margin-bottom: 40px;
}
/* Hero iluminación: entrada suave + palabra resaltada */
.hero-title--iluminacion {
  animation: hero-title-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes hero-title-rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-title-highlight {
  position: relative;
  display: inline-block;
  font-weight: 900;
  color: #a88616;
  text-shadow: 0 0 22px rgba(201, 162, 39, 0.18);
  animation: hero-word-glow 4.5s ease-in-out infinite;
}
@keyframes hero-word-glow {
  0%,
  100% {
    color: #8f7318;
    text-shadow: 0 0 14px rgba(201, 162, 39, 0.12);
  }
  50% {
    color: #c9a227;
    text-shadow: 0 0 36px rgba(201, 162, 39, 0.42);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-title--iluminacion {
    animation: none;
  }
  .hero-title-highlight {
    animation: none;
    color: #c9a227;
    text-shadow: none;
  }
}
.scroll-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,0.25);
  background: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s;
}
.scroll-btn:hover { border-color: #000; }

/* ===== SECTION INTRO ===== */
.section-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  min-height: 0;
}
.section-intro-left {
  background: var(--gray-bg);
  padding: 80px 60px;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.section-intro-right {
  padding: 80px 60px;
}

/* Intro iluminación: imagen como superficie del panel (no “cajita” flotante) */
.section-intro.lighting-intro {
  align-items: stretch;
  min-height: 0;
}
.lighting-intro {
  overflow-x: hidden;
}
.lighting-intro .section-intro-left {
  position: relative;
  overflow: hidden;
  padding: 0;
  justify-content: flex-end;
  min-height: min(62vh, 640px);
  background: var(--gray-bg);
}
.lighting-intro-figure {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  z-index: 0;
  pointer-events: none;
}
.lighting-intro-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 44%;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
/* Funde la foto con el gris del layout y deja zona legible para el titular */
.lighting-intro .section-intro-left::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(239, 239, 239, 0.08) 0%,
    rgba(239, 239, 239, 0.22) 22%,
    rgba(239, 239, 239, 0.72) 55%,
    rgba(239, 239, 239, 0.96) 78%,
    #efefef 100%
  );
}
.lighting-intro-title {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 36px 56px 64px 60px;
  max-width: 18ch;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
}
.lighting-intro .section-intro-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fafafa;
  border-left: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.85);
  padding: 80px 64px 80px 72px;
}
.intro-accent {
  color: #c9a227;
  font-weight: 600;
}

/* Keypads (Horizon / Cameo): dúo de producto + panel editorial */
.section-intro.keypads-intro {
  align-items: stretch;
}
.keypads-intro .section-intro-left {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  padding: 48px 48px 56px 56px;
  overflow: hidden;
  background:
    linear-gradient(155deg, rgba(201, 162, 39, 0.09) 0%, transparent 45%),
    linear-gradient(168deg, #ebebeb 0%, #e4e4e4 52%, #f1f1f1 100%);
}
.keypads-intro .section-intro-left::before {
  content: "";
  position: absolute;
  top: 0;
  left: 56px;
  width: 56px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #c9a227, rgba(201, 162, 39, 0.2));
}
/* Keypads: fotos arriba (sin recuadro) + titular abajo (Horizon / Cameo) */
.keypads-intro-head {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(22px, 3vw, 34px);
  width: 100%;
  max-width: 480px;
}
.keypads-intro-product-duo {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(16px, 3vw, 32px);
}
.keypads-intro-product-fig {
  margin: 0;
  flex: 0 1 auto;
  max-width: min(46vw, 220px);
  text-align: center;
}
.keypads-intro-product-img {
  display: block;
  margin: 0 auto;
  max-height: min(34vh, 248px);
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.12));
}
.keypads-intro-product-cap {
  margin: 10px 0 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.45);
}
/* Panel de acabados Horizon: sección aparte debajo del bloque keypads */
.horizon-finish-dock {
  background: #f4f4f5;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 56px 48px 64px;
}
.horizon-finish-dock-inner {
  max-width: 1320px;
  margin: 0 auto;
}
.horizon-finish-dock-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 0.34fr);
  gap: 40px 36px;
  align-items: start;
}
.horizon-finish-dock-preview-col {
  position: sticky;
  top: 88px;
  min-width: 0;
}
.horizon-finish-dock-stage {
  display: block;
  padding: 0;
  margin: 0;
  min-height: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.horizon-keypad-interactive {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  line-height: 0;
  container-type: inline-size;
  container-name: horizon-preview;
  font-family: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.horizon-finish-dock-preview {
  width: 100%;
  max-width: 100%;
  max-height: min(74vh, 720px);
  height: auto;
  object-fit: contain;
  object-position: 24% 50%;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.16));
}
.horizon-keypad-interactive.is-scene-layout .horizon-finish-dock-preview {
  aspect-ratio: 2 / 1;
  width: 100%;
  max-height: min(72vh, 700px);
  height: auto;
  object-fit: cover;
  object-position: center center;
}
.horizon-keypad-keys {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
/* Columna de las 5 teclas: altura fija + gap uniforme (evita deriva vs space-between) */
.horizon-keypad-keys-hitzone {
  --hk-key-gap: 1.82%;
  position: absolute;
  pointer-events: none;
  left: 73%;
  width: 23%;
  top: 26%;
  height: 48%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: var(--hk-key-gap);
  box-sizing: border-box;
}
/* Foto panorámica “onsite”: teclado a la izquierda, columna de botones más estrecha */
.horizon-keypad-interactive.is-scene-layout .horizon-keypad-keys-hitzone {
  --hk-key-gap: 2.15%;
  left: 26%;
  width: 14%;
  top: 29%;
  height: 42%;
}
.horizon-keypad-interactive.is-scene-layout .horizon-key {
  font-size: clamp(8px, 0.95vw, 14px);
  font-size: clamp(8px, 4.2cqw, 14px);
}
.horizon-key {
  flex: none;
  height: calc((100% - (4 * var(--hk-key-gap))) / 5);
  min-height: 0;
  pointer-events: auto;
  border: none;
  border-radius: 0;
  cursor: pointer;
  margin: 0;
  padding: 3px 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 500;
  font-size: clamp(7px, 0.72vw, 12px);
  font-size: clamp(7px, 3.4cqw, 12px);
  line-height: 1.1;
  letter-spacing: 0.055em;
  text-align: center;
  background: transparent;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.12s ease;
  -webkit-font-smoothing: antialiased;
}
.horizon-key-label {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  max-width: 100%;
  line-height: 1.45;
  letter-spacing: 0.06em;
  word-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--hk-text-off, #b8b8bc);
  transition: color 0.12s ease;
}
.horizon-key.is-lit .horizon-key-label {
  color: var(--hk-text-on, #fff8e7);
}
/* Teclas 3–5: bajar el texto un poco más en cada una (alineación con el render) */
.horizon-key[data-key-index="2"] .horizon-key-label {
  transform: translateY(2px);
}
.horizon-key[data-key-index="3"] .horizon-key-label {
  transform: translateY(5px);
}
.horizon-key[data-key-index="4"] .horizon-key-label {
  transform: translateY(9px);
}
.horizon-key:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
  border-radius: 2px;
  z-index: 2;
}
.horizon-keypad-controls {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-family: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.horizon-keypad-controls-title {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #555;
}
.horizon-keypad-controls-title--follow {
  margin-top: 16px;
}
.horizon-keypad-label-inputs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}
.horizon-keypad-label-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.horizon-keypad-text-input {
  width: 100%;
  padding: 8px 8px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.03em;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  background: #fff;
}
.horizon-keypad-text-input:focus {
  outline: 2px solid rgba(59, 130, 246, 0.45);
  outline-offset: 1px;
  border-color: rgba(59, 130, 246, 0.35);
}
.horizon-keypad-color-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: flex-end;
  margin-bottom: 4px;
}
.horizon-keypad-color-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #444;
}
.horizon-keypad-color-field input[type="color"] {
  width: 48px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  cursor: pointer;
  background: #fff;
}
.horizon-keypad-hint {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(0, 0, 0, 0.48);
}
.horizon-finish-dock-caption {
  margin: 18px 0 0;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #2a2a2a;
}
.horizon-finish-dock-picker-col {
  min-width: 0;
  padding-top: 4px;
  padding-left: 8px;
  border-left: 1px solid rgba(0, 0, 0, 0.06);
}
.horizon-config-highlight {
  margin: 0 0 26px;
  text-align: center;
  font-size: clamp(1.2rem, 2.5vw, 1.85rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #1e1e1e;
}
.horizon-config-highlight > span {
  display: inline-block;
  white-space: nowrap;
  border-right: 2px solid rgba(30, 30, 30, 0.72);
  padding-right: 4px;
  animation: horizon-caret 0.85s step-end infinite;
}
.horizon-config-highlight .horizon-highlight-em {
  color: #8a6b12;
  background: rgba(201, 162, 39, 0.16);
  border-radius: 6px;
  padding: 0 6px;
  border-right: none;
  animation: none;
}
.horizon-finish-dock-heading {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1a1a1a;
}
.horizon-finish-dock-sub {
  margin: 0 0 32px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.55);
  max-width: 46ch;
}
.horizon-finish-categories {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
@keyframes horizon-caret {
  50% {
    border-color: transparent;
  }
}
@media (prefers-reduced-motion: reduce) {
  .horizon-config-highlight > span {
    animation: none !important;
    width: auto;
    border-right: none;
    padding-right: 0;
  }
}
@media (max-width: 620px) {
  .horizon-config-highlight > span {
    animation: none !important;
    width: auto;
    white-space: normal;
    border-right: none;
    padding-right: 0;
  }
}
.horizon-finish-category {
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.horizon-finish-category:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.horizon-finish-cat-title {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #444;
}
.horizon-finish-cat-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px 28px;
}
.horizon-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 6px 2px 8px;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 10px;
  color: inherit;
  font: inherit;
  transition: background 0.15s ease;
}
.horizon-swatch:hover {
  background: rgba(0, 0, 0, 0.04);
}
.horizon-swatch:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}
.horizon-swatch-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-size: cover;
  background-position: center 38%;
  border: 2px solid rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 1px 4px rgba(255, 255, 255, 0.35);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.horizon-swatch.is-selected .horizon-swatch-circle {
  border-color: #3b82f6;
  box-shadow:
    0 0 0 1px rgba(59, 130, 246, 0.35),
    inset 0 1px 4px rgba(255, 255, 255, 0.3);
}
.horizon-swatch-name {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  color: #222;
  max-width: 110px;
}
.keypads-intro-title {
  position: relative;
  z-index: 3;
  margin: 0;
  max-width: 22ch;
  align-self: center;
  text-align: center;
  text-wrap: balance;
  font-size: clamp(1.65rem, 1.5vw + 1.1rem, 2.35rem);
  line-height: 1.08;
}
.keypads-intro .section-intro-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fafafa;
  border-left: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.85);
  padding: 80px 64px 80px 72px;
}
.keypads-intro-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.keypads-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #141414;
  padding: 8px 14px 8px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}
.keypads-pill:first-child {
  border-color: rgba(201, 162, 39, 0.42);
  background: linear-gradient(180deg, #fffef9 0%, #faf7ef 100%);
}
.keypads-pill img {
  flex-shrink: 0;
}

.section-title {
  font-size: var(--font-lg);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 28px;
}
.section-body {
  font-size: 16px;
  line-height: 1.75;
  color: #333;
  max-width: 480px;
}
.see-products-btn {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 32px;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  border: 1px solid #0A0A0A;
  padding: 12px 24px;
  background: none; cursor: pointer;
  text-decoration: none; color: #0A0A0A;
  transition: background 0.2s, color 0.2s;
}
.see-products-btn:hover { background: #0A0A0A; color: #fff; }

/* ===== FEATURES GRID ===== */
.features-section {
  background: var(--dark-bg);
  color: #fff;
  padding: 100px 80px;
}
.features-section-title {
  font-size: var(--font-md);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 60px;
  text-align: center;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}
.feature-item {}
.feature-icon {
  width: 48px; height: 48px;
  margin-bottom: 24px;
  filter: brightness(0) invert(1);
}
.feature-title {
  font-size: 20px; font-weight: 700;
  margin-bottom: 16px;
}
.feature-body {
  font-size: 15px; line-height: 1.7;
  color: rgba(255,255,255,0.7);
}
.pool-partners-section-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.pool-partners-section-head .pool-partners-icon {
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}
.pool-partners-section-title {
  margin-bottom: 0 !important;
}
.pool-partners-grid .pool-partner-logo {
  display: block;
  width: auto;
  max-width: min(240px, 85%);
  height: auto;
  margin: 0 auto 20px;
  object-fit: contain;
}
.pool-partners-grid .pool-partner-card {
  text-align: center;
}
.lighting-use-cases {
  background: #151515;
}

/* ===== FULLWIDTH IMAGE SECTION ===== */
/* Regla sitio: fotos/vídeos “a ancho completo” escalan con el contenedor; alto proporcional; nunca recortar. */
.fullwidth-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center center;
}
/* Persianas — foto lifestyle entre secciones: ancho acotado al layout, alto razonable en desktop */
img.fullwidth-image.persianas-lifestyle-photo {
  width: 100%;
  max-width: min(1180px, calc(100vw - 32px));
  margin-inline: auto;
  max-height: min(48vh, 520px);
  object-fit: contain;
  object-position: center center;
}
/* Vídeo: mismo criterio — ancho 100%, alto = proporción intrínseca del archivo */
.fullwidth-video {
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
  isolation: isolate;
  line-height: 0;
}
.fullwidth-video video,
.fullwidth-video .fullwidth-video__media {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center center;
  pointer-events: none;
  user-select: none;
}

.fullwidth-video.fullwidth-video--os4-flow {
  margin-inline: 0;
}

/* Tablets y pantallas intermedias — bandas OS 4 legibles sin columnas estrechas */
@media (max-width: 1024px) {
  .os4-two-col,
  .os4-feature-grid {
    grid-template-columns: 1fr;
  }
  .os4-band-inner--split {
    grid-template-columns: 1fr;
    gap: clamp(28px, 4vw, 48px);
  }
  .os4-band-inner--split .os4-media-slot--tall {
    min-height: 0;
    order: -1;
  }
}

/* ===== PERSIANAS / SHADING (página de sombreado) ===== */
.shading-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 0;
  background: var(--gray-bg);
}
.shading-split__media {
  position: relative;
  overflow: visible;
  min-height: 0;
  background: #ddd;
  align-self: stretch;
}
.shading-split__media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
}
.shading-split__body {
  padding: clamp(40px, 6vw, 88px) clamp(32px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
}
.shading-split__kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 16px;
}
.shading-split__title {
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 24px;
}
.shading-split__text {
  font-size: 16px;
  line-height: 1.75;
  color: #333;
  max-width: 42ch;
}
.shading-split--reverse .shading-split__media { order: 2; }
.shading-split--reverse .shading-split__body { order: 1; }

/* Bandas tipo crestron.com Health & Wellness (sección sin panel blanco) */
.shading-split.wellness-split-bg-mid {
  background: #d8d8dc;
}
.shading-split.wellness-split-bg-mid .shading-split__body {
  background: transparent;
}
.shading-split.wellness-split-bg-light {
  background: #ececee;
}
.shading-split.wellness-split-bg-light .shading-split__body {
  background: transparent;
}

/* Bloque oscuro “Lighting…” + vídeo debajo (c-image-text-featured oficial) */
.wellness-featured-head {
  background: #2b2b31;
  color: #fff;
  padding: clamp(48px, 8vw, 120px) clamp(24px, 5vw, 56px);
}
.wellness-featured-head-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.wellness-featured-title {
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: #fafafa;
  margin: 0;
}
.wellness-featured-lede {
  margin: 0;
  font-size: 16px;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.85);
  max-width: 48ch;
}
.wellness-featured-video-band {
  background: #ececee;
  padding: 0 clamp(16px, 4vw, 40px) clamp(40px, 7vw, 88px);
}
.wellness-featured-video-band .fullwidth-video {
  max-width: 1180px;
  margin-inline: auto;
}

@media (max-width: 900px) {
  .wellness-featured-head-inner {
    grid-template-columns: 1fr;
  }
}

/* Hero Salud y bienestar — panel oscuro + CTA borde (marketing Crestron) */
.page-salud-bienestar .hero-split .hero-left {
  background: linear-gradient(155deg, #383945 0%, #1e1f26 58%);
  color: #fafafa;
}
.page-salud-bienestar .hero-title {
  color: #fff;
  margin-bottom: clamp(20px, 3vw, 28px);
}
.page-salud-bienestar .scroll-btn {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.page-salud-bienestar .scroll-btn:hover {
  border-color: #fff;
}
.wellness-hero-category {
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 clamp(12px, 2vw, 18px);
}
.wellness-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(28px, 4vw, 36px);
}
.wellness-hero-video-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 22px;
  border: 2px solid #fff;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  transition: background 0.2s, color 0.2s;
}
.wellness-hero-video-btn:hover {
  background: #fff;
  color: #1e1f26;
}

.page-salud-bienestar .discover-section {
  background: #ececee;
}

/* Tarjetas del carrusel “Descubrir más” con icono Crestron (Kentico SVG) */
.discover-card.discover-card--icon {
  flex: 0 0 232px;
  display: flex;
  flex-direction: column;
  min-height: 260px;
}
.discover-card.discover-card--icon .discover-card-icon {
  width: 72px;
  height: 72px;
  margin: 16px auto 28px;
  object-fit: contain;
  flex-shrink: 0;
}
.discover-card.discover-card--icon .discover-card-name {
  margin-bottom: 12px;
}
.discover-card.discover-card--icon .discover-card-cta {
  margin-top: auto;
}

@media (max-width: 900px) {
  .shading-split,
  .shading-split--reverse {
    grid-template-columns: 1fr;
  }
  .shading-split--reverse .shading-split__media,
  .shading-split--reverse .shading-split__body { order: unset; }
  .shading-split__media { min-height: 0; max-height: none; }
}
.shading-fullbleed-caption {
  padding: 48px clamp(24px, 4vw, 60px) 56px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.shading-fullbleed-caption h2 {
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.shading-fullbleed-caption p {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
}
.shading-keypads {
  padding: 72px clamp(24px, 4vw, 48px) 88px;
  background: #f6f6f6;
}
.shading-keypads h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.shading-keypads__lead {
  text-align: center;
  max-width: 52ch;
  margin: 0 auto 40px;
  font-size: 16px;
  line-height: 1.65;
  color: #444;
}
.shading-keypads__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .shading-keypads__grid { grid-template-columns: 1fr; }
}
.shading-keypad-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transition: transform 0.25s, box-shadow 0.25s;
}
.shading-keypad-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}
.shading-keypad-card img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.shading-keypad-card__body {
  padding: 20px 22px 24px;
}
.shading-keypad-card__name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}
.shading-keypad-card__cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  opacity: 0.75;
}

/* ===== PERSIANAS — bloque intro editorial (post-hero) ===== */
.persianas-intro {
  position: relative;
  padding: clamp(56px, 8vw, 100px) clamp(24px, 5vw, 72px);
  background:
    linear-gradient(165deg, #fafafa 0%, #f3f3f5 45%, #ececf0 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.persianas-intro::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(24px, 5vw, 72px);
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, #0a0a0a 0%, rgba(10, 10, 10, 0.2) 100%);
  border-radius: 2px;
}
.persianas-intro__inner {
  max-width: 1120px;
  margin: 0 auto;
}
.persianas-intro__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(28px, 4vw, 44px);
  padding-top: 8px;
}
.persianas-intro__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b6b6b;
  margin-bottom: 14px;
}
.persianas-intro__title {
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 900;
  letter-spacing: -0.038em;
  line-height: 1.05;
  color: #0a0a0a;
  margin: 0;
}
.persianas-intro__title-accent {
  font-weight: 800;
  color: #3d3d42;
}
.persianas-intro__header-mark {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.persianas-intro__header-mark img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  opacity: 0.92;
}
.persianas-intro__body {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.persianas-intro__quote {
  margin: 0;
  padding: 0 0 0 22px;
  border-left: 2px solid rgba(10, 10, 10, 0.15);
  max-width: 52rem;
}
.persianas-intro__quote p {
  font-size: clamp(17px, 1.9vw, 21px);
  line-height: 1.55;
  font-weight: 500;
  font-style: italic;
  color: #2a2a2e;
  letter-spacing: -0.01em;
}
.persianas-intro__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
}
@media (max-width: 820px) {
  .persianas-intro__columns {
    grid-template-columns: 1fr;
  }
  .persianas-intro__header {
    flex-direction: column;
  }
  .persianas-intro__header-mark {
    align-self: flex-start;
  }
}
.persianas-intro__highlights {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding: 8px 0 0;
  margin: 0;
}
.persianas-intro__highlights li {
  font-size: 14px;
  color: #444;
  line-height: 1.45;
  padding-left: 18px;
  position: relative;
}
.persianas-intro__highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0a0a0a;
  opacity: 0.35;
}
.persianas-intro__highlights span {
  display: block;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0a0a0a;
  margin-bottom: 2px;
}
.persianas-intro__cta {
  align-self: flex-start;
  margin-top: 4px;
}

/* ===== TERMOSTATOS — intro editorial ===== */
.clima-intro {
  position: relative;
  padding: clamp(56px, 8vw, 100px) clamp(24px, 5vw, 72px);
  background: linear-gradient(165deg, #fafafa 0%, #f3f3f5 45%, #ececf0 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.clima-intro::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(24px, 5vw, 72px);
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, #0a0a0a 0%, rgba(10, 10, 10, 0.2) 100%);
  border-radius: 2px;
}
.clima-intro__inner {
  max-width: 1120px;
  margin: 0 auto;
}
.clima-intro__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(26px, 4vw, 40px);
}
.clima-intro__kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b6b6b;
  margin-bottom: 14px;
}
.clima-intro__title {
  font-size: clamp(30px, 4.1vw, 52px);
  font-weight: 900;
  letter-spacing: -0.038em;
  line-height: 1.05;
  color: #0a0a0a;
  margin: 0;
}
.clima-intro__icon {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.clima-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
}
.clima-intro__cta {
  margin-top: 30px;
}
@media (max-width: 820px) {
  .clima-intro__head {
    flex-direction: column;
    gap: 18px;
  }
  .clima-intro__grid {
    grid-template-columns: 1fr;
  }
}

/* ===== ACCESO AL HOGAR — intro editorial ===== */
.acceso-intro {
  position: relative;
  padding: clamp(56px, 8vw, 100px) clamp(24px, 5vw, 72px);
  background: linear-gradient(165deg, #fafafa 0%, #f3f3f5 45%, #ececf0 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.acceso-intro::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(24px, 5vw, 72px);
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, #0a0a0a 0%, rgba(10, 10, 10, 0.2) 100%);
  border-radius: 2px;
}
.acceso-intro__inner {
  max-width: 1120px;
  margin: 0 auto;
}
.acceso-intro__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(26px, 4vw, 40px);
}
.acceso-intro__kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b6b6b;
  margin-bottom: 14px;
}
.acceso-intro__title {
  font-size: clamp(30px, 4.1vw, 52px);
  font-weight: 900;
  letter-spacing: -0.038em;
  line-height: 1.05;
  color: #0a0a0a;
  margin: 0;
}
.acceso-intro__icon {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.acceso-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
}
.acceso-intro__cta {
  margin-top: 30px;
}
@media (max-width: 820px) {
  .acceso-intro__head {
    flex-direction: column;
    gap: 18px;
  }
  .acceso-intro__grid {
    grid-template-columns: 1fr;
  }
}

/* ===== AUDIO — intro editorial ===== */
.audio-intro {
  position: relative;
  padding: clamp(56px, 8vw, 100px) clamp(24px, 5vw, 72px);
  background: linear-gradient(165deg, #fafafa 0%, #f3f3f5 45%, #ececf0 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.audio-intro::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(24px, 5vw, 72px);
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, #0a0a0a 0%, rgba(10, 10, 10, 0.2) 100%);
  border-radius: 2px;
}
.audio-intro__inner { max-width: 1120px; margin: 0 auto; }
.audio-intro__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(26px, 4vw, 40px);
}
.audio-intro__kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b6b6b;
  margin-bottom: 14px;
}
.audio-intro__title {
  font-size: clamp(30px, 4.1vw, 52px);
  font-weight: 900;
  letter-spacing: -0.038em;
  line-height: 1.05;
  color: #0a0a0a;
  margin: 0;
}
.audio-intro__icon {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.audio-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
}
.audio-intro__cta { margin-top: 30px; }

/* ===== AUDIO — demo interactiva ===== */
.audio-studio {
  background: #0b0c10;
  color: #fff;
  padding: clamp(56px, 7vw, 88px) clamp(24px, 4vw, 48px);
}
.audio-studio__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}
.audio-studio__kicker {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.audio-studio h2 {
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}
.audio-studio p {
  color: rgba(255,255,255,0.75);
  line-height: 1.72;
  font-size: 15px;
  max-width: 50ch;
}
.audio-studio__scene-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 24px;
}
.audio-scene-btn {
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.04);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s;
}
.audio-scene-btn:hover { transform: translateY(-1px); }
.audio-scene-btn.is-active {
  background: #fff;
  color: #0b0c10;
  border-color: #fff;
}
.audio-scene-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.78);
  outline-offset: 3px;
}

/* ===== Interactivos transversales (Audio/Persianas/Acceso/Termostatos) ===== */
.interactive-panel {
  padding: clamp(48px, 6vw, 84px) clamp(24px, 4vw, 48px);
}
.interactive-panel--dark {
  background: #0b0c10;
  color: #fff;
}
.interactive-panel--light {
  background: #f6f7f8;
  color: #101114;
}
.interactive-panel__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}
.interactive-panel__kicker {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 14px;
  font-weight: 700;
}
.interactive-panel__left h2 {
  font-size: clamp(27px, 3vw, 42px);
  line-height: 1.14;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
}
.interactive-panel__left p {
  line-height: 1.72;
  font-size: 15px;
  max-width: 52ch;
  opacity: 0.86;
}
.interactive-panel__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 22px;
}
.interactive-chip {
  border: 1px solid rgba(10,10,10,0.18);
  background: rgba(255,255,255,0.7);
  color: #14161b;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s, color .2s;
}
.interactive-panel--dark .interactive-chip {
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.05);
  color: #fff;
}
.interactive-chip:hover { transform: translateY(-1px); }
.interactive-chip.is-active {
  background: #111;
  color: #fff;
  border-color: #111;
}
.interactive-panel--dark .interactive-chip.is-active {
  background: #fff;
  color: #0b0c10;
  border-color: #fff;
}
.interactive-chip:focus-visible {
  outline: 2px solid rgba(18, 28, 45, 0.45);
  outline-offset: 3px;
}
.interactive-panel--dark .interactive-chip:focus-visible {
  outline: 2px solid rgba(255,255,255,0.7);
}
.interactive-panel__status {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 12px;
  width: fit-content;
  max-width: 100%;
  background: rgba(255,255,255,0.62);
}
.interactive-panel--dark .interactive-panel__status {
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
}
.interactive-panel__status-label {
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  opacity: 0.6;
}
.interactive-panel__status strong {
  font-size: 22px;
  line-height: 1.1;
}
.interactive-panel__status span {
  font-size: 13px;
  opacity: 0.75;
}
.interactive-panel__right {
  display: grid;
  gap: 12px;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.12);
  background: #fff;
}
.interactive-panel--dark .interactive-panel__right {
  border-color: rgba(255,255,255,0.12);
  background: linear-gradient(170deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03));
}
.interactive-meter { display: grid; gap: 8px; }
.interactive-meter__top {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  opacity: 0.86;
}
.interactive-meter__bar {
  height: 8px;
  background: rgba(0,0,0,0.12);
  border-radius: 999px;
  overflow: hidden;
}
.interactive-panel--dark .interactive-meter__bar {
  background: rgba(255,255,255,0.12);
}
.interactive-meter__bar > div {
  height: 100%;
  width: 50%;
  border-radius: inherit;
  background: linear-gradient(90deg, #6f96ff 0%, #38d1a8 100%);
  transition: width .4s ease;
}
.interactive-state {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(0,0,0,0.02);
}
.interactive-panel--dark .interactive-state {
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
}
.interactive-state span { font-size: 13px; opacity: 0.72; }
.interactive-state strong { font-size: 14px; letter-spacing: 0.01em; }
@media (max-width: 980px) {
  .interactive-panel__inner { grid-template-columns: 1fr; }
}
.audio-studio__now {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  width: fit-content;
  max-width: 100%;
  background: rgba(255,255,255,0.03);
}
.audio-studio__now-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.audio-studio__now strong {
  font-size: 22px;
  line-height: 1.1;
}
.audio-studio__now span {
  font-size: 13px;
  color: rgba(255,255,255,0.72);
}
.audio-studio__right {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(170deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03));
}
.audio-zone { display: grid; gap: 8px; }
.audio-zone__top {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}
.audio-zone__bar {
  height: 8px;
  background: rgba(255,255,255,0.12);
  border-radius: 999px;
  overflow: hidden;
}
.audio-zone__bar > div {
  height: 100%;
  width: 50%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7aa6ff 0%, #4ae0b5 100%);
  transition: width .4s ease;
}
@media (max-width: 980px) {
  .audio-studio__inner { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .audio-intro__head { flex-direction: column; gap: 18px; }
  .audio-intro__grid { grid-template-columns: 1fr; }
}

/* ===== PERSIANAS — órbita solar ===== */
.shades-orbit {
  background: radial-gradient(circle at top, #fdf7ea 0%, #f3f4f6 58%, #eceff3 100%);
  padding: clamp(48px, 6vw, 86px) clamp(24px, 4vw, 48px);
  color: #14161b;
}
.shades-orbit__inner { max-width: 1080px; margin: 0 auto; display: grid; gap: 24px; }
.shades-orbit__kicker, .clima-weekly__kicker, .access-timeline__kicker {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.6; margin: 0; font-weight: 700;
}
.shades-orbit h2, .clima-weekly h2, .access-timeline h2 {
  font-size: clamp(27px, 3vw, 42px); line-height: 1.14; letter-spacing: -0.03em; margin: 0;
}
.shades-orbit__lead, .clima-weekly__lead, .access-timeline__lead {
  margin: 0; max-width: 62ch; line-height: 1.72; font-size: 15px; opacity: 0.86;
}
.shades-orbit__control { display: grid; gap: 10px; max-width: 520px; }
.shades-orbit__control label { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.7; }
.shades-orbit__control input[type="range"] { width: 100%; accent-color: #27324a; }
.shades-orbit__ticks { display: flex; justify-content: space-between; font-size: 13px; color: #3d4352; }
.shades-orbit__compass {
  margin-top: 4px; width: min(340px, 100%); aspect-ratio: 1 / 1; border-radius: 50%; border: 1px solid rgba(20, 22, 27, 0.14);
  background: rgba(255,255,255,0.62); display: grid; place-items: center; position: relative; overflow: hidden;
}
.shades-orbit__stage {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(260px, 360px);
  gap: 20px;
  align-items: center;
}
.shades-orbit__ring { width: 58%; aspect-ratio: 1 / 1; border-radius: 50%; border: 1px dashed rgba(26, 32, 46, 0.35); }
.shades-orbit__sun {
  position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff6c6, #ffbe4a 65%, #f48f26 100%);
  box-shadow: 0 0 18px rgba(244, 149, 38, 0.42);
  transform: translate(calc(-50% + var(--sun-x, 0px)), calc(-50% + var(--sun-y, 0px)));
  transition: transform .25s ease;
}
.shades-orbit__status {
  display: grid;
  gap: 3px;
  font-size: 13px;
  max-width: 520px;
}
.shades-orbit__status strong { font-size: 18px; line-height: 1.1; }
.shades-orbit__blind {
  border: 1px solid rgba(20, 22, 27, 0.14);
  border-radius: 16px;
  background: rgba(255,255,255,0.76);
  padding: 14px;
  display: grid;
  gap: 10px;
}
.shades-orbit__blind-head {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #3b4354;
}
.shades-orbit__window {
  height: 188px;
  border-radius: 10px;
  border: 1px solid rgba(20, 22, 27, 0.14);
  background: linear-gradient(180deg, rgba(246, 249, 255, 0.95), rgba(232, 236, 244, 0.95));
  overflow: hidden;
  position: relative;
}
.shades-orbit__slats {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(37, 46, 67, 0.7) 0px,
    rgba(37, 46, 67, 0.7) 6px,
    rgba(37, 46, 67, 0.28) 6px,
    rgba(37, 46, 67, 0.28) 12px
  );
  transform-origin: top;
  transform: scaleY(var(--blind-cover, 0.46));
  transition: transform .3s ease;
}
.shades-orbit__blind-meta {
  font-size: 13px;
  color: #333a49;
}

/* ===== TERMOSTATOS — semana térmica ===== */
.clima-weekly { background: #0b0c10; color: #fff; padding: clamp(48px, 6vw, 86px) clamp(24px, 4vw, 48px); }
.clima-weekly__inner { max-width: 1080px; margin: 0 auto; display: grid; gap: 22px; }
.clima-weekly__sim {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 16px;
  align-items: center;
}
.clima-thermostat {
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  padding: 16px;
  display: grid;
  gap: 12px;
  justify-items: center;
}
.clima-thermostat__label {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
}
.clima-thermostat__dial {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.22);
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.16), rgba(255,255,255,0.03));
  box-shadow: inset 0 0 0 6px rgba(255,255,255,0.04);
}
.clima-thermostat__dial span {
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
}
.clima-thermostat__controls {
  display: flex;
  gap: 10px;
}
.clima-adjust-btn {
  width: 44px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.clima-adjust-btn:focus-visible {
  outline: 2px solid rgba(255,255,255,0.78);
  outline-offset: 2px;
}
.clima-thermostat__meta {
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  display: grid;
  gap: 4px;
}
.clima-thermostat__meta strong { font-size: 18px; }
.clima-thermostat__meta span { font-size: 13px; color: rgba(255,255,255,0.72); }
.clima-weekly__days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.clima-day-btn {
  border: 1px solid rgba(255,255,255,0.16); background: rgba(255,255,255,0.03); color: #fff; border-radius: 12px;
  padding: 10px 0; font-size: 13px; font-weight: 700; cursor: pointer;
}
.clima-day-btn.is-active { background: #fff; color: #0b0c10; border-color: #fff; }
.clima-weekly__slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.clima-weekly__slots article {
  border: 1px solid rgba(255,255,255,0.13); border-radius: 14px; padding: 16px 14px; background: rgba(255,255,255,0.04);
}
.clima-weekly__slots h3 {
  margin: 0 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.62);
}
.clima-weekly__slots p { margin: 0; font-size: 18px; font-weight: 600; }

/* ===== ACCESO — bitácora ===== */
.access-timeline { background: #f5f7fa; color: #12151b; padding: clamp(48px, 6vw, 86px) clamp(24px, 4vw, 48px); }
.access-timeline__inner { max-width: 1080px; margin: 0 auto; display: grid; gap: 22px; }
.access-timeline__filters { display: flex; flex-wrap: wrap; gap: 10px; }
.access-filter-btn {
  border: 1px solid rgba(16, 20, 30, 0.16); background: #fff; color: #161923; border-radius: 999px;
  padding: 10px 16px; font-size: 13px; font-weight: 600; cursor: pointer;
}
.access-filter-btn.is-active { background: #151922; color: #fff; border-color: #151922; }
.access-timeline__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.access-timeline__list li {
  display: grid; grid-template-columns: 72px 170px 1fr; align-items: center; gap: 12px; border-radius: 12px;
  border: 1px solid rgba(16, 20, 30, 0.1); background: #fff; padding: 12px 14px;
}
.access-timeline__list time { font-size: 13px; font-weight: 700; color: #3d4352; }
.access-timeline__list strong { font-size: 14px; }
.access-timeline__list span { font-size: 13px; color: #4d5564; }

.clima-day-btn:focus-visible, .access-filter-btn:focus-visible {
  outline: 2px solid rgba(74, 121, 255, 0.72); outline-offset: 2px;
}
@media (max-width: 980px) {
  .shades-orbit__stage { grid-template-columns: 1fr; }
  .clima-weekly__sim { grid-template-columns: 1fr; }
  .clima-weekly__slots { grid-template-columns: 1fr; }
  .access-timeline__list li { grid-template-columns: 68px 1fr; }
  .access-timeline__list span { grid-column: 1 / -1; }
}

/* ===== VIDEO ===== */
.hero-typed--video { max-width: 11ch; }
.video-intro {
  padding: clamp(58px, 7vw, 92px) clamp(24px, 4vw, 48px);
  background: #f6f7f8;
  color: #12141a;
}
.video-intro__head {
  max-width: 1180px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.video-intro__kicker {
  margin: 0 0 12px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.6;
}
.video-intro__title {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.video-intro__icon { flex-shrink: 0; }
.video-intro__grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(24px, 4vw, 48px);
}
.video-intro__columns { display: grid; gap: 14px; }
.video-intro__columns p,
.video-intro__quote p { margin: 0; line-height: 1.72; font-size: 15px; }
.video-intro__quote {
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 14px;
  background: rgba(255,255,255,0.8);
  padding: 16px;
  display: grid;
  gap: 8px;
}
.video-intro__quote strong { font-size: 17px; line-height: 1.22; }
.video-intro__cta {
  margin-top: 28px;
  display: inline-flex;
}

.video-lab {
  background: #0b0c10;
  color: #fff;
  padding: clamp(54px, 7vw, 92px) clamp(24px, 4vw, 48px);
}
.video-lab__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 4vw, 52px);
}
.video-lab__kicker {
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.58);
}
.video-lab h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.video-lab p { margin: 0; line-height: 1.72; font-size: 15px; color: rgba(255,255,255,0.78); }
.video-lab__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 20px;
}
.video-source-btn {
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.04);
  color: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.video-source-btn.is-active {
  background: #fff;
  color: #0b0c10;
  border-color: #fff;
}
.video-source-btn:focus-visible {
  outline: 2px solid rgba(255,255,255,0.78);
  outline-offset: 2px;
}
.video-lab__status {
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  padding: 14px 16px;
  display: grid;
  gap: 3px;
  width: fit-content;
}
.video-lab__status-label {
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.58);
}
.video-lab__status strong { font-size: 22px; line-height: 1.1; }
.video-lab__status span { font-size: 13px; color: rgba(255,255,255,0.74); }
.video-lab__right {
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 16px;
  background: linear-gradient(170deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03));
  padding: 20px;
  display: grid;
  gap: 12px;
}
.video-node {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 11px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  background: rgba(255,255,255,0.03);
}
.video-node span { font-size: 13px; color: rgba(255,255,255,0.72); }
.video-node strong { font-size: 14px; }
@media (max-width: 980px) {
  .video-intro__grid, .video-lab__inner { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .video-intro__head { flex-direction: column; align-items: flex-start; }
}

/* ===== LIGHTING AMBIANCE BILLBOARD (iluminación) ===== */
.lighting-ambiance-billboard {
  --lighting-accent: #d4af37;
  background: #000;
  color: #fff;
  padding: 72px 80px 88px;
}
.lighting-ambiance-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px 64px;
  align-items: start;
}
.lighting-ambiance-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 20px;
}
.lighting-ambiance-headline {
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.18;
  max-width: 34ch;
}
.lighting-accent-text {
  color: var(--lighting-accent);
  font-weight: 700;
}
.lighting-ambiance-col-points {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 4px;
}
.lighting-ambiance-point {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px 20px;
  align-items: start;
}
.lighting-ambiance-icon {
  width: 29px;
  height: 29px;
  flex-shrink: 0;
  margin-top: 2px;
}
.lighting-ambiance-point-text {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}
.lighting-ambiance-lead {
  color: #fff;
  font-weight: 700;
}

/* ===== PRODUCTS SECTION ===== */
.products-section {
  padding: 100px 80px;
  background: #fff;
}
.products-header {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 60px;
}
.products-header .category-icon-sm {
  width: 52px; height: 52px;
  border-radius: 14px;
}
.products-section h2 {
  font-size: 36px; font-weight: 800;
  letter-spacing: -0.02em;
}
.product-category-label {
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 24px; margin-top: 48px;
}
.product-cards-row {
  display: flex; gap: 20px; flex-wrap: wrap;
}
.product-card {
  flex: 0 0 280px;
  background: var(--gray-bg);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: #0A0A0A;
  transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.product-card-img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  padding: 24px;
  background: #fff;
}
.product-card-video-wrap {
  width: 100%;
  min-height: 0;
  height: auto;
  background: #0a0a0a;
  overflow: hidden;
  line-height: 0;
}
.product-card-video-wrap video {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.product-card-body {
  padding: 20px 24px;
}
.product-card-name {
  font-size: 18px; font-weight: 700;
  margin-bottom: 8px;
}
.product-card-desc {
  font-size: 13px; color: #555; line-height: 1.6;
}
.product-card-cta {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  display: flex; align-items: center; gap: 6px;
  margin-top: 16px;
  text-decoration: none; color: #0A0A0A;
}
button.product-card {
  font: inherit;
  text-align: left;
  color: inherit;
  cursor: pointer;
  border: none;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
}
button.product-card:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 3px;
}

/* ===== Modal Horizon (iluminación) ===== */
.horizon-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 32px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.page-breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 88px 32px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #666;
}
.page-breadcrumb a {
  color: #0a0a0a;
  text-decoration: none;
  font-weight: 600;
}
.page-breadcrumb a:hover {
  text-decoration: underline;
}
.page-breadcrumb span[aria-hidden="true"] {
  color: #bbb;
  user-select: none;
}
.page-breadcrumb--home {
  max-width: none;
  width: 100%;
  margin: 0;
  justify-content: flex-start;
  /* Justo bajo navbar (64px); poco aire bajo la ruta */
  padding-top: 66px;
  padding-bottom: 0;
  padding-left: 28px;
  padding-right: 24px;
  position: relative;
  z-index: 10;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #3d4d6b;
  gap: 6px;
  line-height: 1.35;
}
.page-breadcrumb--home a {
  font-weight: 700;
  color: #1a2d4d;
}
.page-breadcrumb--home a:hover {
  color: #0f1f38;
}
.page-breadcrumb--home span[aria-current="page"] {
  color: #1a2d4d;
}
.page-breadcrumb--home span[aria-hidden="true"] {
  color: rgba(30, 45, 75, 0.35);
}
@media (min-width: 769px) {
  .page-breadcrumb--home {
    padding-top: 68px;
    padding-left: 60px;
    padding-right: 40px;
    font-size: 13px;
    letter-spacing: 0.055em;
  }
}
.home-hero-typed,
.hero-title.hero-typed {
  position: relative;
  box-sizing: border-box;
}
.hero-typed-measure {
  visibility: hidden;
  display: block;
  pointer-events: none;
  user-select: none;
}
.hero-typed-live {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  display: block;
}
.hero-typed-live > span:first-of-type {
  display: inline;
}
.home-hero-typed {
  font-size: clamp(32px, 4.5vw, 60px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 24px;
  max-width: 520px;
}
.home-hero.home-hero--os4 .home-hero-typed {
  font-size: clamp(26px, 3.4vw, 46px);
  line-height: 1.12;
}
/* Hero persianas: mismo efecto máquina de escribir que el home */
.hero-split .hero-left .hero-typed--persianas.home-hero-typed {
  font-size: var(--font-xl);
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: min(22ch, 100%);
  margin-bottom: 36px;
}
.hero-split .hero-left .hero-typed--termostatos.home-hero-typed {
  font-size: var(--font-xl);
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: min(23ch, 100%);
  margin-bottom: 36px;
}
.hero-split .hero-left .hero-typed--acceso.home-hero-typed {
  font-size: var(--font-xl);
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: min(24ch, 100%);
  margin-bottom: 36px;
}
.hero-split .hero-left .hero-typed--audio.home-hero-typed {
  font-size: var(--font-xl);
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: min(24ch, 100%);
  margin-bottom: 36px;
}
.home-hero-typed-caret,
.hero-title.hero-typed .hero-cursor {
  display: inline-block;
  width: 3px;
  height: 0.72em;
  margin-left: 4px;
  background: #0a0a0a;
  vertical-align: -0.04em;
  opacity: 1;
}
.home-hero-typed.is-typing .home-hero-typed-caret,
.hero-title.hero-typed.is-typing .hero-cursor {
  animation: home-hero-caret 0.85s step-end infinite;
}
.home-hero-typed:not(.is-typing) .home-hero-typed-caret,
.hero-title.hero-typed:not(.is-typing) .hero-cursor {
  opacity: 0.35;
}
@keyframes home-hero-caret {
  50% {
    opacity: 0;
  }
}
.home-hero-lead {
  font-size: 16px;
  line-height: 1.75;
  color: #3a3a3a;
  max-width: 460px;
}
.home-hero-lead strong {
  font-weight: 800;
  color: #0a0a0a;
}
.home-hero-left p.home-hero-lead {
  color: #3a3a3a;
  max-width: 460px;
  margin-bottom: 28px;
}
@media (prefers-reduced-motion: reduce) {
  .home-hero-typed.is-typing .home-hero-typed-caret,
  .hero-title.hero-typed.is-typing .hero-cursor {
    animation: none !important;
    opacity: 0.55;
  }
}
.horizon-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.horizon-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 10, 0.58);
  backdrop-filter: blur(4px);
}
.horizon-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  max-height: min(94vh, 980px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  background: linear-gradient(165deg, #fafafa 0%, #f0f0f2 48%, #e8e8ec 100%);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.65) inset;
}
.horizon-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #1a1a1a;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
  transition: background 0.15s ease, transform 0.15s ease;
}
.horizon-modal-close:hover {
  background: #fff;
  transform: scale(1.05);
}
.horizon-modal-close:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}
.horizon-modal-hero,
.keypad-subpage-hero {
  margin: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  background: linear-gradient(180deg, #dedee2 0%, #d0d0d5 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.horizon-modal-hero img,
.keypad-subpage-hero img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: right center;
}
.keypad-subpage-hero--cameo {
  position: relative;
  background: linear-gradient(180deg, #1a1a22 0%, #101014 100%);
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: min(72vh, 820px);
}
.keypad-subpage-hero--cameo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}
.cameo-story-media {
  background: linear-gradient(180deg, #f3f3f5 0%, #e6e6ea 100%);
}
.cameo-story-media img {
  object-fit: contain;
  object-position: center center;
}
.cameo-story-media--video video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
}
.cameo-story-media--dimmer img {
  object-position: 54% center;
}
.cameo-control-hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(36px, 5vw, 56px) 32px;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(18px, 3vw, 32px);
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
}
.cameo-control-hero-copy {
  max-width: 42rem;
  color: #1e1e22;
}
.cameo-control-hero-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(1.55rem, 2.8vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
}
.cameo-control-hero-lead {
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7a5d18;
}
.cameo-control-hero-copy p {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.65;
  color: #3d3d43;
}
.cameo-control-hero-copy p:last-child {
  margin-bottom: 0;
}
.cameo-control-hero-media {
  margin: 0;
  justify-self: end;
  width: min(100%, 620px);
  height: auto;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.14);
  position: relative;
}
.cameo-control-hero-media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: right center;
}
/* Cameo personalizer — hitzone sobre la columna de teclas (smooth-white 2894×1472) */
.cameo-keypad-interactive .horizon-keypad-keys-hitzone {
  --cameo-key-h: 12.5%;
  --cameo-extra-gap: 1.1%; /* más aire entre 2–6; la 1ª queda en top: 0 */
  position: absolute;
  pointer-events: none;
  display: block;
  left: 27.3%;
  width: 12%;
  top: 29.5%;
  height: 41.5%;
  box-sizing: border-box;
}
.cameo-keypad-interactive .horizon-key {
  position: absolute;
  left: 0;
  width: 100%;
  height: var(--cameo-key-h);
  flex: none;
  min-height: 0;
  margin: 0;
  padding: 0 0 0 4px;
  box-sizing: border-box;
}
/* Tecla 1 fija; 2–6 con un poco más de separación acumulada */
.cameo-keypad-interactive .horizon-key[data-key-index="0"] { top: 0%; }
.cameo-keypad-interactive .horizon-key[data-key-index="1"] { top: calc(16.88% + var(--cameo-extra-gap) * 1); }
.cameo-keypad-interactive .horizon-key[data-key-index="2"] { top: calc(33.77% + var(--cameo-extra-gap) * 2); }
.cameo-keypad-interactive .horizon-key[data-key-index="3"] { top: calc(50.65% + var(--cameo-extra-gap) * 3); }
.cameo-keypad-interactive .horizon-key[data-key-index="4"] { top: calc(67.53% + var(--cameo-extra-gap) * 4); }
.cameo-keypad-interactive .horizon-key[data-key-index="5"] { top: calc(84.42% + var(--cameo-extra-gap) * 5); }
.cameo-keypad-interactive .horizon-key.cameo-key .horizon-key-label {
  display: block;
  transform: none;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  word-break: normal;
  max-width: 100%;
}
/* Anula translateY de Horizon que desalineaba teclas 3–6 */
.cameo-keypad-interactive .horizon-key.cameo-key[data-key-index="2"] .horizon-key-label,
.cameo-keypad-interactive .horizon-key.cameo-key[data-key-index="3"] .horizon-key-label,
.cameo-keypad-interactive .horizon-key.cameo-key[data-key-index="4"] .horizon-key-label {
  transform: none;
}
.cameo-finish-dock-preview {
  max-height: min(76vh, 760px);
  object-position: center center;
}
.cameo-spaces .horizon-spaces-bg img {
  object-fit: contain;
  object-position: left bottom;
  opacity: 0.46;
}
.cameo-spaces .horizon-spaces-bg::after {
  background: linear-gradient(
    to left,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.45) 52%,
    rgba(0, 0, 0, 0.22) 100%
  );
}
.cameo-spaces .horizon-spaces-inner {
  margin-left: auto;
  margin-right: 0;
  text-align: right;
}

/* Horizon subpágina — editorial (prosa + fotos grandes) */
.keypad-subpage-hero--horizon-product {
  position: relative;
  background: linear-gradient(180deg, #f2f2f4 0%, #e6e6ea 100%);
  width: 100%;
  aspect-ratio: 2 / 1;
  max-height: min(72vh, 820px);
}
.keypad-subpage-hero--horizon-product img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% center;
  min-height: 0;
}
.horizon-editorial {
  background: #fafafa;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.horizon-editorial-inner {
  max-width: 42rem;
  margin: 0 auto;
  padding: 52px 32px 60px;
}
.horizon-editorial-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 12px;
}
.horizon-editorial-inner h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 24px;
}
.horizon-editorial-inner .horizon-editorial-lead {
  font-size: 18px;
  line-height: 1.55;
  color: #2a2a2a;
  margin-bottom: 20px;
  font-weight: 500;
}
.horizon-editorial-inner p {
  font-size: 16px;
  line-height: 1.75;
  color: #3d3d3d;
  margin-bottom: 18px;
}
.horizon-editorial-inner p:last-child {
  margin-bottom: 0;
}
.cameo-tailor {
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.cameo-tailor-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 54px 32px 62px;
}
.cameo-tailor h2 {
  margin: 0 0 16px;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #1b1b1b;
}
.cameo-tailor-intro {
  margin: 0 0 34px;
  max-width: 78ch;
  font-size: 18px;
  line-height: 1.55;
  color: #3a3a3a;
}
.cameo-tailor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 28px;
}
.cameo-tailor-item h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #151515;
}
.cameo-tailor-item p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #4a4a4a;
}
.cameo-showcase {
  background: radial-gradient(120% 120% at 50% 0%, #f3f3f6 0%, #ececf0 45%, #e4e4e8 100%);
  padding: 44px 32px 58px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.cameo-showcase-inner {
  max-width: 1260px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 0;
  align-items: center;
  position: relative;
}
.cameo-showcase-inner::before {
  content: "";
  position: absolute;
  left: 32%;
  right: 32%;
  top: 50%;
  height: 130px;
  transform: translateY(-50%);
  background: radial-gradient(closest-side, rgba(39, 39, 48, 0.22) 0%, rgba(39, 39, 48, 0) 100%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 1;
}
.cameo-showcase-keypad,
.cameo-showcase-room {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  background: #f4f4f6;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.cameo-showcase-keypad::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -14px;
  height: 56px;
  border-radius: 999px;
  background: radial-gradient(closest-side, rgba(37, 37, 44, 0.34) 0%, rgba(37, 37, 44, 0) 100%);
  z-index: -1;
  filter: blur(8px);
}
.cameo-showcase-keypad img,
.cameo-showcase-room img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.28s ease;
}
.cameo-showcase-keypad {
  z-index: 3;
  max-width: 620px;
  width: 100%;
  justify-self: center;
  margin-right: -48px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.2);
  transform: rotate(-1.2deg);
}
.cameo-showcase-room {
  z-index: 2;
  min-height: 0;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.16);
  transform: rotate(0.9deg);
  background: transparent;
}
.cameo-showcase-room img {
  object-position: center 47%;
  height: auto;
  transform: scale(1.035);
}
.cameo-showcase-keypad:hover,
.cameo-showcase-room:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.24);
}
.cameo-showcase-keypad:hover img,
.cameo-showcase-room:hover img {
  transform: scale(1.03);
}
.horizon-story-split-wrap {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.horizon-story-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: start;
  min-height: 0;
}
.horizon-story-split--reverse {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}
.horizon-story-split--reverse .horizon-story-split-media {
  order: 2;
}
.horizon-story-split--reverse .horizon-story-split-copy {
  order: 1;
}
.horizon-story-split-media {
  position: relative;
  min-height: 0;
  background: #e8e8ec;
}
.horizon-story-split-media img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
}
.horizon-story-split-media video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
}
.horizon-story-split-media--anchor-left img {
  object-position: left center;
}
.horizon-story-split-media--anchor-right img {
  object-position: right center;
}
.horizon-story-split-copy {
  padding: clamp(40px, 6vw, 80px) clamp(28px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--gray-bg);
}
.horizon-story-split-copy h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.horizon-story-split-copy p {
  font-size: 16px;
  line-height: 1.72;
  color: #383838;
  max-width: 38rem;
}
.horizon-story-split-copy .horizon-story-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a6b12;
  background: rgba(201, 162, 39, 0.15);
  padding: 6px 12px;
  border-radius: 4px;
  margin-bottom: 14px;
  width: fit-content;
}
.horizon-metal-block {
  background: #fff;
  padding: 56px 32px 72px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.horizon-metal-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.horizon-metal-inner h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.horizon-metal-inner > p {
  font-size: 16px;
  line-height: 1.75;
  color: #3a3a3a;
  max-width: 44rem;
  margin-bottom: 32px;
}
.horizon-metal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.horizon-metal-fig {
  margin: 0;
  text-align: center;
  background: #f6f6f7;
  border-radius: 10px;
  padding: 16px 12px 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.horizon-metal-fig img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.horizon-metal-cap {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #555;
}
.horizon-spaces {
  position: relative;
  min-height: min(78vh, 820px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0a0a0a;
}
.horizon-spaces-bg {
  position: absolute;
  inset: 0;
}
.horizon-spaces-bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 70% 45%;
  opacity: 0.55;
}
.horizon-spaces-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.45) 55%, rgba(0, 0, 0, 0.25) 100%);
}
.horizon-spaces-inner {
  position: relative;
  z-index: 1;
  max-width: 46rem;
  padding: clamp(48px, 8vw, 100px) clamp(28px, 5vw, 64px);
  color: #fff;
}
.horizon-spaces-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 16px;
}
.horizon-spaces-inner h2 {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-bottom: 20px;
}
.horizon-spaces-inner p {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}
@media (max-width: 900px) {
  .cameo-showcase-inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .cameo-showcase-inner::before {
    display: none;
  }
  .cameo-showcase-keypad {
    margin-right: 0;
    max-width: 100%;
    transform: none;
  }
  .cameo-showcase-room {
    min-height: 0;
    transform: none;
  }
  .cameo-tailor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .horizon-story-split,
  .horizon-story-split--reverse {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .horizon-story-split--reverse .horizon-story-split-media {
    order: 0;
  }
  .horizon-story-split-media {
    min-height: 280px;
    max-height: 48vh;
  }
  .horizon-metal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cameo-keypad-interactive .horizon-keypad-keys-hitzone {
    left: 27.3%;
    width: 12%;
    top: 29.5%;
    height: 41.5%;
  }
  .cameo-control-hero {
    max-width: 100%;
    grid-template-columns: 1fr;
    padding: 30px 24px 34px;
  }
  .cameo-control-hero-media {
    justify-self: stretch;
    width: 100%;
    height: auto;
    aspect-ratio: 1024 / 367;
  }
  .cameo-control-hero-media img {
    object-position: right center;
  }
}
@media (max-width: 520px) {
  .cameo-tailor-inner {
    padding: 42px 24px 46px;
  }
  .cameo-showcase {
    padding: 34px 18px 42px;
  }
  .cameo-showcase-keypad,
  .cameo-showcase-room {
    border-radius: 14px;
  }
  .cameo-tailor h2 {
    font-size: 1.55rem;
  }
  .cameo-tailor-intro {
    font-size: 16px;
  }
  .cameo-tailor-grid {
    grid-template-columns: 1fr;
  }
  .horizon-metal-grid {
    grid-template-columns: 1fr;
  }
}

.horizon-modal-body {
  padding: 28px clamp(20px, 4vw, 36px) 32px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}
.keypad-subpage .horizon-modal-body {
  overflow: visible;
  max-width: 920px;
  margin: 0 auto;
  padding-top: 40px;
  padding-bottom: 48px;
}
.keypad-subpage-main {
  background: linear-gradient(165deg, #fafafa 0%, #f2f2f4 100%);
}
.keypad-subpage-nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 88px 32px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #666;
}
.keypad-subpage-nav a {
  color: #0a0a0a;
  text-decoration: none;
  font-weight: 600;
}
.keypad-subpage-nav a:hover {
  text-decoration: underline;
}
.keypad-subpage-nav span[aria-hidden="true"] {
  color: #bbb;
  user-select: none;
}

/* Hub Horizon / Cameo (iluminación) */
.keypads-hub {
  background: var(--gray-bg);
  padding: 72px 32px 96px;
}
.keypads-hub-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.keypads-hub-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 12px;
  text-align: center;
}
.keypads-hub-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-align: center;
  margin-bottom: 16px;
}
.keypads-hub-intro {
  font-size: 15px;
  line-height: 1.6;
  color: #444;
  text-align: center;
  max-width: 52ch;
  margin: 0 auto 40px;
}
.keypads-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 28px);
}
.keypads-hub-card {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.keypads-hub-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.12);
}
.keypads-hub-card:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 3px;
}
.keypads-hub-card-img-wrap {
  min-height: min(52vh, 520px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 32px 24px 0;
  background: linear-gradient(180deg, #f6f6f6 0%, #e8e8ea 100%);
}
.keypads-hub-card-img-wrap img {
  width: auto;
  max-width: 92%;
  max-height: min(48vh, 460px);
  height: auto;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.14));
}
.keypads-hub-card-body {
  padding: 26px 28px 32px;
}
.keypads-hub-card-title {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.keypads-hub-card-desc {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: #555;
}
.keypads-hub-card-cta {
  margin-top: 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0a0a0a;
}
@media (max-width: 900px) {
  .keypads-hub-grid {
    grid-template-columns: 1fr;
  }
  .keypads-hub-card-img-wrap {
    min-height: min(42vh, 400px);
  }
}
.horizon-modal-kicker {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.45);
}
.horizon-modal-title {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.horizon-modal-lead {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.55;
  color: #333;
  max-width: 52ch;
}
.horizon-modal-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}
.horizon-modal-pills span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.07);
  color: #222;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
.horizon-modal-benefits {
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
}
.horizon-modal-benefits li {
  font-size: 13px;
  line-height: 1.45;
  color: #3a3a3a;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.horizon-modal-benefits strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #111;
  margin-bottom: 4px;
}
.horizon-modal-compare {
  padding: 22px 0 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.horizon-modal-compare-title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.horizon-modal-compare-intro {
  margin: 0 0 18px;
  font-size: 13px;
  color: #555;
  line-height: 1.45;
}
.horizon-modal-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.horizon-modal-compare-card {
  border-radius: 12px;
  padding: 16px 14px 18px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}
.horizon-modal-compare-card--hz {
  border-top: 3px solid #c9a227;
}
.horizon-modal-compare-card--cm {
  border-top: 3px solid #6b7280;
}
.horizon-modal-compare-img {
  display: block;
  width: 100%;
  max-width: 140px;
  height: auto;
  max-height: 120px;
  margin: 0 auto 12px;
  object-fit: contain;
}
.horizon-modal-compare-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 10px;
  color: #111;
}
.horizon-modal-compare-card ul {
  margin: 0;
  padding-left: 18px;
  font-size: 12px;
  line-height: 1.5;
  color: #444;
}
.horizon-modal-compare-card li {
  margin-bottom: 6px;
}
.horizon-modal-compare-card li:last-child {
  margin-bottom: 0;
}
.horizon-modal-footnote {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: #555;
  max-width: 62ch;
}
.horizon-modal-external {
  display: inline-flex;
  align-items: center;
  margin-top: 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0a0a0a;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.9);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.horizon-modal-external:hover {
  background: #fff;
  border-color: #c9a227;
}
@media (max-width: 720px) {
  .horizon-modal-hero img,
  .keypad-subpage-hero img {
    height: clamp(200px, 30vh, 280px);
    min-height: 180px;
    object-position: 88% center;
  }
  .keypad-subpage-hero--cameo {
    aspect-ratio: unset;
    max-height: none;
  }
  .keypad-subpage-hero--cameo img {
    position: relative;
    inset: auto;
    width: 100%;
    height: clamp(260px, 44vh, 420px);
    min-height: 240px;
    object-fit: cover;
    object-position: 66% center;
  }
  .keypad-subpage-hero--horizon-product {
    aspect-ratio: unset;
    max-height: none;
  }
  .keypad-subpage-hero--horizon-product img {
    position: relative;
    inset: auto;
    height: clamp(280px, 48vh, 480px);
    min-height: 260px;
    object-fit: cover;
    object-position: 82% center;
  }
  .horizon-modal-benefits {
    grid-template-columns: 1fr;
  }
  .horizon-modal-compare-grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .horizon-modal {
    transition: none;
  }
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.faq-item {
  background: var(--gray-bg);
  border-radius: 8px;
  padding: 24px;
}
.faq-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.faq-item p {
  font-size: 14px;
  line-height: 1.7;
  color: #4A4A4A;
}

/* ===== PRODUCT ROW ===== */
.product-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.product-row-landscape {
  border-radius: 8px;
  overflow: hidden;
}
.product-row-landscape img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ===== DISCOVER MORE SLIDER ===== */
.discover-section {
  padding: 80px 80px;
  background: #fff;
  overflow: hidden;
}
.discover-section h2 {
  font-size: 28px; font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}
.discover-slider-wrapper {
  position: relative;
}
.discover-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.discover-slider::-webkit-scrollbar { display: none; }
.discover-card {
  flex: 0 0 220px;
  background: var(--gray-bg);
  border-radius: 8px;
  padding: 24px;
  text-decoration: none;
  color: #0A0A0A;
  transition: transform 0.2s;
}
.discover-card:hover { transform: translateY(-4px); }
.discover-card-name {
  font-size: 14px; font-weight: 700;
  margin-bottom: 40px;
}
.discover-card-icon {
  width: 80px; height: 80px;
  display: block; margin: 0 auto 40px;
}
.discover-card-cta {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  display: flex; align-items: center; gap: 6px;
}
.slider-nav {
  display: flex; gap: 12px; margin-top: 24px;
}
.slider-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,0.2);
  background: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  transition: all 0.2s;
}
.slider-btn:hover { border-color: #000; background: #000; color: #fff; }

/* Todo lo demás — paridad crestron.com Everything Else */
.everything-intro {
  background: #d8d8dc;
  padding: clamp(48px, 8vw, 96px) clamp(24px, 5vw, 56px);
}
.everything-intro__grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.everything-intro__title {
  font-size: clamp(22px, 2.9vw, 34px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.22;
  color: #151518;
  margin: 0;
}
.everything-intro__title strong {
  font-weight: 800;
}
.everything-intro__lede {
  margin: 0;
  font-size: 17px;
  line-height: 1.78;
  color: #2a2a2f;
  max-width: 52ch;
}
.page-todo-lo-demas .discover-section {
  background: #d8d8dc;
  padding-top: 0;
}
.page-todo-lo-demas .discover-section h2 {
  margin-bottom: 32px;
}
.app-cta.app-cta--everything {
  background: #cfcfd4;
  color: #151518;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: stretch;
  gap: 0;
  min-height: 0;
}
.app-cta.app-cta--everything .app-cta-text {
  padding: clamp(48px, 8vw, 100px) clamp(28px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.app-cta.app-cta--everything .app-cta-text h3 {
  color: #151518;
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.app-cta.app-cta--everything .app-cta-text h3 span {
  font-weight: 700;
}
.app-cta.app-cta--everything .app-cta-text > p:not(.app-cta-footnote) {
  color: rgba(21, 21, 24, 0.55);
}
.app-cta.app-cta--everything .app-badge {
  border-color: rgba(21, 21, 24, 0.28);
  color: #151518;
}
.app-cta.app-cta--everything .app-badge:hover {
  border-color: #151518;
}
.app-cta.app-cta--everything .app-cta-media {
  min-height: 280px;
  background: #b8b8be;
}
.app-cta.app-cta--everything .app-cta-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.app-cta.app-cta--everything .app-cta-footnote {
  font-size: 12px;
  color: rgba(21, 21, 24, 0.42);
  margin-top: 20px;
  max-width: 46ch;
  line-height: 1.5;
}
@media (max-width: 900px) {
  .everything-intro__grid {
    grid-template-columns: 1fr;
  }
  .app-cta.app-cta--everything {
    grid-template-columns: 1fr;
  }
  .app-cta.app-cta--everything .app-cta-media {
    min-height: 220px;
    order: -1;
  }
}

/* ===== APP CTA ===== */
.app-cta {
  background: var(--dark-bg);
  color: #fff;
  padding: 80px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px;
}
.app-cta-text h3 {
  font-size: 28px; font-weight: 700;
  margin-bottom: 8px;
}
.app-cta-text p {
  font-size: 13px; color: rgba(255,255,255,0.5);
  margin-top: 12px;
}
.app-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.app-badge {
  display: flex; align-items: center; gap: 8px;
  border: 1.5px solid rgba(255,255,255,0.3);
  padding: 10px 20px; border-radius: 6px;
  text-decoration: none; color: #fff;
  font-size: 14px; font-weight: 600;
  transition: border-color 0.2s;
}
.app-badge:hover { border-color: #fff; }
.app-cta-image { width: 180px; opacity: 0.9; }

/* ===== CONTACTO (solo inicio; enlazar con index.html#contacto) ===== */
.site-contact {
  position: relative;
  background: #151518;
  color: #fff;
  padding: clamp(56px, 10vw, 96px) clamp(24px, 5vw, 48px);
  scroll-margin-top: 72px;
}
.site-contact-inner {
  max-width: 26rem;
  margin: 0 auto;
  text-align: center;
}
.site-contact-inner h2 {
  font-size: clamp(1.35rem, 4vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: #fff;
}
.site-contact-lead {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 28px;
}
.site-contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  text-align: left;
}
.site-contact-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.site-contact-form input,
.site-contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: none;
  border-radius: 4px;
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  background: #e4e4e6;
  color: #1a1a1a;
}
.site-contact-form textarea {
  min-height: 120px;
  resize: vertical;
}
.site-contact-form input::placeholder,
.site-contact-form textarea::placeholder {
  color: #5c5c5c;
}
.site-contact-form input:focus,
.site-contact-form textarea:focus {
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: 1px;
}
.site-contact-submit {
  align-self: center;
  margin-top: 8px;
  min-width: 140px;
  padding: 14px 36px;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: inherit;
  cursor: pointer;
  background: #e4e4e6;
  color: #2a2a2a;
  transition: background 0.2s, color 0.2s;
}
.site-contact-submit:hover {
  background: #f2f2f4;
  color: #0a0a0a;
}
.site-contact-thanks {
  padding: 28px 22px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
  margin-bottom: 8px;
}
.site-contact-thanks__title {
  font-size: clamp(1.28rem, 3.2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: #fff;
}
.site-contact-thanks__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

/* ===== FOOTER ===== */
footer {
  background: #fff;
  padding: 80px;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}
.footer-col h4 {
  font-size: 10px; font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 14px; color: #0A0A0A;
  text-decoration: none; opacity: 0.8;
  transition: opacity 0.2s;
}
.footer-col ul li a:hover { opacity: 1; }
.footer-app-btns { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.footer-app-btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid rgba(0,0,0,0.15);
  padding: 8px 16px; border-radius: 6px;
  font-size: 13px; font-weight: 600;
  text-decoration: none; color: #0A0A0A;
  width: fit-content;
}
.footer-brand-block {
  background: #2d2d2d;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(28px, 5vw, 44px) clamp(20px, 5vw, 80px);
  margin-bottom: 40px;
  box-sizing: border-box;
}
.footer-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.footer-brand--dual {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}
.footer-brand__col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  min-width: 0;
  padding: 0 clamp(16px, 4vw, 32px);
}
.footer-brand__divider {
  width: 1px;
  align-self: stretch;
  min-height: 52px;
  background: rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}
.footer-brand__title {
  font-size: clamp(14px, 2.5vw, 17px);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
  line-height: 1.2;
}
.footer-brand__title span {
  font-weight: 300;
}
.footer-brand__line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.35;
}
.footer-brand__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
}
@media (max-width: 560px) {
  .footer-brand--dual {
    flex-direction: column;
    gap: 24px;
    max-width: 100%;
  }
  .footer-brand__divider {
    width: 100%;
    height: 1px;
    min-height: 0;
    align-self: stretch;
    background: rgba(255, 255, 255, 0.3);
  }
  .footer-brand__col {
    padding: 0 8px;
  }
  .footer-argentina {
    padding-top: 22px;
    margin-top: 22px;
  }
}
.footer-argentina {
  text-align: center;
  max-width: 28rem;
  margin: 0 auto;
  padding-top: clamp(22px, 4vw, 32px);
  margin-top: clamp(22px, 4vw, 32px);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.footer-argentina__title {
  font-size: clamp(11px, 2.2vw, 13px);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 12px;
  line-height: 1.35;
}
.footer-argentina__addr {
  font-size: clamp(12px, 2.4vw, 14px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.62);
  margin: 0;
}
.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.08);
  padding-top: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.footer-bottom p { font-size: 12px; color: var(--mid-gray); margin: 0; }

/* ===== HOME PAGE SPECIFIC ===== */
.home-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 0;
  padding-top: 64px;
}
.home-hero.home-hero--os4 {
  /* Espacio bajo la navbar fija (antes lo ocupaba el breadcrumb del inicio) */
  padding-top: 64px;
  min-height: var(--site-hero-min-height);
}
.home-hero--os4 {
  grid-template-columns: var(--site-hero-grid);
}
.home-hero-left {
  background: var(--gray-bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px;
}
.home-hero.home-hero--os4 .home-hero-left {
  padding: clamp(40px, 5.5vh, 60px) clamp(40px, 4vw, 60px);
}
.home-hero-left h1:not(.home-hero-typed) {
  font-size: clamp(32px, 4.5vw, 60px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 24px;
  max-width: 480px;
}
.home-hero-left p {
  font-size: 16px; line-height: 1.7;
  color: #444; max-width: 420px;
  margin-bottom: 40px;
}
.home-hero-right {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-hero-right img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center center;
}
/* Hero OS4: la columna derecha sigue el alto del grid (min-height del hero); la imagen rellena el rectángulo */
.home-hero--os4 .home-hero-right {
  background: #0a0a0a;
  min-height: 0;
  position: relative;
  overflow: hidden;
  align-self: stretch;
}
.home-hero--os4 .home-hero-right img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 78% center;
  min-width: 0;
  transform: none;
  transform-origin: 78% center;
}

/* Enlace a continuación (debajo del hero) — Inter + flecha, mismo lenguaje visual del sitio */
.home-scroll-continue {
  background: #f4f5f7;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 10px clamp(20px, 4vw, 48px);
  text-align: center;
}
.home-scroll-continue__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #1a2d4d;
  text-decoration: none;
  transition: color 0.15s ease, opacity 0.15s ease;
}
.home-scroll-continue__link:hover {
  color: #0f1f38;
}
.home-scroll-continue__link:hover .home-scroll-continue__arrow {
  transform: translateY(2px);
}
.home-scroll-continue__text {
  border-bottom: 1px solid rgba(26, 45, 77, 0.2);
  padding-bottom: 2px;
}
.home-scroll-continue__link:hover .home-scroll-continue__text {
  border-bottom-color: rgba(15, 31, 56, 0.4);
}
.home-scroll-continue__arrow {
  display: flex;
  color: #1a2d4d;
  opacity: 0.85;
  transition: transform 0.2s ease;
}
.home-scroll-continue__link:focus-visible {
  outline: 2px solid #1a2d4d;
  outline-offset: 4px;
  border-radius: 4px;
}

/* Puente personalización (tras el hero, antes del resto) */
#home-personal-intro,
#os4Simulator {
  scroll-margin-top: 80px;
}
.home-personal-bridge {
  background: #fff;
  border-top: none;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 80px);
}
.home-personal-bridge-inner {
  max-width: 40rem;
  margin: 0 auto;
}
.home-personal-bridge .supertitle {
  margin-bottom: 10px;
}
.home-personal-bridge h2 {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.home-personal-bridge p {
  font-size: 16px;
  line-height: 1.75;
  color: #3a3a3a;
  margin: 0 0 14px;
}
.home-personal-bridge-lead {
  font-size: 15px !important;
  color: #555 !important;
  margin-bottom: 0 !important;
}

/* Puente integrado con el simulador (mismo bloque visual) */
.home-personal-bridge--os4 .home-personal-bridge-inner {
  max-width: 36rem;
}
.home-personal-bridge--os4 h2 {
  margin-bottom: 10px;
}
.home-personal-bridge-intro {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(12, 20, 36, 0.62);
  margin: 0;
}

/* Wellness section */
.wellness-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  min-height: 0;
}
.wellness-left {
  background: var(--dark-bg);
  color: #fff;
  padding: 80px 60px;
  display: flex; flex-direction: column; justify-content: center;
}
.wellness-left .supertitle { color: rgba(255,255,255,0.4); }
.wellness-left h2 {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.15; margin-bottom: 24px;
}
.wellness-left p {
  font-size: 15px; line-height: 1.75;
  color: rgba(255,255,255,0.65);
  max-width: 420px;
}
.wellness-icons {
  display: flex; gap: 28px;
  margin-top: 40px; flex-wrap: wrap;
}
.wellness-icon-item {
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  text-decoration: none;
  color: #fff;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.wellness-icon-item:hover { opacity: 1; }
.wellness-icon-item img { width: 44px; height: 44px; filter: brightness(0) invert(1); }
.wellness-icon-item span { font-size: 11px; font-weight: 600; letter-spacing: 0.05em; }
.wellness-right {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wellness-right img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Security section */
.security-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  min-height: 0;
}
.security-left {
  background: var(--gray-bg);
  padding: 80px 60px;
  display: flex; flex-direction: column; justify-content: center;
}
.security-left h2 {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.1; margin-bottom: 24px;
}
.security-left p {
  font-size: 15px; line-height: 1.75;
  color: #555; max-width: 440px;
}
.security-icons {
  display: flex; gap: 32px; margin-top: 40px; flex-wrap: wrap;
}
.security-icon-item {
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  text-decoration: none; color: #0A0A0A;
}
.security-icon-item img { width: 44px; height: 44px; }
.security-icon-item span { font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-align: center; }
.security-right {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.security-right img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Comfort section */
.comfort-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  min-height: 0;
}
.comfort-bg {
  position: relative;
  overflow: hidden;
}
.comfort-bg img.bg-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}
.comfort-right {
  background: var(--gray-bg);
  padding: 80px 60px;
  display: flex; flex-direction: column; justify-content: center;
}
.comfort-right h2 {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.1; margin-bottom: 8px;
}
.comfort-right h3 {
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 800; margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.comfort-right p {
  font-size: 15px; line-height: 1.75; color: #555;
}
.comfort-icons { display: flex; gap: 32px; margin-top: 32px; flex-wrap: wrap; }
.comfort-icon-item {
  text-decoration: none; color: #0A0A0A;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.comfort-icon-item img { width: 44px; }
.comfort-icon-item span { font-size: 11px; font-weight: 600; }

/* Convenience section */
.convenience-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  min-height: 0;
}
.convenience-left {
  background: var(--dark-bg); color: #fff;
  padding: 80px 60px;
  display: flex; flex-direction: column; justify-content: center;
}
.convenience-left h2 {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.1; margin-bottom: 24px;
}
.convenience-left p { font-size: 15px; line-height: 1.75; color: rgba(255,255,255,0.65); }
.convenience-left .highlight { font-weight: 700; color: #fff; }
.convenience-icons { display: flex; gap: 32px; margin-top: 32px; flex-wrap: wrap; }
.convenience-icon-item {
  text-decoration: none; color: #fff;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0.7; transition: opacity 0.2s;
}
.convenience-icon-item:hover { opacity: 1; }
.convenience-icon-item img { width: 44px; filter: brightness(0) invert(1); }
.convenience-icon-item span { font-size: 11px; font-weight: 600; }
.convenience-right {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.convenience-right img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Pool/Spa tabs */
.use-case-tabs {
  display: flex; gap: 0;
  background: var(--gray-bg);
  padding-top: 64px;
}
.use-case-tab {
  padding: 20px 40px;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; color: var(--mid-gray);
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.use-case-tab.active {
  color: #0A0A0A;
  border-bottom-color: #0A0A0A;
}

/* Controllers billboard */
.controllers-billboard {
  min-height: 100vh;
  padding-top: 64px;
  position: relative;
  overflow: hidden;
}
.controllers-billboard img.billboard-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}
.controllers-billboard-content {
  position: relative; z-index: 2;
  padding: 120px 80px;
  max-width: 700px;
}
.controllers-billboard-content h1 {
  font-size: var(--font-xl);
  font-weight: 900; letter-spacing: -0.04em;
  line-height: 1.0; color: #fff;
  margin-bottom: 24px;
}
.controllers-billboard-content p {
  font-size: 16px; line-height: 1.75;
  color: rgba(255,255,255,0.8);
  max-width: 500px;
}
.control-devices-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.control-device-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  min-height: 0;
}
.control-device-img {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.control-device-img img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.control-device-text {
  padding: 60px 60px;
  display: flex; flex-direction: column; justify-content: center;
}
.control-device-text h2 {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 800; letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.control-device-text p {
  font-size: 15px; line-height: 1.75; color: #555;
}

/* Categories grid (home page) */
.categories-section {
  padding: 100px 80px;
  background: #fff;
}
.categories-section h2 {
  font-size: 28px; font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.category-tile {
  background: var(--gray-bg);
  border-radius: 8px;
  padding: 32px 24px;
  text-decoration: none; color: #0A0A0A;
  display: flex; flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
  min-height: 200px;
}
.category-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.category-tile img {
  width: 56px; height: 56px;
  border-radius: 14px;
}
.category-tile-name {
  font-size: 18px; font-weight: 700;
  letter-spacing: -0.01em;
}
.category-tile-cta {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--mid-gray);
  margin-top: auto;
  display: flex; align-items: center; gap: 6px;
}

/* Billboard half-dark */
.billboard-half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  min-height: 0;
}
.billboard-half-img {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.billboard-half-img img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.billboard-half-text {
  background: var(--dark-bg); color: #fff;
  padding: 80px 60px;
  display: flex; flex-direction: column; justify-content: center;
}
.billboard-half-text h2 {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.1; margin-bottom: 20px;
}
.billboard-half-text p {
  font-size: 15px; line-height: 1.75;
  color: rgba(255,255,255,0.65);
  max-width: 440px;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .hero-split, .section-intro, .home-hero,
  .wellness-section, .security-section, .comfort-section,
  .convenience-section, .control-device-item, .billboard-half {
    grid-template-columns: 1fr;
  }
  .home-hero--os4 {
    grid-template-columns: 1fr;
  }
  .home-hero.home-hero--os4 {
    min-height: 0;
  }
  /* Una columna: la imagen absoluta no aporta alto — damos caja mínima para que siga cubriendo el área */
  .home-hero--os4 .home-hero-right {
    min-height: clamp(260px, 44vh, 520px);
    position: relative;
    overflow: hidden;
  }
  .home-hero--os4 .home-hero-right img {
    transform: none;
  }
  /* Hero producto: misma altura mínima que OS4 + segunda fila ocupa el resto (imagen cover) */
  .hero-split {
    min-height: var(--site-hero-min-height-mobile);
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }
  .hero-split .hero-right {
    min-height: clamp(260px, 44vh, 520px);
    position: relative;
    overflow: hidden;
  }
  .page-breadcrumb--home {
    padding-top: 66px;
    padding-bottom: 0;
    padding-left: 20px;
    padding-right: 20px;
  }
  .btn-download {
    font-size: 11px;
    padding: 8px 17px;
    border-radius: 3px;
  }
  .hero-right, .wellness-right, .security-right,
  .comfort-bg, .convenience-right, .billboard-half-img {
    height: auto;
    min-height: 0;
  }
  .hero-left, .section-intro-left, .section-intro-right,
  .wellness-left, .security-left, .comfort-right,
  .convenience-left, .billboard-half-text { padding: 48px 32px; }
  .features-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .lighting-ambiance-billboard { padding: 56px 32px 64px; }
  .lighting-ambiance-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .lighting-ambiance-headline { max-width: none; }
  .fullwidth-video {
    max-width: 100%;
  }
  .section-intro.lighting-intro {
    min-height: 0;
  }
  .lighting-intro .section-intro-left {
    min-height: min(280px, 85vw);
    height: auto;
  }
  .lighting-intro-figure img {
    object-position: 48% 40%;
  }
  .lighting-intro-title {
    max-width: none;
    padding: 24px 32px 40px;
  }
  .lighting-intro .section-intro-right {
    border-left: none;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
    padding: 48px 32px 56px;
  }
  .keypads-intro .section-intro-left {
    padding: 36px 32px 44px;
    min-height: 0;
  }
  .keypads-intro .section-intro-left::before {
    left: 32px;
  }
  .keypads-intro-head {
    max-width: none;
    gap: 22px;
  }
  .keypads-intro-title {
    align-self: center;
    max-width: none;
  }
  .keypads-intro-product-duo {
    gap: 14px 18px;
  }
  .keypads-intro-product-fig {
    max-width: min(42vw, 200px);
  }
  .keypads-intro-product-img {
    max-height: min(30vh, 200px);
  }
  .horizon-finish-dock-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .horizon-finish-dock-preview-col {
    position: static;
    top: auto;
  }
  .horizon-finish-dock-stage {
    min-height: 0;
    padding: 0;
  }
  .horizon-finish-dock-preview {
    max-height: min(56vh, 520px);
  }
  .horizon-keypad-interactive.is-scene-layout .horizon-finish-dock-preview {
    max-height: min(52vh, 460px);
    object-position: 50% center;
  }
  .horizon-keypad-interactive.is-scene-layout .horizon-key {
    font-size: clamp(6px, 3.25cqw, 10px);
  }
  .horizon-key {
    font-size: clamp(6px, 2.75cqw, 10px);
    padding: 2px 1px;
  }
  .horizon-key-label {
    line-height: 1.2;
    letter-spacing: 0.035em;
  }
  .horizon-finish-dock-picker-col {
    padding-left: 0;
    border-left: none;
    padding-top: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }
  .horizon-keypad-label-inputs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .horizon-finish-dock {
    padding: 44px 28px 52px;
  }
  .horizon-finish-categories {
    gap: 28px;
  }
  .horizon-swatch-circle {
    width: 48px;
    height: 48px;
  }
  .keypads-intro .section-intro-right {
    border-left: none;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
    padding: 40px 32px 48px;
  }
  .discover-section, .products-section, .app-cta { padding: 60px 32px; }
  /* Sin space-between: el botón queda junto al logo (evita hueco en el medio en móvil) */
  .navbar {
    padding: 0 calc(20px * 1.3);
    justify-content: flex-start;
    gap: calc(10px * 1.3);
  }
  .navbar-left {
    flex: 0 1 auto;
    min-width: 0;
  }
  .navbar-right {
    flex-shrink: 0;
  }
  .product-row { grid-template-columns: 1fr; }
  .navbar-right a:not(:last-child) { display: none; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .categories-section, .footer { padding: 60px 32px; }
  .control-devices-grid { grid-template-columns: 1fr; }
  .os4-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .os4-hero-copy {
    padding: 100px 28px 48px;
    min-height: 0;
  }
  .os4-hero-media {
    min-height: 0;
  }
  .os4-band-inner--split {
    grid-template-columns: 1fr;
  }
  .os4-band-inner--split .os4-media-slot--tall {
    min-height: 0;
    order: -1;
  }
  .os4-two-col,
  .os4-feature-grid {
    grid-template-columns: 1fr;
  }
  .os4-improvements-inner {
    padding: 60px 28px;
  }
  .os4-closing-inner {
    padding: 60px 28px;
  }
}

/* ===== Crestron Home OS 4 ===== */
.os4-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  min-height: clamp(520px, min(92svh, 100vh), 920px);
  padding-top: 64px;
  background: #0a0a0a;
  color: #fff;
}
.os4-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 8vw, 100px) clamp(32px, 5vw, 72px);
  max-width: 36rem;
}
.os4-hero-copy h1 {
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 12px;
}
.os4-hero-tagline {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 20px;
}
.os4-hero-lead {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
  max-width: 32rem;
}
.os4-hero-cta {
  margin-top: 28px;
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
}
.os4-hero-cta:hover {
  background: #fff;
  color: #0a0a0a;
}
.os4-hero-media {
  position: relative;
  min-height: 0;
}
.os4-media-slot {
  position: relative;
  width: 100%;
  margin: 0;
  background: linear-gradient(145deg, #1c2130 0%, #2a3145 45%, #3d4358 100%);
  overflow: hidden;
}
.os4-media-slot img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  object-position: center center;
}
.os4-media-slot--wide {
  min-height: 0;
  border-radius: 12px;
  margin-top: 8px;
}
/* Imagen promocional panel + OS 4 (sección Tu visión): alto según la imagen, sin caja rígida */
.os4-media-slot--tu-vision {
  height: auto;
  min-height: 0;
  max-height: none;
  margin-top: clamp(8px, 1.5vw, 20px);
  border-radius: 16px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
  background: #121418;
}
.os4-media-slot--tu-vision img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center center;
  padding: 0;
}
.os4-media-slot--tall {
  min-height: 0;
  border-radius: 12px;
}
/* Filtros mejorados (columna split): sin fondo del slot; solo la imagen sobre el gris de la banda */
.os4-band-inner--split .os4-media-slot--tall {
  background: transparent;
  box-shadow: none;
  overflow: visible;
  min-height: 0;
  border-radius: 0;
  position: relative;
}
.os4-band-inner--split .os4-media-slot--tall img {
  width: 100%;
  max-width: min(100%, 380px);
  height: auto;
  min-height: 0;
  margin: 0 auto;
  object-fit: contain;
  object-position: center center;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.16));
  /* Difumina solo bordes para que no se perciba un corte rectangular */
  -webkit-mask-image: radial-gradient(ellipse 84% 90% at 50% 50%, #000 72%, transparent 100%);
  mask-image: radial-gradient(ellipse 84% 90% at 50% 50%, #000 72%, transparent 100%);
}
.os4-media-slot--inset {
  margin-top: 40px;
}
.os4-band {
  padding: clamp(64px, 10vw, 120px) clamp(28px, 5vw, 80px);
  background: #fff;
}
.os4-band--alt {
  background: var(--gray-bg);
}
.os4-band--dark {
  background: #111;
  color: #fff;
}
.os4-band--tight {
  padding-top: clamp(48px, 7vw, 88px);
}
.os4-band-header--wide {
  max-width: 52rem;
}
.os4-band-intro--lg {
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.75;
  max-width: 48rem;
}
.os4-band-intro--on-dark {
  color: rgba(255, 255, 255, 0.72) !important;
  max-width: 48rem;
}
.os4-two-col--stretch {
  align-items: stretch;
}
.os4-card--tall {
  min-height: 100%;
}
.os4-card--tall p + p {
  margin-top: 14px;
}
.os4-kicker--on-dark {
  color: rgba(255, 255, 255, 0.5) !important;
}
.os4-pullquote {
  background: linear-gradient(135deg, #1a1d28 0%, #252a38 100%);
  color: #fff;
  padding: clamp(56px, 9vw, 100px) clamp(28px, 5vw, 80px);
  text-align: center;
}
.os4-pullquote-inner {
  max-width: 46rem;
  margin: 0 auto;
}
.os4-pullquote-inner h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
}
.os4-pullquote-text {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}
.os4-band-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.os4-band-inner--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.os4-split-text h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.os4-split-text p {
  font-size: 16px;
  line-height: 1.75;
  color: #444;
  max-width: 36rem;
}
.os4-band-header {
  max-width: 46rem;
  margin-bottom: 40px;
}
.os4-band-header--on-dark {
  margin-bottom: 48px;
}
.os4-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 12px;
}
.os4-band--dark .os4-kicker {
  color: rgba(255, 255, 255, 0.45);
}
.os4-band-header h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.os4-band-intro {
  font-size: 16px;
  line-height: 1.75;
  color: #444;
  max-width: 40rem;
}
.os4-band--dark .os4-band-header h2 {
  color: #fff;
}
.os4-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 32px;
  margin-bottom: 40px;
}
.os4-two-col--on-dark {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.os4-two-col--on-dark .os4-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}
.os4-card {
  background: var(--gray-bg);
  border-radius: 12px;
  padding: 28px 28px 32px;
}
.os4-band--alt .os4-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.os4-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.os4-card-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  object-fit: contain;
  opacity: 0.85;
}
.os4-card p {
  font-size: 15px;
  line-height: 1.75;
  color: #444;
}
.os4-card--on-dark {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.os4-card--on-dark h3 {
  color: #fff;
}
.os4-card--on-dark .os4-card-icon {
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.os4-card--on-dark p {
  color: rgba(255, 255, 255, 0.72);
}
.os4-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
  margin-bottom: 40px;
}

/* Debe ir después de las reglas base anteriores: si no, el grid de 2 columnas
   anula los @media que están más arriba en el archivo y el texto queda aplastado en móvil. */
@media (max-width: 1024px) {
  .os4-band-inner--split {
    grid-template-columns: 1fr;
    gap: clamp(28px, 4vw, 48px);
  }
  .os4-band-inner--split .os4-media-slot--tall {
    min-height: 0;
    order: -1;
  }
  .os4-two-col,
  .os4-two-col--on-dark,
  .os4-feature-grid {
    grid-template-columns: 1fr;
  }
  .os4-two-col--on-dark .os4-card:last-child:nth-child(odd) {
    grid-column: auto;
  }
  .os4-card--tall {
    min-height: 0;
  }
}

.os4-improvements {
  background: #fafafa;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.os4-improvements-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(64px, 10vw, 100px) clamp(28px, 5vw, 48px);
}
.os4-improvements-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 12px;
}
.os4-improvements-inner h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.os4-improvements-lead {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 24px;
}
.os4-checklist {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
}
.os4-checklist li {
  position: relative;
  padding: 12px 0 12px 28px;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.os4-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0a0a0a;
}
.os4-closing {
  background: linear-gradient(180deg, #0f0f0f 0%, #1a1a1a 100%);
  color: #fff;
}
.os4-closing-inner {
  max-width: 42rem;
  margin: 0 auto;
  padding: clamp(72px, 12vw, 120px) clamp(28px, 5vw, 48px);
  text-align: center;
}
.os4-closing-inner h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 20px;
}
.os4-closing-inner p {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
  text-align: left;
}
.os4-closing-note {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.65) !important;
  font-size: 15px !important;
}
.os4-closing-note a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.os4-closing-note a:hover {
  color: #fff;
}
.os4-closing-btn {
  margin-top: 32px;
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
}
.os4-closing-btn:hover {
  background: #fff;
  color: #0a0a0a;
}

/* --- Solo index (Crestron Home OS): vídeo y fotos de bandas — proporción + tope de alto ---
   El hero usa cover arriba; aquí no pisamos la imagen del hero. */
@media (max-width: 768px) {
  .page-os4 .home-hero.home-hero--os4 {
    min-height: var(--site-hero-min-height-mobile);
  }
  .page-os4 .os4-band {
    padding: clamp(48px, 10vw, 68px) 20px;
  }
  .page-os4 .os4-band--tight {
    padding-top: clamp(40px, 8vw, 56px);
  }
  .page-os4 .os4-two-col,
  .page-os4 .os4-feature-grid {
    gap: 14px;
    margin-bottom: 26px;
  }
  .page-os4 .os4-card {
    border-radius: 14px;
    padding: 22px 18px 24px;
  }
  .page-os4 .os4-card h3 {
    font-size: clamp(1.02rem, 4.35vw, 1.18rem);
    margin-bottom: 10px;
  }
  .page-os4 .os4-card p {
    font-size: clamp(14.5px, 3.95vw, 16px);
    line-height: 1.62;
  }
  .page-os4 .fullwidth-video.fullwidth-video--os4-flow {
    overflow: visible;
  }
  .page-os4 .fullwidth-video.fullwidth-video--os4-flow video {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: min(72vh, 92vmin);
    margin-inline: auto;
  }
  .page-os4 .os4-band .os4-media-slot,
  .page-os4 .os4-improvements .os4-media-slot {
    overflow: visible;
  }
  .page-os4 .os4-band .os4-media-slot img:not(.os4-card-icon),
  .page-os4 .os4-improvements .os4-media-slot img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: min(72vh, 92vmin);
    margin-inline: auto;
  }
  .page-os4 .os4-band-inner--split .os4-media-slot--tall img {
    max-width: min(100%, calc(100vw - 40px));
    -webkit-mask-image: none;
    mask-image: none;
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.14));
  }
}

/* Celulares muy angostos: ocultar texto MENÚ (solo ícono), aliviar logo y botón */
@media (max-width: 520px) {
  .navbar {
    padding: 0 calc(12px * 1.3);
  }
  .navbar-left {
    gap: 8px;
    min-width: 0;
  }
  .menu-btn__label {
    display: none;
  }
  .menu-btn {
    gap: 0;
    padding: 6px 8px;
    flex-shrink: 0;
  }
  .logo {
    font-size: clamp(10px, 3.1vw, 15px);
    letter-spacing: 0.03em;
    min-width: 0;
  }
  .btn-download {
    font-size: 10px;
    padding: 7px 12px;
    border-radius: 3px;
    white-space: nowrap;
  }
}
