:root {
  --green: #73ad51;
  --deep: #176349;
  --navy: #142339;
  --text: #1c2635;
  --muted: #6b7483;
  --paper: #faf8f3;
  --line: #dfe8dc;
  --white: #fff;
  --gold: #d7a345;
  --blue: #45a8d9;
  --motion-rise: 14px;
  --motion-ease: cubic-bezier(0.2, 0.72, 0.22, 1);
  --motion-shadow: 0 16px 34px rgba(20, 35, 57, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  overflow-x: hidden;
}

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

@keyframes soft-enter {
  from {
    opacity: 0;
    transform: translateY(var(--motion-rise));
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.top-line,
.nav,
.promo-row a,
.promo-row div,
.hero-main,
.hero-small,
.benefit-strip,
.panel,
.banner-pair,
.about-block,
.service-hero,
.course-hero,
.course-section,
.course-cta,
footer {
  animation: soft-enter 0.68s var(--motion-ease) both;
}

.nav {
  animation-delay: 0.05s;
}

.promo-row a:nth-child(1),
.promo-row div:nth-child(1),
.hero-main {
  animation-delay: 0.1s;
}

.promo-row a:nth-child(2),
.promo-row div:nth-child(2),
.hero-small:nth-child(2) {
  animation-delay: 0.16s;
}

.promo-row a:nth-child(3),
.promo-row div:nth-child(3),
.hero-small:nth-child(3) {
  animation-delay: 0.22s;
}

.promo-row a:nth-child(4),
.promo-row div:nth-child(4),
.benefit-strip {
  animation-delay: 0.28s;
}

.panel:nth-of-type(3),
.banner-pair {
  animation-delay: 0.34s;
}

.panel:nth-of-type(4),
.about-block,
footer {
  animation-delay: 0.4s;
}

.top-line a,
.logo,
.category-button,
.nav nav a,
.promo-row a,
.hero-main a,
.hero-small a,
.benefit-strip a,
.section-title a,
.category-list article,
.cards article,
.banner-pair article,
.banner-pair a,
.banner-pair span,
.metrics article,
.steps span,
.directory-grid article,
.course-timeline article,
.course-overview article,
.course-module-list article,
.course-methods article,
.course-deliverables article,
.course-gains article,
.course-audience article,
.course-actions a,
.course-cta a,
footer a {
  transition:
    transform 0.25s var(--motion-ease),
    box-shadow 0.25s var(--motion-ease),
    border-color 0.25s var(--motion-ease),
    background-color 0.25s var(--motion-ease),
    color 0.25s var(--motion-ease),
    opacity 0.25s var(--motion-ease);
}

.side-rail {
  position: fixed;
  left: 0;
  top: 0;
  width: 42px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding-top: 15px;
  color: #6b7f75;
  background: #fff;
  border-right: 1px solid #e9eee7;
  font-size: 15px;
  z-index: 5;
}

.menu-dot {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  font-size: 15px;
}

.top,
main,
footer {
  width: 930px;
  margin: 0 auto;
}

.top-line {
  display: flex;
  gap: 26px;
  align-items: center;
  height: 31px;
  color: #66706f;
  font-size: 12px;
}

.top-line .push {
  margin-left: auto;
}

.nav {
  display: grid;
  grid-template-columns: 214px 126px 250px 1fr;
  gap: 15px;
  align-items: center;
  height: 64px;
  border-top: 1px solid #edf1eb;
  border-bottom: 1px solid #edf1eb;
}

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

.logo:hover,
.nav nav a:hover,
.top-line a:hover,
.section-title a:hover,
footer a:hover {
  color: var(--deep);
  transform: translateY(-2px);
}

.logo-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--deep), #203854);
  border-radius: 8px;
  font-weight: 800;
}

.logo strong,
.logo small,
footer a,
footer b {
  display: block;
}

.logo strong {
  font-size: 18px;
  line-height: 1.08;
}

.logo small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.nav button,
.category-button {
  height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 18px;
  color: #fff;
  background: var(--green);
  font-weight: 700;
  text-decoration: none;
}

.category-button:hover,
.hero-main a:hover,
.hero-small a:hover,
.banner-pair a:hover,
.banner-pair span:hover,
footer .join:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(23, 99, 73, 0.2);
  filter: brightness(0.96);
}

