/* =========================================================
   Профессиональное ИИ — site styles
   ========================================================= */

:root {
  --bg: #f3f0e8;
  --surface: #fbfaf6;
  --surface-2: #ece8de;
  --ink: #131a16;
  --muted: #59655e;
  --line: #d8d2c4;
  --primary: #133c32;
  --primary-2: #1b5144;
  --accent: #e8642e;
  --accent-ink: #b8431a;
  --accent-soft: #f6d9c9;
  --white: #ffffff;
  --footer: #101713;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px rgba(19, 26, 22, 0.08);
  --shadow-soft: 0 8px 24px rgba(19, 26, 22, 0.06);
  --font-head: "Unbounded", "Arial Black", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

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

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

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

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

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
ul,
ol {
  margin: 0;
}

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--primary);
  color: var(--white);
  border-radius: 999px;
  font-weight: 700;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(243, 240, 232, 0.84);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(243, 240, 232, 0.94);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  color: var(--primary);
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1;
}

.brand-ai {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.site-nav a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  padding: 6px 0;
  position: relative;
  transition: color 0.2s var(--ease);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s var(--ease);
}

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

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: background-color 0.22s var(--ease), border-color 0.22s var(--ease),
    color 0.22s var(--ease), transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

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

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

.btn--primary {
  background: var(--primary);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--primary-2);
  box-shadow: 0 10px 24px rgba(19, 60, 50, 0.2);
}

.btn--accent {
  background: var(--accent);
  color: #1a120e;
}

.btn--accent:hover {
  background: #f17843;
  box-shadow: 0 10px 24px rgba(232, 100, 46, 0.25);
}

.btn--outline {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn--outline:hover {
  border-color: var(--primary);
  background: var(--surface);
}

.header-cta {
  min-height: 44px;
  padding: 0 20px;
  font-size: 13px;
  flex-shrink: 0;
}

.menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  align-items: center;
  justify-content: center;
}

.menu-btn-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 18px;
}

.menu-btn-lines span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.menu-btn[aria-expanded="true"] .menu-btn-lines span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] .menu-btn-lines span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-menu {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 18px 32px 26px;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: var(--container);
  margin: 0 auto;
}

.mobile-nav > a:not(.btn) {
  display: flex;
  align-items: center;
  min-height: 48px;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}

.mobile-cta {
  margin-top: 18px;
}

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

.hero {
  position: relative;
  padding: 78px 0 104px;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(19, 26, 22, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 26, 22, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--accent-ink);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.4;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}

.eyebrow--light {
  color: var(--accent-soft);
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 4.5vw, 4.35rem);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.035em;
  max-width: 15ch;
}

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

.lead {
  margin-top: 26px;
  max-width: 54ch;
  color: #414d46;
  font-size: 17.5px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 34px;
}

.link-arrow,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary);
  transition: color 0.2s var(--ease), gap 0.2s var(--ease);
}

.link-arrow svg,
.text-link svg {
  width: 17px;
  height: 17px;
  transition: transform 0.2s var(--ease);
}

.link-arrow:hover,
.text-link:hover {
  color: var(--accent-ink);
}

.link-arrow:hover svg,
.text-link:hover svg {
  transform: translateX(3px);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  max-width: 590px;
}

.hero-points li {
  position: relative;
  padding-left: 20px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 10px;
  height: 10px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
}

.hero-visual {
  position: relative;
  padding: 26px 0;
  justify-self: end;
  width: 100%;
  max-width: 440px;
}

.hero-orbit {
  position: absolute;
  inset: -30px -34px;
  border: 1px dashed rgba(19, 60, 50, 0.18);
  border-radius: 50%;
  pointer-events: none;
}

.dash {
  position: relative;
  z-index: 2;
  background: var(--primary);
  color: #f3f0e8;
  border-radius: 26px;
  padding: 26px;
  box-shadow: 0 28px 70px rgba(19, 60, 50, 0.28);
  overflow: hidden;
}

