/* Лендинг Ремесленная — современно, мягко, не пёстро */

:root {
  --color-bg: #fdfbf7;
  --color-bg-alt: #f5f0e8;
  --color-surface: rgba(255, 255, 255, 0.78);
  --color-surface-strong: rgba(255, 255, 255, 0.92);
  --color-accent: #c47b34;
  --color-accent-dark: #a06028;
  --color-text: #2c2416;
  --color-text-muted: #6b5d4d;
  --color-border: #e8e0d4;
  --font-heading: 'Montserrat', -apple-system, system-ui, sans-serif;
  --font-body: 'Open Sans', -apple-system, system-ui, sans-serif;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 36px rgba(44, 36, 22, 0.10);
  --shadow-hover: 0 16px 48px rgba(44, 36, 22, 0.14);
  --ring: 0 0 0 6px rgba(196, 123, 52, 0.14);
}

.landing {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.6;
  background:
    radial-gradient(1100px 520px at 15% 0%, rgba(196, 123, 52, 0.10), transparent 60%),
    radial-gradient(900px 520px at 85% 25%, rgba(44, 36, 22, 0.06), transparent 55%),
    var(--color-bg);
}

/* Для общих страниц (без филиала) */
.landing-header--global .landing-header__logo {
  letter-spacing: -0.01em;
}

.landing-footer--global .landing-footer__columns {
  opacity: 0.98;
}

.landing h1,
.landing h2,
.landing h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-text);
}

.landing-section {
  padding: 64px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.landing-section--alt {
  background: transparent;
}

.landing-section__title {
  font-size: 2rem;
  margin-bottom: 12px;
  text-align: center;
}

.landing-section__subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}

/* Hero */
.landing-hero {
  min-height: 70vh;
  padding: 80px 24px 72px;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.landing-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.landing-hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
}

.landing-hero__text-col {
  max-width: 600px;
}

.landing-hero__image-col {
  display: flex;
  justify-content: flex-end;
}

.landing-hero__image-wrap {
  width: 100%;
  max-width: 460px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 26px 70px rgba(2, 6, 23, 0.22);
  position: relative;
  background: var(--color-surface-strong);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(10px);
  padding: 14px;
}

.landing-hero__image-wrap::before {
  content: '';
  position: absolute;
  inset: 8px 10px 10px 8px;
  background: rgba(196, 123, 52, 0.12);
  border-radius: 45% 55% 60% 40% / 50% 45% 55% 50%;
  z-index: 0;
}

.landing-hero__image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.16);
  border: 1px solid rgba(15, 23, 42, 0.10);
}

.landing-hero__image-placeholder {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(47, 111, 237, 0.10), rgba(56, 189, 248, 0.10));
  color: rgba(15, 23, 42, 0.72);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.10);
}

.landing-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 120%;
  background: radial-gradient(circle, rgba(47, 111, 237, 0.10) 0%, transparent 70%);
  pointer-events: none;
}

.landing-hero__title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 16px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.landing-hero__text {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.landing-hero__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--color-text);
  font-size: 0.95rem;
}

.landing-hero__bullets li::before {
  content: '';
}

.landing-hero__bullets li {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.08);
  backdrop-filter: blur(10px);
}

.landing-hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.landing-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.landing-btn--primary {
  background: var(--color-accent);
  color: white;
  box-shadow: var(--shadow);
}

.landing-btn--primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.landing-btn--primary:focus-visible {
  outline: none;
  box-shadow: var(--shadow-hover), var(--ring);
}

.landing-btn--outline {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

.landing-btn--outline:hover {
  background: rgba(196, 123, 52, 0.08);
}

/* Стартовая страница — карточки филиалов */
.branch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.branch-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 20px 20px;
  box-shadow: 0 14px 38px rgba(2, 6, 23, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  backdrop-filter: blur(12px);
}

.branch-card--link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.branch-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 50px rgba(2, 6, 23, 0.12);
  border-color: rgba(47, 111, 237, 0.35);
}

.branch-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.branch-card__teaser {
  color: var(--color-text-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.branch-card__cta {
  margin-top: 14px;
  font-weight: 700;
  color: var(--color-accent);
}

@media (max-width: 900px) {
  .landing-hero__content {
    grid-template-columns: 1fr;
  }
  .landing-hero__image-col {
    justify-content: center;
  }
  .landing-hero {
    padding: 64px 20px 52px;
  }
  .landing-section {
    padding: 52px 20px;
  }
}

/* Карточки видов занятий — двухкарточный стиль */
.activities-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 32px;
}

.course-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  background: white;
}