.search {
  height: 35px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  color: #a2a8ad;
  background: #fff;
  border: 1px solid #e7ece5;
  border-radius: 18px;
  font-size: 12px;
}

.nav nav {
  display: flex;
  justify-content: space-between;
  color: #394759;
  font-size: 12px;
  font-weight: 700;
}

.promo-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  height: 88px;
  align-items: center;
}

.promo-row div,
.promo-row a {
  min-height: 58px;
  display: grid;
  align-content: center;
  padding-left: 70px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(20, 35, 57, 0.05);
  position: relative;
}

.promo-row a:hover,
.promo-row div:hover {
  transform: translateY(-4px);
  box-shadow: var(--motion-shadow);
}

.promo-row div::before,
.promo-row a::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.18;
}

.promo-row b,
.promo-row span {
  display: block;
}

.promo-row b {
  color: var(--navy);
  font-size: 13px;
}

.promo-row span {
  color: var(--muted);
  font-size: 11px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.62fr 0.72fr 0.72fr;
  gap: 12px;
  height: 270px;
}

.hero-main,
.hero-small {
  overflow: hidden;
  border-radius: 8px;
  position: relative;
  transition:
    transform 0.25s var(--motion-ease),
    box-shadow 0.25s var(--motion-ease);
}

.hero-main:hover,
.hero-small:hover {
  transform: translateY(-3px);
  box-shadow: var(--motion-shadow);
}

.hero-main {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  background: #dceecb;
}

.hero-main div {
  min-width: 0;
  padding: 35px 0 0 34px;
  z-index: 1;
}

.hero-main p {
  margin: 0 0 14px;
  color: var(--deep);
  font-size: 15px;
  font-weight: 800;
}

.hero-main h1 {
  margin: 0;
  color: var(--navy);
  font-size: 38px;
  line-height: 1.08;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.hero-main span {
  display: block;
  margin-top: 14px;
  color: #41515a;
  font-size: 14px;
}

.hero-main a,
.hero-small a,
.banner-pair span,
.banner-pair a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 32px;
  margin-top: 18px;
  padding: 0 18px;
  color: #fff;
  background: var(--deep);
  border-radius: 5px;
  font-size: 13px;
  font-weight: 800;
}

.hero-main img {
  position: absolute;
  right: -118px;
  top: 0;
  width: auto;
  height: 100%;
  max-width: none;
  object-fit: unset;
  mix-blend-mode: multiply;
  opacity: 0.85;
  background: #dceecb;
}

.hero-small {
  padding: 28px 24px;
  color: #fff;
}

.hero-small::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
  opacity: 0;
  transition: opacity 0.25s var(--motion-ease);
}

.hero-small:hover::before {
  opacity: 1;
}

.hero-small > * {
  position: relative;
  z-index: 1;
}

.hero-small span {
  font-size: 12px;
  font-weight: 800;
}

