* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 20px 40px;
    min-height: 100vh;
    background-image: url('../images/background/bakery-pattern.jpg');
    background-repeat: repeat;
    background-attachment: fixed;
    background-size: 700px auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    font-family: 'Cormorant Garamond', serif;
    color: #FFE4B5;
    font-size: 22px;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: #D4AF37;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.btn, .nav-link {
    font-family: 'Montserrat', sans-serif;
}

.main-container {
    width: 100%;
    max-width: 1500px;
    background-image: url('../images/background/wooden-board.jpg');
    background-repeat: repeat-y;
    background-position: center top;
    min-height: calc(100vh - 40px);
    background-size: 100% auto;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.8);
}

/* ==================== HEADER ==================== */
.header {
    border-radius: 10px;
    background: rgba(62, 39, 25, 0.95);
    border-bottom: 3px solid #D4AF37;
    padding: 5px 50px;
    padding-top: 8px;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.logo-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid #D4AF37;
    object-fit: cover;
    background: #FFF8DC;
}

.title-img {
    height: 150px;
    width: auto;
    object-fit: contain;
}

.header-contacts {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-icon {
    font-size: 1.2em;
    filter: sepia(1) saturate(3) hue-rotate(350deg) brightness(1.2);
}

.contact-link {
    color: #FFE4B5;
    text-decoration: none;
    font-size: 1em;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #D4AF37;
}

.contact-text {
    color: #FFE4B5;
    font-size: 1em;
}

/* ==================== HERO ==================== */
.hero {
    padding: 60px 40px;
    padding-bottom: 110px;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.hero-image {
    flex: 1;
    min-width: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    border: 5px solid #D4AF37;
}

.hero-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.4em;
    color: #FFE4B5;
    margin-bottom: 40px;
    line-height: 1.6;
}

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

/* ==================== BUTTONS ==================== */
.btn {
    padding: 15px 40px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: 'Montserrat', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, #D4AF37, #FFD700);
    color: #3E2719;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #FFD700, #D4AF37);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6);
}

.btn-secondary {
    background: transparent;
    color: #D4AF37;
    border: 3px solid #D4AF37;
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.2);
    transform: translateY(-3px);
}

.btn-small {
    padding: 12px 30px;
    font-size: 1em;
    background: linear-gradient(135deg, #D4AF37, #FFD700);
    color: #3E2719;
    border-radius: 8px;
    cursor: pointer;
}

.btn-small:hover {
    background: linear-gradient(135deg, #FFD700, #D4AF37);
    transform: translateY(-3px);
}

/* ==================== HITS ==================== */
.hits {
    padding: 0 40px;
    margin: 40px 0;
}

.section-title {
    font-size: 3em;
    text-align: center;
    margin-bottom: 60px;
}

.hits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);  /* 2 колонки */
    gap: 40px;
    max-width: 1000px;  /* чуть уже, чтобы карточки не были слишком широкими */
    margin: 0 auto;
}

/* Адаптивность для мобильных */
@media (max-width: 700px) {
    .hits-grid {
        grid-template-columns: 1fr;  /* на телефонах 1 колонка */
    }
}

.hit-card {
    background: rgba(62, 39, 25, 0.7);
    border: 3px solid #D4AF37;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.hit-card:hover {
    transform: translateY(-10px);
    border-color: #FFD700;
}

.hit-image {
    width: 100%;
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 2px solid #D4AF37;
}

.hit-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.hit-title {
    font-size: 1.8em;
    margin-bottom: 15px;
}

.hit-description {
    font-size: 1.1em;
    color: #FFE4B5;
    margin-bottom: 20px;
}

.hit-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5em;
    color: #FFD700;
    font-weight: 700;
    margin-bottom: 25px;
}

/* ==================== ABOUT ==================== */
.about {
    padding: 80px 40px;
    background: rgba(62, 39, 25, 0.70);
    border-top: 3px solid #D4AF37;
    border-bottom: 3px solid #D4AF37;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
}

.about-content {
    display: flex;
    gap: 60px;
    align-items: center;
    /* flex-wrap: wrap; */
}

.about-text {
    flex: 1;
    min-width: 400px;
}

.about-lead {
    font-size: 1.5em;
    font-style: italic;
    color: #FFD700;
    margin-bottom: 50px;
    text-align: center;
}

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

