/* Основные стили для всего сайта */
:root {
    /* Новая цветовая палитра */
    --green-dark: #2e4600;        /* Темный зеленый */
    --green-medium: #486b00;      /* Густая трава */
    --green-light: #a2c523;       /* Лайм */
    --earth-brown: #7d4427;       /* Земля */
    
    /* Производные цвета */
    --primary-light: #f8f9f2;     /* Светлый фон */
    --primary-green: #e9f0d9;     /* Светло-зеленый фон */
    --accent-green: var(--green-light); /* Акцентный зеленый */
    --accent-green-dark: var(--green-medium); /* Темный акцентный зеленый */
    --accent-lilac: #d8c4e6;      /* Приглушенный сиреневый */
    --accent-lilac-dark: #b8a4d6; /* Темный приглушенный сиреневый */
    --text-dark: #2c3e50;         /* Темный текст */
    --text-medium: #546e7a;       /* Средний текст */
    --text-light: #78909c;        /* Светлый текст */
    --shadow-light: rgba(46, 70, 0, 0.05); /* Тени с зеленым оттенком */
    --shadow-medium: rgba(46, 70, 0, 0.08);
    --shadow-dark: rgba(46, 70, 0, 0.12);
    
    /* Формы блоков */
    --shape-1: polygon(0 0, 100% 0, 100% 85%, 70% 100%, 0 90%);
    --shape-2: polygon(0 5%, 30% 0%, 100% 6%, 100% 90%,  29% 100%, 0 90%);
    --shape-3: polygon(0 10%, 100% 0, 100% 90%, 80% 100%, 0 90%);
    --shape-4: polygon(0 0, 100% 5%, 100% 95%, 0 100%);
    --shape-5: polygon(0 5%, 100% 0, 100% 95%, 5% 100%);
    --shape-6: polygon(0 0, 100% 0, 100% 85%, 90% 100%, 0 95%);
    
    /* Формы для кнопок */
    --btn-shape-1: polygon(10% 0%, 90% 0%, 100% 30%, 100% 70%, 90% 100%, 10% 100%, 0% 70%, 0% 30%);
    --btn-shape-2: polygon(0 0, 90% 0, 100% 50%, 90% 100%, 0 100%, 8% 50%);
    --btn-shape-3: polygon(0 20%, 20% 0, 80% 0, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0 80%);
    --btn-shape-4: polygon(0 25%, 25% 0, 75% 0, 100% 25%, 100% 75%, 75% 100%, 25% 100%, 0 75%);
    --btn-shape-5: polygon(10% 0, 90% 0, 100% 20%, 95% 50%, 100% 80%, 90% 100%, 10% 100%, 0 80%, 5% 50%, 0 20%);
    --btn-shape-6: polygon(0 15%, 15% 0, 85% 0, 100% 15%, 100% 85%, 85% 100%, 15% 100%, 0 85%);
    --btn-shape-7: polygon(0 10%, 10% 0, 90% 0, 100% 10%, 100% 90%, 90% 100%, 10% 100%, 0 90%);
    --btn-shape-8: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@media (max-width: 800px) {
	:root{

	/* Формы блоков */
    --shape-1: polygon(0 0, 100% 0, 100% 95%, 70% 100%, 0 97%);
    --shape-2: polygon(0 2%, 30% 0%, 100% 3%, 100% 98%,  29% 100%, 0 95%);
    --shape-3: polygon(0 5%, 100% 0, 100% 95%, 90% 100%, 0 95%);
    --shape-4: polygon(0 0, 100% 3%, 100% 98%, 0 100%);
    --shape-5: polygon(0 3%, 100% 0, 100% 97%, 2% 100%);
    --shape-6: polygon(0 0, 100% 0, 100% 95%, 90% 100%, 0 97%);
	}
	
}




body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #fefefe;
    overflow-x: hidden;
}

/* Кнопки - общий стиль для всего сайта с неправильными формами */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    overflow: hidden;
    min-width: 180px;
    text-align: center;
}

/* Разные формы для разных типов кнопок */

