:root {
    --green: #83bb3f;
    --green-dark: #4f8124;
    --ink: #202427;
    --muted: #667077;
    --line: #dce3d8;
    --soft: #f4f6f2;
    --white: #ffffff;
    --shadow: 0 20px 50px rgba(24, 32, 27, 0.12);
    --content-width: 1120px;
    --wide-width: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--white);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

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

button,
input,
textarea {
    font: inherit;
}

.page {
    min-height: 100vh;
    background: var(--white);
}

.shell {
    width: min(100% - 40px, var(--content-width));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid rgba(32, 36, 39, 0.08);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 28px;
    align-items: center;
    min-height: 92px;
}

.brand {
    display: grid;
    color: var(--ink);
    line-height: 1;
    letter-spacing: 0;
}

.brand span {
    font-size: 30px;
    font-weight: 800;
}

.brand strong {
    margin-top: 4px;
    color: var(--green-dark);
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
}

.mobile-nav-toggle,
.submenu-toggle {
    display: none;
}

.main-nav {
    display: flex;
    justify-content: flex-end;
    gap: 22px;
    color: #4c5559;
    font-size: 15px;
    font-weight: 700;
}

.main-menu {
    display: contents;
    margin: 0;
    padding: 0;
}

.footer-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 0;
    padding: 0;
}

.nav-item,
.main-nav .menu-item {
    position: relative;
    list-style: none;
}

.nav-item.has-mega,
.main-nav .menu-item-has-children {
    position: static;
}

.nav-link,
.main-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 4px 0;
}

.nav-link:hover,
.nav-link:focus,
.nav-link[aria-current="page"],
.main-nav a:hover,
.main-nav a:focus,
.main-nav .current-menu-item > a {
    color: var(--green-dark);
}

.has-panel > .nav-link::after,
.main-nav .menu-item-has-children > a::after {
    content: "";
    width: 7px;
    height: 7px;
    margin-left: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
}

.nav-panel,
.main-nav .sub-menu {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
    width: 520px;
    padding: 24px;
    border: 1px solid rgba(79, 129, 36, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 160ms ease, transform 160ms ease;
}

.nav-panel-mega,
.main-nav .sub-menu {
    right: 0;
    left: 0;
    width: min(100%, var(--wide-width));
    margin: 0 auto;
}

.nav-panel-intro {
    padding-right: 22px;
    border-right: 1px solid var(--line);
}

.nav-panel-intro strong {
    display: block;
    margin-bottom: 10px;
    color: var(--green-dark);
    font-size: 20px;
    line-height: 1.2;
}

.nav-panel-intro p,
.nav-panel-links small {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.4;
}

.nav-panel-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.nav-panel-links a {
    min-height: 84px;
    padding: 14px;
    border-radius: 8px;
    background: var(--soft);
}

.nav-panel-links a:hover,
.nav-panel-links a:focus {
    background: #edf5e8;
}

.nav-panel-links span {
    display: block;
    margin-bottom: 5px;
    color: var(--green-dark);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
}

.nav-item:hover .nav-panel,
.nav-item:focus-within .nav-panel,
.main-nav .menu-item:hover > .sub-menu,
.main-nav .menu-item:focus-within > .sub-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.main-nav .sub-menu {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 20px;
}

.main-nav .sub-menu a {
    display: block;
    min-height: 64px;
    padding: 14px;
    border-radius: 8px;
    background: var(--soft);
    color: var(--green-dark);
}

.header-actions {
    display: flex;
    gap: 10px;
    white-space: nowrap;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 18px;
    border: 2px solid var(--green);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.1;
}

.header-button {
    gap: 9px;
    padding-inline: 15px;
}

.button svg,
.slider-button svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.button-solid {
    color: var(--white);
    background: var(--green);
}

.button-solid:hover,
.button-solid:focus {
    border-color: var(--green-dark);
    background: var(--green-dark);
}

.button-outline {
    color: var(--ink);
    background: var(--white);
}

.button-outline:hover,
.button-outline:focus,
.button-light:hover,
.button-light:focus {
    color: var(--white);
    border-color: var(--green-dark);
    background: var(--green-dark);
}

.button-light {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.1);
}

