.elementor-kit-97{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#E674CC;--e-global-typography-primary-font-family:"Nunito";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Nunito";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Nunito Sans";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Nunito";--e-global-typography-accent-font-weight:500;--e-global-typography-e0ba7f5-font-family:"Nunito";background-color:#DEE2FE;}.elementor-kit-97 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* --- Уникальные Стили для Попапов Героев --- */

/* Плавное появление фона и самого окна */
.hero-popup {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0s linear 0.4s;
}
.hero-popup.visible {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease;
}

/* Контентная часть попапа */
.hero-popup .popup-content {
  background-color: #f9f9f9;
  padding: 30px 35px;
  border-radius: 16px;
  max-width: 800px;
  max-height: 95vh;
  transform: scale(0.9);
  transition: transform 0.4s ease;
}
.hero-popup.visible .popup-content {
  transform: scale(1);
}

/* Кнопка закрытия */
.hero-popup .popup-close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2em;
  color: #aaa;
}

/* Заголовок с именем героя */
.hero-popup .popup-header h2 {
  font-family: 'Nunito', sans-serif;
  font-size: 2.2em;
  font-weight: 700;
  text-align: center;
  margin-top: 0;
  margin-bottom: 25px;
  color: #333;
}

/* Основной контент (контейнер для фото и текста) */
.hero-popup .popup-body {
  display: flex;
  gap: 30px;
}

/* Блок с фотографией героя */
.hero-popup .popup-image-wrapper {
  flex: 1 1 40%;
  min-width: 250px;
}
.hero-popup .popup-image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

/* Блок с детальным описанием */
.hero-popup .popup-details {
  flex: 1 1 60%;
  font-size: 1.1em;
  color: #555;
}
.hero-popup .popup-details p {
  line-height: 1.6;
}

/* Список "Что входит в программу" */
.hero-popup .popup-details ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.hero-popup .popup-details ul li {
  padding-left: 30px;
  margin-bottom: 10px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%2328a745" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>');
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 20px;
}

/* Блок с ценой */
.hero-popup .popup-price {
  font-size: 1.5em;
  font-weight: 700;
  color: #007bff;
  text-align: center;
  margin: 25px 0;
  background: #e9f4ff;
  padding: 10px;
  border-radius: 8px;
}

/* Кнопки призыва к действию */
.hero-popup .popup-cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}
.hero-popup .popup-cta-buttons a {
  flex: 1;
  padding: 15px 10px;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hero-popup .popup-cta-buttons a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Основная кнопка */
.hero-popup .cta-primary {
  background-color: #007bff;
  color: white;
}
/* Второстепенная кнопка */
.hero-popup .cta-secondary {
  color: white;
}

/* --- Адаптация для мобильных --- */
@media (max-width: 768px) {
  .hero-popup .popup-content {
    padding: 20px 15px;
  }
  .hero-popup .popup-header h2 {
    font-size: 1.8em;
  }
  .hero-popup .popup-body {
    flex-direction: column;
  }
  .hero-popup .popup-details {
    font-size: 1em;
  }
  .hero-popup .popup-price {
    font-size: 1.3em;
  }
  .hero-popup .popup-cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .hero-popup .popup-cta-buttons a {
    font-size: 1em;
  }
}





/* Плавающая кнопка */
/* Основные переменные для цветов (скопированы из формы "Заявка на праздник") */
:root {
    --glass-bg: rgba(255, 255, 255, 0.6); /* Полупрозрачный белый фон */
    --glass-border: rgba(255, 255, 255, 0.3); /* Полупрозрачная белая граница */
    --primary-color: #c2185b; /* Основной розовый */
    --secondary-color: #f48fb1; /* Вторичный светло-розовый */
    --text-color: #333; /* Темный текст */
    --heading-color: #880e4f; /* Цвет заголовков (темно-розовый) */
}

/* Tailwind CSS (для удобства, если не используется Elementor) */
/* Если Elementor уже загружает Tailwind, этот импорт не нужен */
/* @import url('https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css'); */

/* --- Переменные для удобной настройки цветов --- */
:root {
    --primary-color: #db2777;      /* Основной розовый (кнопки) */
    --secondary-color: #ec4899;   /* Вторичный розовый (градиенты, ховеры) */
    --heading-color: #880E4F;      /* Темно-розовый (заголовки) */
    --text-color: #333;           /* Основной цвет текста */
    --glass-bg: rgba(255, 255, 255, 0.6); /* Фон для "стеклянной" формы */
    --glass-border: rgba(255, 255, 255, 0.18); /* Рамка для "стеклянной" формы */
}

/* --- Общие стили для контейнера плавающих кнопок --- */
#floating-contact-wrapper {
    position: fixed;
    bottom: 1.5rem; /* 24px */
    left: 1.5rem;   /* 24px - Позиционирование слева */
    z-index: 9999;
}

/* Адаптация для мобильных */
@media (max-width: 767px) {
    #floating-contact-wrapper {
        bottom: 1rem; /* 16px */
        left: 1rem;   /* 16px */
    }
}

