.figs-mobile-villa {
  display: none;
}

@media (max-width: 1024px) {
  html,
  body.figs-mobile-villa-page {
    overflow-x: hidden;
    background: #f6f1ea;
    position: static !important;
    top: auto !important;
    width: auto !important;
  }

  body.figs-mobile-villa-page [id="t-header"],
  body.figs-mobile-villa-page #annexx-wrap-preloader,
  body.figs-mobile-villa-page #annexx-prepreloader,
  body.figs-mobile-villa-page #rec2445268811,
  body.figs-mobile-villa-page #allrecords > .r,
  body.figs-mobile-villa-page #allrecords > footer {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  body.figs-mobile-villa-page #allrecords {
    opacity: 1 !important;
    visibility: visible !important;
  }

  body.figs-mobile-villa-page #allrecords > .figs-mobile-villa {
    display: block !important;
  }

  .figs-mobile-preloader {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: grid;
    grid-template-rows: 1fr auto;
    place-items: center;
    padding: 8vh 24px;
    color: #23405a;
    background: #f6f1ea;
    transition:
      opacity 720ms ease,
      visibility 720ms ease;
  }

  .figs-mobile-preloader--done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .figs-mobile-preloader__brand {
    display: grid;
    justify-items: center;
    opacity: 1;
  }

  .figs-mobile-preloader__brand--visible {
    opacity: 1;
  }

  .figs-mobile-preloader__mark {
    position: relative;
    overflow: hidden;
    width: min(290px, 70vw);
    aspect-ratio: 3689 / 2029;
    margin-inline: auto;
  }

  .figs-mobile-preloader__mark img {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    display: block;
    width: 215%;
    height: auto;
    transform: translate(-50%, -50%);
  }

  .figs-mobile-preloader__circle {
    position: absolute;
    left: 50%;
    top: var(--figs-preloader-y, 30%);
    z-index: 1;
    width: 64px;
    height: 64px;
    background: #23405a;
    border-radius: 999px;
    box-shadow: none;
    transform: translate(-50%, -50%) scale(var(--figs-preloader-scale, 0.3));
    transition:
      top 140ms linear,
      transform 140ms linear;
  }

  .figs-mobile-preloader__name {
    color: #23405a;
    font-family: Manrope, Arial, sans-serif;
    font-size: 36px;
    font-weight: 500;
    line-height: 1;
  }

  .figs-mobile-preloader__percent {
    margin-bottom: 2vh;
    color: #23405a;
    font-family: Forum, Georgia, serif;
    font-size: 54px;
    line-height: 1;
  }

  .figs-mobile-villa,
  .figs-mobile-villa * {
    box-sizing: border-box;
  }

  .figs-mobile-villa {
    min-height: 100vh;
    color: #23405a;
    background: #f6f1ea;
    font-family: Manrope, Arial, sans-serif;
  }

  .figs-mobile-villa a {
    color: inherit;
    text-decoration: none;
  }

  .figs-mobile-villa__nav {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    padding: 0 15px;
    color: #23405a;
    background: rgba(246, 241, 234, 0.96);
    border-bottom: 1px solid rgba(35, 64, 90, 0.12);
    backdrop-filter: blur(14px);
  }

  .figs-mobile-villa__nav a {
    color: #23405a !important;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.2px;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .figs-mobile-villa__brand {
    display: inline-flex;
    align-items: center;
    gap: 0;
    min-width: 0;
  }

  .figs-mobile-villa__brand img {
    display: none;
  }

  .figs-mobile-villa__brand .figs-mobile-logo {
    display: block !important;
    width: 150px;
    height: auto;
    filter: brightness(0) saturate(100%) invert(21%) sepia(26%) saturate(1397%) hue-rotate(164deg) brightness(93%) contrast(92%);
  }

  .figs-mobile-villa__brand strong {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #23405a;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
  }

  .figs-mobile-villa__brand b {
    color: #23405a;
    font-family: Forum, Georgia, serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1;
  }

  .figs-mobile-villa__brand i {
    display: block;
    width: 1px;
    height: 18px;
    background: rgba(35, 64, 90, 0.2);
  }

  .figs-mobile-villa__brand small {
    color: #99948d;
    font-family: Manrope, Arial, sans-serif;
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 0.12em;
    line-height: 1;
    text-transform: uppercase;
  }

  .figs-mobile-villa__brand span {
    display: none;
  }

  .figs-mobile-villa__nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 34px;
    max-width: 132px;
    padding: 0 12px;
    color: #f6f1ea !important;
    background: #23405a;
    border: 1px solid #23405a;
    font-size: 7.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.7px !important;
    line-height: 1.15 !important;
    text-align: center;
    white-space: normal;
  }

  .figs-mobile-villa__nav .figs-mobile-villa__nav-button,
  .figs-mobile-villa__nav .figs-mobile-villa__nav-button:visited {
    color: #f6f1ea !important;
  }

  .figs-mobile-villa__hero {
    position: relative;
    min-height: 640px;
    overflow: hidden;
    background: #1c3248;
  }

  .figs-mobile-villa__hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 68% 48%;
  }

  .figs-mobile-villa__hero--two img {
    object-position: 50% 46%;
  }

  .figs-mobile-villa__hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(18, 30, 42, 0.04) 0%, rgba(18, 30, 42, 0.2) 42%, rgba(18, 30, 42, 0.94) 100%),
      linear-gradient(90deg, rgba(18, 30, 42, 0.18), rgba(18, 30, 42, 0));
  }

  .figs-mobile-villa__hero > div {
    position: relative;
    z-index: 1;
    display: grid;
    align-content: end;
    min-height: 640px;
    padding: 0 24px 34px;
  }

  .figs-mobile-villa__hero p,
  .figs-mobile-villa__kicker {
    margin: 0 0 12px;
    color: #ba4d2b;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1.45;
    text-transform: uppercase;
  }

  .figs-mobile-villa__hero p {
    color: rgba(255, 250, 243, 0.78) !important;
    text-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
  }

  .figs-mobile-villa__hero h1 {
    max-width: 320px;
    margin: 0 0 22px;
    color: #fffaf3;
    font-family: Forum, Georgia, serif;
    font-size: 52px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 0.98;
    text-shadow: 0 12px 38px rgba(0, 0, 0, 0.36);
  }

  .figs-mobile-villa__hero a,
  .figs-mobile-villa__form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    color: #fffaf3 !important;
    background: #23405a;
    border: 1px solid #23405a;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
  }

  .figs-mobile-villa__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background: #23405a;
  }

  .figs-mobile-villa__facts div {
    min-height: 82px;
    padding: 18px 16px;
    border-right: 1px solid rgba(246, 241, 234, 0.12);
    border-bottom: 1px solid rgba(246, 241, 234, 0.12);
  }

  .figs-mobile-villa__facts div:nth-child(2n) {
    border-right: 0;
  }

  .figs-mobile-villa__facts span {
    display: block;
    margin-bottom: 7px;
    color: rgba(255, 250, 243, 0.52);
    font-size: 9px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
  }

  .figs-mobile-villa__facts strong {
    color: #fffaf3;
    font-family: Forum, Georgia, serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 1;
  }

  .figs-mobile-villa__section,
  .figs-mobile-villa__plan,
  .figs-mobile-villa__form {
    padding: 42px 24px;
  }

  .figs-mobile-villa h2 {
    margin: 0 0 16px;
    color: #23405a;
    font-family: Forum, Georgia, serif;
    font-size: 36px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.08;
  }

  .figs-mobile-villa p {
    margin: 0;
    color: #5a6c7c;
    font-size: 13px;
    line-height: 1.72;
  }

  .figs-mobile-villa__soft {
    background: #eee6da;
  }

  .figs-mobile-villa__slider {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    gap: 10px;
    padding: 0 24px 42px;
    overflow-x: auto;
    background: #f6f1ea;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .figs-mobile-villa__slider::-webkit-scrollbar {
    display: none;
  }

  .figs-mobile-villa__slider img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: 50% 50%;
    scroll-snap-align: start;
    border: 1px solid rgba(35, 64, 90, 0.1);
  }

  .figs-mobile-villa__plan {
    display: grid;
    gap: 18px;
    background: #fffaf3;
  }

  .figs-mobile-villa__plan a {
    display: block;
    padding: 10px;
    overflow: hidden;
    background: #f6f1ea;
    border: 1px solid rgba(35, 64, 90, 0.12);
  }

  .figs-mobile-villa__plan img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .figs-mobile-villa__form {
    color: #fffaf3;
    background: #23405a;
  }

  .figs-mobile-villa__form h2 {
    color: #fffaf3;
  }

  .figs-mobile-villa__form form {
    display: grid;
    gap: 10px;
    margin-top: 22px;
  }

  .figs-mobile-villa__form input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    color: #fffaf3;
    background: transparent;
    border: 1px solid rgba(255, 250, 243, 0.28);
    border-radius: 0;
    font: inherit;
    font-size: 13px;
  }

  .figs-mobile-villa__form input::placeholder {
    color: rgba(255, 250, 243, 0.42);
  }

  .figs-mobile-villa__form button {
    width: 100%;
    background: #ba4d2b;
    border-color: #ba4d2b;
  }

  .figs-mobile-villa__form button:disabled {
    opacity: 0.62;
    cursor: wait;
  }

  .figs-mobile-form__status {
    min-height: 18px;
    margin: 0;
    color: rgba(255, 250, 243, 0.72);
    font-size: 10px;
    line-height: 1.45;
    text-align: center;
  }

  .figs-mobile-form--success .figs-mobile-form__status {
    color: #d8eadc;
  }

  .figs-mobile-form--error .figs-mobile-form__status {
    color: #ffd4c6;
  }

  @media (max-width: 390px) {
    .figs-mobile-villa__hero h1 {
      font-size: 48px;
    }

    .figs-mobile-villa__section,
    .figs-mobile-villa__plan,
    .figs-mobile-villa__form {
      padding-left: 20px;
      padding-right: 20px;
    }

    .figs-mobile-villa__nav {
      padding: 0 12px;
    }

    .figs-mobile-villa__brand strong {
      font-size: 15px;
    }

    .figs-mobile-villa__brand span {
      max-width: 56px;
    }

    .figs-mobile-villa__nav-button {
      max-width: 132px;
      padding: 0 10px;
      white-space: normal;
      text-align: center;
    }
  }

  @media (min-width: 701px) {
    body.figs-mobile-villa-page #allrecords {
      background: #f6f1ea;
    }

    body.figs-mobile-villa-page #allrecords > .figs-mobile-villa {
      max-width: 1024px;
      margin: 0 auto;
    }

    .figs-mobile-villa__nav {
      min-height: 68px;
      padding: 0 34px;
    }

    .figs-mobile-villa__brand b {
      font-size: 21px;
    }

    .figs-mobile-villa__brand i {
      height: 24px;
    }

    .figs-mobile-villa__brand small {
      font-size: 10px;
    }

    .figs-mobile-villa__nav-button {
      max-width: none;
      min-height: 40px;
      padding: 0 18px;
      font-size: 9px !important;
      white-space: nowrap;
    }

    .figs-mobile-preloader__mark {
      width: min(390px, 54vw);
    }

    .figs-mobile-preloader__percent {
      font-size: 68px;
    }

    .figs-mobile-villa__hero,
    .figs-mobile-villa__hero > div {
      min-height: 760px;
    }

    .figs-mobile-villa__hero > div {
      padding: 0 64px 66px;
    }

    .figs-mobile-villa__hero img {
      object-position: 100% 48%;
    }

    .figs-mobile-villa__hero--two img {
      object-position: 50% 48%;
    }

    .figs-mobile-villa__hero h1 {
      max-width: 610px;
      font-size: 70px;
    }

    .figs-mobile-villa__hero a {
      width: fit-content;
      min-width: 250px;
    }

    .figs-mobile-villa__facts {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .figs-mobile-villa__facts div {
      min-height: 112px;
      padding: 24px 22px;
      border-bottom: 0;
    }

    .figs-mobile-villa__facts div:nth-child(2n) {
      border-right: 1px solid rgba(246, 241, 234, 0.12);
    }

    .figs-mobile-villa__facts div:last-child {
      border-right: 0;
    }

    .figs-mobile-villa__facts strong {
      font-size: 34px;
    }

    .figs-mobile-villa__section,
    .figs-mobile-villa__plan,
    .figs-mobile-villa__form {
      padding: 72px 64px;
    }

    .figs-mobile-villa h2 {
      max-width: 720px;
      font-size: 58px;
    }

    .figs-mobile-villa p {
      max-width: 720px;
      font-size: 16px;
    }

    .figs-mobile-villa__slider {
      grid-auto-columns: 42%;
      gap: 18px;
      padding: 0 64px 72px;
    }

    .figs-mobile-villa__slider img {
      height: 420px;
    }

    .figs-mobile-villa__plan {
      grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
      align-items: start;
      gap: 24px;
    }

    .figs-mobile-villa__plan > div {
      position: sticky;
      top: 92px;
    }

    .figs-mobile-villa__plan a {
      max-height: 640px;
    }

    .figs-mobile-villa__plan a + a {
      grid-column: 2;
    }

    .figs-mobile-villa__plan img {
      width: 100%;
      max-width: none;
    }

    .figs-mobile-villa__form form {
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 170px;
      align-items: start;
      gap: 12px;
    }

    .figs-mobile-villa__form .figs-mobile-form__status {
      grid-column: 1 / -1;
      text-align: left;
    }

    .figs-mobile-villa__form button {
      min-height: 48px;
    }
  }
}
