/* Текстиль Лаб — стилі сайту */

:root {
  --ink: #1c1b29;
  --muted: #55546a;
  --muted-strong: #45445a;
  --bg: #ffffff;
  --bg-alt: #f4f5fa;
  --line: #e6e7ef;
  --line-strong: #cfd1de;
  --field: #8c8da2;
  --accent: #3b3fd8;
  --accent-hover: #2a2da8;
  --accent-soft: #eef0ff;
  --dark: #1c1b29;
  --dark-card: #2a2939;
  --on-dark: #ffffff;
  --on-dark-muted: #c9c8d8;
  --accent-on-dark: #a9acff;
  --danger: #b42318;
  --danger-soft: #fef3f2;

  --t-toy: #fde7ec;
  --t-clothes: #e5eafd;
  --t-home: #e3f1e6;
  --t-biz: #fff4d6;
  --t-emb: #f1e8ff;

  --font-body: 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Rubik', 'Golos Text', system-ui, sans-serif;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --container: 1200px;
  --gutter: 24px;
  --section: clamp(64px, 9vw, 96px);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
}
a:hover {
  color: var(--accent-hover);
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus {
  top: 12px;
  color: #fff;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

@media (max-width: 480px) {
  :root {
    --gutter: 16px;
  }
}

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

/* Короткі підписи для телефонів: sm — до 600px, xs — до 409px */
.sm-only,
.xs-only {
  display: none;
}
@media (max-width: 600px) {
  .sm-only {
    display: inline;
  }
  .sm-hide {
    display: none;
  }
}
@media (max-width: 409px) {
  .xs-only {
    display: inline;
  }
  .xs-hide {
    display: none;
  }
}

.demo-bar {
  background: var(--t-biz);
  color: var(--ink);
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
}

/* ---------- Типографіка секцій ---------- */
.section {
  padding: var(--section) 0;
}
.section--alt {
  background: var(--bg-alt);
}
.section--dark {
  background: var(--dark);
  color: var(--on-dark);
}
.section--flush-top {
  padding-top: 0;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
}

.section-head--wide {
  max-width: none;
}

.eyebrow {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.section--dark .eyebrow {
  color: var(--accent-on-dark);
}

.pill {
  align-self: flex-start;
  display: inline-block;
  background: #fff;
  border: 1px solid #dfe1ec;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

.h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.6vw, 3.9rem);
  line-height: 1.07;
  letter-spacing: -0.02em;
}
.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.25;
}

.lead {
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.6;
  color: var(--muted);
}
.section--dark .lead {
  color: var(--on-dark-muted);
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn--sm {
  min-height: 44px;
  padding: 0 20px;
  font-size: 15px;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary:hover {
  background: var(--accent-hover);
  color: #fff;
}
.btn--secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--secondary:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.btn--light {
  background: #fff;
  color: var(--ink);
}
.btn--light:hover {
  background: var(--accent-soft);
  color: var(--ink);
}
.btn--outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.btn[disabled] {
  opacity: 0.65;
  cursor: progress;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}

/* ---------- Шапка ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.brand:hover {
  color: var(--ink);
}
.brand__mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  font-size: 15px;
  font-weight: 600;
}
.site-nav__list a {
  display: inline-block;
  padding: 10px 0;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.site-nav__list a:hover {
  color: var(--accent);
}
.site-nav__list a[aria-current='page'] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle__open,
.nav-toggle__close {
  display: inline-flex;
}
.nav-toggle[aria-expanded='false'] .nav-toggle__close,
.nav-toggle[aria-expanded='true'] .nav-toggle__open {
  display: none;
}

@media (max-width: 1080px) {
  .js .nav-toggle {
    display: inline-flex;
  }
  .js .site-nav {
    display: none;
  }
  .js .site-nav.is-open {
    display: flex;
  }
  .site-header__row {
    flex-wrap: wrap;
  }
  .site-nav {
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 4px 0 20px;
  }
  .site-nav__list {
    flex-direction: column;
    gap: 0;
    font-size: 17px;
  }
  .site-nav__list a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  .site-nav__list a[aria-current='page'] {
    border-bottom-color: var(--line);
  }
  .site-nav .btn {
    width: 100%;
    min-height: 52px;
  }
}

/* ---------- Фото ---------- */
.photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background-color: var(--tint, var(--bg-alt));
  background-image: repeating-linear-gradient(135deg, rgba(28, 27, 41, 0.05) 0 10px, transparent 10px 20px);
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo__label {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.t-toy {
  --tint: var(--t-toy);
}
.t-clothes {
  --tint: var(--t-clothes);
}
.t-home {
  --tint: var(--t-home);
}
.t-biz {
  --tint: var(--t-biz);
}
.t-emb {
  --tint: var(--t-emb);
}

/* ---------- Головна: перший екран ---------- */
.hero {
  background: var(--bg-alt);
  padding: clamp(48px, 7vw, 72px) 0 clamp(56px, 8vw, 88px);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  grid-template-areas:
    'text panel'
    'ticks panel';
  grid-template-rows: auto auto;
  column-gap: 48px;
  row-gap: 32px;
  align-items: start;
}
.hero__text {
  grid-area: text;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero .h1 {
  text-wrap: wrap;
}
.hero__text .lead {
  max-width: 560px;
}
.ticks.hero__ticks {
  grid-area: ticks;
  margin: 0;
}
.ticks {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 12px 24px;
  font-size: 15px;
  font-weight: 600;
}
.ticks li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ticks svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* ---------- Напрямки ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
  gap: 24px;
}

.grid-dirs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 20px;
}
.grid-dirs .dir-card__body {
  padding: 24px;
}
.grid-dirs .dir-card .photo {
  height: 200px;
}

.dir-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
}
.dir-card .photo {
  border-radius: 0;
  height: 220px;
}
.dir-card__icon {
  position: absolute;
  left: 16px;
  top: 16px;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.dir-card__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-grow: 1;
}
.dir-card__body p {
  color: var(--muted);
}
.dir-card__foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #eeeff5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
  color: var(--muted);
}
.dir-card__foot strong {
  color: var(--ink);
}

.tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}
.tags li {
  background: var(--tint, var(--bg-alt));
  border-radius: 999px;
  padding: 6px 12px;
}