.advantage-item {
    text-align: center;
    padding: 25px 20px;
    background: rgba(212, 175, 55, 0.08);
    border: 2px solid #D4AF37;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.advantage-item:hover {
    background: rgba(212, 175, 55, 0.18);
    transform: translateY(-8px);
}

.advantage-icon {
    font-size: 3.5em;
    margin-bottom: 15px;
}

.advantage-item h4 {
    font-size: 1.5em;
    margin-bottom: 12px;
}

.advantage-item p {
    font-size: 1.1em;
    color: #FFE4B5;
}

/* ==================== ТЕКСТОВЫЙ СЛАЙДЕР ==================== */
.about-slider {
    flex: 1;
    min-width: 400px;
}

/* ==================== ФИКСИРОВАННЫЙ ТЕКСТОВЫЙ СЛАЙДЕР ==================== */
.text-slider-container {
    width: 100%;
    max-width: 680px;
    min-height: 510px;
    height: auto;
    position: relative;
    background: rgba(62, 39, 25, 0.5);
    border: 5px solid #D4AF37;
    border-radius: 20px;
    padding: 30px 25px;
    margin: 0 auto;
}

.text-slider {
    position: relative;
    width: 100%;
    min-height: 350px;
}

.text-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    padding: 5px;
}

.text-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

/* Фиксированная высота для всех слайдов — содержимое прокручивается */
.text-slide {
    max-height: 380px;
    overflow-y: auto;
    padding-right: 12px;
}

/* Красивый скроллбар */
.text-slide::-webkit-scrollbar {
    width: 5px;
}

.text-slide::-webkit-scrollbar-track {
    background: #3E2719;
    border-radius: 4px;
}

.text-slide::-webkit-scrollbar-thumb {
    background: #D4AF37;
    border-radius: 4px;
}

.text-slide::-webkit-scrollbar-thumb:hover {
    background: #FFD700;
}

/* Иконка и заголовок */
.slide-icon {
    font-size: 3em;
    text-align: center;
    margin-bottom: 15px;
}

.slide-title {
    font-size: 1.6em;
    text-align: center;
    margin-bottom: 20px;
    color: #D4AF37;
}

.slide-text {
    font-size: 1em;
    line-height: 1.5;
    color: #FFE4B5;
    margin-bottom: 12px;
}

/* Кнопки управления */
.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 25px;
}

.slider-btn {
    background: rgba(212, 175, 55, 0.2);
    border: 2px solid #D4AF37;
    color: #D4AF37;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2em;
    transition: all 0.3s;
}

.slider-btn:hover {
    background: #D4AF37;
    color: #3E2719;
    transform: scale(1.05);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #555;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: #D4AF37;
    transform: scale(1.2);
}

.dot:hover {
    background: #FFD700;
}

/* ==================== ФОТО СЛАЙДЕР ==================== */
.photo-slider-section {
    padding: 80px 40px;
}

.photo-slider-container {
    max-width: 1200px;
    margin: 0 auto;
}

.photo-slide {
    display: none;
    position: relative;
    animation: fadeIn 0.5s ease;
    line-height: 0;
}

.photo-slide.active {
    display: block;
}

.slider-img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #FFE4B5;
    padding: 20px;
    text-align: center;
    font-size: 1.1em;
    font-weight: 500;
    z-index: 5;
    pointer-events: none;
}

/* Кнопки управления поверх слайдера */
.photo-slider-wrapper .slider-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 15;
    background: transparent;
    margin-top: 0;
}

.photo-slider-wrapper .slider-btn {
    background: rgba(212, 175, 55, 0.9);
    border: none;
    color: #3E2719;
    font-size: 1.2em;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 15;
}

.photo-slider-wrapper .slider-btn:hover {
    background: #FFD700;
    transform: scale(1.05);
}

.photo-slider-wrapper .slider-dots {
    display: flex;
    gap: 10px;
    z-index: 15;
}

.photo-slider-wrapper .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.photo-slider-wrapper .dot.active {
    background: #FFD700;
    width: 25px;
    border-radius: 10px;
}

.mascot-slide {
    object-fit: contain;
    background: #FFF8DC;
    padding: 0;
}

.photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #FFE4B5;
    padding: 20px;
    text-align: center;
    font-size: 1.1em;
}

