/* ========================================
   БОГОРОДСКАЯ МАЗЬ — Русский народный стиль v3
======================================== */


:root {
    --gold: #b8860b;
    --gold-light: #daa520;
    --red: #c41e3a;
    --red-dark: #8b0000;
    --green: #2e4a1e;
    --green-light: #3d5c28;
    --cream: #f8f4e8;
    --cream-dark: #ebe3d0;
    --brown: #4a3728;
    --brown-light: #6b5344;
    --black: #2b2b2b;
    --white: #fffef9;
    --text: #3d3d3d;
    --text-light: #666;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'PT Serif', Georgia, serif;
    font-size: 19px;
    line-height: 1.75;
    color: var(--text);
    background: var(--cream);
}

h1, h2, h3, h4, h5 {
    font-family: 'Monomakh', 'Old Standard TT', Georgia, serif;
    font-weight: 400;
    line-height: 1.3;
    color: var(--brown);
    letter-spacing: 1px;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
button { cursor: pointer; font-family: inherit; }

/* HEADER */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 3px solid var(--red);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 30px;
}

.logo { display: flex; align-items: center; }
.logo img { height: 100px; width: auto; }

.nav { display: flex; align-items: center; gap: 28px; }

.nav a {
    font-family: 'Monomakh', serif;
    font-size: 19px;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--brown);
    text-decoration: none;
    padding: 8px 0;
    position: relative;
}

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

.nav a:hover::after { width: 100%; }
.nav a:hover { text-decoration: none; }

.nav-cta {
    background: var(--red);
    color: var(--white) !important;
    padding: 10px 24px !important;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--red-dark); }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 5px; }
.burger span { width: 24px; height: 2px; background: var(--brown); }

/* ORNAMENT */

/* HERO */
.hero {
    padding: 210px 0 80px;
    background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 100px;
    background: url('../images/ornament-1.webp') no-repeat center;
    background-size: contain;
    opacity: 0.12;
    pointer-events: none;
}

.hero::before { top: 100px; left: 20px; }
.hero::after { top: 100px; right: 20px; transform: scaleX(-1); }

.hero .hero__inner::before,
.hero .hero__inner::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 100px;
    background: url('../images/ornament-1.webp') no-repeat center;
    background-size: contain;
    opacity: 0.12;
    pointer-events: none;
}

.hero__inner { position: relative; }
.hero .hero__inner::before { bottom: -40px; left: -80px; transform: scaleY(-1); }
.hero .hero__inner::after { bottom: -40px; right: -80px; transform: scale(-1, -1); }

/* Ornament Divider - Russian Pattern */

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 50px;
    align-items: center;
}

.hero__label {
    display: inline-block;
    font-family: 'Monomakh', serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--red);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--red);
}

.hero__title { font-size: 52px; color: var(--brown); margin-bottom: 20px; }
.hero__lead { font-size: 19px; line-height: 1.7; color: var(--brown-light); margin-bottom: 28px; }

.hero__points { list-style: none; margin-bottom: 32px; }
.hero__points li { position: relative; padding-left: 28px; margin-bottom: 12px; font-size: 16px; }
.hero__points li::before { content: '✦'; position: absolute; left: 0; color: var(--red); font-size: 14px; }

.hero__price {
    display: inline-flex;
    align-items: baseline;
    gap: 16px;
    padding: 20px 28px;
    background: var(--white);
    border: 2px solid var(--cream-dark);
    margin-bottom: 24px;
}

.price-old { font-size: 18px; color: var(--text-light); text-decoration: line-through; }
.price-current { font-size: 36px; font-weight: 700; color: var(--red); }
.price-note { font-size: 13px; color: var(--green); font-weight: 600; }

.hero__image { text-align: center; }
.hero__image img { max-width: 100%; height: auto; }

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 16px 36px;
    font-family: 'Monomakh', serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
}

.btn:hover { text-decoration: none; }

.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(196, 30, 58, 0.3); }

.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-light); }

/* SECTION */
.section { padding: 80px 0; position: relative; }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--dark { background: var(--green); color: var(--cream); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }

.section__header { max-width: 700px; margin-bottom: 50px; }
.section__header--center { text-align: center; margin-left: auto; margin-right: auto; }

.section__eyebrow {
    font-family: 'Monomakh', serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--red);
    margin-bottom: 12px;
}

