/**
 * Hero split: transporte de carga | hidrocarburos — imágenes + parallax
 */

.landing-hero-split {
  --hero-cargo-tint: #e8ecff;
  --hero-hidro-tint: #f6e7cc;
  position: relative;
  overflow: hidden;
  padding-top: 5.25rem;
  padding-bottom: 2rem;
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(105, 108, 255, 0.12), transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 30%, rgba(232, 168, 56, 0.14), transparent 50%),
    linear-gradient(180deg, #f4f5fb 0%, #fbfbfd 100%);
}

.landing-hero-split__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.45;
}

.landing-hero-split__inner {
  position: relative;
  z-index: 1;
}

.landing-hero-split__brand {
  text-align: center;
  margin-bottom: 1.5rem;
}

.landing-hero-split__brand-mark {
  display: inline-block;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--bs-heading-color);
  margin-bottom: 0.4rem;
  line-height: 1.1;
}

.landing-hero-split__brand-mark span {
  color: var(--bs-primary);
}

.landing-hero-split__intro {
  font-size: 1.05rem;
  color: #697a8d;
  font-weight: 500;
  margin: 0 auto;
  max-width: 34rem;
  line-height: 1.45;
}

.landing-hero-split__h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.landing-hero-split__tabs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.landing-hero-split__tab {
  border: 1px solid rgba(105, 108, 255, 0.35);
  background: rgba(255, 255, 255, 0.9);
  color: var(--bs-heading-color);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 1.1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.landing-hero-split__tab:hover,
.landing-hero-split__tab:focus-visible {
  border-color: var(--bs-primary);
  outline: none;
}

.landing-hero-split__tab.is-active {
  background: var(--bs-primary);
  border-color: var(--bs-primary);
  color: #fff;
}

.landing-hero-split__tab-hint {
  display: block;
  text-align: center;
  font-size: 0.75rem;
  color: #8592a3;
  margin-bottom: 1rem;
}

.landing-hero-split__grid {
  display: grid;
  gap: 1.75rem;
}

.landing-hero-split__panel {
  display: none;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  backdrop-filter: none;
}

.landing-hero-split__panel.is-active {
  display: flex;
}

.landing-hero-split__stage {
  position: relative;
  width: 100%;
  height: 240px;
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 1rem;
  isolation: isolate;
  perspective: 900px;
}

.landing-hero-split__panel--cargo .landing-hero-split__stage {
  background: linear-gradient(145deg, #dfe3ff 0%, var(--hero-cargo-tint) 50%, #f5f7fb 100%);
}

.landing-hero-split__panel--hidro .landing-hero-split__stage {
  background: linear-gradient(145deg, #f3e2c4 0%, var(--hero-hidro-tint) 45%, #f5f7fb 100%);
}

.landing-hero-split__layer {
  position: absolute;
  inset: -8%;
  will-change: transform;
  transition: transform 0.12s ease-out;
  pointer-events: none;
}

.landing-hero-split__layer--orb {
  inset: -22%;
  background:
    radial-gradient(circle at 30% 40%, rgba(105, 108, 255, 0.32), transparent 52%),
    radial-gradient(circle at 75% 65%, rgba(232, 168, 56, 0.2), transparent 48%);
  filter: blur(2px);
}

.landing-hero-split__panel--hidro .landing-hero-split__layer--orb {
  background:
    radial-gradient(circle at 70% 35%, rgba(232, 168, 56, 0.4), transparent 50%),
    radial-gradient(circle at 25% 70%, rgba(105, 108, 255, 0.18), transparent 48%);
}

.landing-hero-split__picture {
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.landing-hero-split__layer--main {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform-origin: center center;
  transform: translate3d(0, 0, 0) scale(1.04);
}

.landing-hero-split__picture .landing-hero-split__layer--main {
  position: absolute;
}

.landing-hero-split__layer--shine {
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 42%,
    transparent 58%,
    rgba(255, 255, 255, 0.08) 100%
  );
  mix-blend-mode: soft-light;
}

.landing-hero-split__layer--vignette {
  inset: 0;
  background: linear-gradient(to top, rgba(20, 28, 45, 0.28) 0%, transparent 48%);
}

.landing-hero-split__copy {
  padding: 0 0.15rem;
}

.landing-hero-split__title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--bs-heading-color);
  margin-bottom: 0.45rem;
}

.landing-hero-split__panel--cargo .landing-hero-split__title {
  color: #23304a;
}

.landing-hero-split__panel--hidro .landing-hero-split__title {
  color: #3a2a12;
}

.landing-hero-split__lead {
  font-size: 0.95rem;
  color: #697a8d;
  margin: 0 0 0.85rem;
  max-width: 28rem;
  line-height: 1.5;
}

.landing-hero-split__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1.1rem;
}

.landing-hero-split__bullets li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  color: #566a7f;
  line-height: 1.35;
}

.landing-hero-split__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--bs-primary);
}

.landing-hero-split__panel--hidro .landing-hero-split__bullets li::before {
  background: #e8a838;
}

.landing-hero-split__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.landing-hero-split__panel--hidro .btn-hidro {
  background: #e8a838;
  border-color: #e8a838;
  color: #1f2a37;
  font-weight: 700;
}

.landing-hero-split__panel--hidro .btn-hidro:hover {
  background: #d9982a;
  border-color: #d9982a;
  color: #1f2a37;
}

/* Paths section after hero */
.landing-paths {
  padding-top: 0.5rem;
  padding-bottom: 2.5rem;
}

.landing-paths__grid {
  display: grid;
  gap: 1rem;
}

.landing-paths__item {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 1.25rem 1.35rem;
  border-left: 3px solid var(--bs-primary);
  background: transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.landing-paths__item:hover {
  background: rgba(105, 108, 255, 0.06);
  color: inherit;
}

.landing-paths__item--hidro {
  border-left-color: #e8a838;
}

.landing-paths__item--hidro:hover {
  background: rgba(232, 168, 56, 0.1);
}

.landing-paths__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bs-primary);
  margin-bottom: 0.25rem;
}

.landing-paths__item--hidro .landing-paths__label {
  color: #c4841f;
}

.landing-paths__title {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--bs-heading-color);
  margin-bottom: 0.25rem;
}

.landing-paths__text {
  display: block;
  font-size: 0.9rem;
  color: #697a8d;
  margin: 0;
  line-height: 1.4;
}

@media (min-width: 992px) {
  .landing-hero-split {
    padding-top: 6.25rem;
    padding-bottom: 2.5rem;
  }

  .landing-hero-split__tabs,
  .landing-hero-split__tab-hint {
    display: none;
  }

  .landing-hero-split__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
  }

  .landing-hero-split__panel {
    display: flex;
  }

  .landing-hero-split__stage {
    height: 360px;
    margin-left: -0.5rem;
    margin-right: -0.5rem;
    width: calc(100% + 1rem);
  }

  .landing-hero-split__title {
    font-size: 1.55rem;
  }

  .landing-hero-split__intro {
    font-size: 1.12rem;
  }

  .landing-paths__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

@media (min-width: 1200px) {
  .landing-hero-split__stage {
    height: 400px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-hero-split__layer {
    transition: none !important;
    transform: none !important;
  }
}

#hero-animation .landing-hero-blank {
  display: none;
}
