:root {
  --bg: #f4f7fb;
  --text: #1f2533;
  --muted: #5d6a82;
  --white: #ffffff;
  --line: #e6ebf2;
  --primary: #2a5bd7;
  --primary-dark: #1e45a8;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.topbar {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.menu {
  display: flex;
  gap: 22px;
}

.menu a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

.menu a:hover { color: var(--primary); }

.hero {
  background: linear-gradient(180deg, #e9f0ff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}

.hero-wrap {
  padding: 72px 0 76px;
}

.tag {
  margin: 0 0 12px;
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 700;
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.15;
}

.subtitle {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn-primary {
  color: var(--white);
  background: var(--primary);
}

.btn-primary:hover { background: var(--primary-dark); }

.btn-secondary {
  color: var(--text);
  background: var(--white);
  border-color: var(--line);
}

.section {
  padding: 72px 0;
}

.section-muted {
  background: #eef3f9;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.2;
}

.cards,
.programs,
.reviews {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.card,
.program,
blockquote {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
}

h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 19px;
}

.program p {
  margin-bottom: 0;
}

.program-more {
  display: inline-block;
  margin-top: 14px;
  font-weight: 600;
  font-size: 14px;
  color: var(--primary);
  text-decoration: none;
}

.program-more:hover {
  text-decoration: underline;
}

blockquote p {
  margin-top: 0;
}

cite {
  color: var(--muted);
  font-style: normal;
  font-size: 14px;
}

.reviews-more {
  margin: 24px 0 0;
  text-align: center;
}

.reviews-more a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.reviews-more a:hover {
  text-decoration: underline;
}

.cta-wrap {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px 24px;
}

.contact-list {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.footer-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-wrap a {
  color: var(--muted);
  text-decoration: none;
}

@media (max-width: 800px) {
  .menu { display: none; }
  .section { padding: 54px 0; }
  .hero-wrap { padding: 58px 0 60px; }
  .subtitle { font-size: 16px; }
  .footer-wrap {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 16px 0;
  }
}
