:root {
    --bg-primary: #F5F1E8;
    --bg-secondary: #FAF7F0;
    --bg-dark: #2C2C2C;
    --text-primary: #2C2C2C;
    --text-light: #F5F5F5;
    --accent: #B8956A;
    --accent-light: #D4B896;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --container-width: 1100px;
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body { 
    font-family: var(--font-body); 
    color: var(--text-primary); 
    background: linear-gradient(135deg, var(--bg-primary) 0%, #EFE8DC 100%);
    min-height: 100vh;
    line-height: 1.6; 
    overflow-x: hidden; 
}

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

.container { 
    max-width: var(--container-width); 
    margin: 0 auto; 
    padding: 0 20px;
    width: 100%;
}

/* ========== ХЕДЕР ========== */
.header { 
    padding: 30px 0; 
    background: var(--bg-dark);
    border-bottom: 2px solid var(--accent);
}
.header__content { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    flex-wrap: wrap; 
    gap: 15px; 
}
.header__logo { 
    font-family: var(--font-heading); 
    font-size: 32px; 
    font-weight: 600; 
    letter-spacing: 3px; 
    color: var(--accent-light);
}
.header__info { 
    display: flex; 
    gap: 25px; 
    font-size: 14px; 
    color: #ccc; 
}
.header__info span { 
    color: var(--accent-light); 
}

/* ========== ОСНОВНОЙ КОНТЕНТ ========== */
main { 
    padding: 60px 0; 
}

.section-title { 
    font-family: var(--font-heading); 
    font-size: 38px; 
    font-weight: 400; 
    text-align: center; 
    margin-bottom: 50px; 
    position: relative; 
    color: var(--text-primary);
}
.section-title::after { 
    content: ''; 
    display: block; 
    width: 80px; 
    height: 3px; 
    background: var(--accent);
    margin: 20px auto 0; 
}

/* ========== БЛОК "ОБО МНЕ" ========== */
.about { 
    background: var(--bg-secondary);
    padding: 70px 0;
    border-radius: 12px;
    margin: 40px 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(184, 149, 106, 0.15);
}
.about__grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 50px; 
    align-items: center; 
}
.about__text p { 
    margin-bottom: 18px; 
    font-size: 16px; 
    line-height: 1.8; 
}
.about__intro { 
    font-size: 19px; 
    font-weight: 500; 
    color: var(--text-primary);
    border-left: 3px solid var(--accent);
    padding-left: 20px;
}
.about__image img { 
    border-radius: 8px; 
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
    border: 1px solid rgba(184, 149, 106, 0.2);
}

/* ========== ГАЛЕРЕЯ ========== */
.gallery { 
    margin-top: 90px; 
}

.carousel-wrapper {
    margin-bottom: 80px;
    width: 100%;
}

.carousel__title { 
    font-family: var(--font-heading); 
    font-size: 26px; 
    margin-bottom: 30px; 
    text-align: center; 
    color: var(--accent);
    font-weight: 600;
}

.carousel { 
    position: relative;
    width: 100%;
    overflow: hidden; 
    border-radius: 8px;
    padding: 10px 0; 
}

.carousel__track { 
    display: flex; 
    gap: 20px; 
    transition: transform 0.5s ease;
    will-change: transform;
}

.carousel__slide { 
    min-width: calc(33.333% - 14px); 
    flex-shrink: 0;
    background: #fff;
    padding: 10px;
    border: 2px solid var(--accent);
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.carousel__slide:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* !!! ИСПРАВЛЕНИЕ ВЫСОТЫ КАРТИНОК !!! */
.carousel__slide img { 
    width: 100%; 
    height: 450px; /* Увеличено для десктопа */
    object-fit: cover; 
    border-radius: 4px;
}

/* Кнопки */
.carousel__btn { 
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%); 
    background: #fff;
    border: 2px solid var(--accent);
    width: 44px; 
    height: 44px; 
    border-radius: 50%; 
    cursor: pointer; 
    font-size: 24px; 
    color: var(--accent);
    display: flex; 
    align-items: center; 
    justify-content: center; 
    transition: all 0.3s ease; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.2); 
    z-index: 10;
    line-height: 1;
}
.carousel__btn:hover { 
    background: var(--accent); 
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.carousel__btn.prev { left: 15px; }
.carousel__btn.next { right: 15px; }

/* ========== ОТЗЫВЫ ========== */
.reviews__grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
}
.review-card { 
    background: var(--bg-secondary);
    padding: 35px; 
    border-radius: 12px; 
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent);
}
.review-card:hover { 
    transform: translateY(-6px); 
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}
.review-card__text { 
    font-style: italic; 
    margin-bottom: 20px; 
    color: #555; 
    line-height: 1.7; 
}
.review-card__author { 
    font-weight: 600; 
    color: var(--accent); 
    font-size: 14px; 
}

