/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}
   :root {
      --primary: #27ae60;
      --primary-dark: #229a57;
      --text: #2c3e50;
      --light: #ffffff;
      --dark: #1a1a1a;
      --gray: #95a5a6;
      --bg-light: #f8f9fa;
      --border: #e0e0e0;
    }

    
    .z1_top-bar {
      position: relative;
      background-color: var(--light);
      padding: 8px 0;
      color: var(--text);
      font-size: 14px;
      border-bottom: 1px solid var(--border);
      z-index: 1000;
      height: 40px;
    }

    .z1_top-container,
    .z1_header-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 100%;
    }

    .z1_header {
      position: sticky;
      top: 0;
      background: var(--light);
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      z-index: 1000;
      transition: transform 0.3s;
    }

.z1_header.sticky {
    /* transform: translateY(-40px); */
}

    .z1_header-container {
      height: 80px;
    }

    .z1_logo-wrap {
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
    }

    .z1_logo-img {
      height: 50px;
      width: auto;
    }

    .z1_logo-text {
      display: flex;
      flex-direction: column;
      line-height: 1;
    }

    .z1_logo-line1 {
      font-size: 24px;
      font-weight: 600;
      color: var(--text);
    }

    .z1_logo-line2 {
      font-size: 20px;
      font-weight: 600;
      color: var(--primary);
      margin-top: 2px;
    }

    .z1_contacts {
      display: flex;
      gap: 25px;
    }

    .z1_contact-item {
      display: flex;
      align-items: center;
      gap: 8px;
      color: var(--text);
      text-decoration: none;
      font-size: 14px;
      transition: color 0.3s;
    }

    .z1_contact-item:hover {
      color: var(--primary);
    }

    .z1_socials {
      display: flex;
      gap: 15px;
    }

    .z1_social-link {
      color: var(--text);
      font-size: 16px;
      transition: all 0.3s;
    }

    .z1_social-link:hover {
      color: var(--primary);
      transform: translateY(-2px);
    }

    .z1_nav {
      display: flex;
      align-items: center;
      gap: 30px;
    }

    .z1_nav-link {
      color: var(--text);
      text-decoration: none;
      font-weight: 600;
      font-size: 14px;
      position: relative;
      padding: 5px 0;
      transition: all 0.3s ease;
    }

    .z1_nav-link:hover {
      color: var(--primary);
    }

    .z1_nav-link::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--primary);
      transition: width 0.3s ease;
    }

    .z1_nav-link:hover::after {
      width: 100%;
    }

    /* Выбор города */
    .z1_city-selector {
      position: relative;
    }

    .z1_city-btn {
      background: none;
      border: none;
      cursor: pointer;
      font-weight: 600;
      color: var(--text);
      padding: 5px 0;
      font-size: 14px;
      position: relative;
      display: flex;
      align-items: center;
      gap: 5px;
      transition: all 0.3s ease;
    }

    .z1_city-btn::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--primary);
      transition: width 0.3s ease;
    }

    .z1_city-btn:hover::after {
      width: 100%;
    }

    .z1_city-arrow {
      color: var(--text);
      transition: transform 0.3s;
    }

    .z1_city-selector:hover .z1_city-arrow {
      transform: rotate(180deg);
      color: var(--primary);
    }

    .z1_city-dropdown {
      position: absolute;
      top: 100%;
      right: 0;
      background: var(--light);
      border-radius: 8px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
      padding: 10px 0;
      min-width: 160px;
      z-index: 100;
      display: none;
      border: 1px solid var(--border);
    }

    .z1_city-selector:hover .z1_city-dropdown {
      display: block;
    }

    .z1_city-option {
      padding: 8px 20px;
      cursor: pointer;
      transition: all 0.2s;
      color: var(--text);
      font-size: 14px;
    }

    .z1_city-option:hover {
      background-color: #f1f1f1;
      color: var(--primary);
    }

    .z1_mobile-menu-btn {
      display: none;
      background: none;
      border: none;
      color: var(--text);
      font-size: 24px;
      cursor: pointer;
      padding: 10px;
      z-index: 999;
    }

    .mobile-menu-overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0,0,0,0.5);
      z-index: 997;
    }

    @media (max-width: 768px) {
      .z1_header {
        height: 60px;
      }

      .z1_header-container {
        height: 60px;
      }

      .z1_nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--light);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px 30px;
        gap: 20px;
        transition: right 0.3s;
        z-index: 998;
      }

      .z1_nav.active {
        right: 0;
      }

      .z1_mobile-menu-btn {
        display: block;
      }

      .z1_mobile-menu-btn.active {
        position: fixed;
        right: 20px;
        top: 20px;
      }

      .z1_contact-item.email {
        display: none;
      }

      .z1_logo-line1 {
        font-size: 22px;
      }

      .z1_logo-line2 {
        font-size: 18px;
      }

      .z1_logo-img {
        height: 40px;
      }

      .z1_city-selector {
        width: 100%;
      }

      .z1_city-dropdown {
        position: static;
        box-shadow: none;
        display: none;
        background: var(--light);
        padding: 5px 0 0 15px;
        border: none;
      }

      .z1_city-option {
        color: var(--text);
      }

      .z1_city-option:hover {
        background: #f1f1f1;
        color: var(--primary);
      }
    }
