/* ==========================================================================
   Geron — школа программирования, Павлодар
   Дизайн-система и стили сайта
   ========================================================================== */

:root {
  --bg: #f5f7f2;
  --surface: #ffffff;
  --ink: #0e1712;
  --ink-soft: #26332c;
  --muted: #5c6a62;
  --line: #e2e7dd;
  --green: #12a05c;
  --green-dark: #0b7b46;
  --green-soft: #e6f5ec;
  --coral: #ff6a55;
  --coral-dark: #d94a36;
  --coral-soft: #ffedea;
  --blue: #3d6bff;
  --blue-dark: #234dd6;
  --blue-soft: #ebf0ff;
  --yellow: #f5b32b;
  --yellow-dark: #946200;
  --yellow-soft: #fff4dc;
  --purple: #8a5cf6;
  --purple-dark: #6a3fd6;
  --purple-soft: #f1ecff;

  --radius: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;

  --shadow-sm: 0 1px 2px rgba(16, 23, 18, 0.04), 0 10px 30px rgba(16, 23, 18, 0.05);
  --shadow-md: 0 30px 60px -30px rgba(16, 23, 18, 0.28);

  --container: 1200px;
  --header-h: 78px;

  --font-head: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ------------------------------ Reset ---------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

body:has(dialog[open]) {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0;
  overflow-wrap: break-word;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--green);
  color: #fff;
}

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus-visible {
  transform: none;
}

/* ----------------------------- Layout ---------------------------------- */

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section--tight {
  padding: 64px 0;
}

.section--soft {
  background: #eef2e9;
}

.section--white {
  background: var(--surface);
}

.section--ink {
  background: var(--ink);
  color: #eaf0eb;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 44px;
}

.section-head__text {
  max-width: 640px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  margin-bottom: 16px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 560px;
}

.section--ink .section-head p {
  color: #a9b8ae;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex: none;
}

.section--ink .eyebrow {
  color: #94a79b;
}

.lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 56ch;
}

/* ----------------------------- Buttons --------------------------------- */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-border: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border: 1px solid var(--btn-border);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  text-align: center;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--green);
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(18, 160, 92, 0.7);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  --btn-bg: var(--green);
}

.btn--primary:hover {
  background: var(--green-dark);
  box-shadow: 0 12px 26px -12px rgba(11, 123, 70, 0.8);
}

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-border: #cfd7ca;
}

.btn--outline:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  box-shadow: none;
}

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--ink);
}

.btn--light:hover {
  background: var(--green-soft);
  color: var(--ink);
  box-shadow: none;
}

.btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-border: rgba(255, 255, 255, 0.3);
}

.btn--ghost-light:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
  box-shadow: none;
}

