:root {
    --color-primary: #0b6623;
    --color-primary-light: #1e8f3c;
    --color-secondary: #124b24;
    --color-accent: #f0f5f1;
    --color-dark: #1f2933;
    --color-muted: #5b6b79;
    --color-light: #ffffff;
    --color-border: rgba(15, 60, 30, 0.12);

    --space-2xs: 0.25rem;
    --space-xs: 0.5rem;
    --space-sm: 0.875rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;

    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.75rem;

    --shadow-soft: 0 10px 30px rgba(15, 60, 30, 0.12);
    --shadow-strong: 0 22px 60px rgba(15, 60, 30, 0.18);

    --font-body: "Helvetica Neue", Arial, sans-serif;
    --font-heading: "Helvetica Neue", Arial, sans-serif;

    --transition-base: all 0.3s ease;

    --container-width: min(1180px, 92vw);
    --header-height: 78px;

    --gradient-hero: linear-gradient(135deg, rgba(11, 102, 35, 0.92), rgba(18, 75, 36, 0.92));
    --gradient-card: linear-gradient(145deg, rgba(240, 245, 241, 0.95), rgba(255, 255, 255, 0.98));
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 100%;
}

body {
    margin: 0;
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--color-dark);
    background: #f6f9f7;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
    object-fit: cover;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin-bottom: var(--space-sm);
}

ul,
ol {
    padding-left: 1.25rem;
    margin-bottom: var(--space-sm);
}

button {
    font-family: inherit;
}

main {
    flex: 1;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(18px);
    background: rgba(246, 249, 247, 0.9);
    border-bottom: 1px solid rgba(18, 75, 36, 0.08);
}

.site-header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: var(--space-sm);
}

.branding {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 700;
    font-size: clamp(1.1rem, 1.4vw + 1rem, 1.5rem);
    color: var(--color-primary);
    letter-spacing: 0.02em;
}

.nav-toggle {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(11, 102, 35, 0.08);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-base);
}

.nav-toggle:focus-visible {
    outline: 3px solid rgba(11, 102, 35, 0.3);
    outline-offset: 2px;
}

.nav-toggle:hover {
    background: rgba(11, 102, 35, 0.14);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
    display: block;
    background: var(--color-primary);
    height: 2px;
    width: 20px;
    border-radius: 3px;
    position: relative;
    transition: var(--transition-base);
}

.nav-toggle span::before,
.nav-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
}

.nav-toggle span::before {
    top: -6px;
}

.nav-toggle span::after {
    top: 6px;
}

.site-header.nav-open .nav-toggle span {
    background: transparent;
}

.site-header.nav-open .nav-toggle span::before {
    top: 0;
    transform: rotate(45deg);
}

.site-header.nav-open .nav-toggle span::after {
    top: 0;
    transform: rotate(-45deg);
}

.nav-menu {
    position: fixed;
    inset: var(--header-height) var(--space-sm) auto var(--space-sm);
    background: rgba(246, 249, 247, 0.96);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: var(--space-lg);
    display: none;
    flex-direction: column;
    gap: var(--space-md);
    align-items: flex-start;
}

.nav-menu a {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--color-secondary);
    padding: var(--space-xs) 0;
    position: relative;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition-base);
    border-radius: 999px;
}

.nav-menu a:hover::after,
.nav-menu a:focus-visible::after,
.nav-menu a.active::after {
    width: 100%;
}

.site-header.nav-open .nav-menu {
    display: flex;
}

@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }

    .nav-menu {
        position: static;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
        display: flex !important;
        flex-direction: row;
        gap: var(--space-lg);
        align-items: center;
    }

    .nav-menu a {
        font-size: 0.98rem;
        padding: var(--space-xs) var(--space-sm);
        border-radius: 999px;
        background: transparent;
        transition: var(--transition-base);
    }

    .nav-menu a:hover,
    .nav-menu a:focus-visible {
        background: rgba(11, 102, 35, 0.12);
    }

    .nav-menu a::after {
        display: none;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: clamp(0.75rem, 2vw, 0.95rem) clamp(1.2rem, 2.2vw, 1.75rem);
    border-radius: 999px;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition-base);
    background: var(--color-primary);
    color: var(--color-light);
    box-shadow: 0 16px 30px rgba(11, 102, 35, 0.18);
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(11, 102, 35, 0.22);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.85);
    color: var(--color-primary);
    box-shadow: inset 0 0 0 1px rgba(11, 102, 35, 0.2);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    background: rgba(255, 255, 255, 1);
    box-shadow: inset 0 0 0 1px rgba(11, 102, 35, 0.3), var(--shadow-soft);
}

