:root {
  --bg: #0b1220;
  --bg-soft: #101a31;
  --surface: #ffffff;
  --surface-2: #f4f7fb;
  --surface-3: #e9eff8;
  --text: #0f172a;
  --text-soft: #5b6780;
  --text-light: #b7c3d9;
  --line: rgba(15, 23, 42, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --brand: #2563eb;
  --brand-2: #38bdf8;
  --brand-3: #7dd3fc;
  --accent: #14b8a6;
  --danger: #dc2626;
  --success: #16a34a;
  --shadow-sm: 0 8px 30px rgba(10, 20, 40, 0.06);
  --shadow-md: 0 18px 60px rgba(10, 20, 40, 0.10);
  --shadow-xl: 0 30px 80px rgba(10, 20, 40, 0.18);
  --radius: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1200px;
  --header-h: 88px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 32%),
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.12), transparent 30%),
    linear-gradient(180deg, #f9fbff 0%, #ffffff 36%, #f7faff 100%);
  min-width: 320px;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
main { overflow: hidden; }

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

.site-shell {
  min-height: 100vh;
  padding-top: var(--header-h);
}

.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 1000;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, background 0.25s ease;
}
.header.is-hidden { transform: translateY(-100%); }
.header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 100%;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.brand__mark {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  flex: 0 0 52px;
}
.brand__text {
  display: grid;
  gap: 3px;
}
.brand__text strong {
  font-size: 1rem;
  line-height: 1.1;
}
.brand__text small {
  color: var(--text-soft);
  font-size: 0.77rem;
}