.btn--lg {
  padding: 18px 32px;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

.btn .arrow {
  font-family: var(--font-body);
  font-weight: 500;
  transition: transform 0.2s ease;
}

.btn:hover .arrow {
  transform: translate(2px, -2px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--green-dark);
  border-bottom: 1px solid rgba(18, 160, 92, 0.35);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.text-link:hover {
  color: var(--green);
  border-color: var(--green);
}

/* ------------------------------ Header --------------------------------- */

.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(245, 247, 242, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(16, 23, 18, 0.4);
}

.header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
  margin-right: auto;
}

.brand img {
  width: 46px;
  height: auto;
}

.brand__name {
  display: flex;
  flex-direction: column;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.32rem;
  line-height: 1;
  letter-spacing: -0.02em;
}

.brand__caption {
  font-family: var(--font-body);
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin-top: 5px;
  text-transform: lowercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav a {
  position: relative;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

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

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

.nav__cta {
  display: none;
}

.lang {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  flex: none;
}

.lang button {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 5px 9px;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: background 0.2s ease, color 0.2s ease;
}

.lang button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}

.header__cta {
  padding: 12px 20px;
  font-size: 0.88rem;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  padding: 0;
  position: relative;
  flex: none;
}

.burger span {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.burger span:nth-child(1) {
  top: 16px;
}

.burger span:nth-child(2) {
  top: 21px;
}

.burger span:nth-child(3) {
  top: 26px;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateX(-50%) translateY(5px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateX(-50%) translateY(-5px) rotate(-45deg);
}

/* ------------------------------- Hero ---------------------------------- */

.hero {
  position: relative;
  padding: 64px 0 88px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -240px;
  right: -180px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(18, 160, 92, 0.18), rgba(18, 160, 92, 0) 68%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.1vw, 4.1rem);
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}

.hero h1 .hero__line {
  display: block;
}

.hero h1 .accent {
  position: relative;
  display: inline;
  background: linear-gradient(transparent 68%, rgba(18, 160, 92, 0.28) 68%);
}

.hero .lead {
  font-size: 1.14rem;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 44px;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
}

.stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.stat span {
  font-size: 0.82rem;
  color: var(--muted);
}

.hero__visual {
  position: relative;
  isolation: isolate;
}

.hero__visual::before {
  content: "";
  position: absolute;
  inset: 22px -18px -22px 26px;
  border-radius: 38px;
  background: linear-gradient(140deg, var(--green), #7ed6a9);
  z-index: -1;
  opacity: 0.9;
}

.hero__figure {
  margin: 0;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #dfe7da;
}

.hero__figure img {
  width: 100%;
  aspect-ratio: 4 / 3.25;
  object-fit: cover;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  padding: 12px 16px;
  box-shadow: 0 18px 40px -22px rgba(16, 23, 18, 0.45);
  backdrop-filter: blur(6px);
}

.float-card__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.8rem;
  flex: none;
}

.float-card strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.86rem;
  line-height: 1.25;
}

.float-card span {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.35;
}

.float-card--top {
  top: 20px;
  left: -22px;
}

.float-card--bottom {
  right: -14px;
  bottom: 22px;
}

/* ----------------------------- Audience -------------------------------- */

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.aud-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.aud-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #cdd8c6;
}

.age {
  align-self: flex-start;
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
}

.age--coral {
  background: var(--coral-soft);
  color: var(--coral-dark);
}

.age--blue {
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.aud-card h3 {
  font-size: 1.4rem;
}

.aud-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.aud-card__link {
  margin-top: auto;
  padding-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}

.aud-card:hover .aud-card__link {
  color: var(--green-dark);
}

.note {
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--muted);
}

.note a {
  color: var(--green-dark);
  border-bottom: 1px solid rgba(18, 160, 92, 0.4);
}

/* ------------------------------ Courses -------------------------------- */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.course-card {
  --accent: var(--green);
  --accent-soft: var(--green-soft);
  --accent-dark: var(--green-dark);
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: #cdd8c6;
}

.course-card--coral {
  --accent: var(--coral);
  --accent-soft: var(--coral-soft);
  --accent-dark: var(--coral-dark);
}

.course-card--blue {
  --accent: var(--blue);
  --accent-soft: var(--blue-soft);
  --accent-dark: var(--blue-dark);
}

.course-card--yellow {
  --accent: var(--yellow);
  --accent-soft: var(--yellow-soft);
  --accent-dark: var(--yellow-dark);
}

.course-card--purple {
  --accent: var(--purple);
  --accent-soft: var(--purple-soft);
  --accent-dark: var(--purple-dark);
}

.course-card__media {
  position: relative;
  background: #e8ede4;
}

.course-card__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.course-card:hover .course-card__media img {
  transform: scale(1.04);
}

.course-card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-family: var(--font-head);
  font-size: 0.73rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--accent-dark);
  box-shadow: 0 4px 14px rgba(16, 23, 18, 0.12);
}

.course-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 24px 24px;
  flex: 1;
}

.course-card__body h3 {
  font-size: 1.24rem;
  letter-spacing: -0.02em;
}

.course-card__body p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-weight: 500;
  margin-top: 2px;
}

.course-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.course-card__meta span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.course-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.course-card__price {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--accent-dark);
}

.course-card__open {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  padding: 4px 0;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
}

.course-card:hover .course-card__open {
  color: var(--accent-dark);
}

.course-card__open .arrow {
  transition: transform 0.2s ease;
}

.course-card__open:hover .arrow {
  transform: translate(2px, -2px);
}