.hero {
    position: relative;
    min-height: 680px;
    overflow: hidden;
    display: grid;
    align-items: center;
    background: #111513;
}

.hero-media {
    position: absolute;
    inset: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 66% center;
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(14, 19, 16, 0.88) 0%, rgba(14, 19, 16, 0.66) 38%, rgba(14, 19, 16, 0.16) 76%),
        linear-gradient(0deg, rgba(14, 19, 16, 0.22), rgba(14, 19, 16, 0.22));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--content-width);
    padding: 92px 0 124px;
}

.kicker {
    margin: 0 0 12px;
    color: var(--green);
    font-size: 13px;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2 {
    margin-bottom: 20px;
    color: var(--green-dark);
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.05;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 12px;
    color: var(--green-dark);
    font-size: 21px;
    line-height: 1.25;
}

.hero h1 {
    max-width: 680px;
    margin-bottom: 22px;
    color: var(--white);
    font-size: clamp(46px, 7vw, 86px);
}

.hero p:not(.kicker) {
    max-width: 650px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 22px;
    line-height: 1.42;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.section {
    padding: 86px 0;
    background: var(--white);
}

.intro-grid,
.section-heading-left {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
    gap: 56px;
    align-items: start;
}

.intro-copy p,
.section-heading-left p,
.split-copy p,
.about-section p,
.dates-grid p,
.contact-section p {
    color: var(--muted);
    font-size: 19px;
    line-height: 1.45;
}

.intro-copy p:last-child,
.split-copy p:last-child,
.contact-section p:last-child {
    margin-bottom: 0;
}

.services-overview-section {
    background: #f5f8f2;
}

.services-layout {
    display: grid;
    grid-template-columns: minmax(270px, 350px) minmax(0, 1fr);
    gap: 48px;
    width: min(100% - 40px, var(--wide-width));
    margin: 0 auto;
}

.services-intro {
    position: sticky;
    top: 122px;
    align-self: start;
}

.services-intro p:not(.kicker) {
    color: var(--muted);
    font-size: 19px;
    line-height: 1.45;
}

.slider-controls {
    display: flex;
    gap: 10px;
    margin-top: 28px;
}

.slider-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 2px solid var(--green);
    border-radius: 8px;
    color: var(--green-dark);
    background: var(--white);
    cursor: pointer;
}

.slider-button:hover,
.slider-button:focus {
    color: var(--white);
    background: var(--green);
}

.services-slider {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 320px);
    gap: 18px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 4px 0 22px;
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
    scrollbar-color: rgba(131, 187, 63, 0.55) transparent;
}

.services-slider::-webkit-scrollbar {
    height: 8px;
}

.services-slider::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: rgba(131, 187, 63, 0.5);
}

.service-card,
.dates-grid article {
    display: flex;
    min-height: 320px;
    flex-direction: column;
    padding: 30px 26px;
    border-radius: 8px;
    background: var(--white);
    scroll-snap-align: start;
}

.service-card:first-child {
    border-top: 5px solid var(--green);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 22px;
    border: 2px solid rgba(131, 187, 63, 0.36);
    border-radius: 8px;
    color: var(--green-dark);
    background: #f6faf3;
}

.service-icon svg {
    width: 29px;
    height: 29px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 900;
    text-transform: uppercase;
}

.service-card p {
    margin-bottom: 24px;
    color: var(--muted);
    line-height: 1.45;
}

.service-card a,
.text-link {
    margin-top: auto;
    color: var(--green-dark);
    font-weight: 900;
    border: 0;
    padding: 0;
    min-height: 0;
    background: transparent;
}

.split-section {
    background: var(--white);
}

.split-section-muted {
    background: #eef2ea;
}

.split-row,
.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
    gap: 56px;
    align-items: center;
}