.band {
  margin-top: 24px;
  background: var(--bg-alt);
  border-radius: 24px;
  padding: 28px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
}
.band__icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 18px;
  background: #fff;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.band__text {
  flex: 1 1 360px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.band__text strong {
  font-size: 18px;
}
.band__text span {
  color: var(--muted);
}

/* ---------- Для бізнесу ---------- */
.biz {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: flex-start;
}
.biz__text {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.biz__grid {
  flex: 1 1 520px;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px;
}
.feature {
  background: var(--dark-card);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature strong {
  font-size: 17px;
}
.feature span {
  font-size: 15px;
  line-height: 1.55;
  color: var(--on-dark-muted);
}

/* ---------- Роботи ---------- */
.works-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}
.works-head .section-head {
  margin-bottom: 0;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}
.chip:hover {
  border-color: var(--ink);
}
.chip[aria-pressed='true'] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.ba {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.ba .photo {
  flex: 1 1 260px;
  height: 240px;
  border-radius: var(--radius);
}
.ba__arrow {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  margin: 0 auto;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ba__text {
  flex: 1 1 260px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 8px;
}
.ba__text strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
}
.ba__text span {
  color: var(--muted);
}

.works {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
  gap: 20px;
}
.work {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.work[hidden] {
  display: none;
}
.work .photo {
  height: 240px;
  border-radius: var(--radius);
}
.work figcaption {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.work figcaption strong {
  font-size: 16px;
  line-height: 1.4;
}
.tag {
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 10px;
  background: var(--tint, var(--bg-alt));
}

/* ---------- Відгуки ---------- */
.review {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.review p {
  font-size: 17px;
}
.review footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}

/* ---------- Процес ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 20px;
}
.step {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--accent);
}
.step strong {
  font-size: 19px;
}
.step span:last-child {
  color: var(--muted);
}

.steps--dark {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 16px;
}
.steps--dark .step {
  background: var(--dark-card);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-content: start;
  column-gap: 16px;
  row-gap: 4px;
}
.steps--dark .step strong {
  align-self: center;
}
.steps--dark .step span:last-child {
  grid-column: 2;
}
.steps--dark .step__num {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps--dark .step strong {
  font-size: 17px;
}
.steps--dark .step span:last-child {
  color: var(--on-dark-muted);
  font-size: 15px;
  line-height: 1.5;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 880px;
  margin: 0 auto;
}
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq details {
  background: #fff;
  border-radius: var(--radius);
  padding: 0 24px;
}
.faq summary {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  padding: 12px 0;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary svg {
  flex-shrink: 0;
  color: var(--accent);
  transition: transform 0.2s;
}
.faq details[open] summary svg {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 0 22px;
  color: var(--muted);
}

/* ---------- CTA ---------- */
.cta {
  background: var(--accent);
  border-radius: 32px;
  padding: clamp(36px, 5vw, 56px) clamp(24px, 4vw, 48px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: #fff;
}
.cta__text {
  flex: 1 1 640px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cta__text .h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
}
.cta__text p {
  font-size: 18px;
  color: #e4e5ff;
}

/* ---------- Футер ---------- */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding: 64px 0 32px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 32px;
}
.site-footer__about {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.site-footer__about p {
  color: var(--muted);
  font-size: 15px;
}
.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
}
.site-footer__col a {
  color: var(--ink);
  text-decoration: none;
}
.site-footer__col a:hover {
  color: var(--accent);
  text-decoration: underline;
}
.site-footer__title {
  font-size: 15px;
  font-weight: 800;
  font-family: var(--font-body);
}
.site-footer__bottom {
  margin-top: 40px;
  border-top: 1px solid #dfe1ec;
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
}
.site-footer__seller {
  white-space: nowrap;
}

/* ---------- Сторінка напрямку ---------- */
.page-hero {
  background: var(--tint, var(--bg-alt));
  padding: 28px 0 clamp(56px, 7vw, 80px);
}
.breadcrumbs {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted-strong);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.breadcrumbs a {
  text-decoration: none;
}
.page-hero__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
}
.page-hero__text {
  flex: 1 1 560px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.page-hero__text .h1 {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  line-height: 1.1;
}
.page-hero__text .lead {
  color: var(--muted-strong);
}
.page-hero .photo {
  flex: 1 1 400px;
  min-width: 0;
  height: 400px;
  background-color: #fff;
}

.cat-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.cat-card .photo {
  height: 190px;
  border-radius: 0;
}
.cat-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cat-card__body h3 {
  font-size: 19px;
  font-weight: 800;
  font-family: var(--font-body);
}
.cat-card__body p {
  color: var(--muted);
}

.bring {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 40px);
}
.bring .h3 {
  margin-bottom: 28px;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}
.bring ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 20px;
}
.bring li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.bring__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 14px;
  background: #fff;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.bring li strong {
  display: block;
  font-size: 16px;
}
.bring li span {
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

.prices__table {
  flex: 999 1 560px;
  min-width: 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 24px;
}
.prices__table table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
}
.prices__table th,
.prices__table td {
  padding: 16px 24px;
  text-align: left;
}
.prices__table thead tr {
  background: var(--bg-alt);
}
.prices__table th {
  font-weight: 800;
}
.prices__table tbody tr {
  border-top: 1px solid var(--line);
}
.prices__table td:nth-child(2) {
  color: var(--muted);
}
.prices__table th:last-child,
.prices__table td:last-child {
  text-align: right;
  font-weight: 700;
}

.strip-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 20px;
}
.strip .photo {
  height: 300px;
  border-radius: var(--radius);
}