/* ------------------------------ Features ------------------------------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.feature {
  display: flex;
  gap: 18px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.feature__num {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--green-dark);
  background: var(--green-soft);
  border-radius: 10px;
  padding: 7px 9px;
  line-height: 1;
  height: fit-content;
}

.feature h3 {
  font-size: 1.1rem;
  margin-bottom: 7px;
}

.feature p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
}

.hub-strip {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
  padding: 20px 26px;
  border-radius: var(--radius-md);
  background: var(--ink);
  color: #fff;
}

.hub-strip__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  flex: none;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.78rem;
}

.hub-strip strong {
  font-family: var(--font-head);
  display: block;
  font-size: 0.98rem;
}

.hub-strip span {
  font-size: 0.86rem;
  color: #a9b8ae;
}

.hub-strip a {
  margin-left: auto;
  color: #7fe0af;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

/* ------------------------------ Gallery -------------------------------- */

.gallery {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 16px;
}

.gallery__item {
  position: relative;
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #dfe7da;
  min-height: 300px;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery__item:hover img {
  transform: scale(1.045);
}

.gallery__item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 40px 20px 18px;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 500;
  background: linear-gradient(transparent, rgba(9, 16, 12, 0.72));
}

/* ------------------------------- Steps --------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.step__num {
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.35);
  line-height: 1;
  margin-bottom: 18px;
}

.step h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: #fff;
}

.step p {
  font-size: 0.92rem;
  color: #a9b8ae;
}

/* ------------------------------ Reviews -------------------------------- */

.rating-panel {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  padding: 24px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}

.rating-panel__score {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.rating-panel__score strong {
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.stars {
  display: inline-flex;
  gap: 3px;
  color: var(--yellow);
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.rating-panel__meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.88rem;
  color: var(--muted);
}

.rating-panel__meta strong {
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 0.96rem;
}

.rating-panel .text-link {
  margin-left: auto;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.review {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.review__quote {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.review__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 6px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-dark);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.82rem;
  flex: none;
}

.review__author strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.9rem;
  line-height: 1.3;
}

.review__author span {
  font-size: 0.76rem;
  color: var(--muted);
}

/* -------------------------------- CTA ---------------------------------- */

.cta-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  padding: 54px;
  border-radius: 34px;
  background: linear-gradient(135deg, #0e1712 0%, #173c2b 100%);
  color: #fff;
}

.cta-panel::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 160, 92, 0.55), transparent 70%);
  pointer-events: none;
}

.cta-panel h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  margin-bottom: 14px;
}

.cta-panel .eyebrow {
  color: #a9b8ae;
}

.cta-panel p {
  color: #a9b8ae;
  max-width: 48ch;
}

.cta-panel__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.cta-panel__actions .btn {
  justify-content: center;
}

.cta-panel__phone {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: #cfe0d5;
  font-size: 0.9rem;
}

.cta-panel__phone:hover {
  color: #fff;
}

/* ----------------------------- Page hero ------------------------------- */

.page-hero {
  padding: 56px 0 48px;
  position: relative;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 260px at 85% 0%, rgba(18, 160, 92, 0.12), transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.7rem);
  letter-spacing: -0.035em;
  max-width: 18ch;
  margin-bottom: 18px;
}

.page-hero p {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 62ch;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 22px;
}

.breadcrumbs a:hover {
  color: var(--ink);
}

.breadcrumbs span {
  opacity: 0.55;
}

/* -------------------------------- Tabs --------------------------------- */

.programs-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.tabs {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.tab {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 11px 22px;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
  transition: background 0.2s ease, color 0.2s ease;
}

.tab:hover {
  color: var(--ink);
}

.tab[aria-selected="true"] {
  background: var(--ink);
  color: #fff;
}

.programs-count {
  font-size: 0.86rem;
  color: var(--muted);
}

.empty-state {
  padding: 40px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  text-align: center;
  color: var(--muted);
}

/* ------------------------- Includes / benefits ------------------------- */

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

.benefit {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.benefit__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--green-soft);
  color: var(--green-dark);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.benefit h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.benefit p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ------------------------------- About --------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split__figure {
  margin: 0;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #dfe7da;
}

.split__figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.split h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  margin-bottom: 18px;
}

.split p {
  color: var(--muted);
  margin-bottom: 14px;
}

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

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

