:root {
    --primary-light: #e8f3e8;
    --primary: #2c5e2e;
    --primary-dark: #1f3f20;
    --accent: #a8c9a8;
    --text-dark: #1e2a1e;
    --text-light: #4a5b4a;
    --white: #ffffff;
    --gray-light: #f5f7f5;
    --gray-border: #e0e6e0;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    --border-radius: 12px;
}

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

/* Плавающая кнопка "Сделать заявку" - вверху по центру */
.floating-order-btn {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: #2c7a4d;
    color: white;
    border: none;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: background 0.2s, transform 0.1s;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}

.floating-order-btn:hover {
    background: #1e5a38;
    transform: translateX(-50%) scale(1.02);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.5;
}

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
header {
    background-color: var(--white);
    border-bottom: 1px solid var(--gray-border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
    background-color: rgba(255, 255, 255, 0.95);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 48px;
    width: auto;
    max-height: 48px;
}

.logo-text {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-dark);
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

nav a {
    text-decoration: none;
    font-weight: 500;
    color: var(--text-light);
    transition: color 0.2s;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

nav a:hover, nav a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Sections */
section {
    padding: 4rem 0;
    border-bottom: 1px solid var(--gray-border);
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-dark);
    text-align: center;
    position: relative;
    padding-bottom: 0.5rem;
}

h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

h3 {
    font-size: 1.35rem;
    margin: 1rem 0 0.5rem;
    color: var(--primary-dark);
}

/* About */
.about-content {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.about-text {
    flex: 2;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Packages grid */
.packages-grid, .prices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.package-card, .price-card {
    background: var(--gray-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.2s;
    border: 1px solid var(--gray-border);
}

.package-card:hover, .price-card:hover {
    transform: translateY(-5px);
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0.75rem 0;
}

.package-card ul, .price-card ul {
    list-style: disc;
    margin-left: 1.25rem;
    margin-top: 0.75rem;
}

/* Services table */
.services-table-wrapper {
    overflow-x: auto;
}

.services-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.services-table th, .services-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-border);
}

.services-table th {
    background-color: var(--primary-light);
    color: var(--primary-dark);
    font-weight: 600;
}

.services-table tr:last-child td {
    border-bottom: none;
}

.note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

/* How we work */
.steps, .steps-producers {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.5rem;
}

.step, .step-producer {
    flex: 1;
    min-width: 200px;
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-border);
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1rem;
}

/* Gallery */
.gallery {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.gallery-item {
    width: 300px;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.gallery-item p {
    padding: 1rem;
    text-align: center;
}

/* Team */
.team-members {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.member {
    text-align: center;
    max-width: 250px;
}

.member img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-light);
    margin-bottom: 1rem;
}

.regalia {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

/* Forms */
.order-form, .order-form-producers {
    background-color: var(--gray-light);
}

form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
}

.services-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.services-checkboxes label {
    font-weight: normal;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-total {
    text-align: right;
    font-size: 1.2rem;
    margin: 1rem 0;
    padding-top: 0.5rem;
    border-top: 1px solid var(--gray-border);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
}

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

.form-message {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
}

/* Partners */
.partners-logos {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.partners-logos img {
    max-height: 80px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.partners-logos img:hover {
    opacity: 1;
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 2rem 0;
}

.footer-info {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-contacts p, .footer-nav ul {
    margin-top: 0.5rem;
}

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

.footer-nav a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.footer-nav a:hover {
    opacity: 1;
}

.social-links {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--white);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Blog page */
.blog-header {
    text-align: center;
    background: var(--primary-light);
    padding: 3rem 0;
}

.blog-post {
    border-bottom: 1px solid var(--gray-border);
    padding: 2rem 0;
}

.blog-post h2 a {
    text-decoration: none;
    color: var(--primary-dark);
    transition: color 0.2s;
}

.blog-post h2 a:hover {
    color: var(--primary);
}

.post-date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.read-more {
    display: inline-block;
    margin-top: 0.75rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.blog-pagination a, .blog-pagination .current {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
}

.blog-pagination .current {
    background: var(--primary);
    color: white;
}

.blog-pagination a {
    background: var(--gray-light);
    color: var(--primary-dark);
}

/* Responsive */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    nav ul {
        gap: 1rem;
    }
    h2 {
        font-size: 1.6rem;
    }
    .about-content {
        flex-direction: column;
    }
    .steps {
        flex-direction: column;
    }
    .footer-info {
        flex-direction: column;
        text-align: center;
    }
    .social-links {
        justify-content: center;
    }
    .services-checkboxes label {
        font-size: 0.9rem;
    }
   /* Калькулятор и форма заявки */
.order-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
}

.calculator {
    flex: 1;
    min-width: 280px;
    background: var(--gray-light);
    border-radius: var(--border-radius);
    padding: 1rem;
    max-height: 600px;
    overflow-y: auto;
}

.order-form-fields {
    flex: 1;
    min-width: 280px;
}

.calculator h3, .order-form-fields h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.5rem;
    color: var(--primary-dark);
}

.service-category {
    font-weight: 600;
    background: var(--primary-light);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    margin: 1rem 0 0.75rem;
    font-size: 1rem;
    color: var(--primary-dark);
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-border);
}

.service-info {
    flex: 2;
}

.service-name {
    font-weight: 500;
    font-size: 0.95rem;
}

.service-price {
    font-size: 0.85rem;
    color: var(--text-light);
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: var(--white);
    border-radius: 30px;
    padding: 0.25rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--white);
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    border: 1px solid var(--gray-border);
}

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

.qty-input {
    width: 60px;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 1rem;
    font-weight: 500;
    -moz-appearance: textfield;
}

.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.total-line {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 2px solid var(--primary);
    font-size: 1.3rem;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
}

.messenger-links {
    margin-top: 1.5rem;
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-border);
}

.messenger-links p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Адаптивность: на мобильных колонки идут друг за другом */
@media (max-width: 768px) {
    .order-wrapper {
        flex-direction: column;
    }
    .calculator {
        max-height: none;
        overflow-y: visible;
    }
    .service-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .quantity-selector {
        align-self: flex-end;
        margin-top: 0.5rem;
    }
}

/* Стили для полей формы */
.form-fields {
    margin: 15px 0;
}

.form-field {
    margin-bottom: 12px;
}

.form-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 0.85rem;
    color: #1a2e3b;
}

/* Форма заявки с калькулятором */
.order-form .calculator {
    background: #f8fafc;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    max-height: 750px;
}

.order-form .calculator h3 {
    margin-top: 0;
    margin-bottom: 16px;
    flex-shrink: 0;
    color: #1a2e3b;
    font-size: 1.4rem;
}

/* Прокручиваемая область с услугами */
.order-form .services-scroll-area {
    flex: 1;
    overflow-y: auto;
    padding-right: 8px;
    margin-bottom: 16px;
    max-height: 280px;
}

.order-form .services-scroll-area::-webkit-scrollbar {
    width: 5px;
}
.order-form .services-scroll-area::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 10px;
}
.order-form .services-scroll-area::-webkit-scrollbar-thumb {
    background: #2c7a4d;
    border-radius: 10px;
}

