.comments-area a,
.page-content a {
  text-decoration: underline
}

.alignright {
  float: right;
  margin-left: 1rem
}

.alignleft {
  float: left;
  margin-right: 1rem
}

.aligncenter {
  clear: both;
  display: block;
  margin-inline: auto
}

.alignwide {
  margin-inline: -80px
}

.alignfull {
  margin-inline: calc(50% - 50vw);
  max-width: 100vw
}

.alignfull,
.alignfull img {
  width: 100vw
}

.wp-caption {
  margin-block-end: 1.25rem;
  max-width: 100%
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px
}

.wp-caption img {
  display: block;
  margin-inline: auto
}

.wp-caption-text {
  margin: 0
}

.gallery-caption {
  display: block;
  font-size: .8125rem;
  line-height: 1.5;
  margin: 0;
  padding: .75rem
}

.pagination {
  display: flex;
  justify-content: space-between;
  margin: 20px auto
}

.sticky {
  display: block;
  position: relative
}

.bypostauthor {
  font-size: inherit
}

.hide {
  display: none !important
}

.post-password-form {
  margin: 50px auto;
  max-width: 500px
}

.post-password-form p {
  align-items: flex-end;
  display: flex;
  width: 100%
}

.post-password-form [type=submit] {
  margin-inline-start: 3px
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important
}

.screen-reader-text:focus {
  background-color: #eee;
  clip: auto !important;
  clip-path: none;
  color: #333;
  display: block;
  font-size: 1rem;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 12px 24px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000
}

.post .entry-title a {
  text-decoration: none
}

.post .wp-post-image {
  max-height: 500px;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%
}

@media(max-width:991px) {
  .post .wp-post-image {
    max-height: 400px
  }
}

@media(max-width:575px) {
  .post .wp-post-image {
    max-height: 300px
  }
}

#comments .comment-list {
  font-size: .9em;
  list-style: none;
  margin: 0;
  padding: 0
}

#comments .comment,
#comments .pingback {
  position: relative
}

#comments .comment .comment-body,
#comments .pingback .comment-body {
  border-block-end: 1px solid #ccc;
  display: flex;
  flex-direction: column;
  padding-block-end: 30px;
  padding-block-start: 30px;
  padding-inline-end: 0;
  padding-inline-start: 60px
}

#comments .comment .avatar,
#comments .pingback .avatar {
  border-radius: 50%;
  left: 0;
  margin-inline-end: 10px;
  position: absolute
}

body.rtl #comments .comment .avatar,
body.rtl #comments .pingback .avatar,
html[dir=rtl] #comments .comment .avatar,
html[dir=rtl] #comments .pingback .avatar {
  left: auto;
  right: 0
}

#comments .comment-meta {
  display: flex;
  justify-content: space-between;
  margin-block-end: .9rem
}

#comments .comment-metadata,
#comments .reply {
  font-size: 11px;
  line-height: 1
}

#comments .children {
  list-style: none;
  margin: 0;
  padding-inline-start: 30px;
  position: relative
}

#comments .children li:last-child {
  padding-block-end: 0
}

#comments ol.comment-list .children:before {
  content: "↪";
  display: inline-block;
  font-size: 1em;
  font-weight: 400;
  left: 0;
  line-height: 100%;
  position: absolute;
  top: 45px;
  width: auto
}

body.rtl #comments ol.comment-list .children:before,
html[dir=rtl] #comments ol.comment-list .children:before {
  content: "↩";
  left: auto;
  right: 0
}

@media(min-width:768px) {

  #comments .comment-author,
  #comments .comment-metadata {
    line-height: 1
  }
}

@media(max-width:767px) {
  #comments .comment .comment-body {
    padding: 30px 0
  }

  #comments .children {
    padding-inline-start: 20px
  }

  #comments .comment .avatar {
    float: left;
    position: inherit
  }

  body.rtl #comments .comment .avatar,
  html[dir=rtl] #comments .comment .avatar {
    float: right
  }
}

.page-header .entry-title,
.site-footer .footer-inner,
.site-footer:not(.dynamic-footer),
.site-header .header-inner,
.site-header:not(.dynamic-header),
body:not([class*=elementor-page-]) .site-main {
  margin-inline-end: auto;
  margin-inline-start: auto;
  width: 100%
}

@media(max-width:575px) {

  .page-header .entry-title,
  .site-footer .footer-inner,
  .site-footer:not(.dynamic-footer),
  .site-header .header-inner,
  .site-header:not(.dynamic-header),
  body:not([class*=elementor-page-]) .site-main {
    padding-inline-end: 10px;
    padding-inline-start: 10px
  }
}

@media(min-width:576px) {

  .page-header .entry-title,
  .site-footer .footer-inner,
  .site-footer:not(.dynamic-footer),
  .site-header .header-inner,
  .site-header:not(.dynamic-header),
  body:not([class*=elementor-page-]) .site-main {
    max-width: 500px
  }

  .site-footer.footer-full-width .footer-inner,
  .site-header.header-full-width .header-inner {
    max-width: 100%
  }
}

@media(min-width:768px) {

  .page-header .entry-title,
  .site-footer .footer-inner,
  .site-footer:not(.dynamic-footer),
  .site-header .header-inner,
  .site-header:not(.dynamic-header),
  body:not([class*=elementor-page-]) .site-main {
    max-width: 600px
  }

  .site-footer.footer-full-width,
  .site-header.header-full-width {
    max-width: 100%
  }
}

@media(min-width:992px) {

  .page-header .entry-title,
  .site-footer .footer-inner,
  .site-footer:not(.dynamic-footer),
  .site-header .header-inner,
  .site-header:not(.dynamic-header),
  body:not([class*=elementor-page-]) .site-main {
    max-width: 800px
  }

  .site-footer.footer-full-width,
  .site-header.header-full-width {
    max-width: 100%
  }
}

@media(min-width:1200px) {

  .page-header .entry-title,
  .site-footer .footer-inner,
  .site-footer:not(.dynamic-footer),
  .site-header .header-inner,
  .site-header:not(.dynamic-header),
  body:not([class*=elementor-page-]) .site-main {
    max-width: 1140px
  }

  .site-footer.footer-full-width,
  .site-header.header-full-width {
    max-width: 100%
  }
}

.site-header+.elementor {
  min-height: calc(100svh - 320px)
}

@font-face {
  font-family: 'Modeling';
  font-weight: 400;
  src: url('./modeling.ttf');
}

@font-face {
  font-family: 'Neue';
  font-weight: 400;
  src: url('./HelveticaNeueThin.otf');
}

@font-face {
  font-family: 'Neue';
  font-weight: 500;
  src: url('./HelveticaNeueMedium.otf');
}