.course-row:hover {
  box-shadow: var(--shadow-hover);
}

.course-row a {
  text-decoration: none;
  color: inherit;
}

@media (max-width: 900px) {
  .course-row {
    grid-template-columns: 1fr;
  }

  .course-desc {
    min-height: 220px;
  }

  .course-desc__title-wrap {
    margin-left: -36px;
    margin-right: -36px;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }

  .course-details__price-wave {
    margin-left: -32px;
    margin-right: -32px;
  }

  .course-details__price-content {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .course-details__btn {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .landing-section {
    padding: 40px 16px;
  }

  .landing-section__title {
    font-size: 1.5rem;
    margin-bottom: 8px;
  }

  .landing-section__subtitle {
    font-size: 1rem;
    margin: 0 auto 32px;
    padding: 0 8px;
  }

  .activities-list {
    gap: 20px;
    margin-top: 24px;
  }

  .course-row {
    border-radius: var(--radius);
    overflow: hidden;
  }

  .course-desc {
    padding: 24px 16px;
    min-height: 200px;
  }

  .course-desc__title-wrap {
    margin: 0 -16px -24px -16px;
    padding: 12px 16px;
    border-radius: 0 0 var(--radius) var(--radius);
  }

  .course-desc__title {
    font-size: 1.35rem;
  }

  .course-details {
    padding: 24px 20px;
    min-height: auto;
  }

  .course-details__tags {
    gap: 8px;
    margin-bottom: 20px;
  }

  .course-details__tag {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  .course-details__badges {
    gap: 8px;
  }

  .course-details__badge {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .course-details__price-wave {
    margin-top: 20px;
    margin-left: -20px;
    margin-right: -20px;
    margin-bottom: -24px;
    padding: 20px 20px;
    background: #e8e0f0;
    background-image: radial-gradient(circle at 20% 30%, rgba(180, 160, 200, 0.2) 0%, transparent 50%);
  }

  .course-details__price-content {
    gap: 14px;
    justify-content: flex-start;
  }

  .course-details__price-block {
    align-items: flex-start;
    text-align: left;
  }

  .course-details__price-label {
    color: var(--color-text);
  }

  .course-details__price-value {
    font-size: 1.5rem;
    color: var(--color-text);
  }

  .landing-hero {
    padding: 48px 16px 40px;
    min-height: 60vh;
  }

  .landing-hero__content {
    display: block;
  }

  .landing-hero__image-col {
    margin-top: 32px;
    justify-content: center;
  }

  .landing-hero__image-wrap {
    max-width: 320px;
    border-radius: 24px;
  }

  .landing-hero__title {
    font-size: clamp(1.9rem, 6vw, 2.4rem);
  }

  .landing-hero__text {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .landing-hero__bullets {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }

  .section-how__title {
    font-size: 1.5rem;
    margin-bottom: 32px;
  }

  .section-how__gallery {
    gap: 20px;
    margin-top: 20px;
  }

  .section-how__photo-wrap {
    width: 100%;
    max-width: 280px;
  }

  .contacts-block {
    gap: 24px;
  }

  .contacts-block__map {
    height: 260px;
  }

  .cta-block {
    padding: 32px 16px;
    margin-bottom: 40px;
  }

  .cta-block__title {
    font-size: 1.5rem;
  }

  .cta-block__benefits {
    gap: 8px 12px;
  }

  .cta-block__benefit {
    padding: 8px 14px;
    font-size: 0.9rem;
  }
}

/* Левая карточка — описание */
.course-desc--clickable {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

.course-desc--clickable:hover {
  opacity: 0.95;
}

.course-desc {
  padding: 40px 36px;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.course-desc__tag {
  display: inline-block;
  padding: 8px 18px;
  background: #e85d45;
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 999px;
  margin-bottom: 20px;
  width: fit-content;
}

.course-desc__title-wrap {
  background: rgba(0, 0, 0, 0.55);
  padding: 12px 20px;
  margin: 0 -36px -40px -36px;
  border-radius: 0 0 0 var(--radius-lg);
}

.course-desc[style*='url('] .course-desc__title {
  color: white;
}

.course-desc__title {
  font-size: 1.75rem;
  margin: 0;
  font-weight: 700;
}

.course-desc:not([style*='url(']) .course-desc__title-wrap {
  background: transparent;
}

.course-desc:not([style*='url(']) .course-desc__title {
  color: var(--color-text);
}

/* Правая карточка — детали и цена */
.course-details {
  padding: 32px;
  background: #e8e0f0;
  background-image: radial-gradient(circle at 20% 30%, rgba(180, 160, 200, 0.2) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 320px;
  overflow: hidden;
}

.course-details__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.course-details__tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: var(--color-text);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 999px;
}

.course-details__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: auto;
  padding-top: 8px;
}

.course-details__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--color-text);
  font-weight: 500;
}

.course-details__badge svg {
  flex-shrink: 0;
  color: var(--color-text-muted);
}

.course-details__price-wave {
  margin-top: 24px;
  padding: 28px 32px 28px;
  background: #e85d45;
  border-radius: 0;
  margin-left: -32px;
  margin-right: -32px;
  margin-bottom: -32px;
}

.course-details__price-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 24px;
}

.course-details__price-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.course-details__price-label {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 4px;
}

.course-details__price-value {
  font-size: 2rem;
  font-weight: 700;
  color: white;
}

.course-details__btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius);
  background: white;
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  margin-left: auto;
  text-decoration: none;
}

.course-details__btn:hover {
  background: var(--color-bg);
  transform: translateY(-1px);
}

/* Секция "Как проходят занятия" */
.section-how {
  background: none;
}

.section-how__title {
  font-size: 2rem;
  font-weight: 400;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 48px;
}

.section-how__gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin-top: 24px;
}

