/* home.css — уникальные стили главной страницы (hero, статистика, о центре,
   курсы, команда, лагерь-баннер, документы, карта, цены, лицензия) */

/* hero */
.hero {
  padding: 50px 0 0;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 46px;
  align-items: center;
}
.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 18px 0 16px;
  color: var(--navy);
}
.hero h1 span {
  color: var(--blue);
}
.hero-actions {
  margin: 26px 0 6px;
}
.hero-photos {
  position: relative;
  min-height: 460px;
}
.photo-a {
  position: absolute;
  top: 0;
  right: 0;
  width: 78%;
  height: 320px;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: rotate(-1.4deg);
  object-fit: cover;
  object-position: center;
}
.photo-b {
  position: absolute;
  left: 0;
  bottom: 70px;
  width: 50%;
  height: 210px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: rotate(2.4deg);
  border: 6px solid #fff;
  object-fit: cover;
  object-position: center;
}
.photo-c {
  position: absolute;
  right: 8%;
  bottom: 0;
  width: 36%;
  height: 160px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: rotate(-3.2deg);
  border: 6px solid #fff;
  object-fit: cover;
  object-position: center;
}
.float-badge {
  position: absolute;
  left: 1%;
  top: 14%;
  background: #fff;
  border: 1px solid rgba(7, 29, 73, 0.08);
  border-radius: 20px;
  padding: 12px 16px;
  box-shadow: var(--shadow);
  font-weight: 900;
  font-size: 13px;
  color: var(--navy);
  z-index: 2;
}

/* stats ribbon */
.stats-ribbon {
  margin-top: 56px;
  padding: 20px 0;
}
.stats-ribbon .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}
.stat-item {
  flex: 1;
  min-width: 130px;
  text-align: center;
  color: var(--navy);
  position: relative;
}
.stat-item:after {
  content: "";
  position: absolute;
  right: -9px;
  top: 12%;
  height: 76%;
  width: 1px;
  background: var(--line);
}
.stat-item:last-child:after {
  display: none;
}
.stat-item b {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: clamp(26px, 3vw, 38px);
  color: var(--blue);
}
.stat-item span {
  color: var(--muted);
  font-weight: 800;
  font-size: 12.5px;
}

/* founder quote / about */
.quote-block {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 36px;
  padding: 36px;
  box-shadow: var(--soft);
}
.quote-avatar {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--blue)) center/cover;
  box-shadow: var(--shadow);
  margin: auto;
  flex: none;
}
.quote-block blockquote {
  font-family: "Playfair Display", serif;
  font-size: clamp(20px, 2.4vw, 27px);
  color: var(--navy);
  line-height: 1.35;
  margin: 0 0 16px;
  font-style: italic;
}
.quote-block cite {
  font-style: normal;
  font-weight: 900;
  color: var(--navy);
  display: block;
  font-size: 16px;
}
.quote-block .role {
  color: var(--muted);
  font-weight: 700;
  font-size: 13.5px;
  margin-top: 2px;
}
.quote-block .bio {
  color: #425276;
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.6;
  margin: 14px 0 0;
}

/* how to start (process/step — home's own visual treatment) */
.process {
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.step {
  flex: 1;
  position: relative;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 28px 18px;
  box-shadow: var(--soft);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.step-tag {
  display: block;
  color: var(--blue);
  font-weight: 900;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.step .num {
  font-size: 38px;
  margin: 0 auto 14px;
  line-height: 1;
}
.step h3 {
  font-size: 16.5px;
  margin: 0 0 6px;
  color: var(--navy);
}
.step p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.45;
}
.step-arrow {
  flex: none;
  align-self: center;
  color: var(--blue);
  font-size: 26px;
  font-weight: 900;
}
.process-cta {
  margin-top: 34px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.process-cta p {
  color: var(--muted);
  font-weight: 700;
  margin: 0;
  max-width: 420px;
  line-height: 1.5;
}

/* courses */
.course-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.cf-tab {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 900;
  font-size: 13.5px;
  color: var(--navy);
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}
.cf-tab:hover {
  background: var(--sky);
}
.cf-tab.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.course-card.hidden {
  display: none;
}
.popular-label {
  margin: 0 0 16px;
  font-weight: 900;
  color: var(--navy);
  font-size: 15px;
}
.popular-label.sub {
  margin-top: 34px;
  color: var(--muted);
  font-size: 13.5px;
}
.popular-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 8px;
}
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.course-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 24px;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  box-shadow: var(--soft);
  position: relative;
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.course-card.popular {
  border-color: var(--gold);
  box-shadow:
    0 0 0 3px rgba(247, 201, 92, 0.2),
    var(--soft);
}
.course-card .ico {
  font-size: 28px;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--sky);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.course-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  color: var(--navy);
  margin: 0 0 8px;
}
.course-card p {
  color: var(--muted);
  font-weight: 700;
  font-size: 13.5px;
  line-height: 1.45;
  margin: 0 0 14px;
}
.course-card .age-tag {
  display: inline-block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 900;
  color: var(--navy);
}
.course-card .cf-hint {
  display: block;
  margin-top: 10px;
  color: var(--blue);
  font-weight: 900;
  font-size: 12px;
}

/* team strip */
.team-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 200px;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.team-strip::-webkit-scrollbar {
  display: none;
}
.t-card {
  scroll-snap-align: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 20px;
  text-align: center;
  box-shadow: var(--soft);
}
.t-card .ph {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  margin-bottom: 12px;
}
.t-card .ph.avatar {
  display: grid;
  place-items: center;
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: 26px;
  font-weight: 700;
}
.t-card b {
  display: block;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.3;
}
.t-card span {
  color: var(--muted);
  font-weight: 700;
  font-size: 12.5px;
}

/* camp banner */
.camp-banner {
  position: relative;
  border-radius: 44px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 300px;
  display: flex;
  align-items: center;
}
.camp-banner:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(7, 29, 73, 0.9), rgba(7, 29, 73, 0.4)),
    url("/assets/img/lager-camp-banner.jpg") center/cover no-repeat;
}
.camp-banner-inner {
  position: relative;
  z-index: 1;
  padding: 44px;
  max-width: 540px;
  color: #fff;
}
.camp-banner-inner .eyebrow {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}
.camp-banner-inner h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 3.4vw, 42px);
  margin: 14px 0;
  color: #fff;
}
.camp-banner-inner p {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  line-height: 1.55;
  margin: 0 0 22px;
}