/* ---------- Форма заявки ---------- */
.order-page {
  background: var(--bg-alt);
  padding: 48px 0 72px;
}
.order-intro {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.order-intro .h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.12;
}
.order-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px;
}
.order-form {
  flex: 999 1 560px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.order-aside {
  flex: 1 1 320px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.card {
  background: #fff;
  border-radius: 24px;
  padding: clamp(20px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 0;
  margin: 0;
  min-width: 0;
}
.card__title {
  font-size: 20px;
  font-weight: 800;
  padding: 0;
  font-family: var(--font-body);
}
/* Група полів усередині картки: заголовок-legend лишається всередині білого блоку в усіх браузерах */
.card__set {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.card__set > legend {
  display: block;
  width: 100%;
  padding: 0 0 20px;
}
.card__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
.card--dark {
  background: var(--dark);
  color: #fff;
}
.card--dark ul {
  margin: 0;
  padding: 0 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--on-dark-muted);
  font-size: 15px;
}

.fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 16px;
  align-items: end;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  min-width: 0;
}
.field__hint {
  font-weight: 500;
  color: var(--muted);
  font-size: 13px;
}
.fld {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--field);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
  background: #fff;
}
.fld:focus-visible {
  outline-offset: 0;
  border-color: var(--accent);
}
textarea.fld {
  min-height: 128px;
  resize: vertical;
  line-height: 1.5;
}
select.fld {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231c1b29' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

.choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 12px;
}
.choices--dirs {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 120px), 1fr));
}
.choice {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 2px solid #d9dae6;
  background: #fff;
  cursor: pointer;
}
.choice input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.choice:has(input:focus-visible) {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.choice:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.choice__dot {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
  border-radius: 999px;
  border: 2px solid var(--field);
  display: flex;
  align-items: center;
  justify-content: center;
}
.choice:has(input:checked) .choice__dot {
  border-color: var(--accent);
}
.choice:has(input:checked) .choice__dot::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
}
.choice__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.choice__text strong {
  font-size: 17px;
}
.choice__text span {
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}
.choice--dir {
  flex-direction: column;
  gap: 12px;
  padding: 18px;
}
.choice--dir strong {
  font-size: 16px;
  line-height: 1.3;
}
.choice__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--tint, var(--bg-alt));
  display: flex;
  align-items: center;
  justify-content: center;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill-choice {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}
