:root {
  --bg: #090a0d;
  --panel: #14181f;
  --panel-2: #1c2129;
  --ink: #f6f7fb;
  --muted: #9da3af;
  --line: rgb(255 255 255 / 11%);
  --line-strong: rgb(255 255 255 / 16%);
  --accent: #ef7048;
  --accent-2: #b94692;
  --blue: #4d82f3;
  --success: #58d68d;
  --shadow: 0 18px 48px rgb(0 0 0 / 24%);
  --radius-lg: 14px;
  --radius-md: 11px;
  --radius-sm: 8px;
  --container: min(1320px, 92vw);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 0%, rgb(118 83 255 / 11%), transparent 30%),
    radial-gradient(circle at 12% 8%, rgb(239 112 72 / 9%), transparent 24%),
    linear-gradient(180deg, #090a0d 0%, #171b22 48%, #11141a 100%);
  line-height: 1.5;
}

body::before,
body::after { content: none; display: none; }

a { color: inherit; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgb(255 255 255 / 7%);
  background: rgb(10 11 15 / 92%);
  backdrop-filter: blur(18px);
}

.nav-shell {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0;
}

.brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-size: 1.22rem;
  font-weight: 950;
  letter-spacing: .02em;
  white-space: nowrap;
}

.brand-logo {
  width: 34px;
  height: 34px;
  display: block;
  flex: 0 0 auto;
}

.brand-text {
  display: inline-block;
}

.site-menu {
  display: flex;
  flex: 1;
  min-width: 0;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
}

.site-menu a {
  position: relative;
  padding: 22px 0;
  color: #aeb3bf;
  text-decoration: none;
  font-size: .94rem;
  font-weight: 650;
  white-space: nowrap;
}

.site-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 13px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}

.site-menu a:hover,
.site-menu a.active { color: #fff; }

.site-menu a:hover::after,
.site-menu a.active::after { transform: scaleX(1); }

.site-menu .btn-nav {
  margin-left: auto;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  color: #fff;
  background: var(--blue);
}

.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.cart-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgb(255 255 255 / 3%);
  color: #f4f5f8;
  text-decoration: none;
  font-weight: 850;
  white-space: nowrap;
}

.cart-link span {
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  padding: 0 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: .78rem;
}

.cart-link.active { border-color: rgb(239 112 72 / 42%); }

.menu-btn,
.contact-chip { display: none; }

.hero {
  padding: clamp(72px, 8vw, 112px) 0 clamp(56px, 7vw, 88px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .72fr);
  align-items: center;
  gap: clamp(42px, 7vw, 92px);
}

.hero-copy { display: grid; align-content: start; }

h1,
h2,
h3 {
  margin: 0;
  color: #fff;
  letter-spacing: -.025em;
}

h1 {
  max-width: 900px;
  font-size: clamp(3.1rem, 5vw, 6rem);
  font-weight: 620;
  line-height: .98;
}

h2 {
  font-size: clamp(2rem, 3vw, 3.6rem);
  font-weight: 680;
  line-height: 1.05;
}

h3 {
  font-size: clamp(1.2rem, 1.5vw, 1.55rem);
  font-weight: 760;
  line-height: 1.12;
}

.accent-text { color: var(--accent); }

.lead {
  max-width: 660px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
  font-weight: 450;
  line-height: 1.55;
}

.hero-note {
  max-width: 640px;
  margin: 18px 0 0;
  color: #bcc2ce;
  font-size: .96rem;
}

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

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: var(--radius-md);
  padding: 14px 24px;
  color: #fff;
  text-decoration: none;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn:disabled,
.btn[disabled] {
  background: #6f747d;
  box-shadow: none;
  color: #d5dae2;
  cursor: not-allowed;
  opacity: 1;
}

.btn:disabled:hover,
.btn[disabled]:hover {
  transform: none;
}

