:root {
  --cream: #F5ECE4;
  --pudra: #EAD9CD;
  --caramel: #D8B79E;
  --terracotta: #C2704A;
  --terracotta-dark: #A85C3A;
  --sage: #AEBBA0;
  --sage-dark: #8B9B7C;
  --olive: #3D3B2E;
  --olive-light: #585542;
  --ink: #332E27;
  --ink-soft: #726B5E;
  --white: #FFFDFB;
  --font-heading: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', 'Segoe UI', Arial, sans-serif;
  --wrap-max: 1120px;
  --wrap-pad: 32px;
  --section-pad: 72px;
  --transition-fast: 0.15s ease;
  --transition-base: 0.2s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); color: var(--ink); background: var(--cream); line-height: 1.6; font-size: 16px; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; }
a { color: inherit; text-decoration: none; transition: color var(--transition-fast); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--wrap-max); margin: 0 auto; padding: 0 var(--wrap-pad); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 100px; font-size: 14px;
  font-weight: 600; font-family: var(--font-body); cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-base);
  border: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--terracotta); color: var(--white); box-shadow: 0 4px 16px rgba(194, 112, 74, 0.25); }
.btn-primary:hover { box-shadow: 0 6px 24px rgba(194, 112, 74, 0.35); }
.btn-ghost { background: transparent; border: 1.5px solid var(--ink); color: var(--ink); }
.btn-disabled { opacity: 0.5; cursor: not-allowed; }

/* Typography utilities */
.eyebrow { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--terracotta-dark); font-weight: 600; margin-bottom: 16px; }
.section-head { margin-bottom: 40px; text-align: justify; hyphens: auto; -webkit-hyphens: auto; word-break: break-word; overflow-wrap: break-word; }
.section-eyebrow { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sage-dark); margin-bottom: 10px; }
.section-title { font-size: 30px; margin-bottom: 10px; }
.section-sub { color: var(--ink-soft); font-size: 15px; }

/* Header */
.site-header { padding: 28px 0; }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-heading); font-size: 19px; font-weight: 500; color: var(--ink); }
.main-nav { display: flex; gap: 32px; font-size: 14px; color: var(--ink-soft); }
.main-nav a { transition: color 0.15s ease; }
.main-nav a:hover { color: var(--ink); }

/* Footer */
.site-footer { padding: 36px 0; text-align: left; font-size: 13px; color: var(--ink-soft); }

/* ========== HERO ========== */
.block-hero { padding: var(--section-pad) 0; background: var(--cream); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-title {
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  font-size: 48px;
  margin-bottom: 20px;
}
.hero-title p { display: inline; margin: 0; padding: 0; }
.hero-title em,
.hero-title i {
  color: var(--terracotta-dark);
  font-style: italic;
}
.hero-subtitle { color: var(--ink-soft); font-size: 18px; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-ctas .btn { min-width: 240px; justify-content: center; }
.hero-photo { position: relative; }
.hero-photo img { border-radius: 24px; }

/* ========== PRODUCTS ========== */
.block-products { padding: var(--section-pad) 0; }
.products-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }

.product-card {
  border-radius: 20px; padding: 28px;
  display: flex; flex-direction: column;
  justify-content: space-between; min-height: 200px;
  transition: transform 0.15s ease;
}
.product-card:hover { transform: translateY(-3px); }
.product-card.flagship { grid-row: span 2; background: var(--olive); color: var(--white); min-height: 420px; }
.product-card.tone-sage { background: var(--sage); color: var(--olive); }
.product-card.tone-pudra { background: var(--pudra); }
.product-card.tone-caramel { background: var(--caramel); color: var(--white); }
.product-card.tone-white { background: var(--white); border: 1px solid var(--pudra); }
/* tone-cream и tone-terracotta убраны — их нет в выборе блока */

.product-tag {
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  opacity: 0.7; margin-bottom: 10px; font-weight: 600;
}
.product-card h3 { font-size: 20px; margin-bottom: 8px; font-family: var(--font-heading); font-weight: 500; }
.flagship h3 { font-size: 26px; }
.product-desc { font-size: 13.5px; opacity: 0.85; margin-bottom: 16px; }
.product-foot {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; font-weight: 600;
}
.product-foot a { display: flex; justify-content: space-between; align-items: center; width: 100%; color: inherit; gap: 8px; }
.product-foot .arrow { font-size: 16px; }

.product-card.full-width { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 24px; }
.full-width .product-foot { justify-content: flex-start; }
.full-width .product-foot a { width: auto; }

.product-image { margin-bottom: 16px; border-radius: 12px; overflow: hidden; }
.product-image img { width: 100%; height: auto; display: block; }

/* ========== PHOTO BREAK ========== */
.block-photo-break { padding: var(--section-pad) 0; }
.block-photo-break .wrap { border-radius: 24px; overflow: hidden; }
.photo-break-img { width: 100%; height: auto; object-fit: cover; display: block; border-radius: 32px; }

/* ========== FREE MATERIALS ========== */
.block-free-materials { padding: var(--section-pad) 0; background: var(--cream); }
.free-materials-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}
.free-card {
    flex: 1 1 320px;
    max-width: 360px;
    min-width: 280px;
    background: var(--white);
    border: 1px solid var(--pudra);
    border-radius: 16px;
    padding: 22px;
}
.free-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--pudra);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-bottom: 14px;
    overflow: hidden;
    padding: 11px;
}
.free-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.free-card-title { font-size: 15px; font-weight: 600; margin-bottom: 6px; font-family: var(--font-body); }
.free-card-desc { font-size: 13px; color: var(--ink-soft); margin-bottom: 14px; }
.free-card-link { font-size: 13px; font-weight: 600; color: var(--terracotta-dark);}
.free-card-link:hover { color: var(--terracotta); }

