/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #0e2a4a;
    --navy-dark: #081a30;
    --navy-light: #e8eef5;
    --gold: #b8923f;
    --gold-light: #f5eedc;
    --green: #1f8a5f;
    --bg: #f7f8fa;
    --bg-white: #ffffff;
    --text: #14202e;
    --text-secondary: #4d5b6b;
    --text-muted: #8593a3;
    --border: #e2e6ec;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 1px 20px rgba(14,42,74,0.08);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Manrope', 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(247, 248, 250, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    border-bottom-color: var(--border);
}

.header-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-badge {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
}

.logo-text {
    font-weight: 700;
    font-size: 17px;
    letter-spacing: -0.02em;
    color: var(--navy);
}

.nav {
    display: flex;
    gap: 26px;
    flex-wrap: wrap;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}

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

.nav-link:hover { color: var(--navy); }
.nav-link:hover::after { width: 100%; }

.header-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header-phone {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    white-space: nowrap;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.burger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: var(--transition);
}

.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 14px;
    padding: 0 24px 24px;
    background: rgba(255,255,255,0.98);
}

.mobile-nav.open { display: flex; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--navy);
    color: #fff;
}
.btn-primary:hover { background: var(--navy-dark); transform: translateY(-1px); }

.btn-gold {
    background: var(--gold);
    color: #fff;
}
.btn-gold:hover { background: #a17f34; transform: translateY(-1px); }

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

.btn-outline-light {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-outline-light:hover { border-color: #fff; }

.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-full { width: 100%; }
.btn-lg { padding: 16px 32px; font-size: 16px; }

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
    padding: 110px 0 0;
}
.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
}
.breadcrumbs a { color: var(--text-muted); transition: var(--transition); }
.breadcrumbs a:hover { color: var(--navy); }
.breadcrumbs li:not(:last-child)::after {
    content: '/';
    margin-left: 6px;
    color: #c3cad3;
}
.breadcrumbs li { display: flex; gap: 6px; }

/* ===== HERO ===== */
.hero {
    padding: 40px 0 70px;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content { flex: 1.1; max-width: 620px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold-light);
    color: var(--gold);
    border-radius: 50px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 22px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: var(--navy);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.hero-trust {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--text-muted);
}
.hero-trust span { display: flex; align-items: center; gap: 6px; }
.hero-trust svg { flex-shrink: 0; color: var(--green); }

.hero-visual {
    flex: 0.9;
    display: flex;
    justify-content: center;
}

.hero-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 32px;
    max-width: 380px;
    width: 100%;
    border: 1px solid var(--border);
}

.hero-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 18px;
}

.hero-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
.hero-stat:last-child { border-bottom: none; }
.hero-stat-label { font-size: 13px; color: var(--text-secondary); }
.hero-stat-value { font-size: 18px; font-weight: 800; color: var(--navy); }

/* ===== SECTIONS ===== */
.section { padding: 90px 0; }
.section--white { background: var(--bg-white); }
.section--navy { background: var(--navy); color: #fff; }
.section--gray { background: var(--bg); }

.section-header { max-width: 720px; margin-bottom: 50px; }
.section-header--center { margin-left: auto; margin-right: auto; text-align: center; }

.section-header--light h2,
.section-header--light p { color: #fff; }

.section-badge {
    display: inline-block;
    background: var(--navy-light);
    color: var(--navy);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-header--light .section-badge {
    background: rgba(255,255,255,0.12);
    color: #fff;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    color: var(--navy);
}

.section-header--light h2 { color: #fff; }

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.65;
}

.section-header--light .section-subtitle { color: rgba(255,255,255,0.75); }

/* ===== PROCEDURE CARDS ===== */
.procedures-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.procedure-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--navy);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.procedure-card:hover { transform: translateY(-4px); }
.procedure-card--accent { border-top-color: var(--gold); }
.procedure-card--green { border-top-color: var(--green); }

.procedure-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: var(--navy-light);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}

.procedure-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--navy);
    letter-spacing: -0.01em;
}

.procedure-card p {
    font-size: 14.5px;
    color: var(--text-secondary);
    margin-bottom: 18px;
    line-height: 1.6;
}

.procedure-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.procedure-meta-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}
.procedure-meta-row span:first-child { color: var(--text-muted); }
.procedure-meta-row span:last-child { font-weight: 700; color: var(--navy); }

.procedure-card .btn { margin-top: auto; }

/* ===== FIT / NOT FIT ===== */
.fit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.fit-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 32px;
    border: 1px solid var(--border);
}