.btn-primary {
  background: linear-gradient(180deg, #ef774e 0%, #dc5f62 54%, #bf4f91 100%);
  box-shadow: 0 10px 28px rgb(185 70 146 / 16%);
}

.btn-outline {
  border: 1px solid var(--line-strong);
  background: rgb(255 255 255 / 2%);
  color: #e7e9ef;
}

.btn-primary::after,
.catalog-hero .btn::after {
  content: "→";
  font-size: 1.35em;
  line-height: 0;
}

.hero-visual {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 4%), rgb(255 255 255 / 1%)),
    linear-gradient(180deg, rgb(22 26 33 / 98%), rgb(17 20 26 / 100%));
  box-shadow: var(--shadow);
}

.hero-programs,
.hero-proof {
  display: grid;
  gap: 12px;
}

.hero-programs {
  margin-top: 0;
}

.hero-programs article,
.hero-proof article,
.about-facts article,
.journey-step {
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: var(--radius-lg);
  background: rgb(255 255 255 / 2.5%);
}

.program-row {
  padding: 16px 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: start;
}

.program-icon,
.trust-icon,
.benefit-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(255 255 255 / 9%);
  border-radius: 10px;
  background: rgb(255 255 255 / 3%);
  color: var(--accent);
  flex: 0 0 auto;
}

.program-icon svg,
.trust-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.program-body span {
  display: block;
  margin-bottom: 8px;
  color: #878e9b;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.program-body strong {
  color: #f4f5f8;
  font-size: 1.03rem;
  line-height: 1.34;
}

.program-body p {
  margin: 10px 0 0;
  color: #98a0ad;
  font-size: .92rem;
  line-height: 1.5;
}

.program-arrow {
  color: #c5cada;
  font-size: 1.1rem;
  line-height: 1;
  transform: translateY(4px);
}

.hero-proof {
  margin-top: 16px;
  grid-template-columns: repeat(3, 1fr);
}

.hero-proof article {
  min-height: 100%;
  padding: 14px 16px;
}

.proof-icon {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: .92rem;
  letter-spacing: .08em;
}

.hero-proof strong {
  display: block;
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.25;
}

.hero-proof span {
  display: block;
  margin-top: 6px;
  color: #949ba8;
  font-size: .86rem;
  line-height: 1.35;
}

.panel-link,
.link-button,
.content-links a {
  color: var(--accent);
  font-weight: 850;
  text-decoration: none;
}

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

.stats article,
.card,
.course-card,
.admin-panel,
.checkout-panel,
.empty-state,
.info-card,
.form-wrap,
.payment-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgb(255 255 255 / 4%), rgb(255 255 255 / 2%));
  box-shadow: none;
}

.stats article { padding: 20px; }

.stats .big {
  margin: 0;
  color: var(--accent);
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1;
}

.stats p:last-child,
.card p,
.course-card p,
.section p,
.catalog-hero p,
.muted {
  color: var(--muted);
}

.section {
  padding: clamp(34px, 4vw, 56px) 0;
  scroll-margin-top: 96px;
}

.section + .section {
  padding-top: clamp(18px, 2.4vw, 36px);
}

main.container > .section:first-child {
  padding-top: clamp(52px, 7vw, 92px);
  padding-bottom: clamp(18px, 2.6vw, 34px);
}

main.container > .section:first-child + .section {
  padding-top: clamp(18px, 2.6vw, 34px);
}

main.container > .section:first-child h1 {
  max-width: 820px;
  font-size: clamp(2.1rem, 2.9vw, 3.35rem);
  font-weight: 680;
  line-height: 1.06;
  letter-spacing: -.022em;
}

main.container > .section:first-child p {
  max-width: 760px;
  margin: 22px 0 0;
  color: #a9afba;
  font-size: clamp(1rem, 1.05vw, 1.12rem);
  line-height: 1.6;
}

main.container .info-card h2,
main.container .checkout-panel h2,
main.container .admin-panel h2,
main.container .payment-card h2 {
  font-size: clamp(1.45rem, 1.75vw, 2rem);
  line-height: 1.14;
  letter-spacing: -.014em;
  margin-bottom: 18px;
}

.info-card p,
.info-grid p {
  font-size: 1rem;
  line-height: 1.48;
}

.section > h2 {
  margin-bottom: 18px;
}