/* Категории услуг */
.order-form .service-category {
    font-weight: bold;
    margin: 12px 0 8px 0;
    color: #2c7a4d;
    border-left: 3px solid #2c7a4d;
    padding-left: 10px;
}

/* Элемент услуги */
.order-form .service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
}

.order-form .service-info {
    flex: 2;
}

.order-form .service-name {
    font-weight: 500;
    font-size: 0.9rem;
}

.order-form .service-price {
    font-size: 0.8rem;
    color: #2c7a4d;
    font-weight: 600;
}

/* Селектор количества */
.order-form .quantity-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 4px 10px;
    border-radius: 40px;
    border: 1px solid #cbd5e1;
}

.order-form .qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: #e2e8f0;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}

.order-form .qty-btn:hover {
    background: #cbd5e1;
}

.order-form .qty-input {
    width: 50px;
    text-align: center;
    border: none;
    font-size: 14px;
    font-weight: 500;
    background: transparent;
}

.order-form .qty-input:focus {
    outline: none;
}

/* Итоговая строка */
.order-form .total-line {
    flex-shrink: 0;
    font-size: 1.3rem;
    font-weight: bold;
    text-align: right;
    padding-top: 12px;
    border-top: 2px solid #2c7a4d;
    margin-bottom: 20px;
}

.order-form #total-price {
    font-size: 1.5rem;
    color: #2c7a4d;
}

/* Поля формы */
.order-form .form-fields {
    margin: 15px 0;
}

.order-form .form-field {
    margin-bottom: 14px;
}

.order-form .form-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.85rem;
    color: #1a2e3b;
}

.order-form .form-field .required {
    color: #e74c3c;
}

.order-form .form-field input,
.order-form .form-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    box-sizing: border-box;
    transition: all 0.2s;
}

.order-form .form-field input:focus,
.order-form .form-field textarea:focus {
    outline: none;
    border-color: #2c7a4d;
    box-shadow: 0 0 0 3px rgba(44, 122, 77, 0.1);
}