@font-face {
  font-family: 'Neue';
  font-weight: 400;
  src: url('./HelveticaNeueRoman.otf');
}

:root {
  border-radius: 56px;
  --background-home: linear-gradient(64.71deg, #8F6C43 11.39%, #B58F55 52.08%, #8B6841 92.78%);
}

.calculator-header {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  width: 100%;
  padding-top: 3rem;
  z-index: 5;
  pointer-events: none;

  @media (max-width: 1280px) {
    padding-top: 1rem;
  }

  .calculator-header__link {
    pointer-events: all;
  }
}

.calculator-page {
  --gap-y: 1.5rem;
  background: var(--background-home);
  font-family: 'Neue';

  @media (max-width: 1280px) {
    --gap-y: 1.5rem;
  }

  .page-container {
    display: flex;
    justify-content: space-between;

    .towers {
      position: absolute;
      left: 0;
      bottom: 0;
      height: 100%;
      width: 100%;
      pointer-events: none;

      .tower-icon {
        position: absolute;
        opacity: 0;
        transition: opacity .8s ease;
        pointer-events: none;

        &[data-tower="all"] {
          bottom: -2rem;
          left: 50%;
          transform: translateX(calc(-50% - -15rem));

          @media (max-width: 1280px) {
            transform: translateX(-50%);
          }

          @media (max-width: 768px) {
            bottom: auto;
            top: 50%;
            transform: translate(-50%, -50%);
          }

          svg {
            width: 40rem;

            @media (max-width: 1600px) {
              width: 32rem;
            }

            @media (max-width: 1280px) {
              width: 32rem;
            }

            @media (max-width: 768px) {
              width: 30rem;
            }
          }
        }

        &[data-tower="one"] {
          left: 50%;
          transform: translateX(calc(-50% - -15rem));
          bottom: 0rem;

          @media (max-width: 1280px) {
            transform: translateX(-50%);
          }

          @media (max-height: 800px) {
            bottom: -3.5rem;
          }

          svg {
            width: 25rem;

            @media (max-height: 800px) {
              width: 21rem !important;
            }

            @media (max-width: 1600px) {
              width: 32rem;
            }

            @media (max-width: 1280px) {
              width: 20rem;
            }

            @media (max-width: 768px) {
              width: 20rem;
            }

            @media (max-width: 375px) {
              width: 12rem;
            }
          }
        }

        &[data-tower="two"] {
          bottom: -1.1rem;
          left: 50%;
          transform: translateX(calc(-50% - -15rem));

          @media (max-height: 800px) {
            bottom: -3.5rem;
          }

          @media (max-width: 1280px) {
            transform: translateX(-50%);
          }

          svg {
            width: 20rem;

            @media (max-height: 800px) {
              width: 18rem !important;
            }

            @media (max-width: 1600px) {
              width: 32rem;
            }

            @media (max-width: 1280px) {
              width: 20rem;
            }

            @media (max-width: 768px) {
              width: 16rem;
            }

            @media (max-width: 375px) {
              width: 12rem;
            }
          }
        }
      }

      &[data-active-tower="all"] [data-tower="all"],
      &[data-active-tower="one"] [data-tower="one"],
      &[data-active-tower="two"] [data-tower="two"] {
        opacity: 1;
        pointer-events: all;
      }
    }
  }
}

.towers svg g path,
.towers svg g rect {
  transition: fill-opacity 0.3s ease, fill 0.3s ease;
}

.towers svg g.is-active path,
.towers svg g.is-active rect {
  fill-opacity: 0.8 !important;
}

.towers svg g.is-hovered.is-active path,
.towers svg g.is-hovered.is-active rect {
  fill-opacity: 0.8 !important;
}

.towers svg g.is-hovered path,
.towers svg g.is-hovered rect {
  fill-opacity: 0.8 !important;
  transition: fill-opacity 0.3s ease;
}

html:has(.unit-page) {
  overflow: hidden;
}

.unit-page {
  --gap-y: 1.5rem;
  font-family: 'Neue';
  overflow: hidden;

  @media (max-width: 1280px) {
    --gap-y: 1.5rem;
  }

  .page-container {
    display: flex;
    justify-content: space-between;
    pointer-events: none;

    @media (max-width: 1280px) {
      flex-direction: column;
      justify-content: flex-end;
      align-items: center;
      gap: 1rem;
    }
  }
}

.page-container {
  display: flex;
  align-items: flex-end;
  color: #fff;
  padding: var(--gap-y);
  width: 100%;
  height: calc(100vh - var(--wp-admin--admin-bar--height, 0px));
  max-height: 100svh;
  overflow: hidden;

  * {
    box-sizing: border-box;
  }

  h1,
  h2,
  h3,
  h4 {
    margin: 0;
    font-size: 1rem;
    font-family: 'Modeling', sans-serif;
    font-weight: 400;
    letter-spacing: -0em;
    overflow: hidden;

    .letter {
      display: inline-block;
      line-height: 1em;
    }

    [data-animation-title] {
      overflow: hidden;
    }
  }

  p {
    margin-block-end: 0;
  }

  button {
    color: inherit;

    &:focus {
      color: inherit;
      background-color: transparent;
    }

    &:hover {
      color: inherit;
      background-color: transparent;
    }
  }

  ul {
    list-style: none;
    padding-inline-start: 0px;
  }

  a {
    color: inherit
  }

  .calc-btn {
    padding: .9rem 1.25rem;
    color: #fff;
    background: transparent;
    align-self: flex-start;
    border-radius: .75rem;
    font-size: .875rem;
    border: 1px solid transparent;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    background-clip: padding-box;
    transition: all .3s ease-in-out;
    background-image: linear-gradient(166.21deg, #B58F55 10.6%, #B58F55 60.09%, #8B6841 120.61%);

    &::before {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: inherit;
      padding: 1px;
      /* border width */
      background: linear-gradient(146.53deg, rgba(255, 255, 255, 0) 0.53%, rgba(255, 255, 255, 0.5) 50.26%, rgba(255, 255, 255, 0) 100%);
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      pointer-events: none;
      transition: .3s background;
    }

    &:hover {
      &::before {
        background: #fff;
      }
    }

    &:focus {
      outline: none;
    }

    &.calc-btn--title {
      font-family: 'Modeling', sans-serif !important;
      font-size: .825rem;
      letter-spacing: .05em;
    }
  }

  /*.btn-mask {
      position: relative;
      overflow: hidden;

      .btn-text-top {
        maring: 0;

        span {
          display: inline-block;
        }
      }

      .btn-text-bottom {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        text-wrap: nowrap;

        span {
          display: inline-block;
        }
      }
    }*/
}

.circle-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(132deg, #563322 -57.31%, #8D6538 5.23%, #C5964D 49.03%, #8D6538 98.9%, #563322 151.61%), #FFF;
  backdrop-filter: blur(50px);
  padding: 0;
  width: 2.5rem;
  height: auto;
  aspect-ratio: 1 / 1;

  span {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    transition: .3s ease;

    &.plus {
      width: 1.8rem;
    }

    &.minus {
      width: .8rem;
    }
  }
}

.text-btn {
  align-self: flex-start;
  display: flex;
  align-items: center;
  border-radius: .75rem;
  gap: .5rem;
  border: .1rem solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(0deg, rgba(160, 110, 97, 0.20) 0%, rgba(160, 110, 97, 0.20) 100%), linear-gradient(309deg, rgba(141, 74, 66, 0.70) 1.96%, rgba(199, 162, 127, 0.70) 78.45%, rgba(205, 181, 175, 0.70) 99.45%, rgba(205, 181, 175, 0.70) 101.65%);
  backdrop-filter: blur(1rem);
  padding: .8rem 1.2rem;
  font-family: 'Modeling';
  font-size: .825rem;

  @media (max-width: 1280px) {
    padding: .5rem 1rem;
    font-size: .725rem;
  }


  .arrow-back,
  .mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 1.5rem;
  }
}

.zf-tempGroup {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}

.zf-errorMessage {
  padding-top: .4rem;
}

input {
  color: #fff;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  padding: .9rem 1rem;
  font-size: .875rem;
  transition: .3s ease;

  &:focus {
    border-color: rgba(255, 255, 255, 0.75);
    outline: none;
  }

  &::placeholder {
    color: #fff;
    opacity: 1;
  }
}

textarea {
  color: #fff;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  padding: .9rem 1rem;
  font-size: .875rem;
  transition: .3s ease;

  &:focus {
    border-color: rgba(255, 255, 255, 0.75);
    outline: none;
  }

  &::placeholder {
    color: #fff;
    opacity: 1;
  }
}

select {
  color: #fff;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  padding: .9rem 1rem;
  font-size: .875rem;
}

option {
  background: rgba(255, 255, 255, 0.04);
  color: #000;
}

.input-error {
  border-color: rgba(255, 255, 255, 0.75);
}

.input-error::placeholder {
  border-color: rgba(255, 255, 255, 0.75);
  opacity: 1;
}

.input-error::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.75) !important;
}