.reviews-widget {
  /* Яндекс-виджет часто имеет фиксированную ширину ~560px, чтобы не было пустого поля справа */
  max-width: 600px;
  margin: 0 auto;
}

.reviews-widget__iframe {
  width: 100%;
  height: 720px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  background: #fff;
}

.reviews-widget__empty {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  background: #fff;
  padding: 18px;
  text-align: center;
  color: var(--color-text-muted);
}

.reviews-widget__more {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

.section-how__photo-wrap {
  position: relative;
  flex: 0 0 auto;
  width: 280px;
}

.section-how__photo-wrap--clickable {
  cursor: pointer;
  transition: opacity 0.2s;
}

.section-how__photo-wrap--clickable:hover {
  opacity: 0.9;
}

.section-how__photo-blob {
  position: absolute;
  inset: -12px -16px -16px -12px;
  background: #e8dff5;
  border-radius: 45% 55% 60% 40% / 50% 45% 55% 50%;
  z-index: 0;
}

.section-how__photo {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 4px 20px rgba(51, 26, 74, 0.12);
}

.section-how__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .section-how__gallery {
    flex-direction: column;
    align-items: center;
  }

  .section-how__photo-wrap {
    width: 100%;
    max-width: 320px;
  }
}

/* Галерея */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.gallery-grid__item {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg-alt);
}

.gallery-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-grid__item--clickable {
  cursor: pointer;
  transition: opacity 0.2s;
}

.gallery-grid__item--clickable:hover {
  opacity: 0.9;
}

/* Лайтбокс галереи */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox__content {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.gallery-lightbox__content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.gallery-lightbox__counter {
  color: white;
  font-size: 0.95rem;
  opacity: 0.9;
}

.gallery-lightbox__close,
.gallery-lightbox__prev,
.gallery-lightbox__next {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.gallery-lightbox__close:hover,
.gallery-lightbox__prev:hover,
.gallery-lightbox__next:hover {
  background: rgba(255, 255, 255, 0.3);
}

.gallery-lightbox__close {
  top: 24px;
  right: 24px;
  font-size: 2.5rem;
  line-height: 1;
}

.gallery-lightbox__prev {
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.gallery-lightbox__next {
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

/* Контакты */
.contacts-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 32px;
}

@media (max-width: 768px) {
  .contacts-block {
    grid-template-columns: 1fr;
  }
}

.contacts-block__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 280px;
  height: 320px;
  background: var(--color-bg-alt);
  position: relative;
}

.contacts-block__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.contacts-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contacts-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.contacts-list a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 500;
}

.contacts-list a:hover {
  text-decoration: underline;
}

.messengers {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.messengers a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-accent);
  color: white;
  transition: transform 0.2s;
}

