/*/Users/vyacheslavkomarov/Documents/Python/Посадочная Школа Акция/pythonProject2/UNLANDING/landing/static/landing/css/style.css*/

/* === GLOBAL STYLES (анимации, плашки) === */


/*!*Первая страница в Index /*/


/* 🔴 Пульсирующая плашка */
.limited-offer-gradient {
  display: inline-block;
  background-color: #ff5c5c;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 6px 16px;
  border-radius: 999px;
  animation: pulse-red 1.8s infinite;
  box-shadow: 0 0 12px rgba(255, 92, 92, 0.5);
   position: relative;
    margin-bottom: 20px;
}

@keyframes pulse-red {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.05); opacity: 0.85; }
}

/* 🟢 Бейдж "Курс ON-LINE" */
.badge-container {
  margin-bottom: 10px;
}

/* 💬 Заголовок + оффер */
.hero-title {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.2;
  color: #212529;
  font-family: 'Segoe UI', sans-serif;
  margin-bottom: 0.75rem;
}

/* 🔖 Ценовая плашка */
.price-full-pill {
  display: inline-block;
  background-color: #ff5c5c;
  color: #fff;
  font-weight: 800;
  font-size: 1.56rem;         /* 1.2rem * 1.3 */
  padding: 8px 18px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(255, 92, 92, 0.2);
}

/* ✅ Список преимуществ */
.hero-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-features-list li {
  display: flex;
  align-items: flex-start;
  font-size: 1rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

.hero-features-list li span {
  font-size: 1.4rem;
  margin-right: 10px;
  margin-top: 2px;
  color: #00b300;
}

/* 🔘 CTA кнопка */
.pulse-btn {
  animation: pulse-btn 2s infinite;
}

@keyframes pulse-btn {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.03); }
}

/* 🎥 Видео */
video {
  border-radius: 12px;
}

/*Пульсация плашки  Бейдж "Курс ON-LINE"*/
@keyframes pulse-green {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.9;
  }
}

.online-course-badge.pulse-green {
  animation: pulse-green 1.8s infinite;
  box-shadow: 0 0 12px rgba(0, 180, 0, 0.5);
}


/* === Медаль и карточки преимуществ === */

/* Медаль в левом верхнем углу */
.medal-icon {
  width: 40px;
  height: auto;
  display: block;
  top: 0.5rem; /* Отступ сверху */
  left: 0.5rem; /* Отступ слева */
  position: relative;
}

/* Стили карточки преимуществ */
.feature-card {
  overflow: visible !important; /* Позволяет медали выходить за пределы */
  padding-top: 3rem; /* Место для медали сверху */
  padding-left: 3rem; /* Отступ слева (по необходимости) */
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: #fdf3f6; /* Цвет фона блока */
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  background-color: #fce4ec; /* Более насыщенный розовый при наведении */
}

