/* Переменные для удобства (Цветовая палитра) */
:root {
    --color-primary: #5d5d5d; /* Темно-серый для текста */
    --color-secondary: #a87e5b; /* Приглушенный бежево-коричневый (акцент) */
    --color-background: #f4f4f4; /* Светло-серый/почти белый фон */
    --color-light-bg: #fffbf5; /* Мягкий бежевый фон секций */
    --color-white: #ffffff;
    --color-grey: #cccccc; /* Светлый серый */
    --font-main: 'Montserrat', sans-serif;
}

/* Общие стили и сброс */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--color-primary);
    background-color: var(--color-background);
    scroll-behavior: smooth; /* Плавный скролл для якорей */
}
.img_banner {
    display:block;
    width:600px;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

/* Типографика */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #333; /* Более темный для заголовков */
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-secondary);
    margin: 10px auto 0;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.2s;
    text-transform: uppercase;
    font-size: 14px;
    margin-left: 10px;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-secondary);
    color: var(--color-white);
    border: none;
}

.btn-primary:hover {
    background-color: #7d5e41; /* Немного темнее */
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-secondary);
    border: 2px solid var(--color-secondary);
}

.btn-secondary:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* Стили для Telegram/Viber удалены */

/* 1. Header (ОБНОВЛЕНО: меню и время работы) */
.header {
    background-color: var(--color-white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between; /* Распределяем элементы по краям */
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 900;
    color: var(--color-secondary);
}

/* Стили для нового навигационного меню */
.main-nav a {
    text-decoration: none;
    color: var(--color-primary);
    font-weight: 600;
    margin: 0 15px;
    transition: color 0.3s;
    font-size: 15px;
}

.main-nav a:hover {
    color: var(--color-secondary);
}

/* Контейнер для телефона, времени и кнопки */
.contacts-area {
    display: flex;
    align-items: center;
}

/* Новый контейнер для телефона и времени */
.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Выравнивание текста по правому краю */
    margin-right: 15px;
}

.phone-link {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    text-decoration: none;
    margin-bottom: 3px;
}

/* Стиль для времени работы */
.work-time {
    color: var(--color-secondary); /* Акцентный цвет */
    font-weight: 600;
    font-size: 13px;
    line-height: 1;
}

/* Стили для новой кнопки "Заказать чистку" */
.btn-order {
    padding: 10px 20px;
    font-size: 14px;
    margin-left: 0; /* Убираем лишний отступ */
}

/* 2. Hero */
.hero {
    /* Фон заменен на заглушку */
    background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.55)), url('header-bg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
}

.hero-title {
    font-size: 56px;
    font-weight: 900;
    color: #333;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    font-weight: 600;
}

.hero-actions {
    margin-bottom: 20px;
}

.usp-info {
    font-size: 16px;
    margin-top: 30px;
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.7);
    display: inline-block;
    border-radius: 5px;
    font-weight: 600;
    border: 1px solid var(--color-grey);
}

/* 3. Почему мы лучше */
.why-us {
    background-color: var(--color-light-bg);
}

.why-us-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.why-us-item {
    padding: 30px;
    background-color: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.item-title {
    color: var(--color-secondary);
    font-size: 20px;
    margin-bottom: 10px;
}

/* Стили для ИЗОБРАЖЕНИЙ "Why Us" */
.item-image-placeholder {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background-color: var(--color-background); /* Фон для заглушки */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--color-secondary);
    border: 3px solid var(--color-secondary);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s;
}

.why-us-item:hover .item-image-placeholder {
    transform: scale(1.05);
}

/* ЗАГЛУШКИ ДЛЯ ПРИМЕРА. ЗАМЕНИТЕ URL! */
.why-us-item:nth-child(1) .item-image-placeholder {
    background-image: url('oborudovanie.jpg');
}
.why-us-item:nth-child(2) .item-image-placeholder {
    background-image: url('dezinf.jpg');
}
.why-us-item:nth-child(3) .item-image-placeholder {
    background-image: url('economy.jpg');
}