.messengers a:hover {
  transform: scale(1.1);
}

/* CTA блок */
.cta-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  min-height: 420px;
  padding: 48px 56px;
  background: #e8dff5;
  background-image: radial-gradient(circle at 0% 100%, rgba(232, 224, 245, 0.9) 0%, transparent 50%),
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(232, 93, 69, 0.25) 0%, transparent 50%);
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  margin-bottom: 64px;
  box-shadow: 0 8px 40px rgba(102, 51, 74, 0.12);
}

.cta-block::before {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -40px;
  width: 200px;
  height: 180px;
  background: linear-gradient(135deg, rgba(232, 93, 69, 0.4) 0%, rgba(232, 93, 69, 0.15) 100%);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  pointer-events: none;
}

.cta-block__content {
  position: relative;
  z-index: 2;
}

.cta-block__title {
  font-size: 2rem;
  font-weight: 700;
  color: #331a4a;
  margin-bottom: 16px;
  line-height: 1.25;
}

.cta-block__text {
  font-size: 1.05rem;
  color: #4a3a5c;
  margin-bottom: 24px;
  line-height: 1.6;
}

.cta-block__benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 28px;
}

.cta-block__benefit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.7);
  color: #331a4a;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(51, 26, 74, 0.08);
}

.cta-block__benefit svg {
  flex-shrink: 0;
  color: #7c5cb8;
}

.cta-block__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: #e85d45;
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(232, 93, 69, 0.4);
}

.cta-block__btn:hover {
  background: #d14a33;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(232, 93, 69, 0.45);
}

.cta-block__secondary {
  margin-top: 32px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(51, 26, 74, 0.06);
}

.cta-block__secondary p {
  margin: 0 0 8px;
  font-size: 0.95rem;
  color: #4a3a5c;
}

.cta-block__secondary p:last-of-type {
  margin-bottom: 12px;
}

.cta-block__secondary a {
  color: #7c5cb8;
  font-weight: 600;
  text-decoration: none;
}

.cta-block__secondary a:hover {
  text-decoration: underline;
}

.cta-block__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.cta-block__tablet {
  width: 220px;
  height: 160px;
  background: #2d2d2d;
  border-radius: 16px;
  padding: 12px;
  transform: rotate(-5deg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255,255,255,0.1) inset;
}

.cta-block__tablet--photo {
  position: relative;
  width: 466px;
  height: 358px;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.cta-block__photo-blob {
  position: absolute;
  inset: -10px -12px -14px -10px;
  background: #e8dff5;
  border-radius: 45% 55% 60% 40% / 50% 45% 55% 50%;
  z-index: 0;
}

.cta-block__photo {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 100%;
  height: 100%;
  box-shadow: 0 4px 20px rgba(51, 26, 74, 0.12);
}

.cta-block__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-block__photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #e8f5e9 0%, #ffebee 100%);
}

.cta-block__screen {
  width: 100%;
  height: 100%;
  background: #f5f5f5;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.cta-block__zoom {
  position: absolute;
  top: 8px;
  left: 12px;
  font-size: 11px;
  font-weight: 700;
  color: #2d8cff;
}

.cta-block__video-demo {
  position: absolute;
  inset: 28px 8px 8px;
  background: linear-gradient(180deg, #e8f5e9 0%, #ffebee 100%);
  border-radius: 6px;
}

@media (max-width: 768px) {
  .cta-block {
    grid-template-columns: 1fr;
    padding: 40px 24px;
    text-align: center;
  }

  .cta-block__benefits {
    justify-content: center;
  }

  .cta-block__visual {
    min-height: 180px;
    order: -1;
  }

  .cta-block__tablet {
    width: 160px;
    height: 120px;
  }

  .cta-block__tablet--photo {
    width: 320px;
    height: 246px;
  }
}

/* Header */
.landing-header {
  background: white;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.landing-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.landing-header__logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
  flex-shrink: 0;
}

.landing-header__change-branch {
  margin-left: 8px;
  padding: 10px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text-muted);
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.landing-header__change-branch:hover {
  background: var(--color-bg-alt);
  border-color: rgba(196, 123, 52, 0.4);
  color: var(--color-accent);
}

.landing-header__toggler {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background 0.2s;
}

.landing-header__toggler:hover {
  background: var(--color-bg-alt);
}

.landing-header__toggler-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.landing-header__toggler--open .landing-header__toggler-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.landing-header__toggler--open .landing-header__toggler-bar:nth-child(2) {
  opacity: 0;
}

.landing-header__toggler--open .landing-header__toggler-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.landing-header__nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.landing-header__nav a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}