/* ========== ABOUT ========== */
.block-about { padding: var(--section-pad) 0; }
.about-inner { border-radius: 32px; padding: 64px 56px; }
.about-inner.bg-olive { background: var(--olive); color: var(--white); }
.about-inner.bg-cream { background: var(--cream); color: var(--ink); }
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: center; }
.about-photo { border-radius: 20px; overflow: hidden; }
.about-photo img { border-radius: 20px; }
.about-title { font-size: 26px; margin-bottom: 18px; }
.about-inner.bg-olive .about-title { color: var(--white); }
.about-text { opacity: 0.9; line-height: 1.7; }
.about-inner.bg-olive .about-text { color: rgba(255,255,255,0.75); }
.about-stats { display: flex; gap: 40px; margin-top: 28px; flex-wrap: wrap; }
.stat-num { font-family: var(--font-heading); font-size: 32px; color: var(--terracotta); }
.stat-label { font-size: 12.5px; opacity: 0.6; }
.about-inner.bg-olive .stat-label { color: rgba(255,255,255,0.6); }

/* ========== REVIEWS ========== */
.block-reviews { padding: var(--section-pad) 0; background: var(--cream); }
.reviews-head { margin-bottom: 40px; }
.reviews-title { margin-bottom: 0; }

.reviews-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.reviews-carousel::-webkit-scrollbar { display: none; }

.review-card {
    flex: 0 0 calc((100% - 32px) / 3);
    background: var(--white);
    border: 1px solid var(--pudra);
    border-radius: 18px;
    padding: 24px;
    scroll-snap-align: start;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.review-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--terracotta);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    flex-shrink: 0;
}

.review-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}

.review-text {
    font-size: 14px;
    color: var(--ink-soft);
    font-style: italic;
    line-height: 1.6;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--pudra);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease;
}

.carousel-dot.active {
    background: var(--terracotta);
}

/* ========== CONTACT ========== */
.block-contact { background: var(--cream); border-radius: 28px; padding: var(--section-pad) 0; text-align: center; }
.contact-inner { background: var(--pudra); border-radius: 28px; padding: 56px; text-align: center; }
.contact-title { font-size: 28px; margin-bottom: 14px; }
.contact-subtitle { color: var(--ink-soft); margin-bottom: 32px; }
.contact-telegram { font-size: 14px; color: var(--ink-soft); margin-top: 20px; }
.contact-telegram a { color: var(--terracotta); font-weight: 600; }
.contact-note {
    font-size: 13px;
    color: var(--ink-soft);
    margin-top: 16px;
}

/* ========== FAQ ========== */
.block-faq { padding: var(--section-pad) 0; background: var(--cream); }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-title { text-align: center; margin-bottom: 40px; }

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--pudra);
    border-radius: 16px;
    padding: 24px;
    transition: box-shadow 0.2s ease;
}
.faq-item:hover {
    box-shadow: 0 4px 20px rgba(51, 46, 39, 0.06);
}

.faq-question {
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    color: var(--ink);
}
.faq-question::-webkit-details-marker { display: none; }