.pill-choice input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.pill-choice:has(input:checked) {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.pill-choice:has(input:focus-visible) {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.group-label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  padding: 0 0 10px;
}
.plain-fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.checks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 4px 16px;
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 15px;
  cursor: pointer;
}
.check input {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  accent-color: var(--accent);
}
.check--boxed {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  font-weight: 600;
}
.check--top {
  align-items: flex-start;
  line-height: 1.5;
}
.check--top input {
  margin-top: 2px;
}

.note {
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--bg-alt);
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted-strong);
}

.dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 150px;
  padding: 20px;
  border: 2px dashed var(--field);
  border-radius: 16px;
  background: #fafafd;
  text-align: center;
  cursor: pointer;
  font-weight: 400;
}
.dropzone svg {
  color: var(--accent);
}
.dropzone strong {
  font-size: 16px;
}
.dropzone.is-over {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.dropzone:has(+ input:focus-visible) {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}
.file-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.file-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
}
.file-list img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.file-list__icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.file-list__name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-list__size {
  color: var(--muted);
  flex-shrink: 0;
}
.file-list button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.file-list button:hover {
  background: var(--danger-soft);
  color: var(--danger);
}

.form-error {
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--danger-soft);
  color: var(--danger);
  font-weight: 600;
  font-size: 15px;
}
.form-submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.form-submit .btn {
  min-height: 56px;
  font-size: 17px;
  padding: 0 32px;
}
.form-submit span {
  font-size: 14px;
  color: var(--muted);
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.next-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.next-steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.5;
}
.next-steps__num {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}
.contact-link svg {
  color: var(--accent);
}
.contact-link:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.success {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 64px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.success__icon {
  width: 80px;
  height: 80px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.success p {
  font-size: 17px;
  color: var(--muted);
}

[hidden] {
  display: none !important;
}

/* ---------- Текстові сторінки ---------- */
.prose-page {
  padding: 48px 0 96px;
}
/* Текст — вузькою колонкою для зручного читання, заголовок сторінки — в один рядок */
.prose > * {
  max-width: 760px;
}
.prose > h1 {
  max-width: none;
}
.prose h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  margin-bottom: 16px;
}
.prose h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  margin: 40px 0 12px;
}
.prose p,
.prose li {
  color: var(--muted-strong);
}
.prose p + p {
  margin-top: 12px;
}
.prose ul {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.prose .updated {
  color: var(--muted);
  font-size: 14px;
}
.seller-card {
  margin-top: 16px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.seller-card dl {
  margin: 0;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 20px;
}
.seller-card dt {
  font-weight: 700;
}
.seller-card dd {
  margin: 0;
  color: var(--muted-strong);
}
@media (max-width: 560px) {
  .seller-card dl {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .seller-card dd {
    margin-bottom: 10px;
  }
}

.notfound {
  padding: clamp(64px, 10vw, 120px) 0;
  text-align: center;
}
.notfound .h1 {
  margin: 16px 0;
}
.notfound .btn-row {
  justify-content: center;
  margin-top: 28px;
}

/* ---------- Повідомлення (Viber) ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 100;
  width: min(560px, calc(100% - 32px));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 14px 16px 14px 20px;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  box-shadow: 0 12px 32px rgba(28, 27, 41, 0.25);
}
.toast span {
  flex: 1 1 240px;
}
.toast__btn {
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}
.toast__close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

/* ---------- Плитки «скло» на першому екрані ---------- */
/* На широких екранах панель має рівно ту саму висоту, що й текст першого екрана */
.hero__panel {
  grid-area: panel;
  align-self: stretch;
  min-width: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
  padding: 22px 24px 20px 20px;
  border-radius: 28px;
  background: #3b3fd8;
  overflow: hidden;
  isolation: isolate;
}
.glass {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 18px 0 6px 18px;
  color: #fff;
  text-decoration: none;
  border-radius: 22px;
}
.glass:hover,
.glass:focus-visible {
  color: #fff;
}
.glass:focus-visible {
  outline-color: #fff;
}
.glass__orb {
  position: absolute;
  top: 0;
  left: 0;
  width: 42%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #7c80f4;
  transition: transform 0.25s ease;
}
.glass__card {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 10px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  transition: transform 0.25s ease, background-color 0.25s ease;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass__card {
    background: rgba(120, 124, 240, 0.6);
  }
}
.glass:hover .glass__card,
.glass:focus-visible .glass__card {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.18);
}
.glass:hover .glass__orb {
  transform: translate(-4px, -4px) scale(1.04);
}
.glass__icon {
  flex: 1 1 0;
  min-height: 0;
  width: 100%;
  height: 0;
  color: #fff;
}
.glass__title {
  flex: none;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.2;
  text-align: center;
}
/* Планшет і телефон: текст → переваги → плитки напрямків одним рядком */
@media (max-width: 1015px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      'text'
      'ticks'
      'panel';
    row-gap: 28px;
  }
  .hero__panel {
    align-self: start;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: none;
    gap: 14px;
    padding: 18px 20px 16px 16px;
  }
  .glass {
    padding: 14px 0 4px 14px;
  }
  .glass__card {
    flex: none;
    aspect-ratio: 1;
    justify-content: center;
    padding: 8% 6% 8%;
  }
  .glass__icon {
    flex: none;
    width: 66%;
    height: auto;
    aspect-ratio: 1;
  }
}
@media (max-width: 600px) {
  /* Рівний ритм відступів: 16 / 24 */
  .hero {
    padding: 28px 0 40px;
  }
  .hero__grid {
    row-gap: 24px;
  }
  .hero__text {
    gap: 16px;
  }
  .hero .h1 {
    font-size: clamp(1.9rem, 8.6vw, 2.3rem);
    line-height: 1.08;
  }
  .hero .lead {
    font-size: 16px;
    line-height: 1.55;
  }
  .hero__more {
    display: none;
  }
  /* Дві кнопки однакової ширини */
  .hero__btns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 8px;
  }
  .hero__btns .btn {
    min-height: 52px;
    padding: 0 12px;
    font-size: 15px;
    white-space: nowrap;
  }
  .hero__arrow {
    display: none;
  }
  /* Переваги — сітка 2×2, кожна в один рядок */
  .ticks.hero__ticks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
  }
  .hero__ticks li {
    gap: 6px;
    white-space: nowrap;
  }
  .hero__ticks svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
  }
  /* Плитки напрямків — 2×2, великі квадрати з колами, як на компʼютері */
  .hero__panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 14px;
    padding: 18px 18px 16px 14px;
    border-radius: 26px;
  }
  .glass {
    padding: 16px 0 4px 14px;
  }
  .glass__orb {
    width: 44%;
  }
  .glass__card {
    gap: 6px;
    padding: 10% 6% 9%;
    border-radius: 20px;
  }
  .glass__icon {
    width: 62%;
  }
  .glass__title {
    font-size: 15px;
  }
}
@media (max-width: 359px) {
  .ticks.hero__ticks {
    font-size: 12px;
    gap: 10px;
  }
  .hero__ticks li {
    white-space: normal;
  }
  .hero__btns .btn {
    font-size: 14px;
  }
}

