/* ==========================================================================
   Responsive inicial
   ========================================================================== */

@media (max-width: 1399.98px) {
  .site-nav {
    gap: clamp(0.9rem, 1.25vw, 1.4rem);
  }

  .site-nav a {
    font-size: 0.56rem;
  }

  .fullscreen-menu__layout {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 34vw);
  }
}

@media (max-width: 1199.98px) {
  .top-bar__inner {
    width: min(100% - 48px, var(--container-wide));
  }

  .site-nav {
    display: none;
  }

  .site-header {
    display: none;
  }

  .site-header__inner {
    width: min(100% - 48px, var(--container-wide));
  }

  .site-header__menu-button {
    display: inline-flex;
  }
}

@media (max-width: 991.98px) {
  :root {
    --top-bar-height: 54px;
    --header-height: 0px;
    --header-compact-height: 0px;
  }

  .top-bar__inner {
    width: min(100% - 32px, var(--container-wide));
    grid-template-columns: 1fr auto 1fr;
    gap: 0.8rem;
  }

  .top-bar__links {
    display: none;
  }

  .top-bar__brand {
    width: 72px;
    height: 42px;
  }

  .top-bar__meta {
    gap: 0.7rem;
  }

  .top-bar__cta {
    display: none;
  }

  .site-header__inner {
    min-height: var(--header-height);
  }

  .fullscreen-menu__panel {
    min-height: 100dvh;
    overflow-y: auto;
  }

  .fullscreen-menu__layout {
    grid-template-columns: 1fr;
    padding-block: 2rem 3rem;
  }

  .fullscreen-menu__media {
    display: none;
  }

  .fullscreen-menu__list > li > a {
    font-size: clamp(1.9rem, 8vw, 4rem);
    line-height: 0.98;
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero__slide--restaurant {
    --hero-object-position: 58% 50%;
  }

  .hero__slide--waterfall {
    --hero-object-position: 45% 50%;
  }

  .hero__slide--firepit {
    --hero-object-position: 58% 50%;
  }

  .hero__slide--barbecue {
    --hero-object-position: 56% 50%;
  }

  .hero__slide--jacuzzi {
    --hero-object-position: 54% 50%;
  }

  .hero__slide--facade {
    --hero-object-position: 52% 50%;
  }

  .helora-intro-editorial__top {
    max-width: 760px;
  }

  .helora-intro-editorial__bottom {
    --bs-gutter-y: 2.2rem;
  }

  .helora-intro-editorial__aside {
    max-width: 620px;
    padding-top: 0;
  }

  .helora-intro-editorial__media {
    min-height: clamp(360px, 58vw, 560px);
  }

  .branded-residences-section__intro,
  .longea-district__intro {
    max-width: 820px;
  }

  .branded-residences-section__aside,
  .longea-district__aside {
    max-width: 260px;
    padding-top: clamp(30px, 4vw, 60px);
  }

  .branded-residences-section__media,
  .longea-district__media {
    min-height: clamp(420px, 58vw, 560px);
  }

  .sensorial-path-section__hero-media {
    min-height: clamp(420px, 55vw, 560px);
  }

  .sensorial-path-section__pillar-image,
  .sensorial-path-section__pillar {
    min-height: clamp(320px, 42vw, 430px);
  }

  .lifespan-360-section__content {
    padding: clamp(45px, 5vw, 75px);
  }

  .lifespan-360-card:nth-child(odd) {
    border-left: 0;
  }

  .lifespan-360-card:nth-child(n + 3) {
    border-top: 1px solid rgba(78, 79, 79, 0.12);
  }

  .residence-card:nth-child(odd),
  .residences-feature:nth-child(odd) {
    border-left: 0;
  }

  .residence-card:nth-child(n + 3) {
    border-top: 1px solid rgba(90, 90, 70, 0.16);
  }

  .residence-card__media {
    height: clamp(300px, 34vw, 430px);
  }

  .residences-feature:nth-child(n + 3) {
    margin-top: 1.6rem;
    padding-top: 1.6rem;
    border-top: 1px solid rgba(90, 90, 70, 0.16);
  }

  .site-footer__benefits-grid,
  .site-footer__main-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__newsletter-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .site-footer__institutional-grid {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .site-footer__institutional p {
    text-align: left;
  }

  .site-footer__legal {
    justify-content: flex-start;
  }
}

@media (max-width: 767.98px) {
  .branded-residences-section__inner,
  .longea-district__inner {
    padding-inline: clamp(20px, 5.5vw, 24px);
  }

  .branded-residences-section__intro,
  .longea-district__intro {
    text-align: left !important;
  }

  .branded-residences-section__eyebrow,
  .longea-district__eyebrow {
    margin-bottom: 1.4rem;
  }

  .branded-residences-section__intro h2,
  .longea-district__intro h2 {
    margin-inline: 0;
  }

  .branded-residences-section__copy,
  .longea-district__copy {
    gap: 1rem;
    max-width: 100%;
  }

  .branded-residences-section__showcase,
  .longea-district__showcase {
    margin-top: clamp(42px, 10vw, 60px);
  }

  .branded-residences-section__aside,
  .longea-district__aside {
    max-width: 100%;
    padding-top: 0;
  }

  .branded-residences-section__aside-copy,
  .longea-district__aside-copy {
    gap: 1.1rem;
    margin-bottom: 1.7rem;
  }

  .branded-residences-section__media,
  .longea-district__media {
    min-height: clamp(320px, 88vw, 440px);
  }

  .branded-residences-section__control,
  .longea-district__control {
    width: 46px;
  }

  .sensorial-path-section__main {
    margin-bottom: clamp(55px, 6vw, 85px);
    padding-inline: clamp(20px, 5.5vw, 24px);
  }

  .sensorial-path-section__content {
    max-width: 100%;
  }

  .sensorial-path-section__eyebrow {
    margin-bottom: 1.35rem;
  }

  .sensorial-path-section__accent {
    margin-block: 1.7rem;
  }

  .sensorial-path-section__copy {
    max-width: 100%;
  }

  .sensorial-path-section__hero-media {
    min-height: clamp(320px, 88vw, 440px);
  }

  .sensorial-path-section__pillar-image {
    min-height: clamp(320px, 88vw, 440px);
  }

  .sensorial-path-section__pillar {
    min-height: 260px;
    padding: clamp(2.3rem, 10vw, 3.4rem) clamp(24px, 8vw, 44px);
  }

  .sensorial-path-section__closing {
    padding-block: clamp(38px, 4vw, 60px);
    padding-inline: clamp(20px, 5.5vw, 24px);
  }

  .sensorial-path-section__closing p {
    letter-spacing: 0.22em;
  }

  .lifespan-360-section__hero {
    min-height: 0;
  }

  .lifespan-360-section__content {
    max-width: 100%;
    padding: clamp(42px, 10vw, 64px) clamp(20px, 5.5vw, 24px);
  }

  .lifespan-360-section__hero-media {
    min-height: clamp(320px, 88vw, 440px);
  }

  .lifespan-360-card,
  .lifespan-360-card + .lifespan-360-card,
  .lifespan-360-card:nth-child(n + 3) {
    border-left: 0;
    border-top: 1px solid rgba(78, 79, 79, 0.12);
  }

  .lifespan-360-card:first-child {
    border-top: 0;
  }

  .lifespan-360-card__media {
    height: clamp(260px, 78vw, 400px);
  }

  .lifespan-360-card__body {
    min-height: 260px;
    padding: clamp(2rem, 9vw, 3rem) clamp(24px, 8vw, 44px);
  }

  .residences-section__intro {
    padding-inline: clamp(20px, 5.5vw, 24px);
    text-align: left;
  }

  .residences-section__accent {
    margin-inline: 0;
  }

  .residences-section__grid {
    width: min(100% - 36px, 1800px);
  }

  .residence-card,
  .residence-card + .residence-card,
  .residence-card:nth-child(n + 3) {
    border-left: 0;
    border-top: 1px solid rgba(90, 90, 70, 0.16);
  }

  .residence-card:first-child {
    border-top: 0;
  }

  .residence-card__media {
    height: clamp(320px, 105vw, 460px);
  }

  .residence-card__body {
    padding: clamp(2rem, 9vw, 3rem) clamp(22px, 7vw, 34px);
  }

  .residence-card__description {
    min-height: 0;
  }

  .residence-card__meta {
    flex-wrap: wrap;
    row-gap: 0.9rem;
  }

  .residences-section__features {
    width: min(100% - 36px, 1180px);
  }

  .residences-feature,
  .residences-feature + .residences-feature,
  .residences-feature:nth-child(n + 3) {
    margin-top: 0;
    padding: 1.35rem 0;
    border-top: 1px solid rgba(90, 90, 70, 0.16);
    border-left: 0;
  }

  .residences-feature:first-child {
    padding-top: 0;
    border-top: 0;
  }
}

@media (max-width: 575.98px) {
  :root {
    --page-gutter: 16px;
  }

  .top-bar {
    font-size: 0.56rem;
  }

  .language-switch {
    gap: 0.4rem;
  }

  .site-header__inner {
    width: min(100% - 32px, var(--container-wide));
  }

  .site-header {
    background: rgba(242, 238, 231, 0.96);
  }

  .site-header__menu-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .site-header__menu-button {
    min-width: 48px;
    justify-content: flex-end;
    color: var(--helora-white);
  }

  .fullscreen-menu__brand {
    width: 68px;
    height: 42px;
  }

  .fullscreen-menu__list > li > a,
  .fullscreen-menu__list-button {
    grid-template-columns: 28px minmax(0, 1fr) auto;
    gap: 0.75rem;
  }

  .fullscreen-menu__list ul {
    display: none;
    gap: 0.46rem;
    padding-left: 43px;
  }

  .fullscreen-menu__list > li.is-mobile-submenu-open ul {
    display: grid;
  }

  .hero__slide--restaurant {
    --hero-object-position: 62% 50%;
  }

  .hero__slide--waterfall {
    --hero-object-position: 39% 50%;
  }

  .hero__slide--firepit,
  .hero__slide--barbecue,
  .hero__slide--jacuzzi {
    --hero-object-position: 58% 50%;
  }

  .hero__indicators {
    right: 4rem;
    left: 1rem;
    justify-content: flex-start;
  }

  .hero__indicators [data-bs-target] {
    width: 22px;
  }

  .hero__control {
    width: 46px;
  }

  .hero__pause {
    width: 36px;
    height: 36px;
  }

  .helora-intro-editorial__top {
    text-align: left !important;
  }

  .helora-intro-editorial__top h2 {
    margin-inline: 0;
  }

  .helora-intro-editorial__copy {
    gap: 0.9rem;
  }

  .helora-intro-editorial__bottom {
    margin-top: clamp(50px, 10vw, 64px);
  }

  .helora-intro-editorial__media {
    min-height: 320px;
  }

  .helora-intro-editorial__control {
    width: 44px;
  }

  .site-footer__benefits-grid,
  .site-footer__main-grid {
    grid-template-columns: 1fr;
  }

  .site-footer__form-row {
    grid-template-columns: 1fr;
  }

  .site-footer__form button {
    width: 100%;
  }

  .site-footer__legal {
    display: grid;
    gap: 0.7rem;
  }
}