.dash::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -90px;
  top: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 100, 46, 0.32), transparent 70%);
  pointer-events: none;
}

.dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.dash-title {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(243, 240, 232, 0.62);
}

.dash-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid rgba(243, 240, 232, 0.18);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(243, 240, 232, 0.8);
}

.dash-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9fe870;
}

.dash-balance {
  position: relative;
  z-index: 1;
  margin-top: 34px;
}

.dash-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: rgba(243, 240, 232, 0.6);
}

.dash-amount {
  display: block;
  margin-top: 4px;
  font-family: var(--font-head);
  font-size: 52px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.dash-bar {
  height: 6px;
  margin-top: 22px;
  background: rgba(243, 240, 232, 0.14);
  border-radius: 999px;
  overflow: hidden;
}

.dash-bar span {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: inherit;
}

.dash-hint {
  display: block;
  margin-top: 9px;
  font-size: 11px;
  color: rgba(243, 240, 232, 0.6);
}

.dash-list {
  position: relative;
  z-index: 1;
  margin-top: 26px;
}

.dash-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid rgba(243, 240, 232, 0.1);
  font-size: 12.5px;
  color: rgba(243, 240, 232, 0.85);
}

.dash-minus {
  color: #f0a083;
  font-variant-numeric: tabular-nums;
}

.dash-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(243, 240, 232, 0.14);
  font-size: 12px;
  color: rgba(243, 240, 232, 0.6);
}

.dash-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--accent);
  color: #1a120e;
  font-size: 10.5px;
  font-weight: 800;
}

.hero-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.hero-chip--one {
  top: 2px;
  left: -18px;
  transform: rotate(-4deg);
}

.hero-chip--two {
  bottom: 2px;
  right: -12px;
  transform: rotate(3deg);
}

/* ---------- Sections ---------- */

.section {
  padding: 96px 0;
}

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

.section-head {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-head h2 {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3vw, 2.7rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.section-sub {
  margin-top: 16px;
  max-width: 62ch;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.65;
}

.section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  max-width: none;
}

.section-head--split > div {
  max-width: 620px;
}

.section-sub--right {
  max-width: 400px;
  margin-top: 0;
  padding-bottom: 4px;
  font-size: 15px;
}

/* ---------- Directions ---------- */

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

.direction-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 288px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.direction-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: var(--shadow-soft);
}

.direction-num {
  position: absolute;
  top: 24px;
  right: 26px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #9aa39d;
}

.direction-icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  color: var(--primary);
}

.direction-icon svg {
  width: 34px;
  height: 34px;
}

.direction-card h3 {
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.direction-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.62;
}

.direction-card .text-link {
  margin-top: auto;
  padding-top: 28px;
}

/* ---------- Plans ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.plan,
.credit-card,
.pack-card,
.direction-card,
.training-card {
  min-width: 0;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.plan--featured {
  background: var(--primary);
  border-color: var(--primary);
  color: #f3f0e8;
  box-shadow: var(--shadow);
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 30px;
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: var(--accent);
  color: #1a120e;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.plan-head h3 {
  font-family: var(--font-head);
  font-size: 23px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.plan-desc {
  margin-top: 9px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.plan--featured .plan-desc {
  color: rgba(243, 240, 232, 0.68);
}

.plan-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 4px;
}

.plan-amount {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 2.2vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.plan-period {
  font-size: 12.5px;
  color: var(--muted);
}

.plan--featured .plan-period {
  color: rgba(243, 240, 232, 0.6);
}

.features {
  display: grid;
  gap: 11px;
  margin: 24px 0 30px;
}

.features li {
  position: relative;
  padding-left: 25px;
  font-size: 13.5px;
  line-height: 1.5;
  color: #35423b;
}

.features li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 4px;
  width: 6px;
  height: 11px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(42deg);
}

.plan--featured .features li {
  color: rgba(243, 240, 232, 0.86);
}

.plan--featured .features li::before {
  border-color: var(--accent-soft);
}

.plan-btn {
  width: 100%;
  margin-top: auto;
}

.fine-print {
  margin-top: 22px;
  text-align: center;
  color: var(--muted);
  font-size: 11.5px;
}

/* ---------- Credits ---------- */

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

