:root {
    --green: rgb(118, 158, 0);
    --green-dark: rgb(95, 128, 0);
    --gray-50: #f6f7f8;
    --gray-100: #eceef0;
    --gray-200: #d8dce0;
    --gray-500: #6b7280;
    --gray-800: #2b2f33;
    --gray-900: #1b1d1f;
    --white: #ffffff;
    --shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    --radius: 6px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--gray-800);
    line-height: 1.55;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0 0 .5em; font-weight: 700; line-height: 1.2; }
p { margin: 0 0 1em; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    cursor: pointer;
    border: 0;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--white { background: var(--white); color: var(--green); }
.btn--green { background: var(--green); color: var(--white); }
.btn--green:hover { background: var(--green-dark); }

/* Header */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.0);
    transition: background .2s ease, box-shadow .2s ease;
}
.header.is-scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 78px;
}
.logo img { height: 44px; width: auto; }
.nav {
    display: flex;
    gap: 28px;
    flex: 1;
    justify-content: center;
}
.nav a {
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .05em;
    padding: 6px 2px;
    border-bottom: 2px solid transparent;
    transition: border-color .15s ease, color .15s ease;
}
.nav a:hover { border-bottom-color: var(--green); }
.header.is-scrolled .nav a { color: var(--gray-800); }

.lang { display: flex; gap: 4px; }
.lang a {
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 9px;
    border-radius: 4px;
    opacity: .75;
}
.lang a.is-active,
.lang a:hover { background: var(--green); color: var(--white); opacity: 1; }
.header.is-scrolled .lang a { color: var(--gray-800); }
.header.is-scrolled .lang a.is-active,
.header.is-scrolled .lang a:hover { color: var(--white); }

.burger {
    display: none;
    background: transparent; border: 0; cursor: pointer;
    width: 32px; height: 28px;
    flex-direction: column; justify-content: space-between;
    padding: 4px 0;
}
.burger span {
    display: block;
    height: 3px; background: var(--white);
    border-radius: 2px;
    transition: background .2s ease;
}
.header.is-scrolled .burger span { background: var(--gray-800); }

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}
.hero__slider { position: absolute; inset: 0; }
.hero__slide {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}
.hero__slide.is-active { opacity: 1; }
.hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.45), rgba(0,0,0,.55));
}
.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 24px 80px;
    width: 100%;
}
.hero__content h1 {
    font-size: clamp(32px, 5vw, 58px);
    text-shadow: 0 2px 12px rgba(0,0,0,.4);
    margin-bottom: 18px;
}
.hero__sub {
    font-size: clamp(16px, 2vw, 22px);
    font-weight: 600;
    letter-spacing: .03em;
    text-shadow: 0 2px 8px rgba(0,0,0,.4);
    margin-bottom: 32px;
}
.hero__ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__arrow {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    z-index: 3;
    width: 44px; height: 60px;
    background: rgba(0,0,0,.3);
    color: var(--white);
    border: 0;
    font-size: 20px;
    cursor: pointer;
    transition: background .15s ease;
}
.hero__arrow:hover { background: var(--green); }
.hero__arrow--prev { left: 0; }
.hero__arrow--next { right: 0; }

/* Features */
.features { padding: 72px 0; background: var(--gray-50); }
.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}
.feature { padding: 0 8px; }
.feature__icon {
    color: var(--green);
    width: 48px; height: 48px;
    margin-bottom: 18px;
}
.feature__icon svg { width: 100%; height: 100%; }
.feature h3 { font-size: 19px; margin-bottom: 10px; }
.feature p { color: var(--gray-500); font-size: 15px; }

/* About */
.about { padding: 90px 0; }
.about__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 60px;
    align-items: start;
}
.kicker {
    display: inline-block;
    font-size: 12px;
    letter-spacing: .2em;
    color: var(--green);
    font-weight: 700;
    margin-bottom: 14px;
    text-transform: uppercase;
}
.about h2 { font-size: clamp(26px, 3vw, 38px); }
.lead { font-size: 18px; color: var(--gray-800); font-weight: 500; margin-bottom: 1.4em; }
.about p { color: var(--gray-500); }
.about__guarantee {
    background: var(--gray-50);
    padding: 32px;
    border-left: 4px solid var(--green);
    border-radius: var(--radius);
}
.about__guarantee h3 { color: var(--green); font-size: 20px; }
.about__guarantee ul { list-style: none; padding: 0; margin: 0; }
.about__guarantee li {
    padding: 10px 0 10px 28px;
    position: relative;
    border-bottom: 1px solid var(--gray-200);
    font-weight: 500;
}
.about__guarantee li:last-child { border-bottom: 0; }
.about__guarantee li::before {
    content: "";
    position: absolute;
    left: 0; top: 14px;
    width: 16px; height: 9px;
    border-left: 3px solid var(--green);
    border-bottom: 3px solid var(--green);
    transform: rotate(-45deg);
}

