/* CSS Reset & Variables */
:root {
    --primary: #0f2f1d;
    --primary-light: #1b5e20;
    --accent: #2e7d32;
    --accent-light: #4caf50;
    --mint: #81c784;
    --bg-light: #f7f9f7;
    --white: #ffffff;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --transition-smooth: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary);
}

h1 {
    font-size: 28px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

p {
    margin-bottom: 15px;
    font-size: 15px;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 25px;
    box-sizing: border-box;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary,
a.btn-primary,
article.post-format-standard a.btn-primary,
.redirect-wrapper a.btn-primary {
    background-color: #1b5e20 !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

.btn-primary:hover,
a.btn-primary:hover,
article.post-format-standard a.btn-primary:hover,
.redirect-wrapper a.btn-primary:hover {
    background-color: #2e7d32 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.btn-secondary,
a.btn-secondary,
article.post-format-standard a.btn-secondary,
.redirect-wrapper a.btn-secondary,
.redirect-wrapper button.btn-secondary {
    background-color: #f0f5f1 !important;
    color: #1b5e20 !important;
    border: 1px solid #c8e6c9 !important;
    text-decoration: none !important;
    cursor: pointer;
}

.btn-secondary:hover,
a.btn-secondary:hover,
article.post-format-standard a.btn-secondary:hover,
.redirect-wrapper a.btn-secondary:hover,
.redirect-wrapper button.btn-secondary:hover {
    background-color: #e8f5e9 !important;
    color: #1b5e20 !important;
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--accent-light);
    color: var(--white);
}

.btn-accent:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
}

/* Sticky Header & Navigation Dropdowns */
header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 25px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.logo img {
    height: 44px;
    width: auto;
    display: block;
}

/* Menu Layout */
.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 15px;
}

.menu-item {
    position: relative;
}

.menu-item > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    font-size: 14.5px;
    font-weight: 600;
    color: #1e293b;
    border-radius: 6px;
    transition: var(--transition-smooth);
    text-decoration: none;
    white-space: nowrap;
}

.menu-item > a:hover,
.menu-item > a.active {
    color: var(--primary-light);
    background-color: #f0f5f1;
}

/* Dropdown Menu CSS */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
    width: max-content;
    min-width: 100%;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 200;
}

/* Group header inside dropdown (e.g. ВЫВОЗ И УТИЛИЗАЦИЯ МУСОРА) */
.dropdown-group-title {
    padding: 8px 18px 4px 18px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #2e7d32;
    display: flex;
    align-items: center;
    gap: 6px;
    border-top: 1px solid #edf2f7;
    margin-top: 4px;
}

.dropdown-group-title i {
    font-size: 12px;
}

/* If a dropdown is near the right edge, prevent overflow */
.nav-links .menu-item:nth-last-child(-n+2) .dropdown-menu {
    left: auto;
    right: 0;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-dark);
    white-space: nowrap;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.dropdown-menu a i {
    width: 18px;
    text-align: center;
    color: var(--primary);
    font-size: 14px;
    flex-shrink: 0;
    transition: color 0.15s ease;
}

.dropdown-menu a:hover {
    background-color: #f0f5f1;
    color: var(--primary-light);
}

.dropdown-menu a:hover i {
    color: var(--primary-light);
}

/* Show dropdown on hover */
.menu-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-contacts {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 4px;
    width: 146px;
    flex-shrink: 0;
}

.header-phone {
    font-weight: 700;
    font-size: 13px;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    text-decoration: none;
    line-height: 1.2;
    width: 100%;
}

.header-phone i {
    font-size: 11px;
    color: var(--primary);
    line-height: 1;
}

.header-phone:hover {
    color: var(--primary-light);
}

.header-phone:hover i {
    color: var(--primary-light);
}

.btn-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    font-size: 14.5px;
    font-weight: 600;
    border-radius: 6px;
    line-height: 1.4;
    text-align: center;
    white-space: nowrap;
    box-sizing: border-box;
    background-color: #1b5e20;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: var(--transition-smooth);
}

.btn-header:hover {
    background-color: #2e7d32;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(27, 94, 32, 0.25);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #091f13 0%, #153f28 100%);
    color: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: radial-gradient(circle at 75% 50%, rgba(76, 175, 80, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    max-width: 750px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: var(--white);
    font-size: 46px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    border: none;
    padding: 0;
}

.hero p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 35px;
    color: #e8f5e9;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

/* Services Section */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 16px;
}

.services {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 8px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-light);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.service-icon {
    width: 46px;
    height: 46px;
    background-color: #f1f8f3;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    flex-shrink: 0;
    margin-bottom: 0;
}

.service-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.service-header h3,
.service-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
    line-height: 1.35;
}