.z1_city-dropdown a {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 8px 15px;
}

.z1_city-dropdown a:hover {
  background-color: #f5f5f5;
}
    .demo-content {
      max-width: 1200px;
      margin: 0 auto;
      padding: 40px 20px;
      text-align: center;
    }

    .demo-content h1 {
      font-size: 2.5rem;
      margin-bottom: 20px;
    }

    .demo-content p {
      font-size: 1.1rem;
      max-width: 800px;
      margin: 0 auto 30px;
    }
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    line-height: 1.4;
}

.btn--primary {
    background: #27ae60;
    color: #fff;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.btn--primary:hover {
    background: #229a57;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

/* Header */
.header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 999 !important;
    transition: all 0.3s ease;
    padding: 15px 0;
    color: #fff;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.9) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    padding: 8px 0 !important;
    top: 0 !important;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: 50px !important;
}

.header.scrolled .header__main-text {
    display: none;
}

.header.scrolled .header__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
    flex-wrap: nowrap;
    position: relative;
}

.header.scrolled .header__info {
    display: none;
}

.header.scrolled .header__logo {
    flex: 0 0 auto;
    order: 1;
    margin: 0;
}

.header.scrolled .header__contact {
    flex: 0 0 auto;
    order: 3;
    background: none;
    padding: 0;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.header.scrolled .logo__image {
    width: 40px;
    height: 40px;
}

.header.scrolled .header__phone {
    font-size: 14px;
}

.header.scrolled .phone-icon {
    width: 14px;
    height: 14px;
}

.header.scrolled .header__email {
    display: none;
}

.header.scrolled .header__social {
    display: none;
}

/* Навигация в компактной шапке на десктопе */
@media (min-width: 769px) {
    .header.scrolled .header__nav {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        justify-content: center;
    }
}

/* Навигация остается мобильным меню на маленьких экранах */
@media (max-width: 768px) {
    .header.scrolled .header__nav {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        transition: top 0.3s ease;
        z-index: 999;
        padding: 20px 0;
        transform: none;
        display: none;
    }

    .header.scrolled .header__nav.active {
        top: 90px;
        display: block !important;
    }

    /* Компактная шапка на мобильных остается видимой */
    .header.scrolled {
        min-height: 80px !important;
    }

    /* Мобильная кнопка всегда видна */
    .header.scrolled .mobile-menu-toggle {
        display: flex !important;
    }
}

/* Стили навигации в компактной шапке только для десктопа */
@media (min-width: 769px) {
    .header.scrolled .nav__list {
        display: flex;
        gap: 10px;
        flex-wrap: nowrap;
        justify-content: center;
    }

    .header.scrolled .nav__link {
        padding: 2px 6px;
        white-space: nowrap;
    }
}

/* Мобильные стили для навигации в компактной шапке */
@media (max-width: 768px) {
    .header.scrolled .nav__list {
        flex-direction: column;
        padding: 0 20px;
        gap: 15px;
        display: none;
    }

    .header.scrolled .nav__list--active {
        display: flex !important;
    }

    .header.scrolled .nav__link {
        font-size: 16px;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        white-space: normal;
    }
}

.header__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.header__info {
    flex: 1;
}

.header__main-text {
    text-align: left;
background: rgb(0 0 0 / 22%);
    padding: 15px 20px;
    border-radius: 10px;
}

.header__title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 5px 0;
    line-height: 1.2;
}

