/* Убираем ограничения родительских контейнеров Woodstock для нашей страницы */
.page-template-page-festival .content-area, 
.page-template-page-festival .row {
    max-width: 100%;
    padding: 0;
    margin: 0;
}
.page-template-page-festival *,
.page-template-page-festival strong{
    font-size: 16px;
    font-weight: 400;
}

/* -- Главный Баннер -- */
.main-banner {
    width: 100%;
    min-height: 100vh; /* Полноэкранный */
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
    padding: 60px 20px;
    box-sizing: border-box;
    z-index: 1;
}

/* Затемняющий оверлей поверх фона */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 2;
}

/* Контейнер контента */
.banner-container {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

/* Лейбл */
.banner-label {
    font-family: FuturaMediumC;
    font-size: 24px;
    letter-spacing: 1px;
    color: #ffffff;
    border: 1px solid #d20000;
    border-radius: 12px;
    background: rgba(150,0,2,0.2);
    padding: 16px 16px;
}

/* Заголовок */
.banner-title {
    font-family: Stengazeta;
    font-size: 80px;
    letter-spacing: 1px;
    font-weight: 400;
    color: #ffffff;
    text-transform: uppercase;
    transform: skewX(-15deg);
    margin: 0;
    line-height: 1.0;
}

/* Описание */
.banner-description {
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    max-width: 800px;
    line-height: 1.4;
}

/* Нижняя панель */
.banner-footer {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1000px;
    box-sizing: border-box;
    gap: 30px;
}

/* Кнопка */
.btn_fes,
.banner-button {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 1px;
    color: #ffffff;
    background-color: #d20000;
    border-radius: 24px 0 24px 0;
    transform: skewX(-15deg);
    padding: 14px 20px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn_fes:hover,
.banner-button:hover {
    background-color: #ffffff;
    color: #d20000;
}
.btn_fes span,
.banner-button span{
    display: block;
    transform: skewX(15deg);
}

/* Дата и Трасса */
.banner-details {
    display: flex;
    gap: 24px;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

.banner-date {
    text-transform: uppercase;
}

.banner-location {
    
}

/* -- Медиа-запросы для адаптации -- */
@media (max-width: 1200px) {
    .banner-title {
        font-size: 60px;
        letter-spacing: 1px;
    }
}

@media (max-width: 768px) {
    .main-banner {
        padding: 40px 15px; /* Уменьшаем отступы */
        min-height: auto; /* Сбрасываем полноэкранную высоту */
    }

    .banner-container {
        justify-content: center;
        height: 100%;
        gap: 24px;
    }

    .banner-label {
        font-size: 20px;
        margin-bottom: 0;
        padding: 12px 12px;
    }

    .banner-title {
        font-size: 64px;
        margin-bottom: 0;
    }

    .banner-description {
        font-size: 14px;
        margin-bottom: 0;
        line-height: 1.4;
    }

    .banner-footer {
        flex-direction: column;
        gap: 24px;
        width: 100%;
        max-width: 100%;
    }

    .banner-button {
        width: 100%;
        font-size: 16px;
        padding: 16px 36px;
    }

    .banner-details {
        flex-direction: row; /* Элементы в строку */
        gap: 30px;
        font-size: 16px;
        justify-content: center;
        width: 100%;
    }
}

/* -- Family Slider Section -- */
.festival-family-section {
    padding: 40px 0;
    background-color: #0b0b0b;
}

.family-slick-rel {
    position: relative;
}

/* Настройка для "выглядывания" следующего слайда */
.family-main-slick .slick-list {
    overflow: visible;
}

.family-slide-item {
    padding: 0 10px; /* Отступы между карточками */
    outline: none;
}

.family-card {
    position: relative;
    height: 520px;
    border-radius: 30px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.family-card__overlay {
    position: absolute;
    inset: 0; /* Растягиваем на всю карточку */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    text-align: center;
    box-sizing: border-box;
}

.family-card__inner {
    max-width: 650px;
}

.family-card__title {
    font-family: 'FuturaMediumC', sans-serif;
    letter-spacing: 1px;
    font-size: 46px;
    font-weight: 400;
    line-height: 1.4;
    color: #fff;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.family-card__text {
    font-size: 16px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
}

/* Стрелки навигации */
.fam-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1) no-repeat center;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    z-index: 100;
    outline: none;
}
.family-slick-rel .fam-nav-btn:hover,
.family-slick-rel .fam-nav-btn:focus{
    background-color: rgba(255, 255, 255, 0.15);
}

.family-prev { 
    left: -55px; 
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSIxNCIgdmlld0JveD0iMCAwIDggMTQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTcgMUwxIDdMNyAxMyIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz48L3N2Zz4=');
}

.family-next { 
    right: -55px; 
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSIxNCIgdmlld0JveD0iMCAwIDggMTQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEgMUw3IDdMMSAxMyIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz48L3N2Zz4=');
}

/* Мобилки */
@media (max-width: 1024px) {
    .fam-nav-btn { display: none; }
    .family-card { height: 420px; }
    .family-card__title { font-size: 30px; }
    .family-card__overlay { padding: 30px; }
}

/* -- Gallery Slider Section -- */
.festival-gallery-section {
    padding: 40px 0;
    background-color: #0b0b0b;
}

.gallery-slick-rel {
    position: relative;
}

/* Чтобы "хвост" четвертого слайда был виден */
.festival-gallery-slick .slick-list {
    overflow: visible;
}

.gallery-slide-item {
    padding: 0 5px;
    outline: none;
}

.gallery-card {
    display: block;
    aspect-ratio: 3 / 2;
    border-radius: 20px;
    overflow: hidden;
    background: #1a1a1a;
    transition: opacity 0.3s ease;
}

.gallery-card:hover {
    opacity: 0.8;
}

.gallery-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Стрелки (используем те же стили для единообразия) */
.gal-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1) no-repeat center;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    z-index: 100;
}
.gal-nav-btn:hover,
.gal-nav-btn:focus{
    background-color: rgba(255, 255, 255, 0.15);
}