.input-error:-moz-placeholder {
  color: rgba(255, 255, 255, 0.75) !important;
}

.input-error::-moz-placeholder {
  color: rgba(255, 255, 255, 0.75) !important;
}

.input-error:-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.75) !important;
}

select.input-error {
  color: rgba(255, 255, 255, 0.75) !important;
}

select.input-error option {
  color: initial;
}

[data-animation-faded] {
  opacity: 0;
}

.calculator-lines {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;

  .line {
    width: .1rem;
    height: 100%;
    background: rgba(255, 255, 255, 0.08);
  }
}

.calculator-content {
  display: flex;
  justify-content: space-between;
  height: 92%;
  width: 100%;

  @media (max-width: 1280px) {
    max-height: 85%;
  }
}

.calculator-sidebar {
  position: relative;
  max-width: 30rem;
  width: 90%;
  border-radius: 1.25rem;
  border: .1rem solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(152deg, rgba(86, 51, 34, 0.95) -32.09%, rgba(141, 101, 56, 0.95) -8.02%, rgba(197, 150, 77, 0.57) 47.51%, rgba(141, 101, 56, 0.95) 87.27%, rgba(86, 51, 34, 0.95) 116.81%);
  backdrop-filter: blur(60px);
  z-index: 10;
  align-self: flex-end;
  overflow-y: hidden;
  height: 100%;

  .calculator-sidebar__scroll {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--gap-y);
    padding: 2rem;
    overflow-y: scroll;
    height: 100%;
    -webkit-overflow-scrolling: touch;

    &::-webkit-scrollbar {
      width: 4px;
    }

    &::-webkit-scrollbar-thumb {
      background: rgba(255, 255, 255, 0.75);
    }

    &::-webkit-scrollbar-track {
      background: rgba(255, 255, 255, 0.08);
    }

    @media (max-width: 1280px) {
      padding: 1.25rem;
    }
  }

  @media (max-width: 1280px) {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    transition: .3s ease;
    max-height: 85%;

    .calculator-sidebar__close {
      .minus {
        opacity: 1;
      }

      .plus {
        opacity: 0;
      }
    }

    &[data-shrink="true"] {
      height: 5rem;
      overflow-y: hidden;

      .calculator-sidebar__scroll {
        overflow: hidden;
      }

      .calculator-sidebar__close {
        .minus {
          opacity: 0;
        }

        .plus {
          opacity: 1;
        }
      }
    }
  }

  &[data-visible="false"] {
    opacity: 0 !important;
    pointer-events: none;
  }
}

.calc-back {
  position: fixed;
  left: 1rem;
  top: 1rem;
  display: none !important;

  @media (max-width: 1280px) {
    display: flex !important;
  }
}

.calculator-sidebar__header {
  display: flex;
  flex-direction: column;
  gap: var(--gap-y);

  .calculator-sidebar__subheader {
    display: flex;
    justify-content: space-between;
    align-items: center;

    .calculator-sidebar__close {
      display: none;

      @media (max-width: 1280px) {
        display: flex;
      }
    }
  }
}

.calculator-sidebar__buttons {
  display: grid;
  grid-template-columns: 50% 50%;
  gap: .5rem
}

.calculator-sidebar__btn {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  aspect-ratio: 9 / 10;
  border-radius: 1rem;
  border: .1rem solid rgba(255, 255, 255, 0.30);
  background: rgba(255, 255, 255, 0.08);
  width: 100%;
  padding-bottom: 0;

  &[data-active="false"] {
    border: .1rem solid rgba(255, 255, 255, 0.08);
    opacity: .60;

    span {
      color: white;
      background: rgba(255, 255, 255, 0.15) !important;
    }
  }

  &:hover {
    border: .1rem solid rgba(255, 255, 255, 0.30);
    background: rgba(255, 255, 255, 0.15) !important;
    opacity: .80;
  }

  &:focus {
    background: rgba(255, 255, 255, 0.08) !important;
  }

  span {
    display: inline-block;
    position: absolute;
    top: 1rem;
    left: 1rem;
    border-radius: .5rem;
    color: #3F4244;
    background: white;
    backdrop-filter: blur(var(--gap-y));
    padding: .5rem 1rem;
    font-size: .75rem;
    transition: .3s;
  }
}

