:root {
  --brand-accent: #00249c;
  --brand-accent-hover: #001b75;
  --red: var(--brand-accent);
  --red-2: var(--brand-accent);
  --red-dark: var(--brand-accent-hover);
  --blue: var(--brand-accent);
  --bhi: #163eb9;
  --hm-red: var(--brand-accent);
  --hm-red-dark: var(--brand-accent-hover);
  --body: "DM Sans", Arial, sans-serif;
  --fb: "DM Sans", Arial, sans-serif;
  --display: "Bebas Neue", "Barlow Condensed", sans-serif;
  --fd: "Bebas Neue", "Barlow Condensed", sans-serif;
  --cond: "Barlow Condensed", Arial, sans-serif;
  --fh: "Barlow Condensed", Arial, sans-serif;
  --mono: "Barlow Condensed",sans-serif;
  --ft: "Barlow Condensed",sans-serif;
}

html {
  max-width: 100%;
  overflow-x: clip;
  font-size: 17px;
}

body {
  max-width: 100%;
  overflow-x: clip !important;
  font-family: "DM Sans", Arial, sans-serif !important;
  cursor: auto !important;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

p, li, input, select, textarea, button { line-height: 1.6; }
p { text-wrap: pretty; }

h1, h2, h3, h4, .display, .section-title, .hero-title,
.page-hero-title, .s-name {
  font-family: "Bebas Neue", "Barlow Condensed", sans-serif !important;
  text-wrap: balance;
}

.micro, .copy, .dark-copy, .section-note, .nav-links a, .navlinks a,
.nav-cta, .nav-wa, .btn, .pill-link, .ft-copy, .footer-links a, label,
.radio-pill, .hero-pre, .hero-sub, .hero-scroll-hint, .s-tag, .s-spec,
.s-specs-title, .product-modal-kicker, .ilm-product-index, .ilm-product-count {
  font-family: "Barlow Condensed", Arial, sans-serif !important;
  font-size: max(0.875rem, 14px) !important;
  letter-spacing: 0.035em !important;
  line-height: 1.5 !important;
}

.copy, .dark-copy, .section-note, .hero-sub, .s-tag {
  font-size: 1rem !important;
  line-height: 1.65 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

/* El azul queda reservado para interacción y pequeños indicadores. */
.side-card, .channel.red, .pill-link.red, .radio-pill.selected {
  background: #171717 !important;
  color: #f7f5ef !important;
}

.side-card, .channel.red { box-shadow: inset 4px 0 0 var(--brand-accent); }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--brand-accent) !important;
  outline-offset: 3px;
}

.nav-cta, .nav-wa, .lmb-wrap, a[href*="wa.me"], a[href*="whatsapp"] {
  --red: var(--brand-accent);
}

.nav-cta, .nav-wa {
  background: var(--brand-accent) !important;
  color: #fff !important;
  border-color: var(--brand-accent) !important;
}

.nav-cta span, .pill-link i, .icon-btn:hover, .ft-socl[href*="wa.me"] {
  background: var(--brand-accent) !important;
  color: #fff !important;
}

.nav-cta:hover, .nav-wa:hover { background: var(--brand-accent-hover) !important; }

/* La versión animada del botón de WhatsApp heredaba un shader rojo. */
.lmb-inner {
  background: var(--brand-accent) !important;
}

.lmb-shader-el canvas {
  display: block !important;
}

.lmb-label,
.lmb-label svg {
  color: #fff !important;
  fill: #fff !important;
  text-shadow: none !important;
}

/* Header de ancho completo: sutil sobre el hero y sólido tras el scroll. */
#nav, body > nav#nav, .topbar, header#nav {
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 76px !important;
  transform: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 10px clamp(18px, 4vw, 64px) !important;
  background: rgba(12, 12, 14, 0.2) !important;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.12) !important;
  backdrop-filter: blur(14px) saturate(115%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(115%) !important;
  transition: background-color 260ms ease, box-shadow 260ms ease, color 260ms ease !important;
}

.topbar {
  background: rgba(247,245,239,.48) !important;
  box-shadow: inset 0 -1px 0 rgba(16,16,16,.1) !important;
}

