* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Шапка */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}
/* Подвал сайта */
.footer {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3d6f 100%);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo svg {
    margin-bottom: 1rem;
}

.footer-description {
    color: #cccccc;
    line-height: 1.6;
    margin-top: 1rem;
}

.footer-menu h3,
.footer-contacts h3,
.footer-social h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-menu ul {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 0.8rem;
}

.footer-menu a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-menu a:hover {
    color: #ff6b35;
}

.contact-item {
    margin-bottom: 1rem;
    color: #cccccc;
}

.contact-item strong {
    display: block;
    color: white;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.contact-item a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #ff6b35;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-block;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    font-weight: 500;
}

.social-links a:hover {
    background: #ff6b35;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright p {
    color: #cccccc;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ff6b35;
}
/* Контакты в футере */
.footer-contacts h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
/* Мобильное меню */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: #2c5aa0;
    margin: 3px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background: #fff;
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background: #fff;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 90, 160, 0.95);
    backdrop-filter: blur(10px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-container {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100%;
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3d6f 100%);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 30px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-menu-container.active {
    right: 0;
}

.mobile-menu-header {
    padding: 2rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu-logo {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
}

.mobile-menu-nav {
    flex: 1;
    padding: 2rem 1.5rem;
}

.mobile-menu-nav ul {
    list-style: none;
}

.mobile-menu-nav li {
    margin-bottom: 0.5rem;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.4s ease;
}

.mobile-menu-container.active .mobile-menu-nav li {
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu-container.active .mobile-menu-nav li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-container.active .mobile-menu-nav li:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu-container.active .mobile-menu-nav li:nth-child(3) { transition-delay: 0.2s; }

.mobile-menu-nav a {
    display: block;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mobile-menu-nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.6s ease;
}

.mobile-menu-nav a:hover::before {
    left: 100%;
}

.mobile-menu-nav a:hover {
    background: rgba(255,255,255,0.1);
    transform: translateX(10px);
}

.mobile-menu-nav a.active {
    background: rgba(255,107,53,0.2);
    color: #ff6b35;
    border-left: 4px solid #ff6b35;
}

.mobile-menu-contacts {
    padding: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.1);
}

.mobile-menu-contacts .phone {
    display: block;
    color: white;
    font-size: 1.3rem;
    font-weight: bold;
    text-decoration: none;
    margin-bottom: 0.5rem;
    text-align: center;
    transition: color 0.3s ease;
}

.mobile-menu-contacts .phone:hover {
    color: #ff6b35;
}

.mobile-menu-contacts .email {
    display: block;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    text-align: center;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.mobile-menu-contacts .email:hover {
    color: #ff6b35;
}

.mobile-menu-social {
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    color: white;
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
}

.mobile-menu-social a:hover {
    background: #ff6b35;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255,107,53,0.3);
}

/* Анимация появления пунктов меню */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Предотвращение скролла тела при открытом меню */
body.menu-open {
    overflow: hidden;
}
.contact-line {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.4;
}

.contact-label {
    color: #ff6b35;
    font-weight: 600;
    min-width: 100px;
    font-size: 0.9rem;
}

.contact-link {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.contact-link:hover {
    color: #ff6b35;
}

.contact-text {
    color: #cccccc;
    font-size: 0.95rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .contact-line {
        flex-direction: column;
        gap: 0.2rem;
    }
    
    .contact-label {
        min-width: auto;
    }
}
/* Адаптивность для футера */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo img {
    height: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-menu a:hover {
    color: #2c5aa0;
    background-color: #f8f9fa;
}

.header-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.phone {
    font-size: 1.1rem;
    font-weight: bold;
    color: #40f309;
    text-decoration: none;
    transition: color 0.3s;
}

.phone:hover {
    color: #1e3d6f;
}

.email {
    font-size: 0.9rem;
    color: #666;
    text-decoration: none;
    margin-top: 0.2rem;
    transition: color 0.3s;
}

.email:hover {
    color: #2c5aa0;
}

/* Герой блок с реальным фоновым изображением */
.hero {
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 150px 0 100px;
    text-align: center;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::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" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

/* Кнопки */
.btn-primary, .btn-secondary {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-width: 200px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: #ff6b35;
    color: white;
}

.btn-primary:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background: #2c5aa0;
    color: white;
}

.btn-secondary:hover {
    background: #1e3d6f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 90, 160, 0.3);
}

/* Секции */
section {
    padding: 80px 0;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #2c5aa0;
    font-weight: 700;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #ff6b35;
}

/* О компании */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.02);
}

/* Карточки объектов */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.property-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.property-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-card:hover img {
    transform: scale(1.05);
}

.property-info {
    padding: 1.5rem;
}

.property-info h3 {
    margin-bottom: 0.5rem;
    color: #2c5aa0;
    font-size: 1.3rem;
}

.property-info p {
    color: #666;
    margin-bottom: 1rem;
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff6b35;
    display: block;
    margin: 1rem 0;
}

/* Преимущества */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.advantage-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.advantage-item:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    margin-bottom: 1rem;
}

.advantage-item h3 {
    margin-bottom: 1rem;
    color: #2c5aa0;
    font-size: 1.2rem;
}

.advantage-item p {
    color: #666;
    line-height: 1.6;
}

/* Процесс работы */
.process {
    background: #f8f9fa;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.step {
    padding: 2rem 1rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #2c5aa0;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step h3 {
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.step p {
    color: #666;
}

/* Отзывы */
.testimonials {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3d6f 100%);
    color: white;
}

.testimonials h2 {
    color: white;
}

.testimonials h2::after {
    background: #ff6b35;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial span {
    font-weight: bold;
    color: #ff6b35;
}

/* Услуги */
.services-hero, .contacts-hero {
    background: #f8f9fa;
    padding: 120px 0 60px;
    text-align: center;
    margin-top: 80px;
}

.services-hero h1, .contacts-hero h1 {
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.services-hero p, .contacts-hero p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.service-item.reverse {
    direction: rtl;
}

.service-item.reverse > * {
    direction: ltr;
}

.service-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-image img:hover {
    transform: scale(1.02);
}

.service-content h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.service-content h2::after {
    left: 0;
    transform: none;
}

.service-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

/* Дополнительные услуги */
.additional-services {
    background: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: #2c5aa0;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Контакты */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-item h3 {
    color: #2c5aa0;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-item a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #2c5aa0;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #2c5aa0;
    box-shadow: 0 0 0 2px rgba(44, 90, 160, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Карта */
.map-section {
    padding: 60px 0;
}

#yandex-map {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
}

/* SEO текст */
.seo-text {
    background: #f8f9fa;
}

.seo-text h2 {
    text-align: left;
    margin-bottom: 2rem;
}

.seo-text h2::after {
    left: 0;
    transform: none;
}

.seo-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    animation: modalAppear 0.3s ease;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

.close:hover {
    color: #333;
}

.modal-content form {
    display: flex;
    flex-direction: column;
}

.modal-content input,
.modal-content textarea {
    margin-bottom: 1rem;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.modal-content input:focus,
.modal-content textarea:focus {
    outline: none;
    border-color: #2c5aa0;
    box-shadow: 0 0 0 2px rgba(44, 90, 160, 0.1);
}

.modal-content textarea {
    resize: vertical;
    min-height: 100px;
}

/* Стили для Яндекс.Карты */
.ymaps-2-1-79-button__content {
    font-family: 'Arial', sans-serif !important;
}

.ymaps-2-1-79-balloon__content {
    font-family: 'Arial', sans-serif !important;
    padding: 0 !important;
}

.ymaps-2-1-79-balloon__content > ymaps {
    border-radius: 10px !important;
}

/* Заглушки для изображений если они не загрузились */
.hero:before {
    background: linear-gradient(rgb(228 239 230 / 0%), rgba(44, 90, 160, 0.9));
}

.about-image img:before,
.service-image img:before,
.property-card img:before {
    content: "Изображение";
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: #666;
    font-size: 1rem;
    height: 100%;
}