.calculator-sidebar__mid {
  display: flex;
  flex-direction: column;
  gap: var(--gap-y);

  &[data-active="false"] {
    opacity: .5;
    pointer-events: none;
  }
}

.calculator-sidebar__floorslist {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: .5rem;
  height: var(--mid-height);

  @media (max-width: 1280px) {
    grid-template-columns: repeat(5, 1fr);
  }
}

.calculator-sidebar__floor-pagination {
  &[data-active="false"] {
    display: none;
  }
}

.calculator-sidebar__pagination {
  display: flex;
  width: fit-content;
  margin-left: auto;
  margin-top: 1rem;
  border-radius: 99px;
  border: .1rem solid rgba(255, 255, 255, 0.08);

  .floor-pagination-btn {
    border: none;
    opacity: 0.6;
    pointer-events: none;

    &.active {
      opacity: 1;
      pointer-events: auto;
    }
  }
}

.floor-btn {
  display: none;
  align-self: flex-start;
  border-radius: .75rem;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  padding: .6rem .4rem;
  font-size: .75rem;

  &:hover {
    background-color: rgba(255, 255, 255, 0.20) !important;
  }

  &.active,
  &.is-hovered {
    color: #000 !important;
    background-color: rgba(255, 255, 255, 1) !important;
  }

  &:focus {
    color: #000 !important;
    background-color: rgba(255, 255, 255, 1) !important;
  }
}

.calculator-sidebar__footer {
  display: flex;
  flex-direction: column;
  gap: var(--gap-y);

  &[data-active="false"] {
    opacity: .5;
    pointer-events: none;
  }
}

.apartments-list {
  display: flex;
  gap: .5rem;
}

.apartment-item {
  align-self: flex-start;
  width: fit-content;

  a {
    display: block;
    padding: .5rem 1rem;
    border-radius: .5rem;
    background: rgba(255, 255, 255, 0.08);

    &.active {
      color: #000;
      background-color: rgba(255, 255, 255, 1);
    }
  }
}

.calculator-info {
  position: relative;
  left: 0;
  width: 90%;
  max-width: 27.125rem;
  border-radius: 1.25rem 1.25rem 6rem 1.25rem;
  border: .1rem solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(148deg, #563322 -16.71%, #8D6538 4.25%, rgba(197, 150, 77, 0.80) 52.6%, #8D6538 87.22%, #563322 112.94%);
  backdrop-filter: blur(60px);
  z-index: 10;
  align-self: flex-end;
  height: 100%;
  transition: .45s;
  padding-bottom: var(--info-footer-height) !important;
  overflow: hidden;

  .calculator-info__scroll {
    display: flex;
    flex-direction: column;
    gap: var(--gap-y);
    padding: 2rem;
    height: 100%;
    overflow-y: scroll;

    &::-webkit-scrollbar {
      width: 4px;
    }

    &::-webkit-scrollbar-thumb {
      background: rgba(255, 255, 255, 0.75);
    }

    &::-webkit-scrollbar-track {
      background: rgba(255, 255, 255, 0.08);
    }

    @media (max-width: 1280px) {
      padding: 1.25rem;
    }
  }

  @media (max-width: 1280px) {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    transition: .45s;
    max-height: 85%;
  }

  &[data-active="false"] {
    opacity: 0;
    pointer-events: none;
    left: 110%
  }
}

.calculator-info__header {
  display: flex;
  flex-direction: column;
  gap: var(--gap-y);

  .calculator-info__top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    .calculator-info__close {
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      border: 1px solid rgba(255, 255, 255, 0.2);
      background: rgba(255, 255, 255, 0.08);
      backdrop-filter: blur(50px);
      padding: 0;
      width: 2.5rem;
      height: auto;
      aspect-ratio: 1 / 1;
    }
  }

  .calculator-info__image {
    border-radius: .75rem;
  }
}

.calculator-info__list {
  display: flex;
  gap: 1rem;

  p {
    display: flex;
    align-items: center;
    gap: .3rem;
    font-size: .875rem;
    font-weight: 500;
  }
}

.calculator-info__areas {
  p {
    font-size: .875rem;
  }

  .m2 {
    font-weight: 500;
  }
}

.calculator-info__description {
  font-size: .875rem;
  opacity: .75;
}

.calculator-info__footer {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 1rem 2rem;
  background: radial-gradient(278.01% 378.3% at 50% -244.69%, #563322 0%, rgba(197, 150, 77, 0.80) 53.46%, #8D6538 80.16%, #563322 100%);
  backdrop-filter: blur(3rem);

  .calc-btn {
    display: inline-flex;
  }
}

.unit {
  position: relative;
  overflow: hidden;
}

.unit-gallery.unit-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;

  @media (max-width: 1280px) {
    pointer-events: all;
  }
}

.unit-gallery.unit-background .swiper-wrapper,
.unit-gallery.unit-background .swiper-slide {
  width: 100%;
  height: 100%;
}

.swiper-fade .swiper-slide-active {
  pointer-events: none !important;
}

.unit-gallery .swiper-wrapper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;

  @media (max-width: 1280px) {
    pointer-events: all !important;
  }
}

.unit-gallery-thumbs img {
  pointer-events: all !important;
}

.unit-gallery.unit-background .swiper-button-prev,
.unit-gallery.unit-background .swiper-button-next,
.unit-gallery.unit-background .swiper-pagination {
  pointer-events: auto;
  z-index: 5;
}

.unit .unit-content-related,
.unit .unit-sidebar,
.unit .unit-sidebar__header {
  z-index: 10;
}

.unit-sidebar.two {
  z-index: 20;
}