.order-form .form-field textarea {
    resize: vertical;
}

/* Кнопка отправки */
.order-form .submit-btn {
    flex-shrink: 0;
    background: #2c7a4d;
    color: white;
    border: none;
    padding: 16px 20px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
    margin-top: 10px;
}

.order-form .submit-btn:hover {
    background: #1e5a38;
}

.order-form .submit-btn:disabled {
    background: #94a3b8;
    cursor: not-allowed;
}

/* Сообщение об успехе */
.order-form .success-message {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 12px;
    padding: 14px 16px;
    margin-top: 15px;
    text-align: center;
    font-weight: 500;
    font-size: 0.95rem;
}


/* ===== ПЛАВАЮЩАЯ КНОПКА ===== */
.floating-order-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: #2c7a4d;
    color: white;
    border: none;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: background 0.2s, transform 0.1s;
    font-family: 'Inter', sans-serif;
}
.floating-order-btn:hover {
    background: #1e5a38;
    transform: scale(1.02);
}

/* ===== МОДАЛЬНОЕ ОКНО ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    font-family: 'Inter', sans-serif;
}
.modal-content {
    background: white;
    width: 90%;
    max-width: 650px;
    max-height: 85vh;
    border-radius: 28px;
    overflow-y: auto;
    padding: 24px;
    position: relative;
    box-shadow: 0 20px 35px rgba(0,0,0,0.2);
}
.close-modal {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #64748b;
}
.close-modal:hover { color: #2c7a4d; }

/* Стили для формы внутри модалки (копируем ваши стили) */
.modal .calculator {
    background: #f8fafc;
    border-radius: 20px;
    padding: 20px;
}
.modal .services-scroll-area {
    max-height: 280px;
    overflow-y: auto;
    margin-bottom: 16px;
}
.modal .service-item {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
}
.modal .service-category {
    font-weight: bold;
    margin: 12px 0 8px;
    color: #2c7a4d;
    border-left: 3px solid #2c7a4d;
    padding-left: 10px;
}
.modal .quantity-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 4px 10px;
    border-radius: 40px;
    border: 1px solid #cbd5e1;
}
.modal .qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: #e2e8f0;
    font-weight: bold;
    cursor: pointer;
}
.modal .qty-input {
    width: 50px;
    text-align: center;
    border: none;
    background: transparent;
}
.modal .total-line {
    font-size: 1.3rem;
    font-weight: bold;
    text-align: right;
    border-top: 2px solid #2c7a4d;
    padding-top: 12px;
    margin: 16px 0;
}
.modal .form-field {
    margin-bottom: 14px;
}
.modal .form-field label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 6px;
}
.modal .form-field input,
.modal .form-field textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-family: inherit;
}
.modal .submit-btn {
    background: #2c7a4d;
    color: white;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
}
.modal .submit-btn:hover { background: #1e5a38; }
.modal .success-message {
    background: #d4edda;
    color: #155724;
    padding: 12px;
    border-radius: 12px;
    text-align: center;
    margin-top: 16px;
}

/* Плавающая кнопка "Сделать заявку" - вверху по центру */
.floating-order-btn {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: #2c7a4d;
    color: white;
    border: none;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: background 0.2s, transform 0.1s;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}
.floating-order-btn:hover {
    background: #1e5a38;
    transform: translateX(-50%) scale(1.02);
}

/* Cookies Consent Banner - внизу по центру */
#cookie-consent-banner {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    background: rgba(26, 46, 59, 0.95);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 18px 24px;
    border-radius: 60px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: 'Inter', sans-serif;
}
#cookie-consent-banner p {
    margin: 0;
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.4;
}
#cookie-consent-banner a {
    color: #a3e4b7;
    text-decoration: underline;
    font-weight: 500;
}
#cookie-consent-banner button {
    background: #2c7a4d;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.85rem;
    transition: all 0.2s;
    white-space: nowrap;
}
#cookie-consent-banner button:hover {
    background: #1e5a38;
    transform: scale(1.02);
}
/* Адаптация для мобильных */
@media (max-width: 640px) {
    #cookie-consent-banner {
        width: 95%;
        flex-direction: column;
        text-align: center;
        border-radius: 24px;
        padding: 16px 20px;
    }
    #cookie-consent-banner button {
        width: 100%;
    }
}


/* ========== СТИЛИ ДЛЯ СТРАНИЦЫ БЛОГА ========== */
.blog-posts-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 40px 0;
}
.blog-post {
    display: flex;
    gap: 30px;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}