.section__title { font-size: 36px; margin-bottom: 16px; }
.section__lead { font-size: 18px; color: var(--text-light); line-height: 1.7; text-transform: none; letter-spacing: 0; }

/* PROBLEM SECTION */
.problem-section { background: var(--white); position: relative; }

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 50px;
    align-items: start;
}

.problem-content h2 { font-size: 32px; margin-bottom: 24px; }
.problem-content p { margin-bottom: 20px; font-size: 19px; }

.problem-list {
    list-style: none;
    margin: 24px 0;
    padding: 24px;
    background: var(--cream);
    border-left: 4px solid var(--red);
}

.problem-list li { position: relative; padding-left: 24px; margin-bottom: 10px; }
.problem-list li::before { content: '—'; position: absolute; left: 0; color: var(--red); }

.problem-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.problem-images img { 
    border-radius: 8px; 
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    width: 100%;
    height: auto;
}

.solution-box {
    background: var(--green);
    color: var(--white);
    padding: 30px;
    margin-top: 30px;
}

.solution-box h3 {
    font-family: 'Monomakh', serif;
    color: var(--gold-light);
    font-size: 22px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.solution-box p { opacity: 0.95; line-height: 1.8; }

/* INGREDIENTS */
.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.ingredient-card {
    background: var(--white);
    padding: 30px;
    text-align: center;
    border: 1px solid var(--cream-dark);
    transition: all 0.3s;
}

.ingredient-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

.ingredient-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ingredient-icon img { max-width: 100%; max-height: 100%; object-fit: contain; }

.ingredient-card h3 {
    font-family: 'Monomakh', serif;
    font-size: 20px;
    color: var(--green);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ingredient-latin { font-style: italic; font-size: 13px; color: var(--text-light); margin-bottom: 12px; }
.ingredient-card p:last-child { font-size: 15px; line-height: 1.6; color: var(--text); }

/* STEPS */
.steps-list { counter-reset: step; max-width: 700px; }

.step-item {
    display: flex;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px dashed var(--cream-dark);
}

.step-num {
    counter-increment: step;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--red);
    color: var(--white);
    font-family: 'Monomakh', serif;
    font-size: 22px;
    font-weight: 700;
    border-radius: 50%;
}

.step-num::before { content: counter(step); }

.step-text h3 { font-size: 18px; margin-bottom: 6px; color: var(--brown); }
.step-text p { font-size: 15px; color: var(--text-light); }

.tip-block {
    margin-top: 40px;
    padding: 24px 28px;
    background: var(--cream);
    border-left: 4px solid var(--gold);
}

.tip-block strong { color: var(--gold); }

/* REVIEWS */
.reviews-intro { text-align: center; margin-bottom: 50px; }

.reviews-stats {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 16px 32px;
    background: var(--white);
    border: 2px solid var(--red);
}

.reviews-stats .rating { font-family: 'Monomakh', serif; font-size: 42px; font-weight: 700; color: var(--red); }
.reviews-stats .stars { color: var(--gold); font-size: 18px; letter-spacing: 2px; }
.reviews-stats .count { font-size: 14px; color: var(--text-light); }

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }

.review-item {
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--cream-dark);
    position: relative;
}

.review-item.review-neutral {
    border-left: 3px solid var(--gold);
}

.review-item::before {
    content: '"';
    position: absolute;
    top: 16px; left: 20px;
    font-family: Georgia, serif;
    font-size: 60px;
    color: var(--cream-dark);
    line-height: 1;
}

.review-text {
    position: relative;
    z-index: 1;
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 20px;
    padding-left: 32px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--cream-dark);
}

.review-avatar {
    width: 44px;
    height: 44px;
    background: var(--red);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Monomakh', serif;
    font-size: 18px;
    font-weight: 700;
}

.review-meta { font-size: 14px; }
.review-name { font-weight: 600; color: var(--brown); }
.review-info { color: var(--text-light); font-size: 13px; }
.review-rating { margin-left: auto; color: var(--gold); letter-spacing: 1px; }

/* Reviews Slider */
.reviews-slider {
    position: relative;
}

.reviews-slides {
    overflow: hidden;
}

.reviews-slide {
    display: none;
}

.reviews-slide.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.reviews-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.reviews-arrow {
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 2px solid var(--cream-dark);
    color: var(--brown);
    font-size: 28px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.reviews-arrow:hover {
    background: var(--green);
    border-color: var(--green);
    color: var(--white);
}

.reviews-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background: var(--cream-dark);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: var(--gold-light);
}

