/* ===== Переменные ===== */
:root {
    --primary: #9e3913; 
    --primary-dark: #793922; 
    --secondary: #198754;
    --dark: #45322e;
    --gray: #6c757d;
    --light: #f8f9fa;
    --white: #ffffff;
}

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

body {
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.6;
    color: #333;
    background: var(--white);
}

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

/* ===== Layout ===== */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Header ===== */
header {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark);
}

.logo span { color: var(--primary); }

/* ===== Footer ===== */
footer {
    background: #111;
    color: #aaa;
    padding: 30px 0;
    text-align: center;
    font-size: 0.95rem;
}

footer a { color: #ddd; }

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.25s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
}

.btn-header { display: inline-block; }
.btn:disabled { opacity: 0.65; cursor: not-allowed; transform: none !important; }

/* ===== Mobile menu ===== */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.7rem;
    cursor: pointer;
    color: var(--dark);
    line-height: 1;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    background: white;
    padding: 20px;
    border-top: 1px solid #eee;
    gap: 16px;
}

.mobile-nav.active { display: flex; }
.mobile-nav a { font-weight: 500; padding: 8px 0; border-bottom: 1px solid #f0f0f0; }

/* ===== Nav ===== */
nav { display: flex; gap: 28px; align-items: center; }
nav a { font-weight: 500; transition: color 0.2s; }
nav a:hover { color: var(--primary); }

/* ===== Hero ===== */
.hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark) 100%);
    color: white;
    padding: 100px 0 90px;
    text-align: center;
}
.hero h1 { font-size: 2.8rem; font-weight: 700; margin-bottom: 20px; line-height: 1.25; }
.hero p { font-size: 1.25rem; max-width: 720px; margin: 0 auto 35px; opacity: 0.95; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== Sections ===== */
section { padding: 80px 0; }
.section-title { text-align: center; font-size: 2.2rem; font-weight: 700; margin-bottom: 15px; color: var(--dark); }
.section-subtitle { text-align: center; color: var(--gray); max-width: 650px; margin: 0 auto 50px; font-size: 1.1rem; }

/* ===== About ===== */
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-text p { margin-bottom: 18px; font-size: 1.05rem; color: #444; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stat-box { background: var(--light); border-radius: 12px; padding: 25px 20px; text-align: center; }
.stat-box .num { font-size: 2.2rem; font-weight: 700; color: var(--primary); }
.stat-box .label { font-size: 0.95rem; color: var(--gray); margin-top: 4px; }

/* ===== Services ===== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.service-card {
    background: var(--white); border-radius: 16px; padding: 35px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07); transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eee;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(0,0,0,0.12); }
.service-icon {
    width: 60px; height: 60px; background: #e7f1ff; border-radius: 14px;
    display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin-bottom: 20px;
}
.service-card h3 { font-size: 1.35rem; margin-bottom: 12px; color: var(--dark); }
.service-card ul { list-style: none; margin-top: 15px; }
.service-card li { padding: 6px 0; position: relative; padding-left: 22px; }
.service-card li::before { content: "✓"; position: absolute; left: 0; color: var(--secondary); font-weight: 700; }

/* ===== Services (detailed blocks) ===== */
.service-block {
    background: var(--white);
    border-radius: 16px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    border: 1px solid #eee;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.service-block:last-child { margin-bottom: 0; }
.service-block:hover { transform: translateY(-4px); box-shadow: 0 15px 40px rgba(0,0,0,0.12); }

.service-block-header {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark) 100%);
    color: white;
    padding: 30px 35px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.service-block-icon {
    width: 56px; height: 56px;
    background: rgba(255,255,255,0.15);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}
.service-block-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}
.service-block-brands {
    margin: 6px 0 0;
    font-size: 0.95rem;
    opacity: 0.85;
    font-weight: 500;
}
.service-block-body { padding: 30px 35px; }
.service-block-body h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 12px;
    margin-top: 24px;
}
.service-block-body h3:first-of-type { margin-top: 0; }
.service-block-services ul {
    list-style: none;
    padding: 0;
}
.service-block-services li {
    padding: 8px 0 8px 24px;
    position: relative;
    color: #444;
    line-height: 1.5;
}
.service-block-services li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 700;
}