.section > p {
  max-width: 1120px;
  margin: 0;
}

.section-label {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

#about {
  padding-bottom: 24px;
}

#about + .section {
  padding-top: 24px;
}

.section-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .78fr);
  gap: 22px;
  align-items: start;
}

.about-facts {
  display: grid;
  gap: 14px;
}

.about-facts article {
  padding: 22px 22px;
}

.fact-kicker {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.about-facts strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  line-height: 1.35;
}

.about-facts span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.5;
}

.section-head,
.catalog-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
}

.cards,
.courses-grid,
.shop-grid {
  display: grid;
  gap: 18px;
}

.section > .cards,
.section > .courses-grid,
.section > .shop-grid,
.section > .trust-bar,
.section-head + .courses-grid,
.section-head + .shop-grid {
  margin-top: 26px;
}

.cards { grid-template-columns: repeat(4, 1fr); }
.courses-grid,
.shop-grid { grid-template-columns: repeat(3, 1fr); }

.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.journey-step {
  min-height: 100%;
  padding: 24px;
}

.journey-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: rgb(255 255 255 / 4%);
  color: var(--accent);
  font-size: .83rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.journey-step h3 {
  min-height: 2.35em;
  margin-bottom: 12px;
}

.journey-step p { margin: 0; }

.card,
.info-card,
.form-wrap,
.admin-panel,
.checkout-panel,
.empty-state { padding: 24px; }

.cards .card {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: start;
}

.cards .card h3 {
  min-height: 2.35em;
  display: flex;
  align-items: flex-start;
  margin-bottom: 14px;
}

.cards .card p,
.cards .card ul {
  margin: 0;
  align-self: start;
}

.license-link {
  margin-top: 18px;
  align-self: end;
}

.license-link a {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgb(255 255 255 / 4%);
  color: #e7e9ef;
  text-decoration: none;
}

.license-link a:hover {
  border-color: rgb(239 112 72 / 40%);
  background: rgb(255 255 255 / 6%);
}

.license-link img {
  width: 92px;
  height: auto;
  border-radius: 8px;
  background: #fff;
}

.license-link span {
  font-weight: 850;
  line-height: 1.35;
}

.info-layout .info-card {
  padding-top: 22px;
}

.catalog-hero {
  margin-top: 54px;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgb(255 255 255 / 5%), rgb(255 255 255 / 2%)),
    #1b2028;
}

.catalog-hero h1 {
  max-width: 820px;
  font-size: clamp(2.8rem, 4.5vw, 5.4rem);
}

.catalog-hero p {
  max-width: 860px;
  margin: 18px 0 0;
}

.page-hero {
  margin-top: 54px;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 0% 0%, rgb(239 112 72 / 7%), transparent 28%),
    radial-gradient(circle at 100% 0%, rgb(185 70 146 / 10%), transparent 34%),
    linear-gradient(180deg, rgb(255 255 255 / 3%), rgb(255 255 255 / 1.5%)),
    #151920;
}

.page-hero h1,
.page-hero-org h1 {
  max-width: 980px;
  font-size: clamp(2.6rem, 4.2vw, 4.6rem);
  font-weight: 700;
  line-height: 1.02;
}

.page-hero p:last-child,
.page-hero-org p:last-child {
  max-width: 780px;
  margin-top: 18px;
  color: #a9afba;
  font-size: clamp(1rem, 1.08vw, 1.14rem);
  line-height: 1.58;
}

.page-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .54fr);
  gap: 28px;
  align-items: start;
}

.page-hero-side {
  display: grid;
  gap: 18px;
  align-content: start;
}

.compact-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgb(255 255 255 / 4%), rgb(255 255 255 / 2%));
}

.compact-panel strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  line-height: 1.35;
}

.compact-list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.compact-list li + li {
  margin-top: 10px;
}

.legal-block {
  padding: 28px 0;
}

.legal-block h2 {
  margin-bottom: 14px;
}

.legal-block ul {
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
}

.legal-note {
  padding-top: 18px;
}

.offer-download {
  display: grid;
  gap: 10px;
}

