:root {
    --primary: #5f8f45;
    --primary-light: #84b362;
    --primary-dark: #35532a;
    --secondary: #b98b53;
    --dark: #182617;
    --dark-light: #273a25;
    --text: #243124;
    --text-light: #5e6b58;
    --text-muted: #7d8977;
    --white: #fcfcf7;
    --gray: #f2f4ec;
    --surface: rgba(252, 252, 247, 0.82);
    --surface-strong: rgba(252, 252, 247, 0.94);
    --border: rgba(95, 143, 69, 0.16);
    --shadow: 0 20px 60px rgba(37, 53, 30, 0.12);
}

body {
    background:
        radial-gradient(circle at top left, rgba(132, 179, 98, 0.18), transparent 34%),
        radial-gradient(circle at right center, rgba(185, 139, 83, 0.12), transparent 28%),
        linear-gradient(180deg, #eef3e7 0%, #f8f7f1 52%, #eef2e7 100%);
    color: var(--text);
}

.bg-pattern {
    opacity: 1;
}

header {
    background: rgba(255, 253, 248, 0.92);
    border-bottom: 1px solid rgba(103, 150, 77, 0.14);
    box-shadow: 0 12px 32px rgba(24, 38, 23, 0.08);
}

.logo-icon,
.service-link,
.contact-action,
.section-tag,
.price,
.product-price {
    color: var(--primary);
}

nav a::after,
.service-features li::before {
    background: var(--primary);
    color: var(--primary);
}

.nav-showcase {
    color: var(--primary-dark);
    border-color: rgba(103, 150, 77, 0.28);
    background: rgba(103, 150, 77, 0.1);
}

.nav-showcase:hover {
    background: rgba(103, 150, 77, 0.18);
    color: var(--primary-dark);
}

.lang-switcher {
    background: rgba(255, 253, 248, 0.75);
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    box-shadow: 0 8px 18px rgba(95, 143, 69, 0.35);
}

.hero {
    background:
        linear-gradient(135deg, rgba(24, 38, 23, 0.92) 0%, rgba(53, 83, 42, 0.88) 46%, rgba(103, 131, 69, 0.82) 100%);
    align-items: stretch;
    padding-top: 132px;
}

.hero::before {
    top: -35%;
    right: -15%;
    background: radial-gradient(circle, rgba(132, 179, 98, 0.28) 0%, transparent 62%);
}

.hero::after {
    bottom: -48%;
    left: -10%;
    background: radial-gradient(circle, rgba(185, 139, 83, 0.2) 0%, transparent 65%);
}

.hero-layout {
    width: min(1200px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 760px;
    text-align: left;
}

.hero-badge {
    background: rgba(220, 236, 199, 0.14);
    border: 1px solid rgba(220, 236, 199, 0.22);
    color: #e7f6d8;
}

.hero h1 {
    font-size: clamp(2.6rem, 5vw, 4.8rem);
    letter-spacing: -0.04em;
}

.hero h1 .highlight {
    color: var(--tree-500);
    text-shadow: none;
}

.hero p {
    max-width: 700px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    justify-content: flex-start;
    flex-wrap: wrap;
}

.btn {
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    box-shadow: 0 14px 30px rgba(95, 143, 69, 0.24);
}

.btn-primary:hover {
    box-shadow: 0 18px 38px rgba(95, 143, 69, 0.32);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
}

.btn-accent {
    background: linear-gradient(135deg, #e1cfaa 0%, #c79e68 100%);
    color: #26301d;
    box-shadow: 0 14px 30px rgba(185, 139, 83, 0.24);
}

.btn-accent:hover {
    box-shadow: 0 18px 38px rgba(185, 139, 83, 0.32);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 26px;
}

.hero-chip {
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.92rem;
}

.hero-stats {
    justify-content: flex-start;
    gap: 2rem;
    border-top-color: rgba(255, 255, 255, 0.14);
}

.stat-number {
    color: #e7f6d8;
}

.hero-aside {
    display: grid;
    gap: 18px;
}

.hero-card,
.benefit-card,
.material-card,
.process-card,
.faq-item,
.local-card,
.service-card,
.calendar-wrapper,
.time-slots,
.booking-result,
.showcase-header,
.showcase-filters,
.product-card,
.service-link-card,
.contact-card,
.about-photo,
.modal-content {
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.hero-card {
    padding: 28px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(252, 252, 247, 0.16) 0%, rgba(255, 255, 255, 0.08) 100%);
    backdrop-filter: blur(10px);
    color: var(--white);
}

.hero-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.hero-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.98rem;
}

.hero-card ul {
    list-style: none;
    margin-top: 16px;
    display: grid;
    gap: 10px;
}

.hero-card li {
    padding-left: 20px;
    position: relative;
    color: rgba(255, 255, 255, 0.92);
}

.hero-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #dcecc7;
}

.hero-local {
    background: linear-gradient(180deg, rgba(220, 236, 199, 0.18) 0%, rgba(199, 158, 104, 0.12) 100%);
}

.section-tag {
    background: rgba(95, 143, 69, 0.11);
    color: var(--primary-dark);
}

.section-header h2,
.about-content h2,
.seo-header h1,
.showcase-header h1 {
    color: var(--dark);
}

.section-header p,
.booking-intro,
.contacts-intro,
.service-content p,
.about-intro,
.process-card p,
.benefit-card p,
.material-card p,
.local-card p,
.faq-item p {
    color: var(--text-light);
}

.benefits,
.materials,
.process,
.faq,
.local-seo {
    padding: 100px 2rem;
    position: relative;
}

.benefits,
.process,
.faq {
    background: linear-gradient(180deg, rgba(242, 244, 236, 0.84) 0%, rgba(252, 252, 247, 0.94) 100%);
}

.materials,
.local-seo {
    background: linear-gradient(180deg, rgba(252, 252, 247, 0.96) 0%, rgba(241, 244, 235, 0.88) 100%);
}

.benefits-grid,
.materials-grid,
.process-grid,
.local-grid {
    width: min(1200px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.materials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.process-grid,
.local-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.benefit-card,
.material-card,
.process-card,
.local-card {
    background: var(--surface-strong);
    border-radius: 24px;
    padding: 28px;
}

.benefit-icon,
.process-icon,
.local-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: rgba(95, 143, 69, 0.12);
    color: var(--primary-dark);
    font-weight: 800;
}

.services,
.booking,
.about {
    background: transparent;
}

.services::before {
    background: linear-gradient(to bottom, rgba(24, 38, 23, 0.35), transparent);
}

.services-grid {
    max-width: 1200px;
}

.service-card {
    background: var(--surface-strong);
    border-radius: 28px;
}

.service-image {
    height: 210px;
    background:
        radial-gradient(circle at 20% 20%, rgba(132, 179, 98, 0.38), transparent 28%),
        radial-gradient(circle at 82% 25%, rgba(185, 139, 83, 0.3), transparent 24%),
        linear-gradient(145deg, #203120 0%, #416236 62%, #5f8f45 100%);
    display: grid;
    place-items: center;
}

.service-illustration {
    width: 130px;
    height: 130px;
    border-radius: 36px;
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.service-illustration::before,
.service-illustration::after {
    content: '';
    position: absolute;
    border-radius: 999px;
}

.service-illustration--kanekalon::before {
    inset: 20px 46px 18px 46px;
    background: linear-gradient(180deg, #f0d7af 0%, #d3a26a 100%);
    box-shadow: -22px 0 0 #8bc16c, 22px 0 0 #c0dc8c;
}

.service-illustration--kanekalon::after {
    left: 30px;
    right: 30px;
    top: 18px;
    height: 18px;
    background: rgba(255, 255, 255, 0.3);
}

.service-illustration--wool::before {
    inset: 18px;
    background:
        radial-gradient(circle at 30% 34%, #f8f1df 0 20%, transparent 21%),
        radial-gradient(circle at 66% 44%, #ead7b2 0 18%, transparent 19%),
        radial-gradient(circle at 42% 66%, #d1aa70 0 20%, transparent 21%),
        radial-gradient(circle at 60% 70%, #b5d18f 0 16%, transparent 17%),
        #35532a;
}

.service-illustration--wool::after {
    inset: 34px;
    border: 2px dashed rgba(255, 255, 255, 0.25);
}

.service-illustration--natural::before {
    inset: 22px 34px 20px 34px;
    background: linear-gradient(180deg, #d0b594 0%, #705138 100%);
    box-shadow: -20px 0 0 #8ca86b, 20px 0 0 #3e5935;
}

.service-illustration--natural::after {
    inset: 16px 50px auto 50px;
    height: 80px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, transparent 100%);
}

.service-illustration--custom::before {
    inset: 22px;
    border-radius: 26px;
    background: linear-gradient(135deg, #f2e3c1 0%, #9cc077 48%, #c8935f 100%);
}

.service-illustration--custom::after {
    left: 28px;
    right: 28px;
    top: 56px;
    height: 18px;
    background: rgba(36, 49, 36, 0.8);
}

.service-content h3,
.feature-text h4,
.calendar-month,
.time-slots h4,
.contact-name,
.product-name {
    color: var(--dark);
}

.service-footer,
.modal-header,
.calendar-wrapper,
.time-slots,
.booking-result {
    border-color: var(--border);
}

.price {
    color: var(--white);
}

.gallery,
.showcase-page {
    background: transparent;
}

.gallery-item {
    border-radius: 22px;
    box-shadow: 0 16px 36px rgba(37, 53, 30, 0.16);
}

.gallery-loading,
.gallery-empty,
.loading,
.no-products {
    color: var(--text-light);
}

.about-container {
    gap: 4rem;
}

.about-photo {
    background: linear-gradient(180deg, rgba(252, 252, 247, 0.96) 0%, rgba(233, 238, 224, 0.88) 100%);
}

.about-portrait {
    aspect-ratio: 4 / 5;
    border-radius: 30px;
    background:
        radial-gradient(circle at 50% 28%, rgba(185, 139, 83, 0.18), transparent 20%),
        radial-gradient(circle at 30% 22%, rgba(95, 143, 69, 0.22), transparent 22%),
        linear-gradient(180deg, rgba(53, 83, 42, 0.08) 0%, rgba(24, 38, 23, 0.16) 100%);
    display: grid;
    place-items: center;
    overflow: hidden;
    position: relative;
}

.about-portrait::before,
.about-portrait::after {
    content: '';
    position: absolute;
    border-radius: 999px;
}

.about-portrait::before {
    width: 180px;
    height: 180px;
    top: 58px;
    background: radial-gradient(circle, #f1d5ad 0%, #d3ac7b 54%, transparent 55%);
}

.about-portrait::after {
    width: 220px;
    height: 220px;
    bottom: -22px;
    background: radial-gradient(circle, rgba(53, 83, 42, 0.9) 0%, rgba(53, 83, 42, 0.98) 54%, transparent 55%);
}

.portrait-label {
    position: absolute;
    bottom: 44px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: rgba(252, 252, 247, 0.92);
    color: var(--primary-dark);
    font-weight: 700;
    z-index: 1;
}

.about-badge {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    box-shadow: 0 12px 30px rgba(95, 143, 69, 0.24);
}

.feature-icon {
    background: rgba(95, 143, 69, 0.12);
    color: var(--primary-dark);
}

.faq-list {
    width: min(900px, 100%);
    margin: 0 auto;
    display: grid;
    gap: 18px;
}

.faq-item {
    background: var(--surface-strong);
    border-radius: 24px;
    padding: 24px 28px;
}

.faq-item h3 {
    color: var(--dark);
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.booking-container,
.contacts-container,
.footer-content {
    max-width: 1200px;
}

.calendar-wrapper,
.time-slots,
.booking-result,
.modal-content {
    background: var(--surface-strong);
}

.calendar-nav {
    background: rgba(95, 143, 69, 0.11);
    color: var(--primary-dark);
}

.calendar-nav:hover,
.calendar-day.selected,
.time-slot.selected {
    background: var(--primary);
    color: var(--white);
}

.calendar-day.available {
    background: rgba(95, 143, 69, 0.12);
    color: var(--primary-dark);
}

.calendar-day.available:hover,
.time-slot:hover:not(.booked) {
    background: rgba(95, 143, 69, 0.16);
}

.calendar-day.today {
    border-color: rgba(185, 139, 83, 0.72);
}

.time-slot {
    border-color: rgba(95, 143, 69, 0.18);
}

.booking-form-fields label,
.form-group label {
    color: var(--dark);
}

.booking-form-fields .form-input,
.form-group input,
.form-group select,
.form-group textarea,
.filter-group select,
.filter-group input {
    border-color: rgba(95, 143, 69, 0.18);
    background: rgba(255, 255, 255, 0.72);
    color: var(--text);
}

.booking-form-fields .form-input:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.filter-group select:focus,
.filter-group input:focus {
    border-color: var(--primary);
}

.contacts {
    background: linear-gradient(135deg, rgba(24, 38, 23, 0.96) 0%, rgba(53, 83, 42, 0.96) 58%, rgba(95, 143, 69, 0.9) 100%);
}

.contacts-bg {
    opacity: 0.07;
    filter: blur(1px) saturate(0.8);
}

.section-header.light .section-tag {
    background: rgba(255, 255, 255, 0.12);
    color: #eef6df;
}

.section-header.light h2,
.section-header.light p,
.contacts .contacts-note p,
.contacts .contact-link,
.contacts .contact-action {
    color: rgba(255, 255, 255, 0.92);
}

.contact-card {
    background: rgba(255, 255, 255, 0.12);
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.16);
}

.contact-card.vk:hover,
.contact-card.tg:hover {
    border-color: rgba(220, 236, 199, 0.35);
}

.footer-links a:hover,
.lightbox-close:hover,
.service-link:hover {
    color: var(--primary-dark);
}

footer {
    background: #111b11;
}

.footer-extra {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.54);
}

.seo-page {
    padding: 132px 2rem 72px;
    max-width: 1200px;
    margin: 0 auto;
}

.seo-header,
.seo-block,
.showcase-header,
.showcase-filters {
    background: var(--surface);
    border-radius: 28px;
    padding: 32px;
}

.seo-header {
    margin-bottom: 28px;
}

.seo-header p,
.seo-block p,
.seo-block li,
.showcase-header p,
.filter-group label,
.loading,
.no-products {
    color: var(--text-light);
}

.seo-grid,
.seo-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.seo-content {
    display: grid;
    gap: 22px;
}

.seo-block h2,
.seo-block h3,
.service-link-card h4 {
    color: var(--primary-dark);
}

.keywords-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.keyword-tag {
    background: rgba(95, 143, 69, 0.1);
    border: 1px solid rgba(95, 143, 69, 0.18);
    color: var(--primary-dark);
    border-radius: 999px;
    padding: 0.65rem 0.95rem;
    font-size: 0.92rem;
}

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

.service-link-card {
    background: rgba(255, 255, 255, 0.74);
    color: var(--text);
    text-decoration: none;
}

.service-link-card:hover {
    background: rgba(255, 255, 255, 0.96);
}

.showcase-header p {
    max-width: 760px;
    margin: 0 auto 24px;
}

.showcase-header h1 {
    background: none;
    -webkit-text-fill-color: currentColor;
    color: var(--dark);
}

.product-card,
.showcase-header,
.showcase-filters,
.product-modal-content {
    background: var(--surface);
}

.product-description,
.product-likes,
.contact-link {
    color: var(--text-light);
}

.filter-group label,
.filter-group span,
.product-detail-likes,
.product-detail-info p,
.order-product-info p,
#order-form-showcase label {
    color: var(--text-light);
}

.modal-content,
.product-card,
.showcase-header,
.showcase-filters {
    color: var(--text);
}

.modal-content h2,
.modal-content h3,
.product-detail-price {
    color: var(--dark);
}

.product-detail-info {
    background: rgba(252, 252, 247, 0.96);
}

.product-detail-likes .like-icon {
    color: #d16666;
}

.product-detail-price,
.order-product-info .price {
    color: var(--primary-dark);
}

.order-product-info {
    background: rgba(95, 143, 69, 0.08);
    border: 1px solid rgba(95, 143, 69, 0.12);
}

#order-form-showcase input,
#order-form-showcase textarea,
.filter-group select,
.filter-group input {
    background: rgba(255, 255, 255, 0.88);
    color: var(--text);
    border-color: rgba(95, 143, 69, 0.18);
}

#order-form-showcase input::placeholder,
#order-form-showcase textarea::placeholder,
.filter-group input::placeholder {
    color: var(--text-muted);
}

.modal-content .close-btn {
    color: var(--text-muted);
}

.modal-content .close-btn:hover {
    color: var(--primary-dark);
}

.gallery-nav,
.lightbox-nav {
    background: rgba(53, 83, 42, 0.62);
}

.lightbox-nav:hover {
    background: rgba(95, 143, 69, 0.8);
}

.local-accent {
    color: var(--primary-dark);
    font-weight: 700;
}

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

@media (max-width: 1024px) {
    .hero-layout,
    .materials-grid,
    .seo-grid,
    .seo-columns,
    .service-links {
        grid-template-columns: 1fr;
    }

    .benefits-grid,
    .process-grid,
    .local-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-content {
        text-align: center;
        max-width: none;
    }

    .hero-buttons,
    .hero-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-inline: 1.2rem;
    }

    .hero-layout,
    .benefits-grid,
    .process-grid,
    .local-grid,
    .contacts-grid,
    .service-links {
        grid-template-columns: 1fr;
    }

    .benefits,
    .materials,
    .process,
    .faq,
    .local-seo,
    .services,
    .gallery,
    .about,
    .booking,
    .contacts {
        padding-inline: 1.2rem;
    }

    .hero-meta {
        justify-content: center;
    }

    .hero-card {
        padding: 22px;
    }

    .seo-page,
    .showcase-page {
        padding-inline: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-buttons .btn,
    .btn {
        width: 100%;
        text-align: center;
    }

    .hero-stats {
        gap: 1.2rem;
        flex-wrap: wrap;
    }

    .service-content,
    .benefit-card,
    .material-card,
    .process-card,
    .faq-item,
    .local-card,
    .seo-block,
    .showcase-header,
    .showcase-filters {
        padding: 22px;
    }
}
