*{
    margin: 0;
    padding: 0;
}

.container {
    justify-content:space-evenly;
    max-width: 1180px;
}

/* 1 блок */
.header > .container {
    max-width: 1155px;
}

.header {
    background: #A333FF;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
}

.nav-link:hover {
    color: #D9D9D9;
}

.header-icons img {
    width: 47px;
    height: 47px;
    border-radius: 12px;
    object-fit: cover;
}

.header-icon {
    display: inline-flex;
}

.header-icon:hover {
    background-color: #f87e03;
    border-radius: 12px;
}

/* Телефон */
.phone-number {
    font-weight: 600;
    font-size: 18px;
    color: #FFFFFF;
    text-decoration: none;
}

.work-time {
    font-size: 14px;
    color: #FFFFFF;
    font-weight: 400;
}

.btn-login {
    background: #FC9227;
    color: #FFFFFF;
    padding: 8px 20px;
    border-radius: 12px;
    width: 82px;
    height: 47px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn:hover {
    background-color: #f87e03;
    color: #D9D9D9;
}

/* 2 блок */
.hero > .container {
    max-width: 1180px;
}

.hero {
    background: #A333FF;
}
 
/* Обёртка: текст слева, картинки справа */
.hero-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 20px;
}

/* Обёртка: текст слева, картинки справа */
.hero-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 20px;
}
  
/* название*/
.hero-title {
    font-size: 38px;
    font-weight: 600;
    color: #FFFFFF;
}

.subtitle {
    font-size: 20px;
    font-weight: 400;
    color: #FFFFFF;
}

/* ФОРМА */
.search-form {
    background: #ffffff;
    border-radius: 15px;
    padding: 5px 20px;
    display: inline-block;
    height: 54px;
    width: 417px;
}

/* ВЕРХНИЙ РЯД */
.top-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

/* КНОПКИ ТИПОВ */
.room-btn {
    background: transparent;
    border: none;
    font-size: 16px;
    font-weight: 400;
    padding: 6px 4px;
    cursor: pointer;
}

.room-btn.active {
    color: #2C2C2C;
    padding: 6px 12px;
}

.divider {
    color: #D9D9D9;
    height: 20px;
    margin: -5px;
    margin-bottom: 2px;
    border-radius: 1px;
}

/* СЕЛЕКТЫ */
.select-box {
    display: inline-flex;
    align-items: center;
    gap: 6px; /* расстояние между текстом и стрелкой */
    cursor: pointer;
    color: #2C2C2C;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: 400;
    min-width: 70px;
}

.arrow-icon {
    width: 13px;
    height: 25px;
    opacity: 0.8;
}

.py-5 {
    padding-bottom: 7rem !important
}

.buttons {
    display: flex;
    align-items: center;
}

/* КНОПКА НА КАРТЕ */
.map-btn {
    background: transparent;
    border: 2px solid #ffffff;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 179px;
    height: 54px;
}

/* ИКОНКА КАРТЫ */
.map-icon {
    width: 25px;
    height: 25px;
}

/* ОРАНЖЕВАЯ КНОПКА */
.show-btn {
    background: #FC9227;
    border: none;
    border-radius: 15px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    width: 223px;
    height: 54px;
}

/* ЧЕКБОКС */
.checkbox-line {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #FFFFFF;
    font-size: 16px;
}

input[type="checkbox"] {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    cursor: pointer;
}

/* блок с картинками */
.hero-images {
    width: 460px; 
}

/* Сетка 2×2 */
.images-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.images-grid img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 20px;
}

/* 3 блок с квартирами */
.page-wrapper > .container {
    max-width: 1180px;
}

/* Заголовок */
.main-title {
    font-size: 32px;
    font-weight: 600;
    margin: 0;
    color: #2C2C2C;
}

/* Кнопка "Выбрать квартиру" */
.choose-btn {
    background: #A333FF;
    color: #FFFFFF;
    border-radius: 15px;
    width: 186px;
    padding: 10px 10px;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(139,42,247,0.18);
    text-decoration: none;
}

