:root {
  --bg: #050609;
  --bg-alt: radial-gradient(circle at top left, #111827 0, #020617 55%, #02040b 100%);

  --surface: #0b1019;
  --surface-alt: #111827;

  --accent: #f97316;
  --accent-soft: rgba(249, 115, 22, 0.18);
  --accent-strong: #fdba74;

  --border-subtle: rgba(148, 163, 184, 0.35);
  --border-strong: rgba(148, 163, 184, 0.6);

  --text: #f9fafb;
  --muted: #9ca3af;

  --radius: 12px;
  --radius2: 18px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.7);

  --topbar-h: 68px;
}

/* =========================
   reset / base
   ========================= */

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

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-alt);
  color: var(--text);
  text-rendering: optimizeLegibility;
}

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

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

.no-scroll {
  overflow: hidden;
}

/* =========================
   layout
   ========================= */

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  padding: 64px 0;
}

.section--alt {
  background: radial-gradient(circle at top left, #020617 0, #020617 40%, #02040b 100%);
}

.section__head {
  margin-bottom: 32px;
}

.section__head--center {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 32px;
}

.section__title {
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}

.section__subtitle {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}

/* =========================
   topbar
   ========================= */

.topbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 40;

  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;

  backdrop-filter: blur(0);
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    backdrop-filter 220ms ease;
}

.topbar.is-solid {
  background: rgba(5, 8, 20, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.topbar.is-scrolled {
  background: rgba(5, 8, 20, 0.98);
  border-color: var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.topbar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--topbar-h);
  gap: 16px;
}



/* brand */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at top, rgba(249, 115, 22, 0.35), rgba(37, 99, 235, 0.3));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.brand__mark i {
  font-size: 18px;
}

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

.brand__name {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.brand__sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

/* nav */

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
}

.nav__link {
  position: relative;
  color: var(--muted);
  padding: 4px 0;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  transition: width 160ms ease-out;
}

.nav__link:hover {
  color: var(--text);
}

.nav__link:hover::after {
  width: 70%;
}

.nav__link.is-active {
  color: var(--text);
}

.nav__link.is-active::after {
  width: 100%;
}

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

.hero .topbar {
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

/* =========================
   buttons
   ========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  background: transparent;
  color: var(--text);
  transition: transform 120ms ease-out, box-shadow 120ms ease-out, border-color 120ms ease-out, background 120ms ease-out;
}

.btn i {
  font-size: 16px;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), #2563eb);
  border-color: transparent;
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.35);
  color: #f9fafb;
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 45px rgba(37, 99, 235, 0.4);
}

.btn--ghost {
  border-color: var(--border-subtle);
  background: rgba(15, 23, 42, 0.6);
  color: var(--text);
}

.btn--ghost-light {
  background: rgba(15, 23, 42, 0.2);
}

.btn--ghost:hover {
  border-color: var(--accent-soft);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.7);
}

.btn--sm {
  padding: 7px 14px;
  font-size: 12px;
}

.btn--full {
  width: 100%;
}

/* =========================
   burger
   ========================= */

.burger {
  display: none;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.8);
  cursor: pointer;
}

.burger span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  margin: 3px auto;
  transition: transform 160ms ease-out, opacity 160ms ease-out;
}

.burger.is-open span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* =========================
   mobile menu
   ========================= */

.mobile {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(15, 23, 42, 0.85);
  display: none;
}

.mobile.is-open {
  display: block;
}

.mobile__panel {
  position: absolute;
  right: 0;
  top: var(--topbar-h);
  bottom: 0;
  width: min(260px, 80vw);
  background: #020617;
  box-shadow: -16px 0 40px rgba(0, 0, 0, 0.8);
  padding: 20px 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.mobile__link {
  color: var(--muted);
}

.mobile__link:hover {
  color: var(--text);
}

.mobile__cta {
  margin-top: auto;
}

/* =========================
   hero (centered + accent title)
   ========================= */

.hero {
  position: relative;
  min-height: 100vh;
  padding-top: var(--topbar-h);
  display: flex;
  align-items: center;
}

.hero--with-video {
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75) saturate(1.1);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top left,
    rgba(15, 23, 42, 0.55),
    rgba(5, 7, 12, 0.7)
  );  
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 0;
}

