:root {
  --bg: #081a12;
  --bg-soft: #10291f;
  --surface: rgba(255, 248, 239, 0.82);
  --surface-strong: #f7f1e6;
  --surface-dark: #163126;
  --glass-light: linear-gradient(180deg, rgba(226, 185, 112, 0.28), rgba(146, 107, 56, 0.16));
  --glass-dark: linear-gradient(180deg, rgba(52, 48, 31, 0.76), rgba(20, 37, 29, 0.54));
  --glass-line: rgba(226, 185, 112, 0.36);
  --glass-line-dark: rgba(226, 185, 112, 0.22);
  --glass-sheen: rgba(226, 185, 112, 0.2);
  --glass-sheen-soft: rgba(226, 185, 112, 0.1);
  --glass-blur: blur(22px) saturate(145%);
  --text: #1d241f;
  --text-soft: #536055;
  --text-inverse: #f8f4ec;
  --line: rgba(29, 36, 31, 0.12);
  --accent: #6d8a68;
  --accent-strong: #445b44;
  --accent-warm: #b69362;
  --shadow-lg: 0 28px 60px rgba(25, 38, 31, 0.18);
  --shadow-md: 0 18px 38px rgba(25, 38, 31, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: min(1180px, calc(100vw - 32px));
  --section-gap: clamp(72px, 10vw, 128px);
  --header-height: 88px;
  --transition: 220ms ease;
  --transition-slow: 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme="light"] {
  --bg: #f7efe1;
  --bg-soft: #eadcc4;
  --surface: rgba(255, 246, 232, 0.86);
  --surface-strong: #fff4df;
  --glass-light: linear-gradient(180deg, rgba(244, 211, 154, 0.5), rgba(224, 180, 104, 0.28));
  --glass-dark: linear-gradient(180deg, rgba(244, 211, 154, 0.46), rgba(224, 180, 104, 0.24));
  --glass-line: rgba(226, 185, 112, 0.5);
  --glass-line-dark: rgba(226, 185, 112, 0.4);
  --glass-sheen: rgba(226, 185, 112, 0.24);
  --glass-sheen-soft: rgba(226, 185, 112, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

html.theme-is-changing::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 248, 232, 0.34), rgba(226, 185, 112, 0.1));
  animation: theme-fade 460ms ease both;
}

html.theme-is-changing.theme-to-dark::before {
  background:
    linear-gradient(180deg, rgba(20, 37, 29, 0.34), rgba(8, 26, 18, 0.2));
}

@keyframes theme-fade {
  0% {
    opacity: 0;
  }

  42% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.theme-is-changing::before {
    animation: none;
    display: none;
  }
}

body {
  margin: 0;
  color: rgba(248, 244, 236, 0.82);
  background:
    radial-gradient(circle at top left, rgba(182, 147, 98, 0.18), transparent 28%),
    radial-gradient(circle at right 15%, rgba(109, 138, 104, 0.2), transparent 24%),
    radial-gradient(circle at 50% 55%, rgba(28, 64, 48, 0.46), transparent 34%),
    linear-gradient(180deg, #112b20 0%, #081a12 48%, #06120d 100%);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.68;
  letter-spacing: -0.012em;
  transition: color 420ms ease, background-color 420ms ease;
}

html[data-theme="light"] body {
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(226, 185, 112, 0.22), transparent 30%),
    radial-gradient(circle at right 14%, rgba(182, 147, 98, 0.16), transparent 26%),
    radial-gradient(circle at 52% 58%, rgba(255, 238, 203, 0.56), transparent 34%),
    linear-gradient(180deg, #fff8ea 0%, #f8eedc 48%, #efe1c8 100%);
}

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

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

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

.page-shell {
  overflow: clip;
}

main {
  position: relative;
  z-index: 1;
}

.container-shell {
  width: var(--container);
  margin: 0 auto;
}

.section-block {
  padding: var(--section-gap) 0;
}

.section-block--compact {
  padding: clamp(48px, 6vw, 80px) 0;
}

.section-heading {
  display: grid;
  gap: 14px;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(19, 37, 29, 0.88);
  border: 1px solid rgba(19, 37, 29, 0.12);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-inverse);
  box-shadow: 0 10px 22px rgba(25, 38, 31, 0.12);
}