/* --- Стили для основной кнопки --- */
#main-contact-button {
    background-color: var(--primary-color);
    color: white;
    width: 3.5rem;   /* 56px */
    height: 3.5rem;  /* 56px */
    border-radius: 9999px; /* Делает круглым */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulse-effect 2s infinite;
    border: none;
}

#main-contact-button:hover {
    background-color: #be185d; /* Более темный розовый */
    animation: none; /* Останавливаем пульсацию при наведении */
}

/* Анимация пульсации */
@keyframes pulse-effect {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(236, 72, 153, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(236, 72, 153, 0);
    }
}

/* --- Стили для контейнера дополнительных кнопок --- */
#sub-buttons-container {
    opacity: 0;
    pointer-events: none;
    transform: translateY(0);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
    position: absolute;
    bottom: 0;
    left: 0; /* Позиционирование слева */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem; /* 12px */
    /* ИЗМЕНЕНО: Задаем ширину, равную ширине основной кнопки, для правильного центрирования */
    width: 3.5rem; /* 56px */
}

/* Показываем контейнер при классе .visible */
#sub-buttons-container.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-80px); /* Сдвигаем вверх */
}

/* Стили для отдельных дополнительных кнопок (Telegram, Звонок) */
#sub-buttons-container button,
#sub-buttons-container a {
    width: 3rem;  /* 48px */
    height: 3rem; /* 48px */
    border-radius: 9999px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: scale(0); /* Изначально скрыты */
    border: none;
    color: white;
    text-decoration: none;
}

#sub-buttons-container button:hover,
#sub-buttons-container a:hover {
    transform: scale(1.05);
}

/* Анимация появления отдельных кнопок */
#sub-buttons-container.visible #call-button {
    background-color: var(--secondary-color);
    transform: scale(1);
    transition-delay: 0.1s;
}
#sub-buttons-container.visible #call-button:hover {
    background-color: var(--primary-color);
}

#sub-buttons-container.visible #telegram-link-button {
    background-color: var(--secondary-color);
    transform: scale(1);
    transition-delay: 0.2s;
}
#sub-buttons-container.visible #telegram-link-button:hover {
    background-color: var(--primary-color);
}

/* --- Стили для модального окна (форма заказа звонка) --- */
#call-form-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
    z-index: 10000;
}
#call-form-modal.show {
    display: flex;
}

/* Стили для содержимого модального окна ("стекло") */
#call-form-modal > div {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(136, 14, 79, 0.15);
    padding: 30px 40px;
    width: 100%;
    max-width: 450px;
    margin: 1rem;
    position: relative;
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
#call-form-modal.show > div {
    transform: scale(1);
    opacity: 1;
}

/* Заголовок формы */
#call-form-modal h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 900;
    color: var(--heading-color);
    margin-top: 0;
    margin-bottom: 15px;
}

/* Кнопка закрытия модального окна */
#close-modal-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--heading-color);
    transition: color 0.2s ease-in-out;
}
#close-modal-button:hover {
    color: var(--primary-color);
}

/* Поля формы */
#call-form input[type="text"],
#call-form input[type="tel"],
#call-form input[type="date"],
#call-form textarea {
    width: 100%;
    padding: 10px 15px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    border: 1px solid var(--secondary-color);
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    box-sizing: border-box;
    color: var(--text-color);
    margin-bottom: 1rem;
}

#call-form input[type="text"]:focus,
#call-form input[type="tel"]:focus,
#call-form input[type="date"]:focus,
#call-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(194, 24, 91, 0.2);
}

/* Поле для даты с кастомной иконкой */
#call-form input[type="date"] {
    -webkit-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="%23c2185b"><path d="M20 3h-1V1h-2v2H7V1H5v2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 18H4V8h16v13z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 1.2em;
    cursor: pointer;
}

/* Кнопка отправки формы */
#call-form button[type="submit"] {
    width: 100%;
    padding: 12px 15px;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(145deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(194, 24, 91, 0.4);
    margin-top: 5px;
}

#call-form button[type="submit"]:hover {
    background: linear-gradient(145deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(194, 24, 91, 0.5);
}
#call-form button[type="submit"]:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* Сообщения формы (успех/ошибка) */
#form-message {
    padding: 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.9rem;
    margin-top: 1rem;
    text-align: center;
}
#form-message.success {
    background-color: #d1fae5;
    color: #065f46;
}
#form-message.error {
    background-color: #fee2e2;
    color: #991b1b;
}

/* Адаптация формы для мобильных */
@media (max-width: 768px) {
    #call-form-modal > div {
        padding: 25px 20px;
    }
    #call-form-modal h2 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    #call-form input[type="text"],
    #call-form input[type="tel"],
    #call-form input[type="date"],
    #call-form textarea {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    #call-form input[type="date"] {
        padding-right: 28px;
        background-position: right 8px center;
    }
    #call-form button[type="submit"] {
        padding: 10px 15px;
        font-size: 0.95rem;
        margin-top: 10px;
    }
}


html, body {
    overflow-x: hidden;
    width: 100%;
}/* End custom CSS */