/* Стили лендинга Светлое настоящее */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Georgia', serif;
  font-size: 17px;
  line-height: 1.7;
  color: #1a1a1a;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.center {
  text-align: center;
}

/* Hero */

#hero {
  background:
    radial-gradient(ellipse 75% 60% at 50% 45%, rgba(70, 45, 160, 0.45) 0%, transparent 65%),
    linear-gradient(170deg, #04040d 0%, #0a0a1e 50%, #061522 100%);
  color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 130px 24px 120px;
}

.hero-inner {
  max-width: 720px;
}

#hero h1 {
  font-size: 3.8rem;
  line-height: 1.45;
  margin-bottom: 32px;
  font-weight: normal;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: 1.2rem;
  color: #8fa3c0;
  margin-bottom: 52px;
  line-height: 1.9;
}

/* About */

#about {
  padding: 80px 24px;
  background: #fff;
}

#about h2 {
  font-size: 1.7rem;
  font-weight: normal;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

#about > .container > p {
  color: #444;
  margin-bottom: 48px;
  max-width: 600px;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.pillar {
  padding: 24px;
  border-left: 3px solid #1a1a2e;
}

.pillar h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  font-weight: bold;
}

.pillar p {
  font-size: 0.95rem;
  color: #555;
}

/* For Whom */

#for-whom {
  padding: 80px 24px;
  background: #f5f5f0;
}

#for-whom h2 {
  font-size: 1.7rem;
  font-weight: normal;
  margin-bottom: 16px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.for-whom-sub {
  color: #555;
  margin-bottom: 48px;
  max-width: 600px;
}

.whom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.whom-card {
  background: #fff;
  border: 1px solid #e0e0d8;
  border-radius: 4px;
  padding: 28px;
  transition: border-color 0.2s;
}

.whom-card:hover {
  border-color: #C8864A;
}

.whom-icon {
  font-size: 2.4rem;
  color: #C8864A;
  margin-bottom: 16px;
  line-height: 1;
  text-align: center;
}

.whom-card h3 {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.4;
}

.whom-card p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.65;
}

/* Programs */

#programs {
  padding: 80px 24px;
  background: #f5f5f0;
}

#programs h2 {
  font-size: 1.7rem;
  font-weight: normal;
  margin-bottom: 32px;
}

.program-card {
  background: #fff;
  padding: 40px;
  border-radius: 4px;
  max-width: 600px;
}

.program-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
  margin-bottom: 12px;
}

.program-card h3 {
  font-size: 1.5rem;
  font-weight: normal;
  margin-bottom: 12px;
}

.program-card p {
  color: #555;
  margin-bottom: 20px;
}

.program-card ul {
  padding-left: 20px;
  color: #333;
  margin-bottom: 28px;
}

.program-card ul li {
  margin-bottom: 8px;
}

/* Programs — week cards */

.programs-sub {
  color: #555;
  margin-bottom: 40px;
}

.weeks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.week-card {
  background: #fff;
  border: 1px solid #e0e0d8;
  border-radius: 4px;
  padding: 28px;
}

.week-card--final {
  background: #1a1a2e;
  color: #fff;
  border-color: #1a1a2e;
}

.week-card--final p {
  color: #b0b8d0;
}

.week-card--final .week-sessions span {
  border-color: #333a55;
  color: #b0b8d0;
}

.week-num {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #888;
  margin-bottom: 10px;
}

.week-card--final .week-num {
  color: #6070a0;
}

.week-card h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
  font-weight: bold;
  line-height: 1.4;
}

.week-card p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.65;
  margin-bottom: 20px;
}

.week-sessions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.week-sessions span {
  font-size: 0.8rem;
  color: #777;
  padding: 5px 10px;
  border: 1px solid #e8e8e0;
  border-radius: 2px;
}

.programs-cta {
  text-align: center;
  margin-top: 8px;
}

/* Team */

#team {
  padding: 80px 24px;
  background: #fff;
}

#team h2 {
  font-size: 1.7rem;
  font-weight: normal;
  margin-bottom: 12px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.team-sub {
  color: #555;
  margin-bottom: 48px;
  max-width: 600px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.team-card {
  border: 1px solid #e0e0d8;
  border-radius: 4px;
  overflow: hidden;
}

.team-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #1a1a2e;
  overflow: hidden;
}

.team-photo svg {
  width: 100%;
  height: 100%;
  display: block;
}

.team-info {
  padding: 24px;
}

.team-info h3 {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 6px;
}

.team-role {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
  margin-bottom: 14px;
}

.team-bio {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.65;
}

/* Register */

#register {
  padding: 80px 24px;
  background: #1a1a2e;
  color: #fff;
}

#register h2 {
  font-size: 1.7rem;
  font-weight: normal;
  margin-bottom: 16px;
}

#register p {
  color: #b0b8d0;
  margin-bottom: 36px;
}

.reg-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 400px;
  margin: 0 auto;
}

.reg-form input {
  padding: 14px 16px;
  font-size: 1rem;
  border: 1px solid #444;
  background: #252540;
  color: #fff;
  border-radius: 3px;
  font-family: inherit;
}

.reg-form input::placeholder {
  color: #888;
}

.stream-date {
  display: inline-block;
  background: rgba(200, 134, 74, 0.15);
  border: 1px solid #C8864A;
  color: #f0c898;
  border-radius: 4px;
  padding: 12px 20px;
  margin-bottom: 28px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.reg-success {
  max-width: 400px;
  margin: 0 auto;
  padding: 24px;
  background: rgba(80, 180, 120, 0.12);
  border: 1px solid #50b478;
  border-radius: 4px;
  color: #90dab0;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Кнопки */

.btn {
  display: inline-block;
  padding: 16px 36px;
  background: #C8864A;
  color: #fff;
  text-decoration: none;
  font-family: inherit;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  border-radius: 3px;
  transition: opacity 0.2s;
  letter-spacing: 0.01em;
}

.btn:hover {
  opacity: 0.85;
}

.btn-dark {
  background: #1a1a2e;
  color: #fff;
}

/* Header */

#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 60px;
  background: rgba(26, 26, 46, 0.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  color: #fff;
  text-decoration: none;
  font-family: 'Georgia', serif;
  font-size: 1rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: #b0b8d0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #fff;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #b0b8d0;
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.25s;
}

.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Плавная прокрутка */

html {
  scroll-behavior: smooth;
}

/* Отступ под шапку для якорей */

section {
  scroll-margin-top: 60px;
}

/* Адаптив */

@media (max-width: 600px) {
  #hero h1 {
    font-size: 2.3rem;
    line-height: 1.5;
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  .whom-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .burger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.98);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 14px 24px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }
}