/* СТРЕЛКИ */
.nav-arrow {
    width: 45px;
    height: 45px;
    background: #F8E9FF;
    border-radius: 15px;
    border: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.arrow-left { 
    left: -50px; 
}

.arrow-right { 
    right: -50px; 
}

/* карточки */
 
/* Общий контейнер карточки */
.offer-card {
    width: 270px;                     
    background: #ffffff;
    border-radius: 20px;            
    overflow: hidden;
}

/* КАРТИНКА */
.offer-img-wrap {
    width: 100%;
    height: 270px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.offer-img-wrap img {
    width: 270px;
    height: 270px;
    object-fit: cover;
}
 
/* ТЕКСТОВАЯ ЧАСТЬ */
.offer-info {
    padding: 14px 0px 20px;
}

/* Заголовок */
.offer-type {
    font-size: 16px;
    font-weight: 400;
    margin: 0 0 3px 0;
}

/* Цена */
.offer-price {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 3px 0;
}

/* Адрес */
.offer-location {
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    color: #2C2C2C;
}

.offer-location img {
    width: 18px;
    height: 18px;
    margin-right: 6px;
}

.offer-location span {
    font-size: 16px;
    color: #2C2C2C;
    font-weight: 400;
}
 
.feature-card {
    background: #F4E8FF;
    border-radius: 20px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    height: 85px;
    width: 270px;
}

.icon-wrap {
    width: 45px;
    height: 45px;
    background: #A333FF;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-wrap img {
    width: 25px;
    height: 25px;
    object-fit: contain;
}

.feature-card p {
    font-size: 16px;
    line-height: 18px;
    margin: 0;
    font-weight: 600;
    color: #2C2C2C;
}

.blocking {
    margin-bottom: 50px;
}

.feature {
    max-width: auto;
}

.contain {
    display: flex;
    justify-content: center;
}

/* Основной фиолетовый блок */
.cta-wrapper {
    position: relative;
    background: #A333FF;
    border-radius: 20px;
    padding: 56px 60px;
    overflow: hidden;
    display: flex;
    align-items: center;
    width: 1140px;
    height: 239px;
}

/* Фоновая карта/краски */
.cta-bg {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    opacity: 0.45;
}

.cta-bg img {
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* Контент слева */
.cta-content {
    position: relative;
    right: 15px;
    z-index: 3;
    max-width: 600px;
}

.cta-title {
    font-size: 32px;
    color: #ffffff;
    margin-bottom: 14px;
    font-weight: 600;
}

.cta-subtitle {
    font-size: 20px;
    font-weight: 400;
    color: #FFFFFF;
    margin-bottom: 32px;
}

/* Кнопка */
.cta-btn {
    background: #FC9227;
    width: 166px;
    height: 54px;
    border-radius: 15px;
    padding: 10px 10px;
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    transition: 0.2s ease;
    position: relative;
    z-index: 4;
}

.cta-btn:hover {
    background-color: #f87e03;
    color: #D9D9D9;
}

/* Рука */
.cta-hand {
    position: absolute;
    top: 50px;
    right: 90px;
    bottom: 0;
    height: 88%;
    z-index: 4;
}

.cta-hand img {
    height: 150px;
    width: 108px;
    object-fit: contain;
    pointer-events: none;
}

/* подвал */
.footer > .container {
  max-width: 1180px;
}

.footer {
    background: #F7EFFD;
}

.footer-slogan {
    color: #A333FF;
    font-size: 18px;
    font-weight: 600;
    margin-top: -5px;
}

.footer-link {
    color: #2C2C2C;
    font-size: 18px;
    font-weight: 400;
    text-decoration: none;
}

.footer-copy {
    white-space: nowrap;
    color: #2C2C2C;
    font-size: 14px;
    font-weight: 400;
}

.footer-privacy {
    color: #2C2C2C;
    font-size: 14px;
    font-weight: 400;
}

.contact-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 5px;
}

.footer-phone {
    font-size: 20px;
    font-weight: 600;
}

.social-icon {
    width: 47px;
    height: 47px;
}

.contract-box {
    width: 492px;
    height: 142px;
    margin-top: 40px;
    background: #ffffff;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
}

.contract-title {
    font-size: 18px;
    font-weight: 600;
    color: #2C2C2C;
}

.btn-orange {
    background: #FC9227;
    color: #FFFFFF;
    border-radius: 15px;
    padding: 10px 20px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    width: 88px;
    height: 54px;
}

.btn-orange a {
    text-decoration: none;
    color: #FFFFFF;
}

.btn-purple {
    background: #A333FF;
    color: #FFFFFF;
    border-radius: 15px;
    padding: 10px 28px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    width: 246px;
    height: 54px;
    white-space: nowrap;
}

.btn-purple a {
    text-decoration: none;
    color: #FFFFFF;
}







 

 
/* Подложка */
.custom-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.40);
    backdrop-filter: blur(1px);
    display: none;
    z-index: 9998;
}

/* Модалка */
.custom-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 519px;
    background: #ffffff;
    border-radius: 22px;
    padding: 28px 35px;
    box-shadow: 0 7px 45px rgba(0,0,0,0.25);
    display: none;
    z-index: 9999;
    font-family: sans-serif;
}

/* Заголовок */
.custom-modal-title {
    font-size: 24px;
    color: #2C2C2C;
    font-weight: 600;
    margin-bottom: 18px;
}

/* Кнопка закрытия */
.custom-close {
    display: flex;
    position: absolute;
    top: 20px;
    right: 25px;
    width: 44px;
    height: 44px;
    background: #FC9227;
    color: #FFFFFF;
    border-radius: 15px;
    font-size: 24px;
    line-height: 34px;
    text-align: center;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

/* Поля */
.custom-input {
    width: 540px;
    height: 55px;
    background: #F8EFFF;
    border: none;
    border-radius: 15px;
    padding: 14px 16px;
    color: #2C2C2C;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 18px;
    outline: none;
}
.custom-input:focus {
    outline: 2px solid #d6c0ff;
}

.custom-textarea {
    width: 540px;
    height: 140px;
    background: #F8EFFF;
    border-radius: 15px;
    resize: none;
}

/* Кнопка */
.custom-modal-btn {
    width: 540px;
    height: 54px;
    padding: 14px;
    background: #FC9227;
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    border: none;
    border-radius: 15px;
    margin-top: -10px;
    margin-bottom: 5px;
}

.custom-modal-btn a {
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    text-decoration: none;
}

/* Подпись */
.custom-policy {
    margin-top: 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    opacity: 0.65;
    color: #2C2C2C;
}
.custom-policy a {
    color: #2C2C2C;
}
 




















 