/* Базовые настройки и цвета */
:root {
    --c-navy: #121e35;
    --c-gold: #c29565;
    --c-bg: #f8f6f2;
    --c-white: #ffffff;
    --c-text: #333333;
    --c-text-mut: #666666;
    
    --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.04);
    --shadow-float: 0 16px 40px rgba(18, 30, 53, 0.08);
    --radius-lg: 12px;
    --radius-sm: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--c-text);
    background-color: var(--c-bg);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, .serif {
    font-family: 'Playfair Display', serif;
    color: var(--c-navy);
    line-height: 1.2;
}

/* --- СТРУКТУРА --- */
.section {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* --- ТУМАННЫЕ РАЗДЕЛИТЕЛИ --- */
.section::before,
.section::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 10px;
    background: var(--c-bg);
    box-shadow: 0 0 120px 100px var(--c-bg);
    z-index: 1;
    pointer-events: none;
}
.section::before { top: -10px; }
.section::after { bottom: -10px; }

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.col-left { width: 55%; }
.col-right { width: 40%; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 30px; }

/* --- ТИПОГРАФИКА --- */
.tag {
    color: var(--c-gold);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.title-main { font-size: 50px; margin-bottom: 24px; }
.title-sec { font-size: 42px; margin-bottom: 20px; }
.text-lead { font-size: 16px; margin-bottom: 24px; color: var(--c-text); }
.text-gold { color: var(--c-gold); font-weight: 600; font-size: 18px; margin-bottom: 30px; }

/* --- КНОПКА --- */
.btn {
    display: inline-flex;
    align-items: center;
    background: var(--c-navy);
    color: var(--c-white);
    text-decoration: none;
    padding: 16px 28px;
    border-radius: var(--radius-sm);
    gap: 18px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(18, 30, 53, 0.15);
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(18, 30, 53, 0.2); }
.btn i { font-size: 26px; color: var(--c-gold); }
.btn .btn-text strong { display: block; font-size: 15px; font-weight: 600; margin-bottom: 2px;}
.btn .btn-text span { font-size: 12px; font-weight: 400; opacity: 0.8; }

/* --- ЛОГОТИП --- */
.logo { display: flex; align-items: center; gap: 15px; margin-bottom: 50px; }
.logo i { font-size: 36px; color: var(--c-gold); }
.logo-text strong { display: block; color: var(--c-navy); font-size: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.logo-text span { font-size: 12px; color: var(--c-text-mut); line-height: 1.2; display: block; }

/* --- КАРТОЧКИ --- */
.card-stack { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; }
.card-row {
    background: var(--c-white);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: var(--shadow-card);
}
.card-row.dark { background: var(--c-navy); color: var(--c-white); align-items: center; }
.card-row.dark .c-title { color: var(--c-white); margin: 0; }

.icon-box {
    width: 48px; height: 48px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; font-size: 20px;
}
.icon-box.outline { border: 1px solid var(--c-gold); color: var(--c-gold); }
.icon-box.fill-dark { background: var(--c-navy); color: var(--c-white); }
.icon-box.fill-gold { background: rgba(194, 149, 101, 0.15); color: var(--c-gold); }

.c-title { display: block; font-size: 15px; font-weight: 600; color: var(--c-navy); margin-bottom: 4px; }
.c-text { font-size: 13px; color: var(--c-text-mut); }

/* --- ПЛАВАЮЩИЕ КАРТОЧКИ --- */
.float-box {
    background: var(--c-white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    box-shadow: var(--shadow-float);
    width: 100%;
    max-width: 360px;
}
.float-box.dark { background: var(--c-navy); color: var(--c-white); }
.float-box.dark .serif { color: var(--c-white); }
.float-box.beige { background: #fdfaf6; border: 1px solid #ebe0ce; text-align: center; }
.float-box.border-inside { padding: 10px; }
.float-box.border-inside .inner {
    border: 1px solid rgba(194, 149, 101, 0.3);
    border-radius: var(--radius-sm);
    padding: 40px 30px;
    text-align: center;
}

/* --- ИНФО-БАННЕРЫ --- */
.banner {
    background: var(--c-white);
    border-radius: var(--radius-lg);
    padding: 24px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-card);
    margin-top: 30px;
}
.banner.split { padding: 0; display: flex; overflow: hidden; }
.banner.split > div { padding: 24px 30px; flex: 1; display: flex; align-items: flex-start; gap: 15px; }
.banner.split > div:first-child { background: rgba(194, 149, 101, 0.05); }

/* --- СЕТКИ --- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; width: 100%; }
.g-item { display: flex; flex-direction: column; gap: 8px; }
.g-item.center { align-items: center; text-align: center; }
.g-item i { color: var(--c-gold); font-size: 22px; }
.g-item strong { font-size: 13px; color: var(--c-navy); font-weight: 600; line-height: 1.3; }
.g-item span { font-size: 11px; color: var(--c-text-mut); line-height: 1.4; }
.g-item-row { display: flex; align-items: flex-start; gap: 12px; }
.g-item-row i { color: var(--c-gold); font-size: 24px; margin-top: 2px; }
.g-item-row span { font-size: 11px; color: var(--c-text-mut); line-height: 1.4; }

/* --- СПЕЦИАЛЬНЫЕ БЛОКИ --- */
.s1-features { display: flex; border-top: 1px solid rgba(0,0,0,0.06); padding-top: 30px; }
.s1-feat-item { flex: 1; border-right: 1px solid rgba(0,0,0,0.06); padding: 0 20px; }
.s1-feat-item:first-child { padding-left: 0; }
.s1-feat-item:last-child { border-right: none; padding-right: 0; }

.check-item { display: flex; align-items: center; gap: 15px; background: var(--c-white); padding: 16px 20px; border-radius: 8px; margin-bottom: 12px; box-shadow: var(--shadow-card); }
.check-item i { color: var(--c-gold); font-size: 20px; }
.check-item span { font-size: 14px; font-weight: 500; color: var(--c-navy); }

.alert-purple { background: #eff0f6; border-radius: var(--radius-lg); padding: 24px 30px; display: flex; gap: 20px; margin: 30px 0; align-items: flex-start;}
.alert-purple i { font-size: 32px; color: #767a9b; }

.num-step { display: flex; gap: 15px; margin-bottom: 15px; align-items: center;}
.num-circle { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--c-gold); color: var(--c-gold); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 16px; flex-shrink: 0; background: var(--c-white); box-shadow: var(--shadow-card); }
.num-content { background: var(--c-white); border-radius: var(--radius-lg); padding: 16px 20px; flex: 1; box-shadow: var(--shadow-card); }


/* =========================================
   QUIZ FORM (КВИЗ-ОПРОСНИК)
========================================= */
.quiz-form { width: 100%; max-width: 580px; }

.quiz-progress { width: 100%; height: 6px; background: rgba(0,0,0,0.06); border-radius: 3px; margin-bottom: 25px; overflow: hidden; }
.quiz-progress-bar { height: 100%; background: var(--c-gold); width: 0%; transition: width 0.4s ease; }

.quiz-step { display: none; animation: fadeIn 0.4s ease; }
.quiz-step.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.quiz-question { font-family: 'Playfair Display', serif; font-size: 26px; color: var(--c-navy); margin-bottom: 20px; line-height: 1.3; }

.quiz-option {
    display: flex; justify-content: space-between; align-items: center;
    padding: 18px 24px; border: 1px solid #EBE0CE; border-radius: var(--radius-sm);
    margin-bottom: 12px; cursor: pointer; transition: all 0.2s ease;
    background: var(--c-white); box-shadow: var(--shadow-card);
}
.quiz-option:hover { border-color: var(--c-gold); box-shadow: 0 4px 15px rgba(194, 149, 101, 0.15); }
.quiz-option input[type="radio"] { display: none; }

.quiz-option .radio-custom {
    width: 22px; height: 22px; border: 2px solid #EBE0CE; border-radius: 50%;
    position: relative; flex-shrink: 0; margin-left: 15px; transition: border-color 0.2s;
}
.quiz-option input[type="radio"]:checked + .radio-custom { border-color: var(--c-gold); }
.quiz-option input[type="radio"]:checked + .radio-custom::after {
    content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 10px; height: 10px; background: var(--c-gold); border-radius: 50%;
}
.quiz-option input[type="radio"]:checked ~ .option-text { font-weight: 600; color: var(--c-navy); }
.option-text { font-size: 15px; color: var(--c-text); }

.quiz-input {
    width: 100%; padding: 18px 24px; border: 1px solid #EBE0CE; 
    border-radius: var(--radius-sm); font-family: 'Inter', sans-serif; 
    font-size: 15px; outline: none; transition: 0.3s;
}
.quiz-input:focus { border-color: var(--c-gold); box-shadow: 0 0 0 3px rgba(194, 149, 101, 0.1); }
.iti { width: 100%; display: block; }

.btn-back {
    background: none; border: none; color: var(--c-text-mut); cursor: pointer;
    font-size: 14px; text-decoration: underline; padding: 10px 0; transition: color 0.3s;
    font-family: 'Inter', sans-serif; display: inline-block;
}
.btn-back:hover { color: var(--c-navy); }


/* =========================================
   АДАПТИВНОСТЬ (МОБИЛЬНЫЕ УСТРОЙСТВА)
========================================= */
@media (max-width: 992px) {
    .container { flex-direction: column; padding: 0 20px; }
    .col-left, .col-right { width: 100%; }
    .col-right { margin-top: 40px; align-items: center; }
    
    .section {
        background-image: linear-gradient(rgba(248, 246, 242, 0.88), rgba(248, 246, 242, 0.95)), var(--bg-image) !important;
        background-position: center top;
        padding: 60px 0;
    }

    .title-main { font-size: 38px; }
    .title-sec { font-size: 32px; }
    .banner.split { flex-direction: column; }
    .banner.split > div { padding: 20px; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 20px; }

    .s1-features { flex-direction: column; gap: 20px; border-top: none; }
    .s1-feat-item { border-right: none; padding: 0 !important; border-bottom: 1px solid rgba(0,0,0,0.06); padding-bottom: 20px; }
    .s1-feat-item:last-child { border-bottom: none; padding-bottom: 0; }

    .float-box { max-width: 100%; }
}

@media (max-width: 576px) {
    .title-main { font-size: 32px; }
    .title-sec { font-size: 28px; }
    .grid-4 { grid-template-columns: 1fr; }
    .btn { width: 100%; justify-content: center; }
    .logo { flex-direction: column; align-items: flex-start; gap: 10px; }
    .num-step { flex-direction: column; align-items: flex-start; }
    .alert-purple { flex-direction: column; align-items: center; text-align: center; }
}