.hero-banner .eyebrow,
.dark-band .eyebrow {
  background: rgba(226, 185, 112, 0.13);
  border-color: rgba(226, 185, 112, 0.18);
  color: var(--text-inverse);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.section-title,
.hero-title,
.card-title,
.brand-wordmark,
.price,
.metric__value {
  font-family: "Fraunces", "Cormorant Garamond", Georgia, serif;
}

.section-title {
  margin: 0;
  font-size: clamp(2.15rem, 4vw, 3.65rem);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.section-copy {
  max-width: 720px;
  color: rgba(248, 244, 236, 0.72);
  font-size: 1.08rem;
  line-height: 1.78;
}

main > .section-block .section-heading > .section-title {
  color: var(--text-inverse);
}

html[data-theme="light"] main > .section-block .section-heading > .section-title {
  color: var(--text);
}

html[data-theme="light"] .section-copy,
html[data-theme="light"] .card-text,
html[data-theme="light"] .card-list,
html[data-theme="light"] .contact-card p,
html[data-theme="light"] .contact-card li,
html[data-theme="light"] .story-card__body p,
html[data-theme="light"] .story-card__body ul {
  color: var(--text-soft);
}

html[data-theme="light"] .button-ghost,
html[data-theme="light"] .card-link,
html[data-theme="light"] .chip,
html[data-theme="light"] .feature-icon,
html[data-theme="light"] .contact-inline a {
  color: var(--accent-strong);
}

.glass-panel {
  background: var(--glass-light);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-line);
  box-shadow:
    inset 0 1px 0 rgba(226, 185, 112, 0.24),
    var(--shadow-md);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  padding: 16px 0;
}

.site-header__shell {
  width: min(1240px, calc(100vw - 24px));
  margin: 0 auto;
  padding: 12px 14px;
  position: relative;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(20, 37, 29, 0.68);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(226, 185, 112, 0.14);
  box-shadow: 0 18px 40px rgba(8, 15, 11, 0.24);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
  flex: 0 0 auto;
  color: var(--text-inverse);
}

.brand-link img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(226, 185, 112, 0.14);
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-wordmark {
  font-size: 1.72rem;
  letter-spacing: 0.04em;
}

.brand-caption {
  color: rgba(248, 244, 236, 0.72);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  flex: 1 1 auto;
}

.site-nav__link {
  padding: 11px 12px;
  border-radius: 999px;
  color: rgba(248, 244, 236, 0.82);
  transition: background-color var(--transition), color var(--transition), transform var(--transition);
}

.site-nav__link:hover,
.site-nav__link:focus-visible,
.site-nav__link.is-active {
  background: rgba(226, 185, 112, 0.12);
  color: var(--text-inverse);
  transform: translateY(-1px);
}

.theme-toggle {
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid rgba(226, 185, 112, 0.16);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  background: rgba(226, 185, 112, 0.1);
  color: var(--text-inverse);
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(226, 185, 112, 0.12);
  backdrop-filter: blur(14px);
  transition: transform var(--transition), background-color var(--transition), border-color var(--transition);
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  transform: translateY(-1px);
  background: rgba(226, 185, 112, 0.16);
  border-color: rgba(226, 185, 112, 0.2);
}

.theme-toggle__icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 32%, #fff6d6 0 18%, transparent 20%),
    linear-gradient(135deg, #f4c76b 0 50%, #163126 52% 100%);
  box-shadow: 0 0 18px rgba(244, 199, 107, 0.36);
}

.theme-toggle__text {
  font-size: 0.82rem;
  font-weight: 700;
}

.site-header__cta {
  display: inline-flex;
  flex: 0 0 auto;
}

.site-header__cta .button-primary {
  white-space: nowrap;
  min-width: max-content;
}

html[data-theme="light"] .site-header__shell,
html[data-theme="light"] .mobile-nav {
  background: rgba(20, 37, 29, 0.72);
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: rgba(226, 185, 112, 0.1);
  color: var(--text-inverse);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-toggle__line,
.menu-toggle__line::before,
.menu-toggle__line::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform var(--transition), opacity var(--transition);
  content: "";
}

.menu-toggle__line::before {
  transform: translateY(-6px);
}

.menu-toggle__line::after {
  transform: translateY(4px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line::before {
  transform: rotate(-90deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line::after {
  opacity: 0;
}

.mobile-nav {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 12px;
  left: 12px;
  padding: 18px;
  border-radius: 28px;
  background: var(--glass-dark);
  border: 1px solid var(--glass-line-dark);
  box-shadow:
    inset 0 1px 0 rgba(226, 185, 112, 0.14),
    var(--shadow-lg);
  backdrop-filter: var(--glass-blur);
}

.mobile-nav[aria-hidden="false"] {
  display: grid;
  gap: 10px;
}

.mobile-nav__link {
  padding: 14px 16px;
  border-radius: 16px;
  color: var(--text-inverse);
  background: rgba(226, 185, 112, 0.08);
  border: 1px solid rgba(226, 185, 112, 0.1);
  backdrop-filter: blur(10px);
}

.hero-banner {
  position: relative;
  min-height: min(920px, 100vh);
  padding: calc(var(--header-height) + 56px) 0 48px;
  display: grid;
  align-items: end;
  color: var(--text-inverse);
}

.hero-banner--short {
  min-height: 72vh;
}

.hero-banner__media,
.hero-banner__overlay {
  position: absolute;
  inset: 0;
}

.hero-banner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-banner__overlay {
  background:
    linear-gradient(180deg, rgba(11, 19, 15, 0.2) 0%, rgba(11, 19, 15, 0.52) 45%, rgba(11, 19, 15, 0.82) 100%),
    linear-gradient(90deg, rgba(11, 19, 15, 0.64) 0%, rgba(11, 19, 15, 0.16) 55%);
}

.hero-banner__inner {
  position: relative;
  z-index: 1;
  width: var(--container);
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

.hero-banner__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: 24px;
  align-items: end;
}

.hero-copy {
  max-width: 720px;
  display: grid;
  gap: 18px;
}

.hero-title {
  margin: 0;
  font-size: clamp(3.15rem, 7vw, 5.8rem);
  line-height: 0.92;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.hero-description {
  margin: 0;
  max-width: 620px;
  color: rgba(248, 244, 236, 0.82);
  font-size: clamp(1.04rem, 1.9vw, 1.16rem);
  line-height: 1.74;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button-primary,
.button-secondary,
.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform var(--transition), background-color var(--transition), color var(--transition), border-color var(--transition);
}

.button-primary {
  background:
    linear-gradient(180deg, rgba(214, 176, 117, 0.94), rgba(182, 147, 98, 0.84));
  color: #1f1a15;
  border-color: rgba(226, 185, 112, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(226, 185, 112, 0.22),
    0 14px 28px rgba(77, 55, 29, 0.18);
  backdrop-filter: blur(12px);
}

.button-secondary {
  background: rgba(226, 185, 112, 0.1);
  color: var(--text-inverse);
  border-color: rgba(226, 185, 112, 0.24);
  backdrop-filter: blur(14px);
}

.button-ghost {
  background: rgba(226, 185, 112, 0.18);
  border-color: rgba(226, 185, 112, 0.24);
  color: var(--text-inverse);
  box-shadow: inset 0 1px 0 rgba(226, 185, 112, 0.22);
  backdrop-filter: blur(14px);
}

.button-primary:hover,
.button-secondary:hover,
.button-ghost:hover,
.button-primary:focus-visible,
.button-secondary:focus-visible,
.button-ghost:focus-visible {
  transform: translateY(-2px);
}

.hero-metrics {
  padding: 24px;
  border-radius: var(--radius-xl);
  color: var(--text-inverse);
  display: grid;
  gap: 18px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(20, 37, 29, 0.72), rgba(20, 37, 29, 0.48)),
    radial-gradient(circle at 18% 0%, rgba(226, 185, 112, 0.18), rgba(226, 185, 112, 0) 34%);
  border: 1px solid rgba(226, 185, 112, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(226, 185, 112, 0.16),
    0 24px 52px rgba(8, 15, 11, 0.28);
  backdrop-filter: blur(22px) saturate(140%);
}

.hero-metrics::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius-xl) - 1px);
  background: linear-gradient(135deg, rgba(226, 185, 112, 0.14), rgba(226, 185, 112, 0.05) 42%, rgba(182, 147, 98, 0.08));
  pointer-events: none;
}

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

.metric {
  display: grid;
  gap: 4px;
}

.metric__value {
  font-size: 2.1rem;
  line-height: 0.9;
}

.metric__label {
  color: rgba(248, 244, 236, 0.78);
}

.section-card,
.info-card,
.price-card,
.contact-card {
  border-radius: var(--radius-xl);
  background: var(--glass-light);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-line);
  box-shadow:
    inset 0 1px 0 rgba(226, 185, 112, 0.28),
    var(--shadow-md);
}

.section-card {
  padding: clamp(24px, 4vw, 36px);
}

.feature-grid,
.price-grid,
.contacts-grid,
.story-grid,
.service-grid,
.event-grid {
  display: grid;
  gap: 24px;
}

.feature-grid {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  grid-template-areas:
    "training certificate"
    "training events";
}

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

.story-grid,
.event-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.feature-card,
.price-card,
.story-card,
.contact-card {
  overflow: hidden;
  transition: transform var(--transition-slow), box-shadow var(--transition), border-color var(--transition);
}

.feature-card:hover,
.price-card:hover,
.story-card:hover,
.contact-card:hover,
.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(25, 38, 31, 0.16);
}

.feature-card {
  position: relative;
  display: grid;
  grid-template-rows: 1fr;
  min-height: 100%;
  padding: 0;
  background: #173127;
  color: var(--text-inverse);
}

.feature-card--training {
  grid-area: training;
  min-height: 620px;
}

.feature-card--certificate {
  grid-area: certificate;
  min-height: 298px;
}

.feature-card--events {
  grid-area: events;
  min-height: 298px;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 64%;
  background: linear-gradient(180deg, rgba(11, 19, 15, 0) 0%, rgba(11, 19, 15, 0.92) 100%);
  z-index: 1;
  pointer-events: none;
}

.feature-card__media {
  position: absolute;
  inset: 0;
}

.feature-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform var(--transition-slow);
}

.feature-card:hover .feature-card__media img {
  transform: scale(1.06);
}

.feature-card__body {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 14px;
  align-self: end;
  padding: 24px;
}

.feature-card__surface {
  padding: 24px 22px 22px;
  border-radius: 26px;
  background: var(--glass-dark);
  border: 1px solid var(--glass-line-dark);
  box-shadow:
    inset 0 1px 0 rgba(226, 185, 112, 0.16),
    0 22px 48px rgba(7, 14, 11, 0.26);
  backdrop-filter: var(--glass-blur);
}

.feature-card__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(248, 244, 236, 0.72);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.feature-card__eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: rgba(248, 244, 236, 0.42);
}