.big-number {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.big-number strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--green-dark);
  margin-bottom: 6px;
}

.big-number span {
  font-size: 0.86rem;
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.timeline__item {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 24px;
  padding: 22px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  align-items: start;
}

.timeline__item strong {
  font-family: var(--font-head);
  font-size: 0.92rem;
  color: var(--green-dark);
}

.timeline__item h3 {
  font-size: 1.06rem;
  margin-bottom: 5px;
}

.timeline__item p {
  font-size: 0.92rem;
  color: var(--muted);
}

.timeline__item--accent {
  background: var(--ink);
  border-color: var(--ink);
}

.timeline__item--accent strong {
  color: #7fe0af;
}

.timeline__item--accent h3 {
  color: #fff;
}

.timeline__item--accent p {
  color: #c4d3c9;
}

/* --------------------------------- FAQ --------------------------------- */

.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: calc(var(--header-h) + 28px);
}

.faq-intro h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 14px;
}

.faq-intro p {
  color: var(--muted);
  margin-bottom: 20px;
}

.faq-intro a {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink);
  border-bottom: 2px solid var(--green);
  padding-bottom: 2px;
}

.faq {
  display: grid;
  gap: 10px;
}

.faq__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq__item[open] {
  border-color: #cdd8c6;
  box-shadow: var(--shadow-sm);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 22px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-dark);
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 500;
  flex: none;
  transition: transform 0.22s ease, background 0.2s ease;
}

.faq__item[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}

.faq__answer {
  padding: 0 22px 21px;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.65;
  max-width: 70ch;
}

/* -------------------------------- Team --------------------------------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.person {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.person:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.person__photo {
  aspect-ratio: 1 / 1;
  background: #e8ede4;
  overflow: hidden;
}

.person__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.person__body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.person h3 {
  font-size: 1.12rem;
}

.person__role {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green-dark);
}

.person p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
  margin-top: 4px;
}

.person--lead {
  grid-column: span 1;
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.person--lead .person__role {
  color: #7fe0af;
}

.person--lead p {
  color: #b9c8be;
}

/* ------------------------------ Contacts ------------------------------- */

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-card {
  display: flex;
  gap: 16px;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.contact-card:hover {
  border-color: #cdd8c6;
}

.contact-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--green-soft);
  color: var(--green-dark);
  flex: none;
  font-size: 1.05rem;
}

.contact-card__icon svg,
.benefit__icon svg {
  display: block;
  width: 22px;
  height: 22px;
}

.benefit__icon svg {
  width: 20px;
  height: 20px;
}

.contact-card h3 {
  font-size: 0.78rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.contact-card a,
.contact-card strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.02rem;
  line-height: 1.4;
}

.contact-card a:hover {
  color: var(--green-dark);
}