.service-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Interactive Calculator */
.calculator-section {
    padding: 80px 0;
    background-color: #f0f4f1;
}

.calculator-wrapper {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 40px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
}

.calc-title {
    font-size: 24px;
    margin-bottom: 10px;
}

.calc-subtitle {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--primary);
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: var(--white);
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--text-dark);
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-light);
    box-shadow: 0 0 0 3px rgba(76,175,80,0.15);
}

.calc-results {
    background-color: #fafafa;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.calc-results-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    color: var(--primary);
}

.required-docs-list {
    flex-grow: 1;
    margin-bottom: 25px;
}

.doc-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.doc-item svg,
.doc-item i {
    color: var(--accent-light);
    flex-shrink: 0;
}

.price-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 18px 0;
    border-top: 2px dashed var(--border-color);
    margin-bottom: 20px;
}

.price-label {
    font-weight: 700;
    color: #1e293b;
    font-size: 15px;
    white-space: nowrap;
}

.price-value {
    font-size: 24px;
    font-weight: 800;
    color: #1b5e20;
    white-space: nowrap;
    text-align: right;
}

/* Advantages Section */
.advantages {
    padding: 80px 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.adv-card {
    text-align: center;
    padding: 20px;
}

.adv-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.adv-icon svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.adv-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.adv-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
}

/* Stats Section */
.stats {
    background-color: var(--primary);
    color: var(--white);
    padding: 60px 0;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-size: 40px;
    font-weight: 800;
    color: var(--mint);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #a5d6a7;
}

/* Articles Section */
.articles-section {
    padding: 80px 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.article-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-light);
}