/* ---------- Планшет: фото сторінки напрямку під текстом ---------- */
@media (max-width: 1055px) {
  .page-hero .photo {
    flex-basis: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

/* ---------- Телефон: компактніші сторінки ---------- */
@media (max-width: 600px) {
  /* Перший екран сторінки напрямку */
  .page-hero {
    padding: 20px 0 48px;
  }
  .breadcrumbs {
    margin-bottom: 20px;
  }
  .page-hero__row {
    gap: 28px;
  }
  .page-hero__text {
    gap: 16px;
  }
  .page-hero__text .h1 {
    font-size: clamp(1.8rem, 8vw, 2.2rem);
  }
  .page-hero__text .lead {
    font-size: 16px;
    line-height: 1.55;
  }
  .page-hero .btn-row,
  .notfound .btn-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-top: 8px;
  }
  .page-hero .btn-row .btn,
  .notfound .btn-row .btn {
    min-height: 52px;
    font-size: 15px;
  }
  .page-hero .photo {
    aspect-ratio: 4 / 3;
  }

  .section-head {
    gap: 10px;
    margin-bottom: 28px;
  }
  .section-head .lead {
    font-size: 16px;
  }

  /* Картки напрямків на головній */
  .grid-dirs {
    gap: 16px;
  }
  .grid-dirs .dir-card .photo {
    height: 168px;
  }
  .grid-dirs .dir-card__body {
    padding: 20px;
    gap: 12px;
  }
  .tags {
    gap: 6px;
    font-size: 13px;
  }
  .tags li {
    padding: 5px 10px;
  }
  .band {
    padding: 22px 20px;
    gap: 16px;
  }
  .band__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  /* Категорії на сторінках напрямків — горизонтальні картки */
  .grid-3 {
    gap: 12px;
  }
  .cat-card {
    flex-direction: row;
    border-radius: 20px;
  }
  .cat-card .photo {
    flex: 0 0 112px;
    height: auto;
    min-height: 112px;
  }
  .cat-card__body {
    padding: 14px 16px;
    gap: 4px;
    justify-content: center;
  }
  .cat-card__body h3 {
    font-size: 17px;
  }
  .cat-card__body p {
    font-size: 15px;
    line-height: 1.5;
  }
  .bring {
    padding: 24px 20px;
  }
  .bring .h3 {
    margin-bottom: 20px;
  }
  .bring ul {
    gap: 16px;
  }
  .bring__icon {
    width: 44px;
    height: 44px;
  }

  /* Бізнес */
  .biz {
    gap: 32px;
  }
  .biz__grid {
    gap: 12px;
  }
  .feature {
    padding: 18px 20px;
    gap: 4px;
  }
  .feature strong {
    font-size: 16px;
  }

  /* Роботи — дві колонки */
  .works-head {
    margin-bottom: 24px;
  }
  .chip {
    min-height: 40px;
    padding: 0 14px;
    font-size: 14px;
  }
  .works {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
  }
  .work {
    gap: 8px;
  }
  .work .photo {
    height: auto;
    aspect-ratio: 1;
    border-radius: 16px;
  }
  .work figcaption {
    gap: 6px;
  }
  .work figcaption strong {
    font-size: 14px;
    line-height: 1.35;
  }
  .tag {
    font-size: 12px;
  }
  .strip-head {
    margin-bottom: 20px;
  }
  .strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .strip .photo {
    height: auto;
    aspect-ratio: 1;
    border-radius: 16px;
  }

  /* Кроки — номер ліворуч, менше повітря */
  .steps {
    gap: 12px;
  }
  .step {
    padding: 20px;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 4px;
    align-items: baseline;
  }
  .step strong {
    font-size: 17px;
  }
  .step span:last-child {
    grid-column: 2;
    font-size: 15px;
    line-height: 1.5;
  }
  .steps--dark .step {
    padding: 18px 20px;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: center;
  }
  .steps--dark .step__num {
    width: 36px;
    height: 36px;
  }

  /* Ціни — таблиця перебудовується в список, щоб ціну було видно без прокрутки */
  .prices__table {
    border-radius: 20px;
  }
  .prices__table table,
  .prices__table tbody {
    display: block;
    min-width: 0;
  }
  .prices__table thead {
    display: none;
  }
  .prices__table tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 16px;
    row-gap: 2px;
    align-items: center;
    padding: 14px 18px;
  }
  .prices__table tbody tr:first-child {
    border-top: 0;
  }
  .prices__table td {
    padding: 0;
  }
  .prices__table td:first-child {
    grid-column: 1;
    grid-row: 1;
    font-weight: 600;
    line-height: 1.4;
  }
  .prices__table td:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
    font-size: 14px;
  }
  .prices__table td:last-child {
    grid-column: 2;
    grid-row: 1 / span 2;
    white-space: nowrap;
  }

  /* FAQ */
  .faq details {
    padding: 0 18px;
  }
  .faq summary {
    min-height: 58px;
    font-size: 16px;
  }

  /* Заклик: головна кнопка на всю ширину, месенджери — порівну */
  .cta {
    border-radius: 26px;
    gap: 24px;
  }
  .cta__text p {
    font-size: 16px;
  }
  .cta .btn-row {
    flex: 1 1 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .cta .btn-row .btn {
    min-height: 52px;
    padding: 0 12px;
    font-size: 15px;
  }
  .cta .btn-row .btn--light {
    grid-column: 1 / -1;
  }

  /* Футер — дві колонки посилань */
  .site-footer {
    padding: 48px 0 28px;
  }
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 16px;
  }
  .site-footer__about,
  .site-footer__grid > .site-footer__col:last-child {
    grid-column: 1 / -1;
  }
  .site-footer__bottom {
    margin-top: 32px;
  }

  /* Заявка */
  .order-page {
    padding: 28px 0 48px;
  }
  .order-intro {
    margin-bottom: 24px;
  }
  .order-intro .lead {
    font-size: 16px;
  }
  .order-form,
  .order-aside {
    gap: 16px;
  }
  .order-layout {
    gap: 16px;
  }
  .card__title {
    font-size: 19px;
  }
  .card__set > legend {
    padding-bottom: 16px;
  }
  .choices {
    gap: 10px;
  }
  .choice {
    padding: 14px 16px;
  }
  .choices--dirs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .choice--dir {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 12px;
    min-height: 68px;
  }
  .choice--dir:last-child {
    grid-column: 1 / -1;
  }
  .choice--dir strong {
    font-size: 15px;
  }
  .choice__icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 12px;
  }
  .form-submit {
    gap: 10px;
    justify-content: center;
  }
  .form-submit .btn {
    width: 100%;
  }

  /* Текстові сторінки */
  .prose-page {
    padding: 32px 0 64px;
  }
  .prose h2 {
    font-size: 20px;
    margin-top: 32px;
  }
  .notfound {
    padding: 56px 0 64px;
  }
  .notfound .btn-row {
    max-width: 320px;
    margin: 24px auto 0;
  }
  .success {
    padding: 48px 20px;
  }
}