.feature-icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(226, 185, 112, 0.2);
  border: 1px solid rgba(226, 185, 112, 0.26);
  box-shadow: inset 0 1px 0 rgba(226, 185, 112, 0.22);
  backdrop-filter: blur(14px);
  color: var(--text-inverse);
  font-size: 1.6rem;
}

.card-title {
  margin: 0;
  font-size: 1.9rem;
  line-height: 1;
  font-weight: 500;
}

.card-text,
.card-list,
.contact-card p,
.contact-card li {
  color: rgba(248, 244, 236, 0.74);
}

.feature-card .card-text,
.feature-card .card-link {
  color: rgba(248, 244, 236, 0.84);
}

.card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-inverse);
  font-weight: 700;
}

.card-link::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.story-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) minmax(0, 1.08fr);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--glass-light);
  border: 1px solid var(--glass-line);
  box-shadow:
    inset 0 1px 0 rgba(226, 185, 112, 0.22),
    var(--shadow-md);
  backdrop-filter: var(--glass-blur);
}

.story-card--reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.92fr);
}

.story-card__media img,
.price-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-card__body,
.price-card__body,
.contact-card__body {
  padding: clamp(24px, 3vw, 32px);
}

.story-card__body {
  display: grid;
  align-content: center;
  gap: 14px;
}