.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}
.blog-post-image {
    width: 280px;
    object-fit: cover;
    background: #eef2f0;
}
.blog-post-content {
    padding: 25px 25px 25px 0;
    flex: 1;
}
.blog-post-content h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: #1a2e3b;
}
.post-meta {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 16px;
    border-left: 3px solid #2c7a4d;
    padding-left: 12px;
}
.read-more-link {
    display: inline-block;
    margin-top: 15px;
    color: #2c7a4d;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}
.read-more-link:hover {
    color: #1e5a38;
    text-decoration: underline;
}
/* Кнопка "Сделать заявку" на странице блога */
.request-button-section {
    text-align: center;
    padding: 50px 20px;
    background: #f8fafc;
    border-radius: 30px;
    margin: 40px 0;
}
.request-button-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}
.request-button-section .submit-btn {
    width: auto;
    padding: 12px 32px;
    font-size: 1rem;
}
/* Адаптив */
@media (max-width: 768px) {
    .blog-post {
        flex-direction: column;
    }
    .blog-post-image {
        width: 100%;
        max-height: 220px;
    }
    .blog-post-content {
        padding: 20px;
    }
    .blog-post-content h3 {
        font-size: 1.3rem;
    }
}

/* ===== СТИЛИ ДЛЯ БЛОГА (соответствуют вашей текущей разметке) ===== */
.blog-header {
    background: linear-gradient(135deg, #eef5f0 0%, #d9e8df 100%);
    padding: 60px 0;
    text-align: center;
    border-radius: 30px;
    margin: 30px auto;
}
.blog-header h1 {
    font-size: 2.2rem;
    color: #1a2e3b;
    margin-bottom: 15px;
}
.blog-header p {
    font-size: 1.1rem;
    color: #2c4a3b;
}

.blog-list {
    margin: 40px 0;
}
.blog-post {
    background: white;
    border-radius: 24px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}
.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.blog-post h2 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}
.blog-post h2 a {
    color: #1a2e3b;
    text-decoration: none;
}
.blog-post h2 a:hover {
    color: #2c7a4d;
}
.post-date {
    color: #6c757d;
    font-size: 0.85rem;
    margin-bottom: 15px;
    border-left: 3px solid #2c7a4d;
    padding-left: 10px;
}
.read-more {
    display: inline-block;
    margin-top: 15px;
    color: #2c7a4d;
    font-weight: 600;
    text-decoration: none;
}
.read-more:hover {
    text-decoration: underline;
}
.blog-pagination {
    text-align: center;
    margin-top: 40px;
}
.blog-pagination a, .blog-pagination .current {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 4px;
    border-radius: 30px;
    background: #f0f2f0;
    color: #1a2e3b;
    text-decoration: none;
}
.blog-pagination .current {
    background: #2c7a4d;
    color: white;
}
.blog-pagination a:hover {
    background: #2c7a4d;
    color: white;
}

/* Стили для кнопки заявки в блоге */
.request-button-section {
    text-align: center;
    padding: 50px 20px;
    background: #f8fafc;
    border-radius: 30px;
    margin: 40px 0;
}
.request-button-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}
.request-button-section .submit-btn {
    width: auto;
    padding: 12px 32px;
    font-size: 1rem;
}