#nav.is-scrolled, body > nav#nav.is-scrolled, .topbar.is-scrolled,
header#nav.is-scrolled {
  background: rgba(247,245,239,.98) !important;
  color: #111 !important;
  box-shadow: 0 10px 30px rgba(12,20,38,.11), inset 0 -1px 0 rgba(16,16,16,.12) !important;
}

#nav:not(.is-scrolled) .nav-links a,
header#nav:not(.is-scrolled) .nav-links a {
  color: rgba(255,255,255,.88) !important;
}

#nav.is-scrolled .nav-links a,
header#nav.is-scrolled .nav-links a { color: rgba(16,16,16,.74) !important; }

#nav .nav-links a.active,
#nav .nav-links a.cur {
  background: #111 !important;
  border-color: #111 !important;
  color: #fff !important;
  box-shadow: inset 0 -2px 0 var(--brand-accent);
}

#nav .nav-links a:hover {
  color: #fff !important;
}

.navlinks a.active,
.navlinks a:hover {
  color: #111 !important;
  box-shadow: inset 0 -2px 0 var(--brand-accent);
}

.nav-links a, .navlinks a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav-mb, .mobile-toggle {
  min-width: 44px !important;
  min-height: 44px !important;
}

/* Recupera el acabado luminoso y tridimensional del botón de WhatsApp. */
.lmb-3d {
  filter: drop-shadow(0 9px 13px rgba(0, 24, 104, .2));
}

.lmb-shell {
  background: transparent !important;
  box-shadow:
    0 0 0 1px rgba(0, 14, 68, .65),
    0 0 0 3px rgba(117, 145, 232, .38),
    0 10px 22px rgba(0, 24, 104, .28),
    inset 0 1px 0 rgba(255,255,255,.72) !important;
  animation: whatsapp-glow 3.2s ease-in-out infinite;
}

.lmb-shader-el {
  background: transparent !important;
}

.lmb-inner {
  background: #00249c !important;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.2),
    inset 0 -3px 8px rgba(0,12,58,.34) !important;
}

.lmb-wrap:hover .lmb-shell {
  box-shadow:
    0 0 0 1px rgba(0, 14, 68, .72),
    0 0 0 4px rgba(117, 145, 232, .48),
    0 14px 30px rgba(0, 24, 104, .36),
    0 0 24px rgba(0, 36, 156, .32),
    inset 0 1px 0 rgba(255,255,255,.82) !important;
}

@keyframes whatsapp-glow {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.12); }
}

/* Relato institucional: casco 3D fijo y timeline alternado por scroll. */
#catalog {
  height: 520vh;
  background: #0b0b0c;
}

#catalog .catalog-sticky {
  padding: 92px clamp(14px, 3vw, 42px) 28px;
}

#catalog .catalog-panel {
  width: min(1540px, 100%);
  height: min(820px, calc(100dvh - 118px));
  min-height: 620px;
  padding: 12px;
  border: 1px solid rgba(247,245,239,.18);
  border-radius: 30px;
  background: #121214;
  overflow: hidden;
}

#catalog .catalog-panel::before {
  inset: 12px;
  border-radius: 20px;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px) 0 0 / 72px 72px,
    #101011;
}

#catalog .catalog-panel::after {
  background: radial-gradient(circle at 28% 48%, rgba(255,255,255,.07), transparent 34%);
}

#catalog .catalog-grid {
  grid-template-columns: minmax(360px, .82fr) minmax(540px, 1.18fr);
  gap: clamp(24px, 4vw, 70px);
  padding: 0;
}

#catalog .catalog-model-zone {
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr auto;
  padding: clamp(18px, 2vw, 30px);
  border-right: 1px solid rgba(247,245,239,.12);
}

#catalog .catalog-model-search {
  grid-column: 1;
  justify-self: start;
  min-width: 0;
  height: auto;
  padding: 0 0 16px;
  border-radius: 0;
  background: transparent;
  color: rgba(247,245,239,.55);
  font-size: .82rem !important;
}

#catalog .catalog-model-search::before {
  width: 8px;
  height: 8px;
  border: 0;
  background: var(--brand-accent);
  box-shadow: 0 0 16px rgba(0,36,156,.72);
}

#catalog .catalog-viewport {
  grid-row: 2;
  border-radius: 18px;
  background: linear-gradient(180deg, #efeee9 0%, #c9c9c6 100%);
  border: 0;
}

