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

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

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

/* ============ Variables ============ */
:root {
  --paper: #eff1f4;
  --card: #ffffff;
  --ink: #0d1220;
  --muted: #5c6675;
  --blue: #1f44ff;
  --blue-dark: #1836d6;
  --blue-soft: rgba(31, 68, 255, 0.08);
  --line: #dde1e8;
  --line-strong: #c6ccd8;

  --font-body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --shadow: 0 20px 45px -28px rgba(13, 18, 32, 0.45);
  --shadow-lift: 0 24px 50px -26px rgba(13, 18, 32, 0.4);

  --maxw: 1180px;
  --header-h: 64px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============ Global ============ */
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(100% - 2rem, var(--maxw));
  margin-inline: auto;
}

.section { padding-block: clamp(3.5rem, 9vw, 6.5rem); }

.section--alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0));
  border-block: 1px solid var(--line);
}

.section__head { margin-bottom: clamp(2rem, 5vw, 3rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}

.eyebrow::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  background: var(--blue);
}

.title {
  font-size: clamp(1.75rem, 6.5vw, 2.9rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.lead {
  max-width: 54ch;
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: clamp(1rem, 2.6vw, 1.1rem);
}

.grid { display: grid; gap: 1rem; }

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ============ Header ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(239, 241, 244, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}

.header.is-scrolled { border-bottom-color: var(--line); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: baseline;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.logo__mark {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--blue);
}

.header__actions { display: none; }

.nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  padding: 0.5rem 0 1.75rem;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}

.nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nav__list,
.nav__actions,
.nav__direct {
  width: min(100% - 2rem, var(--maxw));
  margin-inline: auto;
}

.nav__link {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  transition: color 0.25s var(--ease);
}

.nav__link:hover,
.nav__link.is-active { color: var(--ink); }

.nav__actions {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.nav__direct {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  margin-top: 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
}

.burger {
  display: grid;
  place-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  margin-right: -0.6rem;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}

.burger.is-active span:first-child { transform: translateY(4px) rotate(45deg); }
.burger.is-active span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ============ Hero ============ */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 8vw, 4.5rem) clamp(3rem, 9vw, 5.5rem);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -20%;
  width: 60vw;
  height: 60vw;
  max-width: 700px;
  max-height: 700px;
  background: radial-gradient(circle, rgba(31, 68, 255, 0.12), transparent 65%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
}

.badge {
  display: inline-block;
  margin-bottom: 1.2rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--card);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
}

.hero__title {
  font-size: clamp(2.1rem, 8.5vw, 4rem);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.038em;
}

.hero__title em {
  font-style: normal;
  color: var(--blue);
}

.hero__text {
  max-width: 46ch;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: clamp(1.02rem, 3vw, 1.15rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero__direct {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.hero__direct a {
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.hero__direct a:hover {
  color: var(--blue);
  border-color: var(--blue);
}

.hero__note {
  margin-top: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--muted);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-strong);
}

.stat__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat__value {
  margin-top: 0.25rem;
  font-size: clamp(1rem, 4vw, 1.3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* --- Hero: адаптивный демо-макет --- */
.demo {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.demo__bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--line);
}

.demo__dots { display: flex; gap: 5px; }

.demo__dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
}

.demo__url {
  flex: 1;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted);
  text-align: center;
}

.demo__size {
  min-width: 4.2rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--blue);
  text-align: right;
}

.demo__stage {
  display: flex;
  justify-content: center;
  padding: 1rem;
  background: repeating-linear-gradient(
    45deg,
    var(--paper),
    var(--paper) 8px,
    rgba(255, 255, 255, 0.6) 8px,
    rgba(255, 255, 255, 0.6) 16px
  );
}

.demo__frame {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--card);
  overflow: hidden;
  transition: width 0.65s cubic-bezier(0.65, 0, 0.35, 1);
}

.demo__site { padding: 0.75rem; }

.demo__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line);
}

.demo__logo {
  width: 42px;
  height: 8px;
  border-radius: 3px;
  background: var(--ink);
}

.demo__links { display: none; gap: 8px; }

.demo__links i {
  width: 22px;
  height: 5px;
  border-radius: 3px;
  background: var(--line-strong);
}

.demo__burger { display: grid; gap: 3px; }

.demo__burger i {
  width: 14px;
  height: 2px;
  background: var(--ink);
}

.demo__hero { padding-block: 0.9rem; }

.demo__line {
  display: block;
  height: 9px;
  margin-bottom: 6px;
  border-radius: 4px;
  background: var(--line-strong);
}