/* documents */
.docs-block {
  background: linear-gradient(135deg, var(--navy), #0d3f9f);
  border-radius: 40px;
  padding: 36px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 28px;
  align-items: flex-start;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.docs-block:before {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(247, 201, 92, 0.15);
}
.docs-icon {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  font-size: 32px;
  flex: none;
  position: relative;
}
.docs-text {
  position: relative;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 700;
  line-height: 1.55;
  max-width: 640px;
}
.docs-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  position: relative;
  flex: 1;
}
.docs-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 14px 18px;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  transition: background 0.2s ease;
}
.docs-item:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* map */
.map-block {
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.map-block iframe {
  display: block;
  width: 100%;
}

/* pricing */
.price-table {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 34px;
  box-shadow: var(--shadow);
  padding: 10px 28px;
}
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px dashed var(--line);
}
.price-row:last-child {
  border-bottom: 0;
}
.price-row-name {
  font-weight: 800;
  color: var(--navy);
  font-size: 15px;
}
.price-row-cost {
  font-weight: 900;
  color: var(--blue);
  font-size: 16px;
  white-space: nowrap;
  text-align: right;
}
/* license / affordability banner — big standout call-out */
.license-banner {
  background: linear-gradient(135deg, #fff, var(--gold2) 130%);
  border: 1px solid var(--line);
  border-radius: 44px;
  padding: 40px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.license-banner:before {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(247, 201, 92, 0.35);
}
.license-banner-head {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 30px;
  position: relative;
}
.license-banner-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--soft);
  display: grid;
  place-items: center;
  font-size: 32px;
  flex: none;
}
.license-banner-head h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(24px, 2.8vw, 34px);
  margin: 0 0 8px;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.license-banner-head p {
  color: #5b4a1f;
  font-weight: 700;
  line-height: 1.55;
  margin: 0;
  max-width: 560px;
}
.license-banner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  position: relative;
}
.license-point {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(7, 29, 73, 0.1);
  border-radius: 24px;
  padding: 20px;
  box-shadow: var(--soft);
}
.license-point-ico {
  display: block;
  font-size: 26px;
  margin-bottom: 10px;
}
.license-point b {
  display: block;
  color: var(--navy);
  font-size: 16px;
  margin-bottom: 6px;
}
.license-point span {
  color: var(--muted);
  font-weight: 700;
  font-size: 13.5px;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .hero-grid,
  .quote-block {
    grid-template-columns: 1fr;
  }
  .hero-photos {
    min-height: 380px;
  }
  .quote-avatar {
    margin-bottom: 10px;
  }
  .process {
    flex-wrap: wrap;
  }
  .step {
    min-width: calc(50% - 20px);
  }
  .step-arrow {
    display: none;
  }
  .course-grid,
  .popular-grid {
    grid-template-columns: 1fr 1fr;
  }
  .license-banner-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 680px) {
  .license-banner {
    padding: 26px;
  }
  .license-banner-head {
    flex-direction: column;
    gap: 14px;
  }
  .license-banner-grid {
    grid-template-columns: 1fr;
  }
  .course-grid,
  .popular-grid {
    grid-template-columns: 1fr;
  }
  .step {
    min-width: 100%;
  }
  .hero h1 {
    font-size: 34px;
  }
  .camp-banner-inner {
    padding: 28px;
  }
  .price-table {
    padding: 8px 18px;
  }
  .price-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .stat-item {
    min-width: 44%;
  }
  .docs-block {
    flex-direction: column;
  }
  .docs-list {
    grid-template-columns: 1fr;
  }
}