.unit-full-image,
.unit-cover {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Thumbs styling */
.unit-gallery-thumbs {
  position: absolute !important;
  top: 2rem;
  right: 1rem;
  width: fit-content;
  max-width: 900px;
  z-index: 6;
  pointer-events: auto;

  @media (max-width: 1280px) {
    top: 1rem;
  }

  .unit-gallery-name {
    font-size: .875rem;
  }
}

.unit-gallery-thumbs .swiper-slide {
  width: 3rem !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  opacity: 0.4;
  transition: opacity .3s ease, transform .3s ease;
  cursor: pointer;

  &:hover {
    opacity: 0.8;
  }
}

.unit-gallery-thumbs .swiper-slide-thumb-active {
  opacity: 1;
  transform: scale(1.04);
}

.unit-gallery-thumbs .swiper-slide img {
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: .5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.unit-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.unit-back {
  position: absolute !important;
  top: 1rem;
  left: 1rem;
  z-index: 10;
  pointer-events: all;
  background: linear-gradient(132deg, #563322 -57.31%, #8D6538 5.23%, #C5964D 49.03%, #8D6538 98.9%, #563322 151.61%), #FFF;

  display: none !important;

  @media (max-width: 1280px) {
    display: flex !important;
  }
}

.unit-image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.unit-image-modal[data-visible="true"] {
  opacity: 1;
  pointer-events: all;
}

.unit-image-modal__container {
  position: relative;
  width: 90%;
  max-width: 1000px;
  aspect-ratio: 16/9;
}

.unit-image-modal__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* O 'cover' si quieres que llene todo el cuadro sin bordes negros */
  display: block;
}

.unit-image-modal__close {
  position: absolute;
  top: -3rem;
  left: 1.1rem;
  background: none;
}

.unit-gallery.is-interactive {
  cursor: pointer;
}

.unit-sidebar {
  position: relative;
  max-width: 30rem;
  width: 90%;
  border-radius: 1.25rem;
  border: .1rem solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(156deg, #563322 -17.76%, #8D6538 3.28%, rgba(197, 150, 77, 0.80) 51.81%, #8D6538 86.56%, #563322 112.38%);
  backdrop-filter: blur(60px);
  height: 100%;
  pointer-events: all;
  transition: .3s ease;
  z-index: 5;
  padding-bottom: var(--height-unit-info-footer);
  overflow: hidden;

  &[data-full="true"] {
    transform: translateX(calc(-100% - 2rem));
  }

  &[data-visible="false"] {
    opacity: 0 !important;
    pointer-events: none;
  }

  @media (max-width: 1280px) {
    bottom: inherit;
    min-height: inherit;
    transition: .3s ease;
    height: 70%;
    width: 100%;
    padding-bottom: var(--height-unit-info-footer);
    overflow: hidden;

    .unit-sidebar__toggle {
      .minus {
        opacity: 1;
      }

      .plus {
        opacity: 0;
      }
    }

    &[data-shrink="true"] {
      height: 5rem;
      padding-bottom: 0;

      .unit-sidebar__scroll {
        overflow-y: hidden;
      }

      .unit-sidebar__toggle {
        .minus {
          opacity: 0;
        }

        .plus {
          opacity: 1;
        }
      }

      .unit-info__footer {
        opacity: 0;
        pointer-events: none;
      }
    }

    &[data-is-full="true"] {
      height: 0%;
      opacity: 0 !important;

      .unit-sidebar__scroll {
        padding: 0;
        transition: .3s padding;
      }
    }
  }
}

.unit-full {
  position: absolute;
  left: 33rem;
  top: 50%;
  transform: translateY(-50%);
  padding: 1rem .5rem;
  border-radius: .5rem;
  border: .1rem solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(132deg, #563322 -57.31%, #8D6538 5.23%, #C5964D 49.03%, #8D6538 98.9%, #563322 151.61%);
  backdrop-filter: blur(2.5rem);
  z-index: 10;
  pointer-events: all;
  transition: .3s ease;

  &[data-isfull="true"] {
    left: 2rem;

    span {
      transform: rotate(180deg);
    }
  }

  @media (max-width: 1280px) {
    display: none;
  }

  span {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

.unit-full-mobile {
  position: relative;
  z-index: 10;
  padding: 0 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(132deg, #563322 -57.31%, #8D6538 5.23%, #C5964D 49.03%, #8D6538 98.9%, #563322 151.61%);
  backdrop-filter: blur(1rem);
  display: none;
  pointer-events: all;
  transform: translateY(0rem);
  transition: .3s transform;

  @media (max-width: 1280px) {
    display: block;
    opacity: 1;
    pointer-events: all;
    transition: opacity .3s ease, transform .3s ease;

    &[data-invert="true"] {
      transform: translateY(2rem);

      span {
        transform: rotate(90deg);
        transition: .3s transform;
      }
    }
  }

  span {
    display: inline-block;
    transform: rotate(-90deg);
  }
}

@media (max-width: 1280px) {

  .page-container:has(.unit-sidebar[data-shrink="false"]) .unit-full-mobile,
  .page-container:has(.unit-tailored[data-shrink="true"]) .unit-full-mobile {
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

.unit-sidebar__scroll {
  display: flex;
  flex-direction: column;
  gap: var(--gap-y);
  padding: 2rem;
  height: 100%;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;

  &::-webkit-scrollbar {
    width: 4px;
  }

  &::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.75);
  }

  &::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.08);
  }

  @media (max-width: 1280px) {
    padding: 1.25rem;
  }
}

.unit-sidebar__header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  .unit-sidebar__close {
    background: linear-gradient(132deg, #563322 -57.31%, #8D6538 5.23%, #C5964D 49.03%, #8D6538 98.9%, #563322 151.61%), #FFF;

    @media (max-width: 1280px) {
      display: none;
    }
  }

  .unit-sidebar__toggle {
    background: linear-gradient(132deg, #563322 -57.31%, #8D6538 5.23%, #C5964D 49.03%, #8D6538 98.9%, #563322 151.61%), #FFF;
    display: none;

    @media (max-width: 1280px) {
      display: flex;
    }
  }
}

.unit-sidebar__planes {
  display: flex;
  gap: 1rem;

  .unit-plane {
    max-width: 148px;
  }

  .unit-plane--one {
    margin-right: 1.4rem;
  }

  @media (max-width: 1280px) {
    display: grid;
    grid-template-columns: 15% 35% 35%;
  }
}

.unit-sidebar__features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .875rem;

  .unit-sidebar__feature {
    display: flex;
    align-items: center;
    gap: .4rem;

    &.feature-balcony {
      padding: .25rem .5rem;
      border: none;
      border-radius: 12px;
      transition: .3s ease;
      margin-left: -.5rem;

      &:hover {
        background: rgba(255, 255, 255, 0.10);
      }
    }

    .feature-icon {
      display: inline-flex;
      align-items: center;
    }
  }
}

.unit-info__areas {
  p {
    font-size: .875rem;
  }
}


.unit-info__alternative {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;

  img {
    width: 100%;
    opacity: .30;
  }
}

.unit-alternative-toggle {
  border: none;
}

.unit-alternative-modal {
  position: fixed;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  z-index: 100;
  pointer-events: all;
  transition: .0s .3s;

  &[data-visible="true"] {
    left: 0%;
    transition: .0s 0s;

    .unit-alternative-modal__overlay {
      opacity: 1;
      transition: .3s;
    }
  }

  .unit-alternative-modal__overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    opacity: 0;

    .unit-alternative-modal__content {
      position: relative;
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100%;
      max-height: 80%;
      max-width: 90%;

      .unit-alternative-modal__close {
        position: absolute;
        top: -1.25rem;
        right: -1.25rem;
        z-index: 10;
        border: 1px solid rgba(255, 255, 255, 0.08);
        background: linear-gradient(132deg, #563322 -57.31%, #8D6538 5.23%, #C5964D 49.03%, #8D6538 98.9%, #563322 151.61%), #FFF;
      }

      .unit-alternative-modal__nav {
        position: absolute;
        top: 50%;
        left: 50%;
        width: calc(100% + 10rem);
        transform: translate(-50%, -50%);
        display: flex;
        justify-content: space-between;
        padding: 0 1rem;
        pointer-events: none;
        z-index: 5;

        button {
          pointer-events: all;
          border: 1px solid rgba(255, 255, 255, 0.08);
          background: linear-gradient(132deg, #563322 -57.31%, #8D6538 5.23%, #C5964D 49.03%, #8D6538 98.9%, #563322 151.61%), #FFF;
        }
      }

      img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
      }
    }
  }
}

.unit-info__summary {
  display: flex;
  flex-direction: column;
  gap: 2rem;

  .unit-info__summary-pricing {
    display: flex;
    flex-direction: column;
    gap: 1rem;

    .unit-info__summary-unit {
      display: flex;
      justify-content: space-between;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      padding: 1rem 0 1rem 0;

      .left {
        div {
          font-family: 'Neue';
          font-size: 1.125rem;
          font-weight: 500;
        }

        p {
          font-size: .875rem;
          text-transform: uppercase;
          opacity: .6;
        }
      }
    }

    .unit-info__summary-quotes {
      display: flex;
      flex-direction: column;

      div {
        display: flex;
        justify-content: space-between;
        padding: .75rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);

        &:first-child {
          border-top: none;
        }

        &:last-child {
          border-bottom: none;
        }
      }
    }
  }
}

.unit-info__footer {
  display: flex;
  gap: .75rem;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 1rem 2rem;
  background: radial-gradient(278.01% 378.3% at 50% -244.69%, #563322 0%, rgba(197, 150, 77, 0.80) 53.46%, #8D6538 80.16%, #563322 100%);
  backdrop-filter: blur(3rem);
  border-top: 1px solid rgba(255, 255, 255, .5);
  border-radius: 0 0 1.25rem 1.25rem;
}

.unit-tailored {
  position: relative;
  width: 30rem;
  border-radius: 1.25rem;
  border: .1rem solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(148deg, #563322 -16.71%, #8D6538 4.25%, rgba(197, 150, 77, 0.80) 52.6%, #8D6538 87.22%, #563322 112.94%);
  backdrop-filter: blur(60px);
  height: 5.5rem;
  pointer-events: all;
  z-index: 10;
  transition: height .9s ease, opacity .3s ease;
  max-width: 30rem;
  overflow: hidden;

  .unit-tailored__scroll {
    display: flex;
    flex-direction: column;
    gap: var(--gap-y);
    padding: 1.5rem;
    scroll-behavior: smooth;
    height: 100%;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;

    &::-webkit-scrollbar {
      width: 4px;
    }

    &::-webkit-scrollbar-thumb {
      background: rgba(255, 255, 255, 0.75);
    }

    &::-webkit-scrollbar-track {
      background: rgba(255, 255, 255, 0.08);
    }

    @media (max-width: 1280px) {
      padding: 1.25rem;
    }
  }

  &[data-shrink="true"] {
    height: 80%;

    .unit-tailored__scroll {
      overflow-y: scroll;
      -webkit-overflow-scrolling: touch;
    }

    .unit-tailored__close {
      .minus {
        opacity: 1;
      }

      .plus {
        opacity: 0;
      }
    }
  }

  &[data-visible="false"] {
    opacity: 0 !important;
    pointer-events: none;
  }

  @media (max-width: 1280px) {
    bottom: inherit;
    min-height: inherit;
    transition: .3s ease;
    height: 5rem;
    width: 100%;

    &[data-is-full="true"] {
      height: 0px;
      padding: 0;
      opacity: 0 !important;
    }
  }

  .unit-tailored__close {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(132deg, #563322 -57.31%, #8D6538 5.23%, #C5964D 49.03%, #8D6538 98.9%, #563322 151.61%), #FFF;
    backdrop-filter: blur(50px);
    padding: 0;
    width: 2.5rem;
    height: auto;
    aspect-ratio: 1 / 1;

    span {
      display: inline-flex;
      align-items: center;
      line-height: 0;
      position: absolute;
      transition: opacity .3s;
    }

    .minus {
      opacity: 0;
    }

    .mark {
      opacity: 1;
    }
  }
}

.unit-tailored__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.unit-tailored__images {
  display: flex;
  gap: 1rem;

  .unit-tailored__image {
    position: relative;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    opacity: .5;
    border-radius: 1rem;

    &[data-active="true"] {
      opacity: 1;
    }

    span {
      position: absolute;
      left: 1rem;
      top: 1rem;
      color: #000;
      background-color: #fff;
      border-radius: .5rem;
      padding: .5rem;
      font-size: .75rem;
    }

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 1rem;
    }
  }
}

.unit-tailored__materials {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.unit-tailored__materials-items {
  position: relative;
  height: var(--height-item-one);
  transition: height .3s ease;

  .unit-tailored__materials-items--one,
  .unit-tailored__materials-items--two {
    display: flex;
    flex-direction: column;
    position: absolute;
    inset: 0;
    opacity: 0;

    &[data-active="true"] {
      opacity: 1;
    }

    .unit-tailored__materials-item {
      display: flex;
      align-items: center;
      gap: 1rem;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      padding: 1rem 0;

      .left {
        display: inline-flex;
      }
    }
  }
}

.unit-modal {
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none;
  transition: 0s .3s left;

  &[data-visible="true"] {
    left: 0%;
    pointer-events: all;
    transition: 0s 0s left;

    .unit-modal__overlay {
      opacity: 1;
    }
  }

  .unit-modal__overlay {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    gap: .5rem;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    transition: .3s ease;
    padding: 2rem;
    overflow: hidden;

    .unit-modal__close {
      min-height: 3.5rem;
    }

    @media (max-width: 1280px) {
      overflow-y: auto;
      padding: 1.5rem;

      &::-webkit-scrollbar {
        width: 4px;
      }

      &::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.75);
      }

      &::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.08);
      }
    }

    .unit-modal__content {
      display: grid;
      grid-template-columns: repeat(24, 1fr);
      width: 100%;
      gap: 1rem;
      flex: 1;
      min-height: 0;

      @media (max-width: 1280px) {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 0;
        justify-content: flex-start;
        height: auto;
        flex: none;
      }

      .unit-modal__sidebar {
        width: 100%;
        max-width: 40rem;
        height: 100%;
        min-height: 0;

        @media (max-width: 1280px) {
          height: fit-content;
          min-height: auto;
        }

        background: linear-gradient(17deg, #8F6C43 15.88%, #B58F55 51.57%, #8B6841 87.26%);
        backdrop-filter: blur(60px);
        border-radius: 1.25rem 1.25rem 1.25rem 1.25rem;
        border: .1rem solid rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(60px);
        overflow: hidden;
        grid-column: span 9;

        .unit-modal__sidebar-scroll {
          display: flex;
          flex-direction: column;
          gap: 1.5rem;
          height: 100%;
          overflow-y: scroll;
          padding: 2rem;

          @media (max-width: 1280px) {
            height: auto;
            overflow: visible;
            padding: 1.5rem;
          }

          @media (max-width: 1.5rem) {
            padding: 1.5rem;
          }

          &::-webkit-scrollbar {
            width: 4px;
          }

          &::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.75);
          }

          &::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.08);
          }
        }

        .unit-modal__header {
          display: flex;
          flex-direction: column;
          gap: 1rem;

          .unit-modal__header-title {
            font-size: 1rem;
            text-wrap: balance;
          }
        }

        .unit-modal__form {
          --gap: .75rem;
          display: flex;
          flex-direction: column;
          gap: var(--gap);
          height: 0rem;
          transition: .6s;
          overflow: hidden;
          overflow-y: scroll;
          scrollbar-width: 0;

          &::-webkit-scrollbar {
            width: 4px;
          }

          &::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.75);
          }

          &::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.08);
          }

          &[data-show="true"] {
            height: var(--height-form-content);
          }

          .unit-modal__form-group {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: var(--gap);
          }

          .calc-btn {
            display: inline-flex;
          }
        }

        .unit-modal__footer {
          display: flex;
          justify-content: space-between;
          gap: .5rem;

          .calc-btn {
            width: 100%;
          }
        }
      }

      .unit-modal__tailored {
        grid-column: span 5;
        background: linear-gradient(19deg, #8F6C43 25.02%, #B58F55 63.11%, #8B6841 101.2%);
        border-radius: 1.25rem;
        overflow: hidden;
        height: 100%;
        min-height: 0;

        @media (max-width: 1280px) {
          height: fit-content;
          min-height: auto;
        }

        .unit-modal__tailored-scroll {
          display: flex;
          flex-direction: column;
          gap: 1.5rem;
          height: 100%;
          overflow-y: auto;
          padding: 2rem;

          @media (max-width: 1280px) {
            height: auto;
            overflow: visible;
            padding: 1.5rem;
          }

          &::-webkit-scrollbar {
            width: 4px;
          }

          &::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.75);
          }

          &::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.08);
          }
        }

        .unit-modal__tailored-images {
          display: flex;
          gap: 1rem;

          .unit-modal__tailored-image {
            position: relative;
            border-radius: 1rem;
            overflow: hidden;
            flex: 1;
            opacity: 0.45;
            transition: opacity .3s ease;

            &[data-active="true"] {
              opacity: 1;
            }

            &[data-active="false"] {
              display: none;
            }

            .unit-modal__tailored-label {
              position: absolute;
              left: 1rem;
              top: 1rem;
              color: #000;
              background-color: #fff;
              border-radius: .5rem;
              padding: .5rem;
              font-size: .75rem;
              z-index: 1;
            }

            img {
              width: 100%;
              height: 100%;
              aspect-ratio: 1 / 1;
              object-fit: cover;
              display: block;
            }
          }
        }

        .unit-modal__tailored-materials {
          display: flex;
          flex-direction: column;
          gap: 1rem;

          .unit-modal__tailored-materials-header h3 {
            font-size: 1rem;
            font-family: 'Modeling', sans-serif;
          }

          .unit-modal__tailored-materials-items {
            display: flex;
            flex-direction: column;

            &[data-active="false"] {
              display: none;
            }

            .unit-tailored__materials-item {
              display: flex;
              align-items: center;
              gap: 1rem;
              border-top: 1px solid rgba(255, 255, 255, 0.08);
              border-bottom: 1px solid rgba(255, 255, 255, 0.08);
              padding: 1rem 0;

              &:last-child {
                border-bottom: none;
              }

              .left {
                width: 4rem;
                height: 4rem;
                flex-shrink: 0;
                border-radius: .5rem;
                overflow: hidden;

                img {
                  width: 100%;
                  height: 100%;
                  object-fit: cover;
                }
              }

              .right {
                display: flex;
                flex-direction: column;
                gap: .25rem;
                font-size: .875rem;
                opacity: .85;
              }
            }
          }
        }
      }

      .unit-modal__contact {
        grid-column: span 10;
        background: linear-gradient(19deg, #8F6C43 25.02%, #B58F55 63.11%, #8B6841 101.2%);
        border-radius: 1.25rem;
        overflow: hidden;
        border: .1rem solid rgba(255, 255, 255, 0.08);
        height: 100%;
        min-height: 0;

        @media (max-width: 1280px) {
          height: fit-content;
          min-height: auto;
        }

        .unit-modal__contact-scroll {
          display: flex;
          flex-direction: column;
          gap: 1.5rem;
          height: 100%;
          overflow-y: auto;
          padding: 2rem;

          @media (max-width: 1280px) {
            height: auto;
            overflow: visible;
            padding: 1.5rem;
          }

          &::-webkit-scrollbar {
            width: 4px;
          }

          &::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.75);
          }

          &::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.08);
          }
        }

        .unit-modal__contact-header {
          display: flex;
          flex-direction: column;
          gap: .75rem;

          .unit-modal__contact-title {
            font-size: 1.25rem;
            line-height: 1.3;
            text-wrap: balance;
          }

          .unit-modal__contact-description {
            font-size: .9rem;
            opacity: .8;
            line-height: 1.6;
          }
        }

        .unit-modal__contact-actions {
          display: flex;
          gap: 1rem;

          .calc-btn {
            flex: 1;
            transition: opacity .3s;
          }
        }

        /* Form: siempre visible, bloqueado por defecto */
        .unit-modal__form {
          --gap: .75rem;
          display: flex;
          flex-direction: column;
          gap: var(--gap);
          opacity: .5;
          pointer-events: none;
          transition: opacity .3s ease;

          input,
          select,
          textarea {
            width: 100%;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: .5rem;
            padding: 1rem 1.5rem;
            color: #fff;
            font-size: .875rem;
            outline: none;
            transition: border-color .2s;

            &::placeholder {
              color: rgba(255, 255, 255, 1);
            }

            &:focus {
              border-color: rgba(255, 255, 255, 0.4);
            }
          }

          select option {
            background: #8D6538;
            color: #fff;
          }

          textarea {
            resize: none;
            min-height: 6rem;
          }

          .zf-tempGroup {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: var(--gap);

            @media (max-width: 1280px) {
              grid-template-columns: 1fr;
            }
          }
        }

        /* ── Book seleccionado: book opacity 1, reserve 0.5, form + send habilitados ── */
        &[data-mode="book"] {
          .unit-modal__book-btn {
            opacity: 1;
          }

          .unit-modal__reserve-btn {
            opacity: .5;
          }

          .unit-modal__form,
          .unit-modal__send-btn {
            opacity: 1;
            pointer-events: all;
          }
        }

        /* ── Reserve seleccionado: reserve opacity 1, book 0.5 ── */
        &[data-mode="reserve"] {
          .unit-modal__reserve-btn {
            opacity: 1;
          }

          .unit-modal__book-btn {
            opacity: .5;
          }
        }

        /* Send request button */
        .unit-modal__send-btn {
          width: 100%;
          opacity: .5;
          pointer-events: none;
          transition: opacity .3s;
        }
      }
    }
  }
}