/* Основная кнопка - форма 1 (восьмиугольник) */
.btn-primary {
    background: linear-gradient(135deg, var(--green-light), var(--green-medium));
    color: white;
    box-shadow: 0 5px 15px rgba(162, 197, 35, 0.4);
    clip-path: var(--btn-shape-1);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(162, 197, 35, 0.6);
    background: linear-gradient(135deg, var(--green-medium), var(--green-dark));
}

/* Вторичная кнопка - форма 2 (трапеция с скосами) */
.btn-secondary {
    background: linear-gradient(135deg, var(--earth-brown), #9a5c3a);
    color: white;
    box-shadow: 0 5px 15px rgba(125, 68, 39, 0.4);
    clip-path: var(--btn-shape-2);
}

.btn-secondary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(125, 68, 39, 0.6);
    background: linear-gradient(135deg, #9a5c3a, #6b3a22);
}

/* Кнопка действия - форма 3 (закругленный восьмиугольник) */
.btn-action {
    background: linear-gradient(135deg, var(--green-medium), var(--green-dark));
    color: white;
    box-shadow: 0 5px 15px rgba(72, 107, 0, 0.4);
    clip-path: var(--btn-shape-3);
}

.btn-action:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(72, 107, 0, 0.6);
    background: linear-gradient(135deg, var(--green-dark), #2e4600);
}

/* Кнопка успеха - форма 4 (ромбовидный восьмиугольник) */
.btn-success {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: white;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
    clip-path: var(--btn-shape-4);
}

.btn-success:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.6);
    background: linear-gradient(135deg, #2E7D32, #1B5E20);
}

/* Кнопка информации - форма 5 (звездообразная) */
.btn-info {
    background: linear-gradient(135deg, #2196F3, #0D47A1);
    color: white;
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.4);
    clip-path: var(--btn-shape-5);
}

.btn-info:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.6);
    background: linear-gradient(135deg, #0D47A1, #0a356e);
}

/* Кнопка предупреждения - форма 6 (скругленный квадрат) */
.btn-warning {
    background: linear-gradient(135deg, #FF9800, #EF6C00);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.4);
    clip-path: var(--btn-shape-6);
}

.btn-warning:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 152, 0, 0.6);
    background: linear-gradient(135deg, #EF6C00, #E65100);
}

/* Кнопка телефона - форма 7 (слегка скошенная) */
.btn-phone {
    background: linear-gradient(135deg, var(--green-light), #8ab51f);
    color: white;
    box-shadow: 0 5px 15px rgba(162, 197, 35, 0.4);
    clip-path: var(--btn-shape-7);
}

.btn-phone:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(162, 197, 35, 0.6);
    background: linear-gradient(135deg, #8ab51f, var(--green-medium));
}

/* Кнопка отправки формы - форма 8 (октагон) */
.btn-submit {
    background: linear-gradient(135deg, var(--earth-brown), #6b3a22);
    color: white;
    box-shadow: 0 5px 15px rgba(125, 68, 39, 0.4);
    clip-path: var(--btn-shape-8);
}

.btn-submit:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(125, 68, 39, 0.6);
    background: linear-gradient(135deg, #6b3a22, #5a2f1a);
}

/* Малые кнопки - уменьшенный размер */
.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
    min-width: 140px;
}

/* Большие кнопки - увеличенный размер */
.btn-large {
    padding: 20px 40px;
    font-size: 1.2rem;
    min-width: 220px;
}

/* Кнопки с иконками */
.btn i {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Кнопка только с иконкой */
.btn-icon-only {
    min-width: auto;
    width: 50px;
    height: 50px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon-only i {
    margin: 0;
    font-size: 1.4rem;
}

/* Анимация нажатия */
.btn:active {
    transform: translateY(1px) scale(0.98);
    transition: transform 0.1s ease;
}

/* Эффект свечения для кнопок при фокусе */
.btn:focus {
    outline: none;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(162, 197, 35, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(162, 197, 35, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(162, 197, 35, 0);
    }
}

/* Кнопка с градиентной границей */
.btn-border-gradient {
    background: white;
    color: var(--green-dark);
    position: relative;
    z-index: 1;
}

.btn-border-gradient::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: white;
    z-index: -1;
    clip-path: inherit;
}

.btn-border-gradient::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--green-light), var(--earth-brown));
    z-index: -2;
    clip-path: inherit;
}

