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

:root {
    --gold: #D4A853;
    --gold-light: #E5C487;
    --gold-dark: #B38B40;
    --dark: #0A141F;
    --dark-soft: #1E2A36;
    --white: #FFFFFF;
    --white-soft: #F8FAFE;
    --gray-light: #EFF2F6;
    --gray: #6D7A8C;
    --gray-dark: #4A5565;
    --shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.3);
    --shadow-gold: 0 20px 40px -10px rgba(212, 168, 83, 0.3);
    --transition: all 0.3s ease;
    --telegram: #0088cc;
    --whatsapp: #25D366;
}

body, html {
    font-family: 'Inter', sans-serif;
    color: var(--white);
    line-height: 1.5;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

/* ===== ФОН С НОВОСТРОЙКОЙ ===== */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: url('bg1.jpeg') center/cover no-repeat;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 20, 31, 0.7) 0%, rgba(30, 42, 54, 0.75) 100%);
    z-index: -1;
}

/* ===== ПЛАВАЮЩИЕ КОНТАКТЫ ===== */
.floating-contacts {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-contact {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: none;
    cursor: pointer;
}

.floating-contact.telegram {
    background: var(--telegram);
}

.floating-contact.whatsapp {
    background: var(--whatsapp);
}

.floating-contact.phone {
    background: var(--gold);
    color: var(--dark);
}

.floating-contact:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: var(--shadow-gold);
}

/* ===== ВСПЛЫВАЮЩАЯ ПОДСКАЗКА СПЕЦИАЛИСТА ===== */
.expert-tooltip {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
    display: flex;
    align-items: flex-end;
    gap: 15px;
}

.expert-badge {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    animation: pulse 2s infinite;
    transition: var(--transition);
    border: 2px solid var(--white);
}

.expert-badge i {
    font-size: 32px;
    color: var(--dark);
}

.expert-badge:hover {
    transform: scale(1.1);
    animation: none;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 168, 83, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(212, 168, 83, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 168, 83, 0); }
}

.expert-message {
    position: relative;
    max-width: 280px;
    opacity: 1;
    transition: var(--transition);
}

.expert-message-content {
    background: var(--white);
    border-radius: 20px 20px 20px 0;
    padding: 20px;
    box-shadow: var(--shadow);
    position: relative;
    border: 1px solid var(--gold);
}

.expert-message-content::before {
    content: '';
    position: absolute;
    bottom: 20px;
    left: -10px;
    width: 20px;
    height: 20px;
    background: var(--white);
    border-left: 1px solid var(--gold);
    border-bottom: 1px solid var(--gold);
    transform: rotate(45deg);
    border-radius: 3px;
}

.expert-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.expert-close i {
    font-size: 12px;
    color: var(--dark);
}

.expert-close:hover {
    background: var(--gray);
}

.expert-icon {
    font-size: 32px;
    color: var(--gold);
    margin-bottom: 10px;
}

