/* The home hero has its own full-width layout, independent of page containers. */
.hero.hero--split {
  --hero-copy-padding: clamp(48px, 6.9vw, 132px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 0;
  width: 100%;
  max-width: none;
  min-height: calc(100svh - var(--site-header-height, 79px));
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fcfdfe;
}

.hero--split .hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-width: 0;
  padding: clamp(72px, 9svh, 120px) var(--hero-copy-padding) 90px;
  background:
    radial-gradient(ellipse at 15% 10%, rgba(25, 185, 230, 0.055), transparent 62%),
    radial-gradient(ellipse at 90% 90%, rgba(242, 90, 166, 0.04), transparent 60%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.35), rgba(234, 253, 249, 0.16));
}

.hero--split .hero-copy-inner {
  width: 100%;
  min-width: 0;
  max-width: 600px;
  margin: 0;
}

.hero--split .hero-copy .eyebrow {
  margin: 0 0 20px;
  color: #bb5b8f;
  font-size: clamp(0.65rem, 0.82vw, 0.78rem);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.09em;
}

.hero--split .hero-copy h1 {
  width: 100%;
  max-width: none;
  margin: 0 0 24px;
  color: var(--azul-profundo);
  font-family: "Poppins", Arial, sans-serif;
  font-size: clamp(36px, 4.1vw, 72px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.045em;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}

.hero--split .hero-copy .lead {
  max-width: 440px;
  margin: 0 0 30px;
  color: var(--texto-suave);
  font-size: clamp(0.94rem, 1.22vw, 1.12rem);
  line-height: 1.75;
  overflow-wrap: normal;
  word-break: normal;
}

.hero--split .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: auto;
  margin: 0;
}

.hero--split .hero-actions .button {
  flex: 0 1 auto;
  width: auto;
  min-width: 0;
  min-height: 50px;
  padding: 12px clamp(18px, 1.3vw, 25px);
  font-size: 0.875rem;
  line-height: 1.35;
  text-align: center;
}

.hero--split .hero-copy .soft-note {
  max-width: 400px;
  margin: 28px 0 0;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.65;
  overflow-wrap: normal;
  word-break: normal;
}

.hero--split .soft-note::before {
  flex: 0 0 30px;
  width: 30px;
  height: 3px;
}

.hero--split .motion-orbs {
  right: 50%;
  opacity: 0.38;
}

.hero--split .motion-orbit {
  display: none;
}

.hero--split .hero-copy .hero-scroll-cue {
  bottom: 24px;
  left: var(--hero-copy-padding);
  max-width: calc(100% - 2 * var(--hero-copy-padding));
  font-size: 0.68rem;
  font-weight: 600;
}

.hero--split .hero-media {
  position: relative;
  z-index: 2;
  isolation: isolate;
  align-self: stretch;
  width: 100%;
  min-width: 0;
  min-height: calc(100svh - var(--site-header-height, 79px));
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #345778;
  touch-action: pan-y pinch-zoom;
}

.hero--split .hero-slides {
  position: absolute;
  inset: 0;
}

.hero--split .hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  visibility: hidden;
}

.hero--split .hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero--split .hero-slide img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: var(--photo-position, 54% 50%);
  transform: scale(1.08);
  transform-origin: center;
}

.hero--split .hero-media[data-slider-ready] .hero-slide.is-active img {
  will-change: transform;
}

.hero--split .hero-media::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  height: clamp(260px, 28vw, 360px);
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(7, 28, 49, 0.16) 24%, rgba(7, 28, 49, 0.58) 65%, rgba(7, 28, 49, 0.88));
}

.hero--split .hero-slider-footer {
  position: absolute;
  z-index: 3;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(24px, 3.1vw, 60px);
  color: #fff;
}

.hero--split .hero-slide-info {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 7px;
  min-width: 0;
  padding-left: 14px;
  border-left: 2px solid rgba(80, 216, 199, 0.75);
  text-shadow: 0 1px 5px rgba(7, 28, 49, 0.4);
}

.hero--split .hero-slide-caption {
  max-width: 260px;
  font-size: clamp(0.9rem, 1.05vw, 1.05rem);
  font-weight: 600;
  line-height: 1.45;
  text-wrap: balance;
}

.hero--split .hero-slide-count {
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.14em;
  font-variant-numeric: tabular-nums;
  opacity: 0.9;
}

.hero--split .hero-slider-controls {
  display: none;
  align-items: center;
  flex-shrink: 0;
  gap: 12px;
}

.hero--split .hero-media[data-slider-ready] .hero-slider-controls {
  display: flex;
}