.hero__left {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.hero__eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-strong);
  margin-bottom: 12px;
}

.hero__title {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
}

.hero__title-accent {
  color: var(--accent-strong);
}

.hero__lead {
  font-size: 16px;
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 12px;
}

.hero__offer {
  max-width: 760px;
  margin: 10px auto 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px dashed var(--accent-soft);
  font-size: 13px;
  color: var(--muted);
  text-align: left;
}

.hero__offer-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: rgba(249, 115, 22, 0.12);
  color: var(--accent-strong);
  margin-bottom: 3px;
}

.hero__scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 36px;
  border: 1px solid rgba(249,250,251,0.4);
  border-radius: 999px;
  opacity: 0.7;
}

.hero__scroll span {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 4px;
  height: 6px;
  background: var(--accent-strong);
  border-radius: 999px;
  transform: translateX(-50%);
  animation: scrollHint 1.6s infinite;
}

@keyframes scrollHint {
  0% { opacity: 0; transform: translate(-50%, 0); }
  30% { opacity: 1; }
  60% { opacity: 1; transform: translate(-50%, 10px); }
  100% { opacity: 0; }
}


/* =========================
   cards
   ========================= */

.cards {
  display: grid;
  gap: 18px;
}

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

.card {
  border-radius: var(--radius2);
  padding: 18px 18px 20px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow);
}

/* D: premium with accent rail */
.card { position: relative; }
.card::marker { color: var(--accent); } /* на всякий случай */

.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), rgba(37,99,235,0.6));
  opacity: 0.9;
}

.card h3, .card__title { color: var(--text); font-weight: 800; }
.card h4, .card__subtitle { color: rgba(249,250,251,0.72); font-weight: 700; }

.card p, .card li { color: rgba(156,163,175,0.95); } /* чуть живее muted */
.card li::marker { color: var(--accent-strong); }

.card p:last-child { color: rgba(249,250,251,0.92); }


.card__icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.card__icon i {
  font-size: 20px;
}

.card__title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px;
}

.card__text {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* =========================
   timeline (process)
   ========================= */

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--border-subtle);
}

.timeline__item {
  padding-left: 16px;
  margin-bottom: 20px;
  position: relative;
}

.timeline__item:last-child {
  margin-bottom: 0;
}

.timeline__step {
  position: absolute;
  left: -10px;
  top: 0;
  transform: translate(-50%, 0);
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-strong);
}

.timeline__body {
  padding-top: 4px;
}

.timeline__title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
}

.timeline__text {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* =========================
   projects
   ========================= */

.projects {
  display: grid;
  gap: 18px;
}

.project {
  border-radius: var(--radius2);
  padding: 16px 18px 18px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow);
}

.project__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 13px;
}

.project__tag {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-subtle);
  color: var(--accent-strong);
}

.project__location {
  color: var(--muted);
}

.project__body p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* stats block in projects (dl) */

.project__stats {
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.project__stats > div {
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  padding-top: 10px;
}

.project__stats dt {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 0 0 3px;
}

.project__stats dd {
  margin: 0;
  font-size: 14px;
  color: var(--text);
  opacity: 0.9;
}

/* =========================
   about
   ========================= */

.aboutGrid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 32px;
  align-items: flex-start;
}

.list {
  margin: 16px 0 0;
  padding-left: 18px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

.about__title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 800;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-subtle);
  color: var(--muted);
}

/* =========================
   contacts
   ========================= */

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

.contactCard {
  border-radius: var(--radius2);
  padding: 18px 18px 20px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow);
}

.contactCard__rows {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.contactRow {
  display: grid;
  gap: 2px;
}

.contactRow__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.contactRow__value {
  font-size: 14px;
}

.contactCard__note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

.contactForm {
  border-radius: var(--radius2);
  padding: 18px 18px 20px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow);
}

.contactForm__title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 800;
}

.contactForm__subtitle {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

.field {
  display: grid;
  gap: 4px;
  margin-bottom: 10px;
}

.field__label {
  font-size: 13px;
  color: var(--muted);
}

.field__input {
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.8);
  padding: 8px 10px;
  color: var(--text);
  font: inherit;
}

.field__input:focus {
  outline: none;
  border-color: var(--accent-soft);
  box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.3);
}