.hero-small h2 {
  margin: 15px 0 0;
  font-size: 24px;
  line-height: 1.2;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.hero-small.blue {
  background: linear-gradient(145deg, rgba(49, 139, 196, 0.88), rgba(26, 68, 112, 0.9)), url("assets/web/classroom.jpg") center / cover;
}

.hero-small.gold {
  background: linear-gradient(145deg, rgba(215, 163, 69, 0.9), rgba(96, 65, 25, 0.86)), url("assets/web/consulting.jpg") center / cover;
}

.benefit-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 18px 0 52px;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.benefit-strip span,
.benefit-strip a {
  display: grid;
  place-items: center;
  height: 34px;
  color: #435067;
  border-right: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
}

.benefit-strip a:hover {
  color: var(--deep);
  background: #f2f9ef;
}

.benefit-strip span:last-child,
.benefit-strip a:last-child {
  border-right: 0;
}

.panel {
  margin-bottom: 48px;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.section-title h2 {
  margin: 0;
  color: var(--navy);
  font-size: 20px;
}

.section-title a {
  color: var(--deep);
  font-size: 12px;
  font-weight: 800;
}

.category-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.category-list article {
  min-height: 116px;
  background: #fbfcfa;
  border-radius: 6px;
}

.category-list article:hover {
  transform: translateY(-4px);
  background: #fff;
  box-shadow: 0 12px 26px rgba(20, 35, 57, 0.08);
}

.category-list article > a {
  display: block;
  min-height: 116px;
  padding: 15px;
}

.category-list b,
.cards b {
  display: block;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.28;
}

.category-list p,
.cards p,
.cards span,
.metrics p,
.metrics span {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.cards.six {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.cards article {
  min-height: 236px;
  background: #fff;
  border: 1px solid #e9eee6;
  border-radius: 8px;
  overflow: hidden;
}

.cards article:hover {
  transform: translateY(-4px);
  border-color: rgba(115, 173, 81, 0.42);
  box-shadow: var(--motion-shadow);
}

.cards article > a {
  display: block;
  min-height: 236px;
  padding: 12px;
}

.cards img {
  width: 100%;
  height: 92px;
  margin-bottom: 12px;
  border-radius: 6px;
  object-fit: cover;
  transition: transform 0.35s var(--motion-ease);
}

.cards article:hover img {
  transform: scale(1.03);
}

.cards span {
  display: block;
  color: var(--deep);
  font-weight: 800;
}

.banner-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 0 0 48px;
}

.banner-pair article {
  min-height: 160px;
  padding: 34px;
  border-radius: 8px;
  color: #fff;
  overflow: hidden;
}

.banner-pair article:hover {
  transform: translateY(-4px);
  box-shadow: var(--motion-shadow);
}

.banner-pair article:first-child {
  background: linear-gradient(105deg, rgba(23, 99, 73, 0.92), rgba(46, 87, 67, 0.78)), url("assets/web/course-group.jpg") center / cover;
}

.banner-pair article:last-child {
  background: linear-gradient(105deg, rgba(42, 142, 201, 0.9), rgba(17, 52, 82, 0.86)), url("assets/web/city.jpg") center / cover;
}

.banner-pair h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.16;
}

.banner-pair p {
  margin: 10px 0 0;
  font-size: 15px;
}

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

.metrics article {
  min-height: 156px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.metrics article:hover,
.directory-grid article:hover,
.course-timeline article:hover,
.course-module-list article:hover,
.course-methods article:hover,
.course-deliverables article:hover,
.course-gains article:hover,
.course-audience article:hover {
  transform: translateY(-4px);
  border-color: rgba(115, 173, 81, 0.42);
  box-shadow: var(--motion-shadow);
}

.metrics strong {
  display: block;
  color: var(--deep);
  font-size: 32px;
  line-height: 1;
}

.metrics span {
  display: block;
  color: var(--navy);
  font-weight: 800;
}

.about-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  margin-bottom: 50px;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.about-block h2 {
  margin: 0 0 14px;
  color: var(--deep);
  font-size: 22px;
}

.about-block p {
  margin: 0 0 12px;
  color: #596575;
  font-size: 14px;
  line-height: 1.82;
}

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

.steps span {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  color: var(--navy);
  background: #eef7ee;
  border-radius: 7px;
  font-weight: 800;
}

.steps span:hover {
  transform: translateX(4px);
  background: #e4f3df;
}

.service-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  min-height: 255px;
  margin: 24px 0 52px;
  overflow: hidden;
  background: #dceecb;
  border-radius: 8px;
  transition: box-shadow 0.25s var(--motion-ease);
}

.service-hero:hover {
  box-shadow: var(--motion-shadow);
}

.service-hero div {
  min-width: 0;
  padding: 42px 0 0 36px;
}

.service-hero p {
  margin: 0 0 14px;
  color: var(--deep);
  font-size: 15px;
  font-weight: 800;
}

.service-hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: 34px;
  line-height: 1.15;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.service-hero span {
  display: block;
  max-width: 420px;
  margin-top: 16px;
  color: #41515a;
  font-size: 14px;
  line-height: 1.8;
}

.service-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  opacity: 0.88;
  transition: transform 0.45s var(--motion-ease);
}

.service-hero:hover img {
  transform: scale(1.03);
}

.course-actions a:hover,
.course-cta a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(23, 99, 73, 0.2);
}

.course-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
  max-width: 100%;
  min-height: 320px;
  margin: 24px 0 52px;
  overflow: hidden;
  color: #fff;
  background: #102238;
  border-radius: 10px;
}

.course-hero > * {
  min-width: 0;
}

.course-hero.green {
  background: linear-gradient(135deg, rgba(23, 99, 73, 0.96), rgba(20, 35, 57, 0.88));
}