/* === Анимации === */
.fade-in-up {
  animation: fadeInUp 1s ease-out both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pulse {
  animation: pulseAnim 1.8s infinite;
}


/* === Лэндинг: стили календаря, форм и адаптив === */

#calendar { font-size: 0.85rem; }

.calendar-day {
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.calendar-day:hover {
  background-color: #f0f0f0;
}
.calendar-day.selected {
  background-color: #d82328;
  color: white;
  font-weight: bold;
}
.calendar-day.bg-danger {
  background-color: #d9534f !important;
  color: white !important;
}
.slot-full {
  opacity: 0.5;
  pointer-events: none;
}
.is-invalid {
  border-color: #dc3545;
  background-color: #fff0f0;
}
.card-equal {
  display: block;
  height: auto;
}


/* === Стили для блока соглашения на странице профиля === */

.agreement-block {
  background: #f3fff6;
  border-left: 5px solid #19a56a;
  border-radius: 14px;
}
.agreement-block .form-check-label {
  color: #222;
}


/* === Призыв купить по акции (Hero block) === */
.bonus-hero-block-v2 {
  background: radial-gradient(circle at 80% 15%, #fff7d1 0%, #ffe0e0 50%, #ffd6e0 100%);
  border-radius: 2.4rem;
  min-height: 430px;
  box-shadow: 0 4px 44px 0 rgba(255,76,81,0.15), 0 0 0 7px #fff7;
  position: relative;
  overflow: hidden;
  padding: 64px 32px 54px 32px;
  margin: 48px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bonus-bg-circles:before,
.bonus-bg-circles:after {
  content: '';
  position: absolute;
  border-radius: 50%;
  z-index: 1;
}

.bonus-bg-circles:before {
  width: 240px; height: 240px;
  top: -100px; right: -80px;
  background: radial-gradient(circle, #fff8d1 0%, #ffd2e3 80%, #fff0 100%);
  opacity: 0.48;
  filter: blur(2px);
}

.bonus-bg-circles:after {
  width: 120px; height: 120px;
  bottom: -60px; left: -50px;
  background: radial-gradient(circle, #ffe8e1 0%, #fff0 80%);
  opacity: 0.55;
  filter: blur(4px);
}



/* Левая колонка в Hero block */
.bonus-left-col-v2 {
  z-index: 2;
  flex: 0 1 640px;
  min-width: 330px;
  max-width: 650px;
  padding-right: 42px;
}

.bonus-title-conservative {
  font-size: 2.3rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.bonus-subtitle-conservative {
  font-size: 1.24rem;
  color: #b83c3c;
  font-weight: 500;
  margin-bottom: 38px;
}

/* Анимация подарка с вау-эффектом */
.bonus-animated-gift {
  display: inline-block;
  position: relative;
  font-size: 3.6rem;
  margin-right: 24px;
  margin-top: -18px;
  vertical-align: middle;
  z-index: 3;
  animation: gift-pop 1.15s cubic-bezier(.23, 1.24, .54, .85) infinite alternate;
  filter: drop-shadow(0 2px 10px #ffd96b);
}

@keyframes gift-pop {
  0%   { transform: scale(1) rotate(-8deg);}
  22%  { transform: scale(1.12) rotate(13deg);}
  40%  { transform: scale(1.08) rotate(-8deg);}
  55%  { transform: scale(0.98) rotate(5deg);}
  70%  { transform: scale(1.05) rotate(-2deg);}
  100% { transform: scale(1) rotate(-8deg);}
}

/* Вспышка/сияние */
.bonus-animated-gift::after {
  content: '';
  position: absolute;
  left: 55%;
  top: 43%;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, #fffbe6 0 40%, #fff7 60% 100%);
  opacity: 0.72;
  border-radius: 50%;
  z-index: 1;
  filter: blur(10px);
  pointer-events: none;
  animation: shine-gift 1.35s cubic-bezier(.3,1.1,.74,1.07) infinite alternate;
}

@keyframes shine-gift {
  0% { opacity: 0.15; transform: scale(0.85);}
  50% { opacity: 0.92; transform: scale(1.18);}
  100% { opacity: 0.17; transform: scale(0.8);}
}

/* Искры/звёзды */
.bonus-animated-gift .sparkle {
  position: absolute;
  font-size: 1.3rem;
  color: #ffef9e;
  pointer-events: none;
  opacity: 0.6;
  z-index: 2;
}

.bonus-animated-gift .sparkle.s1 {
  left: 32px;
  top: -18px;
  animation: sparkle1 1.3s linear infinite;
}

.bonus-animated-gift .sparkle.s2 {
  left: 7px;
  top: 12px;
  font-size: 1.1rem;
  animation: sparkle2 1.15s linear infinite;
}

.bonus-animated-gift .sparkle.s3 {
  left: 60px;
  top: 24px;
  font-size: 1.7rem;
  animation: sparkle3 1.45s linear infinite;
}

@keyframes sparkle1 {
  0%,100%{opacity:.3;}
  60%{opacity:0.96;transform:scale(1.45) rotate(19deg);}
}

@keyframes sparkle2 {
  0%,100%{opacity:.5;}
  52%{opacity:0.88;transform:scale(1.1) rotate(-9deg);}
}

@keyframes sparkle3 {
  0%,100%{opacity:.15;}
  42%{opacity:0.98;transform:scale(1.3) rotate(13deg);}
}

/* Карточка акции */
.bonus-action-card-v2 {
  background: rgba(255,255,255,0.92);
  box-shadow: 0 6px 32px 0 rgba(255, 76, 81, 0.14), 0 0 0 4px #ffe5e5;
  border-radius: 1.5rem;
  padding: 2.2rem 1.6rem 1.5rem 3.8rem;
  position: relative;
  max-width: 440px;
  min-width: 310px;
  z-index: 5;
  border: 1.6px solid #ffe9e9;
  margin-bottom: 18px;
}

.bonus-sale-title-cons {
  font-size: 1.34rem;
  color: #d60027;
  font-weight: 800;
}

.bonus-sale-desc-cons {
  color: #222;
  font-size: 1.02rem;
  font-weight: 400;
  opacity: 0.92;
  margin-bottom: 0.6rem;
}

/* Кнопка с градиентом для акции */
.btn-gradient-cons {
  background: linear-gradient(90deg,#ff194f,#fc9902 90%);
  color: #fff !important;
  font-size: 1.18rem;
  font-weight: 700;
  border-radius: 2.5em;
  box-shadow: 0 2px 12px #ffd5d544;
  border: none;
  padding: 1.15rem 3.2rem;
  transition: background 0.17s, color 0.14s;
  margin-top: 10px;
}

.btn-gradient-cons:hover {
  background: linear-gradient(90deg,#ffd4d4 0%, #fff6e1 100%);
  color: #ff194f !important;
}

/* Трофейный эмодзи анимация */
.bonus-trophy-emoji {
  font-size: 7rem;
  filter: drop-shadow(0 6px 20px #fff6d1aa) drop-shadow(0 1px 0 #fff9);
  margin-left: 44px;
  animation: trophy-bounce 2.6s cubic-bezier(.25,.7,.34,1.42) infinite;
  margin-top: 60px;
}

@keyframes trophy-bounce {
  0% { transform: scale(1) rotate(-4deg);}
  10% { transform: scale(1.08) rotate(7deg);}
  15% { transform: scale(1.06) rotate(-6deg);}
  25% { transform: scale(1) rotate(-4deg);}
  100% { transform: scale(1) rotate(-4deg);}
}


/* === БЛОК: Каких результатов ты достигнешь === */

.results-wrapper {
  border: 2px solid #e53935;
  border-radius: 20px;
  background-color: #fff;
  max-width: 960px;
}

.result-item {
  display: flex;
  gap: 0.75rem;
  background-color: #ffeeee;
  border-radius: 16px;
  padding: 1rem;
  align-items: flex-start;
}

.result-icon {
  font-size: 1.5rem;
  color: #00b300;
  flex-shrink: 0;
  margin-top: 3px;
}

.result-text {
  flex: 1;
}

.item-title {
  font-size: 1rem;
  font-weight: 700;
  color: #e53935;
  margin-bottom: 0.3rem;
}

.item-desc {
  font-size: 0.92rem;
  color: #444;
  line-height: 1.5;
}


/*блок первый страница Дети*/

/* Уменьшаем размер заголовка */
.compact-header {
  font-size: 2.4rem; /* было больше, сделай чуть меньше */
  line-height: 1.2;
  font-weight: 800;
}



/* Базовые стили для элементов списка */
.features-inline-list li {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0.6rem;
}

/* Иконка ✅ через псевдоэлемент */
.features-inline-list li::before {
  content: "✅";
  font-size: 1.1em;
  line-height: 1;
  margin-right: 6px;
}

/* Группируем последние 4 пункта в одну строку */
.features-inline-list.grouped-items {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 0.5rem;
}

.features-inline-list.grouped-items li {
  margin-bottom: 0; /* убираем отступ снизу для элементов в группе */
}

.btn-lg {
  font-size: 1.0rem; /* уменьшенный размер шрифта */
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.price-highlight {
  background-color: #f8d7da; /* светлый красный, похожий на bg-danger bg-opacity-25 */
  border-radius: 0.25rem;
  padding: 0 0.5rem;
  white-space: nowrap; /* запрещаем перенос внутри */
  display: inline-block;
}

.smaller-title {
  font-size: 2rem !important; /* например, уменьшаем до 2rem, можно регулировать */
  line-height: 1.2;
}


/* <!-- Блок: Наши учителя -->/*/


/* Блок: Наши учителя */
.checkmark-bright-green {
  color: #00cc44; /* Ярко-зелёный */
  font-weight: 900;
  font-size: 1.4rem;
  line-height: 1;
  margin-right: 8px;
  display: inline-block;
  user-select: none;
  transform: translateY(2px);
}


/* Увеличим padding и margin в блоках контактов и формы */
.bg-white.p-4 {
  padding: 3rem !important; /* увеличенный padding */
  margin-bottom: 2rem;      /* отступ снизу для лучшего разделения */
}


.teachers-gradient {
  font-weight: 900;
  font-size: 3rem;
  line-height: 1.1;
  background: linear-gradient(90deg, #d60027, #ff4d4d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 1px 1px 5px rgba(214, 0, 39, 0.3);
  max-width: 700px;
  margin-bottom: 2.5rem;
  user-select: none;
}






/* 🎯 Секция преимуществ курса для детей */
.child-benefit-card {
  background-color: #fff;
  border-radius: 1.5rem;
  padding: 1.5rem 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  text-align: left;
}

.child-benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.child-benefit-card .emoji {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.child-benefit-card .title {
  display: inline-block;
  background-color: #ffe2e2;
  padding: 0.4rem 0.9rem;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 10px;
  margin-bottom: 0.6rem;
}

.child-benefit-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333;
  margin: 0;
}


/*Размер текста в кнопке Записаться в Index*/

.btn-tall-text {
  font-size: 1.5rem;          /* крупный текст */
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  line-height: 1.2;
}
.hero-cta {
  margin-top: 2rem; /* или 32px, подгони под нужный отступ */
}



/*фоновый цвет карточкам .child-benefit-card*/

.child-benefit-card {
  background-color: #fff5f6; /* 🔴 нежно-розовый */
  border-radius: 1.5rem;
  padding: 1.5rem 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  text-align: left;
  border: 1px solid #ffd5db;
}
.child-benefit-card .title {
  background-color: #ffd6d9;  /* тёплый розовый */
  padding: 0.5rem 1rem;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 10px;
  margin-bottom: 0.6rem;
  display: inline-block;
  color: #111;
}
.child-benefit-card:hover {
  background: linear-gradient(145deg, #ffe6e9, #fff2f3); /* градиент */
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}


/*Надпись  ==== 🚀 CTA-блок: Другие дети уже занимаются (широкий формат) ==== #} */
.subheadline-spacing {
  margin-top: 1rem;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0.25rem;

  padding-left: 4rem;  /* добавлен отступ слева */
}

.btn-xl {
  font-size: 1.3rem;               /* увеличено на 30% */
  padding: 1.3rem 2.6rem;          /* больше отступы */
}


/* 🎯 Общий стиль карточки */
.advantage-card {
  position: relative;
  padding-top: 2.5rem; /* Отступ под медаль */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
}

.advantage-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 0 0 3px #fce4ec, 0 8px 20px rgba(0, 0, 0, 0.1);
  background: #fffafc;
}

/* 🥇 Медаль в левом верхнем углу */
.advantage-medal {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
}

.advantage-medal img {
  width: 40px;
  height: auto;
  animation: pulseMedal 2s infinite ease-in-out;
}

/* 💓 Анимация пульсации медали */
@keyframes pulseMedal {
  0%   { transform: scale(1); opacity: 1; }
  50%  { transform: scale(1.1); opacity: 0.9; }
  100% { transform: scale(1); opacity: 1; }
}



/*Отсутп последний блок и Клейкий блок*/

section.bg-light.form-with-sticky-padding {
  padding-bottom: 150px !important;
}
/*!* Применяем padding-bottom на любой элемент с этим классом *!*/
.form-with-sticky-padding {
  padding-bottom: 150px !important;
}

.hide {
  display: none !important;
}



/* === липкий  блок === */
#sticky-offer-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: white;
  z-index: 1050;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.1);
  border-top: 1px solid #f3f3f3;
  padding: 12px 24px;
}

.sticky-offer-container {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
}

/* === Верхняя строка (текст + цена) === */
.sticky-offer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 1.1rem;
  gap: 10px;
  margin-bottom: 8px;
  justify-content: center;
  text-align: center;
}

.wow-gradient {
  background: linear-gradient(90deg, #ff6600, #ff0077);
  color: white;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 1.5rem;
  font-size: 1rem;
  display: inline-block;
  white-space: nowrap;
}

.sticky-offer-top .price {
  font-weight: 800;
}

/* === Низ: таймер и кнопка === */
.sticky-offer-bottom {
  display: flex;
  align-items: center;
  justify-content: center; /* Center the timer and button together */
  flex-wrap: wrap;
  gap: 32px;
}

/* === Таймер === */
.sticky-timer-block {
  flex-grow: 0; /* do not grow; use content width */
  /* (Other styles like display:flex and justify-content:center can remain) */
}

.timer-unit {
  background: #fff5e6;
  border-radius: 12px;
  padding: 6px 12px;
  text-align: center;
  min-width: 60px;
}

.timer-value {
  font-size: 1.4rem;
  font-weight: bold;
  color: #ff6600;
  line-height: 1.1;
}

.timer-label {
  font-size: 0.8rem;
  color: #444;
}

/* === Кнопка === */
.sticky-action-block {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sticky-offer-btn {
  background-color: black;
  color: white !important;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 12px 28px;
  border-radius: 40px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
  transition: all 0.25s ease;
  text-align: center;
  display: inline-block;
  text-decoration: none;
  white-space: nowrap;
}

.sticky-offer-btn:hover {
  background: #222;
  transform: scale(1.02);
}

.wow-tag {
  position: absolute;
  top: -12px;
  left: -20px;
  background: #fff1cc;
  color: #ff6600;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* === Кнопка закрытия === */
.sticky-offer-close {
  position: absolute;
  right: 12px;
  top: 12px;
  font-size: 1.5rem;
  color: #ff4d4f;
  cursor: pointer;
  user-select: none;
  line-height: 1;
}

.sticky-offer-close:hover {
  opacity: 0.75;
}



/*Одинаковые СИТИ и карта*/
  .contacts-map-row {
    margin-bottom: 1rem;
  }

  .contacts-map-row .col-12 {
    height: 80px; /* можно 180–220px */
    overflow: hidden;
    border-radius: 1rem;
  }

  .contacts-map-row img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 1rem;
  }

@keyframes pulse-badge {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.85;
  }
}
.pulse-badge {
  animation: pulse-badge 2s infinite ease-in-out;
}

/* === 🎯 Стили карточки резервации в Личном кабинете (десктоп + адаптив) === */

.reservation-card-final {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  border: 2px solid #00a66f;
  border-radius: 16px;
  background-color: #f9fdfb;
  padding: 24px;
  gap: 12px;
}

/* 🔵 Левая часть: информация о курсе */
.reservation-left {
  flex: 1 1 60%;
  min-width: 280px;
}

.reservation-id {
  font-weight: 600;
  font-size: 18px;
  color: #007bff;
  margin-bottom: 12px;
}

.reservation-info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.reservation-info-block {
  flex: 1 1 250px;
  font-size: 14px;
  color: #333;
  line-height: 1.6;
}

/* 🟢 Правая часть: статус, сумма, отмена */
.reservation-right {
  flex: 0 0 200px;
  text-align: right;
  align-self: start;
}

.reservation-right .fw-bold {
  font-size: 15px;
}

.cancel-link-final {
  display: inline-block;
  margin-top: 8px;
  background: none;
  border: none;
  color: #d91d1d;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}
.cancel-link-final:hover {
  color: #a70000;
}

/* 📱 Адаптация под мобильные устройства */
@media (max-width: 767.98px) {
  .reservation-card-final {
    flex-direction: column;
    text-align: left;
    padding: 16px;
  }

  .reservation-right {
    text-align: left;
    margin-top: 16px;
  }
}