.unit-modal:has(.unit-modal__form[data-show="true"]) .calc-btn {
  opacity: 0;
  pointer-events: none;

  @media (max-width: 1280px) {
    height: 0;
    padding: 0;
  }

}

.site-footer {
  display: none;
}

.limit-modal {
  display: flex;
  position: fixed;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  z-index: 99999;
  justify-content: center;
  align-items: center;
  pointer-events: all;

  &[data-show="true"] {
    left: 0%;

    .limit-modal__overlay {
      opacity: 1;
      transition: .3s;
    }

    .limit-modal__content {
      filter: blur(0px);
      transform: scale(1);
      opacity: 1;
      transition: .6s cubic-bezier(0.4, 0, 0.2, 1);
    }
  }

  /* Added for intro modal appearance */
  &[data-animation-faded].limit-modal {
    opacity: 0;

    &.intro-visible {
      opacity: 1;
      transition: opacity .8s ease;
    }
  }
}

.limit-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
}

.limit-modal__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: white;
  background: #fff;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  text-align: center;
  border-radius: 1.25rem 4rem 1.25rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(108deg, #563322 0%, #8D6538 22.85%, rgba(197, 150, 77, 0.80) 56.01%, #8D6538 80.11%, #563322 104.77%);
  backdrop-filter: blur(50px);
  z-index: 100000;
  filter: blur(15px);

  @media (max-width: 1200px) {
    padding: 1.5rem;
  }
}