/* Подуслуги (блок 3) */
.service-block-subservices { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.subservice-item {
    background: var(--light);
    border-radius: 12px;
    padding: 22px;
}
.subservice-item h3 {
    font-size: 1rem;
    margin-top: 0;
    margin-bottom: 8px;
    color: var(--primary);
}
.subservice-item p {
    margin: 0;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Описание (блок 4) */
.service-block-description {
    background: var(--light);
    border-left: 4px solid var(--primary);
    border-radius: 0 12px 12px 0;
    padding: 20px 24px;
    margin-bottom: 20px;
}
.service-block-description p {
    margin: 0;
    color: #444;
    line-height: 1.6;
}

/* Спецпредложения / акции */
.service-block-offers { margin-top: 24px; }
.offer-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 22px;
    border-radius: 12px;
    margin-bottom: 14px;
}
.offer-card:last-child { margin-bottom: 0; }
.offer-card strong { display: block; margin-bottom: 4px; }
.offer-card span:last-child { color: #444; font-size: 0.95rem; line-height: 1.5; }
.offer-emoji { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.offer-highlight {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border: 1px solid #a5d6a7;
}
.offer-urgent {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border: 1px solid #ffcc80;
}
.offer-free {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: 1px solid #90caf9;
}

/* ===== Benefits ===== */
.benefits { background: var(--light); }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.benefit-item { text-align: center; padding: 25px 20px; }
.benefit-item .num { font-size: 2.5rem; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.benefit-item h4 { font-size: 1.15rem; margin-bottom: 8px; }

/* ===== Reviews ===== */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.review-card { background: white; border-radius: 14px; padding: 28px; box-shadow: 0 8px 25px rgba(0,0,0,0.06); border: 1px solid #eee; }
.review-stars { color: #ffc107; font-size: 1.2rem; margin-bottom: 12px; }
.review-text { font-size: 1rem; color: #444; margin-bottom: 18px; font-style: italic; }
.review-author { font-weight: 600; color: var(--dark); }
.review-role { font-size: 0.9rem; color: var(--gray); }
.clients { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; margin-top: 50px; opacity: 0.7; }
.client-badge { background: var(--light); padding: 12px 24px; border-radius: 8px; font-weight: 600; color: var(--dark); font-size: 0.95rem; }

/* ===== Contact ===== */
.contact { background: linear-gradient(135deg, var(--dark) 0%, var(--dark) 100%); color: white; }
.contact .section-title { color: white; }
.contact .section-subtitle { color: rgba(255,255,255,0.75); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-info p { margin-bottom: 18px; font-size: 0.9rem; }
.contact-info strong { display: block; margin-bottom: 4px; opacity: 0.85; font-size: 0.95rem; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 500; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 13px 16px; border-radius: 8px; border: 1px solid #444;
    background: rgba(255,255,255,0.08); color: white; font-size: 1rem; font-family: inherit;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.5); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select option { background: #1a1a2e; color: white; }
.form-status { margin-top: 12px; padding: 12px; border-radius: 8px; display: none; text-align: center; }
.form-status.success { background: rgba(25, 135, 84, 0.25); color: #75e0a8; display: block; }
.form-status.error { background: rgba(220, 53, 69, 0.25); color: #f5a3ab; display: block; }

/* ===== Cookie banner ===== */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; background: #1a1a2e;
    color: white; padding: 18px 20px; z-index: 9999; display: none;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}
.cookie-banner.show { display: block; }
.cookie-inner { max-width: 1140px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cookie-text { flex: 1; font-size: 0.95rem; line-height: 1.5; }
.cookie-text a { color: #6ea8fe; text-decoration: underline; }
.cookie-btns { display: flex; gap: 12px; }
.btn-cookie { padding: 10px 22px; border-radius: 6px; font-weight: 600; cursor: pointer; border: none; font-size: 0.95rem; }
.btn-cookie-accept { background: var(--primary); color: white; }
.btn-cookie-decline { background: transparent; border: 1px solid #666; color: #ccc; }

/* ===== Trust / Gallery ===== */
#trust { background: var(--light); }
.trust-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 35px; flex-wrap: wrap; }
.trust-tab {
    padding: 12px 24px;
    border: 2px solid #ddd;
    background: white;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    font-size: 0.95rem;
    color: #555;
}
.trust-tab:hover { border-color: var(--primary); color: var(--primary); }
.trust-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}
.trust-slides { position: relative; }
.trust-slide { display: none; }
.trust-slide.active { display: block; }
.trust-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}
.trust-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}
.trust-item:hover { transform: translateY(-6px); box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.trust-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.trust-item-caption {
    padding: 14px 16px;
    font-size: 0.9rem;
    color: #555;
    text-align: center;
    font-weight: 500;
    border-top: 1px solid #eee;
}
.trust-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}
.trust-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: white;
    color: var(--primary);
    font-size: 1.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.trust-nav-btn:hover {
    background: var(--primary);
    color: white;
}
.trust-dots { display: flex; gap: 10px; }
.trust-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.25s;
}
.trust-dot.active { background: var(--primary); }

/* ===== Responsive ===== */
/* ===== Responsive ===== */
@media (max-width: 1200px) {
    nav { display: none !important; }
    .btn-header { display: none !important; }
    .mobile-menu-btn { display: block !important; }
    .hero h1 { font-size: 2rem; }
    .about-content { grid-template-columns: 1fr; gap: 35px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero { padding: 70px 0 60px; }
    .cookie-inner { flex-direction: column; text-align: center; }
    
    /* Services responsive */
    .service-block-header {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }
    .service-block-title { font-size: 1.2rem; }
    .service-block-body { padding: 24px 20px; }
    .service-block-subservices { grid-template-columns: 1fr; }
    .offer-card { flex-direction: column; align-items: center; text-align: center; }
    
    /* Trust responsive */
    .trust-tabs { gap: 8px; }
    .trust-tab { padding: 10px 16px; font-size: 0.85rem; }
    .trust-gallery { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .trust-item img { height: 150px; }
    .trust-nav-btn { width: 40px; height: 40px; font-size: 1.5rem; }
}

/* ===== Privacy page ===== */
.back-link {
    font-weight: 500;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.back-link:hover { color: var(--primary); }

.page-header {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark) 100%);
    color: white;
    padding: 50px 0 40px;
    text-align: center;
}
.page-header h1 { font-size: 2rem; font-weight: 700; margin-bottom: 8px; }
.page-header p { opacity: 0.85; font-size: 1rem; }

.content { padding: 60px 0; }
.content h2 {
    font-size: 1.4rem; font-weight: 700; color: var(--dark);
    margin: 35px 0 15px; padding-bottom: 8px;
    border-bottom: 2px solid var(--primary); display: inline-block;
}
.content h3 { font-size: 1.1rem; font-weight: 600; color: var(--dark); margin: 20px 0 10px; }
.content p { margin-bottom: 14px; color: #444; }
.content ul { margin: 10px 0 16px 24px; color: #444; }
.content li { margin-bottom: 6px; }
.content .highlight-box {
    background: #e7f1ff; border-left: 4px solid var(--primary);
    padding: 18px 22px; border-radius: 0 8px 8px 0; margin: 20px 0;
}
.content .highlight-box p { margin-bottom: 0; color: var(--dark); }
.last-updated { text-align: center; color: var(--gray); font-size: 0.9rem; margin-bottom: 30px; }

@media (max-width: 768px) {
    .page-header h1 { font-size: 1.6rem; }
    .content h2 { font-size: 1.2rem; }
}