.landing-header__nav a:hover {
  color: var(--color-accent);
}

.landing-header__messengers {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.landing-header__messenger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  width: 28px;
  height: 28px;
  border-radius: 10px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.landing-header__messenger:hover {
  background: rgba(196, 123, 52, 0.10);
  transform: translateY(-1px);
}

.landing-header__messenger svg,
.landing-header__messenger img {
  width: 20px;
  height: 20px;
  display: block;
}

.landing-header__phone {
  color: var(--color-accent);
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .landing-header__toggler {
    display: flex;
    margin-left: auto;
    order: 2;
  }

  .landing-header__nav {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: white;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 24px 24px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.3s ease, opacity 0.2s, visibility 0.2s;
  }

  .landing-header__nav--open {
    max-height: 320px;
    opacity: 1;
    visibility: visible;
  }

  .landing-header__nav a,
  .landing-header__nav .landing-header__phone {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 1.1rem;
  }

  .landing-header__nav a:last-child,
  .landing-header__nav .landing-header__phone {
    border-bottom: none;
  }

  .landing-header__phone {
    padding-top: 16px;
    margin-top: 8px;
    border-top: 1px solid var(--color-border);
  }
}

/* Footer — ширина и отступы как у .landing-section / .cta-block */
.landing-footer {
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.9);
  padding: 48px 24px 32px;
  margin-top: 0;
}

.landing-footer__inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.landing-footer__columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
}

.landing-footer__column {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.landing-footer__block,
.landing-footer__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.landing-footer__link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.landing-footer__link:hover {
  color: var(--color-accent);
}

@media (max-width: 768px) {
  .landing-footer__columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Hero страницы занятия — две колонки */
.activity-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 768px) {
  .activity-hero {
    grid-template-columns: 1fr;
  }
}

.activity-hero__main {
  min-width: 0;
}

.activity-hero__aside {
  position: sticky;
  top: 24px;
  padding: 28px;
  background: #e8e0f0;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.activity-hero__aside > * + * {
  margin-top: 20px;
}

.activity-hero__aside .course-details__tags {
  margin-bottom: 0;
}

/* О занятии — блок с BB-кодами */
.activity-about {
  max-width: 720px;
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--color-text-muted);
}

.activity-about p {
  margin-bottom: 1em;
}

.activity-about p:last-child {
  margin-bottom: 0;
}

.activity-about ul,
.activity-about ol {
  margin: 0.5em 0 1em 1.5em;
  padding: 0;
}

.activity-about li {
  margin-bottom: 0.25em;
}

.activity-about a {
  color: var(--color-accent);
  text-decoration: underline;
}

.activity-about a:hover {
  color: var(--color-accent-dark);
}

.activity-about img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(44, 36, 22, 0.12);
  border: 1px solid var(--color-border);
  margin: 1em 0;
}

.activity-hero__aside .course-details__icons-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.activity-hero__aside .course-details__icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: var(--color-text);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 999px;
}

.activity-hero__aside .course-details__icon svg {
  flex-shrink: 0;
  color: var(--color-text-muted);
}

/* Стили цен в activity-hero__aside (не price-wave) */
.activity-hero__aside .course-details__price-wrap {
  margin-top: 0;
}

.activity-hero__aside .course-details__prices-multi {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.activity-hero__aside .course-details__price {
  display: block;
  padding: 14px 20px;
  background: #e85d45;
  color: white;
  border-radius: var(--radius);
}

.activity-hero__aside .course-details__price-label {
  font-size: 0.85rem;
  opacity: 0.95;
  display: block;
  margin-bottom: 4px;
}

.activity-hero__aside .course-details__price-value {
  font-size: 1.35rem;
  font-weight: 700;
  color: white;
}

/* Календарь расписания на странице занятия */
.landing-calendar-wrapper {
  margin-top: 24px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 16px;
}

.landing-calendar-wrapper .fc {
  font-family: var(--font-body);
}

.landing-calendar-wrapper .fc-toolbar-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
}