.course-card {
  min-height: 356px;
  padding: 22px;
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  gap: 18px;
  position: relative;
  overflow: hidden;
}

[data-cart] > .empty-state {
  max-width: 760px;
}

.course-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, rgb(239 112 72 / 0%) 0%, rgb(239 112 72 / 70%) 22%, rgb(185 70 146 / 70%) 78%, rgb(185 70 146 / 0%) 100%);
}

.course-copy {
  max-width: none;
  display: block;
}

.tag {
  margin: 0;
  color: #cbd1dd;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .82;
}

.course-card-badge {
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: 999px;
  background: rgb(255 255 255 / 3%);
}

.course-copy h3 { margin-top: 2px; }
.course-copy p { margin-top: 16px; }

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: #8f96a3;
  font-size: .92rem;
  font-weight: 700;
}

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

.course-meta span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgb(255 255 255 / 22%);
}

.course-buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.course-buy strong {
  color: #fff;
  font-size: 1.55rem;
}

.course-buy .btn {
  min-height: 44px;
  padding: 11px 16px;
  border-radius: var(--radius-md);
}

.info-card > p + p {
  margin-top: 14px;
}

.trust-bar ul,
.card ul {
  color: var(--muted);
  padding-left: 22px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.trust-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgb(255 255 255 / 4%), rgb(255 255 255 / 2%));
}

.trust-item strong,
.form-benefits strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  line-height: 1.36;
}

.trust-item p,
.form-benefits span {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.52;
}

.lead-form,
.admin-list {
  display: grid;
  gap: 14px;
}

#order .form-wrap {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 28px;
}

#order .form-intro-panel h2 {
  font-size: clamp(2.1rem, 3vw, 3.2rem);
}

.form-split {
  display: grid;
  grid-template-columns: minmax(320px, .88fr) minmax(420px, 1.12fr);
  gap: 28px;
  align-items: start;
}

.form-intro-panel,
.form-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgb(255 255 255 / 4%), rgb(255 255 255 / 2%));
}

.form-card {
  background: linear-gradient(180deg, rgb(255 255 255 / 3%), rgb(255 255 255 / 1.5%));
  box-shadow: var(--shadow);
}

.form-card-head {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgb(255 255 255 / 7%);
}

.form-card-head h3 {
  font-size: 1.52rem;
  line-height: 1.12;
}

.form-card-head p {
  max-width: 620px;
  margin: 10px 0 0;
  color: #9ca3b0;
}

#order .lead-form {
  margin-top: 0;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.form-intro-panel > p:not(.section-label) {
  max-width: 400px;
  margin-top: 16px;
}

.form-benefits {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.form-benefits article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid rgb(255 255 255 / 7%);
}

.form-benefits article:first-child {
  border-top: 0;
  padding-top: 0;
}

.benefit-icon {
  font-size: .82rem;
  font-weight: 900;
}

.lead-form label,
.checkout-panel label {
  display: grid;
  gap: 7px;
  color: #e7e9ef;
  font-weight: 750;
}

#order .lead-form label:not(.check) {
  gap: 9px;
  font-size: .96rem;
  letter-spacing: .01em;
  color: #dce1ea;
}

.lead-form input,
.lead-form textarea,
.lead-form select,
.checkout-panel input,
.admin-shell textarea,
.admin-shell select {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: 13px 14px;
  background: #2a2f37;
  color: #fff;
  font: inherit;
}

#order .lead-form input {
  min-height: 56px;
  padding: 15px 16px;
}

#order .lead-form textarea {
  min-height: 132px;
  resize: vertical;
  padding: 15px 16px;
  line-height: 1.5;
}

#order .lead-form .check,
#order #formStatus,
#order .lead-form button {
  grid-column: 1 / -1;
}

.field-span,
.form-consents,
.form-actions {
  grid-column: 1 / -1;
}

.form-consents {
  display: grid;
  gap: 14px;
  padding-top: 6px;
}

#order .form-consents .check {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin: 0;
}

#order .form-consents .check input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: #ef7048;
}

#order .form-consents .check span {
  display: block;
  color: #e1e6ef;
  font-size: .95rem;
  line-height: 1.5;
  max-width: 44ch;
}

