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

/* ЦВЕТА */
:root {
    --dark-blue: #1E2A47;
    --accent: #B35437;
    --bg-light: #F5F1EC;
    --white: #FFFFFF;
    --black: #000000;
    --gray: #666666;
    --light-gray: #E5E5E5;
}

/* ОСНОВНЫЕ СТИЛИ */
body {
    font-family: 'Inter', sans-serif;
    color: var(--black);
    background-color: var(--bg-light);
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ТИПОГРАФИЯ*/
.section-title {
    font-size: 36px;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 30px;
}

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

.subsection-title {
    font-size: 32px;
    font-weight: 400;
    margin: 40px 0 30px;
    color: var(--dark-blue);
}

/* ШАПКА */
.navbar {
    background-color: var(--dark-blue);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 32px;
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    margin-right: 30px;
}

.logo-icon {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

/* меню */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.burger-menu span {
    width: 30px;
    height: 3px;
    background-color: var(--white);
    transition: all 0.3s;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-size: 20px;
    font-weight: 400;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--accent);
}

/* ФОТО ПОД ШАПКОЙ */
.full-width-image {
    width: 100%;
    overflow: hidden;
}

.full-width-img {
    width: 100%;
    height: auto;
    display: block;
}

/* СИНИЕ ПОЛОСЫ-ЗАГОЛОВКИ */
.section-with-header {
    padding: 0 0 60px 0;
}

.section-header {
    background-color: var(--dark-blue);
    width: 100%;
    padding: 25px 0;
    margin-bottom: 40px;
}

.section-header .container {
    position: relative;
}

.section-header .section-title {
    margin-bottom: 0;
}

/* О КОМПАНИИ */
.about-text {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.5;
    max-width: 1200px;
    margin-bottom: 30px;
}

/* ПРОИЗВОДСТВО */
.production-text {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.5;
    max-width: 1200px;
    margin-bottom: 15px;
}

.love-text {
    font-size: 32px;
    font-weight: 400;
    color: inherit;
    display: inline-block;
}

/* производство - три фото */
.production-gallery {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.production-image {
    flex: 1;
    min-width: 200px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--dark-blue);
}

.production-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.3s;
}

.production-image:hover img {
    transform: scale(1.02);
}

/* КАТАЛОГ */
.catalog-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 47px;
    margin: 30px 0;
}

.catalog-grid {
    display: flex;
    gap: 40px;
    transition: transform 0.3s ease;
}