.split-row-reverse {
    grid-template-columns: minmax(420px, 1fr) minmax(0, 0.9fr);
}

.split-row-reverse .split-copy {
    order: 2;
}

.split-row > img,
.about-photo-stack img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.split-row > img {
    height: 430px;
}

.about-section {
    background: var(--white);
}

.about-photo-stack {
    display: grid;
    grid-template-columns: 0.82fr 1fr;
    gap: 18px;
    align-items: end;
}

.about-photo-stack img:first-child {
    height: 440px;
}

.about-photo-stack img:last-child {
    height: 280px;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 32px;
}

.proof-grid div {
    min-height: 120px;
    padding: 18px;
    border-left: 4px solid var(--green);
    border-radius: 8px;
    background: var(--soft);
}

.proof-grid strong,
.proof-grid span {
    display: block;
}

.proof-grid strong {
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 18px;
}

.proof-grid span {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.35;
}

.dates-section {
    background: #f7f8f5;
}

.teaser-section {
    background: var(--white);
}

.teaser-grid,
.post-card-grid,
.testimonial-grid,
.reference-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.teaser-card,
.post-card,
.testimonial-card {
    overflow: hidden;
    border-radius: 8px;
    background: var(--soft);
}

.teaser-card img,
.post-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.teaser-card > div,
.post-card > div,
.testimonial-card {
    padding: 26px;
}

.teaser-card p,
.post-card p,
.testimonial-card blockquote {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.45;
}

.timeline-section,
.reference-section {
    background: #f7f8f5;
}

.timeline-list {
    display: grid;
    gap: 14px;
}

.timeline-list article {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 24px;
    padding: 24px;
    border-radius: 8px;
    background: var(--white);
}

.timeline-list span,
.event-item time {
    color: var(--green-dark);
    font-size: 18px;
    font-weight: 900;
}

.timeline-list h3,
.timeline-list p,
.event-item h3,
.event-item p {
    margin-bottom: 0;
}

.timeline-list p,
.event-item p {
    color: var(--muted);
}

.testimonial-section {
    background: var(--white);
}

.section-heading {
    margin-bottom: 42px;
    text-align: center;
}

.testimonial-card {
    margin: 0;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-top: 5px solid var(--green);
}

.testimonial-card blockquote {
    margin: 0 0 24px;
}

.testimonial-card figcaption strong,
.testimonial-card figcaption span {
    display: block;
}

.testimonial-card figcaption strong {
    color: var(--ink);
}

.testimonial-card figcaption span {
    color: var(--muted);
    font-size: 14px;
}

.reference-grid {
    align-items: stretch;
}