/* Section title */
.section-title {
    font-size: clamp(26px, 3vw, 36px);
    text-align: center;
    margin-bottom: 48px;
    position: relative;
    padding-bottom: 18px;
}
.section-title::after {
    content: "";
    position: absolute;
    left: 50%; transform: translateX(-50%);
    bottom: 0;
    width: 60px; height: 3px;
    background: var(--green);
}

/* Services */
.services { padding: 90px 0; background: var(--gray-50); }
.services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.service {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius);
    border-top: 3px solid var(--green);
    box-shadow: var(--shadow);
    transition: transform .2s ease;
}
.service:hover { transform: translateY(-4px); }
.service h3 { color: var(--green); font-size: 20px; }
.service p { color: var(--gray-500); margin: 0; }

/* Equipment */
.equipment { padding: 90px 0; }
.equipment__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-bottom: 40px;
}
.equip-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .2s ease;
}
.equip-card:hover { transform: translateY(-4px); }
.equip-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}
.equip-card__body { padding: 24px; }
.equip-card h3 { font-size: 22px; }
.equip-card p { color: var(--gray-500); }
.price {
    display: inline-block;
    background: var(--green);
    color: var(--white);
    font-weight: 700;
    font-size: 18px;
    padding: 8px 16px;
    border-radius: var(--radius);
    margin-top: 8px;
}
.equipment__note {
    color: var(--gray-500);
    font-size: 14px;
    background: var(--gray-50);
    padding: 22px 26px;
    border-radius: var(--radius);
    border-left: 3px solid var(--green);
    margin: 0;
}

/* Gallery */
.gallery { padding: 90px 0; background: var(--gray-50); }
.gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.gallery__item {
    display: block;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 1;
    position: relative;
    cursor: pointer;
}
.gallery__item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item::after {
    content: "";
    position: absolute; inset: 0;
    background: rgba(118, 158, 0, 0);
    transition: background .2s ease;
}
.gallery__item:hover::after { background: rgba(118, 158, 0, .25); }

/* Contacts */
.contacts { padding: 90px 0; background: var(--gray-900); color: var(--white); }
.contacts .section-title { color: var(--white); text-align: left; }
.contacts .section-title::after { left: 0; transform: none; }
.contacts__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.contacts h3 { color: var(--green); font-size: 20px; }
.contacts__list { list-style: none; padding: 0; margin: 0; }
.contacts__list li { margin-bottom: 12px; font-size: 18px; font-weight: 600; }
.contacts__list a:hover { color: var(--green); }

/* Footer */
.footer { background: #111315; color: #9aa0a6; padding: 28px 0; }
.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.footer__logo { height: 38px; filter: brightness(0) invert(1); opacity: .9; }
.footer__info { font-size: 13px; text-align: right; }

/* Cookie banner */
.cookie-banner {
    position: fixed;
    left: 16px; right: 16px; bottom: 16px;
    z-index: 500;
    background: var(--gray-900);
    color: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0,0,0,.3);
    padding: 16px 20px;
}
.cookie-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}
.cookie-banner p { margin: 0; font-size: 14px; flex: 1; min-width: 240px; }
.cookie-banner a { color: var(--green); text-decoration: underline; }
.cookie-banner .btn { padding: 10px 22px; font-size: 14px; }

/* Static page */
.page {
    padding: 140px 0 80px;
    min-height: 60vh;
}
.page h1 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 24px; }
.page h2 { font-size: 22px; color: var(--green); margin-top: 32px; }
.page p, .page li { color: var(--gray-500); font-size: 15px; }
.page ul { padding-left: 20px; }

.footer__links { display: flex; gap: 18px; font-size: 13px; }
.footer__links a:hover { color: var(--green); }

/* Lightbox */
.lightbox {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 40px;
}
.lightbox.is-open { display: flex; }
.lightbox__img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
}
.lightbox__close,
.lightbox__arrow {
    position: absolute;
    background: transparent;
    border: 0; color: var(--white);
    cursor: pointer;
}
.lightbox__close { top: 18px; right: 24px; font-size: 42px; line-height: 1; }
.lightbox__arrow { top: 50%; transform: translateY(-50%); font-size: 30px; padding: 10px 18px; }
.lightbox__arrow--prev { left: 20px; }
.lightbox__arrow--next { right: 20px; }
.lightbox__close:hover,
.lightbox__arrow:hover { color: var(--green); }

/* Responsive */
@media (max-width: 900px) {
    .nav {
        position: absolute;
        top: 78px; left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
        box-shadow: 0 6px 16px rgba(0,0,0,.08);
        display: none;
    }
    .nav.is-open { display: flex; }
    .nav a { color: var(--gray-800); padding: 14px 24px; border-bottom: 1px solid var(--gray-100); width: 100%; }
    .burger { display: flex; }
    .features__grid,
    .about__grid,
    .services__grid,
    .equipment__grid,
    .contacts__grid { grid-template-columns: 1fr; gap: 28px; }
    .gallery__grid { grid-template-columns: repeat(2, 1fr); }
    .footer__inner { flex-direction: column; text-align: center; }
    .footer__info { text-align: center; }
}