#catalog .catalog-viewport::before {
  background: #111;
  border-radius: 3px;
}

#catalog .catalog-viewport::after {
  content: "Arrastra horizontalmente para rotar el casco";
  border-radius: 3px;
  font-size: .72rem;
}

.catalog-model-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  color: rgba(247,245,239,.52);
  font-size: .88rem;
}

.catalog-model-caption strong {
  color: #f7f5ef;
  font-weight: 600;
  text-align: right;
}

.institutional-story {
  position: relative;
  z-index: 3;
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: clamp(28px, 4vw, 62px) clamp(24px, 4vw, 66px) clamp(24px, 3vw, 48px) 0;
}

.institutional-heading {
  max-width: 760px;
  padding-bottom: clamp(24px, 3vw, 42px);
}

.institutional-heading .catalog-text-label {
  display: block;
  margin-bottom: 12px;
  color: #9da6bf;
  font-size: .84rem !important;
}

.institutional-heading h2 {
  max-width: 12ch;
  margin-bottom: 16px;
  color: #f7f5ef;
  font-size: clamp(2.7rem, 4.8vw, 5.5rem);
  line-height: .88;
  letter-spacing: -.045em;
}

.institutional-heading p {
  max-width: 58ch;
  color: rgba(247,245,239,.58);
  font-size: 1rem;
  line-height: 1.55;
}

.institutional-timeline {
  position: relative;
  min-height: 310px;
  overflow: hidden;
}

.institutional-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(247,245,239,.15);
}

.timeline-progress {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  width: 3px;
  height: var(--timeline-progress, 0%);
  transform: translateX(-1px);
  background: var(--brand-accent);
  transition: height 450ms cubic-bezier(.22,1,.36,1);
}

.timeline-card {
  position: absolute;
  top: 50%;
  width: min(640px, 72%);
  padding: clamp(22px, 2.4vw, 34px);
  background: #f4f2ec;
  color: #111;
  border-radius: 4px;
  box-shadow: 12px 12px 0 rgba(0,0,0,.28);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 600ms cubic-bezier(.22,1,.36,1),
    transform 700ms cubic-bezier(.22,1,.36,1);
}

.timeline-card:nth-of-type(odd) {
  left: 0;
  transform: translate(-70px, -50%);
}

.timeline-card:nth-of-type(even) {
  right: 0;
  transform: translate(70px, -50%);
}

.timeline-card.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(0, -50%);
}

.timeline-card::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30px;
  height: 1px;
  background: var(--brand-accent);
}

.timeline-card:nth-of-type(odd)::after { left: 100%; }
.timeline-card:nth-of-type(even)::after { right: 100%; }

.timeline-index {
  display: block;
  margin-bottom: 18px;
  color: var(--brand-accent);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.timeline-card h3 {
  max-width: 18ch;
  margin-bottom: 14px;
  font-size: clamp(1.55rem, 2.2vw, 2.45rem);
  line-height: 1;
  letter-spacing: -.03em;
}

.timeline-card p,
.timeline-card li {
  color: rgba(17,17,17,.68);
  font-size: .98rem;
  line-height: 1.55;
}

.timeline-card ul {
  display: grid;
  gap: 5px;
  padding-left: 1.1em;
}

/* Nueva sección de captación comercial B2B. */
#impact.distributor-section {
  min-height: auto;
  padding: clamp(92px, 9vw, 138px) clamp(16px, 3vw, 42px) clamp(46px, 5vw, 72px);
  background: #efeee9;
}

#impact.distributor-section::after {
  display: none;
}

#impact.distributor-section .impact-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr);
  grid-template-rows: 58px minmax(640px, auto);
  min-height: 700px;
  background: #f8f7f2;
  box-shadow: 18px 18px 0 rgba(8,8,8,.1);
}

#impact.distributor-section .impact-topbar {
  grid-column: 1 / -1;
  grid-row: 1;
}

#impact.distributor-section .impact-image-band {
  position: relative;
  inset: auto;
  grid-column: 2;
  grid-row: 2;
  height: 100%;
  min-height: 640px;
}

#impact.distributor-section .impact-image-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,8,8,.22), transparent 35%),
              linear-gradient(0deg, rgba(8,8,8,.36), transparent 45%);
}