.faq-toggle {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    color: var(--terracotta);
}
.faq-toggle::before,
.faq-toggle::after {
    content: '';
    position: absolute;
    background: currentColor;
    transition: transform 0.25s ease;
}
.faq-toggle::before {
    width: 12px;
    height: 2px;
}
.faq-toggle::after {
    width: 2px;
    height: 12px;
}

details[open] .faq-toggle::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-answer {
    padding-top: 16px;
    color: var(--ink-soft);
    line-height: 1.7;
    font-size: 15px;
}
.faq-answer p { margin-bottom: 12px; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ========== RESULTS ========== */
.block-results { padding: var(--section-pad) 0; background: var(--sage); color: var(--olive); }
.results-title { font-size: 28px; margin-bottom: 40px; text-align: center; }
.results-grid { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.result-number { font-size: 48px; font-family: var(--font-heading); font-weight: 600; }
.result-label { font-size: 14px; opacity: 0.8; margin-top: 4px; }

/* ========== PRICING ========== */
.block-pricing { padding: var(--section-pad) 0; background: var(--cream); }
.pricing-head { text-align: center; margin: 0 auto 40px; }

.pricing-carousel {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.pricing-carousel::-webkit-scrollbar { display: none; }

.pricing-card {
    flex: 0 0 calc((100% - 48px) / 3);
    background: var(--white);
    padding: 32px;
    border-radius: 20px;
    text-align: left;
    border: 1px solid var(--pudra);
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
    min-height: 480px;
}
.pricing-card.popular {
    border: 2px solid var(--terracotta-dark);
}

.pricing-badge {
    color: var(--terracotta-dark);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.pricing-name {
    font-size: 20px;
    font-family: var(--font-heading);
    margin-bottom: 8px;
}
.pricing-desc {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.5;
    margin-bottom: 16px;
}
.pricing-features {
    list-style: none;
    margin: 0 0 16px 0;
    padding: 0;
    flex: 1 0 auto;
}
.pricing-features li {
    padding: 8px 0;
    border-bottom: 1px solid var(--pudra);
    font-size: 14px;
    color: var(--ink-soft);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before {
    content: "—";
    color: var(--terracotta-dark);
    margin-right: 8px;
}
.pricing-price {
    font-size: 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--terracotta-dark);
    text-align: center;
    margin-bottom: 4px;
}
.pricing-old-price {
    text-decoration: line-through;
    color: var(--ink-soft);
    font-size: 14px;
    text-align: center;
    margin-bottom: 16px;
}

/* Кнопки тарифов */
.btn-pricing {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    background: var(--white);
    color: var(--terracotta-dark);
    border: 1.5px solid var(--terracotta-dark);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}
.btn-pricing:hover {
    background: var(--terracotta-dark);
    color: var(--white);
}
.pricing-card.popular .btn-pricing {
    background: var(--terracotta-dark);
    color: var(--white);
    border-color: var(--terracotta-dark);
}
.pricing-card.popular .btn-pricing:hover {
    background: var(--terracotta);
    border-color: var(--terracotta);
}

/* ========== CONTENT CARDS ========== */
.block-content-cards { padding: var(--section-pad) 0; background: var(--pudra); }
.content-cards-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}
.content-card {
    flex: 1 1 320px;
    max-width: 360px;
    min-width: 280px;
    padding: 24px;
    border-radius: 16px;
    background: var(--white);
}
.content-card-number {
    font-size: 48px;
    font-family: var(--font-heading);
    color: var(--terracotta);
    font-weight: 600;
    line-height: 1;
    margin-bottom: 12px;
}
.content-card-check {
    color: var(--terracotta);
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}
.content-card-title { font-size: 18px; margin: 12px 0 8px; }
.content-card-desc { color: var(--ink-soft); font-size: 14px; }

/* ========== PRODUCT PAGE ========== */
.product-hero { padding: var(--section-pad) 0; background: var(--cream); }
.product-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.product-hero-tag { font-size: 12px; text-transform: uppercase; font-weight: 600; color: var(--terracotta-dark); }
.product-hero-title { font-size: 42px; margin: 12px 0 16px; }
.product-hero-subtitle p { margin: 0; line-height: 1.6; }
.product-hero-subtitle { margin-bottom: 16px; color: var(--ink-soft); }
.product-price-block { margin-bottom: 24px; }
.product-price { font-size: 32px; font-family: var(--font-heading); font-weight: 600; color: var(--terracotta); }
.product-old-price { text-decoration: line-through; color: var(--ink-soft); margin-left: 12px; }
.product-meta { 
    display: flex; 
    gap: 40px; 
    margin-top: 32px; 
    flex-wrap: wrap; 
    border-top: 1px solid var(--pudra); 
    padding-top: 16px; 
    justify-content: center; /* ← добавлено */
}
.product-meta-item { 
    min-width: 120px; 
    text-align: center; /* ← добавлено */
}
.product-meta-label { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); margin-bottom: 6px; }
.product-meta-value { display: block; font-size: 15px; font-weight: 500; color: var(--ink); }
.product-hero-photo { position: relative; }
.product-hero-photo img { border-radius: 24px; width: 100%; height: auto; display: block; }

/* ========== ПРОСТОЙ ТЕКСТОВЫЙ БЛОК (для страницы продукта) ========== */
.block-simple-text { padding: var(--section-pad) 0; background: var(--cream); }
.simple-text-content { max-width: 720px; margin: 0 auto; }
.simple-text-content h2 { font-size: 28px; margin: 32px 0 16px; font-family: var(--font-heading); }
.simple-text-content h3 { font-size: 22px; margin: 24px 0 12px; font-family: var(--font-heading); }
.simple-text-content h4 { font-size: 18px; margin: 20px 0 10px; font-family: var(--font-heading); }
.simple-text-content p { margin-bottom: 16px; line-height: 1.7; }
.simple-text-content ul, .simple-text-content ol { margin: 16px 0; padding-left: 24px; }
.simple-text-content li { margin-bottom: 8px; }
.simple-text-content hr { border: none; border-top: 1px solid var(--pudra); margin: 32px 0; }
.simple-text-content img { border-radius: 12px; margin: 16px 0; max-width: 100%; }
.simple-text-content a { color: var(--terracotta); text-decoration: underline; }
.simple-text-content a:hover { color: var(--terracotta-dark); }
.simple-text-content blockquote { border-left: 3px solid var(--terracotta); padding-left: 20px; margin: 24px 0; color: var(--ink-soft); font-style: italic; }
/* Выравнивание картинок из RichText */
.simple-text-content img.richtext-image.left {
    float: left;
    margin: 8px 24px 16px 0;
    max-width: 50%;
    border-radius: 12px;
}
.simple-text-content img.richtext-image.right {
    float: right;
    margin: 8px 0 16px 24px;
    max-width: 50%;
    border-radius: 12px;
}
.simple-text-content img.richtext-image.full-width {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 16px 0;
}
/* Очистка float после картинки */
.simple-text-content::after {
    content: "";
    display: table;
    clear: both;
}

/* Убираем чёрный фон при нажатии */
.btn-primary:active,
.btn-primary:focus {
    background: var(--terracotta);
    color: var(--white);
    outline: none;
}
.btn-ghost:active,
.btn-ghost:focus {
    background: transparent;
    color: var(--ink);
    outline: none;
}
.btn:active {
    transform: translateY(0); /* убираем лишний сдвиг если мешает */
}

/* Для загруженных картинок — вписываем в квадрат без обрезки */
.free-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Убираем старые .img-icon правила если есть */
.free-card-icon.img-icon {
    background: var(--pudra);
    padding: 0;
}

/* Кнопка btn-primary внутри карточки продукта — белый текст */
.product-foot .btn-primary {
    color: var(--white);
}

.product-hero-subtitle p { margin-bottom: 12px; }
.product-hero-subtitle p:last-child { margin-bottom: 0; }

/* ========== КНОПКА НАВЕРХ ========== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--cream);
    color: var(--ink-soft);
    border: 1.5px solid var(--pudra);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease, background 0.2s ease;
    z-index: 9999;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--pudra);
    color: var(--ink);
    border-color: var(--caramel);
}
.back-to-top svg {
    display: block;
    margin-top: -1px;
}

/* ========== КНОПКА «НА ГЛАВНУЮ» ========== */
.back-link {
    font-size: 14px;
    color: var(--ink-soft);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 100px;
    border: 1.5px solid var(--pudra);
    transition: all 0.2s ease;
    white-space: nowrap;
}
.back-link:hover {
    color: var(--terracotta);
    border-color: var(--terracotta);
}

/* ========== RESULTS ========== */
.block-results { padding: var(--section-pad) 0; background: var(--cream); }
.results-inner {
    border-radius: 32px;
    padding: 64px 56px;
    text-align: center;
}
.results-inner.bg-olive {
    background: var(--olive);
    color: var(--white);
}
.results-inner.bg-cream {
    background: var(--cream);
    color: var(--ink);
    border: 1px solid var(--pudra);
}
.results-title {
    font-size: 28px;
    margin-bottom: 40px;
    font-family: var(--font-heading);
}
.results-grid {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}
.result-item { text-align: center; min-width: 120px; }
.result-number {
    font-size: 48px;
    font-family: var(--font-heading);
    font-weight: 600;
}
.result-label {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 4px;
}
.results-inner.bg-olive .result-label {
    color: rgba(255,255,255,0.7);
}
.result-number {
    font-size: 48px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--terracotta);
}
.results-inner.bg-olive .result-number {
    color: var(--terracotta);
}
.results-inner.bg-cream .result-number {
    color: var(--terracotta);
}

/* Текстовый режим */
.results-text-list {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    list-style: none;
    padding: 0;
}
.results-text-list li {
    padding: 12px 0;
    font-size: 16px;
    line-height: 1.6;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}
.results-inner.bg-cream .results-text-list li {
    border-bottom-color: rgba(51, 46, 39, 0.1);
}
.results-text-list li:last-child { border-bottom: none; }
.results-text-list li::before {
    content: "—";
    margin-right: 12px;
}
.result-number {
    font-size: 48px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--terracotta);
}
.results-inner .result-number {
    color: var(--terracotta);
}