/* 4. Наш процесс (ОБНОВЛЕНО: 5 шагов) */
.process {
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Стили для ВИЗУАЛЬНОГО ОТОБРАЖЕНИЯ ПРОЦЕССА */
.process-steps-visual {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* ИЗМЕНЕНО НА 5 КОЛОНОК */
    gap: 15px;
    margin-bottom: 50px;
}

.process-step-item {
    background-color: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.process-step-item:hover {
    transform: translateY(-5px);
}

.step-image-box {
    height: 150px;
    background-color: var(--color-grey); /* Фон для заглушки */
    background-size: cover;
    background-position: center;
}

/* ЗАГЛУШКИ ДЛЯ ПРИМЕРА. ОБНОВЛЕНО 5 ШАГОВ! */
.process-step-item:nth-child(1) .step-image-box { background-image: url('courier.jpg'); }
.process-step-item:nth-child(2) .step-image-box { background-image: url('vibivanie.jpg'); }
.process-step-item:nth-child(3) .step-image-box { background-image: url('moika.jpg'); }
.process-step-item:nth-child(4) .step-image-box { background-image: url('sushka.jpg'); }
.process-step-item:nth-child(5) .step-image-box { background-image: url('dostavka.jpg'); }

.step-content {
    padding: 15px;
    text-align: center;
}

.step-number {
    display: block;
    font-size: 24px;
    font-weight: 900;
    color: var(--color-secondary);
    line-height: 1;
}

.step-content h4 {
    margin: 5px 0 10px;
    font-size: 18px;
    color: #333;
}

/* Стили для ПОЛНОГО СПИСКА ЭТАПОВ */
.full-process-list {
    max-width: 800px;
    margin: 0 auto;
}

.process-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.process-steps li {
    padding: 15px;
    background-color: var(--color-white);
    border-left: 5px solid var(--color-secondary);
    border-radius: 5px;
    position: relative;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.step-icon {
    display: none; /* Скрываем иконку-цифру в этой компактной версии */
}


/* 5. Цены */
.prices {
    background-color: var(--color-light-bg);
}

.price-note {
    text-align: center;
    margin-bottom: 30px;
    font-style: italic;
}

.price-tables-wrapper {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
}

.price-table {
    flex: 1;
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.price-table h3 {
    text-align: center;
    color: var(--color-secondary);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--color-grey);
    padding-bottom: 10px;
}

.price-table table {
    width: 100%;
    border-collapse: collapse;
}

.price-table th, .price-table td {
    padding: 12px 0;
    text-align: left;
    border-bottom: 1px solid var(--color-background);
}

.price-table th {
    background-color: var(--color-light-bg);
    font-weight: 700;
}

.price-table td:last-child {
    text-align: right;
    font-weight: 700;
    color: #333;
}

.price-table td strong {
    color: var(--color-secondary);
}

.min-order-info {
    text-align: center;
    padding: 20px;
    background-color: var(--color-background);
    border-radius: 5px;
    font-weight: 600;
    border: 1px dashed var(--color-secondary);
}

/* 6. Преимущества с вывозом и доставкой */
.delivery-advantages {
    padding-top: 80px;
    padding-bottom: 80px;
}

.advantages-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 40px;
}

.advantages-list li {
    background-color: var(--color-white);
    padding: 15px 20px;
    border-left: 4px solid var(--color-secondary);
    border-radius: 5px;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s;
}
.advantages-list li:hover {
    background-color: var(--color-background);
}

.advantages-list li strong {
    color: var(--color-secondary);
}


/* 7. Отзывы */
.reviews {
    background-color: var(--color-background);
}

.review-card {
    max-width: 700px;
    margin: 0 auto 30px;
    padding: 30px;
    background-color: var(--color-white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--color-secondary);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.review-header h3 {
    margin: 0;
    color: #333;
}

.rating {
    display: flex;
    align-items: center;
    font-size: 18px;
}

.star-icon {
    font-size: 20px;
    margin-right: 2px;
    color: #ffc107; /* Уточнение цвета золотых звезд */
}

.score {
    font-weight: 700;
    margin-left: 10px;
    color: var(--color-primary);
}

.review-text {
    font-size: 16px;
    margin-bottom: 20px;
    font-style: italic;
}

.review-author {
    text-align: right;
    font-weight: 600;
    color: var(--color-secondary);
}

.reviews-callout {
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    border: 1px dashed var(--color-secondary);
    border-radius: 5px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}


/* 8. FAQ */
.faq {
    background-color: var(--color-light-bg);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 10px;
    border: 1px solid var(--color-grey);
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 15px 20px;
    text-align: left;
    background-color: var(--color-white);
    color: var(--color-primary);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    outline: none;
    transition: background-color 0.3s;
    position: relative;
}

.faq-question:hover, .faq-question.active {
    background-color: #e0e0e0;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 20px;
    transition: transform 0.3s;
    line-height: 1;
}

.faq-question.active::after {
    content: '-';
    transform: rotate(360deg);
}

.faq-answer {
    padding: 0 20px;
    background-color: var(--color-white);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}

.faq-answer p {
    padding-bottom: 15px;
    padding-top: 5px;
}

.faq-contact {
    text-align: center;
    margin-top: 30px;
    font-size: 18px;
}


/* 9. Форма заказа химчистки */
.order-form {
    background-color: var(--color-secondary); /* Акцентный фон для привлечения внимания */
    color: var(--color-white);
    padding: 60px 0;
}

.order-form .section-title, .form-subtitle {
    color: var(--color-white);
}

.order-form .section-title::after {
    background-color: var(--color-white);
}

.form-subtitle {
    text-align: center;
    max-width: 600px;
    margin: -30px auto 40px;
    font-size: 18px;
    font-weight: 500;
}

.main-order-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 30px;
    background-color: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-primary);
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="number"] {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-grey);
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: var(--color-secondary);
    outline: none;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    margin-left: 0; /* Переопределение общего стиля .btn */
    margin-top: 10px;
}