.form-actions {
  display: grid;
  gap: 14px;
  justify-items: start;
  padding-top: 6px;
}

#order .lead-form .btn {
  width: auto;
  min-width: 260px;
  justify-self: start;
  padding-inline: 28px;
  flex: 0 0 auto;
}

.form-footnote {
  margin: 0;
  color: #8f97a4;
  font-size: .9rem;
  line-height: 1.5;
  max-width: 520px;
}

.lead-form input:focus,
.lead-form textarea:focus,
.lead-form select:focus,
.checkout-panel input:focus {
  outline: 3px solid rgb(239 112 72 / 16%);
  border-color: rgb(239 112 72 / 55%);
}

.lead-form .check,
.checkout-panel .check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.lead-form .check input,
.checkout-panel .check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 18px;
}

.lead-form .check span,
.checkout-panel .check span {
  display: block;
  line-height: 1.5;
}

.lead-form .check a,
.checkout-panel .check a {
  color: var(--accent);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.offer-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.offer-links a {
  color: var(--accent);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.offer-actions {
  display: grid;
  gap: 10px;
}

#formStatus,
#checkoutStatus,
#adminLoginStatus {
  min-height: 1.3em;
  margin: 0;
  color: var(--accent);
  font-weight: 800;
}

.cart-layout,
.info-layout {
  display: grid;
  grid-template-columns: 1.35fr .8fr;
  gap: 20px;
  align-items: start;
}

.admin-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.cart-row,
.admin-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgb(255 255 255 / 3%);
}

.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 5px;
}

.qty-control button {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: var(--radius-sm);
  background: rgb(255 255 255 / 8%);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}

.checkout-panel {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgb(255 255 255 / 4%), rgb(255 255 255 / 2%));
  box-shadow: var(--shadow);
}

.checkout-panel > strong,
.payment-total strong {
  font-size: 2rem;
}

.price-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgb(255 255 255 / 4%), rgb(255 255 255 / 2%));
}