.limit-modal__title {
  font-size: 1 !important;
  font-weight: bold;
  font-family: 'Modeling', sans-serif;
  font-weight: 400;
}

.limit-modal__desc {
  font-size: .875rem;
  line-height: 1.5;
  margin-bottom: 24px;
  text-wrap: balance;
  font-weight: 400;
}

.limit-modal__close svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.limit-modal__buttons {
  display: flex;
  gap: 1rem;
  max-width: 450px;
  padding-top: 1rem;

  button {
    width: 100%;
  }
}

.intro-modal {
  display: flex;
  position: fixed;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  z-index: 99999;
  justify-content: flex-start;
  align-items: center;
  pointer-events: all;

  @media (max-width: 1280px) {
    justify-content: center;
  }

  &[data-show="true"] {
    left: 2rem;

    @media (max-width: 1280px) {
      left: 0;
    }

    .intro-modal__overlay {
      opacity: 1;
      transition: .3s;
    }

    .intro-modal__content {
      filter: blur(0px);
      transform: scale(1);
      opacity: 1;
      transition: .6s cubic-bezier(0.4, 0, 0.2, 1);
    }
  }

  &[data-animation-faded].intro-modal {
    opacity: 0;

    &.intro-visible {
      opacity: 1;
      transition: opacity .8s ease;
    }
  }
}

