/* Подключение локальных шрифтов Futura Cyrillic */
@font-face {
    font-family: 'Futura PT';
    font-style: normal;
    font-weight: 300;
    src: url('fonts/FuturaCyrillicLight.woff') format('woff');
}

@font-face {
    font-family: 'Futura PT';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/FuturaCyrillicBook.woff') format('woff');
}

@font-face {
    font-family: 'Futura PT';
    font-style: normal;
    font-weight: 500;
    src: url('fonts/FuturaCyrillicMedium.woff') format('woff');
}

@font-face {
    font-family: 'Futura PT';
    font-style: normal;
    font-weight: 600;
    src: url('fonts/FuturaCyrillicDemi.woff') format('woff');
}

@font-face {
    font-family: 'Futura PT';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/FuturaCyrillicBold.woff') format('woff');
}

@font-face {
    font-family: 'Futura PT';
    font-style: normal;
    font-weight: 800;
    src: url('fonts/FuturaCyrillicExtraBold.woff') format('woff');
}

@font-face {
    font-family: 'Futura PT';
    font-style: normal;
    font-weight: 900;
    src: url('fonts/FuturaCyrillicHeavy.woff') format('woff');
}

/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: content-box;
}

/* Исправление синих ссылок телефонов в Safari */
a[href^="tel:"] {
    color: #ffffff !important;
    text-decoration: none !important;
}

.footer-copyright a[href^="tel:"] {
    color: #c4c2c2 !important;
}

.contact-details a[href^="tel:"] {
    color: #333 !important;
}

body {
    font-family: 'Futura PT', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-social-mobile {
    display: none;
}
.footer-logo-social{
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: flex-end;
}


/* Фиксированная навигация - точно как t228 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.4);
    transition: background 0.3s ease;
    height: 80px;
    display: table;
    width: 100%;
}

.header-container {
    display: grid;
    grid-template-columns: 370px 1fr 370px;
    align-items: center;
    height: 80px;
    max-height: 80px;
}

.header-left {
    display: table-cell;
    vertical-align: middle;
    width: auto;
    padding-left: 30px;
    min-width: 250px;
}

.header-left .header-logo {
    max-height: 80px;
    height: auto;
    display: block;
}

.header-nav {
    width: auto;
    height: 80px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 80px;
    overflow: hidden;
}

.header-nav .nav-list {
    margin: 0;
    padding: 10px 0;
    list-style-type: none;
    font-size: 0;
    display: flex;
    max-height: 80px;
    overflow: hidden;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
}

.header-nav .nav-list li {
    display: inline-block;
    font-family: 'Futura PT', Arial, sans-serif;
    white-space: nowrap;
    margin: 0;
}

.header-nav .nav-list li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 0px 10px;
    display: inline-block;
    position: relative;
    transition: color 0.3s ease;
    line-height: 32px;
    font-family: 'Futura PT', Arial, sans-serif;
}

/* Первый элемент - только padding-right */
.header-nav .nav-list li:first-child a {
    padding-left: 0;
    padding-right: 8px;
}

/* Последний элемент - только padding-left */
.header-nav .nav-list li:last-child a {
    padding-left: 8px;
    padding-right: 0;
}

.header-nav .nav-list li a:hover {
    color: #74e39e;
}

.header-nav .nav-list li a.active {
    color: #74e39e;
}

.header-nav .nav-list li a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 3px;
    opacity: 0;
    height: 1px;
    background-color: #74e39e;
    margin: 0 8px;
    -webkit-transition: opacity 0.3s ease, bottom 0.3s ease;
    transition: opacity 0.3s ease, bottom 0.3s ease;
    pointer-events: none;
}

.header-nav .nav-list li a:hover::after {
    opacity: 1;
    bottom: 1px;
}

.header-right {
    display: table-cell;
    vertical-align: middle;
    text-align: right;
    padding-right: 30px;
    width: auto;
}

.social-links {
    display: inline-flex;
    align-items: center;
    margin-right: 20px;
    vertical-align: middle;
    gap: 4px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.1);
}