.article-card-image {
    height: 180px;
    background: linear-gradient(135deg, #1b5e20 0%, #388e3c 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.article-card-image svg {
    width: 60px;
    height: 60px;
    opacity: 0.8;
}

.article-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-date {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.article-body h3 {
    font-size: 16px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.article-body p {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
}

.article-more {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
}

/* Contact Form Section */
.contact-section {
    padding: 80px 0;
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.contact-info h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.method-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.method-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #f0f4f1;
    color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.method-icon svg {
    width: 20px;
    height: 20px;
}

.method-text .label {
    font-size: 12px;
    color: var(--text-muted);
}

.method-text .value {
    font-weight: 700;
    color: var(--primary);
}

.contact-form-wrapper {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

/* Footer styling */
footer {
    background-color: #0c1a12;
    color: #a5d6a7;
    padding: 60px 0 20px;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 16px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a:hover {
    color: var(--white);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #142e20;
    font-size: 12px;
    color: #6d8e78;
}

/* Mobile Menu Slide */
.mobile-nav-panel {
    position: fixed;
    top: 80px;
    right: -100%;
    bottom: 0;
    width: 280px;
    background-color: var(--white);
    box-shadow: -4px 0 10px rgba(0,0,0,0.05);
    z-index: 99;
    padding: 30px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
}

.mobile-nav-panel.open {
    right: 0;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-nav-links a {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    padding: 4px 0;
}

.mobile-nav-links hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 8px 0;
}

.mobile-section-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-light);
    margin-bottom: 4px;
}

.error-404 {
    text-align: center;
    padding: 80px 20px;
}

.error-404 h1 {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 20px;
    border: none;
}

@media (max-width: 1140px) {
    .nav-links, .header-contacts {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
}

@media (max-width: 992px) {
    .calc-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }
    .hero p {
        font-size: 16px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Article content styling */
article.post-format-standard {
    color: #333333;
    font-size: 16px;
    line-height: 1.7;
}

/* Distinct Internal Links in Articles (Green + Underline) */
article.post-format-standard a {
    color: #1b5e20;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: #81c784;
    text-underline-offset: 3px;
    transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

article.post-format-standard a:hover {
    color: #2e7d32;
    text-decoration-color: #2e7d32;
}

/* Distinct External Links in Articles (Blue font for Минприроды, Право.бай, ЭкоИнфо и сторонних ресурсов) */
article.post-format-standard a[href^="http://"]:not([href*="otxody.by"]),
article.post-format-standard a[href^="https://"]:not([href*="otxody.by"]),
article.post-format-standard a[href*="redirect.html"],
article.post-format-standard a.external-link {
    color: #0d47a1 !important;
    font-weight: 600;
    text-decoration: underline !important;
    text-decoration-color: #90caf9 !important;
    text-underline-offset: 3px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

article.post-format-standard a[href^="http://"]:not([href*="otxody.by"]):hover,
article.post-format-standard a[href^="https://"]:not([href*="otxody.by"]):hover,
article.post-format-standard a[href*="redirect.html"]:hover,
article.post-format-standard a.external-link:hover {
    color: #1565c0 !important;
    text-decoration-color: #1565c0 !important;
}

/* Exclude UI buttons and catalog cards from text underlines */
article.post-format-standard .btn,
article.post-format-standard .btn a,
article.post-format-standard .table-styled a,
article.post-format-standard .expert-cta-banner a {
    text-decoration: none;
}

article.post-format-standard h1,
article.post-format-standard h2,
article.post-format-standard h3,
article.post-format-standard h4 {
    color: var(--primary);
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 700;
}

article.post-format-standard h1 {
    font-size: 28px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
}

article.post-format-standard h2 {
    font-size: 22px;
    border-left: 4px solid var(--accent-light);
    padding-left: 12px;
    margin-top: 30px;
}

article.post-format-standard h3 {
    font-size: 18px;
}

article.post-format-standard p {
    margin-bottom: 18px;
}

/* Beautiful lists inside articles */
article.post-format-standard ul {
    margin-bottom: 20px;
    padding-left: 20px;
    list-style: none; /* remove default */
}

article.post-format-standard ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
}

article.post-format-standard ul li::before {
    content: "\f00c"; /* check icon from Font Awesome */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-light);
}

article.post-format-standard ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

article.post-format-standard ol li {
    margin-bottom: 8px;
    padding-left: 5px;
}

/* Blockquotes inside articles */
article.post-format-standard blockquote {
    background-color: #f0f5f1;
    border-left: 4px solid var(--accent-light);
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 0 6px 6px 0;
    font-style: italic;
}

/* Two-column layout grid for articles with sidebar */
.article-layout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 40px;
    align-items: start;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

#content.content,
.content {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

article.post-format-standard {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

article.post-format-standard img,
article.post-format-standard iframe,
article.post-format-standard table,
article.post-format-standard svg {
    max-width: 100%;
    box-sizing: border-box;
}

/* Sidebar styling */
.sidebar {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    min-width: 0;
    box-sizing: border-box;
}

.sidebar-block h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    border-bottom: 2px solid #a5d6a7;
    padding-bottom: 8px;
    margin-bottom: 15px;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-block h3 i {
    color: var(--accent-light);
}

.sidebar-block ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-block ul li {
    font-size: 14px;
    line-height: 1.4;
    position: relative;
    padding-left: 15px;
}

.sidebar-block ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-light);
    font-weight: 900;
}

.sidebar-block ul li a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.sidebar-block ul li a:hover {
    color: var(--primary-light);
    padding-left: 3px;
}

/* Article image layout styling */
.article-image-wrapper {
    text-align: center;
    margin: 25px 0;
}

.article-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

/* Responsive sidebar */
@media (max-width: 992px) {
    .article-layout-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Catalog Styles */
.catalog-title-wrapper {
    margin-bottom: 40px;
}

.catalog-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 800px;
    margin-top: 10px;
    line-height: 1.6;
}

.catalog-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 40px;
}

.catalog-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 992px) {
    .catalog-row-2col {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.catalog-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.catalog-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--mint);
}

.catalog-card h3 {
    border-bottom: 2px solid #a5d6a7;
    padding-bottom: 12px;
    margin-bottom: 20px;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
}

/* Themes for cards */
.catalog-card.ecology h3 {
    color: var(--primary-light);
    border-bottom-color: var(--mint);
}
.catalog-card.ecology h3 i {
    color: var(--accent-light);
}

.catalog-card.safety h3 {
    color: #0d47a1;
    border-bottom-color: #bbdefb;
}
.catalog-card.safety h3 i {
    color: #1e88e5;
}

.catalog-card.waste h3 {
    color: #e65100;
    border-bottom-color: #ffe0b2;
}
.catalog-card.waste h3 i {
    color: #fb8c00;
}

.catalog-card.guides h3 {
    color: #4a148c;
    border-bottom-color: #e1bee7;
}
.catalog-card.guides h3 i {
    color: #8e24aa;
}

.catalog-card.reviews h3 {
    color: #006064;
    border-bottom-color: #b2ebf2;
}
.catalog-card.reviews h3 i {
    color: #00acc1;
}

/* Link list grid */
.catalog-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px 25px;
    padding-left: 0 !important;
    list-style: none !important;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

.catalog-list-grid li {
    position: relative;
    padding-left: 0 !important;
    margin-bottom: 0 !important;
}

.catalog-list-grid li::before {
    content: none !important;
}

.catalog-list-grid li a {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition-smooth);
}

.catalog-list-grid li a:hover {
    color: var(--primary-light);
}

.catalog-list-grid li a i {
    flex-shrink: 0;
    margin-top: 3px;
    font-size: 14px;
}

/* Custom Select & Counter Styles */
.custom-select-wrapper {
    position: relative;
    width: 100%;
    user-select: none;
}

.custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: var(--white);
    font-size: 14px;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition-smooth);
    height: 45px;
}

.custom-select-trigger:hover {
    border-color: var(--accent-light);
}

.custom-select-wrapper.open .custom-select-trigger {
    border-color: var(--accent-light);
    box-shadow: 0 0 0 3px rgba(76,175,80,0.15);
}

.custom-select-trigger i {
    font-size: 12px;
    color: var(--text-muted);
    transition: transform 0.3s;
}

.custom-select-wrapper.open .custom-select-trigger i {
    transform: rotate(180deg);
}

.custom-select-options {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    overflow: hidden;
}

.custom-select-wrapper.open .custom-select-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-select-option {
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text-dark);
    cursor: pointer;
    transition: background-color 0.2s;
}

