:root {
  --bg: #050816;
  --bg-alt: #0b1020;
  --accent: #f5a623;
  --accent-soft: rgba(245, 166, 35, 0.12);
  --text: #f4f4f4;
  --text-muted: #aaaaaa;
  --card: #111827;
  --border: #1f2937;
  --max-width: 1100px;
  --radius-lg: 18px;
  --radius-full: 999px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.5);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #101936 0, #050816 45%, #02010a 100%);
  color: var(--text);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  border-radius: 12px;
  display: block;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HEADER */

header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(5, 8, 22, 0.96),
    rgba(5, 8, 22, 0.75),
    transparent
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 14px;
  background: conic-gradient(
    from 210deg,
    #f97316,
    #eab308,
    #22c55e,
    #06b6d4,
    #f97316
  );
  padding: 2px;
}

.logo-mark-inner {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}

.logo-text-main {
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 14px;
  text-transform: uppercase;
}

.logo-text-sub {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 14px;
}

.nav-links a {
  color: var(--text-muted);
  transition: 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.contact-mini {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-size: 11px;
  text-align: right;
}

.contact-mini-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

.contact-mini-value {
  font-weight: 500;
  font-size: 13px;
}

/* LAYOUT */

main {
  flex: 1;
}

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 30px 16px;
}

/* HERO */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.1fr);
  gap: 30px;
  padding-top: 26px;
  padding-bottom: 10px;
  align-items: center;
}

