:root {
  --color-bg: #f9f7f2;
  --color-bg-alt: #fdf9f3;
  --color-forest: #28533d;
  --color-forest-hover: #1f4030;
  --color-text: #1e2d26;
  --color-text-muted: #4a5c54;
  --color-border: rgba(40, 83, 61, 0.12);
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Montserrat", system-ui, sans-serif;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 12px 40px rgba(40, 83, 61, 0.08);
  --max: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-forest);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--color-forest-hover);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.75rem 1rem;
  background: var(--color-forest);
  color: #fff;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(249, 247, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}

.brand:hover {
  color: inherit;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.brand-name-dot {
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.brand-tagline {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: lowercase;
  color: var(--color-text-muted);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.25rem;
}

.nav a {
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--color-text-muted);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn:focus-visible {
  outline: 2px solid var(--color-forest);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--color-forest);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-forest-hover);
  color: #fff;
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
}

main {
  overflow-x: hidden;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section-alt {
  background: var(--color-bg-alt);
}

.hero {
  padding-top: 3rem;
  padding-bottom: 4.5rem;
  text-align: center;
}

.hero-inner {
  max-width: 38rem;
  margin: 0 auto;
}

.hero-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
}

h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: var(--color-forest);
}

.lead {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin: 0 0 2rem;
}

h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 3.5vw, 2rem);
  font-weight: 500;
  color: var(--color-forest);
  margin: 0 0 1.25rem;
}

h3 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--color-text);
}

.section p {
  margin: 0 0 1rem;
  color: var(--color-text-muted);
}

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

.section-intro {
  margin: -0.5rem 0 1.5rem;
  font-size: 1.05rem;
  color: var(--color-text-muted);
}

.subsection-title {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.75rem 0 0.75rem;
  color: var(--color-text);
}

.steps-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--color-text-muted);
}

.steps-list li {
  margin-bottom: 0.75rem;
  padding-left: 0.35rem;
}

.steps-list li:last-child {
  margin-bottom: 0;
}

.disclaimer {
  font-size: 0.875rem;
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: rgba(40, 83, 61, 0.06);
  border-radius: var(--radius);
  border-left: 3px solid var(--color-forest);
}

.track-groups {
  display: grid;
  gap: 1.25rem 2rem;
}

@media (min-width: 640px) {
  .track-groups {
    grid-template-columns: repeat(2, 1fr);
  }
}

.track-group {
  padding: 1.25rem 1.35rem;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}

.track-group h3 {
  margin-bottom: 0.5rem;
  color: var(--color-forest);
  font-size: 1rem;
}

.track-group p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.grid-2 {
  display: grid;
  gap: 2rem;
}

@media (min-width: 720px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}

.features {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 600px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: 1.5rem 1.35rem;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}

.feature-card p {
  margin: 0;
  font-size: 0.95rem;
}

.team-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.team-card {
  padding: 1.75rem;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}

.team-photo {
  display: block;
  width: 140px;
  height: 140px;
  max-width: 100%;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center center;
  border: 2px solid var(--color-border);
  box-shadow: 0 4px 14px rgba(40, 83, 61, 0.08);
}

/* чуть выше по кадру, чтобы лицо лучше садилось в круг */
.team-photo--arina {
  object-position: center 32%;
}

.team-photo--nikolay {
  object-position: center 44%;
}

.team-card-body {
  padding: 0;
}

.team-card-body p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.team-card-body p:last-of-type {
  margin-bottom: 0;
}

.team-role {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-forest);
  margin-bottom: 0.75rem;
}

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: var(--color-bg-alt);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.footer-inner p {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .nav {
    justify-content: center;
  }

  .header-inner .btn {
    width: 100%;
    text-align: center;
  }
}
