/* Сброс стилей и базовые настройки */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: #7b9981;
    background: #7b9981;
    min-height: 100vh;
    overflow-x: hidden;
    /* Мобильная оптимизация */
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Исправляем горизонтальный скролл */
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 0;
}

/* Глобальное исправление горизонтального скролла */
html {
    overflow-x: hidden;
    width: 100%;
}

* {
    box-sizing: border-box;
    max-width: 100%;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
}

/* Современные переменные */
:root {
    --primary-color: #7b9981;
    --secondary-color: #A8D5BA;
    --accent-color: #6FBF8F;
    --dark-color: #2E5A3E;
    --light-color: #F8F6F0;
    --white: #ffffff;
    --shadow-light: 0 4px 20px rgba(123, 153, 129, 0.1);
    --shadow-medium: 0 8px 32px rgba(123, 153, 129, 0.15);
    --shadow-heavy: 0 16px 48px rgba(123, 153, 129, 0.2);
    --border-radius: 20px;
    --border-radius-small: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-family: 'Manrope', sans-serif;
}

/* Навигация */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #f5f5dc 0%, #e8e4d9 100%);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(123, 153, 129, 0.2);
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(123, 153, 129, 0.1);
}

.nav-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90px;
    position: relative;
}

.nav-left-wrapper {
    position: absolute;
    left: 24px;
    display: flex;
    align-items: center;
}

.nav-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo-wrapper2 {
    display: flex;
    align-items: center;
}

.nav-logo {
    z-index: 10;
}

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

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(123, 153, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    text-decoration: none;
    transition: var(--transition);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.social-icon:hover {
    background: rgba(123, 153, 129, 0.2);
    transform: scale(1.1);
}



.nav-divider {
    width: 100%;
    padding: 0 24px;
}

.nav-horizontal-line {
    background-color: #c0a289;
    height: 1px;
    opacity: 0.3;
    border: none;
    margin: 0;
}

.nav-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
}

.nav-bottom-menu {
    display: flex;
    align-items: center;
}

.nav-bottom-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.nav-bottom-item {
    padding: 0 25px;
}

.nav-bottom-item:first-child {
    padding-left: 0;
}

.nav-bottom-item:last-child {
    padding-right: 0;
}

.nav-bottom-link {
    text-decoration: none;
    color: rgba(46, 90, 62, 0.8);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

.nav-bottom-link:hover,
.nav-bottom-link.active {
    color: var(--dark-color);
}

.nav-bottom-link.active::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Мобильное меню */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    backdrop-filter: blur(8px);
    padding: 10px;
    padding-top: 350px;
    padding-bottom: 20px;
}

.mobile-menu.active {
    display: flex;
    background: transparent;
}

/* Кнопка закрытия мобильного меню */
.mobile-menu-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease;
    z-index: 2002;
    border: 2px solid white;
    backdrop-filter: blur(10px);
}

.mobile-menu-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.mobile-menu-close svg {
    width: 20px;
    height: 20px;
}

.mobile-menu-content {
    text-align: center;
    padding: 30px 25px;
    max-width: 320px;
    width: 100%;
    background: linear-gradient(135deg, #f5f5dc 0%, #e8e4d9 100%);
    border-radius: 20px;
    border: 1px solid rgba(180, 170, 160, 0.4);
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    max-height: 85vh;
    overflow-y: auto;
    margin: 0 auto;
}

.mobile-nav-links {
    margin-bottom: 30px;
    margin-top: 15px;
}

.mobile-nav-link {
    display: block;
    color: #1a1a1a !important;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    padding: 14px 18px;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    border-radius: 12px;
    margin-bottom: 6px;
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: #1a1a1a !important;
    background: rgba(210, 200, 190, 0.3);
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mobile-social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.mobile-social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7b9981 !important;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid rgba(0, 0, 0, 0.1);
}

.mobile-social-link svg {
    width: 24px;
    height: 24px;
    fill: #7b9981 !important;
}

.mobile-social-link:hover {
    background: var(--primary-color);
    color: white !important;
    transform: scale(1.1);
}

.mobile-social-link:hover svg {
    fill: white !important;
    color: white !important;
}

.mobile-social-link:hover svg path {
    fill: white !important;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 2001;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    padding: 5px;
    background: transparent;
    border: none;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--dark-color);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Скрываем кнопку бургера при открытом меню */
.mobile-menu-toggle.active {
    display: none;
}

.nav-logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.nav-logo a:hover {
    transform: translateY(-2px);
}

.logo-image {
    height: 80px;
    width: 280px;
    max-width: 280px;
    object-fit: contain;
    transition: var(--transition);
}

.nav-logo a:hover .logo-image {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: rgba(46, 90, 62, 0.8);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--dark-color);
}

.nav-link.active::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--dark-color);
    margin: 4px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Основной контент */
.main-content {
    margin-top: 130px; /* Отступ для фиксированной навигации */
    min-height: calc(100vh - 130px);
}

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 56px;
    letter-spacing: 0.3px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--white) 0%, #f8f9fa 100%);
    color: var(--dark-color);
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-light);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--light-color) 0%, #e8e4d9 100%);
    color: var(--dark-color);
    border: 2px solid var(--secondary-color);
    box-shadow: var(--shadow-light);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--dark-color);
    border: 2px solid rgba(123, 153, 129, 0.3);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-light);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 20px 40px;
    font-size: 1.1rem;
    min-height: 64px;
}

/* Hero секция */
.hero {
    background: url('/img/about.jpg') center center/cover no-repeat;
    color: white;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 80vh;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
    max-width: 1400px;
    margin: 0;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    position: relative;
    z-index: 2;
    height: 80vh;
    padding-bottom: 40px;
    width: 100%;
    box-sizing: border-box;
}

.hero-title {
    font-family: var(--font-family);
    font-size: 4.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.1;
    color: var(--white);
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    letter-spacing: -1px;
    max-width: 820px;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 25px;
    opacity: 0.95;
    line-height: 1.5;
    color: rgba(255,255,255,0.9);
    max-width: 760px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

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

.hero-image {
    display: none;
}

.hero-decoration {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-heavy);
    position: relative;
    overflow: hidden;
}

