/* Сторінки послуг: ті самі токени, що й на головній (styles.css). HTML генерує scripts/build-locales.mjs */
:root {
  --black: #070707;
  --card: #111112;
  --line: rgba(255, 255, 255, 0.1);
  --white: #fbfbfb;
  --muted: #8b8b90;
  --orange: #ff4000;
  --orange-soft: #ff7a3d;
  --font-head: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --wrap: 1120px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--orange); color: var(--white); }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* Шапка */
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; padding-bottom: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo svg { width: 22px; height: 24px; }
.logo span { font-family: var(--font-head); font-weight: 500; letter-spacing: 0.24em; font-size: 14px; }
.langs { display: flex; gap: 4px; font-size: 14px; }
.langs a { padding: 6px 10px; border-radius: 999px; text-decoration: none; color: var(--muted); }
.langs a:hover { color: var(--white); }
.langs a[aria-current="page"] { background: var(--white); color: var(--black); }

/* Хлібні крихти */
.crumbs { margin-top: 24px; font-size: 14px; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #5f5f64; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--white); }

/* Перший екран */
.hero { padding: clamp(32px, 6vw, 72px) 0 clamp(48px, 7vw, 96px); border-bottom: 1px solid var(--line); }
.hero h1 {
  max-width: 16ch;
  font-family: var(--font-head);
  font-size: clamp(40px, 6.4vw, 84px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.lead { max-width: 60ch; margin-top: 28px; font-size: clamp(17px, 1.5vw, 20px); color: #c9c9ce; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 36px; }
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--black);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn:hover { background: #e63900; }
.btn:active { transform: scale(0.98); }
.from { color: var(--muted); font-size: 15px; }

/* Секції */
.block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px clamp(32px, 6vw, 96px); padding: clamp(48px, 7vw, 88px) 0; border-bottom: 1px solid var(--line); }
.block h2 {
  font-family: var(--font-head);
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.block p { max-width: 62ch; color: #d4d4d8; }

.ticks { display: grid; gap: 16px; }
.ticks li { display: grid; grid-template-columns: 16px 1fr; gap: 14px; color: #e4e4e7; }
.ticks svg { width: 16px; height: 16px; margin-top: 5px; fill: var(--orange); }

/* Етапи: послідовність, тому з номерами */
.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; counter-reset: step; }
.steps li { padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 20px; font-size: 13px; color: var(--orange); font-variant-numeric: tabular-nums; }
.steps h3 { margin-bottom: 8px; font-family: var(--font-head); font-size: 21px; font-weight: 500; letter-spacing: -0.02em; }
.steps p { font-size: 15px; color: var(--muted); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 24px; padding: 20px 0; cursor: pointer; list-style: none; font-family: var(--font-head); font-size: 19px; font-weight: 500; letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--orange); font-size: 24px; line-height: 1; transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--orange-soft); }
.faq details p { padding: 0 40px 22px 0; color: var(--muted); }

/* Заклик */
.cta { margin: clamp(48px, 7vw, 88px) 0; padding: clamp(28px, 4vw, 48px); border-radius: 28px; border: 1px solid rgba(255, 64, 0, 0.35); background: rgba(255, 64, 0, 0.06); }
.cta p { max-width: 52ch; margin-bottom: 24px; font-family: var(--font-head); font-size: clamp(20px, 2.2vw, 28px); line-height: 1.25; letter-spacing: -0.02em; }

/* Інші послуги */
.others { padding-bottom: clamp(48px, 7vw, 88px); }
.others h2 { margin-bottom: 20px; font-size: 15px; font-weight: 500; color: var(--muted); }
.others ul { display: flex; flex-wrap: wrap; gap: 10px; }
.others a { display: inline-block; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; transition: border-color 0.3s var(--ease); }
.others a:hover { border-color: rgba(255, 255, 255, 0.4); }

/* Підвал */
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; padding-bottom: 40px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot a { text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.25); }
.foot a:hover { color: var(--white); }

@media (max-width: 800px) {
  .block { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .faq details p { padding-right: 0; }
}