.nav--desktop {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav--desktop a {
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s ease;
}
.nav--desktop a:hover,
.nav--desktop a.is-active {
  color: var(--text);
}
.header__cta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}
.burger span,
.burger span::before,
.burger span::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  position: relative;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.burger span::before { position: absolute; top: -7px; left: 0; }
.burger span::after { position: absolute; top: 7px; left: 0; }
.burger.is-open span { background: transparent; }
.burger.is-open span::before { top: 0; transform: rotate(45deg); }
.burger.is-open span::after { top: 0; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: rgba(255,255,255,0.98);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  border-top: 1px solid var(--line);
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu__inner {
  display: grid;
  gap: 12px;
  padding-block: 18px 28px;
}
.mobile-menu__inner a:not(.btn) {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.96rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: 0.7; cursor: default; transform: none; }
.btn--small { min-height: 44px; padding-inline: 16px; font-size: 0.88rem; }
.btn--block { width: 100%; }
.btn--primary {
  color: white;
  background: linear-gradient(135deg, var(--brand), #1d4ed8);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.24);
}
.btn--ghost {
  color: var(--text);
  background: rgba(255,255,255,0.85);
  border-color: rgba(15, 23, 42, 0.1);
}
.btn--ghost:hover {
  border-color: rgba(37, 99, 235, 0.25);
  color: var(--brand);
}

.section {
  padding: 90px 0;
}
.section--soft {
  background: linear-gradient(180deg, rgba(232, 240, 252, 0.55) 0%, rgba(255, 255, 255, 0) 100%);
}
.section--dark {
  background:
    radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.18), transparent 25%),
    radial-gradient(circle at 80% 40%, rgba(20, 184, 166, 0.16), transparent 25%),
    linear-gradient(180deg, #0b1220 0%, #0f1a31 100%);
  color: white;
}
.section--cta {
  padding-top: 0;
  padding-bottom: 100px;
}

.page-hero,
.hero {
  position: relative;
}
.hero--home {
  padding: 74px 0 66px;
}
.page-hero {
  padding: 76px 0 28px;
}
.hero__grid,
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 38px;
  align-items: center;
}
.split--reverse { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); }
.page-hero .container {
  text-align: center;
}
.hero__content h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(2.25rem, 6vw, 4.65rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.hero__content h1 span {
  color: var(--brand);
}
.lead {
  margin: 18px 0 0;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.72;
}
.lead--narrow {
  max-width: 860px;
  margin-inline: auto;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.10);
  color: var(--brand);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  margin-bottom: 18px;
}
.hero__actions,
.stack-actions,
.cta-box__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero__actions { margin-top: 28px; }

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.metric {
  min-width: 150px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-sm);
}
.metric strong {
  display: block;
  font-size: 1.05rem;
}
.metric span {
  display: block;
  margin-top: 5px;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.hero__visual {
  position: relative;
}
.browser-card,
.panel,
.form-card,
.card,
.case-card,
.contact-tile,
.cta-box {
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-md);
}
.browser-card {
  border-radius: 28px;
  overflow: hidden;
}
.browser-card__top {
  display: flex;
  gap: 8px;
  padding: 16px 18px;
  background: #eef4ff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.browser-card__top span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #c7d7f6;
}
.browser-card__top span:nth-child(1) { background: #f97373; }
.browser-card__top span:nth-child(2) { background: #facc15; }
.browser-card__top span:nth-child(3) { background: #34d399; }

.browser-card__body {
  padding: 24px;
}
.hero-preview {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
}
.hero-preview__panel,
.hero-preview__window {
  border-radius: 22px;
  padding: 22px;
}
.hero-preview__panel {
  background: linear-gradient(180deg, #0f172a, #16233d);
  color: white;
}
.hero-preview__panel small {
  display: inline-block;
  color: var(--brand-3);
  font-size: 0.86rem;
  margin-bottom: 12px;
}
.hero-preview__panel h3 {
  margin: 0 0 10px;
  font-size: 1.55rem;
}
.hero-preview__panel p {
  margin: 0;
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
}
.hero-preview__window {
  background: linear-gradient(180deg, #f8fbff, #e8f0fb);
  border: 1px solid rgba(37, 99, 235, 0.09);
}
.mini-layout {
  display: grid;
  gap: 12px;
}
.mini-layout__hero,
.mini-layout__footer,
.mini-layout__row span,
.mini-layout__cards span {
  display: block;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(56, 189, 248, 0.4));
}
.mini-layout__hero { height: 120px; }
.mini-layout__row { display: grid; grid-template-columns: 1.25fr 0.9fr 0.7fr; gap: 10px; }
.mini-layout__row span { height: 60px; }
.mini-layout__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mini-layout__cards span { height: 96px; }
.mini-layout__footer { height: 44px; }

.floating-card {
  position: absolute;
  border-radius: 18px;
  padding: 15px 16px;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-md);
  max-width: 230px;
}
.floating-card strong {
  display: block;
  font-size: 0.96rem;
  margin-bottom: 6px;
}
.floating-card span {
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.55;
}
.floating-card--one {
  left: -24px;
  bottom: 44px;
}
.floating-card--two {
  right: -16px;
  top: 24px;
}

.section-head {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 34px;
}
.section-head--inline {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.section-head p {
  color: var(--text-soft);
  line-height: 1.72;
  margin: 14px 0 0;
}
.section--dark .section-head p,
.section--dark .result-card p,
.section--dark .bullet span {
  color: rgba(255,255,255,0.75);
}

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

.card,
.panel,
.form-card,
.contact-tile {
  border-radius: var(--radius);
}
.card,
.panel,
.form-card {
  padding: 28px;
}
.card h3,
.panel h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}
.card p,
.panel p {
  margin: 0;
  line-height: 1.72;
  color: var(--text-soft);
}
.panel--dark {
  color: white;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.22), transparent 30%),
    linear-gradient(180deg, #0b1220, #13213f);
  border-color: var(--line-strong);
}
.panel--dark .curriculum-card__item {
  background: rgba(255,255,255,0.06);
}
.panel--dark p { color: rgba(255,255,255,0.78); }

.panel--glass {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.14);
  color: white;
  backdrop-filter: blur(10px);
}
.panel--glass p { color: rgba(255,255,255,0.8); }
.panel--accent {
  background: linear-gradient(180deg, #eff6ff 0%, #fbfdff 100%);
}

.icon-badge {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(56, 189, 248, 0.22));
  color: var(--brand);
  font-weight: 800;
  margin-bottom: 16px;
}

.bullet-stack {
  display: grid;
  gap: 14px;
}
.bullet {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(15, 23, 42, 0.06);
}
.bullet strong {
  font-size: 1rem;
}
.bullet span {
  color: var(--text-soft);
  line-height: 1.65;
}
.bullet-stack--light .bullet {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
}
.bullet-stack--light .bullet strong { color: white; }

.curriculum-card {
  display: grid;
  gap: 14px;
}
.curriculum-card__item {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.09);
}
.curriculum-card__item strong {
  display: block;
  margin-bottom: 6px;
}
.curriculum-card__item span {
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.tags span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(15, 23, 42, 0.07);
  color: inherit;
  font-size: 0.82rem;
  font-weight: 700;
}
.tags--large {
  margin: 0 0 16px;
}
.tags--large span {
  background: #edf4ff;
  color: var(--brand);
}
.panel--dark .tags span,
.section--dark .tags span {
  border-color: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.95);
}