.btn-border-gradient:hover {
    color: var(--green-dark);
    background: var(--primary-green);
}

.btn-border-gradient:hover::before {
    background: var(--primary-green);
}

/* Кнопка с эффектом волны */
.btn-wave {
    position: relative;
    overflow: hidden;
}

.btn-wave::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.btn-wave:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    20% {
        transform: scale(25, 25);
        opacity: 0.3;
    }
    100% {
        opacity: 0;
        transform: scale(40, 40);
    }
}

/* Кнопка с тенью при наведении */
.btn-shadow-hover {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-shadow-hover:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Группа кнопок */
.btn-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px 0;
}

/* Отключенная кнопка */
.btn:disabled,
.btn-disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Адаптивность для кнопок */
@media (max-width: 768px) {
    .btn {
        padding: 14px 28px;
        font-size: 1rem;
        min-width: 160px;
    }
    
    .btn-large {
        padding: 18px 36px;
        font-size: 1.1rem;
        min-width: 200px;
    }
    
    .btn-small {
        padding: 8px 16px;
        font-size: 0.85rem;
        min-width: 120px;
    }
    
    .btn-group {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-group .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
        min-width: 140px;
    }
    
    .btn-large {
        padding: 16px 32px;
        font-size: 1rem;
        min-width: 180px;
    }
}

/* ФИКСИРОВАННАЯ ИКОНКА МЕНЮ В ПРАВОМ ВЕРХНЕМ УГЛУ */

/* Кнопка меню с разными полосками - ФИКСИРОВАННАЯ ПОЗИЦИЯ */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 70px;
    height: 60px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(46, 70, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid var(--primary-green);
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background-color: white;
    box-shadow: 0 8px 25px rgba(46, 70, 0, 0.3);
    transform: scale(1.05);
    border-color: var(--green-light);
}

.mobile-menu-btn span {
    display: block;
    height: 4px;
    background-color: var(--green-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Разная длина полосок */
.mobile-menu-btn span:nth-child(1) {
    width: 60%;
    margin-left: auto;
}

.mobile-menu-btn span:nth-child(2) {
    width: 80%;
    margin-left: auto;
}

.mobile-menu-btn span:nth-child(3) {
    width: 40%;
    margin-left: auto;
}

/* Анимация при активном состоянии - превращение в крестик */
.mobile-menu-btn.active {
    background-color: white;
    border-color: var(--green-light);
    transform: rotate(180deg);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    width: 100%;
    background-color: var(--green-light);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    width: 100%;
    background-color: var(--green-light);
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 200;
    line-height: 1.3;
    margin-bottom: 1.2rem;
}

h1 {
    font-size: 3.2rem;
    font-weight: 200;
    color: var(--green-dark);
}

h2 {
    font-size: 2.2rem;
    position: relative;
    display: inline-block;
    margin-bottom: 2.5rem;
    color: var(--green-medium);
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--green-light), var(--earth-brown));
    border-radius: 2px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2:after {
    left: 50%;
    transform: translateX(-50%);
}

section {
    padding: 80px 0;
}

/* Неправильные формы блоков - общие для всех */
.shape-1 {
    clip-path: var(--shape-1);
}

.shape-2 {
    clip-path: var(--shape-2);
}

.shape-3 {
    clip-path: var(--shape-3);
}

.shape-4 {
    clip-path: var(--shape-4);
}

.shape-5 {
    clip-path: var(--shape-5);
}

.shape-6 {
    clip-path: var(--shape-6);
}



/* ВЫПАДАЮЩЕЕ МЕНЮ - СКРЫТО ПО УМОЛЧАНИЮ */
.nav-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    padding: 100px 20px 40px;
    z-index: 999;
    overflow-y: auto;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-menu.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

/* Заголовок меню с логотипом */
.menu-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--primary-green);
}

.menu-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.menu-logo-icon {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--green-light), var(--green-medium));
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
}

.menu-subtitle {
    color: var(--text-medium);
    font-size: 0.9rem;
}

