@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/onest-400.ttf") format("truetype");
}

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/onest-500.ttf") format("truetype");
}

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/onest-600.ttf") format("truetype");
}

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/onest-700.ttf") format("truetype");
}

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/onest-800.ttf") format("truetype");
}

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("/assets/fonts/onest-900.ttf") format("truetype");
}

@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/unbounded-500.ttf") format("truetype");
}

@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/unbounded-700.ttf") format("truetype");
}

@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("/assets/fonts/unbounded-900.ttf") format("truetype");
}

:root {
  color-scheme: light;
  --accent: #c51708;
  --accent-dark: #8f0c04;
  --accent-soft: #fff1ef;
  --ink: #111111;
  --ink-soft: #373333;
  --muted: #696260;
  --paper: #f7f6f4;
  --surface: #ffffff;
  --surface-warm: #fbfaf8;
  --line: #ded8d1;
  --line-strong: #bdb3aa;
  --shadow: rgba(21, 17, 16, 0.15);
  --max: 1220px;
  --radius: 8px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: Onest, Arial, Helvetica, sans-serif;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  width: 7px;
  background: var(--accent);
  pointer-events: none;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(197, 23, 8, 0.34);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 12;
  border-bottom: 1px solid rgba(17, 17, 17, 0.11);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(var(--max), calc(100vw - 40px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  text-decoration: none;
}

.brand-link img {
  width: clamp(132px, 12vw, 176px);
}

.brand-note {
  display: grid;
  gap: 2px;
  min-width: 140px;
  border-left: 1px solid rgba(17, 17, 17, 0.18);
  padding-left: 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.brand-note strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2vw, 28px);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--accent);
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  cursor: pointer;
  font-weight: 800;
  line-height: 1;
  padding: 0 21px;
  text-decoration: none;
  transition: transform 220ms var(--ease), background 220ms var(--ease), box-shadow 220ms var(--ease);
  white-space: nowrap;
}

.button:hover {
  background: #df1b0a;
  box-shadow: 0 10px 22px rgba(197, 23, 8, 0.2);
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.button.secondary {
  background: var(--ink);
}

.button.secondary:hover {
  background: #2c2828;
  box-shadow: none;
}

.button.light {
  background: #ffffff;
  color: var(--ink);
}

.button.light:hover {
  background: #f3efed;
  box-shadow: none;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.56);
}

.button.ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.76);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100dvh - 74px));
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, #111111 0%, #111111 55%, #c51708 55%, #c51708 100%);
  color: #ffffff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.28) 100%);
  pointer-events: none;
}

.hero-inner,
.section-inner,
.footer-inner {
  width: min(var(--max), calc(100vw - 40px));
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: clamp(42px, 6vw, 78px) 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.hero-grid > * {
  min-width: 0;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: Unbounded, Onest, Arial, sans-serif;
  font-size: clamp(36px, 4.4vw, 60px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
  text-wrap: balance;
  min-width: 0;
  overflow-wrap: normal;
  word-break: normal;
}

.hero h1 span {
  display: block;
  color: #ffffff;
}

.hero h1 .accent-line {
  color: #ff3a27;
}

.hero-copy {
  max-width: 580px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border-top: 5px solid var(--accent);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  padding: clamp(20px, 2.8vw, 30px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.2);
}

.hero-visual {
  overflow: visible;
  display: grid;
  gap: 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.hero-visual::after {
  content: none;
}

.hero-mosaic {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(132px, 0.56fr);
  gap: 14px;
  align-items: stretch;
  margin-top: 0;
}

.hero-mosaic img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.22);
}

.mosaic-main {
  aspect-ratio: 4 / 3;
}

.mosaic-small {
  display: grid;
  gap: 12px;
}

.mosaic-small img {
  height: 100%;
  min-height: 0;
  aspect-ratio: 1 / 1;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(197, 23, 8, 0.12);
}

.hero-card h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: Unbounded, Onest, Arial, sans-serif;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.08;
}

.hero-card p {
  position: relative;
  z-index: 1;
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.54;
}

.hero-card.hero-visual::after {
  content: none;
}

.hero-credentials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 620px;
  margin: 30px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  list-style: none;
}

.proof-strip {
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.proof-strip .section-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  background: rgba(255, 255, 255, 0.12);
}

.proof-item {
  display: grid;
  gap: 6px;
  min-height: 118px;
  align-content: center;
  background: #171717;
  padding: 24px;
}

.proof-item strong,
.card h3,
.step h3,
.price-card h3,
.case-card h3,
.service-row h2,
.team-card h3,
.document-tile h3 {
  margin: 0;
  font-family: Unbounded, Onest, Arial, sans-serif;
  letter-spacing: 0;
  line-height: 1.14;
}

.proof-item strong {
  font-size: 20px;
}

.proof-item span {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.48;
}

section {
  position: relative;
}

.section-inner {
  padding: clamp(56px, 7vw, 96px) 0;
}