.case-card {
  overflow: hidden;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
}
.case-card__preview,
.case-hero-preview {
  position: relative;
  overflow: hidden;
}
.case-card__preview {
  min-height: 220px;
}
.case-card__body {
  padding: 22px;
}
.case-card__body h3 {
  margin: 0 0 10px;
  font-size: 1.16rem;
}
.case-card__body p {
  margin: 0;
  line-height: 1.7;
  color: var(--text-soft);
}
.case-card .tags { margin-top: 14px; }
.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--brand);
  font-weight: 700;
}
.preview--cat,
.preview--todo,
.preview--clicker,
.preview--weather,
.preview--portfolio,
.preview--calc,
.preview--quiz,
.preview--game-site {
  background-size: cover;
  background-position: center;
}
.preview--cat {
  background:
    radial-gradient(circle at 20% 25%, rgba(255,255,255,0.9), transparent 12%),
    radial-gradient(circle at 74% 28%, rgba(255,255,255,0.7), transparent 14%),
    linear-gradient(135deg, #fde68a, #fb7185);
}
.preview--todo {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.25), transparent 40%),
    linear-gradient(180deg, #dbeafe, #60a5fa);
}
.preview--clicker {
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.2), transparent 22%),
    linear-gradient(135deg, #7c3aed, #2563eb);
}
.preview--weather {
  background:
    radial-gradient(circle at 25% 24%, rgba(255,255,255,0.96), transparent 13%),
    linear-gradient(135deg, #22d3ee, #2563eb);
}
.preview--portfolio {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.22), transparent 35%),
    linear-gradient(180deg, #0f172a, #1e293b);
}
.preview--calc {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.2), transparent 45%),
    linear-gradient(180deg, #c4b5fd, #7c3aed);
}
.preview--quiz {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.16), transparent 38%),
    linear-gradient(180deg, #99f6e4, #14b8a6);
}
.preview--game-site {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.18), transparent 36%),
    linear-gradient(180deg, #fb7185, #f97316);
}
.case-card__preview::before,
.case-hero-preview::before,
.case-card__preview::after,
.case-hero-preview::after {
  content: "";
  position: absolute;
}
.case-card__preview::before,
.case-hero-preview::before {
  inset: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.85);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}
.case-card__preview::after,
.case-hero-preview::after {
  left: 36px;
  right: 36px;
  top: 42px;
  height: calc(100% - 84px);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(37,99,235,0.16) 0 26%, transparent 26%),
    linear-gradient(180deg, rgba(15,23,42,0.08) 0 100%);
}
.case-hero-preview {
  min-height: 380px;
  border-radius: 28px;
  box-shadow: var(--shadow-md);
}
.case-hero-preview::after {
  top: 54px;
  bottom: 54px;
  height: auto;
}
.case-hero-preview::before {
  inset: 24px;
}

.result-card {
  padding: 28px;
  border-radius: 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}
.result-card h3 {
  margin: 0 0 10px;
  font-size: 1.16rem;
}
.result-card p {
  margin: 0;
  line-height: 1.68;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 30px;
  border-radius: 30px;
}

.program-list {
  display: grid;
  gap: 16px;
}
.program-item {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(15,23,42,0.06);
  box-shadow: var(--shadow-sm);
}
.program-item__num {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--brand);
  background: linear-gradient(135deg, rgba(37,99,235,0.11), rgba(56,189,248,0.22));
}
.program-item h3 {
  margin: 0 0 8px;
}
.program-item p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.72;
}

.check-list,
.route-list,
.contact-cards,
.timeline-simple,
.faq {
  display: grid;
  gap: 14px;
}
.check-list span,
.route-list div,
.contact-tile,
.timeline-simple__item {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(15,23,42,0.06);
}
.check-list span {
  display: block;
  font-weight: 600;
}
.check-list--dark span {
  background: white;
}
.route-list div,
.timeline-simple__item {
  display: flex;
  gap: 16px;
}
.route-list strong,
.timeline-simple__item strong {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(37,99,235,0.11), rgba(56,189,248,0.22));
  color: var(--brand);
}
.timeline-simple__item h3 {
  margin: 2px 0 6px;
}
.timeline-simple__item p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 28px;
}
.chip {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,0.08);
  background: white;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}
.chip.is-active {
  color: white;
  background: linear-gradient(135deg, var(--brand), #1d4ed8);
  border-color: transparent;
}

.faq details {
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(15,23,42,0.07);
  border-radius: 20px;
  padding: 0 20px;
  box-shadow: var(--shadow-sm);
}
.faq summary {
  padding: 20px 0;
  list-style: none;
  font-weight: 700;
  cursor: pointer;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 18px;
  font-size: 1.4rem;
  color: var(--brand);
}
.faq details[open] summary::after {
  content: "–";
}
.faq p {
  margin: 0;
  padding: 0 0 20px;
  color: var(--text-soft);
  line-height: 1.72;
}

.contact-cards {
  margin-top: 22px;
}
.contact-tile {
  display: grid;
  gap: 5px;
  padding: 18px 20px;
}
.contact-tile strong {
  font-size: 1rem;
}
.contact-tile span {
  color: var(--text-soft);
  line-height: 1.6;
}

.form-card__head h3 {
  margin: 0 0 8px;
}
.form-card__head p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.6;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.field {
  display: grid;
  gap: 8px;
}
.field--full { grid-column: 1 / -1; }
.field span {
  font-weight: 700;
  font-size: 0.94rem;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 54px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,0.12);
  background: #fff;
  padding: 14px 16px;
  color: var(--text);
  outline: none;
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(37,99,235,0.35);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.08);
}

