/* ========== ОСНОВНЫЕ СТИЛИ ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #90ed90;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px; /* Отступ сверху при прокрутке к якорям */
}


/* ========== ШАПКА ========== */
.header {
    background-color: #90ed90;
    padding: 15px 30px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Добавляем вычисление высоты шапки для разных экранов */
:root {
    --header-height: 90px; /* базовое значение */
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
}

@media (max-width: 480px) {
    :root {
        --header-height: 60px;
    }
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo-block {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.logo-img {
    height: 60px;
    width: auto;
}

@media (max-width: 480px) {
    .logo-img {
        height: 30px;
    }
}

.logo-text {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1rem;
    }
}

.header-contacts {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.header-phone {
    font-size: 1.3rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    background-color: #2E8B57;
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.header-phone:hover {
    background-color: #1d5e3e;
    color: white;
    text-decoration: none;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .header-phone {
        font-size: 0.8rem;
        padding: 4px 8px;
    }
}

@media (max-width: 480px) {
    .header-phone {
        font-size: 0.7rem;
        padding: 4px 6px;
    }
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s;
    text-decoration: none;
}

.social-icon:hover {
    transform: scale(1.15);
    color: white;
    text-decoration: none;
}

@media (max-width: 768px) {
    .social-icon {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .social-icon {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }
}

.whatsapp {
    background-color: #25D366;
}

.whatsapp:hover {
    background-color: #128C7E;
}

.telegram {
    background-color: #0088cc;
}

.telegram:hover {
    background-color: #006699;
}

.max {
    background-color: #1E3A8A;
}

.max:hover {
    background-color: #2563EB;
}

/* ========== МЕНЮ ========== */
.nav-menu {
    background-color: #2E8B57;
    padding: 10px 15px;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: sticky;
    top: var(--header-height); /* Используем CSS-переменную */
    z-index: 99;
}

/* Делаем меню компактнее на мобильных */
@media (max-width: 768px) {
    .nav-menu {
        padding: 5px 10px; /* Уменьшаем padding */
        gap: 4px; /* Уменьшаем расстояние между кнопками */
    }
    
    .nav-btn {
        padding: 3px 8px; /* Уменьшаем внутренние отступы */
        font-size: 0.7rem; /* Уменьшаем шрифт */
        min-width: 60px; /* Уменьшаем минимальную ширину */
        border-width: 1px; /* Делаем рамку тоньше */
    }
}

@media (max-width: 480px) {
    .nav-menu {
        padding: 3px 5px; /* Ещё меньше padding */
        gap: 2px; /* Минимальное расстояние между кнопками */
    }
    
    .nav-btn {
        padding: 2px 5px; /* Минимальные отступы */
        font-size: 0.6rem; /* Ещё меньше шрифт */
        min-width: 50px; /* Минимальная ширина */
        border-radius: 20px; /* Чуть уменьшаем скругление */
    }
    
    /* Для самого маленького экрана можно сделать кнопки в 2 строки */
    .nav-menu {
        justify-content: flex-start; /* Выравнивание по левому краю */
        padding: 5px;
    }
}

.nav-btn {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 6px 15px;
    font-size: 0.9rem;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 80px;
    white-space: nowrap; /* Запрещаем перенос текста в кнопке */
}

.nav-btn:hover {
    background-color: white;
    color: #2E8B57;
}

.nav-btn-highlight {
    background-color: #FFD700;
    border-color: #FFD700;
    color: #2E8B57;
}

.nav-btn-highlight:hover {
    background-color: #FFC800;
    border-color: #FFC800;
    color: #1d5e3e;
}

/* Дополнительно для очень маленьких экранов */
@media (max-width: 360px) {
    .nav-btn {
        min-width: 45px;
        font-size: 0.55rem;
        padding: 2px 3px;
    }
}

/* ========== ШАПКА И МЕНЮ ========== */
.header {
    background-color: #90ed90;
    padding: 15px 30px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Убираем position: sticky у меню, делаем его частью шапки */
.nav-menu {
    background-color: #2E8B57;
    padding: 10px 15px;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    /* Убираем position: sticky и top */
    width: 100%;
}

/* Мобильная версия - максимально компактно */
@media (max-width: 768px) {
    .header {
        padding: 8px 15px; /* Уменьшаем отступы шапки */
    }
    
    .nav-menu {
        padding: 5px 8px; /* Уменьшаем отступы меню */
        gap: 4px; /* Уменьшаем расстояние между кнопками */
        margin-top: 5px; /* Небольшой отступ от шапки */
    }
    
    .nav-btn {
        padding: 4px 8px; /* Уменьшаем внутренние отступы */
        font-size: 0.7rem; /* Уменьшаем шрифт */
        min-width: 60px; /* Уменьшаем минимальную ширину */
        border-width: 1px; /* Делаем рамку тоньше */
    }
    
    /* Скрываем текст логотипа на мобилках, оставляем только картинку */
    .logo-text {
        font-size: 1.2rem;
    }
    
    /* Делаем иконки соцсетей меньше */
    .social-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .header-phone {
        font-size: 0.9rem;
        padding: 5px 10px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 5px 10px; /* Минимальные отступы */
    }
    
    .logo-img {
        height: 35px; /* Уменьшаем логотип */
    }
    
    .logo-text {
        font-size: 1rem; /* Уменьшаем текст логотипа */
    }
    
    .header-phone {
        font-size: 0.7rem;
        padding: 3px 6px;
        gap: 3px;
    }
    
    .social-icon {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .nav-menu {
        padding: 3px 5px; /* Минимальные отступы */
        gap: 3px;
        margin-top: 3px;
    }
    
    .nav-btn {
        padding: 3px 5px; /* Минимальные внутренние отступы */
        font-size: 0.55rem; /* Очень маленький шрифт */
        min-width: 45px; /* Минимальная ширина */
        border-radius: 15px; /* Уменьшаем скругление */
    }
    
    /* Для очень маленьких экранов делаем кнопки в 2 строки */
    .nav-menu {
        justify-content: center;
    }
}

@media (max-width: 360px) {
    .logo-text {
        display: none; /* Прячем текст логотипа на совсем маленьких */
    }
    
    .header-phone span {
        display: none; /* Прячем текст "Телефон", оставляем только иконку */
    }
    
    .header-phone i {
        margin-right: 0; /* Убираем отступ у иконки */
    }
    
    .nav-btn {
        min-width: 40px;
        font-size: 0.5rem;
        padding: 2px 3px;
    }
}
/* ========== КАРУСЕЛЬ ========== */
.carousel-section {
    background-color: #90ed90;
    padding: 30px 20px;
}

#mainCarousel {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    height: 400px;
    position: relative;
}

.carousel-inner {
    height: 100%;
}

.carousel-item {
    height: 100%;
    background-color: #f0f0f0; /* фон на случай прозрачности */
}

/* Исправляем отображение фото */
.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: contain;  /* меняем с cover на contain */
    background-color: #90ed90; /* фон под фото */
}

/* Затемняем фон для лучшей видимости светлых фото */
.carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.05); /* легкое затемнение */
    pointer-events: none;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;  /* фиксированная ширина */
    height: 50px;
    background: #2E8B57;
    border: 3px solid white;
    border-radius: 50%;
    opacity: 0.9;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: #1d5e3e;
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
}

/* Меняем иконки на красивые стрелки */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-image: none;
    width: auto;
    height: auto;
    font-size: 2rem;
    line-height: 1;
}

.carousel-control-prev-icon::before {
    content: "❮";
    color: white;
}

.carousel-control-next-icon::before {
    content: "❯";
    color: white;
}

/* Адаптация для планшетов */
@media (max-width: 992px) {
    #mainCarousel {
        height: 350px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .carousel-control-prev-icon::before,
    .carousel-control-next-icon::before {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    #mainCarousel {
        height: 300px;
        border-radius: 15px;
    }
    
    .carousel-control-prev {
        left: 10px;
    }
    
    .carousel-control-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    #mainCarousel {
        height: 250px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 35px;
        height: 35px;
    }
}
/* ========== БРОНИРОВАНИЕ ========== */
.booking-section {
    background-color: #90ed90;
    padding: 40px 20px;
    border-top: 3px solid #2E8B57;
    border-bottom: 3px solid #2E8B57;
}

.booking-container {
    max-width: 1200px;
    margin: 0 auto;
}

.booking-title {
    text-align: center;
    color: #1d5e3e;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.booking-form {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    flex-wrap: wrap;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-group {
    flex: 1;
    min-width: 150px;
}

.form-group label {
    display: block;
    font-weight: bold;
    color: #1d5e3e;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

 .form-control {
    width: 100%;
    padding: 8px 15px;  
    border: 2px solid #2E8B57;
    border-radius: 10px;
    font-size: 1rem;
    background-color: white;
    transition: all 0.3s;
} 


 .form-control:focus {
    outline: none;
    border-color: #1d5e3e;
    box-shadow: 0 0 0 3px rgba(46, 139, 86, 0.2);
} 
.fix-chrome-select {
    height: 45px !important;
    line-height: 45px !important;
    padding: 0 10px !important;
    -webkit-appearance: menulist !important;
}
.btn-book {
    background-color: rgb(18, 90, 18);
    border: none;
    color: white;
    padding: 12px 35px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    min-width: 200px;
    height: 50px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-book:hover {
    background-color: #2E8B57;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-book:active {
    transform: translateY(0);
}

.error-message {
    color: #d32f2f;
    font-weight: bold;
    text-align: center;
    margin-top: 15px;
    font-size: 1.1rem;
}


/* ========== МОДАЛЬНЫЕ ОКНА ========== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    position: relative;
}

.close {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

.close:hover {
    color: #1d5e3e;
}

.modal h3 {
    color: #1d5e3e;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.5rem;
}

.modal-form-group {
    margin-bottom: 20px;
}

.modal-form-group label {
    display: block;
    font-weight: bold;
    color: #1d5e3e;
    margin-bottom: 8px;
}

.modal-form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
}

.modal-form-group input:focus {
    outline: none;
    border-color: #2E8B57;
    box-shadow: 0 0 0 3px rgba(46, 139, 86, 0.1);
}

.btn-submit {
    width: 100%;
    background-color: #2E8B57;
    color: white;
    border: none;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    background-color: #1d5e3e;
    transform: translateY(-2px);
}

/* ========== О НАС ========== */
.about-section {
    padding: 60px 20px;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    color: #1d5e3e;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #2E8B57;
    border-radius: 2px;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
}

.about-image {
    flex: 1;
    min-width: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.about-image:hover {
    transform: scale(1.02);
}

.about-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-quote {
    font-size: 1.3rem;
    font-style: italic;
    color: #1d5e3e;
    margin-bottom: 25px;
    padding-left: 20px;
    border-left: 4px solid #2E8B57;
    line-height: 1.6;
}

.about-quote cite {
    display: block;
    margin-top: 10px;
    font-size: 1rem;
    color: #666;
    font-style: normal;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

/* ========== ДОМИКИ ========== */
.houses-section {
    background-color: #90ed90;
    padding: 60px 20px;
}

.houses-container {
    max-width: 1200px;
    margin: 0 auto;
}

.houses-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.house-card {
    width: 45%;
    min-width: 280px;
    max-width: 450px;
    height: 35vh;
    min-height: 280px;
    border-radius: 50%;
    border: 5px solid #095a28;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

.house-card:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.grid-komponovka-domik_1 {
    background-image: url(media/22.jpg);
    background-size: cover;
    background-position: center;
}

.grid-komponovka-domik_2 {
    background-image: url(media/16.jpg);
    background-size: cover;
    background-position: center;
}

.grid-komponovka-domik_3 {
    background-image: url(media/13.jpg);
    background-size: cover;
    background-position: center;
}

.grid-komponovka-domik_4 {
    background-image: url(media/2.jpg);
    background-size: cover;
    background-position: center;
}

.overlay-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0.8em 1.8em;
    font-size: 1.3rem;
    color: #ff0000;
    font-weight: bold;
    background-color: #052b0d;
    border: none;
    border-radius: 5px;
    transition: all 0.3s;
    cursor: pointer;
    z-index: 2;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.overlay-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    font-size: 1.5rem;
    color: red;
    background-color: rgba(0, 0, 0, 0.8);
}

/* ========== УСЛУГИ ========== */
.services-section {
    background-color: white;
    padding: 60px 20px;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
}

.service-item {
    width: 23%;
    min-width: 250px;
    background: linear-gradient(145deg, #f8f9fa, #e9ecef);
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    overflow: hidden;
    border: 1px solid rgba(46, 139, 86, 0.2);
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(46, 139, 86, 0.2);
    border-color: #2E8B57;
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-item:hover img {
    transform: scale(1.1);
}

.service-content {
    padding: 20px 15px;
}

.service-title {
    color: #1d5e3e;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 10px;
}

/* ========== ГАЛЕРЕЯ ========== */
.gallery-section {
    background-color: #90ed90;
    padding: 60px 20px;
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 20px 0;
    margin-top: 30px;
}

.gallery-photo {
    width: 18%;
    min-width: 150px;
    height: 220px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-photo:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(46, 139, 86, 0.3);
}

.gallery-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 139, 74, 0.95);
    justify-content: center;
    align-items: center;
}

.gallery-modal-content {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    max-height: 100%;
}

.gallery-modal-image {
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

.gallery-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0,0,0,0.3);
    border-radius: 50%;
    line-height: 1;
    padding-bottom: 8px;
    z-index: 1001;
}

.gallery-close:hover {
    color: #90ed90;
    background-color: rgba(0,0,0,0.6);
    transform: rotate(90deg);
}

/* ========== МОДАЛЬНОЕ ОКНО УСЛУГ ========== */
.service-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 139, 74, 0.95);
    justify-content: center;
    align-items: center;
}

.service-modal-content {
    display: flex;
    flex-wrap: wrap;
    background: white;
    border-radius: 20px;
    max-width: 900px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.service-modal-left {
    flex: 1;
    min-width: 250px;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.service-modal-image {
    width: 100%;
    height: auto;
    max-height: 60vh;
    object-fit: contain;
    border-radius: 10px;
}

.service-modal-right {
    flex: 1;
    min-width: 250px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-modal-title {
    color: #1d5e3e;
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.service-modal-description {
    color: #444;
    font-size: 1.1rem;
    line-height: 1.6;
    overflow-y: auto;
    max-height: 50vh;
    padding-right: 10px;
}

.service-modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0,0,0,0.3);
    border-radius: 50%;
    line-height: 1;
    padding-bottom: 8px;
    z-index: 1001;
}

.service-modal-close:hover {
    color: #90ed90;
    background-color: rgba(0,0,0,0.6);
    transform: rotate(90deg);
}

/* ========== АКЦИЯ 1 (Зеленая) ========== */
.promo-card-1 {
    display: flex;
    flex-wrap: wrap;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(46, 139, 86, 0.3);
    position: relative;
    border: 3px solid #2E8B57;
}

.promo-card-1 .promo-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #2E8B57;
    color: white;
    padding: 10px 25px;
    font-weight: bold;
    font-size: 1.2rem;
    border-radius: 50px;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transform: rotate(-5deg);
}

.promo-card-1 .promo-image {
    width: 50%;
    min-width: 300px;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.promo-card-1 .promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-card-1 .promo-discount {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: gold;
    color: #1d5e3e;
    font-size: 4rem;
    font-weight: 900;
    padding: 10px 30px;
    border-radius: 50px;
    transform: rotate(5deg);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.promo-card-1 .promo-content {
    width: 50%;
    min-width: 300px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.promo-card-1 .promo-title {
    color: #1d5e3e;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 2px 2px 0 rgba(255,255,255,0.5);
}

.promo-card-1 .promo-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2E8B57;
    margin: 10px 0;
    background: white;
    display: inline-block;
    padding: 5px 20px;
    border-radius: 30px;
    align-self: flex-start;
}

.promo-card-1 .promo-note {
    color: #1d5e3e;
    font-style: italic;
    margin: 15px 0;
    font-size: 1.1rem;
}

.promo-card-1 .promo-btn {
    background: #2E8B57;
    color: white;
    border: none;
    padding: 15px 35px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    align-self: flex-start;
    margin-top: 20px;
    border: 2px solid white;
}

.promo-card-1 .promo-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* ========== АКЦИЯ 2 (Розовая) ========== */
.promo-card-2 {
    display: flex;
    flex-wrap: wrap;
    background: linear-gradient(135deg, #fce4ec, #f8bbd0);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(255, 107, 107, 0.3);
    position: relative;
    border: 3px solid #FF6B6B;
}

.promo-card-2 .promo-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #FF6B6B;
    color: white;
    padding: 10px 25px;
    font-weight: bold;
    font-size: 1.2rem;
    border-radius: 20px;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transform: rotate(5deg);
}

.promo-card-2 .promo-image {
    width: 50%;
    min-width: 300px;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.promo-card-2 .promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-card-2 .promo-heart {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5rem;
    color: white;
    text-shadow: 0 0 20px #FF6B6B;
    opacity: 0.5;
}

.promo-card-2 .promo-content {
    width: 50%;
    min-width: 300px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255,255,255,0.5);
}

.promo-card-2 .promo-title {
    color: #FF6B6B;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-align: center;
}

.promo-card-2 .promo-price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    margin: 5px 0;
    background: white;
    border-radius: 50px;
    font-weight: bold;
}

.promo-card-2 .promo-price-item span:first-child {
    color: #FF6B6B;
}

.promo-card-2 .promo-price-item span:last-child {
    color: #333;
    font-size: 1.2rem;
}

.promo-card-2 .promo-btn {
    background: #FF6B6B;
    color: white;
    border: none;
    padding: 15px 35px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 20px;
    border: 2px solid white;
}

.promo-card-2 .promo-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.4);
}

/* ========== АКЦИЯ 3 (Синяя) ========== */
.promo-card-3 {
    display: flex;
    flex-wrap: wrap;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(52, 152, 219, 0.3);
    position: relative;
    border: 3px solid #3498db;
}

.promo-card-3 .promo-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #3498db;
    color: white;
    padding: 10px 25px;
    font-weight: bold;
    font-size: 1.2rem;
    border-radius: 30px;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.promo-card-3 .promo-image {
    width: 40%;
    min-width: 300px;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.promo-card-3 .promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-card-3 .promo-content {
    width: 60%;
    min-width: 300px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.promo-card-3 .promo-title {
    color: #3498db;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.promo-card-3 .promo-price-big {
    font-size: 4rem;
    font-weight: 900;
    color: #3498db;
    margin: 20px 0;
    text-shadow: 3px 3px 0 white;
}

.promo-card-3 .promo-desc {
    color: #666;
    font-size: 1.2rem;
    margin: 10px 0;
    font-style: italic;
}

.promo-card-3 .promo-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 15px 35px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 20px;
    border: 2px solid white;
}

.promo-card-3 .promo-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.4);
}

/* Адаптация */
@media (max-width: 768px) {
    .promo-card-1,
    .promo-card-2,
    .promo-card-3 {
        flex-direction: column;
    }
    
    .promo-card-1 .promo-image,
    .promo-card-2 .promo-image,
    .promo-card-3 .promo-image,
    .promo-card-1 .promo-content,
    .promo-card-2 .promo-content,
    .promo-card-3 .promo-content {
        width: 100%;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .carousel-control-prev { left: 10px; }
    .carousel-control-next { right: 10px; }
}

/* ========== КОНТАКТЫ ========== */
.contacts-section {
    background-color: #90ed90;
    padding: 60px 20px;
}

.contacts-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contacts-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.contacts-info {
    flex: 1;
    min-width: 300px;
    background: white;
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.contacts-subtitle {
    color: #1d5e3e;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.contacts-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: #2E8B57;
    border-radius: 2px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #90ed90;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #2E8B57;
    flex-shrink: 0;
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 5px;
}

.contact-value {
    font-size: 1.1rem;
    color: #1d5e3e;
    font-weight: 500;
    text-decoration: none;
}

.contact-value a {
    color: #1d5e3e;
    text-decoration: none;
}

.contact-value a:hover {
    color: #2E8B57;
    text-decoration: underline;
}

.contacts-map {
    flex: 1;
    min-width: 300px;
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    height: 500px;
}

.map-container {
    width: 100%;
    height: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ========== ПОДВАЛ ========== */
.footer {
    background: linear-gradient(135deg, #1a3b2e, #0a2a1f);
    color: white;
    padding: 60px 20px 20px;
    position: relative;
    border-top: 5px solid #2E8B57;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo-icon {
    font-size: 2rem;
    color: #2E8B57;
    background: rgba(255,255,255,0.1);
    padding: 10px;
    border-radius: 50%;
}

.footer-logo-text {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.footer-description {
    color: #aaa;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.footer-title {
    color: white;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #2E8B57;
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-link {
    color: #bbb;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1rem;
}

.footer-link:hover {
    color: white;
    transform: translateX(5px);
}

.footer-contact-icon {
    color: #2E8B57;
    width: 20px;
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-copyright {
    color: #888;
    font-size: 0.9rem;
}

/* ========== АДАПТАЦИЯ ========== */
@media (max-width: 1200px) {
    .services-grid .service-item {
        width: 30%;
    }
}

@media (max-width: 992px) {
    #mainCarousel {
        height: 350px;
    }
    
    .header-phone {
        font-size: 1.1rem;
        padding: 8px 15px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }
    
    .about-img {
        height: 450px;
    }
    
    .about-quote {
        font-size: 1.2rem;
    }
    
    .house-card {
        width: 45%;
        height: 30vh;
        min-height: 240px;
    }
    
    .overlay-button {
        font-size: 1.2rem;
        padding: 0.7em 1.5em;
    }
    
    .services-grid .service-item {
        width: 30%;
    }
    
    .service-image {
        height: 180px;
    }
    
    .gallery-photo {
        width: 18%;
        height: 200px;
    }
    
    .promo-image {
        width: 50%;
        height: 350px;
    }
    
    .promo-title {
        font-size: 1.8rem;
    }
    
    .contacts-info {
        padding: 30px;
    }
    
    .contacts-subtitle {
        font-size: 1.5rem;
    }
    
    .contacts-map {
        height: 450px;
    }
}

@media (max-width: 768px) {
    #mainCarousel {
        height: 300px;
    }
    
    .header-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .logo-block {
        justify-content: center;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .header-contacts {
        justify-content: center;
        width: 100%;
    }
    
    .nav-menu {
        gap: 10px;
    }
    
    .nav-btn {
        padding: 8px 15px;
        font-size: 1rem;
        min-width: 100px;
    }
    
    .booking-form {
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
    }
    
    .form-group {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .btn-book {
        width: 100%;
    }
    
    .modal-content {
        margin: 20% auto;
        padding: 20px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        width: 100%;
    }
    
    .about-img {
        height: 400px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-description {
        font-size: 1rem;
    }
    
    .houses-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .house-card {
        width: 80%;
        height: 35vh;
        min-height: 260px;
    }
    
    .overlay-button {
        font-size: 1.3rem;
        padding: 0.7em 1.5em;
    }
    
    .services-grid .service-item {
        width: 45%;
    }
    
    .service-image {
        height: 160px;
    }
    
    .service-title {
        font-size: 1.1rem;
    }
    
    .gallery-photo {
        width: 30%;
        height: 180px;
    }
    
    .gallery-close {
        font-size: 40px;
        top: 15px;
        right: 20px;
    }
    
    .service-modal-content {
        flex-direction: column;
        max-height: 90vh;
    }
    
    .service-modal-left {
        max-height: 40vh;
    }
    
    .service-modal-right {
        padding: 20px;
    }
    
    .service-modal-title {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .service-modal-description {
        font-size: 1rem;
    }
    
    .promo-section {
        padding: 40px 15px;
    }
    
    .promo-card {
        flex-direction: column;
    }
    
    .promo-image {
        width: 100%;
        height: 300px;
    }
    
    .promo-content {
        width: 100%;
        padding: 30px;
    }
    
    .promo-title {
        font-size: 1.5rem;
    }
    
    .promo-description {
        font-size: 1rem;
    }
    
    .promo-discount {
        font-size: 3rem;
        padding: 5px 20px;
    }
    
    .promo-footer {
        flex-direction: column;
        align-items: stretch;
    }
    
    .promo-btn {
        width: 100%;
        text-align: center;
    }
    
    .contacts-grid {
        flex-direction: column;
    }
    
    .contacts-info {
        padding: 25px;
    }
    
    .contacts-map {
        height: 400px;
    }
    
    .footer {
        padding: 40px 15px 15px;
    }
    
    .footer-grid {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-description {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .carousel-section {
        padding: 20px 10px;
    }
    
    #mainCarousel {
        height: 250px;
        border-radius: 15px;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .logo-text-img {
        height: 35px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .header-phone {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    
    .nav-btn {
        padding: 5px 10px;
        font-size: 0.9rem;
        min-width: 70px;
    }
    
    .booking-title {
        font-size: 1.5rem;
    }
    
    .modal-content {
        margin: 30% auto;
        padding: 15px;
    }
    
    .about-section {
        padding: 40px 15px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .about-img {
        height: 300px;
    }
    
    .about-quote {
        font-size: 1rem;
        padding-left: 15px;
    }
    
    .house-card {
        width: 90%;
        height: 30vh;
        min-height: 200px;
        border-width: 3px;
    }
    
    .overlay-button {
        font-size: 1.1rem;
        padding: 0.5em 1.2em;
    }
    
    .overlay-button:hover {
        font-size: 1.2rem;
    }
    
    .services-grid .service-item {
        width: 90%;
    }
    
    .service-image {
        height: 200px;
    }
    
    .gallery-photo {
        width: 45%;
        height: 150px;
        border-radius: 8px;
    }
    
    .gallery-close {
        font-size: 35px;
        width: 40px;
        height: 40px;
    }
    
    .service-modal-close {
        font-size: 40px;
        width: 40px;
        height: 40px;
        top: 10px;
        right: 15px;
    }
    
    .promo-image {
        height: 250px;
    }
    
    .promo-content {
        padding: 20px;
    }
    
    .promo-title {
        font-size: 1.3rem;
    }
    
    .promo-discount {
        font-size: 2.5rem;
        bottom: 10px;
        right: 10px;
    }
    
    .promo-badge {
        font-size: 0.8rem;
        padding: 5px 15px;
    }
    
    .contacts-section {
        padding: 40px 15px;
    }
    
    .contact-item {
        gap: 15px;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .contact-value {
        font-size: 0.95rem;
    }
    
    .contacts-map {
        height: 300px;
    }
    
    .footer-logo-text {
        font-size: 1.5rem;
    }
}
/* ========== КАРУСЕЛЬ АКЦИЙ ========== */
.promo-carousel {
    position: relative;
    margin-top: 40px;
}

.promo-carousel-inner {
    position: relative;
    min-height: 450px;
}

.promo-carousel-item {
    display: none;
    width: 100%;
}

.promo-carousel-item.active {
    display: block !important;
}

/* Кнопки навигации */
.promo-carousel .carousel-control-prev,
.promo-carousel .carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: #2E8B57;
    border: 3px solid white;
    border-radius: 50%;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.promo-carousel .carousel-control-prev {
    left: -25px;
}

.promo-carousel .carousel-control-next {
    right: -25px;
}

/* Индикаторы */
.promo-carousel .carousel-indicators {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    padding: 0;
    list-style: none;
}

.promo-carousel .carousel-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: rgba(46, 139, 86, 0.3);
    border: 2px solid #2E8B57;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
}

.promo-carousel .carousel-dot.active {
    background-color: #2E8B57;
    transform: scale(1.2);
}

/* Адаптация */
@media (max-width: 768px) {
    .promo-carousel .carousel-control-prev {
        left: -15px;
    }
    .promo-carousel .carousel-control-next {
        right: -15px;
    }
}
/* ========== УМЕНЬШАЕМ И ЦЕНТРИРУЕМ АКЦИИ ========== */

/* Центрируем весь блок */
.promo-section .promo-container {
    max-width: 990px;  /* Уменьшили ширину */
    margin-left: auto;
    margin-right: auto;  /* Это центрирует по горизонтали */
}

/* Центрируем карусель */
.promo-carousel {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Центрируем кнопки навигации */
.promo-carousel .carousel-control-prev {
    left: -35px;  /* Чуть сдвинули левую кнопку */
}

.promo-carousel .carousel-control-next {
    right: -35px;  /* Чуть сдвинули правую кнопку */
}

/* Уменьшаем карточки */
.promo-card-1,
.promo-card-2,
.promo-card-3 {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.promo-card-1 .promo-image,
.promo-card-2 .promo-image,
.promo-card-3 .promo-image {
    height: 350px;  /* Было 400px */
}

.promo-card-1 .promo-content,
.promo-card-2 .promo-content,
.promo-card-3 .promo-content {
    padding: 30px;  /* Было 40px */
}

.promo-card-1 .promo-title,
.promo-card-2 .promo-title,
.promo-card-3 .promo-title {
    font-size: 2rem;  /* Было 2.5rem */
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .promo-section .promo-container {
        max-width: 95%;
    }
    
    .promo-carousel .carousel-control-prev {
        left: -15px;
    }
    
    .promo-carousel .carousel-control-next {
        right: -15px;
    }
}
/* ========== НОВЫЕ КНОПКИ ДЛЯ ГЛАВНОЙ КАРУСЕЛИ ========== */

#mainCarousel .carousel-control-prev,
#mainCarousel .carousel-control-next {
    width: 50px;
    height: 50px;
    background: #2E8B57;
    border: 3px solid white;
    border-radius: 50%;
    opacity: 1;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

#mainCarousel .carousel-control-prev {
    left: 20px;
}

#mainCarousel .carousel-control-next {
    right: 20px;
}

#mainCarousel .carousel-control-prev:hover,
#mainCarousel .carousel-control-next:hover {
    background: #1d5e3e;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

/* Меняем иконки на стрелки как в блоке акций */
#mainCarousel .carousel-control-prev-icon,
#mainCarousel .carousel-control-next-icon {
    background-image: none;
    width: auto;
    height: auto;
    font-size: 2rem;
    line-height: 1;
}

#mainCarousel .carousel-control-prev-icon::before {
    content: "❮";
    color: white;
}

#mainCarousel .carousel-control-next-icon::before {
    content: "❯";
    color: white;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    #mainCarousel .carousel-control-prev {
        left: 10px;
    }
    
    #mainCarousel .carousel-control-next {
        right: 10px;
    }
}
/* ========== ИСПРАВЛЕНИЕ АКЦИИ 2 ========== */

.promo-card-2 .promo-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #FF6B6B;
    color: white;
    padding: 10px 25px;
    font-weight: bold;
    font-size: 1.2rem;
    border-radius: 20px;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transform: rotate(5deg);
}

.promo-card-2 .promo-title {
    color: #FF6B6B;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-align: center;
    margin-top: 30px;  /* Добавили отступ сверху */
}

/* Если нужно больше места */
@media (max-width: 768px) {
    .promo-card-2 .promo-title {
        margin-top: 50px;  /* На мобильных еще больше отступ */
    }
}
/* ========== ИСПРАВЛЕНИЕ ФОТО В АКЦИЯХ ========== */

/* Растягиваем карточки по высоте */
.promo-card-1,
.promo-card-2,
.promo-card-3 {
    align-items: stretch;
    min-height: auto;
}

/* Фото подстраивается под контент */
.promo-card-1 .promo-image,
.promo-card-2 .promo-image,
.promo-card-3 .promo-image {
    height: auto;
    min-height: 350px;
    max-height: 450px;
}

/* Чтобы фото не искажалось */
.promo-card-1 .promo-image img,
.promo-card-2 .promo-image img,
.promo-card-3 .promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Для мобильных */
@media (max-width: 768px) {
    .promo-card-1 .promo-image,
    .promo-card-2 .promo-image,
    .promo-card-3 .promo-image {
        min-height: 250px;
        max-height: 350px;
    }
}
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #2E8B57;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    border: 2px solid white;
}

.back-to-top:hover {
    background: #1d5e3e;
    transform: scale(1.1);
    color: white;
    text-decoration: none;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

