/* RAÍZ Hero Integration: estilos acotados al shortcode de la portada de prueba. */
.raiz-main-hero,
.raiz-main-hero * {
  box-sizing: border-box;
}

.raiz-main-hero {
  position: relative;
  isolation: isolate;
  inline-size: 100vw !important;
  max-inline-size: 100vw !important;
  margin-inline: calc(50% - 50vw) !important;
  min-block-size: clamp(640px, 72svh, 900px);
  overflow: hidden;
  display: flex;
  align-items: center;
  color: #fff5e8;
  background: #101b1e;
  font-family: Georgia, "Times New Roman", serif;
}

.raiz-main-hero__visual,
.raiz-main-hero__overlay {
  position: absolute;
  inset: 0;
}

.raiz-main-hero__visual {
  z-index: -2;
  margin: 0;
}

.raiz-main-hero__visual img {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  object-position: 62% 20%;
}

.raiz-main-hero__overlay {
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(4, 14, 17, 0.88) 0%, rgba(7, 20, 22, 0.77) 30%, rgba(6, 17, 19, 0.31) 58%, rgba(4, 15, 18, 0.02) 95%);
}

.raiz-main-hero__body {
  inline-size: min(1320px, 100%);
  padding: clamp(66px, 8vw, 150px) clamp(24px, 6vw, 110px);
  margin-inline: auto;
}

.raiz-main-hero__copy {
  inline-size: min(710px, 61%);
}

.raiz-main-hero__eyebrow {
  margin: 0 0 clamp(18px, 2vw, 30px) !important;
  color: #f2b750 !important;
  font: 600 clamp(11px, 1.12vw, 15px) / 1.45 Arial, Helvetica, sans-serif !important;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.raiz-main-hero__title {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  color: #fff5e8 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(43px, 5.5vw, 88px) !important;
  font-weight: 400 !important;
  line-height: 1.05 !important;
  letter-spacing: -0.045em !important;
  text-transform: none !important;
  text-wrap: balance;
}

.raiz-main-hero__title em {
  color: #efb24b;
  font-style: normal;
}

.raiz-main-hero__lead {
  max-inline-size: 580px;
  margin: clamp(20px, 2.8vw, 32px) 0 0 !important;
  color: #f3e7d8 !important;
  font: 400 clamp(18px, 2vw, 26px) / 1.45 Georgia, "Times New Roman", serif !important;
  text-wrap: pretty;
}

.raiz-main-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-block-size: 44px;
  max-inline-size: 100%;
  margin-block-start: 24px;
  padding: 12px 22px;
  border: 1px solid #efb24b;
  border-radius: 3px;
  background: #efb24b;
  color: #101b1e;
  font: 600 16px / 1.4 Arial, Helvetica, sans-serif;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.raiz-main-hero__cta:hover {
  background: #fff5e8;
  color: #101b1e;
}

.raiz-main-hero__cta:focus-visible {
  outline: 3px solid #fff5e8;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes raiz-main-hero-reveal {
    from {
      opacity: 0;
      transform: translateY(18px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .raiz-main-hero__eyebrow,
  .raiz-main-hero__title,
  .raiz-main-hero__lead {
    animation: raiz-main-hero-reveal 0.7s cubic-bezier(0.22, 0.65, 0.23, 1) both;
  }

  .raiz-main-hero__title {
    animation-delay: 0.08s;
  }

  .raiz-main-hero__lead {
    animation-delay: 0.16s;
  }
}

@media (max-width: 1100px) {
  .raiz-main-hero {
    min-block-size: clamp(640px, 76svh, 840px);
  }

  .raiz-main-hero__visual img {
    object-position: 60% 20%;
  }

  .raiz-main-hero__body {
    padding-inline: clamp(28px, 7vw, 78px);
  }
}

@media (max-width: 900px) {
  .raiz-main-hero__copy {
    inline-size: min(650px, 75%);
  }

  .raiz-main-hero__overlay {
    background: linear-gradient(90deg, rgba(5, 14, 18, 0.91) 0%, rgba(5, 14, 18, 0.74) 47%, rgba(5, 14, 18, 0.1) 100%);
  }
}

@media (max-width: 700px) {
  .raiz-main-hero {
    min-block-size: clamp(680px, 100svh, 860px);
    align-items: flex-start;
  }

  .raiz-main-hero__visual img {
    object-position: 30% 50%;
  }

  .raiz-main-hero__overlay {
    background: linear-gradient(180deg, rgba(5, 14, 18, 0.82) 0%, rgba(5, 14, 18, 0.64) 30%, rgba(5, 14, 18, 0.08) 64%, rgba(5, 14, 18, 0.27) 100%);
  }

  .raiz-main-hero__body {
    padding: clamp(32px, 4vh, 40px) 22px 28px;
  }

  .raiz-main-hero__copy {
    inline-size: 100%;
    max-inline-size: 520px;
  }

  .raiz-main-hero__eyebrow {
    font-size: 10.5px !important;
    letter-spacing: 0.1em;
  }

  .raiz-main-hero__title {
    font-size: clamp(37px, 10vw, 58px) !important;
    line-height: 1.04 !important;
  }

  .raiz-main-hero__lead {
    max-inline-size: 440px;
    font-size: clamp(16px, 4vw, 19px) !important;
  }
}

@media (max-width: 380px) {
  .raiz-main-hero__body {
    padding-inline: 18px;
  }

  .raiz-main-hero__title {
    font-size: 36px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .raiz-main-hero,
  .raiz-main-hero * {
    animation: none !important;
    transition: none !important;
  }
}

.raiz-main-hero__cta:disabled {
  opacity: 1;
  cursor: not-allowed;
  background: #efb24b;
  color: #101b1e;
}

.raiz-main-hero__cta-pending {
  box-sizing: border-box;
  max-inline-size: 580px;
  margin: 12px auto 24px !important;
  padding: 10px 14px;
  border-inline-start: 2px solid #efb24b;
  background: #101b1e;
  color: #f3e7d8 !important;
  font: 400 14px / 1.5 Georgia, "Times New Roman", serif !important;
}