.header__subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 400;
}

.header__logo {
    display: flex;
    justify-content: center;
    flex: 0 0 auto;
    margin: 0 30px;
}

.header__logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
}

.logo__image {
    width: 50px;
    height: 50px;
}

.header__contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex: 1;
}

.header__phone,
.header__email {
    font-weight: 600;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.header__phone:hover,
.header__email:hover {
    color: #27ae60;
}

.phone-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex-shrink: 0;
}

.header__social {
    display: flex;
    gap: 5px;
    margin-top: 5px;
}

.header__nav {
    display: flex;
    justify-content: center;
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.nav__list--active {
    display: flex;
}

.nav__link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nav__link:hover {
    color: #fff;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #27ae60;
    transition: width 0.3s ease;
}

.nav__link:hover::after {
    width: 100%;
}

.social-icon {
    display: inline-block;
    width: 32px;
    height: 32px;
    text-decoration: none;
    padding: 2px;
}

.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Яркие цвета для иконок социальных сетей */
.social-icon.telegram img {
    filter: invert(38%) sepia(100%) saturate(1000%) hue-rotate(190deg) brightness(110%) contrast(100%);
}

.social-icon.whatsapp img {
    filter: invert(60%) sepia(100%) saturate(500%) hue-rotate(90deg) brightness(120%) contrast(100%);
}

.social-icon.youtube img {
    filter: invert(20%) sepia(100%) saturate(1000%) hue-rotate(0deg) brightness(130%) contrast(100%);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 24px;
    justify-content: space-between;
    position: absolute;
    top: 20px;
    right: 20px;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: #fff;
    transition: all 0.3s ease;
}

.mobile-menu-toggle--active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle--active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle--active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    position: relative;
    height: 60vh;
    min-height: 550px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 0;
    padding-top: 120px;
}

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

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

.hero__background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero__title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero__subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.hero__social {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero__social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
}

.hero__social-icon:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

/* Services Section */
.services {
    padding: 60px 0;
    background: #f8f9fa;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.service__item {
    background: #fff;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid #27ae60;
}

.service__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid #27ae60;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.2);
}

.service__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service__item:hover .service__icon img {
    transform: scale(1.1);
}

.service__title {
    font-size: 1.1rem;
    color: #2c3e50;
    font-weight: 600;
    line-height: 1.4;
}

/* Booking Section */
.booking {
    padding-top: 80px;
    background: #fff;
}