.story-card__body p,
.story-card__body ul {
  margin: 0;
  color: rgba(248, 244, 236, 0.74);
}

.price-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
}

.price-card__body {
  display: grid;
  gap: 14px;
  align-content: start;
}

.price-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(226, 185, 112, 0.22), rgba(29, 36, 31, 0.05));
}

.price-card__media img {
  transition: transform var(--transition-slow);
}

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

.price {
  font-size: 2.5rem;
  line-height: 0.9;
}

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

.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(226, 185, 112, 0.2);
  border: 1px solid rgba(226, 185, 112, 0.24);
  box-shadow: inset 0 1px 0 rgba(226, 185, 112, 0.22);
  backdrop-filter: blur(12px);
  color: rgba(248, 244, 236, 0.82);
  font-size: 0.9rem;
}

.dark-band {
  position: relative;
  color: var(--text-inverse);
}

.dark-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(16, 35, 28, 0.96), rgba(38, 62, 49, 0.92)),
    radial-gradient(circle at top left, rgba(182, 147, 98, 0.16), transparent 36%);
}

.dark-band__inner {
  position: relative;
  z-index: 1;
  width: var(--container);
  margin: 0 auto;
  padding: clamp(36px, 6vw, 56px);
  border-radius: var(--radius-xl);
  display: grid;
  gap: 28px;
  overflow: hidden;
  background:
    var(--glass-dark),
    radial-gradient(circle at 12% 0%, rgba(226, 185, 112, 0.18), transparent 32%);
  border: 1px solid var(--glass-line-dark);
  box-shadow:
    inset 0 1px 0 rgba(226, 185, 112, 0.14),
    0 28px 70px rgba(8, 15, 11, 0.3);
  backdrop-filter: var(--glass-blur);
}