.landing-calendar-wrapper .fc-button {
  font-weight: 500;
  border-radius: var(--radius);
  border-color: var(--color-border);
  background: white;
  color: var(--color-text-muted);
}

.landing-calendar-wrapper .fc-button:hover {
  background: var(--color-bg-alt);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.landing-calendar-wrapper .fc-button-primary:not(:disabled).fc-button-active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: white;
}

.landing-calendar-wrapper .fc-scrollgrid {
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.landing-calendar-wrapper .fc-col-header-cell {
  background: var(--color-bg-alt);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.landing-calendar-wrapper .fc-timegrid-slot {
  /* Больше высота строки, чтобы в событии помещались "Есть места" + CTA */
  height: 3.6em;
}

.landing-calendar-wrapper .fc-timegrid-slot-label {
  font-size: 0.75rem;
}

.landing-calendar-wrapper .fc-event {
  cursor: pointer;
  border: none;
  border-radius: 6px;
}

.landing-calendar-event {
  padding: 10px 10px;
  font-size: 13px;
  line-height: 1.4;
  color: white;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 640px) {
  .landing-calendar-wrapper .fc-timegrid-slot {
    height: 4em;
  }
  .landing-calendar-event {
    padding: 10px 8px;
    font-size: 12px;
  }
}

.landing-calendar-event__time {
  font-size: 10px;
  opacity: 0.95;
}

.landing-calendar-event__hall {
  font-weight: 600;
}

.landing-calendar-event__slots {
  font-size: 12px;
  opacity: 0.95;
}

.landing-calendar-event__cta {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: underline;
}

/* Форма записи — стиль в духе сайта */
.lead-form {
  max-width: 480px;
  margin: 0 auto;
  padding: 48px 40px;
  background: #e8dff5;
  background-image: radial-gradient(circle at 20% 30%, rgba(180, 160, 200, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(196, 123, 52, 0.12) 0%, transparent 50%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.lead-form--success {
  text-align: center;
  padding: 56px 40px;
}

.lead-form__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
}

.lead-form__subtitle {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  line-height: 1.5;
}

.lead-form__success-text {
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

.lead-form__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lead-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lead-form__label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
}

.lead-form__input {
  padding: 14px 18px;
  font-size: 1rem;
  font-family: var(--font-body);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: white;
  color: var(--color-text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.lead-form__input::placeholder {
  color: #999;
}

.lead-form__input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(196, 123, 52, 0.2);
}

.lead-form__input--date {
  cursor: pointer;
}

.lead-form__error {
  padding: 12px 16px;
  background: rgba(232, 93, 69, 0.15);
  color: #c23a2a;
  border-radius: var(--radius);
  font-size: 0.95rem;
}

.lead-form__submit {
  margin-top: 8px;
  width: 100%;
  padding: 16px 28px;
  font-size: 1.05rem;
}

.lead-form__consents {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: -4px;
}

.lead-form__checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.lead-form__checkbox {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--color-accent);
  cursor: pointer;
}

.lead-form__checkbox-label {
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--color-text);
  font-weight: 500;
  cursor: pointer;
}

.lead-form__inline-link {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lead-form__inline-link:hover {
  color: var(--color-text);
}

.lead-form--poll {
  max-width: min(1100px, 100%);
  width: 100%;
}

.landing-section--poll {
  padding-left: 16px;
  padding-right: 16px;
  max-width: 100%;
  box-sizing: border-box;
}

.schedule-poll-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.schedule-poll-day {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.schedule-poll-day__title {
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  color: var(--color-text);
  padding-bottom: 6px;
  border-bottom: 2px solid rgba(196, 123, 52, 0.35);
}

.schedule-poll-day__options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.schedule-poll-day__empty {
  display: block;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  padding: 8px 0;
}

.schedule-poll-option {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.schedule-poll-option:hover {
  border-color: var(--color-accent);
}

.schedule-poll-option--checked {
  border-color: var(--color-accent);
  background: #fff;
  box-shadow: 0 0 0 2px rgba(196, 123, 52, 0.2);
}

.schedule-poll-option__checkbox {
  margin-top: 2px;
}

.schedule-poll-option__time {
  font-size: 0.78rem;
  line-height: 1.35;
  font-weight: 600;
  color: var(--color-text);
  word-break: break-word;
}

@media (max-width: 900px) {
  .schedule-poll-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .landing-section--poll {
    padding: 16px 12px 32px;
  }

  .lead-form--poll {
    max-width: 100%;
    padding: 24px 18px;
    box-sizing: border-box;
  }

  .lead-form--poll .lead-form__title {
    font-size: 1.4rem;
    line-height: 1.25;
  }

  .lead-form--poll .lead-form__subtitle {
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
  }

  .lead-form--poll .lead-form__label {
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .schedule-poll-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 10px;
  }

  .schedule-poll-day:has(.schedule-poll-day__empty) {
    display: none;
  }

  .schedule-poll-day__title {
    text-align: left;
    font-size: 1.05rem;
    padding-bottom: 8px;
  }

  .schedule-poll-day__options {
    gap: 10px;
  }

  .schedule-poll-option {
    align-items: center;
    padding: 14px 16px;
    min-height: 48px;
    -webkit-tap-highlight-color: transparent;
  }

  .schedule-poll-option__checkbox {
    width: 22px;
    height: 22px;
    margin-top: 0;
    flex-shrink: 0;
  }

  .schedule-poll-option__time {
    font-size: 1rem;
    line-height: 1.3;
  }

  .lead-form--poll .lead-form__input {
    font-size: 16px;
    padding: 14px 16px;
  }

  .lead-form--poll .lead-form__submit {
    min-height: 48px;
    padding: 16px 20px;
    font-size: 1.05rem;
  }

  .lead-form--poll .lead-form__checkbox {
    width: 20px;
    height: 20px;
  }

  .lead-form--poll .lead-form__checkbox-label {
    font-size: 0.85rem;
  }
}

@media (max-width: 600px) {
  .lead-form {
    padding: 32px 24px;
  }

  .landing-section--poll {
    padding: 12px 10px 28px;
  }

  .lead-form--poll {
    padding: 20px 14px;
    border-radius: 12px;
  }

  .lead-form--poll .lead-form__title {
    font-size: 1.25rem;
  }
}

/* —— School landing (/school) —— */
.school-hero .landing-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  line-height: 1.2;
}

.school-steps {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}

.school-steps--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.school-steps--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.school-step {
  background: var(--color-surface-strong);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  box-shadow: var(--shadow);
}

.school-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(196, 123, 52, 0.14);
  color: var(--color-accent-dark);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.school-step__title {
  font-size: 1.05rem;
  margin: 0 0 8px;
}

.school-step__text {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.school-callout {
  max-width: 760px;
  margin: 36px auto 0;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.school-callout--strong {
  background: var(--color-surface-strong);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  color: var(--color-text);
  box-shadow: var(--shadow);
}

.school-compare {
  max-width: 900px;
  margin: 32px auto 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface-strong);
}

.school-compare__head,
.school-compare__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.school-compare__head {
  background: rgba(196, 123, 52, 0.1);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
}

.school-compare__head span,
.school-compare__row span {
  padding: 14px 18px;
}

.school-compare__row + .school-compare__row {
  border-top: 1px solid var(--color-border);
}

.school-compare__usual {
  color: var(--color-text-muted);
  border-right: 1px solid var(--color-border);
}

.school-compare__ours {
  color: var(--color-text);
  font-weight: 500;
}

.school-cards {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}

.school-cards--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.school-card,
.school-format,
.school-role,
.school-product,
.school-pricing__card {
  background: var(--color-surface-strong);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.school-card {
  padding: 20px 18px;
}

.school-card__title {
  font-size: 1.05rem;
  margin: 0 0 8px;
}

.school-card__text {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.school-formats,
.school-roles,
.school-pricing {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}

.school-formats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.school-roles {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.school-pricing {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.school-format,
.school-role {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.school-format__title,
.school-role__title {
  margin: 0;
  font-size: 1.25rem;
}

.school-format__duration,
.school-format__price {
  margin: 0;
  font-weight: 600;
  color: var(--color-accent-dark);
}

.school-format__label {
  margin: 8px 0 0;
  font-weight: 600;
  font-size: 0.92rem;
}

.school-format .landing-btn,
.school-role .landing-btn,
.school-product .landing-btn {
  margin-top: auto;
  align-self: flex-start;
}

.school-list,
.school-olist,
.school-checklist {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--color-text-muted);
}

.school-list li + li,
.school-olist li + li,
.school-checklist li + li {
  margin-top: 6px;
}

.school-checklist {
  max-width: 820px;
  margin: 28px auto 0;
  list-style: none;
  padding: 0;
}

.school-checklist li {
  position: relative;
  padding-left: 28px;
}

.school-checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent);
}

.school-catalog {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.school-product {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.school-product__media {
  aspect-ratio: 4 / 3;
  background: var(--color-bg-alt);
  overflow: hidden;
}

.school-product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.school-product__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-family: var(--font-heading);
  padding: 16px;
  text-align: center;
}

.school-product__body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.school-product__title {
  margin: 0;
  font-size: 1.15rem;
}

.school-product__meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.school-product__meta li {
  background: rgba(196, 123, 52, 0.1);
  color: var(--color-text);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.8rem;
}

.school-product__badge {
  background: rgba(44, 36, 22, 0.08) !important;
  font-weight: 600;
}

.school-product__note {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.school-section-cta {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.school-video {
  position: relative;
  max-width: 900px;
  margin: 24px auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
  min-height: 280px;
  background: var(--color-bg-alt);
}

.school-video__poster {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
  filter: brightness(0.72);
}

.school-video__poster--empty {
  min-height: 280px;
}

.school-video__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  color: #fff;
}

.school-video__label {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
}

.school-video__hint {
  margin: 8px 0 0;
  opacity: 0.9;
}

.school-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.school-split__col {
  background: var(--color-surface-strong);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}

.school-split__title {
  margin: 0 0 14px;
  font-size: 1.1rem;
}

.school-split__note {
  margin: 14px 0 0;
  font-weight: 600;
  color: var(--color-accent-dark);
}

.school-chat {
  max-width: 760px;
  margin: 28px auto 0;
}

.school-chat__text {
  margin: 0;
  padding: 24px;
  background: var(--color-surface-strong);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  color: var(--color-text);
  font-size: 1.02rem;
  line-height: 1.55;
}

.school-chat__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  justify-content: center;
}

.school-pricing__card {
  padding: 24px;
  text-align: center;
}

.school-pricing__card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.school-pricing__value {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-accent-dark);
}

.school-cases-gallery {
  margin-top: 28px;
}

.school-team {
  max-width: 720px;
  margin: 8px auto 0;
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.school-team p + p {
  margin-top: 14px;
}

.school-faq {
  max-width: 800px;
  margin: 28px auto 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.school-faq__item {
  background: var(--color-surface-strong);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.school-faq__q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 16px 18px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text);
  cursor: pointer;
}

.school-faq__a {
  margin: 0;
  padding: 0 18px 16px;
  color: var(--color-text-muted);
}

.school-lead-form {
  max-width: 640px;
  margin: 24px auto 0;
  padding: 36px 32px;
  background: var(--color-surface-strong);
  background-image: none;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}

.school-lead-form__form {
  gap: 16px;
}

.school-lead-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.school-lead-form__row--3 {
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
}

.school-lead-form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b5d4d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
  cursor: pointer;
}

.school-lead-form .lead-form__field {
  min-width: 0;
}

.school-lead-form .lead-form__consents {
  margin-top: 4px;
}

.school-lead-form .lead-form__submit {
  margin-top: 4px;
}

.school-lead-form__note {
  margin: 0;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.school-lead-form__product-note {
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: rgba(196, 123, 52, 0.1);
  border: 1px solid rgba(196, 123, 52, 0.18);
  color: var(--color-text);
  font-size: 0.92rem;
}

@media (max-width: 1024px) {
  .school-steps--4,
  .school-cards--5,
  .school-catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .school-steps--3,
  .school-roles {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .school-steps--4,
  .school-steps--3,
  .school-cards--5,
  .school-formats,
  .school-roles,
  .school-catalog,
  .school-pricing,
  .school-split,
  .school-lead-form__row,
  .school-lead-form__row--3,
  .school-compare__head,
  .school-compare__row {
    grid-template-columns: 1fr;
  }

  .school-lead-form {
    padding: 28px 20px;
  }

  .school-compare__usual {
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
  }

  .school-chat__actions {
    flex-direction: column;
  }

  .school-chat__actions .landing-btn {
    width: 100%;
    text-align: center;
  }
}