.booking__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.booking__image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.booking__form {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.booking__title {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 700;
}

.booking__subtitle {
    color: #6c757d;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.6;
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.form__group {
    position: relative;
}

.form__group input,
.form__group select,
.form__group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    transition: border-color 0.3s ease;
    background: #fff;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
    outline: none;
    border-color: #27ae60;
}

.form__counter {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 5px;
}

.counter__btn {
    width: 25px;
    height: 25px;
    border: 1px solid #e0e0e0;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.counter__btn:hover {
    background: #f8f9fa;
    border-color: #27ae60;
}

.form__group input[type="number"] {
    padding-right: 80px;
}

.form__group input[type="date"] {
    padding-right: 50px;
}

.booking__btn {
    width: 100%;
    padding: 18px;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.booking__agreement {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #6c757d;
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    line-height: 1.4;
}

.checkbox input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox a {
    color: #27ae60;
    text-decoration: none;
}

/* Apartments Section */
.apartments {
    padding: 60px 0;
    background: #f8f9fa;
}

.apartments__title {
    font-size: 2.5rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.widget-container {
    margin: 0 auto 50px auto;
    max-width: 800px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Стили для виджета HomeReserve */
#hr-widget {
    position: relative;
    z-index: 1;
}

.apartments__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.apartment__item {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.apartment__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

.apartment__image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.apartment__item:hover .apartment__image img {
    transform: scale(1.05);
}

.apartment__info {
    padding: 20px;
}

.apartment__name {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 5px;
    font-weight: 600;
}

.apartment__location {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.apartment__rating {
    color: #ffc107;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.apartment__price {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.price__old {
    color: #6c757d;
    text-decoration: line-through;
    font-size: 0.9rem;
}

.price__current {
    color: #27ae60;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Apartment Badges */
.apartment__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    z-index: 10;
}

.apartment__badge--new {
    background: #3498db;
}

.apartment__badge--hit {
    background: #f39c12;
}

.apartment__badge--promo {
    background: #e74c3c;
}

/* Nanotechnology Section */
.nanotechnology {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.nanotechnology::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.nanotechnology .container {
    position: relative;
    z-index: 2;
}

.nanotechnology__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.nanotechnology__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 30px;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nanotechnology__description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

.nanotechnology__image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.nanotechnology__image:hover {
    transform: translateY(-10px);
}

.nanotechnology__image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background: url('../images/php.webp') center center/cover no-repeat;
    position: relative;
}

.benefits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.benefits .container {
    position: relative;
    z-index: 2;
}

.benefits__title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 60px;
    line-height: 1.3;
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.benefit__item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    transition: none;
}

.benefit__item:hover {
    transform: none;
    box-shadow: none;
}

.benefit__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #27ae60;
    color: #fff;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: bold;
    flex-shrink: 0;
}

.benefit__text {
    font-size: 1rem;
    line-height: 1.6;
    color: #fff;
    margin: 0;
}

/* Reviews Section */
.reviews {
    padding: 80px 0;
    background: #f8f9fa;
}

.reviews__title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 40px;
    line-height: 1.3;
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.review__item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.review__item:hover {
    transform: translateY(-5px);
}

.review__item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Footer Section */
.footer {
    padding: 60px 0 20px 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #fff;
    margin-top: 0;
}

.footer__title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 50px;
    line-height: 1.3;
}

.footer__content {
    margin: 0 auto;
}

.footer__info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact__card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    z-index: 1;
}

.contact__card > * {
    position: relative;
    z-index: 2;
}

.contact__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.contact__icon {
    margin-bottom: 20px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact__icon svg {
    width: 40px;
    height: 40px;
}

.contact__info h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 600;
}

.contact__info a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-block;
    word-break: break-all;
    max-width: 100%;
    overflow-wrap: break-word;
}

.contact__info a:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.footer__bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.footer__copy {
    color: rgba(255, 255, 255, 0.8);
}

.footer__copy p {
    margin: 0;
    font-size: 14px;
}