.hero--split .hero-slider-dots {
  display: grid;
  grid-template-columns: repeat(4, 44px);
  align-items: center;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(7, 28, 49, 0.22);
  backdrop-filter: blur(8px);
}

.hero--split .hero-slider-dot,
.hero--split .hero-slider-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  min-width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  color: #fff;
  border: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.hero--split .hero-slider-dot::before,
.hero--split .hero-slider-dot::after {
  content: "";
  position: absolute;
  inset: 20px 7px auto;
  height: 3px;
  border-radius: 2px;
}

.hero--split .hero-slider-dot::before {
  background: rgba(255, 255, 255, 0.34);
  transition: background 0.2s ease;
}

.hero--split .hero-slider-dot::after {
  background: linear-gradient(90deg, #a0f3e7 var(--slide-progress, 0%), transparent var(--slide-progress, 0%));
  opacity: 0;
}

.hero--split .hero-slider-dot[aria-current="true"]::before {
  background: rgba(255, 255, 255, 0.7);
}

.hero--split .hero-slider-dot[aria-current="true"]::after {
  opacity: 1;
}

.hero--split .hero-slider-toggle {
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(7, 28, 49, 0.32);
  box-shadow: 0 6px 18px rgba(7, 28, 49, 0.18);
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.hero--split .hero-slider-toggle svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero--split .hero-slider-toggle .hero-slider-play-icon {
  display: none;
}

.hero--split .hero-slider-toggle[aria-pressed="true"] .hero-slider-pause-icon {
  display: none;
}

.hero--split .hero-slider-toggle[aria-pressed="true"] .hero-slider-play-icon {
  display: block;
}

.hero--split .hero-slider-dot:focus-visible,
.hero--split .hero-slider-toggle:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

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

@media (hover: hover) and (pointer: fine) {
  .hero--split .hero-slider-dot:hover::before {
    background: rgba(255, 255, 255, 0.8);
  }

  .hero--split .hero-slider-toggle:hover {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.13);
  }
}

@media (max-width: 1100px) and (min-width: 861px) {
  .hero--split .hero-slider-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 24px;
  }
}

@media (max-width: 860px) {
  .hero.hero--split {
    --hero-copy-padding: clamp(24px, 7.6vw, 64px);
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .hero--split .hero-copy {
    padding: clamp(52px, 8vw, 72px) var(--hero-copy-padding) 96px;
  }

  .hero--split .hero-copy-inner {
    max-width: 620px;
    margin-inline: auto;
  }

  .hero--split .hero-copy .eyebrow {
    margin-bottom: 18px;
    font-size: 0.67rem;
    letter-spacing: 0.08em;
  }

  .hero--split .hero-copy h1 {
    max-width: 610px;
    margin-bottom: 22px;
    font-size: clamp(28px, 7vw, 40px);
    line-height: 1.12;
    letter-spacing: -0.04em;
  }

  .hero--split .hero-copy .lead {
    max-width: 500px;
    margin-bottom: 28px;
    font-size: 0.96rem;
    line-height: 1.7;
  }

  .hero--split .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 430px;
    gap: 10px;
  }

  .hero--split .hero-actions .button {
    width: 100%;
    padding: 12px 13px;
    font-size: 0.8rem;
  }

  .hero--split .hero-copy .soft-note {
    margin-top: 24px;
    font-size: 0.72rem;
  }

  .hero--split .motion-orbs {
    right: 0;
  }

  .hero--split .hero-media {
    height: clamp(400px, 64svh, 640px);
    min-height: 400px;
  }

  .hero--split .hero-slide img {
    object-position: var(--photo-position-mobile, var(--photo-position, 54% 50%));
  }

  .hero--split .hero-slider-footer {
    gap: 16px;
    padding: 26px 24px;
  }

  .hero--split .hero-slide-caption {
    max-width: 240px;
    font-size: 0.9rem;
  }

  .hero--split .hero-copy .hero-scroll-cue {
    bottom: 25px;
  }
}

@media (max-width: 540px) {
  .hero--split .hero-slider-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
  }

  .hero--split .hero-slide-info {
    width: 100%;
  }

  .hero--split .hero-slider-controls {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 360px) {
  .hero--split .hero-actions {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero--split .hero-slide img,
  .hero--split .hero-media[data-slider-ready] .hero-slide.is-active img {
    transform: none;
    will-change: auto;
  }

  .hero--split .hero-slider-toggle {
    display: none;
  }

  .hero--split .hero-slider-dot::before {
    transition: none;
  }

  .hero--split .hero-slider-dot[aria-current="true"]::before {
    background: #fff;
  }
}