.form-privacy {
    text-align: center;
    font-size: 12px;
    margin-top: 15px;
    color: var(--color-primary);
}

.form-privacy a {
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: 600;
}


/* 10. Контакты и Адреса */
.contacts {
    padding-top: 80px;
    padding-bottom: 80px;
}

.location-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.location-item {
    background-color: var(--color-white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--color-secondary);
}

.location-item h3 {
    color: #333;
    margin-bottom: 10px;
}

/* 11. Footer */
.footer {
    background-color: #333;
    color: var(--color-grey);
    padding: 20px 0;
    font-size: 14px;
    text-align: center;
}

.footer a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color 0.3s;
}
.footer a:hover {
    color: var(--color-white);
}

.details {
    margin: 5px 0;
}

/* ===================================== */
/* CSS Анимации (Fade In при прокрутке) */
/* ===================================== */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.animate {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================== */
/* Адаптивность (Media Queries) - ПОСЛЕДНЕЕ ОБНОВЛЕНИЕ */
/* ===================================== */

@media (max-width: 1200px) {
    /* Для 5 шагов процесса (на больших планшетах) */
    .process-steps-visual {
        grid-template-columns: repeat(3, 1fr); /* 3 в ряд */
    }
}

@media (max-width: 992px) {
    .header-content {
        flex-wrap: wrap;
        justify-content: center;
    }

    .logo {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
    
    /* Стили для нового навигационного меню */
    .main-nav {
        order: 10; /* Размещаем меню под логотипом */
        width: 100%;
        text-align: center;
        margin: 10px 0;
    }
    
    .main-nav a {
        margin: 0 8px; /* Чуть меньше отступы на мобильных */
        font-size: 14px;
    }

    /* Стили для контейнера телефона и кнопки */
    .contacts-area {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 10px;
    }

    /* Выравнивание контактной информации и кнопки на планшетах */
    .contact-info {
        order: 1;
        align-items: center; /* Центрируем текст */
        margin-right: 10px;
    }

    .phone-link {
        margin-right: 0;
    }
    
    .work-time {
        margin-bottom: 5px;
    }
    
    .btn-order {
        order: 2;
        margin-left: 10px;
    }

    .price-tables-wrapper, .why-us-items, .location-list {
        flex-direction: column;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Для 5 шагов процесса (на маленьких планшетах) */
    .process-steps-visual {
        grid-template-columns: repeat(2, 1fr); /* 2 в ряд */
    }

    .hero-title {
        font-size: 44px;
    }

    .advantages-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 50px 0;
    }

    .hero-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    .btn {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
    
    .phone-link {
        font-size: 16px;
    }
    
    .main-nav a {
        display: block; /* Каждая ссылка меню на новой строке */
        margin: 5px 0;
    }
    
    /* В шапке на самом маленьком экране: телефон/время/кнопка */
    .contacts-area {
        flex-direction: column;
    }
    
    .contact-info, .btn-order {
        width: 100%;
        margin: 5px 0 0 0;
    }
    
    .work-time {
        margin-bottom: 0;
    }
    
    .btn-order {
        display: block;
        padding: 12px 0;
    }
    
    /* Для 5 шагов процесса (на мобильных телефонах) */
    .process-steps-visual {
        grid-template-columns: 1fr; /* 1 в ряд */
    }
}
    @media screen and (max-width: 600px) {
    .img_banner {
        display:block;
        width: 100%;
        height: auto;
    }

    #target-block {
        width: 100%;
    }
}