.gallery-prev { 
    left: -55px; 
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSIxNCIgdmlld0JveD0iMCAwIDggMTQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTcgMUwxIDdMNyAxMyIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz48L3N2Zz4=');
}

.gallery-next { 
    right: -55px; 
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSIxNCIgdmlld0JveD0iMCAwIDggMTQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEgMUw3IDdMMSAxMyIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz48L3N2Zz4=');
}

/* Адаптация */
@media (max-width: 1024px) {
    .gal-nav-btn { display: none; }
}

/* -- Tickets Section -- */
.sect-tickets {
    padding: 100px 0;
    background: #0b0d13;
    color: #fff;
}

/* -- Tickets Section -- */
.sect-tickets {
    padding: 40px 0;
    background-color: #0b0d13;
    color: #fff;
}

/* Карточка */
.ticket-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    overflow: hidden;
    margin: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    height: 100%;
}

.ticket-card--featured {
    border: 1px solid #ff1f00;
}

/* Лейбл Популярный */
.ticket-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff0000cc;
    color: #fff;
    padding: 10px 12px;
    border-radius: 12px;
    font-family: 'FuturaMediumC', sans-serif;
    letter-spacing: 1px;
    font-size: 16px;
    font-weight: 400;
    z-index: 10;
}

.ticket-card__img img {
    width: 100%;
    aspect-ratio: 1 / 0.8;
    object-fit: cover;
}

.ticket-card__content {
    padding: 25px;
}

.ticket-card__title {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 500;
}

/* Список инфо (этап и дата) */
.ticket-card__info {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.ticket-card__info li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
    padding-left: 15px;
    position: relative;
}

.ticket-card__info li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #fff;
}

/* Футер карточки */
.ticket-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ticket-card__price {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

.ticket-buy-btn {}

/* Навигация (Стрелки) */
.tickets-slider-wrapper { position: relative; }

.tickets-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1) no-repeat center;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    z-index: 100;
    background-size: 8px 14px;
}
.tickets-nav-btn:hover,
.tickets-nav-btn:focus{
    background-color: rgba(255, 255, 255, 0.15);
}

.tickets-prev { 
    left: -55px; 
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSIxNCIgdmlld0JveD0iMCAwIDggMTQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTcgMUwxIDdMNyAxMyIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz48L3N2Zz4=');
}
.tickets-next { 
    right: -55px; 
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSIxNCIgdmlld0JveD0iMCAwIDggMTQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEgMUw3IDdMMSAxMyIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz48L3N2Zz4=');
}