/* ===== СТИЛИ ДЛЯ ПОЛНЫХ СТАТЕЙ (full-article) ===== */
.full-article {
    padding: 40px 0;
}
.full-article .container {
    max-width: 800px; /* Узкий столбец для удобного чтения */
    margin: 0 auto;
}
.full-article h1 {
    font-size: 2.2rem;
    color: #1a2e3b;
    margin-bottom: 10px;
}
.full-article .post-date {
    color: #6c757d;
    border-left: 3px solid #2c7a4d;
    padding-left: 15px;
    margin: 15px 0 25px;
    font-size: 0.9rem;
}
.article-main-image {
    width: 100%;
    border-radius: 20px;
    margin: 20px 0 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.full-article h2 {
    font-size: 1.6rem;
    margin: 30px 0 15px;
    color: #2c7a4d;
    border-left: 4px solid #2c7a4d;
    padding-left: 15px;
}
.full-article p {
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #2d3e3e;
}
.full-article ul, .full-article ol {
    margin: 20px 0 20px 30px;
}
.full-article li {
    margin-bottom: 10px;
    line-height: 1.6;
}
.info-block {
    background: #eef5f0;
    border-left: 5px solid #2c7a4d;
    padding: 20px 25px;
    border-radius: 16px;
    margin: 30px 0;
    font-style: normal;
}
.conclusion {
    background: #f0f7f0;
    padding: 20px 25px;
    border-radius: 20px;
    margin: 40px 0;
    text-align: center;
    font-size: 1.1rem;
    border: 1px solid #c8e0d0;
}
.article-cta {
    text-align: center;
    background: #f8fafc;
    padding: 30px;
    border-radius: 30px;
    margin: 50px 0 20px;
}
.article-cta p {
    margin-bottom: 15px;
    font-weight: 500;
}
.article-cta .submit-btn {
    width: auto;
    padding: 12px 32px;
    background: #2c7a4d;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
}
.breadcrumbs {
    margin-bottom: 20px;
}
.breadcrumbs a {
    color: #2c7a4d;
    text-decoration: none;
}
.breadcrumbs a:hover {
    text-decoration: underline;
}
/* Адаптив */
@media (max-width: 768px) {
    .full-article h1 { font-size: 1.8rem; }
    .full-article h2 { font-size: 1.4rem; }
    .full-article p { font-size: 1rem; }
    .info-block, .conclusion { padding: 15px; }
}


/* Общие стили для кнопки submit (если нет) */
.submit-btn {
    background: #2c7a4d;
    color: white;
    border: none;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    display: inline-block;
    text-align: center;
}
.submit-btn:hover {
    background: #1e5a38;
    transform: scale(1.02);
}

/* Для кнопки внутри статьи (чтобы была крупнее) */
.article-cta .submit-btn {
    padding: 12px 32px;
    font-size: 1rem;
    min-width: 200px;
}


/* Принудительно фиксируем размер логотипа на всех страницах, включая статьи */
header .logo-img,
.logo-img {
    height: 48px !important;
    width: auto !important;
    max-height: 48px !important;
}    


/* Улучшаем кнопку заявки в блоге */
.request-button-section .submit-btn {
    background: #2c7a4d;
    color: white;
    border: none;
    padding: 14px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    display: inline-block;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.request-button-section .submit-btn:hover {
    background: #1e5a38;
    transform: scale(1.02);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Куки-баннер — принудительные стили */
#cookie-consent-banner {
    position: fixed !important;
    bottom: 30px !important;
    top: auto !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: 90% !important;
    max-width: 500px !important;
    background: rgba(26, 46, 59, 0.95) !important;
    backdrop-filter: blur(8px) !important;
    color: white !important;
    padding: 18px 24px !important;
    border-radius: 60px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
    z-index: 9999 !important;
    font-family: 'Inter', sans-serif !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 15px !important;
    flex-wrap: wrap !important;
}
#cookie-consent-banner p {
    margin: 0 !important;
    flex: 1 !important;
    font-size: 0.9rem !important;
}
#cookie-consent-banner button {
    background: #2c7a4d !important;
    color: white !important;
    border: none !important;
    padding: 8px 20px !important;
    border-radius: 40px !important;
    cursor: pointer !important;
    font-weight: bold !important;
}


/* Принудительные стили для кнопок заявки в блоге и статье */
.request-button-section .submit-btn,
.article-cta .submit-btn,
.full-article .submit-btn {
    background: #2c7a4d !important;
    color: white !important;
    border: none !important;
    padding: 14px 32px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    border-radius: 50px !important;
    cursor: pointer !important;
    display: inline-block !important;
    text-align: center !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.2s ease !important;
}
.request-button-section .submit-btn:hover,
.article-cta .submit-btn:hover,
.full-article .submit-btn:hover {
    background: #1e5a38 !important;
    transform: scale(1.02) !important;
}

/* Кнопка заявки внизу блога и статей - делаем красивой */
.request-button-section .submit-btn,
.article-cta .submit-btn {
    background: #2c7a4d;
    color: white;
    border: none;
    padding: 14px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    display: inline-block;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-top: 10px;
}

.request-button-section .submit-btn:hover,
.article-cta .submit-btn:hover {
    background: #1e5a38;
    transform: scale(1.02);
}
/* Универсальные стили для кнопок заявки внизу блога и статей */
.request-button-section button,
.request-button-section a,
.article-cta button,
.article-cta a,
.blog-list + .request-button-section button {
    background: #2c7a4d !important;
    color: white !important;
    border: none !important;
    padding: 14px 32px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    border-radius: 50px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    display: inline-block !important;
    text-align: center !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.request-button-section button:hover,
.request-button-section a:hover,
.article-cta button:hover,
.article-cta a:hover {
    background: #1e5a38 !important;
    transform: scale(1.02) !important;
}