/* Стили для ссылок меню */
.nav-link {
    padding: 20px 0;
    border-bottom: 1px solid rgba(162, 197, 35, 0.1);
    width: 100%;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--green-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.nav-link:last-child {
    border-bottom: none;
}

.nav-link:hover {
    color: var(--green-light);
    background-color: rgba(162, 197, 35, 0.05);
    padding-left: 30px;
    padding-right: 30px;
}

.nav-link.active {
    color: var(--green-light);
    font-weight: 600;
}

.nav-link.active:before {
    content: '→';
    position: initial;
    left: 20px;
    color: var(--green-light);
    font-weight: 900;
    /*font-size: 1.2rem;*/
}

.nav-link i {
    font-size: 1.2rem;
    color: var(--green-medium);
    width: 24px;
}

.nav-link.active i {
    color: var(--green-light);
}

.nav-link.active:after {
    display: none;
}

/* Контакты в меню */
.menu-contacts {
    margin-top: auto;
    padding-top: 30px;
    border-top: 1px solid var(--primary-green);
    text-align: center;
}

.menu-phone {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--green-dark);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
    padding: 10px;
    background: var(--primary-green);
    border-radius: 15px;
    margin: 0 auto 15px;
    max-width: 300px;
}

.menu-phone:hover {
    color: var(--green-light);
    background: linear-gradient(135deg, var(--primary-green), rgba(162, 197, 35, 0.1));
}

.menu-address {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Кнопка закрытия меню - рядом с иконкой меню */
.menu-close {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--primary-green);
    font-size: 2rem;
    color: var(--green-dark);
    cursor: pointer;
    width: 50px;
    height: 40px;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: all 0.3s;
    z-index: 1002;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(46, 70, 0, 0.2);
}

.menu-close:hover {
    background-color: white;
    color: var(--green-light);
    border-color: var(--green-light);
    transform: scale(1.05);
}

/* Показываем крестик когда меню открыто */
.nav-menu.active ~ .menu-close {
    display: flex;
}

/* Скрываем иконку меню когда меню открыто */
.nav-menu.active ~ .mobile-menu-btn {
    display: none;
}