/* ==================== УПРАВЛЕНИЕ СЛАЙДЕРАМИ ==================== */
.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.slider-btn {
    background: rgba(212, 175, 55, 0.8);
    border: none;
    color: #3E2719;
    font-size: 1.2em;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-btn:hover {
    background: #FFD700;
    transform: scale(1.05);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #555;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: #FFD700;
    width: 25px;
    border-radius: 10px;
}

/* ==================== CONTACTS ==================== */
.contacts {
    padding: 80px 40px;
    background: rgba(62, 39, 25, 0.7);
    border-top: 3px solid #D4AF37;
    border-bottom: 3px solid #D4AF37;
}

.contacts-container {
    max-width: 1400px;
    margin: 0 auto;
}

.contacts-content {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
    align-items: stretch;
    min-height: 520px;
}

.contacts-info {
    flex: 1;
    min-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-details h3 {
    font-size: 2.2em;
    margin-bottom: 25px;
}

.address, .contact-details p {
    font-size: 1.3em;
    margin: 15px 0;
    color: #FFE4B5;
}

.icon {
    font-size: 1.4em;
    margin-right: 12px;
    color: #FFD700;
}

.highlight {
    font-style: italic;
    color: #FFD700;
    font-size: 1.4em;
    margin-top: 30px;
}

.contacts-interior {
    border-radius: 15px;
    overflow: hidden;
    border: 4px solid #D4AF37;
    max-height: 380px;
}

.interior-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.map-wrapper {
    flex: 1.2;
    min-width: 450px;
    display: flex;
    align-items: center;
}

.map-frame {
    width: 100%;
    height: 480px;
    border: 4px solid #D4AF37;
    border-radius: 15px;
    overflow: hidden;
}

/* ==================== ФОРМА И ОТЗЫВЫ (ДВЕ КОЛОНКИ) ==================== */
.two-columns {
    padding: 20px 40px;
}

.two-columns-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: center;
}

.form-column {
    flex: 1;
    background: rgba(62, 39, 25, 0.7);
    border: 3px solid #D4AF37;
    border-radius: 25px;
    padding: 50px;
}

.form-column .section-title {
    font-size: 2.2em;
    margin-bottom: 15px;
}

.form-subtitle {
    text-align: center;
    color: #FFE4B5;
    font-size: 1.2em;
    margin-bottom: 40px;
    font-style: italic;
}

.form-group {
    margin-bottom: 35px;
}

.form-group label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    color: #D4AF37;
    margin-bottom: 12px;
    font-size: 1.2em;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(30, 20, 10, 0.9);
    border: 2px solid #D4AF37;
    border-radius: 12px;
    color: #FFE4B5;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1em;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.form-group textarea {
    resize: vertical;
}

/* ЗВЁЗДЫ */
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 8px;
}

.star-rating input {
    display: none;
}

.star-rating label {
    font-size: 2.2em;
    color: #555;
    cursor: pointer;
    transition: color 0.2s;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
    color: #FFD700;
}

/* Правая колонка — отзывы */
.reviews-column {
    flex: 1;
}

.reviews-column .section-title {
    font-size: 2em;
    margin-bottom: 30px;
}

/* Статистика */
.rating-stats {
    background: rgba(62, 39, 25, 0.6);
    border: 2px solid #D4AF37;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
}

.rating-stats-container {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.rating-average {
    text-align: center;
    min-width: 120px;
}

.rating-number {
    font-size: 3em;
    font-weight: bold;
    color: #FFD700;
    font-family: 'Montserrat', sans-serif;
}

.rating-stars {
    font-size: 1.2em;
    color: #FFD700;
    letter-spacing: 2px;
    margin: 5px 0;
}

.rating-count {
    font-size: 0.9em;
    color: #FFE4B5;
}

.rating-bars {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rating-bar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9em;
}

.rating-bar-label {
    width: 35px;
    color: #FFD700;
    font-weight: bold;
}

.rating-bar-track {
    flex: 1;
    height: 8px;
    background: #3E2719;
    border-radius: 4px;
    overflow: hidden;
}

.rating-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #D4AF37, #FFD700);
    border-radius: 4px;
    width: 0%;
}

.rating-bar-count {
    width: 40px;
    color: #FFE4B5;
    font-size: 0.8em;
    text-align: right;
}

/* Список отзывов */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 700px;
    overflow-y: auto;
    padding: 20px 10px;
    border: 2px solid #D4AF37;
    border-radius: 15px;
    background: rgba(62, 39, 25, 0.3);
}

.reviews-list::-webkit-scrollbar {
    width: 6px;
}

.reviews-list::-webkit-scrollbar-track {
    background: #3E2719;
    border-radius: 10px;
    margin: 10px 0;
}