.form-status {
  min-height: 24px;
  margin-top: 14px;
  font-size: 0.95rem;
  font-weight: 600;
}
.form-status.is-success { color: var(--success); }
.form-status.is-error { color: var(--danger); }

.footer {
  padding: 30px 0 22px;
  color: white;
  background: linear-gradient(180deg, #0a1220 0%, #0d1628 100%);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.09);
}
.footer__brand {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.footer__text {
  margin: 0;
  color: rgba(255,255,255,0.72);
  line-height: 1.72;
}
.footer__title {
  font-weight: 700;
  margin-bottom: 12px;
}
.footer__links {
  display: grid;
  gap: 10px;
}
.footer__links a,
.footer__links span {
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255,255,255,0.52);
  font-size: 0.9rem;
  padding-top: 18px;
}

@media (max-width: 1180px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .floating-card--one { left: 8px; bottom: 12px; }
  .floating-card--two { right: 8px; top: 10px; }
}

@media (max-width: 980px) {
  :root { --header-h: 78px; }
  .nav--desktop,
  .header__cta .btn--ghost,
  .header__cta .btn--small.btn--primary { display: none; }
  .burger { display: inline-flex; }
  .hero__grid,
  .split,
  .split--reverse,
  .cta-box,
  .section-head--inline {
    grid-template-columns: 1fr;
    display: grid;
    text-align: left;
  }
  .hero-preview {
    grid-template-columns: 1fr;
  }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .floating-card {
    position: static;
    margin-top: 12px;
    max-width: none;
  }
  .hero__visual { display: grid; gap: 12px; }
  .footer__bottom { flex-direction: column; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 22px, var(--container)); }
  .section { padding: 68px 0; }
  .hero--home { padding-top: 48px; }
  .page-hero { padding-top: 52px; }
  .grid--2,
  .grid--3,
  .grid--4,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .program-item {
    grid-template-columns: 1fr;
  }
  .program-item__num {
    width: 58px;
    height: 58px;
  }
  .metric {
    min-width: calc(50% - 7px);
    flex: 1 1 160px;
  }
  .browser-card__body,
  .card,
  .panel,
  .form-card,
  .case-card__body {
    padding: 20px;
  }
  .case-card__preview { min-height: 180px; }
  .case-hero-preview { min-height: 260px; }
  .footer__grid { grid-template-columns: 1fr; }
  .brand__text small { display: none; }
}



/* === 2026 production refresh === */
body::before {
  content: "";
  position: fixed;
  inset: -15% -10% auto auto;
  width: 42vw;
  height: 42vw;
  min-width: 280px;
  min-height: 280px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.16), rgba(56, 189, 248, 0.04) 55%, transparent 72%);
  filter: blur(6px);
  pointer-events: none;
  z-index: -1;
  animation: driftOrb 16s ease-in-out infinite;
}

.header {
  background: rgba(8, 15, 30, 0.76);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 14px 40px rgba(4, 12, 24, 0.18);
}

.header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.45), transparent);
}
.brand__text strong,
.header .brand {
  color: #ffffff;
}
.brand__text small,
.nav--desktop a {
  color: rgba(255,255,255,0.72);
}
.nav--desktop a {
  position: relative;
  padding: 11px 14px;
  border-radius: 999px;
}
.nav--desktop a:hover,
.nav--desktop a.is-active {
  color: #fff;
  background: rgba(255,255,255,0.1);
}
.header .btn--ghost {
  color: #fff;
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.14);
}
.header .btn--ghost:hover {
  color: #fff;
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.22);
}
.header .btn--primary {
  box-shadow: 0 16px 34px rgba(56, 189, 248, 0.16);
}
.burger {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.14);
}
.burger span,
.burger span::before,
.burger span::after {
  background: #ffffff;
}
.mobile-menu {
  background: rgba(8, 15, 30, 0.98);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu__inner a:not(.btn) {
  color: rgba(255,255,255,0.88);
  border-bottom-color: rgba(255,255,255,0.08);
}
.mobile-menu__inner a.is-active,
.mobile-menu__inner a:not(.btn):hover {
  color: #fff;
}
.mobile-menu .btn--primary {
  margin-top: 6px;
}

.hero,
.page-hero {
  isolation: isolate;
}
.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(56, 189, 248, 0.18), transparent 24%),
    radial-gradient(circle at 85% 20%, rgba(37, 99, 235, 0.16), transparent 22%),
    radial-gradient(circle at 50% 100%, rgba(20, 184, 166, 0.09), transparent 22%);
  z-index: -1;
}
.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 12% auto auto 56%;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.18), rgba(56, 189, 248, 0.02) 65%, transparent 72%);
  filter: blur(16px);
  z-index: -1;
  animation: driftOrb 12s ease-in-out infinite reverse;
}
.hero__content,
.hero__visual,
.page-hero .container {
  position: relative;
  z-index: 1;
}

