:root {
    --primary: #9b8d6b;
    --secondary: #6b7d5b;
    --accent: #d4a574;
    --dark: #2c2c2c;
    --light: #f5f3ef;
    --gray: #a8a8a8;
    --bg: #faf9f7;
    --border: #e0dcd5;
}

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

html, body {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg);
    color: var(--dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header.header {
    background: white;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary);
    text-decoration: none;
}

.logo svg {
    color: var(--primary);
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: var(--dark);
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav a:hover {
    color: var(--primary);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
}

.disclosure-bar {
    background: #fff9e6;
    border-bottom: 1px solid #f0e8d0;
    padding: 12px 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #5a5a3a;
}

.disclosure-icon {
    margin-right: 8px;
}

.hero {
    padding: 80px 20px;
}

.hero-split-color {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: linear-gradient(135deg, rgba(155, 141, 107, 0.05) 0%, rgba(107, 125, 91, 0.05) 100%);
}

.hero-left h1 {
    font-family: 'Archivo', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--dark);
}

.hero-left p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

.hero-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: #8b7d5b;
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background: #5b6d4b;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.05rem;
}

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

.hero-svg {
    max-width: 100%;
    height: auto;
}

.what-not-section {
    padding: 60px 20px;
    background: var(--light);
}

.what-not-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.not-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.not-card {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border);
}

.not-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.not-card p {
    font-size: 0.95rem;
    color: #666;
}

.band {
    padding: 80px 20px;
    text-align: center;
    color: white;
}

.band-dark {
    background: var(--dark);
}

.band h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.band-subtitle {
    font-size: 1.1rem;
    margin-bottom: 50px;
    opacity: 0.95;
}

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

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
}

.calculator-section {
    padding: 60px 20px;
}

.calculator-section h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2rem;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

.lf-calc {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
}

.calc-input-group {
    margin-bottom: 30px;
}

.calc-input-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

.calc-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--border);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
}

.calc-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: none;
}

.calc-value {
    float: right;
    font-weight: 600;
    color: var(--primary);
}

.calc-result {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--border);
    text-align: center;
}

.calc-result h3 {
    margin-bottom: 15px;
}

.calc-score-display {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 15px;
}

.calc-recommendation {
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
}

.counters-section {
    padding: 60px 20px;
    background: var(--light);
}

.counters-section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
}

.lf-counter {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.counter-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.counter-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.counter-label {
    font-size: 0.95rem;
    color: #666;
}

.timeline-section {
    padding: 60px 20px;
}

.timeline-section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--border);
}

.timeline-item {
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.timeline-item:nth-child(even) {
    direction: rtl;
}

.timeline-item:nth-child(even) .timeline-content {
    direction: ltr;
}

.timeline-marker {
    text-align: center;
    font-weight: 700;
    font-size: 1.3rem;
    color: white;
    background: var(--primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.timeline-content h3 {
    margin-bottom: 10px;
}

.timeline-content p {
    color: #666;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
    .timeline-item {
        grid-template-columns: 1fr;
        direction: ltr !important;
    }
    .timeline-item:nth-child(even) .timeline-content {
        direction: ltr;
    }
    .timeline-marker {
        margin-bottom: 10px;
    }
}

.cta-section {
    padding: 80px 20px;
    text-align: center;
    background: var(--light);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #666;
}

.page-hero {
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(155, 141, 107, 0.1) 0%, rgba(107, 125, 91, 0.1) 100%);
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 1.1rem;
    color: #666;
}

.content-section {
    padding: 40px 20px;
}

.content-section h2 {
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.content-section p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.8;
}

.content-section.bg-alt {
    background: var(--light);
}

.guides-grid {
    padding: 40px 20px;
}

.guide-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.guide-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.2s;
}

.guides-grid .guide-card {
    display: block;
}

.guides-grid {
    display: grid;
}

.guides-grid .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.guide-card h3 {
    margin-bottom: 15px;
}

.guide-card p {
    color: #666;
    margin-bottom: 20px;
}

.guide-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.testimonials-grid {
    padding: 40px 20px;
}

.testimonials-grid .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
}