.expert-message p {
    color: var(--dark);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.expert-links {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.expert-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.expert-link i {
    font-size: 18px;
}

.expert-link.telegram-link {
    background: var(--telegram);
    color: var(--white);
}

.expert-link.whatsapp-link {
    background: var(--whatsapp);
    color: var(--white);
}

.expert-link:hover {
    transform: translateX(5px);
    filter: brightness(1.1);
}

/* ===== ОСНОВНОЙ КОНТЕЙНЕР ===== */
.main-container {
    display: flex;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    padding: 40px;
}

/* ===== ЛЕВАЯ КОЛОНКА ===== */
.info-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 40px;
    max-width: 50%;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 168, 83, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(212, 168, 83, 0.3);
    padding: 8px 16px;
    border-radius: 40px;
    font-size: 12px;
    font-weight: 600;
    color: var(--gold-light);
    letter-spacing: 0.5px;
    margin-bottom: 30px;
    width: fit-content;
}

.title {
    font-size: clamp(42px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.title span {
    display: block;
}

.title .accent {
    color: var(--gold);
}

.description {
    font-size: clamp(16px, 2vw, 18px);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.6;
}

.features {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.feature-item {
    text-align: left;
}

.feature-value {
    font-size: 36px;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.feature-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.installment {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    padding: 12px 24px;
    border-radius: 60px;
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: 0.5px;
    margin-bottom: 30px;
    width: fit-content;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.installment i {
    font-size: 18px;
}

.architect {
    margin-bottom: 30px;
}

.architect-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
}

.architect-item i {
    color: var(--gold);
    font-size: 16px;
}

.apartments-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    padding: 8px 16px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: fit-content;
    margin-bottom: 30px;
}

.apartments-info i {
    color: var(--gold);
}

.mobile-contacts {
    display: none;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.mobile-contact i {
    color: var(--gold);
}

.mobile-social {
    display: flex;
    gap: 20px;
}

.mobile-social a {
    color: var(--white);
    font-size: 24px;
    transition: var(--transition);
}

.mobile-social a:hover {
    color: var(--gold);
    transform: translateY(-3px);
}

/* ===== ПРАВАЯ КОЛОНКА ===== */
.form-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    max-width: 50%;
}

.form-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 30px;
    width: 100%;
    max-width: 400px;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.form-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
    transform: translateY(-5px);
}

.download-card {
    margin-bottom: 10px;
}

.form-title {
    color: var(--dark);
    font-size: 20px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-title i {
    color: var(--gold);
    font-size: 24px;
}

.form-subtitle {
    color: var(--gray-dark);
    font-size: 14px;
    margin-bottom: 20px;
}

/* Форма */
.form-group {
    position: relative;
    margin-bottom: 15px;
}

.form-input {
    width: 100%;
    background: var(--white-soft);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 15px 20px 15px 45px;
    border-radius: 16px;
    color: var(--dark);
    font-size: 15px;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

.form-input:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 5px 15px -5px rgba(212, 168, 83, 0.2);
}

.form-input::placeholder {
    color: var(--gray);
    font-size: 14px;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    font-size: 16px;
    opacity: 0.8;
    pointer-events: none;
}

/* Чекбоксы */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    cursor: pointer;
}

.checkbox {
    width: 16px;
    height: 16px;
    accent-color: var(--gold);
    cursor: pointer;
    margin-top: 2px;
}

.checkbox-text {
    font-size: 12px;
    color: var(--gray-dark);
    line-height: 1.4;
}

.checkbox-text a {
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px dotted;
    font-weight: 500;
}

/* Кнопка отправки */
.submit-btn {
    width: 100%;
    background: var(--gold);
    border: none;
    padding: 15px;
    border-radius: 16px;
    color: var(--dark);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    margin-top: 15px;
}

.submit-btn:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(212, 168, 83, 0.4);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Футер формы */
.form-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--gray);
    font-size: 12px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.form-footer i {
    color: var(--gold);
    font-size: 12px;
}

/* Сообщения об успехе */
.success-message {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 40px;
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.success-message i {
    font-size: 60px;
    color: #4CAF50;
    margin-bottom: 20px;
}

.success-message h3 {
    font-size: 22px;
    color: var(--dark);
    margin-bottom: 10px;
}

.success-message p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 20px;
}

.back-btn {
    background: var(--gold);
    border: none;
    padding: 12px 25px;
    border-radius: 12px;
    color: var(--dark);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.back-btn:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

/* ===== МОДАЛЬНЫЕ ОКНА ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal {
    background: var(--white);
    max-width: 500px;
    width: 100%;
    border-radius: 30px;
    padding: 40px;
    position: relative;
    border: 1px solid var(--gold);
    animation: modalFadeIn 0.4s;
    max-height: 80vh;
    overflow-y: auto;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--dark);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: rotate(90deg);
}

.modal-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--gold);
}

.modal-text {
    color: var(--gray-dark);
    line-height: 1.7;
    margin-bottom: 30px;
}

.modal-text p {
    margin-bottom: 15px;
}

.modal-btn {
    width: 100%;
    background: transparent;
    border: 1px solid var(--gold);
    padding: 16px;
    border-radius: 16px;
    color: var(--gold);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.modal-btn:hover {
    background: var(--gold);
    color: var(--white);
}

/* ===== УВЕДОМЛЕНИЯ ===== */
.notifications {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notification {
    background: var(--white);
    border-left: 4px solid;
    padding: 16px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow);
    transform: translateX(100%);
    opacity: 0;
    transition: var(--transition);
    max-width: 400px;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.success {
    border-left-color: #4CAF50;
}

.notification.success i {
    color: #4CAF50;
}

.notification.error {
    border-left-color: #F44336;
}

.notification.error i {
    color: #F44336;
}

.notification i {
    font-size: 24px;
}

.notification span {
    font-size: 15px;
    color: var(--dark);
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1024px) {
    .main-container {
        flex-direction: column;
        padding: 20px;
        overflow-y: auto;
    }
    
    .info-column, .form-column {
        max-width: 100%;
        padding-right: 0;
    }
    
    .info-column {
        margin-bottom: 30px;
    }
    
    .badge, .title, .description, .features, .installment, .architect, .apartments-info {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        justify-content: center;
    }
    
    .features {
        justify-content: center;
    }
    
    .mobile-contacts {
        display: block;
        text-align: center;
    }
    
    .form-column {
        align-items: center;
    }
    
    .expert-tooltip {
        bottom: 20px;
        left: 20px;
    }
    
    .expert-message {
        max-width: 240px;
    }
}

@media (max-width: 576px) {
    .floating-contacts {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-contact {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .expert-badge {
        width: 60px;
        height: 60px;
    }
    
    .expert-badge i {
        font-size: 28px;
    }
    
    .expert-message-content {
        padding: 15px;
    }
    
    .expert-message p {
        font-size: 13px;
    }
    
    .expert-link {
        padding: 10px;
        font-size: 13px;
    }
    
    .title {
        font-size: 36px;
    }
    
    .feature-value {
        font-size: 28px;
    }
    
    .form-card {
        padding: 25px;
    }
}
/* ===== КНОПКА ЗАКАЗА ЗВОНКА ===== */
.callback-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--gold);
    border: none;
    padding: 16px 32px;
    border-radius: 60px;
    color: var(--dark);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 30px;
    width: fit-content;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.callback-button:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(212, 168, 83, 0.4);
}

.callback-button i {
    font-size: 18px;
}

/* ===== МОДАЛЬНОЕ ОКНО ЗВОНКА ===== */
.callback-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.callback-modal {
    background: var(--white);
    max-width: 450px;
    width: 100%;
    border-radius: 30px;
    position: relative;
    animation: modalSlideIn 0.4s ease;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

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

.callback-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-light);
    border: none;
    color: var(--dark);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.callback-modal-close:hover {
    background: var(--gray);
    transform: rotate(90deg);
}

.callback-modal-content {
    padding: 40px;
}

.callback-modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.callback-modal-icon {
    width: 70px;
    height: 70px;
    background: var(--gold-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.callback-modal-title {
    font-size: 24px;
    color: var(--dark);
    margin-bottom: 10px;
}

.callback-modal-subtitle {
    color: var(--gray);
    font-size: 14px;
}

/* Форма в модальном окне */
.callback-form {
    width: 100%;
}

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

.callback-form-input {
    width: 100%;
    background: var(--white-soft);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 18px 20px 18px 50px;
    border-radius: 16px;
    color: var(--dark);
    font-size: 16px;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

.callback-form-input:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 5px 15px -5px rgba(212, 168, 83, 0.2);
}

.callback-form-input::placeholder {
    color: var(--gray);
    font-size: 15px;
}

.callback-input-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    font-size: 18px;
    opacity: 0.8;
    pointer-events: none;
}

/* Чекбоксы в модальном окне */
.callback-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    cursor: pointer;
}

.callback-checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--gold);
    cursor: pointer;
    margin-top: 2px;
}

.callback-checkbox-text {
    font-size: 13px;
    color: var(--gray-dark);
    line-height: 1.4;
}

.callback-checkbox-text a {
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px dotted;
    font-weight: 500;
}

/* Кнопка отправки в модальном окне */
.callback-submit-btn {
    width: 100%;
    background: var(--gold);
    border: none;
    padding: 18px;
    border-radius: 16px;
    color: var(--dark);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: var(--transition);
    margin-top: 25px;
}

.callback-submit-btn:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(212, 168, 83, 0.4);
}

.callback-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Сообщение об успехе в модальном окне */
.callback-success {
    text-align: center;
    padding: 20px 0;
}

.callback-success-icon {
    font-size: 70px;
    color: #4CAF50;
    margin-bottom: 20px;
}

.callback-success-title {
    font-size: 24px;
    color: var(--dark);
    margin-bottom: 10px;
}

.callback-success-text {
    color: var(--gray);
    font-size: 15px;
    margin-bottom: 25px;
}

.callback-success-btn {
    background: var(--gold);
    border: none;
    padding: 14px 30px;
    border-radius: 12px;
    color: var(--dark);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.callback-success-btn:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

/* Адаптивность для модального окна */
@media (max-width: 576px) {
    .callback-modal-content {
        padding: 30px 20px;
    }
    
    .callback-modal-title {
        font-size: 20px;
    }
    
    .callback-modal-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .callback-form-input {
        padding: 15px 15px 15px 45px;
        font-size: 15px;
    }
    
    .callback-submit-btn {
        padding: 15px;
    }
}