/* ОБЩАЯ АДАПТИВНОСТЬ */
@media (max-width: 992px) {
    h1 {
        font-size: 2.3rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    /* На мобильных делаем меню на всю высоту */
    .nav-menu {
        padding-top: 90px;
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: 18px 0;
    }
    
    .menu-logo {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .mobile-menu-btn {
        width: 45px;
        height: 35px;
        padding: 8px;
        top: 15px;
        right: 15px;
    }
    
    .menu-close {
        width: 45px;
        height: 35px;
        top: 15px;
        right: 15px;
        font-size: 1.8rem;
    }
    
    .mobile-menu-btn span {
        height: 3px;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
    
    .nav-link {
        font-size: 1.1rem;
    }
    
    .menu-logo {
        font-size: 1.4rem;
    }
    
    .menu-phone {
        font-size: 1.2rem;
        padding: 8px 15px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.9rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .mobile-menu-btn {
        width: 50px;
        height: 40px;
        padding: 7px;
        top: 4px;
        right: 4px;
    }
    
    .menu-close {
        width: 50px;
        height: 40px;
        top: 12px;
        right: 12px;
        font-size: 1.5rem;
    }
    
    .mobile-menu-btn span {
        height: 2.5px;
    }
    
    .mobile-menu-btn span:nth-child(1) {
        width: 55%;
    }
    
    .mobile-menu-btn span:nth-child(2) {
        width: 70%;
    }
    
    .mobile-menu-btn span:nth-child(3) {
        width: 35%;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(5px) rotate(45deg);
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-5px) rotate(-45deg);
    }
    
    .nav-menu {
        padding: 80px 15px 30px;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 16px 0;
    }
    
    .menu-logo {
        font-size: 1.3rem;
    }
    
    .menu-phone {
        font-size: 1.1rem;
    }
}

/* Блок для встраивания на страницу */
        .villa-infrastructure {
            padding: 80px 20px;
            background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-green) 100%);
            font-family: 'Open Sans', sans-serif;
            color: var(--text-dark);
        }

        .villa-infrastructure__container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .villa-infrastructure__header {
            text-align: center;
            margin-bottom: 60px;
        }

        .villa-infrastructure__title {
            font-family: 'Montserrat', sans-serif;
            font-size: 2.3rem;
            font-weight: 200;
            color: var(--green-dark);
            margin-bottom: 20px;
            line-height: 1.2;
        }

        .villa-infrastructure__subtitle {
            font-size: 1.2rem;
            color: var(--text-medium);
            max-width: 700px;
            margin: 0 auto;
            line-height: 1.6;
        }

        .villa-infrastructure__grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 40px;
        }

        .villa-infrastructure__card {
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 15px 35px var(--shadow-medium);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
            display: flex;
            flex-direction: column;
            height: 100%;
            position: relative;
            clip-path: polygon(0 0, 100% 0, 100% 92%, 95% 100%, 0 100%);
        }

        .villa-infrastructure__card:hover {
            transform: translateY(-15px);
            box-shadow: 0 25px 50px var(--shadow-dark);
        }

        .villa-infrastructure__image-container {
            height: 220px;
            overflow: hidden;
            position: relative;
        }

        .villa-infrastructure__image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.7s ease;
        }

        .villa-infrastructure__card:hover .villa-infrastructure__image {
            transform: scale(1.08);
        }

        .villa-infrastructure__content {
            padding: 35px 30px 40px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .villa-infrastructure__card-title {
            font-family: 'Montserrat', sans-serif;
            font-size: 2.0rem;
            font-weight: 200;
            color: var(--green-dark);
            margin-bottom: 20px;
            line-height: 1.3;
            position: relative;
            padding-bottom: 15px;
        }

        .villa-infrastructure__card-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 4px;
            background: linear-gradient(to right, var(--green-light), var(--green-medium));
            border-radius: 2px;
        }

        .villa-infrastructure__description {
            color: var(--text-medium);
            line-height: 1.7;
            margin-bottom: 10px;
            flex-grow: 1;
            font-size: 12px;
        }

        .villa-infrastructure__features {
            list-style: none;
            margin-top: auto;
        }

        .villa-infrastructure__feature {
            padding: 10px 0 10px 30px;
            position: relative;
            color: var(--text-dark);
            line-height: 1.5;
            font-size: 13px;
        }

        .villa-infrastructure__feature::before {
            content: '✓';
            position: absolute;
            left: 0;
            top: 10px;
            width: 22px;
            height: 22px;
            background: var(--accent-green);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.9rem;
            font-weight: bold;
        }

        /* Адаптивность */
        @media (max-width: 1024px) {
            .villa-infrastructure__grid {
                gap: 30px;
            }
        }

        @media (max-width: 768px) {
            .villa-infrastructure {
                padding: 60px 20px;
            }

            .villa-infrastructure__title {
                font-size: 2.2rem;
            }

            .villa-infrastructure__subtitle {
                font-size: 1.1rem;
            }

            .villa-infrastructure__grid {
                grid-template-columns: 1fr;
                max-width: 500px;
                margin: 0 auto;
            }
        }

        @media (max-width: 480px) {
            .villa-infrastructure__title {
                font-size: 1.9rem;
            }

            .villa-infrastructure__content {
                padding: 25px 20px 30px;
            }

            .villa-infrastructure__card-title {
                font-size: 1.6rem;
            }
        }
    /* Стили для страницы 404 */
    .error-section {
        padding: 160px 0;
        min-height: 60vh;
        display: flex;
        align-items: center;
    }
    
    .error-content {
        text-align: center;
        max-width: 800px;
        margin: 0 auto;
        position: relative;
    }
    
    /* Большая цифра 404 на фоне */
    .error-number {
        font-size: 15rem;
        font-weight: 900;
        line-height: 0.8;
        font-family: 'Montserrat', sans-serif;
        background: linear-gradient(135deg, var(--green-light) 0%, var(--green-medium) 50%, var(--earth-brown) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        opacity: 0.2;
        margin-bottom: 0;
        user-select: none;
        pointer-events: none;
        position: relative;
        z-index: -1;
        animation: float 6s ease-in-out infinite;
    }
    
    /* Основной контент поверх цифры */
    .error-message {
        margin-top: -100px;
        position: relative;
        z-index: 1;
    }
    
    .error-message h1 {
        font-size: 4rem;
        color: var(--green-dark);
        margin-bottom: 20px;
        font-weight: 200;
        font-family: 'Montserrat', sans-serif;
    }
    
    .error-message p {
        font-size: 1.5rem;
        color: var(--text-medium);
        margin-bottom: 40px;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.6;
    }
    
    /* Декоративные элементы */
    .error-decoration {
        margin-top: 60px;
        display: flex;
        justify-content: center;
        gap: 15px;
    }
    
    .decor-dot {
        display: block;
    }
    
    .decor-dot-1 {
        width: 10px;
        height: 10px;
        background: var(--green-light);
        clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    }
    
    .decor-dot-2 {
        width: 15px;
        height: 15px;
        background: var(--green-medium);
        clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
    }
    
    .decor-dot-3 {
        width: 10px;
        height: 10px;
        background: var(--earth-brown);
        clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    }
    
    /* Группа кнопок */
    .btn-group {
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
        margin: 20px 0;
    }
    
    /* Анимация */
    @keyframes float {
        0%, 100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-20px);
        }
    }
    
    /* Планшеты */
    @media (max-width: 992px) {
        .error-number {
            font-size: 13rem;
        }
        
        .error-message {
            margin-top: -90px;
        }
        
        .error-message h1 {
            font-size: 3.2rem;
        }
        
        .error-message p {
            font-size: 1.3rem;
        }
    }
    
    /* Мобильные устройства */
    @media (max-width: 768px) {
        .error-number {
            font-size: 12rem;
        }
        
        .error-message {
            margin-top: -80px;
        }
        
        .error-message h1 {
            font-size: 2.5rem;
        }
        
        .error-message p {
            font-size: 1.2rem;
            margin-bottom: 30px;
        }
        
        .btn-group {
            flex-direction: row;
            flex-wrap: wrap;
        }
        
        .btn-group .btn {
            width: auto;
            min-width: 160px;
        }
    }
    
    /* Маленькие мобильные */
    @media (max-width: 480px) {
        .error-number {
            font-size: 10rem;
        }
        
        .error-message {
            margin-top: -70px;
        }
        
        .error-message h1 {
            font-size: 2rem;
        }
        
        .error-message p {
            font-size: 1rem;
            margin-bottom: 25px;
        }
        
        .btn-group {
            flex-direction: column;
            align-items: center;
        }
        
        .btn-group .btn {
            width: 100%;
            max-width: 250px;
        }
        
        .error-decoration {
            margin-top: 40px;
        }
    }
    
    /* Стили для иконок в кнопках */
    .btn i {
        margin-right: 8px;
    }
    
    /* Если Font Awesome не подключен, показываем запасные символы */
    .btn i:not(.fas) {
        display: none;
    }		
	/* END Стили для страницы 404 */
	