.phone-btn {
    display: inline-flex;
    align-items: center;
    color: rgb(255, 255, 255);
    background: transparent;
    padding: 8px 30px;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Futura PT', Arial, sans-serif;
    transition: all 0.3s ease;
    vertical-align: middle;
    height: 40px;
    font-size: 14px;
    padding-left: 30px;
    padding-right: 30px;
    margin-left: 10px;
}

/* Главный баннер - структура t396 */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 720px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

/* Фоновое изображение - t396__carrier */
.hero::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://optim.tildacdn.com/tild3064-3462-4638-b562-663939386538/-/format/webp/600_.jpg.webp');
    background-position: center center;
    background-attachment: scroll;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Затемняющий фильтр - t396__filter */
.hero::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.35));
    transform: translateZ(0);
    will-change: transform;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1660px;
    padding: 0 20px;
    text-align: center;
    margin-top: 130px;
}

.hero-logo {
    margin-bottom: 30px;
}

.hero-logo-img {
    max-width: 309px;
    height: 174px;
    width: auto;
    opacity: 0;
    transform: scale(0.9);
    animation: zoomInHero 1s ease-out 0.2s forwards;
}

.hero-title {
    font-family: 'Futura PT', Arial, sans-serif;
    font-size: 48px;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    transform: scale(0.65);
    animation: zoomInHero 1s cubic-bezier(0.19, 1, 0.22, 1) 0.5s forwards;
}

.hero-subtitle {
    font-family: 'Futura PT', Arial, sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 30px;
    color: #ffffff;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.8s forwards;
}

.hero-btn {
    display: inline-block;
    padding: 15px 40px;
    color: rgb(252, 249, 249);
    background-color: rgb(5, 123, 71);
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 500;
    font-family: 'Futura PT', Arial, sans-serif;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 5px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 1.1s forwards;
}

.hero-btn:hover {
    background-color: rgba(5, 123, 71, 0.9);
    transform: translateY(-2px);
    box-shadow: rgba(0, 0, 0, 0.3) 0px 5px 15px;
}