.browser-card,
.card,
.panel,
.form-card,
.case-card,
.contact-tile,
.cta-box,
.metric,
.program-item,
.result-card,
.faq details {
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}
.browser-card::before,
.card::before,
.panel::before,
.form-card::before,
.case-card::before,
.contact-tile::before,
.cta-box::before,
.metric::before,
.program-item::before,
.result-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.55) 18%, transparent 36%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
  pointer-events: none;
}
.browser-card:hover::before,
.card:hover::before,
.panel:hover::before,
.form-card:hover::before,
.case-card:hover::before,
.contact-tile:hover::before,
.cta-box:hover::before,
.metric:hover::before,
.program-item:hover::before,
.result-card:hover::before {
  transform: translateX(120%);
}
.browser-card:hover,
.card:hover,
.panel:hover,
.form-card:hover,
.case-card:hover,
.contact-tile:hover,
.metric:hover,
.program-item:hover,
.result-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 54px rgba(10, 20, 40, 0.14);
  border-color: rgba(37,99,235,0.16);
}
.cta-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 54px rgba(10, 20, 40, 0.14);
}
.browser-card {
  animation: softFloat 7s ease-in-out infinite;
}
.floating-card {
  animation: softFloat 7s ease-in-out infinite;
}
.floating-card--two {
  animation-delay: -2.4s;
}
.case-card .tags span:last-child {
  background: rgba(37, 99, 235, 0.08);
  color: var(--brand);
}
.class-grid .class-highlight {
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(239, 246, 255, 0.98), rgba(255,255,255,0.98));
  border-color: rgba(37,99,235,0.14);
}
.class-highlight h3 {
  color: var(--brand);
}
.metric strong span[data-counter] {
  display: inline-block;
  min-width: 1ch;
}
.page-hero h1,
.hero__content h1,
.section-head h2,
.cta-box h2 {
  text-wrap: balance;
}
.footer__bottom span:last-child {
  color: rgba(125, 211, 252, 0.86);
}
.footer__links a:hover {
  color: #ffffff;
}
.text-link::after {
  content: "→";
  margin-left: 8px;
  transition: transform 0.25s ease;
}
.text-link:hover::after {
  transform: translateX(4px);
}

.reveal-ready {
  opacity: 0;
  transform: translateY(28px);
}
.reveal-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-tilt] {
  transform-style: preserve-3d;
  will-change: transform;
}

@keyframes softFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes driftOrb {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-20px, 24px, 0) scale(1.06); }
}

@media (max-width: 980px) {
  .header {
    background: rgba(8, 15, 30, 0.9);
  }
  .hero::after,
  .page-hero::after {
    inset: auto;
    right: -80px;
    top: 16px;
    width: 180px;
    height: 180px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body::before,
  .hero::after,
  .page-hero::after,
  .browser-card,
  .floating-card {
    animation: none !important;
  }
  .reveal-ready {
    opacity: 1 !important;
    transform: none !important;
  }
  .browser-card:hover,
  .card:hover,
  .panel:hover,
  .form-card:hover,
  .case-card:hover,
  .contact-tile:hover,
  .metric:hover,
  .program-item:hover,
  .result-card:hover,
  .cta-box:hover {
    transform: none !important;
  }
}

/* === 2026 premium glass refresh v3 === */
:root {
  --header-h: 104px;
  --glass-white: rgba(255,255,255,0.62);
  --glass-white-2: rgba(255,255,255,0.46);
  --glass-dark: rgba(8, 15, 30, 0.68);
  --glass-dark-2: rgba(9, 17, 34, 0.54);
  --glass-line: rgba(255,255,255,0.16);
}

.site-shell {
  padding-top: calc(var(--header-h) + 10px);
}

.header {
  inset: 12px 0 auto 0;
  height: auto;
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.header::after {
  display: none;
}
.header__row {
  min-height: 80px;
  padding: 8px 18px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)),
    linear-gradient(135deg, rgba(10, 20, 40, 0.86), rgba(13, 23, 44, 0.7));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    0 18px 50px rgba(4, 12, 24, 0.22),
    inset 0 1px 0 rgba(255,255,255,0.10);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
}
.header.is-scrolled .header__row {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04)),
    linear-gradient(135deg, rgba(7, 14, 28, 0.92), rgba(11, 21, 42, 0.82));
  box-shadow:
    0 24px 60px rgba(4, 12, 24, 0.26),
    inset 0 1px 0 rgba(255,255,255,0.12);
}
.header__row::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(110deg, rgba(255,255,255,0.18), rgba(125, 211, 252, 0.22), rgba(255,255,255,0.06));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.header__row > * {
  position: relative;
  z-index: 1;
}
.brand {
  min-width: max-content;
}
.brand__mark {
  position: relative;
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.24);
}
.brand__mark::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.32), transparent 44%);
  pointer-events: none;
}
.brand__text strong {
  letter-spacing: -0.02em;
}
.brand__text small {
  color: rgba(255,255,255,0.68);
}