.reference-item {
    display: grid;
    min-height: 128px;
    place-items: center;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.reference-item img {
    max-height: 72px;
    width: auto;
    filter: grayscale(1);
}

.reference-item span {
    color: var(--muted);
    font-weight: 900;
    text-align: center;
}

.news-section {
    background: var(--white);
}

.post-card {
    display: flex;
    flex-direction: column;
}

.post-card h3 a:hover,
.post-card h3 a:focus {
    color: var(--ink);
}

.events-section {
    background: #eef2ea;
}

.event-list {
    display: grid;
    gap: 12px;
}

.event-item {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    padding: 22px 24px;
    border-radius: 8px;
    background: var(--white);
}

.dates-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.dates-grid article {
    min-height: 230px;
}

.dates-grid span {
    margin-bottom: 22px;
    color: var(--green);
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
}

.contact-section {
    background: #202427;
}

.contact-section h2,
.contact-section .kicker {
    color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
    gap: 58px;
    align-items: start;
}

.contact-section p,
.contact-facts a {
    color: rgba(255, 255, 255, 0.78);
}

.contact-facts {
    display: grid;
    gap: 18px;
    margin-top: 32px;
}

.contact-facts p {
    margin: 0;
}

.contact-facts strong {
    color: var(--green);
}

.contact-form {
    display: grid;
    gap: 13px;
    padding: 30px;
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.contact-form label {
    color: var(--ink);
    font-size: 14px;
    font-weight: 900;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 13px;
    color: var(--ink);
    background: #fbfcfa;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: 2px solid rgba(131, 187, 63, 0.32);
    border-color: var(--green);
}

.contact-form p {
    margin: 0;
}

.honeypot,
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.form-message {
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: 700;
}

.form-message p {
    margin: 0;
    color: inherit;
    font-size: 15px;
}

.form-message.success {
    color: #24530d;
    background: #e7f5dc;
}

.form-message.error {
    color: #7c211b;
    background: #fde8e6;
}

.legal-note {
    padding: 22px 0;
    background: #151819;
}

.legal-note p {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
}

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #151819;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 26px 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}

.footer-inner p {
    margin: 0;
}

.footer-inner div,
.footer-inner nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-menu li {
    list-style: none;
}

@media (max-width: 1280px) {
    .header-inner {
        grid-template-columns: auto auto;
        justify-content: space-between;
        min-height: 78px;
    }

    .mobile-nav-toggle {
        display: inline-flex;
        width: 44px;
        height: 44px;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        border: 2px solid var(--green);
        border-radius: 8px;
        background: var(--white);
    }

    .mobile-nav-toggle span:not(.visually-hidden) {
        width: 20px;
        height: 2px;
        margin: 0 auto;
        background: var(--ink);
    }

    .main-nav,
    .header-actions {
        grid-column: 1 / -1;
        display: none;
        justify-content: start;
    }

    .site-header.nav-open .main-nav,
    .site-header.nav-open .header-actions {
        display: flex;
    }

    .site-header.nav-open .main-nav {
        flex-direction: column;
        gap: 4px;
        padding: 8px 0;
    }

    .site-header.nav-open .main-menu {
        display: flex;
        width: 100%;
        flex-direction: column;
        gap: 4px;
    }

    .nav-item,
    .main-nav .menu-item {
        width: 100%;
    }

    .nav-link,
    .main-nav a {
        width: 100%;
    }

    .has-panel > .nav-link::after,
    .main-nav .menu-item-has-children > a::after {
        content: none;
    }

    .submenu-toggle {
        display: none;
    }

    .nav-panel,
    .main-nav .sub-menu {
        position: static;
        display: none;
        width: 100%;
        margin: 0;
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .nav-item:focus-within .nav-panel {
        display: grid;
    }

    .main-nav .menu-item:focus-within > .sub-menu {
        display: grid;
    }

    .nav-panel-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 880px) {
    .hero {
        min-height: 620px;
    }

    .hero-content {
        padding: 72px 0 94px;
    }

    .section {
        padding: 66px 0;
    }

    .intro-grid,
    .section-heading-left,
    .services-layout,
    .split-row,
    .split-row-reverse,
    .about-grid,
    .contact-grid,
    .dates-grid,
    .teaser-grid,
    .post-card-grid,
    .testimonial-grid,
    .reference-grid,
    .event-item {
        grid-template-columns: 1fr;
    }

    .services-intro {
        position: static;
    }

    .split-row-reverse .split-copy {
        order: 0;
    }

    .split-row > img,
    .about-photo-stack img:first-child,
    .about-photo-stack img:last-child {
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .proof-grid {
        grid-template-columns: 1fr;
    }

    .timeline-list article {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .shell,
    .services-layout {
        width: min(100% - 28px, var(--content-width));
    }

    .brand span {
        font-size: 25px;
    }

    .header-actions {
        flex-direction: column;
    }

    .hero {
        min-height: 590px;
    }

    .hero p:not(.kicker),
    .intro-copy p,
    .section-heading-left p,
    .split-copy p,
    .about-section p,
    .dates-grid p,
    .contact-section p {
        font-size: 17px;
    }

    .hero-actions,
    .hero-actions .button,
    .contact-form .button {
        width: 100%;
    }

    .about-photo-stack {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 22px;
    }

    .footer-inner {
        flex-direction: column;
    }
}
