/* CSS Document */
/* ---------- INNER HERO / PÁGINAS INTERIORES ---------- */

.inner-hero {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  display: grid;
  align-items: center;
}

.inner-hero-image,
.inner-hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.inner-hero-image img {
  object-fit: cover;
  object-position: center;
}

.inner-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.82) 0%, rgba(255,255,255,.54) 38%, rgba(255,255,255,.20) 72%, rgba(255,255,255,.04) 100%),
    linear-gradient(0deg, rgba(255,255,255,.10), rgba(255,255,255,0));
}

.inner-hero-content {
  position: relative;
  z-index: 2;
  width: var(--container);
  margin-inline: auto;
  padding: 64px 0;
}

.inner-hero-frame {
  max-width: 660px;
  position: relative;
  padding: 26px 0 26px 30px;
}

.inner-hero-frame::before,
.inner-hero-frame::after {
  content: "";
  position: absolute;
  width: 58px;
  height: 58px;
  border-color: var(--green);
  border-style: solid;
  pointer-events: none;
}

.inner-hero-frame::before {
  top: 0;
  left: 0;
  border-width: 2px 0 0 2px;
}

.inner-hero-frame::after {
  bottom: 0;
  right: 4px;
  border-width: 0 2px 2px 0;
}

.inner-kicker {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .20em;
  text-transform: uppercase;
}

.inner-hero h1 {
  max-width: 620px;
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.8rem, 5.2vw, 5rem);
  line-height: .95;
  letter-spacing: -.035em;
}

.inner-hero-sub {
  max-width: 560px;
  margin: 22px 0 28px;
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  color: #2a3a41;
  line-height: 1.65;
}

/* ---------- RESPONSIVE INNER HERO ---------- */

@media (max-width: 768px) {
  .inner-hero {
    min-height: 420px;
  }

  .inner-hero-image img {
    object-fit: cover;
    object-position: 44% center;
  }

  .inner-hero-overlay {
    background:
      linear-gradient(0deg, rgba(255,255,255,.86) 0%, rgba(255,255,255,.58) 58%, rgba(255,255,255,.24) 100%);
  }

  .inner-hero-content {
    padding: 46px 0;
  }

  .inner-hero-frame {
    padding-left: 24px;
    max-width: 100%;
  }

  .inner-hero h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .inner-hero-sub {
    font-size: 1rem;
    line-height: 1.55;
  }
}

@media (max-width: 560px) {
  .inner-hero {
    min-height: 390px;
  }

  .inner-hero-frame::before,
  .inner-hero-frame::after {
    width: 48px;
    height: 48px;
  }

  .inner-kicker {
    font-size: .64rem;
    letter-spacing: .15em;
  }

  .inner-hero h1 {
    font-size: 3.1rem;
  }
}

