/* Diseño y adaptación de la página de Inicio. */

.hero {
  height: 630px;
  position: relative;
  padding-top: 59px;
  isolation: isolate;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 565px;
  pointer-events: none;
}

.hero-copy a {
  pointer-events: auto;
}

.hero-description {
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -.15px;
  max-width: 543px;
  margin: 0;
  color: #b2c0d0;
}

.hero-actions {
  display: flex;
  gap: 18px;
  margin-top: 25px;
}

.hero-art {
  position: absolute;
  z-index: -1;
  left: 36.5%;
  top: -3px;
  width: 76%;
  height: 632px;
  pointer-events: none;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  mix-blend-mode: lighten;
  -webkit-mask-image: linear-gradient(to right,transparent 0%,#000 11%,#000 96%,transparent 100%);
  mask-image: linear-gradient(to right,transparent 0%,#000 11%,#000 96%,transparent 100%);
}

.art-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg,var(--bg) 0%,transparent 9%,transparent 87%,var(--bg) 100%);
  pointer-events: none;
}

.floating-card {
  position: absolute;
  z-index: 2;
  text-align: left;
  width: 230px;
  background: linear-gradient(120deg,#0e181cde,#0b1518ec);
  border: 1px solid #267469;
  border-radius: 19px;
  padding: 22px;
  box-shadow: 0 15px 45px #0005,inset 0 0 28px #00e8b805;
  backdrop-filter: blur(14px);
  transition: transform .25s,border-color .25s;
}

.floating-card:hover {
  border-color: var(--mint);
  box-shadow: 0 15px 45px #0005,0 0 25px #20e4bc12;
}



.impact-float {
  right: -52px;
  top: 393px;
  width: 216px;
  transform: rotate(9deg);
  padding: 20px;
}

.impact-float:hover {
  transform: rotate(6deg) translateY(-4px);
}


.float-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 8px;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 500;
}

.floating-card .round-arrow {
  width: 36px;
  height: 36px;
  background: #14202770;
  border-color: #223037;
}

.chart-badge {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  background: #15473d;
  border-radius: 50%;
  color: var(--mint);
  margin-bottom: 12px;
}

.chart-badge .icon {
  stroke-width: 3;
  width: 24px;
  height: 24px;
}

.value-strip {
  position: absolute;
  left: 0;
  bottom: 31px;
  display: flex;
  gap: 37px;
  z-index: 2;
}