.nav--desktop {
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.nav--desktop a {
  color: rgba(255,255,255,0.76);
  padding: 12px 16px;
  border-radius: 999px;
  line-height: 1;
}
.nav--desktop a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.02));
  opacity: 0;
  transition: opacity 0.25s ease;
}
.nav--desktop a:hover::before,
.nav--desktop a.is-active::before {
  opacity: 1;
}
.nav--desktop a:hover,
.nav--desktop a.is-active {
  color: #ffffff;
  background: rgba(255,255,255,0.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 10px 24px rgba(4, 12, 24, 0.18);
}

.header__cta {
  flex: 0 0 auto;
}
.header .btn--ghost,
.burger {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.14);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
}
.header .btn--ghost,
.header .btn--primary,
.burger {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10);
}
.header .btn--primary {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.92), rgba(56, 189, 248, 0.84));
}

.mobile-menu {
  inset: 94px 12px auto 12px;
  bottom: auto;
  max-height: calc(100vh - 112px);
  border-radius: 26px;
  overflow: auto;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)),
    linear-gradient(135deg, rgba(9, 17, 34, 0.96), rgba(13, 23, 44, 0.94));
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 22px 56px rgba(4, 12, 24, 0.28);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
}
.mobile-menu__inner {
  padding: 18px;
}
.mobile-menu__inner a:not(.btn) {
  padding: 16px 14px;
  border-bottom-color: rgba(255,255,255,0.08);
  border-radius: 16px;
}
.mobile-menu__inner a:not(.btn):hover,
.mobile-menu__inner a.is-active {
  background: rgba(255,255,255,0.06);
}

.eyebrow {
  background: linear-gradient(180deg, rgba(255,255,255,0.88), rgba(232, 241, 255, 0.74));
  border: 1px solid rgba(255,255,255,0.72);
  box-shadow:
    0 10px 26px rgba(37, 99, 235, 0.08),
    inset 0 1px 0 rgba(255,255,255,0.82);
}

.metric,
.card,
.panel,
.form-card,
.contact-tile,
.program-item,
.faq details,
.cta-box,
.result-card,
.browser-card {
  backdrop-filter: blur(18px) saturate(155%);
  -webkit-backdrop-filter: blur(18px) saturate(155%);
  border: 1px solid rgba(255,255,255,0.52);
  box-shadow:
    0 24px 70px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255,255,255,0.86);
}
.metric,
.card,
.panel,
.form-card,
.contact-tile,
.program-item,
.faq details,
.browser-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,255,255,0.62));
}
.card:nth-child(3n + 1),
.metric:nth-child(3n + 1) {
  background: linear-gradient(180deg, rgba(245, 250, 255, 0.88), rgba(233, 243, 255, 0.70));
}
.card:nth-child(3n + 2),
.metric:nth-child(3n + 2) {
  background: linear-gradient(180deg, rgba(245, 255, 253, 0.88), rgba(232, 248, 246, 0.70));
}
.card:nth-child(3n + 3),
.metric:nth-child(3n + 3) {
  background: linear-gradient(180deg, rgba(249, 246, 255, 0.88), rgba(239, 236, 255, 0.70));
}
.panel--accent,
.cta-box {
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(246, 250, 255, 0.90), rgba(234, 243, 255, 0.72));
}
.panel--dark {
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(10, 18, 32, 0.86), rgba(16, 27, 48, 0.82));
  border-color: rgba(255,255,255,0.14);
}
.panel--glass,
.result-card {
  background:
    radial-gradient(circle at top right, rgba(125, 211, 252, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.06));
  border-color: rgba(255,255,255,0.16);
  box-shadow:
    0 28px 80px rgba(4, 12, 24, 0.24),
    inset 0 1px 0 rgba(255,255,255,0.14);
}
.panel--glass .check-list span,
.panel--glass .route-list div,
.panel--glass .timeline-simple__item {
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.08));
  border: 1px solid rgba(255,255,255,0.12);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.panel--glass h3,
