.horizonte {
  --margen: clamp(20px, 4.8vw, 94px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: 100vh;
  height: 100svh;
  min-height: 350px;
  color: #f3f6f8;
  background: radial-gradient(ellipse at 55% 94%, #132330 0%, #0a121a 47%, #080c11 84%);
  font-family: Inter, Arial, sans-serif;
}
.horizonte__luz {
  position: absolute;
  z-index: 0;
  inset: auto 0 -2% 0;
  display: block;
  width: 100%;
  height: 45%;
  background: url("./horizonte.webp") center / 100% 100% no-repeat;
  pointer-events: none;
  mix-blend-mode: screen;
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 100%);
}
.horizonte__luz video { display: block; width: 100%; height: 100%; object-fit: fill; opacity: 0; }
.horizonte__luz video.is-playing { opacity: 1; }
.horizonte__lear {
  position: absolute;
  z-index: 1;
  left: var(--margen);
  top: max(4.6svh, 17px);
  width: clamp(84px, 7.5vw, 132px);
  height: auto;
}
.horizonte__contenido {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 42%;
  width: 100%;
  padding-inline: var(--margen);
  box-sizing: border-box;
  transform: translateY(-50%);
  text-align: center;
}
.horizonte__marca {
  display: block;
  width: min(33vw, 56svh, 510px);
  height: auto;
  margin-inline: auto;
}
.horizonte #horizonte-title {
  margin: clamp(20px, 3.8svh, 48px) auto 0;
  max-width: 31ch;
  font-size: clamp(25px, 2.6vw, 46px);
  font-weight: 560;
  line-height: 1.09;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.horizonte__contenido p {
  max-width: 56ch;
  margin: .8em auto 0;
  color: #c2cdd6;
  font-size: clamp(15px, 1.23vw, 21px);
  line-height: 1.48;
  text-wrap: pretty;
}
.horizonte__contenido .horizonte__trayectoria {
  margin-top: .45em;
  font-size: clamp(14px, 1.05vw, 17px);
  color: #aebfcc;
}
.horizonte__explorar { display: grid; place-items: center; width: 48px; height: 48px; margin: clamp(12px, 3svh, 28px) auto 0; color: #b7cbd6; touch-action: manipulation; }
.horizonte__explorar:hover, .horizonte__explorar:focus-visible { color: white; }
.horizonte__flecha { flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .horizonte__flecha { animation: horizonte-invitar 1.4s ease-in-out .2s 2; }
}
@keyframes horizonte-invitar {
  0%, 100% { transform: translateY(0); }
  55% { transform: translateY(3px); }
}
.horizonte :focus-visible { outline: 3px solid #c5e6fa; outline-offset: 4px; }
html:has(.horizonte) { scroll-behavior: auto; }
html.q-cover:has(.horizonte) :is(.site-header, .whatsapp-float) { visibility: hidden; pointer-events: none; }
@media (orientation: portrait) {
  .horizonte__marca { width: min(60vw, 430px); }
  .horizonte__luz { width: 145%; max-width: none; left: -23%; height: 34%; bottom: 1%; }
}
@media (max-width: 620px) {
  .horizonte + #inicio .hero-layout { row-gap: .85rem; }
  .horizonte + #inicio .hero-copy { display: contents; opacity: 1; transform: none; }
  .horizonte + #inicio .capital-humano-mobile { grid-row: 1; justify-self: start; margin: 0; }
  .horizonte + #inicio h2 { grid-row: 2; max-width: none; margin: 0; font-size: clamp(1.9rem, 7.5vw, 2.6rem); }
  .horizonte + #inicio .product-showcase { grid-row: 3; }
  .horizonte + #inicio .product-showcase__stage { min-height: 0; }
  .horizonte + #inicio .product-showcase__screen { position: relative; inset: auto; height: auto; aspect-ratio: 16 / 10; }
  .horizonte + #inicio .lede { grid-row: 4; margin: 0; }
  .horizonte + #inicio .button-row { grid-row: 5; margin-top: 0; }
}
@media (max-width: 530px) {
  .horizonte__contenido { top: 40%; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .horizonte__lear { width: 72px; top: 12px; }
  .horizonte__contenido { top: 36svh; }
  .horizonte__marca { width: min(30vw, 46svh); }
  .horizonte #horizonte-title { margin-top: 12px; font-size: 22px; }
  .horizonte__contenido p { margin-top: 5px; font-size: 14px; }
}
@media (max-height: 360px) and (orientation: landscape) {
  .horizonte__contenido { top: 31svh; }
  .horizonte__explorar { height: 44px; margin-top: 0; }
}
@media print { .horizonte { height: auto; min-height: 0; } .horizonte__contenido { position: static; transform: none; } .horizonte__luz, .horizonte__lear, .horizonte__explorar { display: none; } }