.contact-card small {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 3px;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.socials a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.82rem;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.socials a:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.form-card {
  padding: 34px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.form-card h2 {
  font-size: 1.7rem;
  margin-bottom: 10px;
}

.form-card > p {
  color: var(--muted);
  font-size: 0.93rem;
  margin-bottom: 24px;
}

.form {
  display: grid;
  gap: 16px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.label-hint {
  font-weight: 400;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fbfcf9;
  font-size: 0.94rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field textarea {
  min-height: 92px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(18, 160, 92, 0.12);
}

.field input:user-invalid {
  border-color: var(--coral);
}

.form__note {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.5;
}

.form__message {
  display: none;
  padding: 12px 15px;
  border-radius: 12px;
  font-size: 0.86rem;
  line-height: 1.5;
}

.form__message.is-visible {
  display: block;
}

.form__message--error {
  background: var(--coral-soft);
  color: var(--coral-dark);
}

.form__message--ok {
  background: var(--green-soft);
  color: var(--green-dark);
}

.map-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: 320px;
  padding: 26px;
  border-radius: var(--radius);
  background-color: #dfe8dc;
  background-image: linear-gradient(rgba(18, 160, 92, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 160, 92, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 70% 30%, rgba(18, 160, 92, 0.2), transparent 55%);
  background-size: 38px 38px, 38px 38px, 100% 100%;
  border: 1px solid var(--line);
}

.map-card__pin {
  position: absolute;
  top: 42%;
  left: 58%;
  width: 54px;
  height: 54px;
  border-radius: 50% 50% 50% 4px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%) rotate(-45deg);
  box-shadow: 0 16px 30px -14px rgba(16, 23, 18, 0.7);
}

.map-card__pin span {
  transform: rotate(45deg);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.8rem;
}

.map-card__pulse {
  position: absolute;
  top: 42%;
  left: 58%;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 1px solid rgba(18, 160, 92, 0.4);
  background: rgba(18, 160, 92, 0.1);
  transform: translate(-50%, -50%);
}

.map-card__body {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  backdrop-filter: blur(6px);
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.map-card__body strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1rem;
}

.map-card__body span {
  font-size: 0.84rem;
  color: var(--muted);
}

.hours-note {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--yellow-soft);
  font-size: 0.83rem;
  color: var(--yellow-dark);
  line-height: 1.5;
}

/* ------------------------------- Footer -------------------------------- */

.footer {
  background: var(--ink);
  color: #c4d1c8;
  padding: 64px 0 28px;
  font-size: 0.9rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.25fr;
  gap: 32px;
  padding-bottom: 40px;
}

.footer .brand {
  margin: 0 0 16px;
  color: #fff;
}

.footer .brand__name {
  color: #fff;
}

.footer .brand__caption {
  color: #9fb0a5;
}

.footer__about p {
  max-width: 34ch;
  color: #9fb0a5;
}

.footer h3 {
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #fff;
  margin-bottom: 16px;
}

.footer__links {
  display: grid;
  gap: 9px;
}

.footer__links a:hover {
  color: #7fe0af;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #8fa196;
}

.footer__note {
  max-width: 62ch;
}

/* -------------------------------- Modal -------------------------------- */

.course-modal {
  width: min(940px, calc(100vw - 32px));
  max-height: min(86vh, 820px);
  padding: 0;
  border: 0;
  border-radius: 30px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.5);
  overflow: auto;
}

.course-modal::backdrop {
  background: rgba(10, 18, 13, 0.55);
  backdrop-filter: blur(6px);
}

.course-modal__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  min-height: 100%;
}

.course-modal__media {
  position: relative;
  background: #e8ede4;
}

.course-modal__media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.course-modal__content {
  padding: 34px 34px 30px;
}

.course-modal__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 0.73rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  margin-bottom: 14px;
}

.course-modal h2 {
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  margin-bottom: 12px;
}

.course-modal__intro {
  color: var(--muted);
  font-size: 0.94rem;
  margin-bottom: 22px;
}

.course-modal__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
}

.fact {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfcf9;
}

.fact span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}

.fact strong {
  font-family: var(--font-head);
  font-size: 0.9rem;
  line-height: 1.35;
}

.course-modal h3 {
  font-size: 0.78rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.topics {
  display: grid;
  gap: 7px;
  margin-bottom: 20px;
}

.topics li {
  position: relative;
  padding-left: 26px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.topics li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green-soft);
  box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 5px var(--green);
}

.course-modal__result {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--green-soft);
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--green-dark);
  margin-bottom: 22px;
}

.course-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.course-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  z-index: 3;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
}

.course-modal__close:hover {
  background: var(--ink);
  color: #fff;
}

/* ------------------------------ Reveal --------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ----------------------------- Responsive ------------------------------ */

@media (max-width: 1100px) {
  .header__cta {
    display: none;
  }

  .nav {
    gap: 20px;
  }

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

  .hero__grid {
    gap: 40px;
  }

  .float-card--top {
    left: -10px;
  }

  .float-card--bottom {
    right: -6px;
  }
}