.dark-band__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 24px;
}

.dark-band__grid:has(.eyebrow) > div:last-child {
  padding-top: clamp(46px, 5vw, 64px);
}

.bullet-list,
.contact-list,
.note-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.contact-list li::marker,
.bullet-list li::marker,
.note-list li::marker {
  color: var(--accent-warm);
}

.contact-card {
  min-height: 100%;
}

.contact-card__body {
  display: grid;
  gap: 18px;
}

.contact-card__title {
  margin: 0;
  font-size: 1.4rem;
}

.contact-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.contact-inline a {
  font-weight: 700;
  color: var(--text-inverse);
}

.map-frame {
  width: 100%;
  min-height: 420px;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.site-map {
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(255, 251, 245, 0.96), rgba(228, 221, 208, 0.9)),
    radial-gradient(circle at 20% 20%, rgba(109, 138, 104, 0.16), transparent 34%);
  color: rgba(29, 36, 31, 0.68);
}

.site-map.is-loaded {
  display: block;
  background: #e8e1d4;
}

.site-map.is-error {
  display: grid;
}

.site-map ymaps {
  border-radius: inherit;
}

.site-map p {
  margin: 0;
  padding: 24px;
  text-align: center;
}

.site-footer {
  margin-top: clamp(44px, 8vw, 88px);
  padding: 0 0 32px;
  position: relative;
  z-index: 2;
}

.site-footer__shell {
  width: min(1240px, calc(100vw - 24px));
  margin: 0 auto;
  padding: 34px 34px 30px;
  border-radius: 34px;
  background:
    var(--glass-dark),
    radial-gradient(circle at 12% 0%, rgba(226, 185, 112, 0.16), transparent 30%);
  color: var(--text-inverse);
  border: 1px solid var(--glass-line-dark);
  box-shadow:
    inset 0 1px 0 rgba(226, 185, 112, 0.14),
    var(--shadow-lg);
  backdrop-filter: var(--glass-blur);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.95fr) minmax(250px, 0.8fr);
  gap: 28px;
  align-items: center;
}

.site-footer__column {
  display: grid;
  gap: 14px;
}

.site-footer__column--brand {
  justify-items: start;
}

.site-footer__column--contact {
  justify-items: center;
  text-align: center;
}

.site-footer__column--note {
  justify-items: end;
  text-align: right;
}

.site-footer__meta,
.site-footer__small {
  color: rgba(248, 244, 236, 0.72);
  margin: 0;
  line-height: 1.7;
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.socials a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(226, 185, 112, 0.12);
  border: 1px solid rgba(226, 185, 112, 0.16);
  box-shadow: inset 0 1px 0 rgba(226, 185, 112, 0.12);
  backdrop-filter: blur(12px);
  color: var(--text-inverse);
  transition: transform var(--transition), background-color var(--transition);
}

.socials a:hover,
.socials a:focus-visible {
  transform: translateY(-2px);
  background: rgba(182, 147, 98, 0.22);
}

.site-footer__label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(248, 244, 236, 0.52);
}

.site-footer__contact-links {
  display: grid;
  gap: 6px;
  justify-items: center;
}

