.cabecera.astro-fv4oat4j {
  position: relative;
  isolation: isolate;
  padding: clamp(8rem, 16vw, 12rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: clip;
}

.lienzo.astro-fv4oat4j {
  position: absolute;
  inset: 0;
  z-index: -1;
  isolation: isolate;
  overflow: clip;
}

.fondo.astro-fv4oat4j {
  position: absolute;
  inset: -30% 0 0;
  z-index: -1;
}

.fondo.astro-fv4oat4j img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lienzo.astro-fv4oat4j:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, color-mix(in oklab, var(--c-espuma) 55%, transparent) 0, transparent 6rem),
      color-mix(in oklab, var(--c-espuma) 14%, transparent);
}

.con-imagen.astro-fv4oat4j {
  display: flex;
  align-items: flex-end;
  min-height: clamp(30rem, 78svh, 48rem);
}

.placa.astro-fv4oat4j {
  max-width: 40rem;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border: 1px solid color-mix(in oklab, var(--c-blanco) 55%, transparent);
  border-radius: 28px;
  background: color-mix(in oklab, var(--c-espuma) 76%, transparent);
  backdrop-filter: blur(16px) saturate(1.1);
  box-shadow: 0 24px 60px -36px color-mix(in oklab, var(--c-mar) 55%, transparent);
}

.placa.astro-fv4oat4j h1.astro-fv4oat4j {
  margin-top: 0;
}

.placa.astro-fv4oat4j .bajada.astro-fv4oat4j {
  margin-bottom: 0;
}

h1.astro-fv4oat4j {
  font-size: var(--t-xl);
  max-width: 16ch;
  color: var(--c-tinta);
}

.bajada.astro-fv4oat4j {
  max-width: 46ch;
  font-size: var(--t-l);
  line-height: 1.45;
  color: var(--c-tinta);
}

.texto.astro-fv4oat4j {
  position: relative;
}

@media (prefers-reduced-motion: no-preference) {
  h1.astro-fv4oat4j {
    --retraso-lineas: .1s;
  }

  .texto.astro-fv4oat4j > .revelar {
    transition-delay: .5s;
  }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .fondo.astro-fv4oat4j {
      animation: linear both quedarse-fondo;
      animation-timeline: view();
      animation-range: exit;
    }

    .texto.astro-fv4oat4j {
      animation: linear both elevar-texto;
      animation-timeline: view();
      animation-range: exit exit 70%;
    }
  }
}

@keyframes quedarse-fondo {
  to {
    transform: translateY(20%);
  }
}

@media (width <= 760px) and (orientation: portrait) {
  .con-imagen.astro-fv4oat4j {
    min-height: 64svh;
  }

  .fondo.astro-fv4oat4j {
    inset: -12% 0 0;
  }

  @keyframes quedarse-fondo {
    to {
      transform: translateY(8%);
    }
  }
}

@keyframes elevar-texto {
  to {
    transform: translateY(-5vh);
    opacity: 0;
  }
}