#impact.distributor-section .impact-word {
  left: auto;
  right: clamp(18px, 3vw, 48px);
  top: 106px;
  z-index: 3;
  font-size: clamp(7rem, 13vw, 13rem);
  color: rgba(248,247,242,.86);
  mix-blend-mode: normal;
}

#impact.distributor-section .impact-product,
#impact.distributor-section .impact-title-contrast-layer {
  display: none;
}

#impact.distributor-section .impact-text {
  grid-column: 1;
  grid-row: 2;
  width: auto;
  padding: clamp(54px, 6vw, 92px);
  align-self: center;
}

#impact.distributor-section .impact-text-label {
  box-shadow: 6px 6px 0 var(--brand-accent) !important;
}

#impact.distributor-section .impact-text-title {
  max-width: 8.5ch;
  margin-bottom: 28px;
  font-size: clamp(4.25rem, 7.3vw, 8.2rem);
  line-height: .82;
  letter-spacing: -.055em;
  text-transform: none;
}

#impact.distributor-section .impact-text-body {
  max-width: 48ch;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem) !important;
  line-height: 1.45 !important;
  font-weight: 600;
  letter-spacing: 0 !important;
  text-transform: none;
  color: rgba(8,8,8,.68);
}

.distributor-points {
  display: grid;
  gap: 10px;
  margin: 28px 0 34px;
  padding: 0;
  list-style: none;
}

.distributor-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 650;
}

.distributor-points li::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  background: var(--brand-accent);
}

.distributor-cta {
  min-height: 56px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 13px 16px 13px 22px;
  background: var(--brand-accent);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: .01em;
  box-shadow: 8px 8px 0 #111;
  transition: transform 240ms ease, background-color 240ms ease, box-shadow 240ms ease;
}

.distributor-cta svg {
  width: 36px;
  height: 36px;
  padding: 9px;
  border-left: 1px solid rgba(255,255,255,.25);
}

.distributor-cta:hover {
  background: var(--brand-accent-hover);
  transform: translate(-2px, -2px);
  box-shadow: 11px 11px 0 #111;
}

#impact.distributor-section .impact-micro.one {
  left: auto;
  right: clamp(22px,4vw,72px);
  color: #fff;
}

#impact.distributor-section .impact-micro.one::before {
  background: var(--brand-accent);
}

#impact.distributor-section .impact-route {
  background: rgba(248,247,242,.94);
}