.hero-decoration::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(0deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(360deg); }
}

/* Заголовки страниц */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.2;
}

/* Специальный заголовок для галереи */
.gallery-header {
    background: url('/uploads/photo_2025-07-31_17-54-55.jpg') center center/cover no-repeat !important;
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Специальный заголовок для страницы "Новый год" */
.newyear-page-header {
    background: url('/uploads/photo_2025-08-10_10-59-16.jpg') center center/cover no-repeat !important;
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newyear-page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.35);
    z-index: 1;
}

.newyear-page-header .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.newyear-page-header .page-title { color:#fff; text-shadow:0 4px 20px rgba(0,0,0,0.5); font-size: 4.5rem; }
.newyear-page-header .page-subtitle { color: rgba(255,255,255,0.95); text-shadow:0 2px 10px rgba(0,0,0,0.35); font-size: 1.4rem; }

/* Специальный заголовок для страницы "Отзывы" */
.reviews-page-header {
    background: url('/uploads/4e24b797b4ca4ce2a14d5165f8f51501.jpg-profi_w1500.jpg') center center/cover no-repeat !important;
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviews-page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.reviews-page-header .container { position: relative; z-index: 2; text-align: center; }
.reviews-page-header .page-title { color: #fff; text-shadow: 0 4px 20px rgba(0,0,0,0.5); font-size: 4.5rem; }
.reviews-page-header .page-subtitle { color: rgba(255,255,255,0.95); text-shadow: 0 2px 10px rgba(0,0,0,0.35); font-size: 1.4rem; }

.gallery-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.gallery-header .container {
    position: relative;
    z-index: 2;
}

.gallery-header .page-title {
    color: white;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    font-size: 4.5rem;
    margin-bottom: 25px;
}

.gallery-header .page-subtitle {
    color: rgba(255,255,255,0.95);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    font-size: 1.4rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Специальный заголовок для страницы "О нас" */
.about-page-header {
    background: url('/uploads/photo_2025-07-21_20-50-43.jpg') center center/cover no-repeat !important;
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.about-page-header .container {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.about-page-header .page-title {
    color: white;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    font-size: 4.5rem;
    margin-bottom: 25px;
    text-align: center;
    width: 100%;
}

.about-page-header .page-subtitle {
    color: rgba(255,255,255,0.95);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    font-size: 1.4rem;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

/* Специальный заголовок для страницы "Контакты" */
.contact-page-header {
    background: url('/uploads/photo_2025-08-05_08-40-50.jpg') center center/cover no-repeat !important;
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.contact-page-header .container {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-page-header .page-title {
    color: white;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    font-size: 4.5rem;
    margin-bottom: 25px;
    text-align: center;
    width: 100%;
}

.contact-page-header .page-subtitle {
    color: rgba(255,255,255,0.95);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    font-size: 1.4rem;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

/* Специальный заголовок для страницы "Свадебное оформление" */
.wedding-decoration-page-header {
    background: url('/uploads/photo_2025-07-21_21-19-26.jpg') center center/cover no-repeat !important;
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wedding-decoration-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.wedding-decoration-page-header .container {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.wedding-decoration-page-header .page-title {
    color: white;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    font-size: 4.5rem;
    margin-bottom: 25px;
    text-align: center;
    width: 100%;
}

.wedding-decoration-page-header .page-subtitle {
    color: rgba(255,255,255,0.95);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    font-size: 1.4rem;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

/* Специальный заголовок для страницы "Свадебные букеты" */
.wedding-bouquets-page-header {
    background: url('/uploads/photo_2025-07-21_21-19-56.jpg') center center/cover no-repeat !important;
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wedding-bouquets-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.wedding-bouquets-page-header .container {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.wedding-bouquets-page-header .page-title {
    color: white;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    font-size: 4.5rem;
    margin-bottom: 25px;
    text-align: center;
    width: 100%;
}

.wedding-bouquets-page-header .page-subtitle {
    color: rgba(255,255,255,0.95);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    font-size: 1.4rem;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

/* Специальный заголовок для страницы "Аренда декора" */
.rental-page-header {
    background: url('/uploads/photo_2025-07-21_20-51-24.jpg') center center/cover no-repeat !important;
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rental-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.rental-page-header .container {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.rental-page-header .page-title {
    color: white;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    font-size: 4.5rem;
    margin-bottom: 25px;
    text-align: center;
    width: 100%;
}

.rental-page-header .page-subtitle {
    color: rgba(255,255,255,0.95);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    font-size: 1.4rem;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.page-title {
    font-family: var(--font-family);
    font-size: 4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.page-subtitle {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 50px;
    opacity: 0.95;
    line-height: 1.7;
    color: rgba(255,255,255,0.9);
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Секции */
.section-title {
    font-family: var(--font-family);
    font-size: 3.2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 80px;
    color: var(--dark-color);
    position: relative;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    border-radius: 3px;
}

/* Галерея */
.gallery-section {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--light-color) 0%, #E8E4D9 100%);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 30px;
    margin-top: 60px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-item {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    position: relative;
    aspect-ratio: 4/3;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(123, 153, 129, 0.1);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--secondary-color);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    flex: 1;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.photo-description {
    padding: 25px;
    background: var(--white);
    flex-shrink: 0;
}

.photo-description p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

.no-photos {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 1.1rem;
}

/* Контакты */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #F8F6F0 0%, #A8D5BA 100%);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.contact-item {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    font-size: 3rem;
    margin-right: 25px;
    min-width: 70px;
    text-align: center;
    background: linear-gradient(135deg, #3CB371 0%, #2E8B57 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-details h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
}

.contact-details p {
    color: #666;
    font-size: 1rem;
}

.contact-details a {
    color: #3CB371;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #2E8B57;
}

/* О нас секция */
.about-section {
    padding: 100px 0;
    background: white;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 50px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature {
    text-align: center;
    padding: 30px 20px;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.feature p {
    color: #666;
    line-height: 1.6;
}

/* Популярные работы */
.featured-works {
    padding: 100px 0;
    background: linear-gradient(135deg, #F8F6F0 0%, #E8E4D9 100%);
}

.simple-slider {
    position: relative;
    max-width: 500px;
    margin: 0 auto 50px;
}

.slider-container {
    overflow: hidden;
    border-radius: 12px;
}

.slider-track {
    display: flex;
}

.slider-item {
    width: 100%;
    flex-shrink: 0;
}

.slider-item img {
    width: 100%;
    height: 800px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    aspect-ratio: 3/4;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark-color);
    cursor: pointer;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.slider-btn-prev {
    left: -60px;
}

.slider-btn-next {
    right: -60px;
}

/* Стили для кнопок социальных сетей в контактах */
.contact-social-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    color: white;
}

.telegram-btn {
    background: var(--primary-color);
}

.telegram-btn:hover {
    background: var(--dark-color);
    transform: translateY(-2px);
}

.email-btn {
    background: var(--primary-color);
}

.email-btn:hover {
    background: var(--dark-color);
    transform: translateY(-2px);
}

.whatsapp-btn {
    background: var(--primary-color);
}

.whatsapp-btn:hover {
    background: var(--dark-color);
    transform: translateY(-2px);
}

.social-btn svg {
    width: 20px;
    height: 20px;
}

/* Выпадающее меню для услуг */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-toggle::after {
    content: '▼';
    margin-left: 5px;
    font-size: 10px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 8px 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-link {
    display: block;
    padding: 10px 20px;
    color: var(--dark-color);
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-size: 14px;
}

.dropdown-link:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
}

/* Мобильное выпадающее меню */
.mobile-services-dropdown {
    position: relative;
}

.mobile-dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-dropdown-toggle::after {
    content: '▼';
    margin-left: 10px;
    font-size: 12px;
    transition: transform 0.3s ease;
    color: rgba(255, 255, 255, 0.7);
}

.mobile-services-dropdown.active .mobile-dropdown-toggle::after {
    transform: rotate(180deg);
    color: var(--secondary-color);
}

.mobile-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: rgba(255, 255, 255, 0.08);
    margin: 8px 15px 0 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-services-dropdown.active .mobile-dropdown-menu {
    max-height: 300px;
}

.mobile-dropdown-link {
    display: block;
    padding: 12px 18px;
    color: #1a1a1a !important;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.mobile-dropdown-link:last-child {
    border-bottom: none;
}

.mobile-dropdown-link:hover {
    background: rgba(210, 200, 190, 0.3);
    color: #1a1a1a !important;
    transform: translateX(10px);
}

.mobile-dropdown-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--secondary-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.mobile-dropdown-link:hover::before {
    transform: scaleY(1);
}

/* Стили для страниц услуг */
.service-detail-section {
    padding: 80px 0;
    background: #fff;
}

.service-content {
    display: block;
    max-width: 800px;
    margin: 0 auto;
}

.service-description h2 {
    font-family: var(--font-family);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.service-description h3 {
    font-family: var(--font-family);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 30px 0 15px 0;
}

.service-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 20px;
}

.service-features,
.service-advantages {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.service-features li,
.service-advantages li {
    position: relative;
    padding: 8px 0 8px 25px;
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

.service-features li::before,
.service-advantages li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}



/* Адаптивность для страниц услуг */
@media (max-width: 768px) {
    .service-description h2 {
        font-size: 2rem;
    }
}

.featured-gallery {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}
@media (max-width: 1100px) {
  .featured-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .carousel-container {
    max-width: 500px;
  }
  
  .carousel-item {
    width: 200px;
  }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
  }
  
  .carousel-btn-prev {
    left: 8px;
  }
  
  .carousel-btn-next {
    right: 8px;
  }
}
@media (max-width: 700px) {
  .featured-gallery {
    grid-template-columns: 1fr;
  }
  .featured-item img {
    height: 140px;
  }
  
  .carousel-container {
    max-width: 320px;
  }
  
  .carousel-item {
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .carousel-btn {
    width: 35px;
    height: 35px;
  }
  
  .carousel-btn-prev {
    left: 5px;
  }
  
  .carousel-btn-next {
    right: 5px;
  }
  
  .carousel-img {
    height: 180px;
  }
}
.featured-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    width: 220px;
    aspect-ratio: 3/4;
    background: #fff;
}

.featured-item img {
    width: 100%;
    height: 280px;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}
@media (max-width: 700px) {
  .featured-item {
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  .featured-item img {
    height: 180px;
  }
}

.featured-item:hover {
    transform: translateY(-5px);
}

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

.item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.featured-item:hover .item-overlay {
    transform: translateY(0);
}

.featured-more {
    text-align: center;
    margin-top: 50px;
}

/* Услуги */
.services-section {
    padding: 120px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    margin-top: 60px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(123, 153, 129, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--secondary-color);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    display: inline-block;
    width: 90px;
    height: 90px;
    line-height: 90px;
    background: linear-gradient(135deg, var(--light-color) 0%, #e8e4d9 100%);
    border-radius: 50%;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    transform: scale(1.1);
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--dark-color);
    font-weight: 600;
}

.service-card p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.service-link::after {
    content: '→';
    font-size: 1.2rem;
    transition: var(--transition);
}

.service-link:hover::after {
    transform: translateX(3px);
}

/* Контактная превью */
.contact-preview {
    padding: 100px 0;
    background: linear-gradient(135deg, #7b9981 0%, #7b9981 100%);
    color: #7b9981;
    text-align: center;
}

.contact-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #7b9981;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.contact-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
    color: #7b9981;
    font-weight: 500;
}

.contact-info-preview {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.contact-item-preview {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.contact-item-preview span {
    font-size: 1.5rem;
}

.contact-item-preview a {
    color: #7b9981;
    text-decoration: none;
}

/* Фильтры галереи */
.gallery-filters {
    padding: 40px 0;
    background: white;
    border-bottom: 1px solid #eee;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid #ddd;
    background: white;
    color: #333;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: #A8D5BA;
    background: #A8D5BA;
    color: #333;
}

/* CTA секция */
.gallery-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #7b9981 0%, #7b9981 100%);
    text-align: center;
}

.cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #fff;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Контактная страница */
.contact-section {
    padding: 80px 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2,
.contact-form h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
}

.contact-hours {
    margin-top: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
}

.contact-hours h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
    color: #333;
}

.contact-hours p {
    color: #666;
    margin-bottom: 5px;
}

/* Форма */
.form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    padding: 15px;
    border: 2px solid #e1e1e1;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

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

/* Карта */
.map-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.map-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.map-placeholder {
    background: white;
    border-radius: 15px;
    padding: 60px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 10px;
}

/* Футер */
.footer {
    background: linear-gradient(135deg, var(--dark-color) 0%, #1a3d2a 100%);
    color: white;
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 50px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
    align-items: start;
}

.footer-section h3,
.footer-section h4 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 25px;
    color: var(--white);
    font-weight: 600;
}

.footer-section h3 {
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section p,
.footer-section li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    line-height: 1.7;
    font-size: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-section li:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--secondary-color);
}

/* Контакты слева */
.footer-contacts {
    justify-self: center;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-contacts h4 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
    justify-content: center;
    max-width: 280px;
}

.footer-contact-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-item span {
    line-height: 1.4;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    text-align: center;
}

/* Кнопки контактов в футере */
.footer-contact-buttons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    justify-content: center;
}

.footer-social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.footer-social-icon svg {
    width: 26px;
    height: 26px;
}

.footer-social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Лого по центру */
.footer-logo {
    text-align: center;
    padding: 0 20px;
    margin-top: 20px;
}

.footer-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-logo-img {
    width: 120px;
    height: auto;
    border-radius: 12px;
}

.footer-logo-title {
    color: var(--secondary-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.footer-logo-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin: 0;
    text-align: center;
}

/* Услуги справа */
.footer-services h4 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 600;
}

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

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

.footer-services-list a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-services-list a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
}

/* ===== МОБИЛЬНАЯ ОПТИМИЗАЦИЯ ===== */
@media (max-width: 768px) {
    /* Базовые настройки */
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    /* Убираем левый отступ у навигации */
    .navbar {
        padding-left: 0;
        margin-left: 0;
    }
    
    /* Прижимаем логотип к левому краю */
    .nav-logo-wrapper {
        left: 0 !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
    
    .nav-logo {
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
    
    /* Навигация */
    .nav-left-wrapper {
        display: none;
    }
    
    /* Перемещаем логотип влево */
    .nav-logo-wrapper {
        position: absolute !important;
        left: 0 !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
        z-index: 1000 !important;
    }
    
    .nav-logo-wrapper2 {
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
    
    .nav-logo {
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
    
    .nav-logo a {
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
    
    .nav-bottom {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
        width: 28px;
        height: 22px;
        right: 16px;
        background: transparent;
        border: none;
    }
    
    .mobile-menu-toggle span {
        height: 2px;
        background: var(--dark-color) !important;
        width: 100%;
    }
    
    .nav-main {
        justify-content: flex-start;
        position: relative;
        padding: 10px 0 10px 0;
        height: 70px;
    }
    
    .nav-logo-wrapper {
        position: absolute;
        left: 0;
    }
    
    .logo-image {
        height: 50px;
        width: 160px;
        max-width: 160px;
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
    
    /* Дополнительные исправления для логотипа */
    .nav-logo-wrapper {
        left: 0;
    }
    
    /* Мобильное меню */
    .mobile-menu-content {
        padding: 20px 16px;
        max-width: 320px;
        margin: 20px;
    }
    
    .mobile-nav-link {
        font-size: 1.3rem;
        padding: 16px 0;
    }
    
    /* Hero секция */
    .hero {
        min-height: 60vh;
        padding: 60px 0 40px;
    }
    
    .hero-content {
        height: 60vh;
        padding-bottom: 30px;
        width: 100%;
        box-sizing: border-box;
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 12px;
        max-width: 100%;
        width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
        max-width: 100%;
        width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .hero-buttons {
        gap: 12px;
    }
    
    /* Кнопки */
    .btn {
        padding: 14px 24px;
        font-size: 0.9rem;
        min-height: 48px;
    }
    
    /* Заголовки */
    .section-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    /* Галерея */
    .gallery-header {
        min-height: 40vh;
        padding: 60px 0 40px;
    }
    
    .gallery-header .page-title {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }
    
    .gallery-header .page-subtitle {
        font-size: 1rem;
    }
    
    /* Страница "О нас" */
    .about-page-header {
        min-height: 40vh;
        padding: 60px 0 40px;
    }
    
    .about-page-header .page-title {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }
    
    .about-page-header .page-subtitle {
        font-size: 1rem;
    }
    
    /* Страница "Контакты" */
    .contact-page-header {
        min-height: 40vh;
        padding: 60px 0 40px;
    }
    
    .contact-page-header .page-title {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }
    
    .contact-page-header .page-subtitle {
        font-size: 1rem;
    }
    
    /* Страница "Свадебное оформление" */
    .wedding-decoration-page-header {
        min-height: 40vh;
        padding: 60px 0 40px;
    }
    
    .wedding-decoration-page-header .page-title {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }
    
    .wedding-decoration-page-header .page-subtitle {
        font-size: 1rem;
    }
    
    /* Страница "Свадебные букеты" */
    .wedding-bouquets-page-header {
        min-height: 40vh;
        padding: 60px 0 40px;
    }
    
    .wedding-bouquets-page-header .page-title {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }
    
    .wedding-bouquets-page-header .page-subtitle {
        font-size: 1rem;
    }
    
    /* Страница "Аренда декора" */
    .rental-page-header {
        min-height: 40vh;
        padding: 60px 0 40px;
    }
    
    .rental-page-header .page-title {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }
    
    .rental-page-header .page-subtitle {
        font-size: 1rem;
    }
    
    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 0 16px;
    }
    
    .gallery-item {
        aspect-ratio: 3/2;
        border-radius: 12px;
    }
    
    .gallery-item img {
        height: 180px;
        border-radius: 12px;
    }
    
    /* Услуги */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 16px;
    }
    
    .service-card {
        padding: 24px;
    }
    
    /* Контакты */
    .contact-info {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .contact-item {
        padding: 20px;
    }
    
    .contact-icon {
        font-size: 2rem;
        margin-right: 16px;
        min-width: 50px;
    }
    
    /* Футер */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    /* Основной контент */
    .main-content {
        margin-top: 70px;
    }
    
    /* Упрощаем анимации на мобильных */
    .hero::after,
    .hero-decoration::before {
        animation: none !important;
    }
    
    /* Оптимизация для touch устройств */
    .btn:hover,
    .mobile-nav-link:hover,
    .social-icon:hover {
        transform: none;
    }
    
    .btn:active,
    .mobile-nav-link:active,
    .social-icon:active {
        transform: scale(0.95);
    }
    
    /* Исправляем кнопки слайдера на мобильных */
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }
    
    .slider-btn-prev {
        left: 10px;
    }
    
    .slider-btn-next {
        right: 10px;
    }
    
    /* Исправляем контейнер слайдера */
    .simple-slider {
        position: relative;
        padding: 0 60px;
    }
    
    .slider-container {
        overflow: hidden;
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        height: 70px;
        justify-content: space-between;
    }
    
    .nav-menu {
        gap: 15px;
    }
    
    .nav-link {
        font-size: 0.8rem;
    }
    
    .logo-image {
        height: 60px;
        width: 180px;
        max-width: 180px;
    }
    
    /* Исправляем позицию логотипа на очень маленьких экранах */
    .nav-logo-wrapper {
        left: 0 !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
    
    .nav-logo-wrapper2 {
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
    
    .nav-logo {
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
    
    .nav-logo a {
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
    
    /* Адаптивность для заголовка галереи на маленьких экранах */
    .gallery-header {
        min-height: 40vh;
        padding: 60px 0 40px;
    }
    
    .gallery-header .page-title {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .gallery-header     .page-subtitle {
        font-size: 1.1rem;
    }
    
    /* Адаптивность для заголовка страницы "О нас" на маленьких экранах */
    .about-page-header {
        min-height: 40vh;
        padding: 60px 0 40px;
    }
    
    .about-page-header .page-title {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .about-page-header .page-subtitle {
        font-size: 1.1rem;
    }
    
    /* Адаптивность для заголовка страницы "Контакты" на маленьких экранах */
    .contact-page-header {
        min-height: 40vh;
        padding: 60px 0 40px;
    }
    
    .contact-page-header .page-title {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .contact-page-header .page-subtitle {
        font-size: 1.1rem;
    }
    
    /* Адаптивность для заголовка страницы "Свадебное оформление" на маленьких экранах */
    .wedding-decoration-page-header {
        min-height: 40vh;
        padding: 60px 0 40px;
    }
    
    .wedding-decoration-page-header .page-title {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .wedding-decoration-page-header .page-subtitle {
        font-size: 1.1rem;
    }
    
    /* Адаптивность для заголовка страницы "Свадебные букеты" на маленьких экранах */
    .wedding-bouquets-page-header {
        min-height: 40vh;
        padding: 60px 0 40px;
    }
    
    .wedding-bouquets-page-header .page-title {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .wedding-bouquets-page-header .page-subtitle {
        font-size: 1.1rem;
    }
    
    /* Адаптивность для заголовка страницы "Аренда декора" на маленьких экранах */
    .rental-page-header {
        min-height: 40vh;
        padding: 60px 0 40px;
    }
    
    .rental-page-header .page-title {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .rental-page-header .page-subtitle {
        font-size: 1.1rem;
    }
    
    /* Скрываем перенос строки на мобильных */
    .page-subtitle br {
        display: none;
    }
}
    
    .hero {
        padding: 100px 0 80px;
        min-height: 80vh;
    }
    
    .hero-title {
        font-size: 4.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .gallery {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .gallery-item {
        aspect-ratio: 4/3;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    .gallery-section,
    .contact-section,
    .services-section {
        padding: 80px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .btn {
        padding: 14px 28px;
        font-size: 0.95rem;
        min-height: 50px;
    }
    
    .btn-lg {
        padding: 16px 32px;
        font-size: 1rem;
        min-height: 60px;
    }
    
    /* Исправляем кнопки слайдера на очень маленьких экранах */
    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .slider-btn-prev {
        left: 5px;
    }
    
    .slider-btn-next {
        right: 5px;
    }
    
    .simple-slider {
        padding: 0 50px;
    }
    
    /* Дополнительные исправления для очень маленьких экранов */
    .hero-content {
        padding-left: 12px;
        padding-right: 12px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .hero-title {
        font-size: 1.8rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Исправления для секции "О нас" на очень маленьких экранах */
    .about-flex {
        padding: 0 12px;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .about-desc {
        font-size: 1rem;
    }
    
    .about-img-svg {
        width: 180px;
        padding: 12px;
    }

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-item,
.contact-item {
    animation: fadeInUp 0.6s ease forwards;
}

.gallery-item:nth-child(2) { animation-delay: 0.1s; }
.gallery-item:nth-child(3) { animation-delay: 0.2s; }
.gallery-item:nth-child(4) { animation-delay: 0.3s; }
.gallery-item:nth-child(5) { animation-delay: 0.4s; }
.gallery-item:nth-child(6) { animation-delay: 0.5s; }

.contact-item:nth-child(2) { animation-delay: 0.1s; }
.contact-item:nth-child(3) { animation-delay: 0.2s; } 

/* --- Professional About Section --- */
.about-section-fancy {
    position: relative;
    background: #ffffff;
    overflow: hidden;
    padding: 80px 0 60px;
    z-index: 1;
}

.about-bg-decor {
    display: none; /* Убираем декоративный фон */
}

.about-flex {
    display: flex;
    align-items: center;
    gap: 80px;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
}

.about-flex.no-illustration {
    justify-content: center;
    gap: 0;
}

.about-flex.no-illustration .about-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.about-illustration {
    flex: 0 0 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 280px;
}

.about-img-svg {
    width: 380px;
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
    background: var(--white);
    padding: 30px;
}

.about-image {
    flex: 0 0 500px;
    max-width: 500px;
}

.about-photo {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.about-content {
    flex: 1 1 600px;
    min-width: 400px;
    text-align: left;
}

.about-title {
    font-family: var(--font-family);
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 25px;
    position: relative;
    letter-spacing: -0.5px;
}

.about-title-underline {
    display: block;
    width: 100px;
    height: 6px;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    border-radius: 3px;
    margin: 15px auto 0 auto;
}

.about-desc {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.fancy-features {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.fancy-feature {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 30px 25px;
    min-width: 250px;
    max-width: 300px;
    flex: 1 1 250px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    border: 1px solid #f0f0f0;
}

.fancy-feature:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    border-color: #e0e0e0;
}

.fancy-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    border-radius: 6px;
    color: var(--dark-color);
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    transition: var(--transition);
}

.fancy-icon svg {
    width: 24px;
    height: 24px;
}

.fancy-feature:hover .fancy-icon {
    background: #e9ecef;
    transform: scale(1.05);
}

.fancy-feature h3 {
    font-family: var(--font-family);
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.fancy-feature p {
    color: #777;
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.about-btn-wrap {
    margin-top: 40px;
}

.btn-lg {
    font-size: 1.2rem;
    padding: 20px 45px;
    min-height: 70px;
}

@media (max-width: 1100px) {
    .nav-container {
        justify-content: space-between;
        height: 80px;
    }
    
    .nav-menu {
        gap: 30px;
    }
    
    .about-flex {
        flex-direction: column;
        gap: 50px;
    }
    .about-image {
        max-width: 100%;
        flex: 0 0 auto;
    }
    .about-photo {
        height: 300px;
    }
    .about-content {
        text-align: center;
    }
}

@media (max-width: 700px) {
    .nav-container {
        padding: 0 16px;
        height: 80px;
        justify-content: space-between;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 0.85rem;
    }
    
    .logo-image {
        height: 70px;
        width: 220px;
        max-width: 220px;
    }
}
    
    .about-section-fancy {
        padding: 80px 0 50px;
    }
    .about-img-svg {
        width: 200px;
        padding: 15px;
    }
    .about-title {
        font-size: 2.5rem;
    }
    .about-desc {
        font-size: 1.1rem;
    }
    .fancy-features {
        flex-direction: column;
        gap: 25px;
    }
    .fancy-feature {
        min-width: 0;
        max-width: 100%;
        padding: 35px 20px 25px 20px;
    }
    
    /* Исправления для секции "О нас" */
    .about-flex {
        flex-direction: column;
        gap: 40px;
        padding: 0 16px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .about-content {
        flex: none;
        min-width: auto;
        width: 100%;
        text-align: center;
    }
    
    .about-title {
        font-size: 2.5rem;
        text-align: center;
        width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .about-desc {
        font-size: 1.1rem;
        text-align: center;
        width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .about-img-svg {
        width: 200px;
        max-width: 100%;
        padding: 15px;
    }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadein {
    opacity: 0;
    animation: fadeInUp 0.7s cubic-bezier(.23,1.01,.32,1) forwards;
}

.fancy-feature:nth-child(2) {
    animation-delay: 0.1s;
}
.fancy-feature:nth-child(3) {
    animation-delay: 0.2s;
} 

/* --- Современная секция контактов на главной --- */
.contact-info-modern {
    background: rgba(255,255,255,0.08);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(102,126,234,0.10);
    padding: 32px 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.contact-info-modern .contact-item-preview {
    background: rgba(255,255,255,0.95);
    border-radius: 14px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 180px;
    max-width: 100%;
    box-sizing: border-box;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.3);
}
.contact-info-modern .contact-item-preview:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    transform: translateY(-2px);
    background: rgba(255,255,255,1);
}
.contact-info-modern .contact-svg-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #6FBF8F 0%, #2E5A3E 100%);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.contact-info-modern .contact-svg-icon svg {
    display: block;
    margin: auto;
}
.contact-info-modern a {
    color: #fff;
    text-decoration: underline;
    transition: color 0.2s;
}
.contact-info-modern a:hover {
    color: #ffe082;
}
@media (max-width: 700px) {
    .contact-info-modern {
        flex-direction: column;
        gap: 15px;
        padding: 15px 0;
        align-items: flex-start;
    }
    .contact-info-modern .contact-item-preview {
        min-width: unset;
        width: 100%;
        max-width: 100%;
        justify-content: flex-start;
        margin: 0;
        padding: 12px 16px;
    }
} 

/* --- Текст внутри блока контактов --- */
.contact-info-modern {
    align-items: flex-start;
}
.contact-info-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 260px;
    margin-right: 0;
    margin-bottom: 0;
    text-align: center;
}
.contact-info-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.contact-info-text p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    opacity: 0.95;
    font-weight: 500;
}
@media (max-width: 900px) {
    .contact-info-modern {
        flex-direction: column;
        align-items: center;
    }
    .contact-info-text {
        margin-right: 0;
        margin-bottom: 24px;
        align-items: center;
        text-align: center;
    }
} 

/* --- Центрирование текста и иконки в contact-item-preview --- */
.contact-info-modern .contact-item-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.contact-info-modern .contact-item-preview p,
.contact-info-modern .contact-item-preview a {
    margin: 0 auto;
    text-align: center;
    width: 100%;
} 

/* --- Современный стиль страницы контактов --- */
.contact-section-modern {
    background: linear-gradient(135deg, #F8F6F0 0%, #E8E4D9 100%);
    padding: 80px 0 60px;
}
.contact-grid-modern {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 48px;
    flex-wrap: wrap;
}
.contact-info-modern-page {
    background: rgba(255,255,255,0.95);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(168,213,186,0.10);
    padding: 40px 36px 32px 36px;
    min-width: 320px;
    max-width: 420px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.contact-items-modern {
    width: 100%;
    margin-bottom: 32px;
}
.contact-item-modern {
    display: flex;
    align-items: center;
    gap: 18px;
    background: rgba(168,213,186,0.07);
    border-radius: 14px;
    padding: 18px 18px 18px 18px;
    margin-bottom: 18px;
    box-shadow: 0 2px 8px rgba(168,213,186,0.07);
    transition: box-shadow 0.2s, background 0.2s;
}
.contact-item-modern:hover {
    box-shadow: 0 6px 18px rgba(168,213,186,0.18);
    background: rgba(168,213,186,0.13);
}
.contact-svg-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #E8F6EF 0%, #A8D5BA 100%);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(168,213,186,0.10);
}
.contact-svg-icon svg {
    display: block;
    margin: auto;
}
.contact-details h3 {
    margin-bottom: 4px;
    font-size: 1.1rem;
    color: #2E5A3E;
    font-family: 'Playfair Display', serif;
}
.contact-details p, .contact-details a {
    color: #333;
    font-size: 1rem;
    margin: 0;
    text-decoration: none;
}
.contact-details a:hover {
    color: #3CB371;
    text-decoration: underline;
}
.contact-hours-modern {
    background: #F8F6F0;
    border-radius: 14px;
    padding: 18px 20px;
    margin-top: 18px;
    width: 100%;
    box-shadow: 0 2px 8px rgba(76,175,80,0.07);
}
.contact-hours-modern h3 {
    color: #2E5A3E;
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-family: 'Playfair Display', serif;
}
@media (max-width: 900px) {
    .contact-grid-modern {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    .contact-info-modern-page {
        padding: 28px 10px 20px 10px;
        min-width: unset;
        max-width: 100%;
    }
} 

/* --- Современный стиль страницы О нас --- */
.about-section-modern {
    background: linear-gradient(135deg, #F8F6F0 0%, #E8E4D9 100%);
    padding: 90px 0 70px;
    position: relative;
}
.about-card-modern {
    background: rgba(255,255,255,0.95);
    border-radius: 28px;
    box-shadow: 0 8px 32px rgba(168,213,186,0.15);
    padding: 48px 40px;
    text-align: center;
    position: relative;
    z-index: 1;
    border: 2px solid rgba(168,213,186,0.2);
}

.about-title-modern {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #2E5A3E;
    margin-bottom: 25px;
    font-weight: 700;
}

.about-desc-modern {
    font-size: 1.15rem;
    color: #4A6741;
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.about-features-modern {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.about-features-modern li {
    background: rgba(255,255,255,0.9);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    border-left: 4px solid #6FBF8F;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 12px rgba(168,213,186,0.1);
}

.about-features-modern li:last-child {
    margin-bottom: 0;
}

.about-features-modern li:hover {
    background: rgba(255,255,255,1);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(168,213,186,0.2);
    border-left-color: #A8D5BA;
}

.about-btn-wrap-modern {
    margin-top: 30px;
}
@media (max-width: 700px) {
    .about-card-modern {
        padding: 22px 6px 18px 6px;
        max-width: 100%;
    }
    .about-section-modern {
        padding: 40px 0 30px;
    }
} 

/* --- Современный стиль страницы Услуги --- */
.services-section-modern {
    background: linear-gradient(135deg, #F8F6F0 0%, #E8E4D9 100%);
    padding: 90px 0 70px;
}
.services-list-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}
.service-card-modern {
    background: rgba(255,255,255,0.97);
    border-radius: 22px;
    box-shadow: 0 8px 32px rgba(46,90,62,0.08);
    padding: 38px 32px 32px 32px;
    min-width: 240px;
    max-width: 320px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
    animation: fadeInUp 0.7s cubic-bezier(.23,1.01,.32,1) both;
}
.service-card-modern:hover {
    box-shadow: 0 12px 32px rgba(46,90,62,0.12);
    transform: translateY(-6px) scale(1.03);
}
.service-icon-modern {
    font-size: 2.2rem;
    margin-bottom: 18px;
    background: linear-gradient(135deg, #A8D5BA 0%, #8BC34A 100%);
    border-radius: 50%;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(46,90,62,0.15);
}
.service-card-modern h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: #2E5A3E;
    margin-bottom: 10px;
    font-weight: 700;
}
.service-card-modern p {
    color: #555;
    font-size: 1.05rem;
    margin-bottom: 0;
    line-height: 1.6;
}
@media (max-width: 900px) {
    .services-list-modern {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .service-card-modern {
        min-width: unset;
        max-width: 100%;
        padding: 24px 10px 18px 10px;
    }
    .services-section-modern {
        padding: 40px 0 30px;
    }
} 

/* --- Современный стиль страницы Галерея --- */
.gallery-section-modern {
    background: linear-gradient(135deg, #F8F6F0 0%, #E8E4D9 100%) !important;
    background-color: #F8F6F0 !important;
    padding: 80px 0 60px;
}

/* Категории галереи */
.gallery-category {
    margin-bottom: 80px;
}

.gallery-category:last-child {
    margin-bottom: 0;
}

.category-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2E5A3E;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #A8D5BA 0%, #6FBF8F 100%);
    border-radius: 2px;
}

.gallery-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
    max-width: 1300px;
    margin: 0 auto;
}

.gallery-card-modern {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(46,90,62,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(46,90,62,0.2);
}

.gallery-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #fff;
    border-radius: 16px;
}

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

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

/* Отзывы (скриншоты): показываем изображение целиком без обрезки */
.reviews-section .gallery-img-wrap {
    aspect-ratio: auto;
    overflow: visible;
}

.reviews-section .gallery-card-modern img {
    width: 100%;
    height: auto;
    object-fit: contain;
    background: transparent;
    max-height: 720px;
}

/* Увеличенные карточки отзывов */
.reviews-section .gallery-grid-modern {
    grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
    gap: 32px;
    max-width: 1400px;
}
@media (max-width: 1100px) {
  .reviews-section .gallery-grid-modern {
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  }
}

.reviews-section .gallery-card-modern {
    cursor: default;
}
@media (max-width: 700px) {
    .gallery-category {
        margin-bottom: 60px;
    }
    
    .category-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .gallery-grid-modern {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
        padding: 0 20px;
    }
    
    .gallery-card-modern {
        max-width: 100%;
    }
    
    .gallery-img-wrap {
        aspect-ratio: 3/2;
    }
}
.gallery-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 14px;
    object-fit: cover;
    background: #e0c3fc;
}
.gallery-item-modern:hover .gallery-img-wrap img {
    transform: scale(1.05);
}
.photo-description-modern {
    padding: 18px 18px 10px 18px;
    color: #555;
    font-size: 1.05rem;
    text-align: center;
    width: 100%;
}
.gallery-filters-modern {
    background: linear-gradient(135deg, #F8F6F0 0%, #E8E4D9 100%);
    padding: 40px 0 24px 0;
    border-bottom: none;
}
.gallery-cta-modern {
    background: linear-gradient(135deg, #7b9981 0%, #7b9981 100%);
    padding: 80px 0 60px;
}
@media (max-width: 700px) {
    .gallery-section-modern {
        padding: 30px 0 20px;
    }
    
    .gallery-grid-modern {
        gap: 16px;
    }
    
    .gallery-cta-modern {
        padding: 30px 0 30px;
    }
    
    .contact-info-modern .contact-item-preview p {
        font-size: 0.85rem;
        line-height: 1.3;
        padding: 0;
        text-align: left;
        max-width: 100%;
        word-break: break-word;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .gallery-category {
        margin-bottom: 50px;
    }
    
    .category-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    
    .gallery-grid-modern {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 15px;
    }
    
    .gallery-img-wrap {
        aspect-ratio: 4/3;
    }
} 

.section-divider {
  width: 90%;
  max-width: 1100px;
  height: 0;
  border-bottom: 2.5px solid #e0e7ff;
  margin: 36px auto 36px auto;
  border-radius: 2px;
  box-shadow: 0 2px 12px 0 rgba(80, 80, 180, 0.07);
  background: linear-gradient(90deg, #e0e7ff 0%, #fff 50%, #bae6fd 100%);
  position: relative;
}
@media (max-width: 768px) {
  .section-divider {
    margin: 18px auto 18px auto;
    border-bottom-width: 1.5px;
  }
} 

.contact-info-modern .contact-item-preview p {
    color: #2E5A3E;
    font-weight: 600;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.contact-info-modern .contact-item-preview a {
    color: #2E5A3E;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.contact-info-modern .contact-item-preview a:hover {
    color: #1A3D2A;
    text-decoration: underline;
} 

.gallery-card img {
    border-radius: 18px;
    transition: box-shadow 0.3s;
} 

.gallery-grid, .gallery-grid-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

@media (max-width: 1100px) {
    .gallery-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .gallery-grid-modern {
        grid-template-columns: 1fr;
    }
} 

.gallery-card-modern img,
.gallery-img-wrap img {
  max-height: 500px;
  max-width: 100%;
  object-fit: cover;
}
@media (max-width: 700px) {
  .gallery-card-modern img,
  .gallery-img-wrap img {
    max-height: 380px;
  }
} 

/* --- Модальное окно для просмотра фото --- */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; right: 0; bottom: 0;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.5);
  transition: opacity 0.2s;
}

.modal.open {
  display: flex;
}

.modal-img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 0 0 12px #fff, 0 8px 32px rgba(0,0,0,0.25);
}

.modal-backdrop {
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: -1;
}

/* Кнопки модального окна */
.modal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.85);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  color: #2E5A3E;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.modal-arrow:hover {
  background: #A8D5BA;
}

.modal-arrow-left { 
  left: 24px; 
}

.modal-arrow-right { 
  right: 24px; 
}

@media (max-width: 768px) {
  .modal-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
  
  .modal-arrow-left { 
    left: 16px; 
  }
  
  .modal-arrow-right { 
    right: 16px; 
  }
}

/* Кнопки контактов */
.contact-buttons {
    margin-top: 30px;
}

.contact-buttons h3 {
    margin-bottom: 20px;
    color: #2E5A3E;
    font-size: 1.2rem;
    font-weight: 600;
}

/* === OVERRIDES: фиксируем крупный заголовок и подзаголовок героя (ставим в самом конце) === */
.hero-title {
    font-size: 4.2rem;
    max-width: 820px;
}
.hero-subtitle {
    font-size: 1.5rem;
    max-width: 760px;
}
@media (max-width: 768px) {
    .hero-title { font-size: 2.6rem; }
    .hero-subtitle { font-size: 1.2rem; }
}
.contact-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.contact-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 24px;
    border-radius: var(--border-radius-small);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    background: var(--light-color);
    color: var(--dark-color);
    box-shadow: var(--shadow-light);
    min-height: 60px;
}

.contact-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.contact-button-telegram {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
}

.contact-button-telegram:hover {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--dark-color) 100%);
    box-shadow: var(--shadow-heavy);
}

.contact-button-email {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
}

.contact-button-email:hover {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--dark-color) 100%);
    box-shadow: var(--shadow-heavy);
}

.contact-button-whatsapp {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
}

.contact-button-whatsapp:hover {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--dark-color) 100%);
    box-shadow: var(--shadow-heavy);
}

.contact-button svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

@media (max-width: 700px) {
    .contact-buttons-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-button {
        padding: 16px 20px;
        font-size: 0.9rem;
        min-height: 56px;
    }
    
    .contact-button svg {
        width: 22px;
        height: 22px;
    }
    
    /* Адаптивность футера */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-logo {
        order: -1;
        margin-bottom: 20px;
    }
    
    .footer-logo-img {
        width: 100px;
    }
    
    .footer-logo-title {
        font-size: 1.5rem;
    }
    
    .footer-contact-item {
        font-size: 0.9rem;
    }
    
    .footer-services-list a {
        font-size: 0.9rem;
    }
    
    .footer-contact-buttons {
        gap: 12px;
    }
    
    .footer-social-icon {
        width: 36px;
        height: 36px;
    }
    
    .footer-social-icon svg {
        width: 24px;
        height: 24px;
    }
}