.hero-kicker {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 14px;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 22px;
  max-width: 540px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 5px 12px;
  background: radial-gradient(
    circle at top left,
    rgba(245, 166, 35, 0.18),
    rgba(15, 23, 42, 0.6)
  );
  backdrop-filter: blur(10px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-note {
  font-size: 11px;
  color: var(--text-muted);
  margin-left: 2px;
}

/* BUTTONS */

.btn {
  border-radius: var(--radius-full);
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  transition: 0.2s;
}

.btn-primary {
  background: radial-gradient(circle at 10% 0, #fbbf24, #f97316);
  border-color: rgba(15, 23, 42, 0.9);
  color: #020617;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.7);
}

.btn-ghost:hover {
  border-color: rgba(248, 250, 252, 0.8);
  background: rgba(15, 23, 42, 0.95);
}

/* HERO PHOTO */

.hero-photo-card {
  border-radius: 24px;
  background: radial-gradient(
    circle at top,
    #1e293b 0,
    #020617 55%,
    #02010a 100%
  );
  padding: 16px 16px 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.4);
  position: relative;
  overflow: hidden;
}

.hero-photo-inner {
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    rgba(248, 250, 252, 0.08),
    rgba(15, 23, 42, 0.9)
  );
  padding: 18px 18px 14px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
  align-items: center;
}

.hero-photo {
  background-image: url('../img/2ff1d283-79c8-44ef-b4bf-e59796dd8094.jpeg');
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* отключаем фейковую фигуру */
.hero-photo-placeholder-person {
  display: none !important;
}

/* убираем текст "ФОТО" */
.hero-photo::after {
  display: none !important;
}

.hero-photo-glow {
  position: absolute;
  inset: auto 10% -18%;
  height: 26%;
  background: radial-gradient(
    circle at 50% 0,
    rgba(15, 23, 42, 0.95),
    transparent 70%
  );
  opacity: 0.9;
}

.hero-metrics {
  font-size: 11px;
  color: var(--text-muted);
  display: grid;
  gap: 8px;
}

.metric-item {
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.metric-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  color: var(--accent);
  margin-bottom: 2px;
}

.metric-value {
  font-size: 12px;
}

/* SECTION TITLES */

.section-title {
  font-size: 22px;
  margin-bottom: 16px;
}

.section-title--tight {
  margin-bottom: 8px;
}

.section-sub {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 20px;
}

.section-sub--tight {
  margin-bottom: 10px;
}

.section-list {
  margin-bottom: 8px;
}

/* PROGRAMS */

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: radial-gradient(
    circle at top,
    rgba(148, 163, 184, 0.06),
    #020617 65%
  );
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}

.card-list {
  font-size: 13px;
  color: var(--text-muted);
  padding-left: 18px;
}

.card-list li {
  margin-bottom: 4px;
}

.card-footer {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
}

.link-soft {
  font-size: 12px;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
  color: var(--accent);
  cursor: pointer;
}

/* CALLOUT */

.callout {
  margin-top: 26px;
  padding: 18px 16px;
  border-radius: var(--radius-lg);
  background: linear-gradient(
    120deg,
    rgba(245, 158, 11, 0.1),
    rgba(59, 130, 246, 0.06)
  );
  border: 1px solid rgba(248, 250, 252, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.callout strong {
  color: var(--accent);
  font-weight: 600;
}

.callout-text {
  flex: 1;
  min-width: 220px;
}

/* SPLIT LAYOUT */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 20px;
  align-items: flex-start;
}

.split--spaced {
  margin-bottom: 24px;
}

.badge {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 8px;
}

/* SCHEDULE */

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.schedule-item {
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 12px 12px 10px;
  background: rgba(15, 23, 42, 0.9);
  font-size: 12px;
}

.schedule-date {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 4px;
}

.schedule-title {
  font-weight: 500;
  margin-bottom: 2px;
}

.schedule-city {
  color: var(--text-muted);
}

/* CLIENT LOGOS */

.logos-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.logo-tile {
  height: 40px;
  border-radius: 12px;
  background: radial-gradient(
    circle at top,
    rgba(148, 163, 184, 0.2),
    rgba(15, 23, 42, 0.9)
  );
  border: 1px solid rgba(148, 163, 184, 0.45);
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-muted);
  padding: 4px;
}

/* BOOKS */

.books-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.book-card {
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 10px;
  background: rgba(15, 23, 42, 0.9);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
}

.book-cover {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 9px;
  background: linear-gradient(145deg, #fbbf24, #f97316, #1e293b);
}

.book-title {
  font-weight: 500;
}

.book-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.pill-link {
  font-size: 11px;
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px dashed rgba(148, 163, 184, 0.8);
  color: var(--text-muted);
}

/* ARTICLES */

.articles-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  font-size: 13px;
}

.article-item {
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 12px 12px 10px;
  background: rgba(15, 23, 42, 0.92);
}

.article-title {
  font-weight: 500;
  margin-bottom: 4px;
}

.article-meta {
  font-size: 11px;
  color: var(--text-muted);
}

/* NEWSLETTER & CONTACT */

.newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 18px;
  padding: 18px 16px 16px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(
    circle at top left,
    rgba(245, 158, 11, 0.2),
    rgba(15, 23, 42, 0.95)
  );
  margin-top: 20px;
  align-items: center;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.field-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.input {
  flex: 1;
  min-width: 160px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.9);
  padding: 9px 14px;
  font-size: 13px;
  background: rgba(15, 23, 42, 0.9);
  color: var(--text);
  outline: none;
}

.input::placeholder {
  color: rgba(148, 163, 184, 0.9);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11px;
  color: var(--text-muted);
}

.checkbox-row input {
  margin-top: 2px;
}

.contact-block {
  font-size: 13px;
  border-radius: 16px;
  padding: 12px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px dashed rgba(248, 250, 252, 0.5);
}

.contact-item {
  margin-bottom: 6px;
}

.contact-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.contact-value {
  font-size: 13px;
  font-weight: 500;
  margin-top: 1px;
}

/* FOOTER */

footer {
  border-top: 1px solid rgba(15, 23, 42, 1);
  margin-top: 20px;
  padding: 16px;
  font-size: 11px;
  color: var(--text-muted);
  background: #020617;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a {
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .newsletter {
    grid-template-columns: minmax(0, 1fr);
  }

  .split {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

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

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

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 10px;
  }

  .section {
    padding: 22px 14px;
  }

  .programs-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .schedule-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

  .articles-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

.book-cover-img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 9px;
  display: block;
}