@media (max-width: 780px) {
  html { font-size: 16px; }

  #nav, body > nav#nav, .topbar, header#nav {
    min-height: 68px !important;
    padding: 8px 14px !important;
  }

  .navlinks, #nav .nav-links {
    top: 68px !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    padding: 14px !important;
    border-radius: 0 0 18px 18px !important;
    background: rgba(247,245,239,.99) !important;
    box-shadow: 0 18px 34px rgba(12,20,38,.14);
  }

  .navlinks a, #nav .nav-links a {
    min-height: 48px;
    padding: 10px 12px !important;
    color: #111 !important;
    font-size: 1rem !important;
  }

  .hero, .page-hero {
    padding-top: max(88px, calc(68px + env(safe-area-inset-top))) !important;
  }

  #impact.distributor-section {
    padding: 84px 10px 20px;
  }

  #impact.distributor-section .impact-shell {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 54px 280px auto;
    min-height: 0;
    box-shadow: 10px 10px 0 rgba(8,8,8,.1);
  }

  #impact.distributor-section .impact-topbar {
    grid-column: 1;
  }

  #impact.distributor-section .impact-image-band {
    grid-column: 1;
    grid-row: 2;
    min-height: 280px;
    height: 280px;
  }

  #impact.distributor-section .impact-word {
    top: 90px;
    right: 14px;
    font-size: clamp(6rem, 32vw, 8rem);
  }

  #impact.distributor-section .impact-text {
    grid-column: 1;
    grid-row: 3;
    padding: 42px 22px 130px;
    text-align: left;
  }

  #impact.distributor-section .impact-text-title {
    max-width: 9ch;
    margin-left: 0;
    margin-right: 0;
    font-size: clamp(3.15rem, 15vw, 4.35rem);
  }

  #impact.distributor-section .impact-text-body {
    max-width: 34ch;
    margin-left: 0;
    margin-right: 0;
    font-size: 1.08rem !important;
  }

  .distributor-cta {
    width: 100%;
    justify-content: space-between;
  }

  #impact.distributor-section .impact-micro {
    display: none;
  }

  #catalog {
    height: 500vh;
  }

  #catalog .catalog-sticky {
    padding: 78px 10px 14px;
  }

  #catalog .catalog-panel {
    height: calc(100dvh - 92px);
    min-height: 650px;
    padding: 7px;
    border-radius: 22px;
  }

  #catalog .catalog-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 238px 1fr;
    gap: 0;
  }

  #catalog .catalog-model-zone {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    padding: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(247,245,239,.12);
  }

  #catalog .catalog-model-search,
  #catalog .catalog-model-caption {
    display: none;
  }

  #catalog .catalog-viewport {
    grid-row: 1;
    border-radius: 15px 15px 0 0;
  }

  #catalog .catalog-viewport::before {
    left: 14px;
    top: 14px;
    width: 38px;
    height: 38px;
  }

  #catalog .catalog-viewport::after {
    left: 14px;
    bottom: 14px;
    padding: 7px 10px;
    font-size: .68rem;
  }

  .institutional-story {
    padding: 22px 14px 16px;
  }

  .institutional-heading {
    padding-bottom: 16px;
  }

  .institutional-heading .catalog-text-label {
    margin-bottom: 7px;
  }

  .institutional-heading h2 {
    max-width: 11ch;
    margin-bottom: 8px;
    font-size: clamp(2.25rem, 10vw, 2.85rem);
  }

  .institutional-heading p {
    display: none;
  }

  .institutional-timeline {
    min-height: 260px;
  }

  .timeline-card {
    width: calc(100% - 22px);
    padding: 20px;
  }

  .timeline-card:nth-of-type(odd),
  .timeline-card:nth-of-type(even) {
    left: 11px;
    right: auto;
  }

  .timeline-card:nth-of-type(odd) {
    transform: translate(-48px, -50%);
  }

  .timeline-card:nth-of-type(even) {
    transform: translate(48px, -50%);
  }

  .timeline-card.is-active {
    transform: translate(0, -50%);
  }

  .timeline-card::after,
  .institutional-timeline::before,
  .timeline-progress {
    display: none;
  }

  .timeline-index {
    margin-bottom: 10px;
  }

  .timeline-card h3 {
    margin-bottom: 10px;
    font-size: 1.55rem;
  }

  .timeline-card p,
  .timeline-card li {
    font-size: .94rem;
    line-height: 1.45;
  }
}

@media (prefers-reduced-motion: reduce) {
  #nav, .topbar, header#nav { transition: none !important; }
}

/* Segunda dirección del relato institucional: flujo normal, sin escenario fijo. */
#catalog {
  height: auto !important;
  min-height: 0 !important;
  padding: clamp(110px, 11vw, 170px) clamp(16px, 3vw, 42px) clamp(120px, 12vw, 190px);
  background: #0a0a0a !important;
  overflow: hidden !important;
}

#catalog .catalog-sticky {
  position: relative !important;
  top: auto !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  display: block !important;
  padding: 0 !important;
}

#catalog .catalog-panel {
  width: min(1440px, 100%) !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 auto;
  padding: clamp(18px, 2vw, 30px) !important;
  overflow: visible !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  border-radius: 26px !important;
  background: #0a0a0a !important;
  box-shadow: none !important;
}

#catalog .catalog-panel::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 88px 88px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 88px 88px,
    #0a0a0a !important;
}

#catalog .catalog-panel::after {
  display: none !important;
}

#catalog .catalog-grid {
  height: auto !important;
  display: grid !important;
  grid-template-columns: minmax(360px, .78fr) minmax(540px, 1.22fr) !important;
  grid-template-rows: auto auto !important;
  align-items: start;
  gap: clamp(48px, 7vw, 110px) !important;
  padding: 0 !important;
}

#catalog .catalog-model-zone {
  grid-column: 1;
  grid-row: 1;
  position: relative !important;
  top: auto !important;
  min-height: 0;
  height: min(680px, 78dvh);
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: auto 1fr auto !important;
  padding: 0 !important;
  border: 0 !important;
}

#catalog .catalog-model-search {
  padding: 0 0 18px !important;
}

#catalog .catalog-viewport {
  position: relative;
  grid-row: 2 !important;
  min-height: 480px;
  border-radius: 16px !important;
  background: #fff !important;
}