/* Стрелки в hero секции */
.hero-arrows {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.hero-arrow {
    width: 40px;
    height: 37px;
    position: absolute;
    cursor: pointer;
}

.hero-arrow-1 {
    bottom: 10px;
    left: -20px;
    animation-delay: 1s;
}

.hero-arrow-2 {
    bottom: -10px;
    left: -20px;
    animation-delay: 1s;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes zoomInHero {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Секция выбора услуг */
.services {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 60vh;
    overflow: hidden;
}

/* Контейнер слайдера */
.services-slider {
    position: relative;
    width: 100%;
    min-height: 400px;
    height: auto;
    overflow: hidden;
}

/* Экраны слайдера */
.services-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.services-screen.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    position: relative;
}

.services-screen.sliding-out {
    opacity: 0;
    transform: translateX(-100%);
    position: absolute;
}

/* Заголовок экрана */
.screen-header {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    gap: 20px;
}

/* Кнопка назад */
.back-btn {
    background: linear-gradient(135deg, #74e39e 0%, #5bb8a0 100%);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(116, 227, 158, 0.3);
    color: white;
    opacity: 0;
    animation: slideInLeft 0.6s ease 0.3s forwards;
}

.back-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(116, 227, 158, 0.4);
    background: linear-gradient(135deg, #5bb8a0 0%, #74e39e 100%);
}

.back-btn:active {
    transform: translateY(0) scale(0.98);
}

.back-btn svg {
    width: 24px;
    height: 24px;
}

/* Детали группы */
.group-details {
    margin: 8px 0 0 0;
    padding: 15px;
    background: rgba(116, 227, 158, 0.1);
    border-radius: 10px;
    border-left: 4px solid #74e39e;
}

.group-schedules {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.group-time {
    font-weight: 600;
    color: #2d5a3d;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 8px 12px;
    background: rgba(116, 227, 158, 0.15);
    border-radius: 8px;
    border: 1px solid rgba(116, 227, 158, 0.3);
    transition: all 0.2s ease;
}

.group-time:hover {
    background: rgba(116, 227, 158, 0.25);
    border-color: #74e39e;
}

.group-time::before {
    content: "🕒";
    font-size: 14px;
    margin-right: 8px;
}

/* Анимации появления */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Анимация для карточек в детских группах */
.services-screen:not(.active) .service-card {
    opacity: 0;
    transform: translateY(30px);
}

.services-screen.active .service-card {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

.services-screen.active .service-card:nth-child(1) { transition-delay: 0.1s; }
.services-screen.active .service-card:nth-child(2) { transition-delay: 0.2s; }
.services-screen.active .service-card:nth-child(3) { transition-delay: 0.3s; }
.services-screen.active .service-card:nth-child(4) { transition-delay: 0.4s; }

/* Улучшенные стили для заголовка в детских группах */
#kids-groups .services-title {
    margin: 0;
    opacity: 0;
    animation: slideInRight 0.6s ease 0.2s forwards;
}

/* Основные стили для заголовка и сетки */
.services-title {
    font-family: 'Futura PT', Arial, sans-serif;
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #222;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    grid-auto-rows: 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 30px;
    align-items: stretch;
}

.service-card {
    background: #fff;
    padding: 0;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Заголовок категории в каждой карточке */
.service-card .category-header {
    background: linear-gradient(135deg, rgb(5, 123, 71), rgb(34, 197, 94));
    color: white;
    padding: 15px 20px;
    margin: 0;
}

.service-card .category-header h4 {
    margin: 0;
    font-family: 'Futura PT', Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Новые стили для детских групп */
.card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 25px 20px 20px 20px;
}

.service-card h3 {
    font-family: 'Futura PT', Arial, sans-serif;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #222;
    line-height: 1.3;
    padding: 20px 0;
}

.service-card p {
    font-family: 'Futura PT', Arial, sans-serif;
    font-size: 15px;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.5;
    flex: 1;
}

.service-btn {
    display: inline-block;
    padding: 12px 30px;
    color: rgb(252, 249, 249);
    background-color: rgb(5, 123, 71);
    border: none;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 500;
    font-family: 'Futura PT', Arial, sans-serif;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 5px;
    margin: 15px 20px 20px 20px;
    align-self: center;
    width: fit-content;
}

.service-btn:hover {
    background-color: rgba(5, 123, 71, 0.9);
    transform: translateY(-2px);
    box-shadow: rgba(0, 0, 0, 0.3) 0px 5px 15px;
}

/* Стили для новых элементов карточек групп */
.group-trainer {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 6px;
}

.group-address {
    color: #8b5cf6;
    font-size: 13px;
    margin-bottom: 8px;
    font-weight: 500;
}

.group-category {
    color: rgb(5, 123, 71);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.group-description {
    color: #9ca3af;
    font-size: 13px;
    font-style: italic;
    margin-bottom: 20px;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .screen-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .back-btn {
        width: 45px;
        height: 45px;
        align-self: flex-start;
    }
    
    .services-grid {
        gap: 20px;
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }
    
    .service-card {
        padding: 0;
    }
    
    .service-card .category-header h4 {
        font-size: 14px;
        padding: 12px 15px;
    }
    
    .service-card .card-content {
        padding: 20px 15px 15px 15px;
    }
    
    .group-address {
        font-size: 12px;
        margin-bottom: 6px;
    }
    
    .service-btn {
        margin: 10px 15px 15px 15px;
        padding: 10px 25px;
        font-size: 14px;
    }
    
    .service-card h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .service-card p {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .group-details {
        padding: 12px;
        margin: 6px 0 0 0;
    }
    
    .group-time {
        font-size: 13px;
        padding: 6px 10px;
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
    
    .group-time::before {
        margin-right: 0;
    }
    
    .service-btn {
        padding: 10px 25px;
        font-size: 14px;
        margin-top: 12px;
    }
    
    .services-slider {
        min-height: 350px;
    }
}

@media (max-width: 480px) {
    .services-screen {
        padding: 0 10px;
    }
    
    .services-slider {
        min-height: 350px;
    }
    
    .services-grid {
        gap: 15px;
        padding: 25px 15px;
    }
    
    .service-card {
        padding: 0;
    }
    
    .service-card .category-header h4 {
        font-size: 13px;
        padding: 10px 12px;
    }
    
    .service-card .card-content {
        padding: 15px 12px 10px 12px;
    }
    
    .group-address {
        font-size: 11px;
        margin-bottom: 5px;
    }
    
    .service-btn {
        margin: 8px 12px 12px 12px;
        padding: 8px 20px;
        font-size: 13px;
    }
    
    .service-card h3 {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .service-card p {
        font-size: 13px;
        margin-bottom: 5px;
    }
    
    .back-btn {
        width: 40px;
        height: 40px;
    }
    
    .back-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .group-details {
        padding: 10px;
        margin: 5px 0 0 0;
    }
    
    .group-time {
        font-size: 12px;
        padding: 6px 8px;
        flex-direction: column;
        gap: 2px;
        text-align: center;
    }
    
    .group-time::before {
        margin-right: 0;
        font-size: 12px;
    }
    
    .service-btn {
        padding: 8px 20px;
        font-size: 13px;
        margin-top: 10px;
    }
}

/* Футер */
.footer {
    background-color: #111111;
    color: #ffffff;
    padding: 30px 0 0 0;
}

.footer-social {
    text-align: center;
    margin-bottom: 30px;
}

.footer-social .social-links {
    display: inline-flex;
    gap: 10px;
    margin: 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.footer-logo {
    max-width: 150px;
    height: auto;
}

.footer-right {
    flex: 1;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    justify-content: center;
}

.footer-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    font-family: 'Futura PT', Arial, sans-serif;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #74e39e;
}

.footer-copyright {
    font-size: 13px;
    color: #c4c2c2;
    font-weight: 400;
    font-family: 'Futura PT', Arial, sans-serif;
    line-height: 1.6;
    text-align: center;
}

.footer-contacts,
.footer-copyright {
    margin-top: 20px;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .header-container {
        display: flex;
        align-items: center;
        height: 80px;
    }

    .header-nav {
        display: none;
    }

    .header-nav .nav-list {
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.9);
    }

    .header-nav .nav-list li a {
        padding: 15px 20px;
        font-size: 16px;
    }

    .hero-title {
        font-size: 48px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-nav {
        justify-content: center;
        gap: 5px 20px;
    }

    .contacts-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contacts-map iframe {
        height: 400px;
    }

    .contacts-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
        height: 70px;
    }

    .header {
        height: 70px;
    }

    .header-nav .nav-list {
        top: 70px;
    }

    .header-nav .nav-list li a {
        padding: 12px 20px;
        font-size: 14px;
    }

    .hero {
        height: 80vh;
        min-height: 600px;
    }

    .hero-title {
        font-size: 28px;
        transform: scale(0.8);
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-logo-img {
        max-width: 250px;
        height: 141px;
    }

    .services {
        padding: 60px 0;
    }

    .services-title {
        font-size: 28px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 30px 20px;
    }

    .footer-nav {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .contacts {
        padding: 60px 0;
    }

    .contacts-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .contact-details {
        font-size: 12px;
        line-height: 20px;
    }

    .contacts-map iframe {
        height: 300px;
    }

    .hero-arrows {
        display: none;
    }
}

@media (max-width: 480px) {
    .header {
        height: 60px;
    }

    .header-container {
        height: 60px;
        padding: 0 15px;
    }

    .hero {
        min-height: 500px;
    }

    .hero-title {
        font-size: 24px;
        transform: scale(0.7);
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-btn {
        padding: 12px 25px;
        font-size: 16px;
    }

    .hero-logo-img {
        max-width: 200px;
        height: 113px;
    }

    .services-title {
        font-size: 24px;
    }

    .service-card {
        padding: 30px 20px;
    }

    .footer {
        padding: 20px 0;
    }

    .footer-social {
        margin-bottom: 20px;
    }

    .contacts {
        padding: 40px 0;
    }

    .contacts-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .contact-details h4 {
        font-size: 16px;
    }
}

/* Адаптивность для больших экранов */
@media (min-width: 1920px) {
    .hero-title {
        font-size: 42px;
        transform: scale(0.65);
    }

    .hero-subtitle {
        font-size: 28px;
    }

    .hero-logo-img {
        max-width: 309px;
        height: 174px;
    }
}

@media (min-width: 2560px) {
    .hero-title {
        font-size: 42px;
        transform: scale(0.65);
    }

    .hero-subtitle {
        font-size: 32px;
    }

    .hero-logo-img {
        max-width: 309px;
        height: 174px;
    }
}

/* Анимации - убираем дубли */
.service-card {
    animation: fadeInUp 0.6s ease-out forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }

/* Блок контактов */
.contacts {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.contacts-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 620px;
    gap: 60px;
    align-items: start;
}

.contacts-title {
    font-family: 'Futura PT', Arial, sans-serif;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #222;
}

.contact-details {
    font-family: 'Futura PT', Arial, sans-serif;
    font-size: 12px;
    line-height: 20px;
    color: #333;
}

.contact-details p {
    margin-bottom: 12px;
}

.contact-details h4 {
    font-family: 'Futura PT', Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin: 20px 0 8px 0;
    color: #222;
}

.contact-details a {
    color: rgb(5, 123, 71);
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contacts-map {
    position: relative;
}

.contacts-map iframe {
    width: 100%;
    height: 620px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

/* Анимация появления элементов */
.fade-in-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Динамическая форма записи */
.booking-form-section {
    background: #f8f9fa;
    padding: 30px 0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.booking-form-section.show {
    opacity: 1;
    max-height: 1700px;
}

.booking-form-container {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.form-header {
    background: linear-gradient(135deg, rgb(5, 123, 71), rgb(116, 227, 158));
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.form-title {
    font-family: 'Futura PT', Arial, sans-serif;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.form-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.form-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.booking-form {
    padding: 25px 30px;
    overflow-y: auto;
    flex: 1;
}

.form-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 25px;
}

.form-column {
    min-height: 0;
}

.column-title {
    font-family: 'Futura PT', Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: rgb(5, 123, 71);
    margin: 0 0 20px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(5, 123, 71, 0.2);
}

.form-group {
    margin-bottom: 18px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.form-group.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-footer {
    border-top: 1px solid #e1e5e9;
    padding-top: 20px;
    margin-top: 25px;
}

.form-label {
    display: block;
    font-family: 'Futura PT', Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-family: 'Futura PT', Arial, sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fff;
    box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: rgb(5, 123, 71);
    box-shadow: 0 0 0 2px rgba(5, 123, 71, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 50px;
}

/* Кастомный селект */
.custom-select {
    position: relative;
    
}

.select-trigger {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Futura PT', Arial, sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.select-trigger:hover {
    border-color: rgb(5, 123, 71);
}

.select-arrow {
    transition: transform 0.3s ease;
    color: #666;
}

.custom-select.open .select-arrow {
    transform: rotate(180deg);
}

/* Чекбокс */
.checkbox-container {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    gap: 10px;
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #e1e5e9;
    border-radius: 4px;
    background: #fff;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checkbox-container input[type="checkbox"]:checked + .checkbox-custom {
    background: rgb(5, 123, 71);
    border-color: rgb(5, 123, 71);
}

.checkbox-container input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: 2px solid white;
    border-left: none;
    border-top: none;
    transform: rotate(45deg);
}

.checkbox-text {
    font-family: 'Futura PT', Arial, sans-serif;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Кнопка отправки */
.form-actions {
    margin-top: 25px;
    text-align: center;
}

.form-submit {
    background: linear-gradient(135deg, rgb(5, 123, 71), rgb(116, 227, 158));
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-family: 'Futura PT', Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.form-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.form-submit:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(5, 123, 71, 0.3);
}

.form-submit:not(:disabled):active {
    transform: translateY(0);
}

/* Состояние ошибки для полей */
.form-input.error,
.form-textarea.error,
.select-trigger.error {
    border-color: #e74c3c !important;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2) !important;
    animation: shake 0.6s ease-in-out;
}

.form-input.error:focus,
.form-textarea.error:focus {
    border-color: #e74c3c !important;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.3) !important;
}

.custom-select.error .select-trigger {
    animation: shake 0.6s ease-in-out, errorPulse 1s ease-in-out;
}

.form-label.error {
    color: #e74c3c !important;
}

/* Shake анимация */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Анимация для подсветки поля с ошибкой */
@keyframes errorPulse {
    0% { box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2); }
    50% { box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.4); }
    100% { box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2); }
}

.form-input.error,
.form-textarea.error,
.custom-select.error .select-trigger {
    animation: shake 0.6s ease-in-out, errorPulse 1s ease-in-out;
}

/* Полноэкранный селектор графика */
.schedule-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.schedule-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Блокировка скролла при открытом модальном окне */
body.modal-open {
    overflow: hidden;
}

.schedule-modal {
    background: white;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    transform: scale(0.9) translateY(50px);
    transition: all 0.3s ease;
}

.schedule-overlay.show .schedule-modal {
    transform: scale(1) translateY(0);
}

.schedule-header {
    background: linear-gradient(135deg, rgb(5, 123, 71), rgb(116, 227, 158));
    color: white;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.schedule-header h3 {
    margin: 0;
    font-family: 'Futura PT', Arial, sans-serif;
    font-size: 24px;
    font-weight: 600;
}

.schedule-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.schedule-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.schedule-options {
    padding: 30px;
    max-height: calc(80vh - 100px);
    overflow-y: auto;
}

.schedule-option {
    border: 2px solid #e1e5e9;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.schedule-option:last-child {
    margin-bottom: 30px;
}

.schedule-option:hover {
    border-color: rgb(5, 123, 71);
    background: rgba(5, 123, 71, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.schedule-option.selected {
    border-color: rgb(5, 123, 71);
    background: rgba(5, 123, 71, 0.1);
}

.schedule-time {
    font-family: 'Futura PT', Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.schedule-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Futura PT', Arial, sans-serif;
    margin-top: 8px;
}

.schedule-price {
    font-weight: 600;
    color: rgb(5, 123, 71);
    font-size: 16px;
}

.schedule-frequency {
    color: #666;
    font-size: 14px;
}

/* Адаптивность для формы */
@media (max-width: 768px) {
    .booking-form-container {
        max-height: none;
        height: auto;
        margin: 20px;
        width: calc(100% - 40px);
        min-height: calc(100vh - 40px);
    }
    .footer-social{
        display: none;
    }
    
    .form-header {
        padding: 20px 25px;
    }
    
    .form-title {
        font-size: 22px;
    }
    
    .booking-form {
        padding: 30px 25px 50px 25px;
        overflow-y: visible;
        flex: none;
        height: auto;
        min-height: calc(100vh - 160px);
    }
    
    .form-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .column-title {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-footer {
        margin-top: 40px;
        padding-bottom: 30px;
    }
    
    .schedule-options {
        padding: 20px;
    }
    
    .schedule-modal {
        margin: 20px;
        width: calc(100% - 40px);
    }
}

@media (max-width: 480px) {
    .booking-form-container {
        margin: 10px;
        width: calc(100% - 20px);
        min-height: calc(100vh - 20px);
    }
    
    .form-header {
        padding: 15px 20px;
    }
    
    .booking-form {
        padding: 25px 20px 60px 20px;
        min-height: calc(100vh - 140px);
    }
    
    .form-input,
    .form-textarea,
    .select-trigger {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .form-footer {
        margin-top: 40px;
        padding-bottom: 40px;
    }
}

/* Уведомление об ошибках */
.error-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
    background: #fff;
    border: 1px solid #e74c3c;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(231, 76, 60, 0.3);
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.error-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.error-notification-content {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    gap: 15px;
}

.error-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.error-text h4 {
    margin: 0 0 8px 0;
    color: #e74c3c;
    font-size: 16px;
    font-weight: 600;
}

.error-text p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.4;
}

.error-close {
    background: none;
    border: none;
    color: #999;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.error-close:hover {
    color: #e74c3c;
}

/* Плейсхолдер загрузки */
.loading-placeholder {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.loading-placeholder h3 {
    color: #74e39e;
}

.loading-placeholder::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #74e39e;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Уведомления об успехе */
.success-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(5, 150, 105, 0.3);
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.success-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.success-notification-content {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    gap: 15px;
}

.success-icon {
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.success-text h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
}

.success-text p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.4;
}

.success-close {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
    flex-shrink: 0;
}

.success-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Мобильный заголовок */
.header-title-mobile {
    display: none;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    font-family: 'Futura PT', Arial, sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
    z-index: 1;
}

/* Кнопка мобильного меню */
.mobile-menu-btn {
    display: none;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Анимация гамбургера */
.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Мобильное меню */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 999;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu-content {
    padding: 80px 20px 40px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-list li {
    margin-bottom: 20px;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.3s ease;
}

.mobile-menu.active .mobile-nav-list li {
    opacity: 1;
    transform: translateX(0);
}

.mobile-nav-list li:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav-list li:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav-list li:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav-list li:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav-list li:nth-child(5) { transition-delay: 0.3s; }
.mobile-nav-list li:nth-child(6) { transition-delay: 0.35s; }
.mobile-nav-list li:nth-child(7) { transition-delay: 0.4s; }
.mobile-nav-list li:nth-child(8) { transition-delay: 0.45s; }
.mobile-nav-list li:nth-child(9) { transition-delay: 0.5s; }
.mobile-nav-list li:nth-child(10) { transition-delay: 0.55s; }
.mobile-nav-list li:nth-child(11) { transition-delay: 0.6s; }

.mobile-nav-list a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    font-family: 'Futura PT', Arial, sans-serif;
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.3s ease;
}

.mobile-nav-list a:hover {
    color: #74e39e;
}

/* Футер мобильного меню */
.mobile-menu-footer {
    margin-top: 40px;
    padding-top: 30px;
    padding-bottom: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.mobile-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.mobile-social a {
    transition: transform 0.3s ease;
}

.mobile-social a:hover {
    transform: scale(1.1);
}

.mobile-phone {
    display: inline-block;
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Futura PT', Arial, sans-serif;
    padding: 15px 30px;
    border: 2px solid #74e39e;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.mobile-phone:hover {
    background: #74e39e;
    color: black;
}

/* Адаптивные стили для header */
@media (max-width: 768px) {
    .header-nav,
    .header-right {
        display: none;
    }
    
    .header-title-mobile {
        display: block;
        max-width: calc(100% - 160px);
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .header {
        height: 60px;
    }
    
    .header-container {
        height: 60px;
        position: relative;
    }
    
    .header-left {
        padding-left: 20px;
        min-width: auto;
        width: 80px;
        position: relative;
        z-index: 2;
    }
    
    .header-left .header-logo {
        max-height: 40px;
    }
}

@media (max-width: 480px) {
    .header-title-mobile {
        font-size: 12px;
        max-width: calc(100% - 140px);
    }
    
    .header-left {
        width: 70px;
    }
    
    .header-left .header-logo {
        max-height: 35px;
    }
    
    .mobile-menu-btn {
        right: 15px;
        width: 25px;
        height: 18px;
    }
}

/* Стили для контактов и карт */
.contacts-map-mobile {
    display: none;
}

.contacts-map-desktop {
    display: block;
}

/* Мобильные стили для контактов */
@media (max-width: 768px) {
    .contacts-container {
        flex-direction: column;
        padding: 40px 0;
        width: 100%;
        max-width: 100%;
    }
    
    .contacts-info {
        width: 100%;
        margin-bottom: 30px;
        padding: 0 20px;
    }
    
    .contacts-map-desktop {
        display: none;
    }
    
    .contacts-map-mobile {
        display: block;
        width: 100%;
        padding: 0;
        margin-top: 20px;
        display: flex;
        justify-content: center;
    }
    
    .contacts-map-mobile > div {
        width: calc(100% - 80px);
        max-width: 500px;
    }
    
    .contacts-map-mobile iframe {
        width: 100%;
        height: 300px;
        border-radius: 10px;
        border: none;
    }
    
    .contacts {
        padding: 40px 0;
    }
    
    .contacts-title {
        text-align: center;
        margin-bottom: 30px;
        font-size: 28px;
        color: rgb(5, 123, 71);
        font-family: 'Futura PT', Arial, sans-serif;
        font-weight: 700;
    }
    
    .contact-details {
        text-align: left;
        line-height: 1.8;
        width: 100%;
        max-width: none;
    }
    
    .contact-details h4 {
        margin-top: 25px;
        margin-bottom: 10px;
        color: #333;
        font-size: 18px;
        font-family: 'Futura PT', Arial, sans-serif;
        font-weight: 600;
    }
    
    .contact-details p {
        margin-bottom: 8px;
        font-size: 16px;
        color: #333;
        font-family: 'Futura PT', Arial, sans-serif;
        width: 100%;
    }
    
    .contact-details a {
        color: #333;
        text-decoration: none;
        font-weight: 400;
    }
    
    .contact-details a:hover {
        color: #333;
        text-decoration: underline;
    }
    
    /* Мобильный футер */
    .footer > .footer-social {
        display: none;
    }
    
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        text-align: left;
        padding: 0 20px;
    }
    
    .footer-left {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-logo-social {
        display: flex;
        align-items: center;
        gap: 20px;
        margin-bottom: 20px;
        width: 100%;
    }
    
    .footer-logo {
        max-width: 120px;
        margin-bottom: 0;
    }
    
    .footer-social-mobile {
        display: block;
        margin-bottom: 0;
    }
    
    .footer-social-mobile .social-links {
        justify-content: flex-start;
        gap: 15px;
    }
    
    .footer-nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px 30px;
        margin-bottom: 0;
        text-align: left;
    }
    
    .footer-nav a {
        color: #ffffff;
        font-size: 14px;
        text-align: left;
    }
    
    .footer-right {
        max-width: none;
        flex: none;
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .contacts {
        padding: 30px 0;
    }
    
    .contacts-container {
        padding: 0;
    }
    
    .contacts-info {
        padding: 0 15px;
    }
    
    .contacts-title {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .contact-details h4 {
        font-size: 16px;
    }
    
    .contact-details p {
        font-size: 15px;
    }
    
    .contacts-map-mobile {
        padding: 0;
    }
    
    .contacts-map-mobile > div {
        width: calc(100% - 60px);
    }
    
    .contacts-map-mobile iframe {
        height: 250px;
    }
    
    /* Мобильный футер 480px */
    .footer > .footer-social {
        display: none;
    }
    
    .footer-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 15px;
        gap: 25px;
    }
    
    .footer-left {
        width: 100%;
    }
    
    .footer-logo-social {
        gap: 15px;
        margin-bottom: 15px;
    }
    
    .footer-logo {
        max-width: 100px;
        margin-bottom: 0;
        margin-left: -30px;
    }
    .contacts-container{
        width: 90%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .contacts-title{
        text-align: left;
        color: #222;
    }
    
    .footer-social-mobile .social-links {
        gap: 15px;
    }
    
    .footer-nav {
        grid-template-columns: 1fr 1fr;
        gap: 8px 25px;
    }
    
    .footer-nav a {
        font-size: 13px;
    }
    
    .footer-right {
        width: 100%;
    }
}

/* ==== Telegram Bind Button ==== */
.tg-bind-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 16px;
  font-size:14px;
  font-weight:600;
  background:#0088cc; /* Telegram blue */
  color:#fff;
  border:none;
  border-radius:8px;
  cursor:pointer;
  transition:background 0.3s ease,transform 0.2s ease;
}
.tg-bind-btn:hover{background:#009fe3;}
.tg-bind-btn:active{transform:scale(0.97);}
.tg-bind-btn:disabled{background:#a0a0a0; cursor:not-allowed;}

/* ==== Telegram Bind Status ==== */
.tg-status{
  margin-left:10px;
  font-size:14px;
  color:#008000; /* green */
  font-weight:600;
}