:root {
    --bg-primary: #FAFAFA;
    --bg-secondary: #FFFFFF;
    --bg-accent: #F4F4F4;
    --text-primary: #1A1A1A;
    --text-secondary: #555555;
    --text-muted: #888888;
    --brand-gold: #B99B6B;
    --brand-gold-hover: #A68A5C;
    --border-light: #E8E8E8;
    --shadow-sm: 0 12px 24px -12px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 24px 48px -12px rgba(0, 0, 0, 0.1);
    --shadow-gold: 0 8px 24px rgba(185, 155, 107, 0.15);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    letter-spacing: -0.02em;
}

/* Контейнер */
.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Общие стили для секций */
.section {
    padding: 80px 0;
}

.section__title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 48px;
    text-align: center;
    line-height: 1.2;
    color: var(--text-primary);
}

.section__title span {
    color: var(--brand-gold);
}

/* Шапка */
.header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-light);
}

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

.logo {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    text-decoration: none;
}

.logo span {
    color: var(--brand-gold);
}

.header__contacts {
    display: flex;
    gap: 24px;
    align-items: center;
}

.header__phone {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.header__phone:hover {
    color: var(--brand-gold);
}
.header__phone i {
    color: var(--brand-gold);
    margin-right: 10px;
}
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    letter-spacing: 0.02em;
}

.btn--primary {
    background: var(--brand-gold);
    color: #fff;
    box-shadow: var(--shadow-gold);
}

.btn--primary:hover {
    background: var(--brand-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(185, 155, 107, 0.25);
}

.btn--outline {
    background: transparent;
    border: 1.5px solid var(--brand-gold);
    color: var(--brand-gold);
}

.btn--outline:hover {
    background: var(--brand-gold);
    color: #fff;
}

/* Hero-секция */
.hero {
    position: relative;
    padding: 80px 0 100px;
    text-align: center;
    background: url('/assets/images/simvol.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}
.hero .container {
    position: relative;
    z-index: 2;
}
.hero::after {
    content: '';
    background-color: rgb(250 250 250 / 90%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero__title {
    font-size: clamp(2.4rem, 6vw, 4rem);
    margin-bottom: 24px;
    line-height: 1.15;
}

.hero__subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero__stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    margin: 48px 0 40px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-family: 'Unbounded', sans-serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--brand-gold);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

/* Преимущества */
.benefits__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.benefit-card {
    background: var(--bg-secondary);
    padding: 36px 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    background: rgba(185, 155, 107, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--brand-gold);
    font-size: 1.5rem;
}

.benefit-card h3 {
    font-size: 1.25rem;
    line-height: 1.1;
    margin-bottom: 12px;
}

.benefit-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Каталог ЖК */
.catalog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
}

.property-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.property-card:hover {
    box-shadow: var(--shadow-md);
}
.property-card__image {
    position: relative;
}
.property-card__image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.property-card__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
}

.property-card__body {
    padding: 24px;
}
.property-card__body p {
    color: var(--text-secondary); 
    font-size: 0.9rem; 
    margin-bottom: 20px;
}
.property-card__body a {
    width: 100%;
    text-align: center;
}

.property-card__body h3 {
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.property-card__location {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.property-card__features {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.property-card__price {
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--brand-gold);
    margin-bottom: 20px;
}
#leadForm a {
    color: var(--brand-gold);
}
#leadForm a:hover {
    color: var(--brand-gold-hover);
}
/* Как мы работаем */
.steps__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    counter-reset: step-counter;
}

.step-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-4px);
}

.step-number {
    font-family: 'Unbounded', sans-serif;
    font-size: 2.5rem;
    color: rgba(185, 155, 107, 0.2);
    font-weight: 600;
    margin-bottom: 12px;
}

.step-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Ипотечный виджет */
.mortgage-widget {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-sm);
    margin-top: 24px;
}

