/* Сброс стилей и базовые настройки */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #201E1F;
    --secondary-color: #F1EEE8;
    --accent-color: #4A6FA5;
    --text-color: #201E1F;
    --text-light: #666;
    --white: #FFFFFF;
    --dark-overlay: rgba(0, 0, 0, 0.5);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Comfortaa', sans-serif;
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Логотип */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--secondary-color);
}

/* Шапка - прозрачная вверху, тёмная при скролле */
.header {
    background-color: transparent; /* Убедитесь, что это значение */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.header.scrolled {
    background-color: var(--primary-color);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    padding: 15px 0;
}

/* Для герой-секции добавьте z-index ниже шапки */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
    z-index: 1; /* Добавьте это */
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover .logo-text {
    opacity: 0.8;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-list a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-list a:not(.btn-outline):hover {
    color: var(--white);
}

.nav-list a:not(.btn-outline)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition);
}

.nav-list a:not(.btn-outline):hover::after {
    width: 100%;
}

.btn-outline {
    border: 2px solid var(--secondary-color);
    padding: 10px 25px;
    border-radius: 30px;
    transition: var(--transition);
    color: var(--secondary-color);
    background-color: transparent;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

/* Герой-секция */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(32, 30, 31, 0.85) 0%, rgba(32, 30, 31, 0.6) 100%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    color: var(--white);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 600px;
    opacity: 0.9;
    color: var(--secondary-color);
}

.btn-primary {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Unbounded', sans-serif;
}

.btn-primary:hover {
    background-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Секции */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--secondary-color);
}

/* Услуги - тёмный фон */
.services {
    padding: 100px 0;
    background-color: var(--primary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.service-card {
    position: relative;
    height: 500px; /* Пропорция 2:3 (ширина будет 1/3 сетки) */
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(241, 238, 232, 0.1);
}

/* Пропорция 2:3 - высота в 1.5 раза больше ширины */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: var(--transition);
    z-index: 1;
}

.service-card-1::before {
    background-image: url('../images/service1.jpg');
}

.service-card-2::before {
    background-image: url('../images/service2.jpg');
}

.service-card-3::before {
    background-image: url('../images/service3.jpg');
}

/* Градиентный оверлей для лучшей читаемости текста */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(32, 30, 31, 0.1) 0%, rgba(32, 30, 31, 0.9) 100%);
    z-index: 2;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-color: var(--secondary-color);
}

.service-card:hover::before {
    transform: scale(1.05);
}

.service-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 30px;
    color: var(--secondary-color);
    z-index: 3;
}

.service-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(241, 238, 232, 0.2);
    font-family: 'Unbounded', sans-serif;
    margin-bottom: 10px;
}

.service-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.service-description {
    margin-bottom: 20px;
    opacity: 0.9;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.service-card:hover .service-link {
    gap: 15px;
    color: var(--white);
}

/* Детали услуг */
.service-details {
    padding: 100px 0;
    background-color: var(--secondary-color);
}

.detail-section {
    margin-bottom: 100px;
    padding: 60px;
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    scroll-margin-top: 100px; /* Для плавного скролла к якорям */
}

.detail-section:last-child {
    margin-bottom: 0;
}

.detail-header {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 20px;
}

.detail-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-color);
    font-family: 'Unbounded', sans-serif;
    margin-right: 30px;
}

.detail-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0;
}

.detail-content-wrapper {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.detail-content-wrapper-reverse {
    flex-direction: row-reverse;
}

.detail-content {
    flex: 1;
    font-size: 1.1rem;
    line-height: 1.8;
}

.detail-content p {
    margin-bottom: 25px;
    color: var(--text-light);
}

.detail-list {
    list-style: none;
    margin-bottom: 35px;
}

.detail-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.detail-list i {
    color: var(--primary-color);
    margin-top: 5px;
    flex-shrink: 0;
}

/* Кнопки в деталях услуг */
.detail-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* Кнопка "Подробнее" */
.btn-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 25px;
    border-radius: 30px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-more:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(32, 30, 31, 0.2);
}