.panel--glass p,
.panel--glass .check-list span {
  color: #ffffff;
}
.panel--glass .check-list span {
  font-weight: 700;
}
.case-card {
  backdrop-filter: blur(14px) saturate(155%);
  -webkit-backdrop-filter: blur(14px) saturate(155%);
  background: linear-gradient(180deg, rgba(255,255,255,0.78), rgba(255,255,255,0.62));
  border: 1px solid rgba(255,255,255,0.50);
}
.floating-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.84), rgba(255,255,255,0.68));
  border: 1px solid rgba(255,255,255,0.56);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}
.chip {
  background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,255,255,0.62));
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.75), 0 10px 24px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
}
.chip.is-active {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.92), rgba(56, 189, 248, 0.82));
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.22), inset 0 1px 0 rgba(255,255,255,0.16);
}

.browser-card::after,
.card::after,
.panel::after,
.form-card::after,
.case-card::after,
.contact-tile::after,
.cta-box::after,
.metric::after,
.program-item::after,
.result-card::after,
.faq details::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.55), transparent 40%);
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}
.browser-card:hover::after,
.card:hover::after,
.panel:hover::after,
.form-card:hover::after,
.case-card:hover::after,
.contact-tile:hover::after,
.cta-box:hover::after,
.metric:hover::after,
.program-item:hover::after,
.result-card:hover::after,
.faq details:hover::after {
  opacity: 1;
}

.page-hero,
.hero {
  padding-top: 84px;
}
.page-hero::before,
.hero::before {
  background:
    radial-gradient(circle at 12% 18%, rgba(56, 189, 248, 0.20), transparent 22%),
    radial-gradient(circle at 88% 20%, rgba(37, 99, 235, 0.18), transparent 20%),
    radial-gradient(circle at 52% 110%, rgba(20, 184, 166, 0.10), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,0.24), rgba(255,255,255,0));
}
.hero::after,
.page-hero::after {
  inset: 6% auto auto 60%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.20), rgba(56, 189, 248, 0.04) 65%, transparent 72%);
}

.check-list span,
.route-list div,
.contact-tile,
.timeline-simple__item {
  background: linear-gradient(180deg, rgba(255,255,255,0.80), rgba(255,255,255,0.60));
  border: 1px solid rgba(255,255,255,0.54);
}

.footer {
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), transparent 22%),
    linear-gradient(180deg, #0a1220 0%, #0d1628 100%);
}

@media (max-width: 1180px) {
  .header__row {
    gap: 12px;
    padding-inline: 14px;
  }
  .nav--desktop a {
    padding-inline: 12px;
    font-size: 0.9rem;
  }
}

@media (max-width: 980px) {
  :root {
    --header-h: 88px;
  }
  .site-shell {
    padding-top: calc(var(--header-h) + 8px);
  }
  .header {
    inset: 8px 0 auto 0;
  }
  .header__row {
    min-height: 70px;
    border-radius: 24px;
    padding-inline: 12px;
  }
  .mobile-menu {
    inset: 82px 10px auto 10px;
    max-height: calc(100vh - 96px);
  }
  .hero,
  .page-hero {
    padding-top: 62px;
  }
}

@media (max-width: 720px) {
  .header__row {
    padding-inline: 10px;
  }
  .brand__mark {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }
  .mobile-menu__inner {
    padding: 14px;
  }
}

.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, rgba(37, 99, 235, 0.08) 28%, rgba(20, 184, 166, 0.04) 52%, transparent 72%);
  filter: blur(16px);
  mix-blend-mode: screen;
}

@media (max-width: 980px), (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor-glow {
    display: none;
  }
}


/* === header hotfix v4 === */
:root {
  --header-h: 92px;
}

.site-shell {
  padding-top: calc(var(--header-h) + 4px);
}

.header {
  inset: 14px 0 auto 0;
}

.header__row {
  position: relative;
  min-height: 72px;
  padding: 10px 14px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)),
    linear-gradient(135deg, rgba(9, 17, 34, 0.84), rgba(13, 23, 44, 0.74));
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    0 16px 42px rgba(4, 12, 24, 0.20),
    inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}

.header.is-scrolled .header__row {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04)),
    linear-gradient(135deg, rgba(8, 15, 30, 0.92), rgba(11, 21, 42, 0.84));
  box-shadow:
    0 20px 48px rgba(4, 12, 24, 0.24),
    inset 0 1px 0 rgba(255,255,255,0.10);
}

.header__row::before {
  background: linear-gradient(115deg, rgba(255,255,255,0.14), rgba(125, 211, 252, 0.16), rgba(255,255,255,0.04));
}