.mortgage-calculator {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.mortgage-inputs {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.input-group input,
.input-group select {
    padding: 14px 18px;
    border: 1.5px solid var(--border-light);
    border-radius: 100px;
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--bg-primary);
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: var(--brand-gold);
}

.bank-selector {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.bank-option {
    padding: 8px 16px;
    border: 1.5px solid var(--border-light);
    border-radius: 100px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.9rem;
    background: var(--bg-primary);
}

.bank-option.active {
    background: var(--brand-gold);
    border-color: var(--brand-gold);
    color: white;
}

.result-block {
    background: var(--bg-accent);
    border-radius: var(--radius-md);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.monthly-payment {
    font-family: 'Unbounded', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--brand-gold);
}

.payment-details {
    margin-top: 16px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.bank-offers {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

.bank-offer-card {
    background: var(--bg-accent);
    padding: 16px;
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 600;
}

.bank-offer-card .rate {
    color: var(--brand-gold);
    font-size: 1.3rem;
}

/* Отзывы */
.reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.review-card {
    background: var(--bg-secondary);
    padding: 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.review-card__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.review-card__avatar {
    width: 52px;
    height: 52px;
    background: var(--bg-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--brand-gold);
}

.review-card__name {
    font-weight: 600;
}

.review-card__date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.review-card__text {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 16px;
}

.review-card__rating {
    color: var(--brand-gold);
}

/* Партнеры */
.partners {
    background: var(--bg-secondary);
    text-align: center;
    padding: 60px 0;
}

.partners__grid {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    margin-top: 32px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.partners__grid:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.partner-logo {
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    font-size: 1.3rem;
    color: var(--text-muted);
}

/* FAQ */
.faq__list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 24px 28px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.faq-answer {
    padding: 0 28px 24px;
    color: var(--text-secondary);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-icon {
    transition: var(--transition);
    font-size: 1.5rem;
    color: var(--brand-gold);
}

/* Контакты и форма */
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-form {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--border-light);
    border-radius: 100px;
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--bg-primary);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--brand-gold);
}

.contact-info {
    padding: 40px;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.contact-info p {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-info i {
    color: var(--brand-gold);
    width: 24px;
}

.map-container {
    margin-top: 32px;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 200px;
    background: var(--bg-accent);
}

/* Футер */
.footer {
    background: var(--text-primary);
    color: #fff;
    padding: 48px 0 24px;
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer a {
    color: #aaa;
    text-decoration: none;
    transition: var(--transition);
}

.footer a:hover {
    color: var(--brand-gold);
}

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    color: #777;
    font-size: 0.85rem;
}
#aparts .btn-leed {
    margin: 40px auto 0px auto;
    display: block;
    text-align: center;
    width: 100%;
    max-width: 500px;
}
.custom-select {
  position: relative;
}
.custom-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  width: 100%;
padding: 14px 18px;
border: 1.5px solid var(--border-light);
border-radius: 100px;
font-family: 'Manrope', sans-serif;
font-size: 0.95rem;
transition: var(--transition);
background: var(--bg-primary);
outline: none !important;
color: var(--text-primary);
}
.custom-select__arrow {
  font-size: 12px;
  transition: transform 0.2s;
  color: #666;
}

.custom-select.open .custom-select__arrow {
  transform: rotate(180deg);
}

.custom-select__options {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 200px;
  overflow-y: auto;
  margin: 0;
  list-style: none;
padding: 0;
border: 1.5px solid var(--border-light);
border-radius: 20px;
font-family: 'Manrope', sans-serif;
font-size: 0.95rem;
background: var(--bg-primary);
color: var(--text-primary);
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.15s, visibility 0.15s, transform 0.15s;
  outline: none !important;
}

.custom-select.open .custom-select__options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Элемент опции */
.custom-select__option {
  padding: 10px 14px;
  cursor: pointer;
  transition: background 0.15s;
}

.custom-select__option:hover {
  background: #f0f0f0;
}

.custom-select__option[aria-selected="true"] {
  background: rgba(185, 155, 107, 0.1);
  font-weight: 600;
  color: var(--brand-gold);
}

.custom-select__option.highlighted {
  background: rgba(185, 155, 107, 0.1);
}
/* Адаптивность */
@media (max-width: 768px) {
    .logo {
        font-size: 1.1rem;
    }
    .container {
        padding: 0 10px;
    }
    .section {
        padding: 56px 0;
    }
    .hero__stats {
        gap: 10px;
        margin: 20px 0 40px;
    }
    .hero__subtitle {
        margin: 0 auto 20px;
    }
    .contact__grid,
    .mortgage-calculator {
        grid-template-columns: 1fr;
    }
    .catalog__grid {
        grid-template-columns: 1fr;
    }
    .header__contacts {
        gap: 12px;
    }
    .header__phone {
        font-size: 0.9rem;
    }
    .btn {
        padding: 12px 24px;
        font-size: 0.85rem;
    }
    .mortgage-widget {
        padding: 0px;
    }
    .mortgage-widget {
        box-shadow: none;
    }
    .bank-offers {
        margin-top: 20px;
    }
    .benefits__grid, .steps__grid, .reviews__grid {
        gap: 20px;
    }
    .partners__grid {
        gap: 10px;
    }
    .faq-question {
        padding: 15px;
    }
    .faq-answer {
        padding: 0 15px 15px;
        font-size: 0.8rem;
    }
}
@media (max-width: 550px) {
    .hero__title, .section__title {
        font-size: 1.8rem;
    }
    .hero {
        padding: 40px 0 40px;
    }
    .header__contacts .btn {
        display: none;
    }
    .header__contacts .btn {
        padding: 10px 20px;
    }
    .hero__subtitle {
        font-size: 1rem;
    }
    .section__title {
        margin-bottom: 20px;
    }
    .section {
        padding: 40px 0;
    }
    .contact-form {
        padding: 30px 20px;
    }
    .contact-info {
        padding: 0;
    }
}