.custom-select-option:hover {
    background-color: #f1f8e9;
    color: var(--primary);
}

.custom-select-option.selected {
    background-color: #e8f5e9;
    color: var(--primary);
    font-weight: 600;
}

/* Custom Number Counter Spinner */
.employee-counter {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    background: var(--white);
    width: 100%;
    height: 45px;
    transition: var(--transition-smooth);
}

.employee-counter:focus-within {
    border-color: var(--accent-light);
    box-shadow: 0 0 0 3px rgba(76,175,80,0.15);
}

.counter-btn {
    background: #f8f9fa;
    border: none;
    width: 45px;
    height: 100%;
    cursor: pointer;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.counter-btn:hover {
    background: #e2e8f0;
}

.counter-btn i {
    font-size: 14px;
}

.counter-input {
    flex-grow: 1;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    width: 50px;
    height: 100%;
    background: transparent;
    outline: none;
    -moz-appearance: textfield;
}

.counter-input::-webkit-outer-spin-button,
.counter-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Responsive Table Styles */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 20px 0 30px 0;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.table-styled {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    text-align: left;
    color: var(--text-dark);
}

.table-styled thead tr,
.table-styled thead th,
.table-styled th {
    background-color: #1b5e20 !important;
    color: #ffffff !important;
    font-weight: 700;
    padding: 12px 16px;
    border: 1px solid #154c1a !important;
    font-size: 14px;
    vertical-align: middle;
}

.table-styled thead th b,
.table-styled thead th p,
.table-styled th b,
.table-styled th p {
    color: #ffffff !important;
    margin-bottom: 0;
}

.table-styled th:first-child,
.table-styled td:first-child {
    white-space: nowrap !important;
    min-width: 95px !important;
    font-weight: 700;
}

.table-styled td {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    line-height: 1.5;
    vertical-align: middle;
}

.table-styled tr:nth-child(even) {
    background-color: #f9fbf9;
}

.table-styled tr:hover {
    background-color: #f1f8e9;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    margin-bottom: 24px;
    padding: 10px 16px;
    background-color: #f1f5f1;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
    gap: 8px;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    color: var(--text-muted);
}

.breadcrumb-item a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.breadcrumb-item a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    padding-right: 8px;
    color: #94a3b8;
    font-weight: bold;
}

.breadcrumb-item.active {
    color: var(--text-dark);
    font-weight: 600;
}

/* Floating Quick Action Messengers */
.floating-messengers {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.floating-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 22px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
}

.floating-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
}

.floating-btn.telegram { background: #0088cc; }
.floating-btn.viber { background: #7360f2; }
.floating-btn.whatsapp { background: #25d366; }
.floating-btn.phone { background: #1b5e20; }

/* Document Download Cards */
.doc-download-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 5px solid #1b5e20;
    border-radius: 8px;
    padding: 24px;
    margin: 25px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.doc-download-info {
    flex: 1;
    min-width: 260px;
}

.doc-download-title {
    font-size: 17px;
    font-weight: 700;
    color: #0f2f1d;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.doc-download-meta {
    font-size: 13px;
    color: #64748b;
}

.doc-download-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-download-word {
    background: #2b579a;
    color: #ffffff !important;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.btn-download-word:hover {
    background: #1e3f70;
}

.btn-download-excel {
    background: #217346;
    color: #ffffff !important;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.btn-download-excel:hover {
    background: #164f30;
}