.value-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.value-item>.icon {
  color: var(--mint);
  width: 27px;
  height: 30px;
  filter: drop-shadow(0 0 10px #12e2b650);
}

.value-item strong {
  font-weight: 550;
  display: block;
  font-size: 14px;
  margin: 0 0 6px;
}

.value-item span {
  display: block;
  font-size: 12px;
  color: #98acc0;
  white-space: nowrap;
}

@media(min-width:1600px) {
  .hero-art {
    left: 36%;
    width: 77%;
  }

  .hero {
    padding-top: 59px;
  }

}

@media(max-width:1390px) {
  .hero-copy {
    max-width: 490px;
  }

  .hero-description {
    font-size: 16px;
    max-width: 485px;
  }

  .hero-art {
    left: 34%;
    width: 75%;
  }

  .floating-card {
    width: 210px;
  }


  .impact-float {
    right: -10px;
    top: 397px;
    width: 197px;
  }

  .value-strip {
    gap: 28px;
  }

  .value-item {
    gap: 14px;
  }
}

@media(max-width:1100px) {
  .hero-copy {
    max-width: 430px;
  }

  .hero-description {
    font-size: 15px;
    max-width: 430px;
  }

  .hero-art {
    left: 31%;
    width: 83%;
    top: 30px;
    height: 590px;
  }

  .floating-card {
    width: 180px;
    padding: 16px;
  }


  .impact-float {
    right: -4px;
    top: 405px;
    width: 174px;
  }

  .float-bottom {
    font-size: 12px;
  }

  .value-strip {
    gap: 25px;
  }

  .value-item span {
    font-size: 11px;
  }

  .value-item strong {
    font-size: 13px;
  }
}

@media(max-width:800px) {
  .hero {
    padding-top: 38px;
    height: auto;
    padding-bottom: 30px;
  }

  .hero-copy {
    max-width: 580px;
  }

  .hero-description {
    max-width: 550px;
    font-size: 16px;
  }

  .hero-art {
    position: relative;
    left: auto;
    top: auto;
    margin: -5px -24px 0;
    width: calc(100% + 48px);
    height: auto;
    aspect-ratio: 1.45;
    z-index: -1;
  }

  .hero-image {
    object-fit: cover;
    mask-image: linear-gradient(to right,transparent,#000 5%,#000 95%,transparent);
  }

  .art-shade {
    background: linear-gradient(0deg,var(--bg),transparent 14%,transparent 92%,var(--bg));
  }

  .floating-card {
    top: auto;
  }


  .impact-float {
    bottom: 102px;
    right: 5px;
    transform: rotate(7deg);
    width: 166px;
  }

  .value-strip {
    position: relative;
    bottom: auto;
    gap: 20px;
    justify-content: space-between;
    margin-top: 5px;
  }

  .value-item {
    gap: 9px;
  }

  .value-item strong {
    font-size: 12px;
    white-space: nowrap;
  }

  .value-item span {
    font-size: 10px;
    white-space: normal;
    max-width: 140px;
    line-height: 1.5;
  }

  .value-item>.icon {
    width: 22px;
    height: 25px;
  }
}

@media(max-width:480px) {
  .hero {
    padding-top: 28px;
  }

  .hero-description {
    font-size: 14px;
    line-height: 1.65;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 23px;
  }

  .hero-actions .button {
    font-size: 13px;
    height: 49px;
    padding: 0 17px;
    border-radius: 14px;
    gap: 8px;
  }

  .hero-actions .icon {
    width: 18px;
    height: 18px;
  }

  .hero-art {
    margin: 12px -18px 0;
    width: calc(100% + 36px);
    aspect-ratio: 1.12;
  }

  .floating-card {
    border-radius: 14px;
    padding: 12px;
  }





  .float-bottom {
    font-size: 10px;
    gap: 4px;
  }

  .floating-card .round-arrow {
    width: 25px;
    height: 25px;
  }

  .floating-card .round-arrow .icon {
    width: 16px;
  }

  .impact-float {
    bottom: 115px;
    width: 143px;
    right: 0;
  }

  .chart-badge {
    width: 33px;
    height: 33px;
    margin-bottom: 7px;
  }

  .chart-badge .icon {
    width: 19px;
    height: 19px;
  }

  .value-strip {
    gap: 12px;
    align-items: flex-start;
    margin-top: 10px;
  }

  .value-item {
    gap: 6px;
    flex: 1;
  }

  .value-item>.icon {
    width: 19px;
    height: 23px;
  }

  .value-item strong {
    font-size: 10px;
    line-height: 1.45;
    white-space: normal;
    margin-bottom: 4px;
  }

  .value-item span {
    font-size: 9px;
    line-height: 1.5;
  }
}

@media(min-width:801px) {
  .hero-actions .button-primary {
    padding-inline: 24px;
  }

.hero-art {
    left: 33%;
    top: 10px;
    width: 66%;
    height: 620px;
  }

  .hero-image {
    object-fit: contain;
  }

  .art-shade {
    background: linear-gradient(0deg,var(--bg),transparent 9%,transparent 93%,var(--bg));
  }
}

@media(min-width:801px) and (max-width:1100px) {
  .hero-art {
    left: 31%;
    width: 83%;
    height: 590px;
  }
}

@media(max-width:800px) {
  .hero {
    display: flex;
    flex-direction: column;
  }

  .hero-copy {
    order: 0;
  }

  .hero-art {
    order: 1;
  }

  .value-strip {
    order: 2;
  }
}