/*fz*/
  #alert-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 50%;
    background-color: #337ab7;
    color: #fff; 
    display: none;
    justify-content: center;
    align-items: center;
    padding: 15px 0px 15px 0px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    font-family: Arial, sans-serif;
	font-size: 10px;
    
    transform: translateY(100%);
    opacity: 0;
    transition: transform 1.5s ease, opacity 1.5s ease;
  }


  #alert-banner.show {
    transform: translateY(0);
    opacity: 1;
  }

  .alert-content {
    width: 70%;
    display: flex;
    justify-content: space-between;
    align-items: center;
	margin-left: 15%;
  }
  
  .alert-content a {
    text-decoration: underline;
	color: #fff!important;
  }
  
  .alert-content a;hover {
    color: #DDDADA;
  }

  #close-btn {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
    transition: background-color 0.3s, color 0.3s;
  }

  #close-btn:hover {
    background-color: #fff;
    color: #337ab7;
  }
@media screen and (max-width: 800px) {
	#alert-banner {
    position: fixed;
    bottom: 100px;
    left: 0;
    width: 100%;
    /*background-color: #337ab7;
    color: #fff; 
    display: none;
    justify-content: center;
    align-items: center;
    padding: 15px 0px 15px 0px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    font-family: Arial, sans-serif;
	font-size: 10px;
    
    transform: translateY(100%);
    opacity: 0;
    transition: transform 1.5s ease, opacity 1.5s ease;*/
  }
}
  
/*end fz*/	