.institutional-story {
  display: contents !important;
}

.institutional-heading {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  max-width: 820px;
  padding: 0 0 clamp(90px, 10vw, 150px) !important;
}

.institutional-heading .catalog-text-label {
  width: fit-content;
  margin-bottom: 18px;
  padding: 0 0 8px;
  border: 0 !important;
  border-bottom: 3px solid #00249c !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #fff !important;
}

.institutional-heading h2 {
  max-width: 11ch;
  font-size: clamp(3.5rem, 6vw, 7rem);
}

.institutional-heading p {
  max-width: 58ch;
  font-size: 1.08rem;
}

.institutional-timeline {
  grid-column: 1 / -1;
  grid-row: 2;
  min-height: 0 !important;
  display: grid !important;
  gap: clamp(110px, 12vw, 180px);
  overflow: visible !important;
  padding: clamp(100px, 10vw, 150px) clamp(20px, 3vw, 46px) 50px;
}

.institutional-timeline::before {
  top: 0;
  bottom: 0;
  left: 50%;
  background: rgba(255,255,255,.2);
}

.timeline-progress {
  display: block !important;
  position: absolute;
  top: 0;
  bottom: auto;
  left: 50%;
  z-index: 1;
  width: 3px;
  height: var(--timeline-progress, 0%);
  transform: translateX(-1px);
  background: #00249c;
  transition: height 120ms linear;
}

.timeline-card,
.timeline-card.is-active {
  position: relative !important;
  top: auto !important;
  right: auto;
  width: min(620px, 44%) !important;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 3vw, 46px) !important;
  border: 0;
  border-radius: 4px !important;
  background: #fff !important;
  color: #0a0a0a !important;
  box-shadow: 14px 14px 0 rgba(255,255,255,.08) !important;
  opacity: 0 !important;
  pointer-events: auto !important;
  transition:
    opacity 700ms cubic-bezier(.22,1,.36,1),
    transform 850ms cubic-bezier(.22,1,.36,1) !important;
}

.timeline-card:nth-of-type(odd),
.timeline-card:nth-of-type(odd).is-active {
  left: 0 !important;
  justify-self: start;
  transform: translate3d(-90px, 36px, 0) !important;
}

.timeline-card:nth-of-type(even),
.timeline-card:nth-of-type(even).is-active {
  left: auto !important;
  right: 0 !important;
  justify-self: end;
  transform: translate3d(90px, 36px, 0) !important;
}

.timeline-card.is-visible,
.timeline-card:nth-of-type(odd).is-visible,
.timeline-card:nth-of-type(even).is-visible {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) !important;
}

.timeline-card::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 13px;
  height: 13px;
  border: 4px solid #0a0a0a;
  background: #00249c;
  box-shadow: 0 0 0 1px #00249c;
}

.timeline-card:nth-of-type(odd)::before {
  left: calc(100% + (13.65% - 6px));
}

.timeline-card:nth-of-type(even)::before {
  right: calc(100% + (13.65% - 6px));
}

.timeline-card::after {
  width: 13.65% !important;
  background: #00249c !important;
}

.timeline-card h3 {
  font-size: clamp(1.9rem, 2.8vw, 3.2rem);
}

.timeline-card p,
.timeline-card li {
  max-width: 56ch;
  font-size: 1.03rem;
}

#catalog-helmet-canvas {
  cursor: grab;
  touch-action: none;
}

#catalog-helmet-canvas.is-dragging {
  cursor: grabbing;
}

/* Paleta estricta: blanco, negro y azul funcional. */
#stats {
  background: #fff !important;
}

#features {
  background: #fff !important;
}

#features .feat-head,
#features .feat-cell::before,
#features .feat-cell:nth-child(2)::before,
#marcas-teaser .prod-slide::before,
#attitude,
#attitude .att-sticky,
#attitude .att-canvas-col::before {
  background-image: none !important;
}

#features .feat-head,
#marcas-teaser .prod-slide::before,
#attitude,
#attitude .att-sticky {
  background-color: #0a0a0a !important;
}

#features .feat-sec-label,
#marcas-teaser .prod-intro-eye {
  box-shadow: 7px 7px 0 #00249c !important;
}

#features .feat-cell:nth-child(3) {
  background: #fff !important;
  color: #0a0a0a !important;
}