.site-footer__contact-links a {
  font-weight: 700;
}

.site-footer__legal {
  max-width: 280px;
}

.footer-top-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-inverse);
}

.footer-top-link::after {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal[data-reveal-delay="1"] {
  transition-delay: 90ms;
}

.reveal[data-reveal-delay="2"] {
  transition-delay: 180ms;
}

.reveal[data-reveal-delay="3"] {
  transition-delay: 270ms;
}

.modal-content {
  border: 1px solid var(--glass-line);
  border-radius: 24px;
  overflow: hidden;
  background:
    var(--glass-light),
    radial-gradient(circle at 12% 0%, rgba(226, 185, 112, 0.26), transparent 34%);
  box-shadow:
    inset 0 1px 0 rgba(226, 185, 112, 0.26),
    var(--shadow-lg);
  backdrop-filter: var(--glass-blur);
}

.modal-header,
.modal-body {
  padding: 20px 24px;
}

@media (max-width: 1024px) {
  .site-nav,
  .site-header__cta {
    display: none;
  }

  .theme-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-banner__grid,
  .dark-band__grid,
  .story-grid,
  .event-grid,
  .feature-grid,
  .price-grid,
  .site-footer__grid,
  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-areas:
      "training"
      "certificate"
      "events";
  }

  .story-card,
  .story-card--reverse {
    grid-template-columns: 1fr;
  }

  .story-card--reverse .story-card__media {
    order: -1;
  }

  .site-footer__column--brand,
  .site-footer__column--contact,
  .site-footer__column--note {
    justify-items: center;
    text-align: center;
  }

  .site-footer__legal {
    max-width: 100%;
  }

  .dark-band__grid:has(.eyebrow) > div:last-child {
    padding-top: 0;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 76px;
    --container: min(100% - 24px, 1180px);
    --section-gap: clamp(46px, 12vw, 72px);
    --glass-blur: blur(16px) saturate(132%);
  }

  .site-header {
    padding: 8px 0;
  }

  .site-header__shell,
  .site-footer__shell {
    width: calc(100vw - 20px);
    border-radius: 24px;
  }

  .site-header__shell {
    padding: 9px 10px;
    gap: 10px;
  }

  .brand-link {
    gap: 10px;
  }

  .brand-link img {
    width: 42px;
    height: 42px;
  }

  .brand-wordmark {
    font-size: 1.26rem;
  }

  .brand-caption {
    font-size: 0.58rem;
    letter-spacing: 0.14em;
  }

  .menu-toggle {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
  }

  .mobile-nav {
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    border-radius: 22px;
  }

  .hero-banner {
    min-height: 620px;
    padding: calc(var(--header-height) + 24px) 0 34px;
    align-items: end;
  }

  .hero-banner--short {
    min-height: 560px;
  }

  .hero-banner__inner {
    gap: 20px;
  }

  .hero-copy {
    gap: 14px;
  }

  .hero-title {
    font-size: clamp(2.7rem, 14vw, 4rem);
    line-height: 0.94;
  }

  .section-title {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .section-copy,
  .hero-description {
    font-size: 1rem;
    line-height: 1.68;
  }

  .hero-metrics {
    padding: 20px;
    border-radius: 24px;
  }

  .metric__value {
    font-size: 1.65rem;
  }

  .button-row {
    flex-direction: column;
    align-items: stretch;
  }

  .button-primary,
  .button-secondary,
  .button-ghost {
    width: 100%;
    min-height: 50px;
    padding-inline: 18px;
  }

  .dark-band__inner,
  .section-card,
  .story-card__body,
  .price-card__body,
  .contact-card__body {
    padding: 20px;
    border-radius: 24px;
  }

  .feature-card__body {
    padding: 16px;
  }

  .feature-card__surface {
    padding: 18px 16px 16px;
    border-radius: 22px;
  }

  .site-footer__shell {
    padding: 24px 18px;
  }

  .map-frame {
    min-height: 320px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }

  .theme-toggle {
    width: 46px;
    padding: 0;
    justify-content: center;
  }

  .theme-toggle__text {
    display: none;
  }

  .brand-caption {
    display: none;
  }

  .brand-wordmark {
    font-size: 1.18rem;
  }

  .hero-banner {
    min-height: 560px;
  }

  .hero-banner--short {
    min-height: 500px;
  }

  .hero-title {
    font-size: clamp(2.45rem, 15vw, 3.35rem);
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .card-title {
    font-size: 1.65rem;
  }

  .price {
    font-size: 2rem;
  }

  .site-footer__shell {
    border-radius: 22px;
  }
}

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

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

html[data-theme="light"] body,
html[data-theme="light"] main,
html[data-theme="light"] .section-title,
html[data-theme="light"] .card-title,
html[data-theme="light"] .price,
html[data-theme="light"] .contact-card__title {
  color: var(--text);
}

html[data-theme="light"] .section-copy,
html[data-theme="light"] .card-text,
html[data-theme="light"] .card-list,
html[data-theme="light"] .story-card__body p,
html[data-theme="light"] .story-card__body ul,
html[data-theme="light"] .contact-card p,
html[data-theme="light"] .contact-card li,
html[data-theme="light"] .metric__label {
  color: var(--text-soft);
}

html[data-theme="light"] .button-ghost,
html[data-theme="light"] .card-link,
html[data-theme="light"] .chip,
html[data-theme="light"] .feature-icon,
html[data-theme="light"] .contact-inline a {
  color: var(--accent-strong);
}

html[data-theme="light"] .dark-band,
html[data-theme="light"] .dark-band .section-title,
html[data-theme="light"] .dark-band .hero-description,
html[data-theme="light"] .dark-band .bullet-list,
html[data-theme="light"] .dark-band .note-list,
html[data-theme="light"] .dark-band li,
html[data-theme="light"] .dark-band p {
  color: var(--text-inverse);
}

html[data-theme="light"] .hero-banner,
html[data-theme="light"] .hero-banner .eyebrow,
html[data-theme="light"] .hero-banner .hero-title,
html[data-theme="light"] .hero-banner .hero-description,
html[data-theme="light"] .site-header,
html[data-theme="light"] .site-header a,
html[data-theme="light"] .site-header button,
html[data-theme="light"] .feature-card,
html[data-theme="light"] .feature-card .card-title,
html[data-theme="light"] .feature-card .card-text,
html[data-theme="light"] .feature-card .card-link,
html[data-theme="light"] .hero-metrics,
html[data-theme="light"] .hero-metrics .metric__label,
html[data-theme="light"] .hero-metrics .metric__value {
  color: var(--text-inverse);
}

html[data-theme="light"] .feature-card .feature-icon {
  color: #fff8ed;
  background:
    linear-gradient(180deg, rgba(20, 37, 29, 0.82), rgba(20, 37, 29, 0.58)),
    rgba(226, 185, 112, 0.24);
  border-color: rgba(226, 185, 112, 0.36);
  box-shadow:
    inset 0 1px 0 rgba(226, 185, 112, 0.24),
    0 14px 28px rgba(8, 15, 11, 0.18);
}

.eyebrow,
html[data-theme="light"] .eyebrow,
.hero-banner .eyebrow,
html[data-theme="light"] .hero-banner .eyebrow,
.dark-band .eyebrow,
html[data-theme="light"] .dark-band .eyebrow {
  background: rgba(8, 26, 18, 0.9);
  border-color: rgba(226, 185, 112, 0.18);
  color: #fff8ed;
  box-shadow:
    inset 0 1px 0 rgba(226, 185, 112, 0.16),
    0 12px 26px rgba(8, 15, 11, 0.2);
  backdrop-filter: blur(12px) saturate(130%);
}

html[data-theme="light"] .site-footer,
html[data-theme="light"] .site-footer a,
html[data-theme="light"] .site-footer__meta,
html[data-theme="light"] .site-footer__small,
html[data-theme="light"] .site-footer__label {
  color: var(--text-inverse);
}

html[data-theme="light"] .site-footer__meta,
html[data-theme="light"] .site-footer__small {
  color: rgba(248, 244, 236, 0.72);
}

html[data-theme="light"] .site-footer__label {
  color: rgba(248, 244, 236, 0.52);
}

html[data-theme="light"] .site-footer__shell {
  background:
    linear-gradient(180deg, rgba(20, 37, 29, 0.86), rgba(20, 37, 29, 0.68)),
    radial-gradient(circle at 12% 0%, rgba(226, 185, 112, 0.16), transparent 30%);
  border-color: rgba(226, 185, 112, 0.16);
}