.dot.active {
    background: var(--gold);
    transform: scale(1.2);
}

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--cream-dark); }

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    background: none;
    border: none;
    text-align: left;
    font-family: 'Monomakh', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--brown);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.faq-question:hover { color: var(--red); }
.faq-icon { font-size: 24px; color: var(--red); transition: transform 0.3s; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s; }
.faq-item.active .faq-answer { max-height: 400px; }
.faq-answer p { padding-bottom: 24px; font-size: 16px; line-height: 1.8; color: var(--text-light); }

/* DECLARATION */
.declaration-block {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
    padding: 40px;
    background: var(--white);
    border: 2px solid var(--cream-dark);
}

.declaration-block img { border: 1px solid var(--cream-dark); }

.declaration-content h3 { font-size: 24px; margin-bottom: 16px; color: var(--green); }

.declaration-list { list-style: none; margin: 20px 0; }
.declaration-list li { padding: 8px 0; font-size: 15px; border-bottom: 1px dotted var(--cream-dark); }
.declaration-list strong { color: var(--brown); }

/* ORDER */
.order-section { background: var(--green); }

.order-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.order-info { color: var(--cream); }
.order-info h2 { color: var(--white); font-size: 32px; margin-bottom: 20px; }

.order-product {
    display: flex;
    gap: 24px;
    margin: 30px 0;
    padding: 24px;
    background: rgba(255,255,255,0.1);
    align-items: center;
}

.order-product img { width: 140px; flex-shrink: 0; }

.order-details h3 { font-family: 'Monomakh', serif; color: var(--gold-light); font-size: 22px; margin-bottom: 8px; }
.order-volume { font-size: 14px; opacity: 0.8; margin-bottom: 12px; }
.order-price { display: flex; align-items: baseline; gap: 12px; }
.order-price .old { font-size: 16px; text-decoration: line-through; opacity: 0.6; }
.order-price .current { font-size: 28px; font-weight: 700; color: var(--gold-light); }

.order-benefits { list-style: none; }
.order-benefits li { padding: 8px 0; padding-left: 24px; position: relative; opacity: 0.9; }
.order-benefits li::before { content: '✓'; position: absolute; left: 0; color: var(--gold-light); }

.order-form { background: var(--white); padding: 32px; }
.order-form h3 { font-size: 22px; margin-bottom: 8px; color: var(--green); }
.order-form > p { font-size: 15px; color: var(--text-light); margin-bottom: 24px; }
.order-iframe { width: 100%; min-height: 320px; border: none; }
.order-secure { margin-top: 16px; font-size: 13px; color: var(--text-light); text-align: center; }

/* FOOTER */
.footer { background: var(--brown); color: var(--cream); padding: 50px 0 30px; }

.footer__inner { max-width: 800px; margin: 0 auto; text-align: center; }
.footer__disclaimer { font-size: 13px; opacity: 0.7; margin-bottom: 24px; padding: 20px; background: rgba(255,255,255,0.05); }
.footer__company { font-size: 14px; opacity: 0.6; margin-bottom: 20px; }
.footer__copy { font-size: 14px; opacity: 0.5; }

/* BACK TO TOP */
.back-to-top {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 48px; height: 48px;
    background: var(--red);
    color: var(--white);
    border: none;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    cursor: pointer;
    z-index: 99;
}

.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--red-dark); }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero__inner, .problem-grid, .declaration-block, .order-grid { grid-template-columns: 1fr; }
    .hero__image { order: -1; text-align: center; }
    .hero__image img { max-width: 400px; margin: 0 auto; }
    .problem-image { order: -1; text-align: center; }
    .problem-image img { max-width: 400px; margin: 0 auto; }
    .ingredients-grid { grid-template-columns: repeat(2, 1fr); }
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 74px; left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
        border-bottom: 3px solid var(--red);
    }
    .nav.active { transform: translateY(0); opacity: 1; visibility: visible; }
    .burger { display: flex; }
    .hero { padding: 100px 0 50px; }
    .hero__title { font-size: 36px; }
    .section { padding: 50px 0; }
    .section__title { font-size: 28px; }
    .ingredients-grid { grid-template-columns: 1fr; }
    .reviews-grid { grid-template-columns: 1fr; }
    .order-product { flex-direction: column; text-align: center; }
    .order-product img { margin: 0 auto; }
}

@media (max-width: 480px) {
    .hero__title { font-size: 28px; }
    .price-current { font-size: 28px; }
    .logo img { height: 40px; }
}

