* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #2c3e2f;
    background: #f8faf5;
}

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

h1, h2, h3, h4, .logo, button {
    font-family: 'Montserrat', sans-serif;
}

/* ========== АНИМАЦИИ ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.animate-fade-up {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fade-left {
    animation: fadeInLeft 0.6s ease forwards;
}

/* ========== HEADER ========== */
.header {
    background: #1a3a2a;
    color: white;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo h1 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo h1 span {
    color: #c9a04c;
}

.logo p {
    font-size: 13px;
    opacity: 0.85;
    letter-spacing: 0.5px;
}

/* Logo images */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo {
    width: 76px;
    height: auto;
    border-radius: 8px;
    display: inline-block;
}

.logo-text h1 {
    margin: 0;
}

.footer-logo {
    width: 120px;
    height: auto;
    display: block;
    margin: 0 auto 12px;
}

.header-contacts {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.phone {
    color: white;
    text-decoration: none;
    font-size: 22px;
    font-weight: 700;
    transition: 0.3s;
}

.phone:hover {
    color: #c9a04c;
}

.email {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: 0.3s;
}

.email:hover {
    color: #c9a04c;
}

.messenger-link {
    display: inline-grid;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    transition: 0.3s;
}

.messenger-link.tg {
    background-color: #28a8e9;
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/8/82/Telegram_logo.svg');
    background-position: center;
    background-size: 55%;
    background-repeat: no-repeat;
}

.messenger-link.max {
    background-color: #25D366;
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/6/6b/WhatsApp.svg');
    background-position: center;
    background-size: 55%;
    background-repeat: no-repeat;
}

.messenger-link:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

.callback-btn {
    background: #c9a04c;
    color: #1a3a2a;
    border: none;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    font-family: 'Montserrat', sans-serif;
}

.callback-btn:hover {
    background: #b58d3a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* ========== HERO ========== */
.hero {
    background: linear-gradient(135deg, #1a3a2a 0%, #2d5a3d 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(img/backgraund.jpg) center / cover;
    opacity: 0.15;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-btn {
    background: #c9a04c;
    color: #1a3a2a;
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.hero-btn:hover {
    background: #b58d3a;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.hero-btn.secondary {
    background: transparent;
    border: 2px solid #c9a04c;
    color: #c9a04c;
}

.hero-btn.secondary:hover {
    background: #c9a04c;
    color: #1a3a2a;
}

/* ========== ABOUT ========== */
.about {
    padding: 80px 0;
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 24px;
    color: #1a3a2a;
}

.accent {
    color: #c9a04c;
}

.about-text p {
    font-size: 18px;
    margin-bottom: 16px;
    color: #4a5a4a;
    word-wrap: break-word;
    hyphens: auto;
}

.about-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    background: #f0f4ec;
    padding: 24px;
    border-radius: 24px;
    width: 100%;
}

.stat {
    flex: 1 1 120px;
    min-width: 120px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: #c9a04c;
}

.stat-label {
    font-size: 14px;
    color: #4a5a4a;
}

/* ========== ADVANTAGES ========== */
.advantages {
    padding: 80px 0;
    background: #f0f4ec;
}

.advantages h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 48px;
    color: #1a3a2a;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.advantage-item {
    background: white;
    padding: 32px;
    border-radius: 20px;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.advantage-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.advantage-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.advantage-item h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #1a3a2a;
}

.advantage-item p {
    color: #6a7a6a;
}

/* ========== DELIVERY ========== */
.delivery {
    padding: 80px 0;
    background: white;
}

.delivery h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 48px;
}

.delivery-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.delivery-table {
    width: 100%;
    border-collapse: collapse;
    background: #fefae0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.delivery-table th, .delivery-table td {
    padding: 16px;
    text-align: center;
    border-bottom: 1px solid #e0d6a8;
}

.delivery-table th {
    background: #1a3a2a;
    color: white;
    font-weight: 600;
}

.delivery-note {
    margin-top: 24px;
    padding: 20px;
    background: #e8f0e4;
    border-radius: 16px;
    text-align: center;
}

.delivery-note p {
    margin-bottom: 8px;
}

/* ========== PRODUCTS ========== */
.products {
    padding: 80px 0;
    background: #f8faf5;
}

.products h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 16px;
}

.products-subtitle {
    text-align: center;
    color: #6a7a6a;
    margin-bottom: 48px;
}

.product-category {
    margin-bottom: 60px;
}

.product-category h3 {
    font-size: 28px;
    margin-bottom: 32px;
    color: #1a3a2a;
    border-left: 4px solid #c9a04c;
    padding-left: 20px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.product-image-placeholder {
    height: 200px;
    background: linear-gradient(135deg, #d4d9c8, #c0c8b0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5a6a4a;
    font-size: 14px;
    font-weight: 500;
}

.product-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-image-placeholder .img-placeholder {
    width: 100%;
    height: 250%;
    object-fit: cover;
}

#opilki-title {
    padding: 170px 20px 0;
}

.product-card h4 {
    font-size: 20px;
    padding: 20px 20px 0;
    color: #1a3a2a;
}


.product-desc {
    padding: 12px 20px 0;
    color: #6a7a6a;
    font-size: 14px;
    line-height: 1.5;
}

.product-price {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-top: 1px solid #eee;
    margin-top: 12px;
}

.price-value {
    font-size: 24px;
    font-weight: 700;
    color: #c9a04c;
}

.price-note {
    font-size: 13px;
    color: #8a9a8a;
}

.product-btn {
    margin: 0 20px 20px;
    width: calc(100% - 40px);
    background: #1a3a2a;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.product-btn:hover {
    background: #c9a04c;
    color: #1a3a2a;
}

.products-note {
    text-align: center;
    margin-top: 40px;
    padding: 16px;
    background: #fff3e0;
    border-radius: 12px;
    font-size: 14px;
    color: #8a6a3a;
}

/* ========== DELIVERY ZONES ========== */
.delivery-zones {
    padding: 60px 0;
    background: white;
}

.delivery-zones h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 16px;
}

.delivery-zones .subtitle {
    text-align: center;
    color: #6a7a6a;
    margin-bottom: 32px;
}

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

.zone-column ul {
    list-style: none;
}

.zone-column li {
    padding: 8px 0;
    border-bottom: 1px dashed #e0e8d8;
    font-size: 14px;
}

.zone-column li::before {
    content: "📍";
    margin-right: 8px;
    font-size: 12px;
}

.zones-note {
    margin-top: 32px;
    padding: 16px;
    background: #f0f4ec;
    border-radius: 12px;
    text-align: center;
}

/* ========== PAYMENT ========== */
.payment {
    padding: 60px 0;
    background: #f0f4ec;
}

.payment h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

.payment-methods {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.payment-item {
    background: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* ========== FORM ========== */
.callback-form {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a3a2a, #2d5a3d);
    color: white;
    text-align: center;
}

.callback-form h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.feedback-form {
    max-width: 500px;
    margin: 32px auto 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
}

.form-topic-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
    text-align: left;
}

.form-topic-group p {
    width: 100%;
    margin: 0 0 8px;
    font-size: 14px;
    color: #ffffff;
}

.form-topic-group label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    color: white;
    cursor: pointer;
    font-size: 15px;
}

.form-topic-group input[type="checkbox"] {
    margin: 0;
    width: auto;
}

.modal-content .form-topic-group p,
.modal-content .form-topic-group label {
    color: #1a3a2a;
}

.modal-content .form-topic-group label {
    background: #f5f5f5;
}

.submit-btn {
    background: #c9a04c;
    color: #1a3a2a;
    border: none;
    padding: 14px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover {
    background: #b58d3a;
    transform: scale(1.02);
}

.form-message {
    margin-top: 20px;
    color: #c9a04c;
    font-weight: 500;
}

/* ========== CONTACTS ========== */
.contacts {
    padding: 80px 0;
    background: white;
}

.contacts h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 48px;
}

.contacts-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-card {
    background: #f0f4ec;
    padding: 32px;
    border-radius: 24px;
}

.contact-card h3 {
    margin-bottom: 20px;
    color: #1a3a2a;
}

.contact-card p {
    margin-bottom: 12px;
}

.contact-card a {
    color: #1a3a2a;
    text-decoration: none;
    font-weight: 500;
}

.contact-card a:hover {
    color: #c9a04c;
}

.messengers-big {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.messengers-big .messenger-link {
    width: auto;
    height: auto;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: #f5f5f5;
}

.map-container {
    height: 400px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 100%;
}

.map-container iframe,
.map-container script {
    width: 100%;
    height: 100%;
    display: block;
}

/* ========== FOOTER ========== */
.footer {
    background: #1a3a2a;
    color: white;
    text-align: center;
    padding: 32px 0;
    font-size: 14px;
}

.footer p:first-child {
    margin-bottom: 8px;
}

/* ========== MODAL ========== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 450px;
    padding: 32px;
    border-radius: 24px;
    position: relative;
    animation: fadeInUp 0.4s ease;
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #999;
}

.modal-content h3 {
    margin-bottom: 8px;
    color: #1a3a2a;
}

.modal-content form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.modal-content input {
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 16px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .header {
        padding: 8px 0;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .phone {
        font-size: 18px;
    }
    
    .email {
        font-size: 14px;
    }
    
    .delivery-table th, .delivery-table td {
        padding: 8px 4px;
        font-size: 13px;
    }
    
    .about-text h2 {
        font-size: 28px;
    }
    
    .about-text p {
        font-size: 16px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        justify-content: center;
    }
    
    .contacts-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        padding: 24px;
    }
    
    .map-container {
        height: 320px;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .product-category h3 {
        font-size: 24px;
    }
    
    .zones-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-btn {
        text-align: center;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 280px;
    }
}