@media (max-width: 980px) {
  .section {
    padding: 72px 0;
  }

  .hero {
    padding: 44px 0 64px;
  }

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

  .hero__visual {
    max-width: 620px;
    width: 100%;
    margin: 8px auto 0;
  }

  .hero__figure img {
    aspect-ratio: 16 / 10;
  }

  .audience-grid,
  .steps,
  .reviews-grid,
  .team-grid,
  .benefits,
  .big-numbers {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .gallery__item:first-child {
    grid-column: span 2;
    min-height: 260px;
  }

  .split,
  .faq-layout,
  .contact-layout,
  .cta-panel {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .split__figure {
    order: -1;
  }

  .cta-panel {
    padding: 40px;
  }

  .faq-intro {
    position: static;
  }

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

  .footer__about {
    grid-column: span 2;
  }

  .course-modal__grid {
    grid-template-columns: 1fr;
  }

  .course-modal__media img {
    min-height: 200px;
    max-height: 240px;
  }

  .course-modal__close {
    background: var(--ink);
    color: #fff;
  }
}

@media (max-width: 820px) {
  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(16, 23, 18, 0.32);
  }

  .burger {
    display: block;
  }

  .header__inner {
    gap: 12px;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -30px rgba(16, 23, 18, 0.35);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    max-height: calc(100dvh - var(--header-h));
    overflow: auto;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav a {
    padding: 14px 4px;
    font-size: 1.02rem;
    border-bottom: 1px solid var(--line);
  }

  .nav a::after {
    display: none;
  }

  .nav a.nav__cta {
    display: inline-flex;
    justify-content: center;
    margin-top: 16px;
    padding: 14px 22px;
    border-bottom: 0;
    border-radius: 999px;
    font-family: var(--font-head);
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
  }

  .nav a.nav__cta:hover {
    color: #fff;
  }

  .nav a[aria-current="page"] {
    color: var(--green-dark);
  }

  .lang {
    margin-left: auto;
  }

  .hero__actions .btn {
    flex: 1 1 100%;
  }

  .stats {
    gap: 12px 26px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .section-head h2 {
    margin-bottom: 10px;
  }

  .timeline__item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .programs-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .rating-panel .text-link {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 32px);
  }

  .section {
    padding: 56px 0;
  }

  .section--tight {
    padding: 44px 0;
  }

  .page-hero {
    padding: 36px 0 32px;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 9vw, 2.9rem);
  }

  .hero .lead {
    font-size: 1rem;
  }

  .float-card {
    padding: 9px 12px;
    gap: 9px;
  }

  .float-card__icon {
    width: 32px;
    height: 32px;
    font-size: 0.7rem;
  }

  .float-card strong {
    font-size: 0.78rem;
  }

  .float-card span {
    font-size: 0.66rem;
  }

  .float-card--top {
    top: 10px;
    left: -4px;
  }

  .float-card--bottom {
    right: -4px;
    bottom: 10px;
  }

  .audience-grid,
  .cards-grid,
  .steps,
  .reviews-grid,
  .team-grid,
  .benefits,
  .big-numbers,
  .feature-grid,
  .footer__grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery__item:first-child {
    grid-column: span 1;
  }

  .gallery__item {
    min-height: 230px;
  }

  .footer__about {
    grid-column: span 1;
  }

  .cta-panel {
    padding: 28px 22px;
    border-radius: 26px;
  }

  .aud-card,
  .step {
    padding: 24px;
  }

  .person--lead {
    grid-column: span 1;
  }

  .form-card {
    padding: 24px 20px;
  }

  .course-modal__content {
    padding: 26px 20px 24px;
  }

  .course-modal__facts {
    grid-template-columns: 1fr;
  }

  .tabs {
    width: 100%;
  }

  .tab {
    flex: 1;
    padding: 10px 12px;
    font-size: 0.84rem;
  }

  .cta-panel__actions .btn {
    width: 100%;
  }

  .hub-strip {
    flex-wrap: wrap;
  }

  .hub-strip a {
    margin-left: 0;
  }

  .map-card {
    min-height: 280px;
  }

  .map-card__pin,
  .map-card__pulse {
    top: 18%;
  }

  .map-card__pulse {
    width: 84px;
    height: 84px;
  }

  .course-card__body {
    padding: 20px;
  }

  .header__inner {
    gap: 8px;
  }

  .brand img {
    width: 38px;
  }

  .brand__name {
    font-size: 1.15rem;
  }

  .brand__caption {
    font-size: 0.58rem;
  }

  .lang button {
    padding: 4px 7px;
  }

  .burger {
    width: 40px;
    height: 40px;
  }

  .burger span:nth-child(1) {
    top: 14px;
  }

  .burger span:nth-child(2) {
    top: 19px;
  }

  .burger span:nth-child(3) {
    top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