.price-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.price-table th,
.price-table td {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.price-table th {
  color: #a9afba;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.price-table tr:last-child td {
  border-bottom: 0;
}

.price-table td strong {
  color: #fff;
}

.price-table td:first-child {
  max-width: 340px;
}

.price-table td:first-child span {
  display: block;
  margin-top: 6px;
  color: #a9afba;
  font-size: .9rem;
  line-height: 1.45;
}

.btn-table {
  min-height: 42px;
  padding: 10px 16px;
  white-space: nowrap;
}

.admin-login-form { max-width: 460px; }

.upload-box {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.payment-shell {
  min-height: 62vh;
  display: grid;
  place-items: center;
}

.payment-card {
  width: min(720px, 100%);
  padding: 30px;
  display: grid;
  gap: 16px;
}

.payment-lines {
  display: grid;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.payment-lines div,
.payment-total {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.payment-documents {
  display: grid;
  gap: 8px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.success-state {
  border-color: rgb(88 214 141 / 44%);
  background: rgb(88 214 141 / 10%);
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.info-grid p {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgb(255 255 255 / 3%);
}

.footer-premium {
  display: grid;
  grid-template-columns: minmax(220px, .9fr) minmax(0, 1.3fr);
  gap: 40px;
  margin-top: 48px;
  padding: 32px 0 28px;
  border-top: 1px solid var(--line);
}

.footer-brand p {
  max-width: 320px;
  margin: 18px 0 0;
  color: var(--muted);
}

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

.footer-columns strong {
  display: block;
  margin-bottom: 16px;
  color: #fff;
  font-size: .95rem;
}

.footer-columns a {
  display: block;
  margin-bottom: 12px;
  color: #cdd2dd;
  text-decoration: none;
  line-height: 1.45;
}

.footer-columns a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 0 28px;
  border-top: 1px solid rgb(255 255 255 / 6%);
  color: #8f97a4;
  font-size: .92rem;
}

.footer-legal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .92fr);
  gap: 28px;
  padding: 22px 0 34px;
  border-top: 1px solid rgb(255 255 255 / 6%);
  color: #8f97a4;
  font-size: .82rem;
  line-height: 1.55;
}

.footer-legal strong {
  display: block;
  margin-bottom: 10px;
  color: #dce1ea;
  font-size: .92rem;
}

.footer-legal p {
  margin: 0 0 8px;
}

.footer-legal a {
  color: #cdd2dd;
  text-decoration: none;
}

.footer-legal a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-official-links {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.footer-official-links a {
  color: #dce1ea;
  font-weight: 760;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 92px;
  z-index: 70;
  max-width: min(360px, calc(100vw - 36px));
  padding: 13px 16px;
  border-radius: 14px;
  background: #262b35;
  color: #fff;
  box-shadow: var(--shadow);
  font-weight: 800;
}

.cookie-banner {
  position: fixed;
  left: max(18px, calc((100vw - 1320px) / 2));
  right: max(18px, calc((100vw - 1320px) / 2));
  bottom: 18px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgb(18 21 27 / 94%);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.cookie-banner p {
  margin: 0;
  color: #dbe0ea;
  font-weight: 650;
}

.cookie-banner a { color: var(--accent); font-weight: 850; }

.cookie-actions {
  margin-left: auto;
  display: flex;
  gap: 10px;
}

@media (max-width: 1100px) {
  .cards,
  .courses-grid,
  .shop-grid,
  .stats,
  .hero-grid,
  .hero-proof,
  .section-split,
  .journey-grid,
  .trust-grid,
  .form-split,
  .page-hero-split,
  .footer-premium,
  .footer-columns,
  .footer-legal,
  .cart-layout,
  .info-layout,
  .admin-layout,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .hero { padding: 56px 0; }
  .hero-visual { max-width: 620px; }
  .section-head,
  .catalog-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .menu-btn {
    order: 3;
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgb(255 255 255 / 5%);
  }

  .menu-btn span {
    width: 22px;
    height: 2px;
    display: block;
    background: #fff;
  }

  .site-menu {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #141820;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    z-index: 50;
  }

  .site-menu.mobile-open,
  .site-menu.is-open { display: flex; }

  .site-menu a { padding: 10px 0; white-space: normal; }
  .site-menu .btn-nav { margin-left: 0; }
  .nav-actions { margin-left: auto; order: 2; }
  .checkout-panel { position: static; }
  .footer-premium { gap: 28px; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .form-footnote { max-width: none; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1180px); }
  .nav-shell { min-height: 72px; gap: 12px; }
  .brand { font-size: 1rem; }
  .brand-logo { width: 30px; height: 30px; }
  .cart-link { padding: 0 12px; }
  h1,
  .catalog-hero h1 { font-size: clamp(2.4rem, 12vw, 4rem); }
  .hero-visual,
  .catalog-hero,
  .page-hero { padding: 28px; }
  .page-hero h1,
  .page-hero-org h1 { font-size: clamp(2.15rem, 10vw, 3.5rem); }
  .hero-programs article,
  .hero-proof article,
  .about-facts article,
  .journey-step { padding: 18px; }
  .program-row,
  .trust-item { grid-template-columns: 1fr; }
  .program-arrow { display: none; }
  .form-intro-panel,
  .form-card,
  #order .form-wrap { padding: 22px; }
  #order .lead-form { grid-template-columns: 1fr; gap: 14px; }
  #order .lead-form .btn {
    width: 100%;
    min-width: 0;
    justify-self: stretch;
  }
  .course-buy,
  .cart-row,
  .payment-lines div,
  .payment-total {
    align-items: stretch;
    flex-direction: column;
    grid-template-columns: 1fr;
  }
  .course-buy .btn { width: 100%; }
  .cookie-banner { flex-direction: column; align-items: stretch; }
  .cookie-actions { margin-left: 0; }
  .cookie-actions .btn { flex: 1; }
  .footer-bottom { padding-bottom: 22px; }
  .footer-legal { padding-bottom: 28px; }
  .license-link a { grid-template-columns: 76px minmax(0, 1fr); }
  .license-link img { width: 76px; }
}