.section-title {
  max-width: 900px;
  margin: 0;
  font-family: Unbounded, Onest, Arial, sans-serif;
  font-size: clamp(30px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.04;
  text-wrap: balance;
  min-width: 0;
  overflow-wrap: break-word;
}

.section-lead {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.58;
}

.copy-stack {
  display: grid;
  gap: 18px;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.62;
}

.copy-stack p {
  margin: 0;
}

.reason-grid {
  display: grid;
  grid-template-columns: 1.15fr repeat(2, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.card {
  min-height: 190px;
  display: grid;
  align-content: start;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(20px, 2.4vw, 28px);
  transition: transform 220ms var(--ease), border-color 220ms var(--ease), box-shadow 220ms var(--ease);
}

.card:hover {
  border-color: rgba(197, 23, 8, 0.35);
  box-shadow: 0 16px 34px rgba(17, 17, 17, 0.08);
  transform: translateY(-2px);
}

.card.featured {
  min-height: 398px;
  grid-row: span 2;
  background:
    linear-gradient(140deg, rgba(197, 23, 8, 0.9), rgba(143, 12, 4, 0.95)),
    var(--accent);
  color: #ffffff;
}

.card.featured p,
.card.featured .mini-list {
  color: rgba(255, 255, 255, 0.86);
}

.icon-mark {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-family: Unbounded, Onest, Arial, sans-serif;
  font-size: 18px;
  font-weight: 900;
}

.featured .icon-mark {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.card h3 {
  font-size: 24px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.52;
}

.mini-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.mini-list li {
  border-top: 1px solid rgba(17, 17, 17, 0.12);
  padding-top: 10px;
  line-height: 1.42;
}

.featured .mini-list li {
  border-top-color: rgba(255, 255, 255, 0.22);
}

.process-section {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 34px 0 0;
}

.step {
  position: relative;
  min-height: 230px;
  display: grid;
  align-content: space-between;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-warm);
  padding: 22px;
}

.step::before {
  content: "";
  position: absolute;
  top: 38px;
  left: -10px;
  width: 10px;
  height: 2px;
  background: var(--accent);
}

.step:first-child::before {
  content: none;
}

.step-num {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 900;
}

.step h3 {
  font-size: 22px;
}

.step p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.media-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: stretch;
  margin-top: 34px;
}

.photo-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}

.photo-card:hover img {
  transform: scale(1.04);
}

.photo-caption {
  padding: 18px 20px 20px;
  color: var(--ink-soft);
  font-weight: 700;
  line-height: 1.35;
}

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

.category-tile {
  min-height: 128px;
  display: grid;
  align-content: end;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 18px;
}

.category-tile:nth-child(3),
.category-tile:nth-child(6) {
  background: var(--accent-soft);
  border-color: rgba(197, 23, 8, 0.22);
}

.category-tile strong {
  font-family: Unbounded, Onest, Arial, sans-serif;
  font-size: 20px;
  line-height: 1.15;
}

.category-tile span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.42;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.case-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.case-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.case-body {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.case-card h3 {
  font-size: 23px;
}

.case-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.case-meta {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-meta li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
  color: var(--muted);
  line-height: 1.32;
}

.case-meta strong {
  color: var(--ink);
  text-align: right;
}

.document-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
  margin-top: 34px;
}

.document-panel {
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.92), rgba(38, 33, 32, 0.94)),
    var(--ink);
  color: #ffffff;
  padding: clamp(24px, 4vw, 40px);
}

.document-panel h3 {
  max-width: 680px;
  margin: 0;
  font-family: Unbounded, Onest, Arial, sans-serif;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.08;
}

.document-panel p {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.55;
}

.document-list {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.document-list li {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 12px;
  font-weight: 700;
}

.document-side {
  display: grid;
  gap: 14px;
}

.document-tile {
  min-height: 142px;
  display: grid;
  align-content: space-between;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 22px;
}

.document-tile h3 {
  font-size: 22px;
}

.document-tile p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.price-card {
  min-height: 260px;
  display: grid;
  align-content: space-between;
  gap: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 24px;
}

.price-card h3 {
  font-size: 24px;
}

.price-value {
  font-family: Unbounded, Onest, Arial, sans-serif;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 900;
  line-height: 1.05;
}

.price-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.52;
}