.demo__line--xl { width: 90%; height: 13px; background: var(--ink); }
.demo__line--lg { width: 65%; height: 13px; background: var(--ink); }
.demo__line--md { width: 80%; height: 6px; }

.demo__btn {
  display: block;
  width: 84px;
  height: 24px;
  margin-top: 0.75rem;
  border-radius: 7px;
  background: var(--blue);
}

.demo__cards {
  display: grid;
  gap: 8px;
  margin-top: 0.9rem;
}

.demo__cards span {
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.demo__frame[data-mode="tablet"] .demo__cards,
.demo__frame[data-mode="desktop"] .demo__cards {
  grid-template-columns: repeat(3, 1fr);
}

.demo__frame[data-mode="tablet"] .demo__links,
.demo__frame[data-mode="desktop"] .demo__links { display: flex; }

.demo__frame[data-mode="tablet"] .demo__burger,
.demo__frame[data-mode="desktop"] .demo__burger { display: none; }

.demo__caption {
  margin-top: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.8rem 1.35rem;
  border-radius: 12px;
  font-weight: 500;
  text-align: center;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.btn--sm {
  min-height: 42px;
  padding: 0.5rem 1.05rem;
  font-size: 0.9rem;
}

.btn--lg {
  min-height: 54px;
  padding: 0.95rem 1.7rem;
}

.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 24px -14px rgba(31, 68, 255, 0.9);
}

.btn--primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}

.btn--ghost {
  border: 1px solid var(--line-strong);
  background: var(--card);
}

.btn--ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn--light {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn--light:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

/* ============ Cards ============ */
.card,
.feature,
.work,
.contact {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.inkbordurs {
  padding: 1.5rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--ink);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.inkbordurs .contact__label,
.inkbordurs .contact__hint { color: var(--muted); }

.card:hover,
.feature:hover,
.work:hover,
.contact:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lift);
}

.card__title,
.feature__title,
.work__title {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.card__text,
.feature__text {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.card__meta {
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--blue);
}

.feature__tag {
  margin-bottom: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --- Steps --- */
.step {
  display: flex;
  gap: 1.1rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
}

.step:last-child { border-bottom: 1px solid var(--line); }

.step__num {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--blue);
}

.step__title {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.step__text {
  max-width: 62ch;
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* --- Works --- */
.works {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.work { padding: 0.75rem 0.75rem 1.25rem; }

.work__media {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  overflow: hidden;
  cursor: zoom-in;
}

.work__chrome {
  display: flex;
  gap: 5px;
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid var(--line);
  background: var(--card);
}

.work__chrome i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line-strong);
}

/* Пропорция близка к самому скриншоту, поэтому кадр почти не обрезается */
.work__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s var(--ease);
}

.work:hover .work__media img { transform: scale(1.025); }

.work__zoom {
  position: absolute;
  right: 0.6rem;
  bottom: 0.6rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(13, 18, 32, 0.82);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.work:hover .work__zoom,
.work__media:focus-visible .work__zoom {
  opacity: 1;
  transform: none;
}

/* На тач-устройствах подсказка видна всегда — навести курсор там нечем */
@media (hover: none) {
  .work__zoom { opacity: 1; transform: none; }
}

.work__media.is-empty {
  aspect-ratio: 16 / 10;
  cursor: default;
}

.work__media.is-empty::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
}

.work__title,
.work__text { padding-inline: 0.75rem; }

.work__title { text-align: left; }

.work__text {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* --- Lightbox --- */
/* Центрируем вручную: в ресете есть * { margin: 0 }, он перебивает
   браузерный margin: auto, которым dialog центрируется по умолчанию */
.lightbox {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(100% - 1.5rem, 1400px);
  max-width: none;
  height: fit-content;
  max-height: calc(100dvh - 1.5rem);
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 40px 80px -40px rgba(13, 18, 32, 0.6);
  overflow: hidden;
}

.lightbox::backdrop {
  background: rgba(13, 18, 32, 0.72);
  backdrop-filter: blur(6px);
}

.lightbox[open] {
  display: grid;
  grid-template-rows: auto 1fr auto;
  animation: lightbox-in 0.25s var(--ease);
}

@keyframes lightbox-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.99);
  }
}

.lightbox__bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--line);
}