/* Нижний баннер */
.tickets-print-banner {
    margin-top: 60px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tickets-print-text {
    max-width: 70%;
    font-size: 16px;
    line-height: 1.4;
    color: rgba(255,255,255,0.8);
}

.tickets-print-btn {}

/* Адаптив */
@media (max-width: 1200px) {
    .tickets-nav-btn { display: none; }
}
@media (max-width: 768px) {
    .tickets-print-banner { flex-direction: column; text-align: center; }
    .tickets-print-text { max-width: 100%; margin-bottom: 20px; }
}

/* Модалка (стекло) */
.ticket-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ticket-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.ticket-modal__content {
    position: relative;
    width: 100%;
    max-width: 1100px;
    background: rgba(40, 40, 40, 0.4);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    padding: 60px;
    color: #fff;
    overflow: hidden;
}

.ticket-modal__inner {
    display: flex;
    gap: 40px;
    align-items: center;
}

/* Левая часть */
.ticket-modal__left {
    flex: 0 0 36%;
}

.ticket-modal__left img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

/* Правая часть */
.ticket-modal__right {
    flex: 1;
}

.ticket-modal__form-title {
    color: #fff;
    font-size: 36px;
    font-family: 'FuturaMediumC', sans-serif;
    font-weight: 400;
    margin-bottom: 30px;
    text-align: left;
}

/* Поля ввода */
.ticket-modal__fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}
.ticket-modal__fields input[type="text"],
.ticket-modal__fields input[type="tel"]{
    height: 40px;
    margin: 0;
    background-color: #ffffff;
}
.ticket-modal__fields input[type="textarea"]{
    height: 60px;
    margin: 0;
    background-color: #ffffff;
}

.ticket-modal__fields input {
    width: 100%;
    background: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 15px 20px;
    color: #000; /* Черный текст внутри */
    font-size: 16px;
}

.ticket-modal__fields input::placeholder {
    color: #999;
}

/* Селектор билетов */
.ticket-selector__label {
    color: rgba(255,255,255,0.6);
    font-size: 16px;
    margin: 20px 0 0;
}

.ticket-selector__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 30px;
    align-items: start;
}

.ticket-radio-item input { display: none; }

.ticket-radio-item__box {
    cursor: pointer;
    text-align: center;
}

.ticket-radio-item__box img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid transparent;
    transition: 0.3s;
}

.ticket-radio-item input:checked + .ticket-radio-item__box img {
    border-color: #ff1f00;
}

.ticket-radio-item__name {
    display: block;
    font-size: 10px;
    color: rgba(255,255,255,0.5);
    margin-top: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal; 
    line-height: 1.2;
    min-height: 24px;
    text-transform: uppercase;
}

/* Футер модалки */
.ticket-modal__bottom {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    gap: 20px;
}

.ticket-modal__total {
    font-size: 28px;
    font-weight: 400;
    color: #fff;
}

.ticket-modal__submit {
    background: #d20000;
    color: #fff;
    border: none;
    padding: 18px 40px;
    border-radius: 20px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
}
.ticket-modal__submit:hover{
    background: #ffffff;
    color: #d20000;
}

/* Крестик */
.ticket-modal__close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1) url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTMgMUwxIDEzTTEzIDEzTDEgMSIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiLz48L3N2Zz4=') no-repeat center;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
}

/* Адаптив */
@media (max-width: 900px) {
    .ticket-modal__inner { flex-direction: column; }
    .ticket-modal__left { display: none; }
    .ticket-modal__content { padding: 30px; }
}

/* Список превью билетов в модалке */
.ticket-radio input { display: none; }
.ticket-radio img {
    width: 100%;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
}
.ticket-radio input:checked + img {
    border-color: #ff1f00;
}

/* -- Schema Section -- */
.festival-schema-section {
    padding: 80px 0;
    background-color: #0b0b0b;
}

.festival-schema-container {
    width: 100%;
    position: relative;
}

