* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #85D53E;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-light: #fafafa;
    --border-color: #e0e0e0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.header {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo-banner {
    height: 52px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* Hero */
.hero {
    padding: 3rem 0;
    text-align: center;
    background: var(--primary-color);
    margin-bottom: 2.5rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    color: #fff;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.45), 0 0 4px rgba(0, 0, 0, 0.45), 1px 1px 0 rgba(0, 0, 0, 0.25);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #fff;
    font-weight: 300;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.4), 0 0 3px rgba(0, 0, 0, 0.5), 1px 1px 0 rgba(0, 0, 0, 0.2);
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
    text-align: center;
    letter-spacing: -0.5px;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Category Sections */
.category-section {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-dark);
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

/* Горизонтальное отображение товаров в категории */
.category-products {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f0f0f0;
}

.category-products::-webkit-scrollbar {
    height: 8px;
}

.category-products::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}

.category-products::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.category-products::-webkit-scrollbar-thumb:hover {
    background: #6fb82e;
}

.category-products .card {
    flex: 0 0 auto;
    min-width: 280px;
    max-width: 320px;
    width: 300px;
}

.card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-color);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* Стили для товаров, которых нет в наличии */
.card.out-of-stock {
    background: #f5f5f5;
    opacity: 0.8;
    border-color: #d0d0d0;
}

.card.out-of-stock:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.card.out-of-stock .card-image {
    filter: grayscale(100%);
    opacity: 0.6;
}

.card.out-of-stock .card-title {
    text-decoration: line-through;
    color: #999;
}

.card.out-of-stock .card-description {
    text-decoration: line-through;
    color: #999;
}

.card.out-of-stock .card-price {
    color: #999;
}

.card.out-of-stock .btn {
    background: #999;
    opacity: 0.7;
}

.card.out-of-stock .btn:hover {
    background: #777;
    opacity: 0.9;
}

.stock-notice {
    color: #d32f2f;
    font-weight: 500;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: var(--bg-light);
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.card-description {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.card-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.35);
}

.btn:hover {
    background: #6fb82e;
}

/* Contacts */
.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid var(--border-color);
}

.contact-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.25rem;
}

.contact-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* Service Card Wide - на всю ширину */
.service-card-wide {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card-wide:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.service-card-content {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.service-card-image {
    flex: 0 0 400px;
    width: 400px;
    height: 300px;
    object-fit: cover;
    background: var(--bg-light);
}

.service-card-info {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card-description {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.6;
    flex: 1;
}

.service-card-duration {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.service-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.service-card-price {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: #fff;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.footer-content p {
    margin: 0;
}

.footer-credit {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-credit a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-credit a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .logo-banner {
        height: 40px;
    }
    
    .nav {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }

    .nav-menu {
        gap: 0.75rem 1.25rem;
        font-size: 0.9rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero {
        padding: 2.25rem 0;
        margin-bottom: 2rem;
    }

    .hero-title {
        font-size: 1.9rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .service-card-content {
        flex-direction: column;
    }
    
    .service-card-image {
        flex: 0 0 auto;
        width: 100%;
        height: 250px;
    }
    
    .service-card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .service-card-title {
        font-size: 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 0.5rem;
    }
}