.fit-card--yes { border-left: 4px solid var(--green); }
.fit-card--no { border-left: 4px solid #c0392b; }

.fit-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fit-card ul { display: flex; flex-direction: column; gap: 12px; }

.fit-card li {
    font-size: 14.5px;
    color: var(--text-secondary);
    padding-left: 26px;
    position: relative;
    line-height: 1.55;
}

.fit-card--yes li::before {
    content: '✓';
    position: absolute; left: 0; top: 0;
    color: var(--green);
    font-weight: 800;
}

.fit-card--no li::before {
    content: '✕';
    position: absolute; left: 0; top: 0;
    color: #c0392b;
    font-weight: 800;
}

/* ===== STEPS ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.step-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow);
}

.step-number {
    width: 40px; height: 40px;
    background: var(--navy);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 16px;
    margin-bottom: 18px;
}

.step-card h3 {
    font-size: 16.5px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--navy);
}

.step-card p {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* ===== DOCUMENTS LIST ===== */
.docs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.docs-item {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    font-size: 14.5px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.docs-item svg { flex-shrink: 0; color: var(--navy); }

/* ===== CASES ===== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.case-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}

.case-tag {
    display: inline-block;
    background: var(--gold-light);
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.case-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--navy);
    line-height: 1.4;
}

.case-row {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}
.case-row:last-of-type { border-bottom: none; }
.case-row span:first-child { color: var(--text-muted); }
.case-row span:last-child { font-weight: 700; color: var(--navy); }

.case-result {
    margin-top: 16px;
    padding: 14px;
    background: var(--navy-light);
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--navy);
}

/* ===== QUIZ ===== */
.quiz-box {
    max-width: 640px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 40px;
    border: 1px solid var(--border);
}

.quiz-progress {
    height: 6px;
    background: var(--navy-light);
    border-radius: 10px;
    margin-bottom: 32px;
    overflow: hidden;
}

.quiz-progress-bar {
    height: 100%;
    background: var(--gold);
    border-radius: 10px;
    width: 10%;
    transition: width 0.4s ease;
}

.quiz-step-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.quiz-question {
    font-size: 22px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.quiz-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    font-size: 15px;
    font-weight: 500;
}

.quiz-option:hover { border-color: var(--gold); }
.quiz-option.selected {
    border-color: var(--navy);
    background: var(--navy-light);
    font-weight: 700;
}

.quiz-option input { accent-color: var(--navy); }

.quiz-input {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    margin-bottom: 14px;
}
.quiz-input:focus { outline: none; border-color: var(--navy); }

.quiz-nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.quiz-result {
    display: none;
    text-align: center;
}

.quiz-result.active { display: block; }
.quiz-result-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--navy-light);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
}

.quiz-result h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 12px;
}

.quiz-result p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.quiz-disclaimer {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-top: 20px;
    line-height: 1.5;
}

/* ===== FAQ ===== */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    font-size: 15.5px;
    font-weight: 700;
    color: var(--navy);
}

.faq-question .faq-icon {
    flex-shrink: 0;
    width: 22px; height: 22px;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.3s ease;
    color: var(--gold);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-answer-inner {
    padding: 0 24px 20px;
    font-size: 14.5px;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ===== FORM ===== */
.form-section {
    background: var(--navy);
    border-radius: 24px;
    padding: 56px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.form-info h2 {
    font-size: 30px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.form-info p {
    font-size: 15px;
    color: rgba(255,255,255,0.75);
    line-height: 1.65;
    margin-bottom: 24px;
}

.form-contacts { display: flex; flex-direction: column; gap: 12px; }
.form-contacts a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}
.form-contacts svg { color: var(--gold); flex-shrink: 0; }

.lead-form {
    background: #fff;
    border-radius: var(--radius);
    padding: 32px;
}

.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14.5px;
    font-family: inherit;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--navy); }

.form-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 20px;
}
.form-consent input { margin-top: 3px; accent-color: var(--navy); }
.form-consent label { font-size: 12.5px; color: var(--text-muted); line-height: 1.5; }
.form-consent a { color: var(--navy); text-decoration: underline; }

/* ===== DISCLAIMER BAR ===== */
.disclaimer-bar {
    background: var(--gold-light);
    border: 1px solid #e8dcb8;
    border-radius: var(--radius-sm);
    padding: 18px 22px;
    font-size: 13.5px;
    color: #6b552a;
    line-height: 1.6;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.disclaimer-bar svg { flex-shrink: 0; color: var(--gold); margin-top: 2px; }

/* ===== FOOTER ===== */
.footer {
    background: var(--navy-dark);
    color: #fff;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 18px;
}

.footer-col li { margin-bottom: 10px; }
.footer-col a {
    font-size: 13.5px;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}
.footer-col a:hover { color: #fff; }

.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand-text { font-weight: 700; font-size: 16px; }

.footer-desc {
    font-size: 13.5px;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-requisites {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    line-height: 1.6;
}

.footer-bottom {
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p { font-size: 12.5px; color: rgba(255,255,255,0.4); }
.footer-bottom-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom-links a { font-size: 12.5px; color: rgba(255,255,255,0.4); }
.footer-bottom-links a:hover { color: #fff; }

/* ===== STICKY CTA (mobile) ===== */
.sticky-cta {
    display: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero h1 { font-size: 38px; }
    .section-header h2 { font-size: 30px; }
    .procedures-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .cases-grid { grid-template-columns: 1fr; }
    .fit-grid { grid-template-columns: 1fr; }
    .docs-grid { grid-template-columns: 1fr; }
    .form-section { grid-template-columns: 1fr; padding: 36px 24px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav { display: none; }
    .burger { display: flex; }
    .header-phone { display: none; }

    .hero .container { flex-direction: column; text-align: center; }
    .hero-content { display: flex; flex-direction: column; align-items: center; }
    .hero h1 { font-size: 30px; }
    .hero-subtitle { font-size: 15.5px; }
    .hero-buttons { justify-content: center; }
    .hero-trust { justify-content: center; }

    .breadcrumbs { padding-top: 100px; }
    .section { padding: 60px 0; }
    .section-header h2 { font-size: 25px; }

    .steps-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }

    .sticky-cta {
        display: flex;
        position: fixed;
        bottom: 0; left: 0; right: 0;
        z-index: 999;
        background: #fff;
        border-top: 1px solid var(--border);
        padding: 12px 16px;
        gap: 10px;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    }
    .sticky-cta .btn { flex: 1; }
    body { padding-bottom: 70px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 26px; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .btn { width: 100%; }
    .quiz-box { padding: 24px 20px; }
    .quiz-question { font-size: 18px; }
}

/* ===== ANIMATIONS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.stagger-children > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s cubic-bezier(0.16,1,0.3,1), transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.08s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.16s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.24s; }
.stagger-children.visible > * { opacity: 1; transform: translateY(0); }