.field__input--textarea {
  resize: vertical;
  min-height: 96px;
}

.contactForm__policy {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.form-note {
  margin-top: 8px;
  font-size: 0.75rem;      
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.55); 
}

.form-note a {
  color: rgba(253, 186, 116, 0.8); 
  text-decoration: underline;
}

.form-note a:hover {
  color: rgba(253, 186, 116, 1);
}


/* =========================
   footer
   ========================= */

.footer {
  padding: 18px 0 22px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(3, 7, 18, 0.96);
}

.footer__org {
  cursor: pointer;
  position: relative;
  display: inline-block;
}

.footer__org small {
  color: rgba(255,255,255,0.6);
  font-size: 0.85em;
}

.footer__popover {
  display: none;
  position: absolute;
  bottom: 110%;
  left: 0;
  background: #0f172a;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 14px 16px;
  width: 260px;
  z-index: 20;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.footer__popover-inner p {
  margin: 8px 0 12px;
  font-size: 0.9em;
  color: rgba(255,255,255,0.75);
}

.footer__download {
  display: inline-block;
  padding: 8px 12px;
  background: rgba(253,186,116,0.15);
  color: #fdba74;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9em;
}

.footer__download:hover {
  background: rgba(253,186,116,0.25);
}


.footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  font-size: 12px;
  color: var(--muted);
}

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

.footer__muted {
  color: var(--muted);
}

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

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

/* =========================
   responsive
   ========================= */

@media (max-width: 960px) {
  .nav {
    display: none;
  }

  .burger {
    display: inline-flex;
  }

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

  .aboutGrid,
  .contactGrid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .section {
    padding: 44px 0;
  }

  .hero {
    padding-top: calc(32px + var(--topbar-h));
  }

  .hero__actions {
    flex-direction: column;
  }

  .cards--3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer__row {
    align-items: flex-start;
  }
}

/* =========================
   PROCESS (presentation style)
   ========================= */

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

.processDeck__line {
  position: absolute;
  left: 50%;
  top: 10px;
  bottom: 10px;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    rgba(249,115,22,0.0),
    rgba(249,115,22,0.35),
    rgba(37,99,235,0.35),
    rgba(37,99,235,0.0)
  );
  opacity: 0.7;
  pointer-events: none;
}

.pStep {
  position: relative;
  border-radius: var(--radius2);
  padding: 18px 18px 16px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.pStep::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top left, rgba(249,115,22,0.14), transparent 55%),
    radial-gradient(circle at bottom right, rgba(37,99,235,0.10), transparent 55%);
  opacity: 1;
}

.pStep__top {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: start;
  margin-bottom: 10px;
}

.pStep__num {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--accent-strong);
  border: 1px solid rgba(249,115,22,0.45);
  background: radial-gradient(circle at top, rgba(249,115,22,0.22), rgba(15,23,42,0.92));
}

.pStep__kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(249,250,251,0.65);
  margin-bottom: 6px;
}

.pStep__title {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
  font-weight: 800;
}

.pStep__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(148,163,184,0.35);
  background: rgba(15,23,42,0.85);
}

.pStep__icon i {
  font-size: 20px;
  color: rgba(253,186,116,0.95);
}

.pStep__text {
  position: relative;
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(156,163,175,0.95);
}

.pStep__out {
  position: relative;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(148,163,184,0.25);
}

.pStep__outLabel {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-strong);
  margin-bottom: 8px;
}

.pStep__outList {
  margin: 0;
  padding-left: 18px;
  color: rgba(249,250,251,0.78);
  font-size: 13px;
  line-height: 1.55;
}

.pStep__outList li::marker {
  color: var(--accent);
}

.processHint {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 10px 12px;
  border: 1px dashed rgba(148,163,184,0.35);
  background: rgba(15,23,42,0.75);
  color: rgba(156,163,175,0.95);
  font-size: 13px;
}

.processHint i {
  font-size: 18px;
  color: var(--accent-strong);
}

/* responsive */
@media (max-width: 960px) {
  .processDeck {
    grid-template-columns: minmax(0, 1fr);
  }

  .processDeck__line {
    display: none;
  }
}

/* компенсация липкого тулбара для якорей */
#services,
#process,
#contacts {
  scroll-margin-top: 90px; /* = высота topbar + запас */
}