.page-hero {
    padding: clamp(4rem, 6vw, 6rem) 0;
    background: var(--color-light);
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(11, 102, 35, 0.08), transparent 45%);
    pointer-events: none;
}

.page-hero .hero-content {
    display: grid;
    gap: clamp(2rem, 4vw, 3rem);
    align-items: center;
}

.page-hero .hero-text h1 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    font-size: clamp(2rem, 4vw, 3.4rem);
    color: var(--color-secondary);
    margin-bottom: var(--space-sm);
}

.page-hero .hero-text p {
    font-size: clamp(1.05rem, 1.3vw, 1.25rem);
    color: var(--color-muted);
    max-width: 36rem;
}

.page-hero .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.page-hero.homepage-hero {
    min-height: clamp(70vh, 80vh, 86vh);
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    color: var(--color-light);
}

.page-hero.homepage-hero::after {
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12), transparent 60%);
}

.page-hero.homepage-hero .hero-text h1,
.page-hero.homepage-hero .hero-text p {
    color: var(--color-light);
}

.page-hero.homepage-hero .hero-text h1 {
    text-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.page-hero.homepage-hero .hero-visual {
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-hero .hero-visual img {
    border-radius: var(--radius-md);
    width: 100%;
    height: clamp(240px, 35vw, 360px);
    object-fit: cover;
}

.section {
    padding: clamp(3rem, 5vw, 5rem) 0;
}

.section.light {
    background: #f1f6f3;
}

.section.dark {
    background: var(--color-secondary);
    color: var(--color-light);
}

.section .section-header {
    display: grid;
    gap: var(--space-xs);
    margin-bottom: clamp(2rem, 3vw, 3rem);
    text-align: center;
}

.section .section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: inherit;
    margin: 0;
}

.section .section-header p {
    max-width: 48rem;
    margin: 0 auto;
    color: rgba(31, 41, 51, 0.72);
}

.section.dark .section-header p {
    color: rgba(255, 255, 255, 0.72);
}

.grid {
    display: grid;
    gap: clamp(1.5rem, 2vw, 2.25rem);
}

.grid.featured-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid.two-columns {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid.three-columns {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
    background: var(--color-light);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(18, 75, 36, 0.08);
    display: grid;
    gap: var(--space-sm);
    transition: var(--transition-base);
}

.card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 102, 35, 0.08), transparent 80%);
    opacity: 0;
    transition: var(--transition-base);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-strong);
}

.card:hover::after {
    opacity: 1;
}

.card > * {
    position: relative;
    z-index: 1;
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(11, 102, 35, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-weight: 700;
}

.card h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--color-secondary);
}

.card p {
    color: var(--color-muted);
    margin: 0;
}

.card .card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs) var(--space-sm);
    font-size: 0.95rem;
    color: var(--color-muted);
}

.stat-board {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-md);
}

.stat-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    display: grid;
    gap: var(--space-xs);
}

.stat-item strong {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
}

.testimonial {
    background: var(--gradient-card);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: var(--space-sm);
}

.testimonial p {
    margin: 0;
    color: var(--color-secondary);
    font-size: 1.05rem;
}

.testimonial cite {
    font-style: normal;
    color: var(--color-muted);
    font-weight: 600;
}

.accordion {
    display: grid;
    gap: var(--space-sm);
}

.accordion-item {
    border-radius: var(--radius-md);
    background: var(--color-light);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(18, 75, 36, 0.12);
    overflow: hidden;
}

.accordion-header {
    padding: var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.accordion-header h3 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--color-secondary);
}

.accordion-content {
    padding: 0 var(--space-md) var(--space-md);
    color: var(--color-muted);
}

.profile-card {
    display: grid;
    gap: var(--space-sm);
    text-align: center;
    padding: var(--space-md);
    background: var(--color-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-base);
}

.profile-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-strong);
}

.profile-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto;
    object-fit: cover;
    border: 4px solid rgba(11, 102, 35, 0.12);
}

.profile-card h3 {
    margin: 0;
    color: var(--color-secondary);
    font-size: 1.1rem;
}

.profile-card span {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.contact-wrapper {
    display: grid;
    gap: clamp(2rem, 3vw, 3rem);
}

.contact-details {
    display: grid;
    gap: var(--space-md);
    background: rgba(11, 102, 35, 0.08);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(11, 102, 35, 0.15);
}

.contact-details h3 {
    margin: 0;
}

.contact-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: var(--space-xs);
}

.contact-details li {
    display: grid;
    gap: var(--space-2xs);
    font-size: 0.98rem;
}

.contact-details li strong {
    color: var(--color-secondary);
}

.contact-form {
    background: var(--color-light);
    box-shadow: var(--shadow-soft);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    display: grid;
    gap: var(--space-md);
    border: 1px solid rgba(18, 75, 36, 0.08);
}