/* ========== ФУТЕР ========== */
.footer { 
    background: var(--bg-dark);
    color: var(--text-light); 
    padding: 70px 0 35px; 
    text-align: center; 
    margin-top: 100px;
    border-top: 3px solid var(--accent);
}
.footer .section-title { 
    color: var(--text-light); 
}
.footer .section-title::after { 
    background: var(--accent-light); 
}
.footer__info { 
    max-width: 600px; 
    margin: 0 auto 35px; 
}
.footer__info p { 
    margin-bottom: 18px; 
    font-size: 16px; 
    color: #ddd; 
}
.footer__info a { 
    color: var(--accent-light); 
    text-decoration: none; 
}
.footer__info a:hover { 
    color: #fff; 
}
.footer__copy { 
    font-size: 13px; 
    color: #888; 
    margin-top: 25px; 
}

/* ========== АНИМАЦИЯ ========== */
.fade-in { 
    opacity: 0; 
    transform: translateY(30px); 
    transition: opacity 0.8s ease, transform 0.8s ease; 
}
.fade-in.visible { 
    opacity: 1; 
    transform: translateY(0); 
}

/* ========== АДАПТИВНОСТЬ ========== */

/* Планшеты */
@media (max-width: 992px) {
    .carousel__slide { 
        min-width: calc(50% - 10px);
    }
    /* Чуть меньше высота для планшета */
    .carousel__slide img { height: 350px; }
}

/* Мобильные */
@media (max-width: 768px) {
    .header { padding: 20px 0; }
    .header__content { 
        flex-direction: column; 
        text-align: center; 
        gap: 12px; 
    }
    .header__logo { 
        font-size: 24px; 
        letter-spacing: 2px; 
    }
    .header__info { 
        flex-direction: column; 
        gap: 6px; 
        font-size: 13px; 
    }
    
    main { padding: 40px 0; }
    .section-title { 
        font-size: 28px; 
        margin-bottom: 35px; 
    }
    
    .about { 
        margin: 30px 0; 
        padding: 40px 25px;
    }
    .about__grid { 
        grid-template-columns: 1fr; 
        gap: 30px; 
    }
    
    .gallery { margin-top: 60px; }
    .carousel-wrapper { margin-bottom: 60px; }
    .carousel__title { 
        font-size: 22px; 
        margin-bottom: 25px; 
    }
    
    .carousel__slide { 
        min-width: 100%; /* 1 слайд на всю ширину */
        padding: 8px;
    }
    
    /* !!! БОЛЬШАЯ ВЫСОТА ДЛЯ МОБИЛЬНЫХ !!! */
    .carousel__slide img { 
        height: 400px; /* Заметно больше, как ты просил */
    }
    
    .carousel__btn { 
        width: 36px; 
        height: 36px; 
        font-size: 18px;
        background: rgba(255, 255, 255, 0.9); 
    }
    .carousel__btn.prev { left: 10px; }
    .carousel__btn.next { right: 10px; }
    
    .reviews__grid { 
        grid-template-columns: 1fr; 
        gap: 25px; 
    }
}

@media (max-width: 480px) {
    .container { padding: 0 15px; }
    /* На совсем маленьких экранах чуть уменьшаем, чтобы влезло */
    .carousel__slide img { height: 360px; }
}