/* Product Gallery */
.product-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.product-gallery__item {
    background: var(--cream);
    padding: 30px;
    text-align: center;
}

.product-gallery__item img {
    max-height: 300px;
    margin: 0 auto;
}

.product-gallery__caption {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .product-gallery { grid-template-columns: 1fr; }
}

/* Additional Russian ornament decoration */
.hero::before {
    content: '';
    position: absolute;
    right: -50px;
    bottom: 0;
    width: 300px;
    height: 200px;
    background: url('../images/ornament-1.webp') no-repeat center;
    background-size: contain;
    opacity: 0.08;
    pointer-events: none;
}

/* LIGHTBOX */
.gallery-item {
    cursor: zoom-in;
    transition: transform 0.3s, box-shadow 0.3s;
}
.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
}

.lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 40px;
    cursor: zoom-out;
}
.lightbox.active { display: flex; }
.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}
.lightbox-close {
    position: absolute;
    top: 20px; right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    line-height: 1;
}

/* ORDER FORM TEXT */
.order-form-header {
    text-align: center;
    margin-bottom: 30px;
}
.order-form-header h3 {
    font-size: 32px;
    margin-bottom: 12px;
}
.order-form-header p {
    font-size: 20px;
    color: var(--text-light);
}

/* Responsive for problem images */
@media (max-width: 900px) {
    .problem-grid {
        grid-template-columns: 1fr;
    }
    .problem-images {
        order: -1;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    .problem-images img {
        width: calc(50% - 10px);
    }
}

@media (max-width: 600px) {
    .problem-images img {
        width: 100%;
    }
}

/* PROMO — hero teaser */
.hero__price--promo { flex-wrap: wrap; row-gap: 6px; max-width: 100%; }
.hero__promo-label {
    flex-basis: 100%;
    font-size: 14px;
    font-weight: 700;
    color: var(--green);
    letter-spacing: 0.5px;
}
.hero__price--promo .price-note { font-size: 14px; }

/* PROMO — order block */
.order-price .current { text-transform: uppercase; }
.order-price-note { margin-top: 6px; font-size: 15px; color: var(--gold-light); font-weight: 600; }

/* PROMO — form header */
.promo-price {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 16px;
    margin: 8px 0 4px;
}
.promo-price__old { white-space: nowrap; font-size: 22px; color: var(--text-light); text-decoration: line-through; }
.promo-price__free {
    font-family: 'Monomakh', serif;
    font-size: 44px;
    color: var(--red);
    text-transform: uppercase;
    line-height: 1.1;
}
.promo-condition {
    font-size: 20px;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 16px;
}
.order-form-header .promo-condition + p { font-size: 17px; line-height: 1.6; }

/* PROMO — countdown */
.countdown {
    margin-top: 22px;
    padding: 20px 16px;
    background: var(--cream);
    border: 1px solid var(--cream-dark);
}
.countdown__title { font-size: 16px; font-weight: 700; color: var(--brown); margin-bottom: 12px; }
.countdown__units { display: flex; justify-content: center; gap: 10px; }
.countdown__unit {
    min-width: 68px;
    padding: 10px 6px;
    background: var(--white);
    border: 1px solid var(--cream-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.countdown__num {
    font-size: 30px;
    font-weight: 700;
    color: var(--red);
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}
.countdown__label { font-size: 12px; color: var(--text-light); margin-top: 2px; }
.countdown__date { margin-top: 12px; font-size: 13px; color: var(--text-light); }
.countdown-ended {
    margin-top: 22px;
    padding: 16px;
    background: var(--cream);
    border: 1px solid var(--cream-dark);
    font-size: 15px;
    color: var(--brown);
}

@media (max-width: 600px) {
    .order-form-header h3 { font-size: 24px; }
    .promo-price { gap: 10px; flex-wrap: wrap; }
    .promo-price__old { font-size: 18px; }
    .promo-price__free { font-size: 30px; }
    .promo-condition { font-size: 17px; }
    .countdown__units { gap: 6px; }
    .countdown__unit { min-width: 0; flex: 1; }
    .countdown__num { font-size: 24px; }
}


/* ========================================
   MULTIPAGE — внутренние страницы
======================================== */

/* Активный пункт меню */
.nav a.is-active { color: var(--red); }
.nav a.is-active::after { width: 100%; }

/* Меню на планшетах */
@media (max-width: 1100px) and (min-width: 769px) {
    .header__inner { gap: 20px; }
    .logo img { height: 80px; }
    .nav { gap: 18px; }
    .nav a { font-size: 17px; }
    .nav-cta { padding: 10px 16px !important; }
}

/* Мобильное меню: отступ под высоту шапки */
@media (max-width: 768px) {
    .nav { top: 127px; max-height: calc(100vh - 127px); overflow-y: auto; }
}
@media (max-width: 480px) {
    .nav { top: 67px; max-height: calc(100vh - 67px); }
}

/* Хлебные крошки */
.breadcrumbs {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 18px;
    line-height: 1.5;
}
.breadcrumbs a { color: var(--green); }
.breadcrumbs span[aria-hidden] { color: var(--red); margin: 0 8px; font-size: 11px; }

/* Hero внутренних страниц */
.hero--page .hero__title { font-size: 46px; }
.hero--page .hero__price { margin-bottom: 28px; }
.img-multiply { mix-blend-mode: multiply; }

@media (max-width: 1024px) {
    .hero--page .hero__inner { grid-template-columns: minmax(0, 1fr); }
    .hero--page .hero__image img { max-width: min(400px, 100%); }
}
@media (max-width: 768px) {
    .hero--page { padding-top: 160px; }
    .hero--page .hero__title { font-size: 32px; }
}
@media (max-width: 480px) {
    .hero--page { padding-top: 100px; }
    .hero--page .hero__title { font-size: 27px; }
}

/* Текстовые блоки */
.page-text { max-width: 800px; }
.page-text p { margin-bottom: 18px; }
.page-text h3 { font-size: 24px; margin: 32px 0 14px; color: var(--green); }
.section-cta { margin-top: 36px; }
.section__header--center + .section-cta,
.section-cta--center { text-align: center; }
.text-link { border-bottom: 1px solid currentColor; }
.text-link:hover { text-decoration: none; color: var(--red); }

/* Карточки (цена, задачи формулы, контакты) */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.cards-grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin: 0 auto; }

.info-card {
    background: var(--white);
    padding: 32px 30px;
    border: 1px solid var(--cream-dark);
    border-top: 4px solid var(--red);
}
.section--white .info-card { background: var(--cream); }
.info-card--accent { border-top-color: var(--gold); }
.info-card h3 {
    font-size: 21px;
    color: var(--green);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.info-card p { font-size: 16px; line-height: 1.7; }
.info-card p + p { margin-top: 10px; }
.info-card__value {
    font-family: 'Monomakh', serif;
    font-size: 40px;
    line-height: 1.1;
    color: var(--red);
    margin-bottom: 10px;
}
.info-card__value s { font-size: 24px; color: var(--text-light); margin-right: 10px; }
.info-card__note { font-size: 14px !important; color: var(--text-light); }
.info-card a { word-break: break-word; }

/* Список-тезисы на белом фоне */
.section--cream .problem-list { background: var(--white); }

/* Политика конфиденциальности */
.policy { max-width: 860px; margin: 0 auto; }
.policy h2 { font-size: 26px; margin: 40px 0 14px; color: var(--green); }
.policy h2:first-child { margin-top: 0; }
.policy p, .policy li { font-size: 17px; line-height: 1.75; }
.policy p { margin-bottom: 14px; }
.policy ul { margin: 0 0 16px 0; padding-left: 0; list-style: none; }
.policy li { position: relative; padding-left: 24px; margin-bottom: 8px; }
.policy li::before { content: '—'; position: absolute; left: 0; color: var(--red); }
.policy__date { font-size: 15px; color: var(--text-light); }

/* Футер: навигация */
.footer__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
    margin-bottom: 24px;
}
.footer__nav a {
    font-family: 'Monomakh', serif;
    font-size: 16px;
    letter-spacing: 1px;
    color: var(--cream);
    opacity: 0.85;
}
.footer__nav a:hover { opacity: 1; color: var(--gold-light); text-decoration: none; }
.footer__legal { margin-top: 10px; font-size: 13px; }
.footer__legal a { color: var(--cream); opacity: 0.7; border-bottom: 1px solid rgba(248, 244, 232, 0.3); }
.footer__legal a:hover { opacity: 1; text-decoration: none; }

@media (max-width: 1024px) {
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .cards-grid, .cards-grid--2 { grid-template-columns: 1fr; }
    .info-card__value { font-size: 34px; }
    .policy h2 { font-size: 22px; }
}