/* ========== FOOTER (юридический подвал) ========== */
.site-footer {
  padding: 0;
}

/* Верхняя линия (опциональная) */
.site-footer.footer-bordered {
  border-top: 1px solid var(--pudra);
}

/* --- Светлый фон --- */
.site-footer.footer-light {
  background: var(--cream);
  color: var(--ink-soft);
}
.site-footer.footer-light .footer-col-title {
  color: var(--ink);
}
.site-footer.footer-light .footer-col-body a {
  color: var(--terracotta);
}
.site-footer.footer-light .footer-col-body a:hover {
  color: var(--terracotta-dark);
}
.site-footer.footer-light .footer-doc-link {
  color: var(--ink-soft);
}
.site-footer.footer-light .footer-doc-link:hover {
  color: var(--terracotta);
}
.site-footer.footer-light .footer-bottom {
  border-top-color: var(--pudra);
}

/* --- Тёмный фон = Olive --- */
.site-footer.footer-dark {
  background: var(--olive);
  color: rgba(255,255,255,0.7);
}
.site-footer.footer-dark .footer-col-title {
  color: var(--white);
}
.site-footer.footer-dark .footer-col-body a {
  color: rgba(255,255,255,0.85);
}
.site-footer.footer-dark .footer-col-body a:hover {
  color: var(--white);
}
.site-footer.footer-dark .footer-doc-link {
  color: rgba(255,255,255,0.7);
}
.site-footer.footer-dark .footer-doc-link:hover {
  color: var(--white);
}
.site-footer.footer-dark .footer-bottom {
  border-top-color: rgba(255,255,255,0.15);
}
.site-footer.footer-dark .footer-dev a {
  color: rgba(255,255,255,0.7);
}
.site-footer.footer-dark .footer-dev a:hover {
  color: var(--white);
}

