
/* 1. HERO VIDEO CONTAINER & TÍTULO */
.video-container {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  background: rgba(22, 26, 18, 0.6);
}

.video-container::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.video-container .bg-videobio {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 1;
  isolation: isolate;
  filter: saturate(.92) contrast(.98) brightness(.7);
  animation: kenburns 22s ease-in-out infinite alternate;
}

@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  .video-container .bg-videobio {
    animation: none;
  }
}

.hero-title {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 3;
  width: 100%;
  text-align: center;
  color: var(--white, #ffffff);
}

.hero-title h1 {
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 0 auto;
  color: var(--white, #ffffff);
  font-size: var(--fs-h1, clamp(2.4rem, 5vw, 4.4rem));
  line-height: 1.05;
  font-weight: 300;
  letter-spacing: 5px;
  justify-content: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.38);
}

.hero-title h1:before,
.hero-title h1:after {
  content: "";
  height: 1px;
  background: rgba(255, 255, 255, 0.7);
  flex: 1;
  max-width: 200px;
}

.hero-title span {
  display: block;
}

.hero-title p {
  font-size: var(--fs-eyebrow, clamp(.85rem, 1.4vw, 1.15rem));
  font-weight: 500;
  letter-spacing: 4px;
  margin: 14px 0 0;
  color: var(--white, #ffffff);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.38);
}

@media (max-width: 760px) {
  .video-container {
    height: 40vh;
  }

  .video-container .bg-videobio {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero-title {
    left: 5%;
    width: 90%;
  }

  .hero-title h1:before,
  .hero-title h1:after {
    display: none;
  }
}

/* 2. SEPARADOR SVG IGUAL QUE AGROTURISMO (assets/2.svg) */
#sacha-wasi {
  --plant-divider-height: clamp(50px, 8vw, 100px);
  position: relative;
  z-index: 2;
  margin-top: calc(-1 * var(--plant-divider-height));
  padding-top: calc(clamp(3.5rem, 8vw, 7rem) + var(--plant-divider-height)) !important;
  background: linear-gradient(
    to bottom,
    transparent 0,
    transparent var(--plant-divider-height),
    var(--olive-deep, #3e4526) var(--plant-divider-height)
  );
}

#sacha-wasi::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: var(--plant-divider-height);
  background: var(--olive-deep, #3e4526);
  mask: url("../assets/2.svg") center bottom / 40% auto repeat-x;
  -webkit-mask: url("../assets/2.svg") center bottom / 40% auto repeat-x;
  pointer-events: none;
}

@media (max-width: 767px) {
  #sacha-wasi::before {
    height: clamp(56px, 15.625vw, 80px);
    mask-size: 100% auto;
    -webkit-mask-size: 100% auto;
  }
}