.festival-schema-link {
    display: block;
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    cursor: zoom-in;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.festival-schema-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

/* Эффект при наведении */
.festival-schema-link:hover .festival-schema-img {
    transform: scale(1.02);
}

.festival-schema-link::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.festival-schema-link:hover::after {
    opacity: 1;
}

.festival-schema-zoom-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #f0f0f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    z-index: 5;
    transition: all 0.3s ease;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.festival-schema-link:hover .festival-schema-zoom-icon {
    opacity: 1;
}

@media (max-width: 768px) {
    .festival-schema-section { padding: 40px 0; }
    .festival-schema-link { border-radius: 15px; }
    .festival-schema-zoom-icon {
        opacity: 1;
        width: 40px;
        height: 40px;
        top: 10px;
        right: 10px;
    }
    .festival-schema-zoom-icon svg {
        width: 16px;
        height: 16px;
    }
}

/* -- Section Form -- */
.sect-form {
    padding: 40px 0;
    background: #1f1f27;
}

.form-main-card {
    padding: 60px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
}

.form-title {
    position: relative;
    color: #fff;
    font-family: 'FuturaMediumC', sans-serif;
    font-weight: 400;
    letter-spacing: 1px;
    font-size: 36px;
    margin-bottom: 15px;
    padding: 0 0 40px 60px;
}
.form-title::before{
    content: '';
    background: #D20000 left center;
    width: 40px;
    height: 4px;
    display: block;
    top: 14px;
    left: 0px;
    position: absolute;
}

.form__subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    margin-bottom: 40px;
}

/* Контакты справа */
.form__contact-item {
    margin-bottom: 40px;
}

.form__contact-label {
    color: #ffffff;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.form__contact-value a {
    color: #fff;
    font-size: 24px;
    font-weight: 500;
    text-decoration: none;
    transition: 0.3s;
}

.form__contact-value a:hover {
    color: #d20000;
}

/* Соцсети */
.form__socials {
    margin-top: 40px;
}

.form__socials-item.vk a {
    display: inline-block;
    width: 44px;
    height: 44px;
    transition: 0.3s;
}

.form__socials-item.vk a:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* Адаптив */
@media (max-width: 1024px) {
    .form-main-card {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .form-title { font-size: 24px; }
    .form-main-card { border-radius: 20px; padding: 24px; }
}

/* -- Стилизация Contact Form 7 внутри секции -- */

/* Контейнер обертки (если нужно поправить отступы) */
.form-shortcode-wrapper .wpcf7-form {
    margin: 0;
}

/* Поля ввода (Имя, Телефон) */
.form-wrapper .wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 20px;
}

.form-wrapper input[type="text"],
.form-wrapper input[type="tel"] {
    width: 100%;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 15px;
    color: #000000;
    font-size: 16px;
    outline: none;
    transition: 0.3s;
}

/* Плейсхолдер (текст-подсказка) */
.form-wrapper input::placeholder {
    color: #999999;
    opacity: 1;
}

/* Фокус при клике на поле */
.form-wrapper input:focus {
    box-shadow: 0 0 0 2px #d20000;
}

/* Кнопка отправки */
.form-wrapper .form-submit{
    text-align: left;
}

.form-wrapper .wpcf7-submit {
    background: #D20000;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 14px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    height: auto;
    line-height: 1;
    transition: all 0.3s;
}

.form-wrapper .wpcf7-submit:hover {
    background: #fff;
    color: #D20000;
    box-shadow: 0 2px 5px rgba(210, 0, 0, 0.4);
    transform: translateY(-1px);
}

/* Сообщения об успехе/ошибке под формой */
.wpcf7-response-output {
    border-radius: 15px;
    padding: 15px;
    margin: 20px 0 0;
    color: #fff;
    font-size: 14px;
    text-align: center;
    border-color: #d20000;
}

/* Стиль сообщения об успешной отправке */
.wpcf7-mail-sent-ok {
    border: 2px solid #d20000;
    background: rgba(0, 245, 208, 0.1);
}
.wpcf7 form.sent .wpcf7-response-output{
    border-color: #d20000;
}

@media (max-width: 768px) {
    .form-wrapper .wpcf7-submit {
        width: 100%;
    }
}