.reviews-list::-webkit-scrollbar-thumb {
    background: #D4AF37;
    border-radius: 10px;
}

/* Карточка отзыва */
.review-card {
    background: rgba(62, 39, 25, 0.7);
    border: 2px solid #D4AF37;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-3px);
    border-color: #FFD700;
}

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

.review-stars {
    font-size: 1.2em;
    color: #FFD700;
    letter-spacing: 2px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.avatar-placeholder {
    width: 36px;
    height: 36px;
    background: #D4AF37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1em;
    border: 2px solid #FFD700;
}

.review-author span {
    font-size: 1em;
    font-weight: 600;
    color: #FFD700;
}

.review-text {
    font-size: 0.95em;
    color: #FFE4B5;
    line-height: 1.5;
    margin-bottom: 12px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.review-text.expanded {
    display: block;
    -webkit-line-clamp: unset;
}

.read-more-btn {
    background: none;
    border: none;
    color: #D4AF37;
    cursor: pointer;
    font-size: 0.8em;
    padding: 5px 0;
    margin-bottom: 10px;
    text-decoration: underline;
    font-family: 'Montserrat', sans-serif;
    text-align: left;
}

.read-more-btn:hover {
    color: #FFD700;
}

.review-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

.review-date {
    font-size: 0.7em;
    color: #FFE4B5;
    opacity: 0.6;
}

.load-more-btn {
    display: block;
    margin: 30px auto 0;
    padding: 12px 30px;
    cursor: pointer;
}

/* ==================== FOOTER ==================== */
.footer {
    background: rgba(62, 39, 25, 0.95);
    border-top: 4px solid #D4AF37;
    padding: 20px;
    text-align: center;
    color: #FFE4B5;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid #D4AF37;
}

.footer-logo p {
    margin-top: 10px;
}


/* ==================== ОБЩИЕ ЭЛЕМЕНТЫ ==================== */
.gold-divider {
    height: 3px;
    background: linear-gradient(90deg, transparent, #D4AF37, #FFD700, #D4AF37, transparent);
    margin: 60px auto;
    max-width: 1200px;
    border-radius: 3px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==================== АДАПТИВНОСТЬ ==================== */
@media (max-width: 1200px) {
    .hero-content,
    .two-columns-container {
        flex-direction: column;
    }
    
    .hero-image,
    .hero-text,
    .about-text,
    .about-slider,
    .form-column,
    .reviews-column {
        min-width: auto;
        width: 100%;
    }
    
    .hero-img,
    .slider-img {
        height: 350px;
    }
    
    .hits-grid {
        grid-template-columns: 1fr;
    }
    
    .contacts-content {
        flex-direction: column;
    }
    
    .contacts-info,
    .map-wrapper {
        min-width: auto;
    }
    
    .map-frame {
        height: 350px;
    }
    
    .slide-title {
        font-size: 1.4em;
    }
    
    .slide-text {
        font-size: 1em;
    }
}

.photo-slider-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 4px solid #D4AF37;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    background: #000;
}

.mascot-on-slider {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 100px;
    height: 100px;
    z-index: 20;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

.mascot-on-slider:hover {
    transform: scale(1.05);
}

.mascot-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    background: rgba(255, 248, 220, 0.9);
    border: 2px solid #D4AF37;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

@media (max-width: 900px) {
    .mascot-on-slider {
        width: 70px;
        height: 70px;
        bottom: 10px;
        right: 10px;
    }
}
.review-text-wrapper {
    width: 100%;
}

.review-text {
    font-size: 0.95em;
    color: #FFE4B5;
    line-height: 1.5;
    margin-bottom: 8px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.review-text-collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-text-expanded {
    display: block;
    overflow: visible;
}

.read-more-btn {
    background: none;
    border: none;
    color: #D4AF37;
    cursor: pointer;
    font-size: 0.8em;
    padding: 5px 0;
    margin-bottom: 8px;
    text-decoration: underline;
    font-family: 'Montserrat', sans-serif;
    transition: color 0.3s;
    text-align: left;
}

.read-more-btn:hover {
    color: #FFD700;
}
/* Главный контейнер колонок — ограничиваем ширину и включаем перенос */
.two-columns-container {
    display: flex;                /* или grid, как у тебя сейчас */
    flex-wrap: wrap;              /* если flex — важно! */
    gap: 40px;                    /* или как у тебя */
    max-width: 1400px;            /* или какой у тебя контейнер */
    margin: 0 auto;
}

/* Колонки — не дают им сжиматься меньше определённой ширины */
.form-column,
.reviews-column {
    flex: 1 1 400px;              /* минимальная ширина 400px, растягивается */
    min-width: 0;                 /* ← критично! позволяет flex-элементам сжиматься */
}

/* Самое важное — для текста отзывов */
.review-text {
    word-break: break-word;       /* основной вариант — разрывает длинные слова только если нужно */
    overflow-wrap: break-word;    /* современный синоним, лучше поддержка */
    hyphens: auto;                /* автоматические переносы, если браузер поддерживает для русского */

    /* Дополнительная защита от "убийц" */
    max-width: 100%;              /* не даёт выйти за родителя */
    overflow: hidden;             /* на всякий случай */
}

/* Если хочешь максимально жёстко (но текст будет выглядеть хуже) */
.review-text--force-break {
    word-break: break-all;        /* разрывает в любом месте, даже посередине слова */
}

/* Или комбинированный вариант (часто самый красивый) */
.review-text {
    word-break: break-word;       /* основной */
    overflow-wrap: anywhere;      /* позволяет разбивать даже без пробелов, но аккуратнее break-all */
}
.review-text {
    max-height: 120px;            /* или сколько нравится */
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.review-text:not(.review-text-collapsed) {
    max-height: none;
}

.social-links {
    display: flex;
    gap: 20px;                /* расстояние между иконками */
    align-items: center;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;              /* размер иконки */
    height: 40px;
    border-radius: 50%;       /* круглые, если хочешь */
    background: #222;         /* тёмный фон под иконку, под твой стиль измени */
    color: #ffd700;           /* золотой цвет иконок */
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 35px;          /* для Font Awesome */
}

.social-icon:hover {
    transform: scale(1.15);
    background: #ffd700;
    color: #222;
}

/* Если используешь PNG вместо Font Awesome */
.social-img {
    width: 32px;              /* подгони под дизайн */
    height: 32px;
    object-fit: contain;
}

/* Для круглых PNG-иконок можно добавить */
.social-icon img {
    border-radius: 50%;
}

/* ==================== СЛАЙДЕРЫ В КАРТОЧКАХ ==================== */
.hit-slider-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
}

.hit-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hit-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease;
}

.hit-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.hit-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Кнопки навигации */
.hit-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid #D4AF37;
    color: #D4AF37;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    z-index: 10;
    transition: all 0.3s;
}

.hit-slider-btn:hover {
    background: #D4AF37;
    color: #3E2719;
}

.hit-prev {
    left: 10px;
}

.hit-next {
    right: 10px;
}

/* Точки */
.hit-slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.hit-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.hit-dot.active {
    background: #D4AF37;
    transform: scale(1.2);
}

.hit-dot:hover {
    background: #FFD700;
}
/* ==================== СТАТИЧНОЕ ФОТО В БЛОКЕ О НАС ==================== */
.about-content {
    display: flex;
    gap: 60px;
    align-items: center;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 500px;
}

.about-image {
    flex: 1;
    min-width: 500px;
    text-align: center;
    display: flex;
    justify-content: center;
}

.about-static-img {
    width: 100%;
    max-width: 600px;
    border: 3px solid #D4AF37;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-static-img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
}

/* Адаптивность */
@media (max-width: 900px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-text, .about-image {
        min-width: auto;
        width: 100%;
    }
    
    .about-static-img {
        max-width: 80%;
    }
}

.advantage-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.advantage-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}



/* Стили для буквы M */
.max-letter {
    font-family: system-ui, -apple-system, Arial, sans-serif;
    font-weight: 900;
    font-size: 29px;               /* подбери размер под свои иконки */
    line-height: 1;
    color: #facc15;                /* ← ЖЁЛТАЯ буква по умолчанию */
    transition: color 0.3s ease;
}

/* При наведении на круг — меняем цвет буквы */
.max-icon:hover .max-letter {
    color: #1e2937;                   /* буква становится чёрной */
}

.review-text {
    font-size: 0.95em;
    color: #FFE4B5;
    line-height: 1.5;
    margin-bottom: 8px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
    max-height: none;
    overflow: visible;
}

.review-text.collapsed {
    max-height: 4.5em; /* 3 строки примерно */
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.review-text.expanded {
    max-height: none;
    overflow: visible;
}
.review-card {
    background: rgba(62, 39, 25, 0.7);
    border: 2px solid #D4AF37;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
}

.review-text-full {
    font-size: 0.95em;
    color: #FFE4B5;
    line-height: 1.5;
    margin: 12px 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
}

/* ==================== АДАПТАЦИЯ ПОД ТЕЛЕФОНЫ ==================== */
@media (max-width: 788px) {
    body {
        padding: 10px;
    }
    
    .main-container {
        border-radius: 0;
    }
    
    /* Шапка */
    .header {
        padding: 10px 15px;
    }
    
    .header-container {
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-template-areas: 
            "logo title contacts"
            "address address address";
        gap: 10px 15px;
        align-items: center;
    }
    
    .logo {
        grid-area: logo;
    }
    
    .site-title {
        grid-area: title;
        justify-self: end;
    }
    
    .header-contacts {
        grid-area: contacts;
        flex-direction: row;
        gap: 12px;
        justify-content: flex-end;
    }
    
    .logo-img {
        width: 120px;
        height: 120px;
    }
    
    .title-img {
        height: 90px;
        max-width: 180px;
    }
    
    .header-contacts {
        flex-direction: row;
        gap: 12px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    
    .contact-item {
        gap: 5px;
    }
    
    .contact-icon {
        font-size: 0.9em;
    }
    
    .contact-link,
    .contact-text {
        font-size: 0.75em;
    }
    /* Hero секция */
    .hero {
        padding: 30px 20px;
    }
    
    .hero-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .hero-image {
        min-width: auto;
    }
    
    .hero-img {
        height: 250px;
    }
    
    .hero-title {
        font-size: 2em;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 1.1em;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    
    /* Секции */
    .hits, .about, .gallery, .contacts, .testimonials, .two-columns, .review-form-section {
        padding: 40px 20px;
    }
    
    .section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }
    
    /* Хиты — 1 колонка */
    .hits-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .hit-card {
        padding: 20px;
    }
    
    .hit-image {
        height: 200px;
    }
    
    .hit-title {
        font-size: 1.5em;
    }
    
    /* О нас — колонки вертикально */
    .about-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .about-text, .about-image-side {
        min-width: auto;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .mascot-wrapper {
        position: static;
        margin-top: 20px;
        display: flex;
        justify-content: center;
    }
    
    .mascot-img {
        width: 120px;
        height: 120px;
    }
    
    /* Галерея */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Контакты — колонки вертикально */
    .contacts-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .contacts-info {
        min-width: auto;
    }
    
    .map-wrapper {
        min-width: auto;
    }
    
    .map-frame {
        height: 300px;
    }
    
    /* Две колонки (форма + отзывы) */
    .two-columns-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .form-column, .reviews-column {
        width: 100%;
    }
    
    .form-column {
        padding: 30px;
    }
    
    .reviews-list {
        max-height: 500px;
        padding: 10px;
    }
    
    /* Форма */
    .form-group input,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 16px;
    }
    
    .star-label {
        font-size: 2em;
        padding: 5px;
    }
    
    /* Отзывы */
    .review-card {
        padding: 15px;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .review-author {
        width: 100%;
        justify-content: flex-start;
    }
    
    /* Статистика рейтинга */
    .rating-stats-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .rating-bars {
        width: 100%;
    }
    
    /* Футер */
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .gold-divider {
        margin: 30px auto;
    }
}

/* Для экранов до 600px */
@media (max-width: 600px) {
    .header-container {
        grid-template-areas: 
            "logo title"
            "contacts contacts";
        grid-template-columns: auto 1fr;
    }
    
    .header-contacts {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        margin-top: 5px;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .logo-img {
        width: 120px;
        height: 120px;
    }
    
    .title-img {
        height: 90px;
        max-width: 180px;
    }
}

/* Для экранов до 480px */
@media (max-width: 480px) {
    .header-container {
        gap: 10px;
    }
    
    .logo-img {
        width: 120px;
        height: 120px;
    }
    
    .title-img {
        height: 90px;
        max-width: 180px;
    }
    
    .contact-link,
    .contact-text {
        font-size: 0.7em;
    }
    .hero-title {
        font-size: 1.6em;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        text-align: center;
    }
    
    .section-title {
        font-size: 1.6em;
    }
    
    .form-column {
        padding: 20px;
    }
    
    .star-label {
        font-size: 1.8em;
    }
}