.lightbox__title {
  flex: 1;
  min-width: 0;
  font-size: 0.92rem;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lightbox__count {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
}

.lightbox__close {
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.82rem;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.lightbox__close:hover {
  border-color: var(--ink);
  color: var(--blue);
}

.lightbox__stage {
  min-height: 0;
  overflow: auto;
  background: var(--paper);
  -webkit-overflow-scrolling: touch;
}

.lightbox__img {
  width: 100%;
  height: auto;
}

.lightbox__nav {
  display: flex;
  gap: 0.5rem;
  padding: 0.7rem 0.9rem;
  border-top: 1px solid var(--line);
}

.lightbox__arrow {
  flex: 1;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font-size: 0.88rem;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.lightbox__arrow:hover:not(:disabled) {
  border-color: var(--ink);
  color: var(--blue);
}

.lightbox__arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

/* Блокируем прокрутку страницы, пока открыт просмотр */
.is-locked { overflow: hidden; }

/* --- Price --- */
.price { display: grid; gap: 1rem; }

.price__main {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: #fff;
}

.price__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.6;
}

.price__value {
  margin-top: 0.6rem;
  font-size: clamp(2.2rem, 9vw, 3.1rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.price__note {
  margin-top: 0.5rem;
  opacity: 0.65;
  font-size: 0.95rem;
}

.price__actions {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.price__direct {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
}

.price__direct a { transition: color 0.25s var(--ease); }
.price__direct a:hover { color: #fff; }

.price__list {
  display: grid;
  gap: 0.85rem;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
}

.price__list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.price__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 2px;
  background: var(--blue-soft);
  box-shadow: inset 0 0 0 2px var(--blue);
}

.price__extra {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

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

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

.faq__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding-block: 1.25rem;
  text-align: left;
  font-size: 1.02rem;
  font-weight: 500;
  transition: color 0.25s var(--ease);
}

.faq__btn:hover { color: var(--blue); }

.faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--blue);
  transition: transform 0.3s var(--ease);
}

.faq__icon::after { transform: rotate(90deg); }

.faq__item.is-open .faq__icon::after { transform: rotate(0); }

.faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}

.faq__panel > div { overflow: hidden; }

.faq__item.is-open .faq__panel { grid-template-rows: 1fr; }

.faq__panel p {
  max-width: 68ch;
  padding-bottom: 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* --- Contacts --- */
.contacts__grid { display: grid; gap: 1rem; }

.contact { display: block; }

.contact__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact__value {
  display: block;
  margin-top: 0.7rem;
  font-size: clamp(1.15rem, 4.5vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
}

.contact__hint {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.contact--accent {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.contact--accent .contact__label,
.contact--accent .contact__hint { color: rgba(255, 255, 255, 0.62); }

/* ============ Footer ============ */
.footer {
  padding-block: 2.5rem;
  border-top: 1px solid var(--line);
}

.footer__inner { display: grid; gap: 1.25rem; }

.footer__text {
  max-width: 34ch;
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer__links {
  display: grid;
  gap: 0.55rem;
  font-size: 0.95rem;
}

.footer__links a {
  color: var(--muted);
  transition: color 0.25s var(--ease);
}

.footer__links a:hover { color: var(--blue); }

.footer__copy {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
}

/* ============ Responsive ============ */
@media (min-width: 560px) {
  .grid--3,
  .contacts__grid { grid-template-columns: repeat(2, 1fr); }

  .price__actions { grid-auto-flow: column; justify-content: start; }

  .footer__links {
    grid-auto-flow: column;
    justify-content: start;
    gap: 1.5rem;
  }
}

@media (min-width: 900px) {
  :root { --header-h: 76px; }

  .burger,
  .nav__actions,
  .nav__direct { display: none; }

  .header__actions { display: flex; gap: 0.5rem; }

  .nav {
    position: static;
    display: flex;
    align-items: center;
    padding: 0;
    background: none;
    border: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__list {
    display: flex;
    gap: 1.6rem;
    width: auto;
    margin: 0;
  }

  .nav__link {
    padding: 0;
    border: 0;
    font-size: 0.95rem;
  }

  .hero__grid {
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
  }

  .steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2.5rem;
  }

  .step:nth-child(2) { border-bottom: 0; }

  .price {
    grid-template-columns: 0.9fr 1fr;
    align-items: stretch;
  }

  .price__main {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .price__actions { grid-auto-flow: row; }

  .price__list { grid-template-columns: repeat(2, 1fr); }

  .footer__inner {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .footer__copy { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
  .grid,
  .works { gap: 1.25rem; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .contacts__grid { grid-template-columns: repeat(4, 1fr); }
  .demo__site { padding: 1rem; }
}

@media (min-width: 1440px) {
  :root { --maxw: 1240px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}


.reklama {

  color: #0d1220;

}