/* Areas */
/* Основная сетка */
.sect-areas { padding: 40px 0; background: #0b0d13; }

/* Табы */
.areas-tabs-nav { display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 40px; }
.areas-tab-btn {
    font-family: 'Raleway';
    font-weight: 500;
    letter-spacing: 1px;
    background: #ffffff;
    color: #292929;
    padding: 12px 25px;
    border-radius: 12px;
    cursor: pointer;
    opacity: 0.85;
    transition: 0.3s;
}
.areas-tab-btn.active,
.areas-tab-btn:hover {
    background: #D20000;
    color: #ffffff;
    font-weight: 900;
}
.areas-tab-btn:hover { opacity: 1; }

/* Карточка */
.area-card {
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    margin: 0 10px;
    overflow: hidden;
    height: 620px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.area-card__gallery-wrapper {
    position: relative;
    height: 280px;
    flex-shrink: 0;
}
.area-card__photos, .area-photo-item, .area-photo-item img {
    height: 280px;
    width: 100%;
    object-fit: cover;
    display: block;
}

.area-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.6) 100%);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    pointer-events: none;
}

.area-card__title {
    color: #fff;
    font-size: 22px;
    font-family: 'FuturaMediumC', sans-serif;
    letter-spacing: 1px;
    font-weight: 400;
    margin: 0 0 5px;
}

.area-card__subtitle {
    color: #ffffff;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 500;
}

/* Кнопка на фото (Справа внизу) */
.area-card__btn-overlay {
    position: absolute;
    display: inline-block;
    bottom: 20px;
    right: 20px;
    background: #d20000;
    color: #fff;
    padding: 14px 20px;
    border-radius: 24px 0 24px 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    transform: skewX(-15deg);
    z-index: 11;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.area-card__btn-overlay:hover {
    background: #ffffff;
    color: #d20000;
}
.area-card__btn-overlay span{
    display: block;
    transform: skewX(15deg);
}

.area-card__nav {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: auto;
    top: auto;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.area-card__nav button,
.area-card__nav button:focus { 
    padding: 8px;
    border-radius: 50%; 
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(0,0,0,0.4); 
    cursor: pointer; 
    color: #fff; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    transition: 0.3s; 
}

.area-card__nav button:hover { 
    background: #D20000; 
    border-color: #D20000;
}

.area-card__nav .inner-prev::before { content: '←'; line-height: 1; }
.area-card__nav .inner-next::before { content: '→'; line-height: 1;}

/* Нижняя часть с параметрами */
.area-card__info-bottom {
    padding: 20px;
    flex-grow: 1;
    background: transparent;
    height: 240px;
}

.area-info-list {
    list-style: none;
    margin: 0;
    padding: 0 4px 0 0;
    overflow-y: auto;
    max-height: 200px;
}

.area-info-list::-webkit-scrollbar {
    width: 4px;
}
.area-info-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}
.area-info-list::-webkit-scrollbar-thumb {
    background: rgba(210, 0, 0, 0.5);
    border-radius: 10px;
}

.area-info-list li {
    font-size: 12px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.05); */
}

.area-info-list li strong {
    color: #fff;
    margin-right: 2px;
}

/* Скрытие неактивных табов */
.areas-tab-pane { display: none; }
.areas-tab-pane.active { display: block; }

/* Навигация основного слайдера Areas */
.areas-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1) no-repeat center;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    z-index: 100;
    background-size: 8px 14px;
    transition: background-color 0.3s;
    
}
.areas-nav-btn:focus{
    background-color: rgba(255, 255, 255, 0.1);
}

.areas-nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.areas-prev { 
    left: -55px; 
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSIxNCIgdmlld0JveD0iMCAwIDggMTQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTcgMUwxIDdMNyAxMyIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz48L3N2Zz4=');
}

.areas-next { 
    right: -55px; 
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSIxNCIgdmlld0JveD0iMCAwIDggMTQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEgMUw3IDdMMSAxMyIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz48L3N2Zz4=');
}

/* Скрываем стрелки на мобилках, если они вылезают за экран */
@media (max-width: 1200px) {
    .areas-nav-btn { display: none; }
}

/* Адаптация всего сайта */
@media (max-width: 1200px) {
    
}

@media (max-width: 1024px) {
    
}

@media (max-width: 900px) {
    
}

@media (max-width: 768px) {
    .family-card__title{
        font-size: 24px;
    }
    .family-card__text{
        font-size: 12px;
    }
    .form-title{
        padding: 0 0 24px 60px;
        margin-bottom: 0;
    }
    .form__subtitle{
        margin-bottom: 24px;
    }
}
