* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; line-height: 1.6; color: #2d5016; background: #fafaf8; }

/* DEEP FOREST GREEN PALETTE (seed-derived) */
:root {
  --primary: #1b4d2e;
  --primary-light: #2d7a45;
  --primary-dark: #0f2e1a;
  --accent: #4a9d6f;
  --accent-light: #7ab894;
  --neutral-light: #f5f5f0;
  --neutral-mid: #d4d4cc;
  --neutral-dark: #6b6b63;
  --success: #2d7a45;
  --error: #a84c4c;
  --border: #e0e0d8;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 { font-family: 'Archivo', sans-serif; font-weight: 700; line-height: 1.2; color: #0f2e1a; }
h1 { font-size: 3rem; margin-bottom: 1.5rem; }
h2 { font-size: 2.2rem; margin-bottom: 1.2rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.8rem; }
h4 { font-size: 1.2rem; margin-bottom: 0.6rem; }
p { margin-bottom: 1rem; font-size: 1rem; }
a { color: var(--primary); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--primary-light); }

/* CONTAINER & LAYOUT */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 6rem 0; }
.section-alt { background: #f0f5f0; }
.section-dark { background: #1b4d2e; color: #f5f5f0; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #f5f5f0; }
.section-dark p, .section-dark li { color: #d4d4cc; }
.section-dark a { color: #7ab894; }
.section-accent { background: linear-gradient(135deg, #1b4d2e 0%, #2d7a45 100%); color: #f5f5f0; }
.section-accent h2, .section-accent h3, .section-accent h4 { color: #f5f5f0; }
.section-accent p { color: #d4d4cc; }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-eyebrow { display: inline-block; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); margin-bottom: 0.5rem; }
.section-title { font-size: 2.2rem; margin-bottom: 1rem; }
.section-lead { font-size: 1.1rem; color: var(--neutral-dark); max-width: 600px; margin: 0 auto; }

.hl { color: var(--accent-light); font-weight: 700; }

/* DISCLOSURE BAR */
.disclosure-bar { background: var(--primary-dark); color: #f5f5f0; padding: 0.75rem; text-align: center; font-size: 0.9rem; }

/* HEADER */
.site-header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem 0; }
.logo { font-family: 'Archivo', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.main-nav { display: flex; gap: 2rem; align-items: center; }
.main-nav a { color: var(--neutral-dark); font-size: 0.95rem; font-weight: 500; transition: color 0.3s; }
.main-nav a:hover { color: var(--primary); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 0.4rem; }
.nav-toggle span { width: 25px; height: 2px; background: var(--primary); transition: 0.3s; }

@media (max-width: 768px) {
  .main-nav { display: none; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); gap: 0; padding: 1rem 0; }
  .main-nav.active { display: flex; }
  .main-nav a { padding: 0.75rem 2rem; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: flex; }
}

/* HERO */
.hero { background: linear-gradient(135deg, #f5f5f0 0%, #f0f5f0 100%); padding: 6rem 0; }
.hero-split2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-card { }
.hero-eyebrow { display: inline-block; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); margin-bottom: 0.5rem; }
.hero-title { font-size: 2.8rem; margin-bottom: 1.5rem; line-height: 1.2; }
.hero-text { font-size: 1.1rem; color: var(--neutral-dark); margin-bottom: 2rem; line-height: 1.7; }
.hero-actions { display: flex; gap: 1rem; }
.media { width: 100%; height: auto; background: var(--border); border-radius: 8px; overflow: hidden; }
.media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-16x9 { aspect-ratio: 16 / 9; }
.media-3x4 { aspect-ratio: 3 / 4; }

@media (max-width: 768px) {
  .hero-split2 { grid-template-columns: 1fr; gap: 2rem; }
  h1 { font-size: 2rem; }
  .hero-title { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; text-align: center; }
}

/* BUTTONS */
.btn { display: inline-block; padding: 0.75rem 1.75rem; border-radius: 6px; font-weight: 600; font-size: 0.95rem; border: none; cursor: pointer; transition: all 0.3s ease; text-align: center; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-light); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }

/* PILLARS / CARDS */
.pillars-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.pillar-item { background: #fff; padding: 2rem; border-radius: 8px; box-shadow: 0 2px 8px rgba(27, 77, 46, 0.08); }
.pillar-item i { font-size: 2.5rem; color: var(--accent); margin-bottom: 1rem; }
.pillar-item h3 { margin-bottom: 0.5rem; }
.pillar-item p { color: var(--neutral-dark); margin-bottom: 0; }

/* SPLIT BLOCK */
.split-block { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split-content { }
.split-content h2 { margin-bottom: 1rem; }
.split-content p { color: var(--neutral-dark); }
.checklist { list-style: none; }
.checklist li { display: flex; align-items: flex-start; margin-bottom: 0.8rem; color: var(--neutral-dark); }
.check-icon { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; margin-right: 0.75rem; font-weight: 700; color: var(--success); flex-shrink: 0; }

@media (max-width: 768px) {
  .split-block { grid-template-columns: 1fr; gap: 2rem; }
}

/* TIMELINE */
.timeline-v { position: relative; padding-left: 2rem; }
.timeline-v::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--accent-light); }
.tl-step { display: flex; gap: 2rem; margin-bottom: 2rem; position: relative; }
.tl-dot { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; background: var(--primary); color: #fff; border-radius: 50%; font-weight: 700; font-size: 1.2rem; flex-shrink: 0; position: relative; z-index: 1; }
.tl-step h3 { margin-bottom: 0.3rem; }
.tl-step p { color: var(--neutral-dark); margin-bottom: 0; }

/* TABLE */
.pattern-table { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; background: #fff; }
.data-table thead { background: var(--primary-dark); color: #f5f5f0; }
.data-table th { padding: 1rem; text-align: left; font-weight: 600; }
.data-table td { padding: 1rem; border-bottom: 1px solid var(--border); }
.data-table tbody tr:hover { background: #f9f9f7; }
.pattern-note { font-size: 0.9rem; color: var(--neutral-dark); margin-top: 1rem; font-style: italic; }

/* CALCULATOR */
.lf-calc { background: #fff; padding: 2rem; border-radius: 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); }
.calc-label { display: flex; flex-direction: column; margin-bottom: 1.5rem; font-weight: 500; }
.calc-value { color: var(--primary); font-weight: 700; font-size: 1.1rem; }
.calc-slider { width: 100%; margin: 0.5rem 0; cursor: pointer; }
.lf-out { padding: 1rem; background: var(--primary-light); color: #fff; border-radius: 6px; margin: 1rem 0; font-weight: 600; }
.calc-note { font-size: 0.85rem; color: var(--neutral-dark); margin-top: 1rem; }

/* COUNTERS */
.bigstat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; text-align: center; margin-bottom: 2rem; }
.bigstat { padding: 2rem; background: #fff; border-radius: 8px; }
.bigstat b { display: block; font-size: 2.5rem; color: var(--primary); margin-bottom: 0.5rem; font-family: 'Archivo', sans-serif; }
.bigstat span { display: block; color: var(--neutral-dark); font-size: 0.95rem; }
.stat-note { font-size: 0.85rem; color: var(--neutral-dark); margin-top: 1rem; text-align: center; font-style: italic; }

/* PRICE CARDS */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.price-card { background: #fff; padding: 2rem; border-radius: 8px; border: 2px solid var(--border); transition: all 0.3s ease; position: relative; }
.price-card--featured { border-color: var(--primary); box-shadow: 0 8px 20px rgba(27, 77, 46, 0.15); transform: scale(1.02); }
.price-badge { position: absolute; top: -12px; left: 20px; background: var(--accent); color: #fff; padding: 0.4rem 0.8rem; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }
.price-card h3 { margin-bottom: 0.5rem; }
.price { font-size: 2rem; font-weight: 700; color: var(--primary); margin-bottom: 0.25rem; }
.price-desc { color: var(--neutral-dark); font-size: 0.9rem; margin-bottom: 1.5rem; }
.price-features { list-style: none; margin-bottom: 1.5rem; }
.price-features li { padding: 0.5rem 0; border-bottom: 1px solid var(--border); color: var(--neutral-dark); font-size: 0.95rem; }
.price-features li:last-child { border-bottom: none; }

/* TRUST GRID */
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.trust-item { background: #fff; padding: 2rem; border-radius: 8px; }
.trust-item i { font-size: 2.5rem; color: var(--primary); margin-bottom: 1rem; }
.trust-item h3 { margin-bottom: 1rem; }
.trust-item ul { list-style: none; }
.trust-item li { padding: 0.4rem 0; color: var(--neutral-dark); }

/* TESTIMONIALS */
.testimonial-disclaimer { text-align: center; color: var(--neutral-dark); font-size: 0.9rem; margin-bottom: 2rem; font-style: italic; }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.testimonial { background: #fff; padding: 2rem; border-radius: 8px; border-left: 4px solid var(--accent); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); }
.testimonial p { color: var(--neutral-dark); font-style: italic; margin-bottom: 1rem; }
.testimonial cite { display: block; color: var(--primary); font-weight: 600; font-style: normal; }

/* CTA BAND */
.cta-band { text-align: center; padding: 4rem 0; }
.cta-band h2 { color: #fff; margin-bottom: 1rem; }
.cta-band p { color: #d4d4cc; font-size: 1.05rem; margin-bottom: 2rem; }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { margin-bottom: 1rem; border-bottom: 1px solid var(--border); }
.faq-question { width: 100%; padding: 1.5rem 0; background: none; border: none; text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: var(--primary); font-size: 1rem; }
.faq-question:hover { color: var(--primary-light); }
.faq-question i { transition: transform 0.3s ease; }
.faq-question[aria-expanded="true"] i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer[aria-hidden="false"] { max-height: 500px; }
.faq-answer-inner { padding-bottom: 1.5rem; color: var(--neutral-dark); }

/* TABS */
.lf-tablist { display: flex; gap: 1rem; margin-bottom: 2rem; border-bottom: 2px solid var(--border); flex-wrap: wrap; }
.lf-tab { background: none; border: none; padding: 1rem 0; margin: 0 1rem 0 0; cursor: pointer; color: var(--neutral-dark); font-weight: 600; border-bottom: 2px solid transparent; transition: all 0.3s; }
.lf-tab.is-active { color: var(--primary); border-bottom-color: var(--primary); }
.lf-panel { display: none; }
.lf-panel.is-active { display: block; }
.exercise-panel { background: #fff; padding: 2rem; border-radius: 8px; }
.exercise-item { margin-bottom: 2rem; }
.exercise-item h4 { margin-bottom: 1rem; color: var(--primary); }
.exercise-item ol { margin-left: 2rem; }
.exercise-item li { margin-bottom: 0.5rem; color: var(--neutral-dark); }

/* ERROR/WARNING GRID */
.error-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.error-item { background: #fff; padding: 2rem; border-radius: 8px; border-top: 4px solid var(--error); }
.error-item i { font-size: 2rem; color: var(--error); margin-bottom: 1rem; }
.error-item h3 { margin-bottom: 0.5rem; }
.error-item p { color: var(--neutral-dark); margin-bottom: 0; }

/* CHECKLIST CARDS */
.checklist-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.checklist-card { background: #fff; padding: 2rem; border-radius: 8px; }
.checklist-card h3 { margin-bottom: 1.5rem; color: var(--primary); }
.checklist-card .checklist { margin-bottom: 0; }

/* CONTACT LAYOUT */
.contact-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; }
.contact-form { background: #fff; padding: 2rem; border-radius: 8px; }
.contact-info-panel { background: var(--primary-dark); color: #f5f5f0; padding: 2rem; border-radius: 8px; }
.contact-info-panel h2 { color: #f5f5f0; margin-bottom: 1.5rem; }
.contact-info-item { margin-bottom: 1.5rem; display: flex; gap: 1rem; }
.contact-info-item i { font-size: 1.5rem; margin-top: 0.2rem; flex-shrink: 0; }
.contact-info-item a { color: #7ab894; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; }
.form-group input, .form-group textarea { width: 100%; padding: 0.75rem; border: 1px solid var(--border); border-radius: 6px; font-family: inherit; font-size: 1rem; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(27, 77, 46, 0.1); }
.form-checkbox { display: flex; gap: 0.75rem; align-items: flex-start; }
.form-checkbox input { width: auto; margin-top: 0.25rem; }
.form-error { display: block; color: var(--error); font-size: 0.85rem; margin-top: 0.25rem; }

@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-info-panel { padding: 1.5rem; }
}

/* MAP */
.map-container { border-radius: 8px; overflow: hidden; margin-top: 2rem; }

/* THANK YOU & 404 */
.thank-you-section, .not-found-section { text-align: center; }
.thank-you-container, .not-found-container { max-width: 600px; margin: 0 auto; }
.thank-you-section h1, .not-found-section h1 { margin-bottom: 1.5rem; }
.thank-you-section p, .not-found-section p { font-size: 1.1rem; color: var(--neutral-dark); margin-bottom: 1.5rem; }

/* FOOTER */
.site-footer { background: var(--primary-dark); color: #f5f5f0; padding: 4rem 0 2rem; margin-top: 6rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-brand h4, .footer-col h4 { color: #fff; margin-bottom: 1rem; }
.footer-brand p, .footer-col p { color: #d4d4cc; font-size: 0.9rem; margin-bottom: 0.5rem; line-height: 1.6; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: #7ab894; }
.footer-col a:hover { color: #fff; }
.footer-disclaimer { color: #d4d4cc; font-size: 0.85rem; margin: 1.5rem 0; padding: 1rem; background: rgba(255, 255, 255, 0.05); border-left: 3px solid var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 1.5rem; text-align: center; color: #d4d4cc; font-size: 0.85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }

/* COOKIES */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 2px solid var(--border); padding: 1.5rem 2rem; box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1); z-index: 999; }
.cookie-banner-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.cookie-banner-text { color: var(--neutral-dark); flex: 1; }
.cookie-banner-text a { color: var(--primary); }
.cookie-banner-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.cookie-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 2rem; }
.cookie-modal[aria-hidden="true"] { display: none; }
.cookie-modal-panel { background: #fff; padding: 2rem; border-radius: 8px; max-width: 600px; max-height: 80vh; overflow-y: auto; }
.cookie-modal-panel h2 { margin-bottom: 1rem; }
.cookie-toggle { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 0; border-bottom: 1px solid var(--border); }
.cookie-toggle:last-child { border-bottom: none; }
.cookie-toggle h4 { margin-bottom: 0.25rem; }
.cookie-toggle p { font-size: 0.85rem; color: var(--neutral-dark); margin-bottom: 0; }
.switch { position: relative; display: inline-block; width: 50px; height: 26px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: #ccc; transition: 0.3s; border-radius: 26px; }
.slider::before { content: ''; position: absolute; height: 20px; width: 20px; left: 3px; bottom: 3px; background: #fff; transition: 0.3s; border-radius: 50%; }
input:checked + .slider { background: var(--primary); }
input:checked + .slider::before { transform: translateX(24px); }
.cookie-modal-actions { display: flex; gap: 1rem; margin-top: 2rem; justify-content: flex-end; }

@media (max-width: 768px) {
  .cookie-banner-inner { flex-direction: column; align-items: flex-start; }
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions .btn { flex: 1; }
  .cookie-modal-panel { padding: 1.5rem; }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .section { padding: 3rem 0; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  .pillars-wrap { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .price-card--featured { transform: scale(1); }
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* 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}