.btn-more.active {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.btn-more.active .btn-more-icon {
    transform: rotate(180deg);
}

.btn-more-icon {
    transition: var(--transition);
}

/* Дополнительный контент (скрытый по умолчанию) */
.more-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.5s ease, margin 0.5s ease;
    margin: 0;
}

.more-content.active {
    max-height: 2000px;
    opacity: 1;
    margin-top: 30px;
    margin-bottom: 30px;
}

/* Стили для полароидных изображений */
.detail-images {
    flex: 0 0 350px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.polaroid-frame {
    background-color: var(--white);
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    width: 100%;
    height: auto;
}

.polaroid-frame:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.main-polaroid {
    opacity: 1;
    transform: translateY(0);
}

.additional-polaroid {
    opacity: 0;
    height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease, height 0.5s ease, padding 0.5s ease, margin 0.5s ease;
}

.additional-polaroid.active {
    opacity: 1;
    height: auto;
    padding: 15px;
    margin-top: 10px;
    transform: translateY(0);
}

.polaroid-image {
    width: 100%;
    height: 0;
    padding-bottom: 150%; /* Пропорция 2:3 (высота = 150% от ширины) */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 2px;
}

.polaroid-image-main-1 {
    background-image: url('../images/detail1-1.jpg');
}

.polaroid-image-main-2 {
    background-image: url('../images/detail2-1.jpg');
}

.polaroid-image-main-3 {
    background-image: url('../images/detail3-1.jpg');
}

.polaroid-image-1 {
    background-image: url('../images/detail1-2.jpg');
}

.polaroid-image-2 {
    background-image: url('../images/detail2-2.jpg');
}

.polaroid-image-3 {
    background-image: url('../images/detail3-2.jpg');
}

/* Форма обратной связи - тёмный фон */
.contact-form-section {
    padding: 100px 0;
    background-color: var(--primary-color);
}

.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background-color: rgba(241, 238, 232, 0.05);
    padding: 60px;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(241, 238, 232, 0.1);
    position: relative;
    z-index: 2;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-subtitle {
    color: rgba(241, 238, 232, 0.8);
    margin-top: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(241, 238, 232, 0.2);
    background-color: rgba(241, 238, 232, 0.05);
    border-radius: 10px;
    font-family: 'Comfortaa', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    color: var(--secondary-color);
}

.form-group input::placeholder,
.form-group textarea::placeholder,
.form-group select {
    color: rgba(241, 238, 232, 0.7);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
    background-color: rgba(241, 238, 232, 0.1);
    box-shadow: 0 0 0 3px rgba(241, 238, 232, 0.1);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F1EEE8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px;
}

.form-footer {
    text-align: center;
    margin-top: 20px;
}

.privacy-notice {
    font-size: 0.85rem;
    color: rgba(241, 238, 232, 0.7);
    margin-top: 20px;
}

.privacy-notice a {
    color: var(--secondary-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.privacy-notice a:hover {
    border-bottom-color: var(--secondary-color);
}

/* Футер */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(241, 238, 232, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo .logo-text {
    color: var(--secondary-color);
    font-size: 1.3rem;
}

.footer-logo:hover .logo-text {
    opacity: 0.8;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-top: 10px;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contacts {
    list-style: none;
}

.footer-contacts li {
    margin-bottom: 10px;
}

.footer-contacts a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contacts a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p,
.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-bottom a {
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--secondary-color);
}

/* Анимация появления при скролле */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Адаптивность - исправления для мобильной версии */
@media (max-width: 1100px) {
    .detail-content-wrapper {
        gap: 40px;
    }
    
    .detail-images {
        flex: 0 0 300px;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-card {
        height: 400px;
    }
    
    /* Исправление для мобильной версии: все услуги имеют текст сверху, фото снизу */
    .detail-content-wrapper {
        flex-direction: column;
        gap: 40px;
    }
    
    .detail-content-wrapper-reverse {
        flex-direction: column;
    }
    
    .detail-content {
        order: 1;
        width: 100%;
    }
    
    .detail-images {
        flex: 0 0 auto;
        order: 2;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-list {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--primary-color);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        border-top: 1px solid rgba(241, 238, 232, 0.1);
    }
    
    .nav-list.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        height: 350px;
    }
    
    .detail-section {
        padding: 30px;
    }
    
    .form-wrapper {
        padding: 40px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .detail-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .btn-more,
    .btn-outline {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .detail-images {
        max-width: 350px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero {
        min-height: 600px;
        padding-top: 80px;
    }
    
    .services,
    .service-details,
    .contact-form-section {
        padding: 60px 0;
    }
    
    .service-card {
        height: 300px;
    }
    
    .service-card-content {
        padding: 30px 20px;
    }
    
    .btn-primary {
        padding: 12px 30px;
        width: 100%;
        text-align: center;
    }
    
    .detail-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .detail-number {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .detail-content-wrapper {
        gap: 30px;
    }
    
    .detail-images {
        max-width: 300px;
    }
    
    .polaroid-frame {
        padding: 10px;
    }
    
    .detail-section {
        padding: 25px;
    }
}
/* Добавьте эти стили в конец файла style.css */

/* Стили для капчи */
.captcha-container {
    margin-top: 20px;
    padding: 15px;
    background-color: rgba(241, 238, 232, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(241, 238, 232, 0.2);
}

.captcha-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.captcha-image {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: rgba(32, 30, 31, 0.1);
    padding: 10px;
    border-radius: 5px;
}

.captcha-image img {
    height: 40px;
    border-radius: 3px;
}

.captcha-refresh {
    background: none;
    border: none;
    color: var(--secondary-color);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
}

.captcha-refresh:hover {
    background-color: rgba(241, 238, 232, 0.1);
    transform: rotate(90deg);
}

.captcha-container input {
    width: 100%;
    max-width: 200px;
    text-align: center;
    font-family: 'Unbounded', sans-serif;
    letter-spacing: 2px;
    font-size: 1.2rem;
}

/* Кнопка Telegram */
.btn-telegram {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #0088cc;
    color: var(--white);
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    font-family: 'Unbounded', sans-serif;
    border: none;
    cursor: pointer;
    text-align: center;
    justify-content: center;
}

.btn-telegram:hover {
    background-color: #0077b5;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: var(--white);
}

/* Сообщения формы */
.form-message {
    display: none;
    padding: 15px;
    margin-top: 20px;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
    transition: var(--transition);
}

.form-message.success {
    background-color: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.form-message.error {
    background-color: rgba(244, 67, 54, 0.1);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.form-message.loading {
    background-color: rgba(33, 150, 243, 0.1);
    color: #2196F3;
    border: 1px solid rgba(33, 150, 243, 0.3);
}

/* Адаптивность для кнопок в форме */
.form-footer {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
}

@media (min-width: 768px) {
    .form-footer {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .form-footer .btn-primary,
    .form-footer .btn-telegram {
        flex: 1;
        min-width: 200px;
        max-width: 250px;
    }
}

/* Добавьте ссылку на Telegram в футер */
.footer-contacts a[href*="t.me"] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-contacts a[href*="t.me"]::before {
    content: "📱";
    font-size: 1rem;
}
/* Стили для reCAPTCHA */
.recaptcha-container {
    margin-top: 20px;
    padding: 15px;
    background-color: rgba(241, 238, 232, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(241, 238, 232, 0.2);
    text-align: center;
}

.g-recaptcha {
    display: inline-block;
    transform-origin: 0 0;
}

/* Адаптивность reCAPTCHA */
@media (max-width: 480px) {
    .g-recaptcha {
        transform: scale(0.85);
        margin-left: -7.5%;
    }
}

/* Кнопка Telegram */
.btn-telegram {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #0088cc;
    color: var(--white);
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    font-family: 'Unbounded', sans-serif;
    border: none;
    cursor: pointer;
    text-align: center;
    justify-content: center;
}

.btn-telegram:hover {
    background-color: #0077b5;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: var(--white);
}

/* Сообщения формы */
.form-message {
    display: none;
    padding: 15px;
    margin-top: 20px;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
    transition: var(--transition);
}

.form-message.success {
    background-color: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.form-message.error {
    background-color: rgba(244, 67, 54, 0.1);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.form-message.loading {
    background-color: rgba(33, 150, 243, 0.1);
    color: #2196F3;
    border: 1px solid rgba(33, 150, 243, 0.3);
}

/* Адаптивность для кнопок в форме */
.form-footer {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
}

@media (min-width: 768px) {
    .form-footer {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .form-footer .btn-primary,
    .form-footer .btn-telegram {
        flex: 1;
        min-width: 200px;
        max-width: 250px;
    }
}

/* Добавьте ссылку на Telegram в футер */
.footer-contacts a[href*="t.me"] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-contacts a[href*="t.me"]::before {
    content: "📱";
    font-size: 1rem;
}
/* Исправление для выпадающего списка */
.form-group select option {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 10px;
}

.form-group select {
    color: var(--secondary-color) !important;
    background-color: rgba(241, 238, 232, 0.05) !important;
}

/* При фокусе */
.form-group select:focus option {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* При наведении на опции */
.form-group select option:hover,
.form-group select option:focus,
.form-group select option:active {
    background-color: var(--accent-color) !important;
    color: var(--white) !important;
}

/* Стили для reCAPTCHA */
.recaptcha-container {
    margin-top: 20px;
    padding: 15px;
    background-color: rgba(241, 238, 232, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(241, 238, 232, 0.2);
    text-align: center;
}

.g-recaptcha {
    display: inline-block;
    transform-origin: 0 0;
}

/* Адаптивность reCAPTCHA */
@media (max-width: 480px) {
    .g-recaptcha {
        transform: scale(0.85);
        margin-left: -7.5%;
    }
}
/* В начале файла добавьте исправление для body */
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: var(--primary-color); /* Добавьте эту строку */
}

/* Исправьте герой-секцию */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 0;
    padding-top: 0; /* Добавьте это */
}

/* Убедитесь, что header имеет правильный фон */
.header {
    background-color: var(--primary-color); /* Измените с transparent */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

/* Удалите или измените .header.scrolled если нужно */
.header.scrolled {
    background-color: var(--primary-color); /* Оставьте тот же цвет */
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    padding: 15px 0;
}

/* Добавьте отступ для main контента */
main {
    margin-top: 80px; /* Высота шапки */
}

/* Для страницы контактов исправьте отступы */
.contacts-page {
    padding: 80px 0 60px; /* Измените с 120px 0 80px */
    background-color: var(--secondary-color);
    min-height: calc(100vh - 200px);
}

/* Для страницы политики конфиденциальности */
.privacy-page {
    padding: 100px 0 60px;
    background-color: var(--secondary-color);
    min-height: calc(100vh - 200px);
}
/* Стили для hCaptcha */
.h-captcha {
    display: inline-block;
    margin: 0 auto;
}

.recaptcha-container {
    margin-top: 20px;
    padding: 15px;
    background-color: rgba(241, 238, 232, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(241, 238, 232, 0.2);
    text-align: center;
    overflow: hidden;
}

/* Адаптивность hCaptcha */
@media (max-width: 480px) {
    .h-captcha {
        transform: scale(0.9);
        transform-origin: 0 0;
    }
}
/* Секция городов работы - упрощённая версия */
.cities-section {
    padding: 40px 0 50px; /* Уменьшили отступы сверху и снизу */
    background-color: var(--secondary-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1rem; /* Уменьшили размер шрифта */
    color: var(--text-light);
    margin-bottom: 25px; /* Уменьшили отступ снизу */
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cities-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px; /* Уменьшили промежутки между элементами */
    max-width: 800px;
    margin: 0 auto 15px; /* Уменьшили отступ снизу */
}

.city-item {
    display: flex;
    align-items: center;
    gap: 8px; /* Уменьшили промежуток между иконкой и текстом */
    background-color: var(--white);
    padding: 10px 18px; /* Уменьшили внутренние отступы */
    border-radius: 50px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08); /* Уменьшили тень */
    transition: var(--transition);
    font-weight: 500;
    color: var(--primary-color);
    font-size: 0.95rem; /* Уменьшили размер шрифта */
}

.city-item:hover {
    transform: translateY(-3px); /* Уменьшили эффект поднятия */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
    background-color: var(--accent-color);
    color: var(--white);
}

.city-item:hover i {
    color: var(--white);
}

.city-item i {
    color: var(--accent-color);
    font-size: 1rem; /* Уменьшили размер иконок */
}

.city-item.all-cities {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
}

.city-item.all-cities i {
    color: var(--secondary-color);
}

/* Компактная версия для мобильных (скрытая по умолчанию) */
.cities-list-compact {
    display: none;
    flex-direction: column;
    gap: 8px;
    max-width: 500px;
    margin: 0 auto;
}

.compact-row {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.compact-city {
    background-color: var(--white);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.all-compact {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    font-weight: 500;
}

/* Адаптивность */
@media (max-width: 768px) {
    .cities-section {
        padding: 30px 0 40px; /* Ещё меньше отступы на мобильных */
    }
    
    .cities-list {
        display: none; /* Скрываем основной список на мобильных */
    }
    
    .cities-list-compact {
        display: flex; /* Показываем компактную версию */
    }
    
    .compact-row {
        gap: 8px;
    }
    
    .compact-city {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 1.8rem; /* Уменьшили заголовок на мобильных */
        margin-bottom: 15px;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .cities-section {
        padding: 25px 0 35px;
    }
    
    .compact-row {
        gap: 6px;
    }
    
    .compact-city {
        padding: 5px 10px;
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
}
}

/* Адаптивность */
@media (max-width: 768px) {
    .cities-section {
        padding: 60px 0;
    }
    
    .cities-list {
        gap: 10px;
        padding: 0 10px;
    }
    
    .city-item {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .cities-list {
        gap: 8px;
    }
    
    .city-item {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
}
/* SEO-текст с анимацией */
.footer-seo {
    background-color: rgba(0, 0, 0, 0.1);
    padding: 30px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-seo details {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 15px;
    transition: var(--transition);
}

.footer-seo details[open] {
    background-color: rgba(255, 255, 255, 0.1);
}

.footer-seo summary {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    padding: 10px;
    outline: none;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-seo summary::-webkit-details-marker {
    display: none;
}

.footer-seo summary:before {
    content: '▶';
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.footer-seo details[open] summary:before {
    transform: rotate(90deg);
}

.footer-seo .seo-content {
    padding: 20px 15px 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 10px;
}

.footer-seo .seo-content h3,
.footer-seo .seo-content h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1rem;
}

.footer-seo .seo-content h3 {
    font-size: 1.1rem;
}

.footer-seo .seo-content p {
    margin-bottom: 15px;
}

.footer-seo .seo-content ul {
    list-style: none;
    margin-bottom: 20px;
    padding-left: 20px;
}

.footer-seo .seo-content li {
    margin-bottom: 8px;
    position: relative;
}

.footer-seo .seo-content li:before {
    content: "•";
    color: var(--accent-color);
    position: absolute;
    left: -15px;
}

@media (max-width: 768px) {
    .footer-seo {
        padding: 20px 0;
        margin-top: 30px;
    }
    
    .footer-seo .seo-content {
        font-size: 0.85rem;
    }
}