.product-card {
    width: 358px;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.product-image {
    width: 358px;
    height: 399px;
    overflow: hidden;
    background: var(--dark-blue);
    border-radius: 10px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-link {
    display: inline-block;
    background-color: var(--accent);
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 40px;
    border-radius: 30px;
    transition: background-color 0.3s;
    text-align: center;
}

.product-link:hover {
    background-color: #9e4a30;
}

/* СТРЕЛКИ */
.slider-arrow {
    width: 50px;
    height: 50px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
    flex-shrink: 0;
    padding: 0;
}

.slider-arrow:hover {
    opacity: 0.7;
}

.arrow-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

/* ПРЕИМУЩЕСТВА */
.advantages-content {
    max-width: 1200px;
}

.advantage-block {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 60px;
}

.advantage-block:last-child {
    margin-bottom: 0;
}

.advantage-image {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.advantage-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.advantage-text-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.advantage-title {
    font-size: 32px;
    font-weight: 500;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.advantage-text {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--black);
}

/* ОТЗЫВЫ */
.reviews-list {
    margin-bottom: 50px;
}

.review-card {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.review-author {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-blue);
}

.review-date {
    font-size: 16px;
    color: var(--gray);
}

.review-rating {
    margin-bottom: 10px;
    display: flex;
    gap: 2px;
}

.review-rating .star {
    font-size: 20px;
    color: gold;
}

.review-text {
    font-size: 18px;
    line-height: 1.5;
}

/* ФОРМА ОТЗЫВА */
.review-form-container {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.form-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--dark-blue);
}

.rating-input {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.rating-input .star {
    font-size: 30px;
    color: var(--light-gray);
    cursor: pointer;
}

.rating-input .star.active {
    color: gold;
}

.review-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.photo-upload {
    padding: 15px;
    border: 2px dashed var(--light-gray);
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.photo-upload:hover {
    border-color: var(--accent);
    background-color: rgba(179, 84, 55, 0.05);
}

.photo-label {
    display: block;
    font-weight: 600;
    color: var(--accent);
    cursor: pointer;
    font-size: 18px;
}

.photo-note {
    font-size: 14px;
    color: var(--gray);
}

/* Стили для превью перед отправкой */
.photo-previews {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.preview-item {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--light-gray);
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-remove {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    border: 2px solid white;
    transition: background 0.3s;
}

.preview-remove:hover {
    background: #9e4a30;
}

/* КРАСИВЫЕ СТИЛИ ДЛЯ ФОТО В ОТЗЫВАХ (ФИНАЛЬНАЯ ВЕРСИЯ) */
.review-photos {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.review-photo {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid var(--light-gray);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.review-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    border-color: var(--accent);
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-wrapper label {
    font-size: 16px;
    color: var(--gray);
    cursor: pointer;
}

.btn-submit {
    background-color: var(--accent);
    color: var(--white);
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    align-self: flex-start;
}

.btn-submit:hover {
    background-color: #9e4a30;
}

/* НАШИ КОНТАКТЫ */
.contacts-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 800px;
    background-color: var(--bg-light);
    padding: 20px 0;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-label {
    font-size: 20px;
    font-weight: 400;
    color: var(--dark-blue);
    line-height: 1.5;
}

.contact-value {
    font-size: 20px;
    font-weight: 400;
    color: var(--black);
    line-height: 1.5;
}

/* ПОДВАЛ */
.footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 60px 0 40px;
    width: 100%;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* Верхняя часть подвала */
.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
    padding-left: 60px;
    padding-right: 0;
}

/* Левая часть - меню */
.footer-menu-block {
    flex: 0 0 auto;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu li:last-child {
    margin-bottom: 0;
}

.footer-menu a {
    color: var(--white);
    text-decoration: none;
    font-size: 20px;
    font-weight: 400;
    transition: color 0.3s;
    line-height: 1.5;
}

.footer-menu a:hover {
    color: var(--accent);
}

/* Правая часть - соцсети */
.footer-social-block {
    flex: 0 0 auto;
    text-align: left;
    margin-left: 15px;
}

.footer-social-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 10px;
}

.footer-social-text {
    font-size: 20px;
    font-weight: 400;
    color: var(--white);
    opacity: 0.8;
    line-height: 1.5;
    margin-bottom: 15px;
}

.footer-social-icons {
    display: flex;
    gap: 20px;
}

.footer-social-link {
    display: inline-block;
    transition: transform 0.3s;
}

.footer-social-link:hover {
    transform: translateY(-3px);
}

.footer-social-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

/* Нижняя часть подвала */
.footer-bottom {
    padding-left: 60px;
}

.footer-address,
.footer-phone {
    font-size: 20px;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 5px;
    line-height: 1.5;
}

.footer-copyright {
    font-size: 16px;
    font-weight: 400;
    color: var(--white);
    opacity: 0.7;
    margin-top: 12px;
}

/* Стили для товара в отзыве */
.review-product {
    font-size: 14px;
    color: var(--accent);
    margin-top: 10px;
    font-style: italic;
}

/* Заглушка, если нет отзывов */
.no-reviews {
    text-align: center;
    font-size: 18px;
    color: var(--gray);
    padding: 40px 20px;
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 30px;
}

/* ========== МОБИЛЬНАЯ АДАПТАЦИЯ ========== */
@media (max-width: 768px) {
    /* меню */
    .burger-menu {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--dark-blue);
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 30px 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
        z-index: 1000;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu a {
        font-size: 18px;
    }
    
    /* Логотип */
    .logo {
        gap: 16px;
        font-size: 24px;
        margin-right: 0;
    }
    
    .logo-icon {
        width: 30px;
        height: 30px;
    }
    
    /* Заголовки секций */
    .section-title {
        font-size: 16px;
        font-weight: 600;
        text-align: center;
    }
    
    .section-header {
        padding: 15px 0;
    }
    
    .section-header .section-title {
        text-align: center;
    }
    
    /* Расстояние между разделами */
    .section-with-header {
        padding: 0 0 80px 0;
    }
    
    /* Текст о компании и производство */
    .about-text,
    .production-text,
    .love-text {
        font-size: 12px;
        font-weight: 300;
        text-align: center;
    }
    
    /* Галерея производства */
    .production-gallery {
        flex-direction: column;
        gap: 15px;
    }
    
    .production-image {
        width: 100%;
    }
    
    /* Каталог */
    .subsection-title {
        font-size: 14px;
        text-align: center;
        margin: 20px 0;
    }
    
    .catalog-slider {
        gap: 15px;
    }
    
    .product-card {
        width: 100px;
        gap: 8px;
    }
    
    .product-image {
        width: 100px;
        height: 120px;
    }
    
    .product-link {
        font-size: 10px;
        padding: 6px 12px;
        border-radius: 15px;
        width: 100%;
    }
    
    .slider-arrow {
        width: 30px;
        height: 30px;
    }
    
    .arrow-icon {
        width: 30px;
        height: 30px;
    }
    
    /* Преимущества */
    .advantage-block {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        margin-bottom: 40px;
    }
    
    .advantage-image {
        width: 60px;
        height: 60px;
    }
    
    .advantage-title {
        font-size: 14px;
        font-weight: 500;
        margin-bottom: 8px;
    }
    
    .advantage-text {
        font-size: 12px;
        font-weight: 300;
        line-height: 1.4;
    }
    
    /* Отзывы */
    .review-author {
        font-size: 16px;
        font-weight: 300;
    }
    
    .review-date {
        font-size: 12px;
    }
    
    .review-rating .star {
        font-size: 16px;
    }
    
    .review-text {
        font-size: 12px;
        font-weight: 300;
    }

    .review-product {
        font-size: 11px;
        margin-top: 8px;
    }

    /* Адаптация фото для мобильных */
    .review-photos {
        gap: 8px;
    }

    .review-photo {
        width: 70px;
        height: 70px;
    }

    .preview-item {
        width: 60px;
        height: 60px;
    }
    
    .form-title {
        font-size: 16px;
        text-align: center;
    }
    
    .rating-input .star {
        font-size: 24px;
    }
    
    .form-input,
    .form-textarea {
        font-size: 12px;
        padding: 12px;
    }
    
    .photo-label {
        font-size: 14px;
    }
    
    .photo-note {
        font-size: 12px;
    }
    
    .checkbox-wrapper label {
        font-size: 12px;
    }
    
    .btn-submit {
        font-size: 14px;
        padding: 12px 30px;
        align-self: center;
        width: 100%;
    }
    
    /* Контакты */
    .contacts-info {
        gap: 24px;
    }
    
    .contact-label,
    .contact-value {
        font-size: 12px;
        font-weight: 300;
    }
    
    /* Подвал */
    .footer-top {
        flex-direction: column;
        gap: 30px;
        padding-left: 20px;
    }
    
    .footer-social-block {
        margin-left: 0;
        text-align: left;
    }
    
    .footer-social-icons {
        justify-content: flex-start;
    }
    
    .footer-bottom {
        padding-left: 20px;
    }
    
    .footer-menu a {
        font-size: 14px;
    }
    
    .footer-social-title {
        font-size: 16px;
    }
    
    .footer-social-text {
        font-size: 12px;
        font-weight: 300;
    }
    
    .footer-address,
    .footer-phone {
        font-size: 12px;
        font-weight: 300;
    }
    
    .footer-copyright {
        font-size: 10px;
    }
}