.testimonial-stars {
    color: #ffc107;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.testimonial-text {
    color: #666;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary);
}

.contact-section {
    padding: 60px 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info {
    padding: 30px;
    background: var(--light);
    border-radius: 12px;
}

.contact-info h2 {
    margin-bottom: 30px;
}

.info-item {
    margin-bottom: 30px;
}

.info-item h3 {
    margin-bottom: 10px;
    color: var(--primary);
}

.info-item p {
    color: #666;
}

.info-item a {
    color: var(--primary);
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}

.form-status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    display: none;
}

.form-status.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.thank-you-section {
    padding: 100px 20px;
    text-align: center;
}

.thank-you-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.thank-you-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px;
}

.error-404 {
    padding: 100px 20px;
    text-align: center;
}

.error-content h1 {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.error-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

.legal-section {
    padding: 60px 20px;
}

.legal-section h1 {
    margin-bottom: 20px;
}

.legal-section h2 {
    margin-top: 40px;
    margin-bottom: 20px;
}

.legal-section p,
.legal-section li {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.8;
}

.legal-section ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.sources-list {
    list-style: disc;
    margin-left: 20px;
}

footer.footer {
    background: var(--dark);
    color: white;
    padding: 60px 20px 20px;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
}

.footer-section p {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: var(--accent);
}

.footer-disclaimer {
    font-size: 0.85rem;
    color: #999;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    color: #999;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .hero-split-color {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-left h1 {
        font-size: 2rem;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* brand-guard-css-v3 — авто-страховка cookie-баннера и контраста (приложение) */
.cookie-banner{position:fixed !important;left:1rem;right:1rem;bottom:1rem;z-index:9000 !important;max-width:760px;margin-left:auto;margin-right:auto;background:#fff;color:#1a1a1a;border:1px solid rgba(0,0,0,.12);border-radius:12px;box-shadow:0 10px 40px rgba(0,0,0,.18);padding:1rem 1.25rem;transform:translateY(220%);transition:transform .32s ease}
.cookie-banner.is-visible,.cookie-banner--visible,.cookie-banner.show,.cookie-banner.active{transform:none !important}
.cookie-banner a{color:inherit;text-decoration:underline}
.cookie-banner button{cursor:pointer}
.cookie-modal{position:fixed !important;inset:0;z-index:9001 !important;display:none;align-items:center;justify-content:center;background:rgba(0,0,0,.5);padding:1rem}
.cookie-modal.is-visible,.cookie-modal--visible,.cookie-modal.show,.cookie-modal.active{display:flex !important}
.cookie-modal-panel,.cookie-modal>div{background:#fff;color:#1a1a1a;max-width:480px;width:100%;border-radius:12px;padding:1.25rem;max-height:85vh;overflow:auto}
.section-dark .lf-quiz,.section-dark .lf-calc,.section-dark .lf-tabs,.section-dark .lf-carousel,.section-accent .lf-quiz,.section-accent .lf-calc,.section-accent .lf-tabs,.section-accent .lf-carousel{background:#fff !important;color:#1a1a1a !important}
.lf-quiz,.lf-calc{color:#1a1a1a !important}
.lf-quiz label,.lf-calc label,.lf-quiz p,.lf-calc p,.lf-quiz .lf-q-title,.lf-quiz span,.lf-calc span,.lf-out,.lf-result,.lf-tabs .lf-panel,.lf-tabs .lf-panel *{color:#1a1a1a !important}
.lf-out,.lf-result{background:#f3f4f2 !important;border-color:rgba(0,0,0,.12) !important}
.lf-quiz .lf-opt{color:#1a1a1a !important}
.lf-quiz .lf-opt.is-sel{color:#fff !important}