#features .feat-cell:nth-child(3):hover {
  background: #0a0a0a !important;
  color: #fff !important;
}

#features .feat-num,
#marcas-teaser .prod-progress-fill,
.att-scan {
  background: #00249c !important;
}

.att-scan {
  box-shadow: 0 0 18px rgba(0,36,156,.7) !important;
}

#marcas-teaser .prod-sticky {
  background: #fff !important;
}

#marcas-teaser .prod-slide-cat,
#attitude .att-eyebrow,
#features .feat-sec-label,
#stats .lbl {
  color: #00249c !important;
  border-color: rgba(0,36,156,.45) !important;
}

#stats .stats-tile-main,
#cta .cta-main {
  background: #0a0a0a !important;
}

#stats .stats-tile-orange {
  background: #fff !important;
  color: #0a0a0a !important;
  box-shadow: inset 0 0 0 2px #0a0a0a !important;
}

#stats .stats-hero-number em,
#stats .stats-premium-label,
#cta .cta-eyebrow {
  color: #00249c !important;
}

#stats .stats-premium-label,
#cta .cta-eyebrow {
  box-shadow: 7px 7px 0 #00249c !important;
}

#cta,
#cta .cta-action-panel {
  background: #0a0a0a !important;
}

#cta .cta-glow {
  background: radial-gradient(circle, rgba(0,36,156,.14), transparent 68%) !important;
}

#cta .cta-tevean {
  color: #fff !important;
}

.pre-footer-inner a:hover,
.ft-socl:hover {
  background: #00249c !important;
  color: #fff !important;
}

.ft-logo-box {
  background: #0a0a0a !important;
  box-shadow: 16px 16px 0 #00249c !important;
}

.ft-copy a:hover {
  color: #00249c !important;
  border-color: #00249c !important;
}

/* Limpieza equivalente en páginas interiores. */
.page-hero-bg {
  background-image: none !important;
  background-color: #0a0a0a !important;
}

.page-hero-eyebrow,
.ilm-catalog-kicker {
  color: #00249c !important;
}

.catalog-preview-card:hover,
.ilm-product-card:hover,
.product-modal-thumb.is-active {
  border-color: #00249c !important;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #00249c !important;
  box-shadow: 0 0 0 4px rgba(0,36,156,.12) !important;
}

body,
#left {
  --red: #00249c;
  --red-dark: #001b75;
}

@media (max-width: 780px) {
  #catalog {
    height: auto !important;
    padding: 92px 10px 100px !important;
  }

  #catalog .catalog-panel {
    height: auto !important;
    min-height: 0 !important;
    padding: 8px !important;
  }

  #catalog .catalog-grid {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto !important;
    gap: 54px !important;
  }

  .institutional-story {
    display: contents !important;
  }

  .institutional-heading,
  .institutional-timeline {
    grid-column: 1;
  }

  .institutional-heading {
    grid-row: 2;
  }

  .institutional-timeline {
    grid-row: 3;
  }

  #catalog .catalog-model-zone {
    height: 420px;
  }

  #catalog .catalog-viewport {
    min-height: 350px;
  }

  .institutional-story {
    padding: 0 12px 22px !important;
  }

  .institutional-heading {
    padding-bottom: 76px !important;
  }

  .institutional-heading h2 {
    font-size: clamp(3rem, 14vw, 4.4rem);
  }

  .institutional-heading p {
    display: block;
    font-size: 1rem;
  }

  .institutional-timeline {
    gap: 74px;
    padding-left: 18px;
  }

  .institutional-timeline::before {
    display: block;
    left: 6px;
  }

  .timeline-card,
  .timeline-card:nth-of-type(odd),
  .timeline-card:nth-of-type(even) {
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    min-height: 0;
    justify-self: stretch;
    padding: 26px 22px !important;
    transform: translate3d(42px, 28px, 0) !important;
  }

  .timeline-card.is-visible,
  .timeline-card:nth-of-type(odd).is-visible,
  .timeline-card:nth-of-type(even).is-visible {
    transform: translate3d(0,0,0) !important;
  }

  .timeline-card::before {
    left: -31px !important;
    right: auto !important;
  }

  .timeline-card::after {
    left: -18px !important;
    right: auto !important;
    width: 18px !important;
  }
}