.request-block {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.request-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(500px, 1fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
}

.request-copy {
  display: grid;
  align-content: start;
  gap: 24px;
  min-width: 0;
}

.request-copy .section-title {
  max-width: 520px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
  overflow-wrap: normal;
  word-break: normal;
}

.request-copy .section-lead {
  max-width: 540px;
}

.contact-stack {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.contact-card {
  min-height: 86px;
  display: grid;
  align-content: center;
  gap: 10px;
  border-left: 4px solid var(--accent);
  background: var(--surface-warm);
  padding: 18px 20px;
}

.contact-card span {
  color: var(--muted);
  font-weight: 700;
}

.contact-placeholder,
.footer-placeholder {
  display: block;
  width: min(100%, 310px);
  height: 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(17, 17, 17, 0.18), rgba(17, 17, 17, 0.07));
}

.lead-form {
  display: grid;
  gap: 16px;
  align-self: start;
  border-radius: var(--radius);
  background: var(--surface-warm);
  border: 1px solid var(--line);
  padding: clamp(22px, 4vw, 34px);
}

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

.field {
  display: grid;
  gap: 8px;
}

.field.wide {
  grid-column: 1 / -1;
}

.field label,
.consent {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cfc7c0;
  border-radius: 0;
  background: #ffffff;
  color: var(--ink);
  padding: 12px 14px;
}

.field textarea {
  min-height: 128px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #776f6b;
}

.consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  font-weight: 600;
}

.consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--accent);
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.form-note,
.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.form-status {
  color: var(--accent-dark);
  font-weight: 800;
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.82), rgba(17, 17, 17, 0.44)),
    url("/assets/lab-control.jpg") center / cover;
  color: #ffffff;
}

.page-hero .section-inner {
  min-height: 360px;
  display: grid;
  align-content: end;
}

.page-hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: Unbounded, Onest, Arial, sans-serif;
  font-size: clamp(36px, 5vw, 66px);
  line-height: 1.04;
  text-wrap: balance;
  min-width: 0;
  overflow-wrap: break-word;
}

.page-hero p {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.5;
}

.service-list {
  display: grid;
  gap: 14px;
}

.service-row {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr 0.7fr 0.8fr;
  gap: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(20px, 3vw, 30px);
}

.service-row h2 {
  font-size: 25px;
}

.service-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.54;
}

.service-meta {
  display: grid;
  gap: 10px;
}

.service-meta strong {
  display: block;
  color: var(--ink);
  font-weight: 900;
}

.split-content {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.split-content img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.team-card {
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 24px;
}

.team-card h3 {
  font-size: 22px;
}

.team-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.52;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 34px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 0;
}

.faq-list summary {
  cursor: pointer;
  font-family: Unbounded, Onest, Arial, sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.25;
  padding: 22px 24px;
}

.faq-list p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--muted);
  line-height: 1.58;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) 1.1fr minmax(220px, 0.7fr);
  gap: 28px;
  padding: 38px 0;
}

.footer-logo {
  width: 164px;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: var(--ink-soft);
  font-weight: 700;
  text-decoration: none;
}

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

.footer-contact span,
.copyright {
  color: var(--muted);
  line-height: 1.45;
}

.footer-placeholder {
  height: 16px;
}

.reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 700ms var(--ease), transform 700ms var(--ease);
    transition-delay: var(--reveal-delay, 0ms);
  }

  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 1120px) {
  .nav {
    min-height: 70px;
  }

  .nav-links {
    gap: 16px;
    font-size: 13px;
  }

  .brand-note {
    display: none;
  }

  .hero-grid,
  .media-grid,
  .document-grid,
  .request-grid,
  .split-content {
    grid-template-columns: 1fr;
  }

  .hero {
    background:
      linear-gradient(180deg, #111111 0%, #111111 68%, #c51708 68%, #c51708 100%);
  }

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

  .card.featured {
    min-height: 260px;
    grid-row: auto;
  }

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

  .service-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  body::before {
    width: 5px;
  }

  .nav {
    width: min(var(--max), calc(100vw - 28px));
    min-height: auto;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 0;
  }

  .brand-link img {
    width: 144px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav-cta {
    margin-left: auto;
  }

  .hero {
    min-height: auto;
  }

  .hero-mosaic {
    grid-template-columns: 1fr;
  }

  .mosaic-small {
    grid-template-columns: 1fr 1fr;
  }

  .hero-credentials {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-inner,
  .section-inner,
  .footer-inner {
    width: min(var(--max), calc(100vw - 28px));
  }

  .hero-inner,
  .section-inner {
    padding: 48px 0;
  }

  .proof-strip .section-inner,
  .case-grid,
  .price-grid,
  .team-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .reason-grid,
  .category-grid,
  .form-grid,
  .service-row {
    grid-template-columns: 1fr;
  }

  .step-grid {
    grid-template-columns: 1fr;
  }

  .step {
    min-height: auto;
  }

  .step::before {
    content: none;
  }

  .field.wide {
    grid-column: auto;
  }

  .request-copy .section-title,
  .section-title,
  .page-hero h1 {
    font-size: clamp(28px, 8.6vw, 40px);
    max-width: 100%;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .page-hero p {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .button {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }

  .footer-inner {
    padding: 30px 0;
  }
}

/* Общий бренд у внутренних страниц и новой главной; фон исходника сливается со светлой подложкой. */
.brand-link img, .footer-logo { width: 180px; height: 38px; object-fit: cover; mix-blend-mode: multiply; }
@media (max-width: 620px) { .brand-link img { width: 148px; height: 32px; } }