.course-hero.blue {
  background: linear-gradient(135deg, rgba(35, 112, 164, 0.96), rgba(20, 35, 57, 0.9));
}

.course-hero div {
  min-width: 0;
  padding: 46px 0 42px 38px;
}

.course-hero p {
  margin: 0 0 16px;
  color: #dff1df;
  font-size: 15px;
  font-weight: 800;
}

.course-hero h1 {
  width: 100%;
  max-width: 470px;
  margin: 0;
  font-size: 38px;
  line-height: 1.16;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.course-hero span {
  display: block;
  width: 100%;
  max-width: 485px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.8;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.course-hero img {
  display: block;
  max-width: 100%;
  min-width: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
}

.course-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  padding: 0 !important;
}

.course-actions a,
.course-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 20px;
  color: #fff;
  background: var(--green);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
}

.course-actions .ghost {
  color: var(--deep);
  background: #fff;
}

.course-section {
  margin-bottom: 44px;
}

.course-overview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.course-overview article {
  min-height: 128px;
  padding: 22px;
  color: #fff;
  background: linear-gradient(135deg, #2f83b7, #173d68);
  border-radius: 10px;
}

.course-overview span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.course-overview strong {
  display: block;
  margin-top: 14px;
  font-size: 28px;
  line-height: 1;
}

.course-overview p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.6;
}

.course-timeline {
  display: grid;
  gap: 16px;
}

.course-timeline article {
  display: grid;
  grid-template-columns: 0.34fr 1fr;
  gap: 18px;
  max-width: 100%;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.course-timeline article > * {
  min-width: 0;
}

.course-stage-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 14px;
  color: var(--deep);
  background: #e8f5e6;
  border-radius: 18px;
  font-size: 12px;
  font-weight: 800;
}

.course-stage-head h3 {
  margin: 16px 0 0;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.25;
}