/* Внутренний отступ */
.footer-inner {
  padding: 56px var(--wrap-pad) 40px;
}

/* Основная зона — flex, колонки по центру */
.footer-main {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-col {
  flex: 0 1 280px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.footer-col-body {
  font-size: 14px;
  line-height: 1.8;
}
.footer-col-body p {
  margin-bottom: 4px;
}
.footer-compact {
  padding-top: 24px;
}

/* Документы с иконками — текст по левому краю */
.footer-doc-link {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-doc-icon {
  flex-shrink: 0;
  opacity: 0.5;
  transition: opacity 0.15s ease;
}
.footer-doc-link:hover .footer-doc-icon {
  opacity: 1;
}

/* Доп. текст — по левому краю */
.footer-additional {
  font-size: 14px;
  line-height: 1.8;
}
.footer-additional p {
  margin-bottom: 8px;
}
.footer-additional a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Нижняя зона — линия + копирайт (по центру) */
.footer-bottom {
  border-top: 1px solid var(--pudra);
  padding-top: 24px;
  text-align: center;
}

.footer-copyright {
  font-size: 13px;
  margin-bottom: 4px;
  opacity: 0.8;
}
.footer-dev {
  font-size: 13px;
  opacity: 0.7;
}
.footer-dev a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

/* Адаптив */
@media (max-width: 1119px) {
  .footer-main {
    gap: 36px;
  }
}
@media (max-width: 767px) {
  .footer-main {
    gap: 32px;
    margin-bottom: 32px;
  }
  .footer-col {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .footer-inner {
    padding: 40px 0 32px;
  }
}
@media (max-width: 430px) {
  .footer-main {
    gap: 28px;
  }
  .footer-col-title {
    font-size: 15px;
  }
}
/* Форма скачивания бесплатного */
.free-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 9999;
}
.free-modal-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(3px);
}
.free-modal-content {
    position: relative;
    max-width: 420px;
    margin: 100px auto;
    background: #FFFDFB;
    border-radius: 16px;
    padding: 32px 28px;
    z-index: 1;
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.free-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.free-modal-header h3 {
    margin: 0;
    text-align: center;
    flex: 1;
    font-family: var(--font-heading);
    color: #5D755D;
    font-size: 20px;
    font-weight: 500;
}
.free-modal-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #8A8279;
    padding: 0 4px;
}
.free-modal-close:hover {
    color: #332E27;
}
.free-modal-material-title {
    font-weight: 600;
    margin-bottom: 24px;
    text-align: center;
    color: #332E27;
    font-size: 15px;
}
.free-form-label {
    display: block;
    margin-bottom: 16px;
    font-size: 13px;
    color: #5D755D;
    font-weight: 500;
}
.free-form-label input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #E5E0D5;
    border-radius: 10px;
    margin-top: 6px;
    font-size: 14px;
    background: #FFFAF4;
    font-family: inherit;
    box-sizing: border-box;
}
.free-form-label input:focus {
    outline: none;
    border-color: #A8B8A2;
    box-shadow: 0 0 0 3px rgba(93,117,93,0.08);
}
.free-form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #8A8279;
    margin-bottom: 20px;
    cursor: pointer;
}
.free-form-check input {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin: 0;
    cursor: pointer;
}
.free-form-submit {
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    margin-top: 8px;
    background: var(--olive);
    color: var(--white);
    transition: background 0.2s ease;
}
.free-form-submit:hover {
    background: var(--olive-light);
}
/* Кнопка скачивания бесплатного — без рамки и фона */
.free-card-link {
    background: none;
    border: none;
    padding: 0;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--terracotta-dark);
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s ease;
}
.free-card-link:hover {
    color: var(--terracotta);
}