/* Responsive Design */
@media (max-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .widget-container {
        padding: 25px;
        margin-bottom: 40px;
    }

    .apartments__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .nanotechnology__content {
        gap: 40px;
    }
    
    .nanotechnology__title {
        font-size: 2.2rem;
    }
    
    .nanotechnology__description {
        font-size: 1.1rem;
    }
    
    .footer__info {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    .contact__card {
        padding: 25px 20px;
    }

    .contact__icon svg {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 900px) {
    .footer__info {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .contact__card {
        padding: 25px 20px;
    }

    .contact__icon svg {
        width: 36px;
        height: 36px;
    }

    .contact__info h3 {
        font-size: 1.1rem;
    }

    .contact__info a {
        font-size: 0.95rem;
        word-break: break-all;
        overflow-wrap: break-word;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    /* Header Mobile */
    .header {
        padding: 10px 0;
    }

    .header__top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 10px;
        gap: 15px;
    }

    .header__info {
        order: 2;
        flex: none;
    }

    .header__main-text {
        padding: 12px 15px;
        border-radius: 8px;
    }

    .header__title {
        font-size: 1rem;
    }

    .header__subtitle {
        font-size: 0.8rem;
    }

    .header__logo {
        order: 1;
        margin: 0;
    }

    .logo__image {
        width: 40px;
        height: 40px;
    }

    .header__contact {
        order: 3;
        align-items: center;
        flex: none;
        gap: 5px;
    }

    .header__phone,
    .header__email {
        font-size: 12px;
    }

    .phone-icon {
        width: 14px;
        height: 14px;
    }

    .header__nav {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        transition: top 0.3s ease;
        z-index: 999;
        padding: 20px 0;
        display: none;
    }

    .header__nav.active {
        top: 120px;
        display: block !important;
    }

    .header.scrolled .header__nav.active {
        top: 80px;
    }

    .header.scrolled {
        padding: 5px 0;
    }

    .header.scrolled .header__top {
        padding: 0 15px;
    }

    .header.scrolled .header__logo {
        margin: 0 10px;
    }

    .header.scrolled .header__phone {
        font-size: 12px;
    }

    .header.scrolled .phone-icon {
        width: 12px;
        height: 12px;
    }

    .header.scrolled .logo__image {
        width: 35px;
        height: 35px;
    }



    .nav__list {
        flex-direction: column;
        padding: 0 20px;
        gap: 15px;
        display: none;
    }

    .nav__list--active {
        display: flex !important;
    }

    .nav__link {
        font-size: 16px;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-menu-toggle {
        display: flex;
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 10000;
    }

    .mobile-menu-toggle--active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle--active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle--active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Hero Mobile */
    .hero {
        padding-top: 160px;
        min-height: 500px;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .hero__social {
        gap: 15px;
    }

    .hero__social-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    /* Services Mobile */
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .service__item {
        padding: 25px 15px;
    }

    .service__title {
        font-size: 1rem;
    }

    /* Booking Mobile */
    .booking__content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .booking__form {
        padding: 30px 20px;
    }

    .booking__title {
        font-size: 1.6rem;
    }

    .form__group {
        margin-bottom: 15px;
    }

    .form__row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Apartments Mobile */
    .apartments__title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .widget-container {
        margin-bottom: 30px;
        padding: 20px;
        max-width: 100%;
    }

    .apartments__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .apartment__info {
        padding: 15px;
    }

    .apartment__name {
        font-size: 1rem;
    }

    /* Nanotechnology Mobile */
    .nanotechnology {
        padding: 60px 0;
    }

    .nanotechnology__content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .nanotechnology__title {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .nanotechnology__description {
        font-size: 1rem;
    }

    /* Benefits Mobile */
    .benefits__title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .benefits__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .benefit__item {
        padding: 0;
    }

    .benefit__text {
        font-size: 0.9rem;
    }

    /* Reviews Mobile */
    .reviews__title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .reviews__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-width: 90%;
    }

    .review__item {
        border-radius: 10px;
    }

    /* Footer Mobile */
    .footer {
        padding: 40px 0 15px 0;
    }

    .footer__title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .footer__info {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer__bottom {
        margin-top: 30px;
        padding-top: 15px;
    }

    .contact__card {
        padding: 25px 20px;
    }

    .contact__icon svg {
        width: 36px;
        height: 36px;
    }

    .contact__info h3 {
        font-size: 1.1rem;
    }

    .contact__info a {
        font-size: 0.95rem;
        word-break: break-all;
        overflow-wrap: break-word;
        padding: 6px 12px;
    }


}

@media (max-width: 480px) {
    /* Header Small Mobile */
    .header__title {
        font-size: 0.9rem;
    }

    .header__subtitle {
        font-size: 0.75rem;
    }

    .header__main-text {
        padding: 10px 12px;
        border-radius: 6px;
    }

    .header__phone,
    .header__email {
        font-size: 11px;
    }

    .phone-icon {
        width: 12px;
        height: 12px;
    }

    .header__nav.active {
        top: 110px;
    }

    .header.scrolled .header__nav.active {
        top: 70px;
        display: block !important;
    }

    .header.scrolled {
        min-height: 60px !important;
    }

    .nav__list {
        display: none;
    }

    .nav__list--active {
        display: flex !important;
    }

    .nav__link {
        font-size: 15px;
    }

    .hero {
        padding-top: 150px;
        min-height: 450px;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 0.9rem;
    }

    .services__grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .apartments__grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .apartments__title {
        font-size: 1.6rem;
    }

    .widget-container {
        margin-bottom: 20px;
        padding: 15px;
        border-radius: 10px;
    }

    .booking__title {
        font-size: 1.4rem;
    }

    /* Nanotechnology Small Mobile */
    .nanotechnology {
        padding: 40px 0;
    }

    .nanotechnology__title {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    .nanotechnology__description {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    /* Benefits Small Mobile */
    .benefits__title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .benefit__item {
        padding: 0;
    }

    .benefit__text {
        font-size: 0.85rem;
    }

    /* Reviews Small Mobile */
    .reviews {
        padding: 40px 0;
    }

    .reviews__title {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }

    .reviews__grid {
        grid-template-columns: 1fr;
        gap: 10px;
        max-width: 95%;
    }

    .review__item {
        border-radius: 8px;
    }

    /* Footer Small Mobile */
    .footer {
        padding: 30px 0 10px 0;
    }

    .footer__title {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }

    .footer__info {
        gap: 20px;
    }

    .footer__bottom {
        margin-top: 25px;
        padding-top: 10px;
    }

    .footer__copy p {
        font-size: 12px;
    }

    .contact__card {
        padding: 20px 15px;
        border-radius: 15px;
    }

    .contact__icon svg {
        width: 32px;
        height: 32px;
    }

    .contact__info h3 {
        font-size: 1rem;
    }

    .contact__info a {
        font-size: 0.9rem;
        padding: 6px 12px;
        word-break: break-all;
        overflow-wrap: break-word;
        line-height: 1.2;
    }

    .btn {
        padding: 15px 25px;
        font-size: 14px;
    }

    .header.scrolled {
        padding: 3px 0;
    }

    .header.scrolled .header__top {
        padding: 0 10px;
    }

    .header.scrolled .header__logo {
        margin: 0 8px;
    }

    .header.scrolled .header__phone {
        font-size: 11px;
    }

    .header.scrolled .phone-icon {
        width: 10px;
        height: 10px;
    }

    .header.scrolled .logo__image {
        width: 30px;
        height: 30px;
    }




}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10003;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    margin: 5% auto;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    background: white;
    border-radius: 15px;
    text-align: center;
    animation: slideIn 0.3s ease;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10004;
}

.close:hover,
.close:focus {
    color: #000;
}

#modalImage {
    width: 100%;
    height: auto;
    border-radius: 10px;
    max-height: 80vh;
    object-fit: contain;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Apartment Modal Styles */
.apartment-modal {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

/* Скрываем виджет HomeReserve когда любое модальное окно открыто */
body:has(.apartment-modal[style*="display: block"]) #hr-widget,
body:has(.modal[style*="display: block"]) #hr-widget {
    display: none !important;
}

.apartment-modal-content {
    position: relative;
    margin: 3% auto;
    width: 90%;
    max-width: 1000px;
    height: 85vh;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    animation: slideIn 0.3s ease;
}

.apartment-close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #666;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10002;
}

.apartment-close:hover {
    color: #000;
}

.apartment-modal-body {
    display: grid;
    grid-template-columns: 2fr 1fr;
    height: 100%;
    overflow: hidden;
}

.apartment-modal-left {
    padding: 20px;
    overflow-y: auto;
    border-right: 1px solid #eee;
}

.apartment-modal-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 3px 0;
}

.apartment-modal-type {
    font-size: 0.95rem;
    color: #666;
    margin: 0 0 15px 0;
}

.apartment-main-image {
    width: 100%;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.apartment-main-image:hover {
    transform: scale(1.02);
}

.apartment-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.apartment-gallery {
    margin-bottom: 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.gallery-item {
    height: 70px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

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

.apartment-description h3 {
    color: #3498db;
    font-size: 0.95rem;
    margin-bottom: 10px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 3px;
    display: inline-block;
}

.description-content {
    color: #666;
    line-height: 1.3;
    font-size: 0.8rem;
}

.description-content li {
    margin-bottom: 3px;
}

.description-content p {
    margin-bottom: 8px;
}

.description-content ul {
    margin: 8px 0;
    padding-left: 16px;
}

.apartment-modal-right {
    background: #f8f9fa;
    padding: 20px 18px;
    overflow-y: auto;
}

.booking-section {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.apartment-features {
    margin-bottom: 18px;
}

.feature-item {
    color: #333;
    font-size: 0.75rem;
    line-height: 1.3;
    margin-bottom: 5px;
}

.availability-info {
    margin-bottom: 15px;
    font-size: 0.75rem;
    color: #666;
}

.availability-item {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.availability-item::before {
    content: '';
    width: 12px;
    height: 12px;
    margin-right: 6px;
    border-radius: 2px;
}

.availability-item:first-child::before {
    background: #e74c3c;
}

.availability-item:last-child::before {
    background: #2ecc71;
}

.calendar-section {
    margin-bottom: 18px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

.calendar-nav {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: #3498db;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    font-size: 0.7rem;
}

.calendar-day-header {
    text-align: center;
    padding: 5px 2px;
    font-weight: 600;
    color: #666;
    font-size: 0.65rem;
}

.calendar-day {
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    cursor: pointer;
    font-size: 0.7rem;
}

.calendar-day.occupied {
    background: #e74c3c;
    color: white;
}

.calendar-day.available {
    background: #2ecc71;
    color: white;
}

.calendar-day.available:hover {
    background: #27ae60;
}

.apartment-rules {
    margin-bottom: 18px;
    font-size: 0.75rem;
    color: #666;
    line-height: 1.3;
}

.apartment-rules p {
    margin-bottom: 8px;
}

.apartment-pricing {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 18px;
}

.old-price {
    text-decoration: line-through;
    color: #e74c3c;
    font-size: 0.85rem;
    margin-bottom: 3px;
}

.current-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
}

.book-button {
    width: 100%;
    padding: 12px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: auto;
}

.book-button:hover {
    background: #2980b9;
}

.apartment__item {
    cursor: pointer;
}

/* Стили для планшетов и средних экранов */
@media (max-width: 768px) and (min-width: 481px) {
    .apartment-modal-content {
        width: 95%;
        height: 90vh;
        margin: 2% auto;
    }
    
    .apartment-modal-body {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr auto;
    }
    
    .apartment-modal-left {
        padding: 20px;
    }
    
    .apartment-modal-right {
        padding: 20px;
        background: white;
        border-top: 1px solid #eee;
    }
    
    .apartment-main-image {
        height: 220px;
    }

    .apartment-main-image img {
        object-fit: contain;
        background: #f5f5f5;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-item {
        height: 60px;
    }

    .gallery-item img {
        object-fit: contain;
        background: #f5f5f5;
    }
}

/* Mobile styles for apartment modal - маленькие экраны */
@media (max-width: 480px) {
    .apartment-modal-content {
        width: 98%;
        height: 95vh;
        margin: 1% auto;
        overflow-y: auto;
    }
    
    .apartment-modal-body {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        height: auto;
        overflow: visible;
    }
    
    .apartment-modal-left {
        padding: 15px;
        overflow-y: auto;
        height: auto;
    }
    
    .apartment-modal-right {
        padding: 15px;
        background: white;
        border-top: 1px solid #eee;
        height: auto;
        min-height: 300px;
    }
    
    .apartment-main-image {
        height: 120px;
        margin-bottom: 20px;
    }

    .apartment-main-image img {
        object-fit: cover;
        background: #f5f5f5;
    }
    
    .apartment-gallery {
        margin-bottom: 20px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
    }
    
    .gallery-item {
        height: 40px;
    }

    .gallery-item img {
        object-fit: cover;
        background: #f5f5f5;
    }
    
    .apartment-description {
        margin-bottom: 20px;
    }
    
    .apartment-close {
        top: 10px;
        right: 15px;
        font-size: 25px;
    }
    
    .apartment-modal-title {
        font-size: 1.2rem;
    }
    
    .apartment-modal-type {
        font-size: 0.85rem;
    }
    
    .feature-item {
        font-size: 0.7rem;
    }
    
    .calendar-day {
        height: 22px;
    }
    
    .book-button {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .description-content {
        font-size: 0.75rem;
        line-height: 1.25;
    }
    
    .apartment-description h3 {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }
}

/* Дополнительные стили для очень маленьких экранов */
@media (max-width: 360px) {
    .apartment-main-image {
        height: 100px !important;
        margin-bottom: 15px !important;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 3px !important;
    }

    .gallery-item {
        height: 30px !important;
    }

    .apartment-modal-left {
        padding: 10px !important;
    }

    .apartment-modal-right {
        padding: 10px !important;
    }

    .apartment-modal-title {
        font-size: 1rem !important;
        margin-bottom: 5px !important;
    }

    .apartment-modal-type {
        font-size: 0.8rem !important;
        margin-bottom: 10px !important;
    }
    
    .apartment-description {
        margin-bottom: 15px !important;
    }
    
    .apartment-gallery {
        margin-bottom: 15px !important;
    }
}