/* Страница «День рождения» — отступы и сброс конфликта h1+nav */

.birthday-page h1 {
  margin-top: 0.5em;
  margin-bottom: 0.35em;
  font-size: clamp(1.75rem, 4vw, 3rem);
}

.birthday-page h1 + nav,
.birthday-page h1 + .breadcrumb {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

.birthday-page__head {
  padding-bottom: 0;
}

.birthday-page__head .breadcrumb {
  justify-content: center;
  margin-bottom: 0.75rem;
}

.birthday-page__subtitle {
  font-size: 1.25rem;
  color: var(--lw-color-muted, #5c5c5c);
  max-width: 720px;
  margin: 0 auto 0.5rem;
  line-height: 1.45;
}

.birthday-page__lead {
  font-size: 1.35rem;
  line-height: 1.55;
  color: #333;
  margin-bottom: 0;
}

/* Герой */

.birthday-hero {
  margin-bottom: 2.5rem;
}

.birthday-hero__media {
  width: 100%;
  max-height: 520px;
  overflow: hidden;
  background: #111;
  line-height: 0;
}

.birthday-hero__media img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  margin-bottom: 0;
}

.birthday-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  padding: 1.5rem 15px 0;
}

.birthday-hero__actions .btn {
  min-width: 220px;
}

/* Блок преимуществ — единый размер иконок */

.birthday-page .birthday-benefit {
  margin-bottom: 2.5rem;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.birthday-page .birthday-benefit .teaser-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 200px;
  min-height: 200px;
  flex-shrink: 0;
  margin: 0 auto;
}

.birthday-page .birthday-benefit .teaser-logo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 200px;
  max-height: 200px;
  object-fit: contain;
  object-position: center;
}

.birthday-page .birthday-benefit .tiser-content {
  margin: 1.25rem 0 0 !important;
  max-width: 320px;
  text-align: center !important;
  flex-basis: auto !important;
}

.birthday-page .birthday-benefit .teaser-name,
.birthday-page .birthday-benefit .teaser-desc {
  text-align: center !important;
}

.birthday-page .birthday-benefit .teaser-name {
  margin-top: 0;
}

/* Галерея */

.birthday-gallery {
  background: url('../img/bg2.svg') top center no-repeat;
  background-size: 200% auto;
  padding-top: 1rem;
}

.birthday-gallery__grid {
  margin-bottom: 1rem;
}

.birthday-gallery__item {
  margin: 0 0 1rem;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.birthday-gallery__item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.birthday-gallery__more {
  font-size: 1.2rem;
}

.birthday-gallery__more a {
  color: var(--lw-color-primary, #e10600);
  font-weight: 700;
}

/* Шаги программы */

.birthday-steps {
  padding-bottom: 1rem;
}

.birthday-step {
  text-align: center;
  padding: 1rem 0.5rem 2rem;
  height: 100%;
}

.birthday-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--lw-color-primary, #e10600);
  color: #fff;
  font-weight: 900;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.birthday-step h3 {
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
  font-weight: 900;
}

.birthday-step p {
  font-size: 1.05rem;
  color: var(--lw-color-muted, #5c5c5c);
  margin: 0;
  line-height: 1.4;
}

/* Пакеты */

.birthday-packages .main__h2 {
  margin-top: 0.25em;
}

.birthday-package-cards {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.birthday-package-card {
  border: 2px solid #e0e0e0;
  height: 100%;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  background: #fff;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.birthday-package-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.birthday-package-card--featured {
  border-color: var(--lw-color-primary, #e10600);
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.15);
}

.birthday-package-card__header {
  background: var(--lw-color-primary, #e10600);
  color: #fff;
  font-weight: 900;
  font-size: 1.5rem;
  text-align: center;
  padding: 0.75rem 1rem;
  text-transform: uppercase;
}

.birthday-package-card--featured .birthday-package-card__header {
  background: #000;
}

.birthday-package-card__time {
  text-align: center;
  font-size: 1.1rem;
  margin: 1rem 1rem 0;
  font-weight: 700;
}

.birthday-package-card__price {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--lw-color-primary, #e10600);
  margin: 0.25rem 1rem 1rem;
}

.birthday-package-card__list {
  list-style: none;
  padding: 0 1.25rem;
  margin: 0 0 1rem;
  flex-grow: 1;
  font-size: 1.05rem;
  line-height: 1.45;
}

.birthday-package-card__list li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.25rem;
  border-bottom: 1px solid #f0f0f0;
}

.birthday-package-card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--lw-color-primary, #e10600);
  font-weight: 900;
}

.birthday-package-card__extra {
  text-align: center;
  font-size: 0.95rem;
  color: #666;
  margin: 0 1rem 1.25rem;
}

/* FAQ */

.birthday-faq {
  padding-bottom: 2rem;
}

.birthday-faq .main__h2 {
  margin-bottom: 1.25em;
}

.birthday-faq__item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #eee;
}

.birthday-faq__item:last-child {
  border-bottom: none;
}

.birthday-faq__item h3 {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
  font-weight: 900;
  color: #000;
}

.birthday-faq__item p {
  font-size: 1.15rem;
  line-height: 1.5;
  margin: 0;
  color: var(--lw-color-muted, #5c5c5c);
}

.birthday-faq__item a {
  color: var(--lw-color-primary, #e10600);
}

@media (max-width: 767px) {
  .birthday-hero__actions .btn {
    width: 100%;
    min-width: 0;
  }

  .birthday-gallery__item img {
    height: 140px;
  }

  .birthday-page h1 {
    font-size: 1.65rem;
  }

  .birthday-page .birthday-benefit .teaser-logo {
    width: 160px;
    height: 160px;
    min-height: 160px;
  }

  .birthday-page .birthday-benefit .teaser-logo img {
    max-width: 160px;
    max-height: 160px;
  }
}

@media (min-width: 768px) {
  .birthday-page .birthday-benefits-row > [class*="col-"] {
    display: flex;
  }

  .birthday-page .birthday-benefit {
    width: 100%;
  }
}

@media (min-width: 1200px) {
  .birthday-hero__media {
    max-height: 520px;
  }
}