/* Cookie-уведомление */
.cookie-glass {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    display: none;
    max-width: 520px;
    width: calc(100% - 32px);
    background: rgba(255, 253, 251, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(51, 46, 39, 0.08);
}
.cookie-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    flex-wrap: wrap;
}
.cookie-text {
    flex: 1;
    min-width: 200px;
    font-size: 13px;
    color: #332E27;
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}
.cookie-icon {
    width: 20px;
    height: 20px;
    stroke: #C2704A;
    stroke-width: 1.5;
    fill: none;
    flex-shrink: 0;
    margin-top: 2px;
}
.cookie-btn {
    background: #C2704A;
    border: none;
    padding: 10px 24px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    color: #FFFDFB;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    white-space: nowrap;
}
.cookie-btn:hover {
    background: #A85C3A;
    transform: scale(1.02);
}
.pricing-telegram {
    font-size: 13px;
    color: var(--ink-soft);
    text-align: center;
    margin-top: 10px;
}
.pricing-telegram a {
    color: var(--terracotta-dark);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.pricing-telegram a:hover {
    color: var(--terracotta);
}
.about-text p {
    margin-bottom: 1em;
}
.about-text p:last-child {
    margin-bottom: 0;
}
.about-text ul,
.about-text ol {
    margin: 1em 0;
    padding-left: 1.5em;
}
.about-text li {
    margin-bottom: 0.4em;
}
.about-text h2,
.about-text h3,
.about-text h4 {
    margin: 1.5em 0 0.6em;
}
.about-text h2:first-child,
.about-text h3:first-child,
.about-text h4:first-child {
    margin-top: 0;
}
.about-text hr {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.2);
    margin: 28px 0;
}
.about-inner.bg-cream .about-text hr {
    border-top-color: var(--pudra);
}