.intro-modal__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: white;
  background: #fff;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  text-align: center;
  border-radius: 1.25rem 4rem 1.25rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(30.88deg, #8F6C43 -14.84%, #B58F55 46.57%, #8B6841 93.42%);
  backdrop-filter: blur(50px);
  z-index: 100000;
  filter: blur(15px);

  @media (max-width: 1200px) {
    padding: 1.5rem;
  }
}

.intro-modal__title {
  font-size: 24px;
  font-weight: bold;
  font-family: 'Modeling', sans-serif;
  font-weight: 400;
}

.intro-modal__desc {
  font-size: .875rem;
  line-height: 1.5;
  margin-bottom: 24px;
  text-wrap: balance;
  font-weight: 400;
}

.intro-modal__buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  padding-top: 1rem;
}

.reserve-modal {
  display: flex;
  position: fixed;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  z-index: 99999;
  justify-content: center;
  align-items: center;
  pointer-events: all;

  &[data-show="true"] {
    left: 0%;

    .reserve-modal__overlay {
      opacity: 1;
      transition: .3s;
    }

    .reserve-modal__content {
      filter: blur(0px);
      transition: .3s;
    }
  }
}

.reserve-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;

  &[data-show="true"] {
    opacity: 1;
    pointer-events: all;

    .reserve-modal__overlay {
      opacity: 1;
    }
  }
}

.reserve-modal__overlay {

  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.reserve-modal__content {
  max-width: 40rem;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  scrollbar-width: 0;
  padding: 1rem;

  &::-webkit-scrollbar {
    width: 4px;
  }

  &::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.75);
  }

  &::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.08);
  }

  .reserve-modal__close {
    align-self: flex-start;
    background: linear-gradient(134deg, #563322 -5.56%, #8D6538 29.59%, rgba(197, 150, 77, 0.80) 110.66%, #8D6538 168.7%, #563322 211.83%);
  }
}

.full-modal {
  display: flex;
  position: fixed;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  z-index: 99999;
  justify-content: center;
  align-items: center;
  pointer-events: all;

  &[data-show="true"] {
    left: 0%;

    .full-modal__overlay {
      opacity: 1;
      transition: .3s;
    }

    .full-modal__content {
      filter: blur(0px);
      transition: .3s;
    }
  }
}

.full-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.full-modal__content {
  width: 100%;
  height: 100%;

  .full-modal__close {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background: linear-gradient(132deg, #563322 -57.31%, #8D6538 5.23%, #C5964D 49.03%, #8D6538 98.9%, #563322 151.61%), #FFF;
  }
}