.credit-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.credit-amount {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 2.5vw, 2.25rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}

.credit-amount span {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: 2px;
}

.credit-price {
  margin-top: 10px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.credit-note {
  margin: 10px 0 24px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.credit-btn {
  width: 100%;
  margin-top: auto;
}

/* ---------- Packages ---------- */

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

.pack-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.pack-card--featured {
  background: #fff8f3;
  border-color: #e9b79f;
}

.pack-top {
  display: block;
}

.pack-top h3 {
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.pack-duration {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.pack-desc {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.pack-price {
  margin-top: 20px;
  font-family: var(--font-head);
  font-size: clamp(1.55rem, 2vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.pack-card .features {
  margin: 22px 0 28px;
}

.pack-btn {
  width: 100%;
  margin-top: auto;
}

/* ---------- Training ---------- */

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

.training-card {
  display: flex;
  flex-direction: column;
  padding-top: 22px;
  border-top: 2px solid var(--ink);
}

.training-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.training-price {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.training-format {
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
}

.training-card h3 {
  margin-top: 18px;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.01em;
}

.training-desc {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.training-card .features {
  margin: 20px 0 26px;
}

.training-btn {
  align-self: flex-start;
  margin-top: auto;
}

/* ---------- Payment ---------- */

.section--payment {
  background: var(--primary);
  color: #f3f0e8;
}

.section--payment .section-head h2 {
  color: #f3f0e8;
}

.section--payment .section-sub {
  color: rgba(243, 240, 232, 0.68);
}

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

.step {
  padding-top: 22px;
  border-top: 1px solid rgba(243, 240, 232, 0.2);
}

.step-num {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--accent-soft);
}

.step h3 {
  margin-top: 16px;
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.25;
}

.step p {
  margin-top: 12px;
  color: rgba(243, 240, 232, 0.68);
  font-size: 14px;
  line-height: 1.65;
}

.payment-note {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-top: 46px;
  padding: 24px;
  border: 1px solid rgba(243, 240, 232, 0.18);
  border-radius: var(--radius-md);
  background: rgba(243, 240, 232, 0.04);
}

.payment-note-mark {
  display: inline-flex;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--accent-soft);
}

.payment-note-mark svg {
  width: 28px;
  height: 28px;
}

.payment-note h3 {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.35;
}

.payment-note p {
  margin-top: 7px;
  color: rgba(243, 240, 232, 0.64);
  font-size: 13.5px;
  line-height: 1.6;
}

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

.faq-wrap {
  max-width: 940px;
}

.faq {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.4;
}

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

.faq-item summary:hover {
  color: var(--accent-ink);
}

.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.2s var(--ease);
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  padding: 0 0 24px;
  max-width: 72ch;
}

.faq-answer p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

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

.section--cta {
  padding-top: 0;
}

.cta-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 56px;
  border-radius: 28px;
  background: var(--ink);
  color: #f3f0e8;
  overflow: hidden;
}

.cta-panel::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -140px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 100, 46, 0.3), transparent 68%);
  pointer-events: none;
}

.cta-copy {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.cta-copy h2 {
  font-family: var(--font-head);
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.02em;
}

.cta-copy p:not(.eyebrow) {
  margin-top: 16px;
  color: rgba(243, 240, 232, 0.62);
  font-size: 15px;
  line-height: 1.6;
}

.cta-btn {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

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

.site-footer {
  background: var(--footer);
  color: #e7e2d8;
  padding: 64px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.65fr) minmax(0, 0.85fr);
  gap: 48px;
}

.brand--footer {
  color: #f3f0e8;
}

.brand--footer .brand-name {
  color: rgba(243, 240, 232, 0.56);
}

.footer-note {
  margin-top: 18px;
  max-width: 330px;
  color: rgba(243, 240, 232, 0.56);
  font-size: 13.5px;
  line-height: 1.6;
}

.footer-title {
  margin-bottom: 16px;
  color: rgba(243, 240, 232, 0.56);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  margin: 9px 0;
  color: #e7e2d8;
  font-size: 14px;
  transition: color 0.2s var(--ease);
}

.footer-col a:hover {
  color: var(--accent-soft);
}

.footer-small {
  margin-top: 18px;
  color: rgba(243, 240, 232, 0.56);
  font-size: 12px;
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 52px;
  padding-top: 20px;
  border-top: 1px solid rgba(243, 240, 232, 0.12);
  color: rgba(243, 240, 232, 0.56);
  font-size: 11.5px;
}

.platform-signature a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(243, 240, 232, 0.3);
  text-underline-offset: 3px;
}

.platform-signature a:hover {
  color: var(--accent-soft);
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js-ready [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  }

  .js-ready [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

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

@media (max-width: 1060px) {
  .site-nav {
    gap: 18px;
  }

  .header-cta {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .hero h1 {
    max-width: 18ch;
  }

  .hero-visual {
    justify-self: start;
    max-width: 520px;
  }

  .hero-orbit {
    inset: -22px -18px;
  }

  .plans,
  .packages,
  .credits,
  .training,
  .directions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plans .plan:last-child,
  .credits .credit-card:last-child,
  .packages .pack-card:last-child,
  .training .training-card:last-child,
  .directions .direction-card:last-child {
    grid-column: span 1;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  body.menu-open {
    overflow: hidden;
  }

  .site-nav {
    display: none;
  }

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

  .header-inner {
    min-height: 70px;
  }

  .section {
    padding: 72px 0;
  }

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

  .section-sub--right {
    max-width: 62ch;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .step {
    padding: 22px 0;
    border-top: 1px solid rgba(243, 240, 232, 0.2);
  }

  .step:first-child {
    border-top: none;
    padding-top: 0;
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 32px;
    gap: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: auto;
  }
}

@media (max-width: 700px) {
  .container {
    padding: 0 20px;
  }

  .mobile-menu {
    padding: 14px 20px 24px;
  }

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

  .hero h1 {
    font-size: clamp(2rem, 9.2vw, 2.6rem);
    max-width: 100%;
  }

  .lead {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .link-arrow {
    justify-content: center;
  }

  .hero-points {
    gap: 9px 16px;
  }

  .hero-visual {
    max-width: none;
  }

  .dash {
    padding: 22px;
    border-radius: 22px;
  }

  .dash-amount {
    font-size: 44px;
  }

  .hero-chip--one {
    left: -4px;
    top: -12px;
  }

  .hero-chip--two {
    right: -4px;
    bottom: -12px;
  }

  .directions,
  .plans,
  .credits,
  .packages,
  .training {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 60px 0;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .section-head h2 {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  .direction-card {
    min-height: 0;
  }

  .plan,
  .pack-card,
  .credit-card {
    padding: 24px;
  }

  .plan--featured {
    margin-top: 6px;
  }

  .training {
    gap: 28px;
  }

  .payment-note {
    flex-direction: column;
    gap: 12px;
    padding: 20px;
  }

  .cta-panel {
    padding: 32px 24px;
    border-radius: 22px;
  }

  .cta-btn {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 400px) {
  .brand-name {
    display: none;
  }

  .hero-chip {
    font-size: 10.5px;
  }
}

/* ---------- Checkout ---------- */

.checkout {
  padding: 48px 0 96px;
}

.checkout-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s var(--ease);
}

.checkout-back:hover {
  color: var(--accent-ink);
}

.checkout-back svg {
  width: 17px;
  height: 17px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: start;
}

.checkout-summary {
  position: sticky;
  top: 100px;
  padding: 34px;
  border-radius: 26px;
  background: var(--primary);
  color: #f3f0e8;
  overflow: hidden;
}

.checkout-summary::after {
  content: "";
  position: absolute;
  right: -110px;
  top: -120px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 100, 46, 0.28), transparent 70%);
  pointer-events: none;
}

.summary-content {
  position: relative;
  z-index: 1;
}

.summary-kind {
  margin-bottom: 14px;
  color: var(--accent-soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.summary-title {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.summary-sub {
  margin-top: 12px;
  color: rgba(243, 240, 232, 0.68);
  font-size: 14px;
  line-height: 1.6;
}

.summary-price {
  margin-top: 24px;
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}

.summary-meta {
  margin-top: 26px;
  padding-top: 8px;
  border-top: 1px solid rgba(243, 240, 232, 0.16);
}

.summary-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
  color: rgba(243, 240, 232, 0.68);
  font-size: 13px;
}

.summary-row strong {
  color: #f3f0e8;
  font-weight: 700;
  text-align: right;
}

.summary-row--total {
  margin-top: 6px;
  padding-top: 15px;
  border-top: 1px solid rgba(243, 240, 232, 0.16);
  color: #f3f0e8;
  font-size: 14px;
}

.summary-row--total strong {
  font-size: 18px;
}

.summary-loading {
  color: rgba(243, 240, 232, 0.68);
  font-size: 14px;
}

.checkout-points {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(243, 240, 232, 0.16);
}

.checkout-points li {
  position: relative;
  padding-left: 21px;
  color: rgba(243, 240, 232, 0.68);
  font-size: 12px;
  line-height: 1.45;
}

.checkout-points li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 3px;
  width: 6px;
  height: 11px;
  border-right: 2px solid var(--accent-soft);
  border-bottom: 2px solid var(--accent-soft);
  transform: rotate(42deg);
}

.checkout-main {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
}

.checkout-main h1 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.checkout-lead {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.checkout-form {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.field input {
  width: 100%;
  height: 52px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field input::placeholder {
  color: #9aa39d;
}

.field input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(19, 60, 50, 0.12);
}

.field input[aria-invalid="true"] {
  border-color: #b42318;
}

.field-error {
  margin-top: 6px;
  color: #b42318;
  font-size: 12.5px;
  line-height: 1.45;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #35423b;
  font-size: 13.5px;
  line-height: 1.5;
  cursor: pointer;
}

.consent input {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  accent-color: var(--primary);
}

.form-error {
  padding: 12px 14px;
  border: 1px solid #f1c1bb;
  border-radius: 12px;
  background: #fdf0ee;
  color: #8a1c12;
  font-size: 13px;
  line-height: 1.5;
}

.checkout-submit {
  position: relative;
  width: 100%;
  min-height: 54px;
}

.btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: checkout-spin 0.8s linear infinite;
}

.checkout-submit.is-loading .btn-spinner {
  display: inline-block;
}

.checkout-submit.is-loading .btn-label {
  opacity: 0.75;
}

@keyframes checkout-spin {
  to {
    transform: rotate(360deg);
  }
}

.checkout-fine {
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.55;
}

.status-card {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.status-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13.5px;
}

.status-row:first-child {
  padding-top: 0;
  border-top: none;
}

.status-row strong {
  color: var(--ink);
  text-align: right;
}

.status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.checkout-empty {
  padding: 20px 0;
}

.checkout-empty .btn {
  margin-top: 24px;
}

@media (max-width: 900px) {
  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .checkout-summary {
    position: static;
  }
}

@media (max-width: 600px) {
  .checkout {
    padding: 32px 0 64px;
  }

  .checkout-main,
  .checkout-summary {
    padding: 24px;
    border-radius: 20px;
  }

  .summary-price {
    font-size: 34px;
  }

  .status-actions {
    flex-direction: column;
  }

  .status-actions .btn {
    width: 100%;
  }
}
