
.laeca-proyectos-hero-wrapper,
.laeca-proyectos-hero-wrapper *,
.laeca-proyectos-hero-wrapper *::before,
.laeca-proyectos-hero-wrapper *::after {
  box-sizing: border-box;
}

.laeca-proyectos-hero-wrapper h1,
.laeca-proyectos-hero-wrapper p {
  margin: 0;
  padding: 0;
}

.laeca-proyectos-hero-wrapper {
  position: relative;
  width: 100%;
  height: 160vh;
  background: #071526;
  overflow: clip;
  font-family: "Inter", sans-serif;
}

.laeca-proyectos-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
  background: #071526;
}

.laeca-proyectos-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.laeca-proyectos-hero__image {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  display: block;
  object-fit: cover;
  object-position: center center;
  transform-origin: center center;
  will-change: transform;
}

.laeca-proyectos-hero__overlay,
.laeca-proyectos-hero__grid {
  position: absolute;
  inset: 0;
}

.laeca-proyectos-hero__overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(7, 21, 38, 0.88) 0%,
    rgba(7, 21, 38, 0.60) 42%,
    rgba(7, 21, 38, 0.28) 100%
  );
}

.laeca-proyectos-hero__overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.30) 0%,
    rgba(0, 0, 0, 0.08) 50%,
    rgba(0, 0, 0, 0.14) 100%
  );
}

.laeca-proyectos-hero__grid {
  opacity: .08;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to right, rgba(0,0,0,.55), transparent 72%);
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,.55), transparent 72%);
}

.laeca-proyectos-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-left: 3rem;
  padding-right: 3rem;
  color: #fff;
  will-change: transform, opacity;
}

.laeca-proyectos-hero__inner {
  width: 100%;
  max-width: 58rem;
  margin-left: 4%;
  padding-left: 1.35rem;
  border-left: 4px solid var(--laeca-proyectos-accent, #1a40ff);
}

.laeca-proyectos-hero__title {
  color: #ffffff;
  font-family: "Barlow Condensed", sans-serif;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -1.5px;
}

.laeca-proyectos-hero__title span {
  display: block;
}

.laeca-proyectos-hero__title--tablet,
.laeca-proyectos-hero__title--mobile {
  display: none;
}

.laeca-proyectos-hero__title--desktop {
  font-size: 72px;
  line-height: 72px;
}

.laeca-proyectos-hero__title--desktop span {
  white-space: nowrap;
}

.laeca-proyectos-hero__desc {
  width: 100%;
  max-width: 40rem;
  margin-top: 1.5rem !important;
  color: rgba(255,255,255,.88);
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: 0;
}

@media (min-width: 1440px) {
  .laeca-proyectos-hero__content {
    padding-left: 4rem;
    padding-right: 4rem;
  }

  .laeca-proyectos-hero__inner {
    margin-left: 5%;
  }
}

/* TABLET · REGLAS DEL HERO */
@media (min-width: 768px) and (max-width: 1023px) {
  .laeca-proyectos-hero-wrapper {
    height: 150vh;
  }

  .laeca-proyectos-hero {
    min-height: 720px;
    padding-top: 72px;
    align-items: center;
  }

  .laeca-proyectos-hero__content {
    padding-left: 1rem;
    padding-right: 1.5rem;
  }

  .laeca-proyectos-hero__inner {
    max-width: 41rem;
    margin-left: 0;
    padding-left: 1.5rem;
  }

  .laeca-proyectos-hero__title--desktop,
  .laeca-proyectos-hero__title--mobile {
    display: none !important;
  }

  .laeca-proyectos-hero__title--tablet {
    display: block !important;
    font-size: 60px;
    line-height: 60px;
  }

  .laeca-proyectos-hero__title--tablet span {
    white-space: nowrap;
  }

  .laeca-proyectos-hero__desc {
    max-width: 35rem;
    margin-top: 1.35rem !important;
    font-size: 18px;
    line-height: 28px;
  }
}

/* MÓVIL · REGLAS DEL HERO */
@media (max-width: 767px) {
  .laeca-proyectos-hero-wrapper {
    height: 138vh;
  }

  .laeca-proyectos-hero {
    min-height: 620px;
    padding-top: 68px;
    align-items: center;
  }

  .laeca-proyectos-hero__content {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .laeca-proyectos-hero__inner {
    width: 100%;
    max-width: 22rem;
    margin-left: 0;
    padding-left: 0.95rem;
    padding-right: 0;
  }

  .laeca-proyectos-hero__title--desktop,
  .laeca-proyectos-hero__title--tablet {
    display: none !important;
    visibility: hidden !important;
    max-height: 0 !important;
    overflow: hidden !important;
  }

  .laeca-proyectos-hero__title--mobile {
    display: block !important;
    width: 100%;
    max-width: 18.25rem;
    font-size: 48px;
    line-height: 48px;
    letter-spacing: -1px;
  }

  .laeca-proyectos-hero__title--mobile span {
    display: block !important;
    width: 100%;
    max-width: 100%;
    white-space: normal !important;
  }

  .laeca-proyectos-hero__desc {
    max-width: 19rem;
    margin-top: 1rem !important;
    font-size: 16px;
    line-height: 25px;
  }
}

@media (max-width: 420px) {
  .laeca-proyectos-hero__content {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .laeca-proyectos-hero__inner {
    max-width: 20.25rem;
    padding-left: 0.9rem;
  }

  .laeca-proyectos-hero__title--mobile {
    max-width: 17.9rem;
    font-size: 48px;
    line-height: 48px;
  }

  .laeca-proyectos-hero__desc {
    max-width: 18rem;
    font-size: 16px;
    line-height: 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .laeca-proyectos-hero-wrapper {
    height: 100vh;
  }

  .laeca-proyectos-hero__content,
  .laeca-proyectos-hero__image {
    transform: none !important;
    opacity: 1 !important;
  }
}