.form-group {
    display: grid;
    gap: var(--space-xs);
}

.form-group label {
    font-weight: 600;
    color: var(--color-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(18, 75, 36, 0.2);
    background: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    transition: var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary-light);
    box-shadow: 0 0 0 4px rgba(11, 102, 35, 0.18);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    background: var(--color-light);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

table thead {
    background: rgba(11, 102, 35, 0.12);
}

table th,
table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid rgba(18, 75, 36, 0.12);
    font-size: 0.98rem;
}

table th {
    font-weight: 700;
    color: var(--color-secondary);
}

.site-footer {
    background: var(--color-secondary);
    color: var(--color-light);
    padding: var(--space-xl) 0 var(--space-lg);
    margin-top: var(--space-xl);
    position: relative;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.12), transparent 55%);
    pointer-events: none;
}

.site-footer .footer-inner {
    display: grid;
    gap: var(--space-lg);
}

.site-footer .footer-top {
    display: grid;
    gap: var(--space-lg);
}

.site-footer .footer-brand {
    display: grid;
    gap: var(--space-sm);
}

.site-footer .footer-brand p {
    color: rgba(255, 255, 255, 0.72);
    max-width: 28rem;
}

.site-footer .footer-links {
    display: grid;
    gap: var(--space-md);
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.site-footer .footer-links h4 {
    margin: 0 0 var(--space-xs);
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
}

.site-footer .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: var(--space-xs);
}

.site-footer .footer-links a {
    color: rgba(255, 255, 255, 0.75);
    transition: var(--transition-base);
}

.site-footer .footer-links a:hover,
.site-footer .footer-links a:focus-visible {
    color: #ffffff;
}

.site-footer .footer-meta {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.72);
}

.footer-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm) var(--space-lg);
    align-items: center;
}

.footer-contacts a {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 600;
    position: relative;
}

.footer-contacts a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: rgba(255, 255, 255, 0.82);
    transition: var(--transition-base);
}

.footer-contacts a:hover::after,
.footer-contacts a:focus-visible::after {
    width: 100%;
}

.working-hours {
    display: grid;
    gap: var(--space-2xs);
    color: rgba(255, 255, 255, 0.75);
}

.working-hours strong {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 700;
}

.cookie-banner {
    position: fixed;
    inset: auto var(--space-sm) var(--space-sm) var(--space-sm);
    background: rgba(255, 255, 255, 0.96);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-strong);
    padding: var(--space-md);
    display: grid;
    gap: var(--space-sm);
    max-width: 460px;
    border: 1px solid rgba(11, 102, 35, 0.18);
    z-index: 1200;
}

.cookie-banner p {
    margin: 0;
    color: var(--color-muted);
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.cookie-actions button {
    flex: 1;
}

.cookie-actions a {
    font-weight: 600;
    color: var(--color-primary);
}

.callout {
    background: var(--color-light);
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 4vw, 3rem);
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: var(--space-sm);
    text-align: center;
}

.callout h3 {
    margin: 0;
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    color: var(--color-secondary);
}

.callout p {
    margin: 0;
    color: var(--color-muted);
}

.callout .callout-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
}

.timeline {
    display: grid;
    gap: var(--space-md);
    position: relative;
    padding-left: 1.5rem;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 4px;
    bottom: 4px;
    width: 2px;
    background: rgba(11, 102, 35, 0.25);
}

.timeline-item {
    position: relative;
    padding-left: 1rem;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -1.47rem;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 0 6px rgba(11, 102, 35, 0.16);
}

.timeline-item h3 {
    margin: 0 0 var(--space-xs);
    color: var(--color-secondary);
}

.highlight-box {
    background: rgba(255, 255, 255, 0.88);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    display: grid;
    gap: var(--space-xs);
    border: 1px solid rgba(11, 102, 35, 0.15);
}

.highlight-box h3 {
    margin: 0;
    color: var(--color-secondary);
}

.policy-section {
    display: grid;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
}

.policy-section h2 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--color-secondary);
}

.policy-section p,
.policy-section ul {
    color: var(--color-muted);
}

.policy-section ul {
    list-style: disc;
    padding-left: 1.5rem;
}

@media (min-width: 768px) {
    .page-hero .hero-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-wrapper {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }

    .site-footer .footer-top {
        grid-template-columns: 1.2fr 1fr;
    }
}

@media (min-width: 1024px) {
    .section .section-header {
        text-align: left;
    }

    .section .section-header p {
        margin-left: 0;
    }

    .callout {
        text-align: left;
        grid-template-columns: 2fr auto;
        align-items: center;
    }

    .callout .callout-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 600px) {
    .footer-contacts {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-actions button {
        flex: auto;
        width: 100%;
    }
}