/* The selected Renovar 3 composition. */
.home-page #renova {
  background: #fff;
  /* Match the space below the panel, including the featured title's inset. */
  padding: 122px 0 44px;
}

.home-page #renova > .wrap {
  position: relative;
  isolation: isolate;
  width: min(2800px, calc(100% - 48px));
  padding: 32px 24px 28px;
  border: 2px solid #477bf2;
  border-radius: 24px;
  background: linear-gradient(155deg, #172b71 4%, #203ea0 62%, #365eb8);
  box-shadow: 0 7px 26px #175cff35, 0 2px 10px #389bf733;
  backdrop-filter: none;
}

.home-page #renova > .wrap::after {
  content: '';
  position: absolute;
  inset: auto 16px -2px;
  height: 3px;
  border-radius: 100%;
  background: linear-gradient(95deg, #1268ff, #365ee1 42%, #5688f0 55%, #00cae0);
  box-shadow: 0 2px 13px #365ee170;
  pointer-events: none;
}

.home-page #renova .surface-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
  color: #fff;
}

.home-page #renova .surface-heading .eyebrow {
  color: #fff;
  margin: 0;
}

.home-page #renova .surface-heading .rainbow {
  background-image: linear-gradient(105deg, #8795ff, #d881f0 42%, #38d7e8 75%, #00e4c7);
}

.home-page #renova .surface-links {
  gap: 16px;
  padding: 6px;
}

.home-page #renova .surface-link {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  width: 100%;
  padding: 0;
  min-height: 395px;
  aspect-ratio: .72;
  border: 1px solid #b1dcfbba;
  border-radius: 17px;
  background: #edf5ff;
  box-shadow: 0 3px 14px #031c4960;
  color: #061d62;
  transition: border-color .25s, box-shadow .25s;
}

.home-page #renova .surface-image,
.home-page #renova .surface-link[data-surface="pisos"] .surface-image {
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  filter: saturate(1.14) contrast(1.02);
  transition: filter .3s, transform .3s;
}

.home-page #renova .surface-link::before {
  background: none;
}

.home-page #renova .surface-link::after {
  background: linear-gradient(105deg, rgb(135 149 255 / .34), rgb(216 129 240 / .34) 42%, rgb(56 215 232 / .34) 75%, rgb(0 228 199 / .34));
}

.home-page #renova .surface-label {
  position: relative;
  z-index: 1;
  min-height: 164px;
  padding: 16px 17px 18px;
  border-top: 1px solid #ffffffb8;
  border-radius: 15px 15px 0 0;
  background: #f2f8ffed;
  background: rgba(242, 248, 255, .86);
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
}

.home-page #renova .surface-link h3 {
  font-size: 1.7rem;
  line-height: 1.16;
  min-height: 0;
  margin: 0 0 8px;
  color: #061d62;
  text-shadow: none;
}

.home-page #renova .surface-link p {
  font-size: 1.25rem;
  line-height: 1.38;
  margin: 0;
  color: #18356e;
  text-shadow: none;
}

.home-page #renova .surface-link:hover,
.home-page #renova .surface-link:focus-visible {
  border-color: #fff;
  box-shadow: 0 5px 24px #43d3ff50;
}

.home-page #renova .surface-link:hover .surface-image,
.home-page #renova .surface-link:focus-visible .surface-image {
  opacity: 1;
  filter: saturate(1.3) contrast(1.03);
  transform: scale(1.025);
}

.home-page #renova .surface-link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .home-page #renova .surface-links {
    grid-auto-columns: 280px;
    padding: 8px 6px 20px;
    scroll-snap-type: none;
    scrollbar-color: #77c4ee #183984;
  }
}

@media (max-width: 650px) {
  .home-page #renova { padding: 82px 0 34px; }
  .home-page #renova > .wrap {
    width: calc(100% - 32px);
    padding: 26px 16px 16px;
    border-radius: 22px;
  }
  .home-page #renova .surface-heading {
    display: block;
    margin-bottom: 20px;
  }
  .home-page #renova .surface-heading .eyebrow { margin-bottom: 16px; }
  .home-page #renova .surface-link { min-height: 365px; }
  .home-page #renova .surface-label { min-height: 154px; padding: 17px 18px; }
  .home-page #renova .surface-link h3 { font-size: 1.55rem; }
  .home-page #renova .surface-link p { font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .home-page #renova .surface-link,
  .home-page #renova .surface-image { transition: none; }
  .home-page #renova .surface-link:hover .surface-image,
  .home-page #renova .surface-link:focus-visible .surface-image { transform: none; }
}