.brand {
  gap: 12px;
  min-width: 0;
  flex: 0 0 auto;
}

.brand__mark {
  width: 48px;
  height: 48px;
  flex-basis: 48px;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.22);
}

.brand__text {
  gap: 2px;
}

.brand__text strong {
  font-size: 1rem;
}

.brand__text small {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.62);
}

.nav--desktop {
  flex: 1 1 auto;
  justify-content: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  min-width: 0;
}

.nav--desktop a {
  padding: 10px 13px;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255,255,255,0.74);
  background: transparent;
  border: 1px solid transparent;
}

.nav--desktop a::before {
  background: linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02));
}

.nav--desktop a:hover,
.nav--desktop a.is-active {
  color: #ffffff;
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.header__cta {
  flex: 0 0 auto;
  gap: 8px;
}

.header .btn--primary,
.burger {
  min-height: 44px;
  height: 44px;
}

.header .btn--primary {
  padding-inline: 18px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.24);
}

.burger {
  width: 44px;
  min-width: 44px;
  border-radius: 14px;
}

.mobile-menu {
  inset: 88px 12px auto 12px;
  max-height: calc(100vh - 104px);
}

@media (max-width: 1260px) {
  .header__row {
    padding-inline: 12px;
  }
  .nav--desktop a {
    padding-inline: 11px;
    font-size: 0.89rem;
  }
  .header .btn--primary {
    padding-inline: 16px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-h: 84px;
  }
  .site-shell {
    padding-top: calc(var(--header-h) + 6px);
  }
  .header {
    inset: 8px 0 auto 0;
  }
  .header__row {
    min-height: 64px;
    border-radius: 20px;
    padding-inline: 10px;
  }
  .mobile-menu {
    inset: 76px 10px auto 10px;
    max-height: calc(100vh - 90px);
  }
}

@media (max-width: 720px) {
  .brand__mark {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }
  .header__row {
    padding-inline: 8px;
  }
}

/* === 2026 header hotfix v5 === */
html,
body {
  overflow-x: clip;
}

:root {
  --header-h: 92px;
}

.site-shell {
  padding-top: var(--header-h);
}

.header {
  inset: 0 0 auto 0 !important;
  height: var(--header-h);

  border-bottom: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.header.is-hidden {
  transform: translateY(calc(-100% - 8px));
}

.header__row {
  min-height: 72px;
  margin-top: 8px;
  padding: 6px 14px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03)),
    linear-gradient(135deg, rgba(10, 20, 40, 0.88), rgba(12, 22, 42, 0.76));
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    0 16px 42px rgba(4, 12, 24, 0.22),
    inset 0 1px 0 rgba(255,255,255,0.09);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
}

.header.is-scrolled .header__row {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04)),
    linear-gradient(135deg, rgba(7, 14, 28, 0.94), rgba(11, 21, 42, 0.86));
  box-shadow:
    0 18px 46px rgba(4, 12, 24, 0.24),
    inset 0 1px 0 rgba(255,255,255,0.10);
}

.brand {
  gap: 12px;
}

.brand__mark {
  width: 48px;
  height: 48px;
  flex-basis: 48px;
}

.brand__text strong {
  font-size: 0.98rem;
}

.brand__text small {
  font-size: 0.76rem;
}

.nav--desktop {
  gap: 8px;
}

.nav--desktop a {
  padding: 10px 12px;
  font-size: 0.92rem;
}

.header__cta {
  gap: 8px;
}

.header .btn--primary,
.burger {
  min-height: 44px;
  height: 44px;
}

.mobile-menu {
  display: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, -8px, 0);
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
  margin-top: 15px;
}

.hero--home {
  padding: 34px 0 60px;
}

.page-hero {
  padding: 40px 0 20px;
}

@media (max-width: 1260px) {
  .header__row {
    padding-inline: 12px;
  }

  .nav--desktop a {
    padding-inline: 10px;
    font-size: 0.88rem;
  }

  .header .btn--primary {
    padding-inline: 16px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-h: 82px;
  }

  .site-shell {
    padding-top: var(--header-h);
  }


  .header__row {
    min-height: 64px;
    margin-top: 8px;
    padding-inline: 10px;
    border-radius: 20px;
  }

  .brand__mark {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .mobile-menu {
    display: block;
    inset: 78px 10px auto 10px;
    max-height: calc(100vh - 92px);
    overflow: auto;
  }

  .hero--home,
  .page-hero {
    padding-top: 28px;
  }
}

@media (max-width: 720px) {
  .header__row {
    margin-top: 6px;
    min-height: 60px;
    padding-inline: 8px;
  }

  .brand__text strong {
    font-size: 0.92rem;
  }
}