.course-blocks {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.course-blocks div {
  min-width: 0;
  padding: 14px 16px;
  background: #fbfcfa;
  border-radius: 8px;
}

.course-blocks b {
  display: block;
  color: var(--deep);
  font-size: 13px;
}

.course-blocks p {
  margin: 8px 0 0;
  color: #536172;
  font-size: 13px;
  line-height: 1.72;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.course-module-list {
  display: grid;
  gap: 16px;
}

.course-module-list article {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 22px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.course-module-list article > div,
.course-module-list ul {
  min-width: 0;
}

.course-module-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 14px;
  color: #2f83b7;
  background: #e7f3fb;
  border-radius: 18px;
  font-size: 12px;
  font-weight: 800;
}

.course-module-list h3 {
  margin: 18px 0 0;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.28;
}

.course-module-list p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.course-module-list ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.course-module-list li {
  position: relative;
  padding: 13px 16px 13px 34px;
  color: #465568;
  background: #fbfcfa;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.55;
}

.course-module-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 22px;
  width: 7px;
  height: 7px;
  background: #2f83b7;
  border-radius: 50%;
}

.course-methods,
.course-deliverables {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.course-methods article,
.course-deliverables article {
  min-height: 132px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.course-methods b {
  display: block;
  color: var(--navy);
  font-size: 18px;
}

.course-methods p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.course-deliverables article {
  display: flex;
  align-items: center;
  min-height: 88px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
}

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

.course-gains article,
.course-audience article {
  min-height: 96px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.course-gains span {
  display: block;
  width: 18px;
  height: 18px;
  margin-bottom: 18px;
  background: var(--deep);
  border-radius: 50%;
}

.course-gains b {
  display: block;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.4;
}

.course-audience strong {
  display: block;
  color: var(--deep);
  font-size: 22px;
}

.course-audience p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.course-cta {
  margin: 0 0 54px;
  padding: 34px;
  color: #fff;
  background: var(--deep);
  border-radius: 10px;
}

.course-cta.blue {
  background: linear-gradient(135deg, #2f83b7, #173d68);
}

.course-cta.green {
  background: linear-gradient(135deg, #176349, #315944);
}

.course-cta h2 {
  margin: 0;
  font-size: 28px;
}

.course-cta p {
  max-width: 620px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.75;
}

.course-cta div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.course-cta a:last-child {
  color: var(--deep);
  background: #fff;
}

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

.directory-grid article {
  min-height: 205px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.directory-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 25px;
  color: var(--deep);
  background: #e8f5e6;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 800;
}

.directory-grid h3 {
  margin: 18px 0 10px;
  color: var(--navy);
  font-size: 19px;
  line-height: 1.28;
}

.directory-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.directory-grid b {
  display: block;
  margin-top: 14px;
  color: var(--deep);
  font-size: 13px;
  line-height: 1.5;
}

footer {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 1fr;
  gap: 54px;
  padding: 44px 42px 38px;
  color: rgba(255, 255, 255, 0.78);
  background: #83b95d;
}

footer .logo strong,
footer b {
  color: #fff;
}

footer .logo small,
footer p,
footer a {
  color: rgba(255, 255, 255, 0.78);
}

footer p {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.7;
}

footer b {
  margin-bottom: 12px;
}

footer a {
  margin-top: 8px;
  font-size: 13px;
}

footer .join {
  width: fit-content;
  margin-top: 18px;
  padding: 10px 18px;
  color: #123;
  background: #fff;
  border-radius: 6px;
  font-weight: 800;
}

footer a:hover {
  color: #fff;
}

footer .join:hover {
  color: #123;
}

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

  .top,
  main,
  footer {
    width: min(100% - 32px, 930px);
  }

  .nav {
    grid-template-columns: minmax(220px, 1fr) 150px minmax(220px, 1fr);
    height: auto;
    padding: 14px 0;
  }

  .nav nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    gap: 24px;
    overflow-x: auto;
    padding: 4px 0 2px;
    white-space: nowrap;
  }

  .promo-row {
    grid-template-columns: repeat(2, 1fr);
    height: auto;
    margin: 14px 0 18px;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    height: auto;
  }

  .hero-main {
    grid-column: 1 / -1;
    min-height: 270px;
  }

  .category-list,
  .cards.six {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .course-hero div {
    padding-right: 34px;
  }

  .course-hero img {
    height: 260px;
  }

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

  .course-overview,
  .course-methods,
  .course-deliverables {
    grid-template-columns: repeat(2, 1fr);
  }

  .course-module-list article {
    grid-template-columns: 1fr;
  }

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

  footer {
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 760px) {
  :root {
    --motion-rise: 8px;
  }

  .top,
  main,
  footer {
    width: calc(100% - 24px);
  }

  .top-line {
    display: none;
  }

  .nav {
    grid-template-columns: 1fr;
    gap: 12px;
    border-top: 0;
  }

  .logo {
    min-width: 0;
  }

  .logo strong {
    font-size: 18px;
  }

  .category-button,
  .search {
    width: 100%;
  }

  .nav nav {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: 18px;
    padding-bottom: 8px;
  }

  .promo-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .promo-row div,
  .promo-row a {
    min-height: 56px;
  }

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

  .hero-main {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-main div {
    padding: 28px 24px 18px;
  }

  .hero-main h1 {
    font-size: 36px;
    line-height: 1.12;
  }

  .hero-main img {
    position: static;
    width: 100%;
    height: auto;
    object-fit: unset;
    background: #dceecb;
  }

  .hero-small {
    min-height: 190px;
  }

  .benefit-strip {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 38px;
  }

  .benefit-strip span,
  .benefit-strip a {
    min-height: 42px;
    height: auto;
    border-bottom: 1px solid var(--line);
  }

  .panel {
    margin-bottom: 38px;
  }

  .section-title h2 {
    font-size: 22px;
  }

  .category-list {
    grid-template-columns: 1fr;
  }

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

  .cards article,
  .cards article > a {
    min-height: 0;
  }

  .cards img {
    height: 118px;
  }

  .banner-pair,
  .metrics,
  .about-block,
  .service-hero,
  .directory-grid,
  .course-overview,
  .course-methods,
  .course-deliverables,
  .course-gains,
  .course-audience,
  footer {
    grid-template-columns: 1fr;
  }

  .banner-pair article {
    min-height: 150px;
    padding: 26px;
  }

  .banner-pair h2 {
    font-size: 25px;
  }

  .metrics article {
    min-height: 0;
  }

  .service-hero {
    min-height: auto;
    gap: 0;
  }

  .service-hero div {
    padding: 30px 24px 22px;
  }

  .service-hero h1 {
    font-size: 30px;
    max-width: 330px;
  }

  .service-hero span {
    max-width: 330px;
  }

  .service-hero img {
    height: 210px;
  }

  .course-hero {
    min-height: auto;
  }

  .course-hero div {
    padding: 34px 24px 26px;
    max-width: calc(100vw - 24px);
  }

  .course-hero h1 {
    max-width: 300px;
    font-size: 28px;
  }

  .course-hero span {
    max-width: 300px;
    font-size: 13px;
  }

  .course-blocks b,
  .course-blocks p {
    max-width: 300px;
  }

  .course-hero img {
    height: 210px;
  }

  .course-timeline article,
  .course-module-list article,
  .course-methods article,
  .course-deliverables article,
  .course-gains article,
  .course-audience article,
  .course-cta {
    padding: 22px;
  }

  .course-blocks div {
    padding: 14px;
  }

  .course-cta h2 {
    font-size: 25px;
  }

  .directory-grid article {
    min-height: 0;
  }

  footer {
    padding: 32px 24px;
    gap: 26px;
  }
}

@media (hover: none) {
  .logo:hover,
  .top-line a:hover,
  .nav nav a:hover,
  .category-button:hover,
  .promo-row a:hover,
  .promo-row div:hover,
  .hero-main:hover,
  .hero-small:hover,
  .hero-main a:hover,
  .hero-small a:hover,
  .benefit-strip a:hover,
  .section-title a:hover,
  .category-list article:hover,
  .cards article:hover,
  .banner-pair article:hover,
  .banner-pair a:hover,
  .banner-pair span:hover,
  .metrics article:hover,
  .steps span:hover,
  .directory-grid article:hover,
  .course-timeline article:hover,
  .course-module-list article:hover,
  .course-methods article:hover,
  .course-deliverables article:hover,
  .course-gains article:hover,
  .course-audience article:hover,
  .course-actions a:hover,
  .course-cta a:hover,
  footer a:hover,
  footer .join:hover {
    transform: none;
  }

  .cards article:hover img,
  .service-hero:hover img {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .top-line,
  .nav,
  .promo-row a,
  .promo-row div,
  .hero-main,
  .hero-small,
  .benefit-strip,
  .panel,
  .banner-pair,
  .about-block,
  .service-hero,
  .course-hero,
  .course-section,
  .course-cta,
  footer {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .logo:hover,
  .top-line a:hover,
  .nav nav a:hover,
  .category-button:hover,
  .promo-row a:hover,
  .promo-row div:hover,
  .hero-main:hover,
  .hero-small:hover,
  .hero-main a:hover,
  .hero-small a:hover,
  .benefit-strip a:hover,
  .section-title a:hover,
  .category-list article:hover,
  .cards article:hover,
  .banner-pair article:hover,
  .banner-pair a:hover,
  .banner-pair span:hover,
  .metrics article:hover,
  .steps span:hover,
  .directory-grid article:hover,
  .course-timeline article:hover,
  .course-module-list article:hover,
  .course-methods article:hover,
  .course-deliverables article:hover,
  .course-gains article:hover,
  .course-audience article:hover,
  .course-actions a:hover,
  .course-cta a:hover,
  footer a:hover,
  footer .join:hover,
  .cards article:hover img,
  .service-hero:hover img {
    transform: none !important;
  }
}

@media (max-width: 430px) {
  .top,
  main,
  footer {
    width: calc(100% - 20px);
  }

  .logo-mark {
    width: 34px;
    height: 34px;
  }

  .logo strong {
    font-size: 16px;
  }

  .logo small {
    font-size: 9px;
  }

  .hero-main h1 {
    font-size: 31px;
  }

  .course-hero h1,
  .course-hero span,
  .course-blocks p {
    max-width: 280px;
  }

  .course-blocks b {
    max-width: 280px;
  }

  .hero-main span,
  .service-hero span {
    font-size: 13px;
  }

  .hero-small h2 {
    font-size: 23px;
  }

  .benefit-strip,
  .cards.six {
    grid-template-columns: 1fr;
  }

  .benefit-strip span,
  .benefit-strip a {
    border-right: 0;
  }

  .cards img {
    height: 150px;
  }

  .metrics strong {
    font-size: 29px;
  }

  .about-block {
    padding: 22px;
  }
}
