/* Техноавиа — токены дизайн-системы */
:root {
  --blueberry: #1b2848;
  --blue: #1d71b8;
  --ink: #1b2848;
  --surface-100: #ffffff;
  --surface-200: #f2f4f7;
  --border: #d8dde5;
  --field-border: #7e879b;

  --font-sans: Roboto, system-ui, sans-serif;
  --font-condensed: "Roboto Condensed", Roboto, sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --gutter: 80px;
  --container: 1440px;
  --brand-gradient: linear-gradient(115deg, var(--blueberry) 0%, var(--blue) 100%);
}

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

html { scroll-behavior: smooth; }

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

a { color: var(--blue); text-decoration: none; transition: color .15s; }
a:hover { color: var(--blueberry); }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }

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

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

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Типографика ---------- */
.eyebrow {
  font-family: var(--font-condensed);
  font-size: 14px; line-height: 20px;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue);
}
.display-lg { font-size: 56px; line-height: 60px; font-weight: 900; }
.display-md { font-size: 40px; line-height: 46px; font-weight: 700; }
.h1 { font-size: 32px; line-height: 38px; font-weight: 700; }
.h2 { font-size: 24px; line-height: 30px; font-weight: 700; }
.num {
  font-family: var(--font-condensed);
  font-size: 14px; line-height: 20px; font-weight: 700;
  color: var(--blue);
}
.more { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--blue); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 24px;
  border: 0; border-radius: var(--radius-md);
  font: 700 16px/1 var(--font-sans);
  cursor: pointer; transition: background .15s, color .15s;
}
.btn--lg { height: 52px; padding: 0 28px; }
.btn--dark { background: var(--blueberry); color: #fff; }
.btn--dark:hover { background: var(--blue); color: #fff; }
.btn--light { background: #fff; color: var(--blueberry); }
.btn--light:hover { background: var(--surface-200); color: var(--blueberry); }

/* ---------- Верхняя полоса ---------- */
.topbar {
  background: var(--blueberry); color: #fff;
  font-size: 14px; line-height: 20px;
}
.topbar .container {
  height: 40px; display: flex; align-items: center; justify-content: space-between;
}
.topbar__group { display: flex; gap: 32px; align-items: center; }
.topbar a { color: #fff; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar__login { font-weight: 500; }

/* ---------- Шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--border);
}
.header .container {
  height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo { flex-shrink: 0; display: flex; align-items: center; }
.logo__image { width: 260px; height: auto; filter: brightness(0) saturate(100%) invert(13%) sepia(25%) saturate(1200%) hue-rotate(188deg) brightness(92%) contrast(92%); }

.nav { display: flex; gap: 32px; align-items: center; }
.nav a {
  padding: 4px 0;
  font-size: 16px; line-height: 24px; font-weight: 500;
  color: var(--blueberry);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--blue); }

.burger {
  display: none;
  width: 44px; height: 44px; border: 0; border-radius: var(--radius-md);
  background: var(--surface-200); align-items: center; justify-content: center; cursor: pointer;
}

/* кнопка в шапке */
.header__cta { flex-shrink: 0; white-space: nowrap; }

/* ---------- Hero главной ---------- */
.hero { background: var(--brand-gradient); color: #fff; }
.hero .container {
  min-height: 0; display: flex; align-items: center; gap: 48px; padding-block: 32px;
}
.hero__body { flex: 1; display: flex; flex-direction: column; }
.hero .eyebrow { color: #fff; }
.hero h1 { margin-top: 20px; }
.hero__lead { margin-top: 24px; max-width: 600px; font-size: 18px; line-height: 28px; }
.hero__actions { margin-top: 36px; display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.hero__link { color: #fff; font-weight: 500; text-decoration: underline; }
.hero__link:hover { color: #fff; opacity: .85; }

.slides {
  margin-top: 56px; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
}
.slides button {
  width: 100%; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; text-align: left;
  display: flex; flex-direction: column; gap: 8px;
  font-family: var(--font-condensed); font-size: 14px; line-height: 18px; font-weight: 400;
}
.slides button::before {
  content: ""; height: 3px; border-radius: 2px; background: rgba(255,255,255,.35); transition: background .2s;
}
.slides button[aria-selected="true"] { font-weight: 700; }
.slides button[aria-selected="true"]::before { background: #fff; }
.slides button:hover::before { background: rgba(255,255,255,.75); }

.hero__visual {
  position: relative; overflow: hidden; flex: 0 0 440px;
  width: 440px; aspect-ratio: 1; height: auto; border-radius: var(--radius-lg);
  background: rgba(255,255,255,.1);
}
.stripe { position: absolute; top: -40px; height: calc(100% + 80px); transform: skewX(-22deg); }
.stripe--wide { left: 29%; width: 25%; background: rgba(255,255,255,.18); }
.stripe--thin { left: 60%; width: 13%; background: rgba(255,255,255,.32); }
.hero__caption { position: absolute; left: 24px; bottom: 20px; font-size: 14px; line-height: 20px; }

/* ---------- Шапка внутренних страниц ---------- */
.page-head { position: relative; overflow: hidden; background: var(--brand-gradient); color: #fff; }
.page-head .container {
  min-height: 200px; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding-block: 40px;
}
.crumbs { font-family: var(--font-condensed); font-size: 14px; line-height: 20px; }
.crumbs a { color: #fff; text-decoration: underline; }
.crumbs a:hover { color: #fff; opacity: .85; }
.page-head .stripe { top: -40px; height: 280px; }
.page-head .stripe--wide { left: 72%; width: 90px; background: rgba(255,255,255,.14); }
.page-head .stripe--thin { left: 82%; width: 50px; background: rgba(255,255,255,.26); }

/* ---------- Секции ---------- */
.section { padding: 80px 0; }
.section--alt { background: var(--surface-200); }
.section__head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 40px; }
.section__head--split { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 64px; }
.section__head--split p { max-width: 560px; }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

.placeholder {
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px;
  background: var(--surface-200); color: var(--ink); font-size: 14px; line-height: 20px;
}

/* Карточки */
.card {
  display: flex; flex-direction: column;
  border: 1px solid var(--border); border-radius: var(--radius-md);
  background: #fff; color: var(--ink); overflow: hidden;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
a.card:hover { color: var(--ink); border-color: var(--blue); box-shadow: 0 8px 24px rgba(27,40,72,.1); transform: translateY(-2px); }

.service-card { min-height: 200px; padding: 24px; justify-content: space-between; gap: 16px; }
.service-card__title { font-size: 18px; line-height: 24px; font-weight: 500; }
.home-service-list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px;
  border-top: 1px solid var(--border);
}
.home-service-list a {
  min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border-bottom: 1px solid var(--border); color: var(--ink); font-size: 18px; line-height: 24px; font-weight: 500;
}
.home-service-list a:last-child:nth-child(odd) { grid-column: 1 / -1; }
.home-service-list a span:last-child { color: var(--blue); transition: transform .15s ease; }
.home-service-list a:hover { color: var(--blue); }
.home-service-list a:hover span:last-child { transform: translateX(4px); }
.service-page-intro {
  max-width: 1000px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 12px 64px; margin-bottom: 48px;
}
.service-page-intro p:first-child { grid-row: span 2; align-self: center; font-size: 24px; line-height: 32px; font-weight: 500; }
.service-page-intro__brands { color: #4f5b70; }
.about-overview { max-width: 1040px; }
.about-overview > p:first-child { max-width: 850px; font-size: 20px; line-height: 30px; font-weight: 500; }
.about-metrics {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px;
  margin-top: 48px; padding: 28px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.about-metrics > div { display: flex; flex-direction: column; gap: 4px; }
.about-metrics strong { font-size: 36px; line-height: 42px; font-weight: 900; }
.about-metrics span { max-width: 28ch; font-size: 14px; line-height: 20px; }
.about-directions { max-width: 1040px; margin-top: 40px; }
.about-story { max-width: 1040px; margin-top: 56px; }
.about-story ul.media-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.about-story ul.media-list li + li { margin-top: 0; }
.about-story ul.media-list img { width: 100%; height: 240px; object-fit: contain; background: var(--surface-200); }
.cta-card {
  min-height: 200px; padding: 24px; border-radius: var(--radius-md);
  display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
  background: var(--blueberry); color: #fff;
  font-size: 18px; line-height: 24px; font-weight: 500;
}
.cta-card a { color: #fff; font-size: 14px; line-height: 20px; font-weight: 700; text-decoration: underline; }

.solution-card { min-height: 140px; padding: 24px; justify-content: space-between; border-color: transparent; }
.section--alt .solution-card { border-color: #fff; }
.solution-card__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; font-size: 18px; line-height: 24px; font-weight: 500; }
.arrow { color: var(--blue); }

.media-card .placeholder { height: 200px; flex-shrink: 0; }
.media-card > img { width: 100%; height: 200px; flex-shrink: 0; object-fit: contain; padding: 16px; background: var(--surface-200); }
.media-card__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.media-card__row { flex: 1; padding: 20px; display: flex; align-items: center; gap: 16px; font-size: 18px; line-height: 24px; font-weight: 500; }
.media-card__row span:nth-child(2) { flex: 1; }
.media-card__title { font-size: 16px; line-height: 22px; font-weight: 700; }
.sku { font-family: var(--font-condensed); font-size: 14px; line-height: 18px; }

/* Команда */
.person { display: flex; flex-direction: column; gap: 12px; }
.person .placeholder { height: 200px; border-radius: var(--radius-md); }
.person__name { font-weight: 700; font-size: 16px; line-height: 22px; }
.person__role { font-size: 14px; line-height: 20px; }
.person__city { font-family: var(--font-condensed); font-size: 14px; line-height: 18px; color: var(--blue); }

/* Клиенты */
.client {
  height: 96px; border-radius: var(--radius-md); background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; line-height: 30px; font-weight: 900; letter-spacing: .06em;
}

/* Список услуг (страница Услуги) */
.service-list { list-style: none; margin: 0 0 40px; padding: 0; border-bottom: 1px solid var(--border); }
.service-list a {
  min-height: 104px; padding: 16px 0;
  display: grid; grid-template-columns: 96px minmax(0, 1fr) 160px; align-items: center;
  border-top: 1px solid var(--border); color: var(--ink);
  font-size: 24px; line-height: 30px; font-weight: 700;
}
.service-list a:hover { color: var(--blue); }
.service-list .num { font-size: 24px; line-height: 30px; }
.service-list .more { font-size: 16px; line-height: 24px; text-align: right; }

.banner {
  padding: 40px 48px; border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: space-between; gap: 48px;
  background: var(--brand-gradient); color: #fff;
}
.banner p { max-width: 640px; font-size: 24px; line-height: 30px; font-weight: 700; }

/* Факты */
.facts { background: var(--blueberry); color: #fff; }
.facts .container { padding-block: 40px; }
.fact__value { font-size: 56px; line-height: 60px; font-weight: 900; }
.fact__label { margin-top: 8px; font-size: 14px; line-height: 20px; }

/* Каталог */
.catalog { display: flex; gap: 48px; align-items: flex-start; }
.catalog__aside { width: 280px; flex-shrink: 0; display: flex; flex-direction: column; gap: 16px; }
.cat-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--border); }
.cat-list a {
  height: 48px; padding: 0 4px; display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--border); color: var(--ink); font-weight: 500;
}
.cat-list a:hover, .cat-list a[aria-current="true"] { color: var(--blue); }
.catalog__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.toolbar label { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; }

.field, select.field {
  height: 48px; padding: 0 16px;
  border: 1px solid var(--field-border); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); font: 16px var(--font-sans);
}
select.field { height: 44px; padding: 0 12px; font-size: 14px; }
textarea.field { height: 140px; padding: 12px 16px; resize: vertical; }
.field:focus { border-color: var(--blue); outline: 2px solid var(--blue); outline-offset: 0; }

.pager { display: flex; gap: 8px; flex-wrap: wrap; }
.pager a {
  min-width: 44px; height: 44px; padding: 0 14px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--blueberry); border-radius: var(--radius-md);
  color: var(--blueberry); font-weight: 500;
}
.pager a:hover { background: var(--surface-200); }
.pager a[aria-current="page"] { background: var(--blueberry); color: #fff; }

/* Новости */
.post .placeholder { height: 180px; flex-shrink: 0; }
.post__body { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.post__date { font-family: var(--font-condensed); font-size: 14px; line-height: 20px; font-weight: 700; color: var(--blue); }
.post__title { font-size: 18px; line-height: 24px; font-weight: 500; }
.post__text { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 4; font-size: 14px; line-height: 20px; }

/* Контакты */
.info-card { padding: 20px 24px; border: 1px solid var(--border); border-radius: var(--radius-md); display: flex; flex-direction: column; gap: 4px; }
.info-card__label { font-family: var(--font-condensed); font-size: 12px; line-height: 16px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.info-card__value { font-size: 18px; line-height: 24px; font-weight: 500; white-space: pre-line; }
.links-row { display: flex; gap: 0 32px; flex-wrap: wrap; font-weight: 500; line-height: 44px; }
.map { height: 260px; border-radius: var(--radius-lg); }

/* ---------- Контент из страниц источника ---------- */
.hero__visual { display: block; }
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.35); opacity: .92; transition: opacity .25s ease; }
.hero__photo.is-changing { opacity: .2; }

@media (prefers-reduced-motion: reduce) {
  .hero__photo, .slides button::before { transition: none; }
}
.news-grid .post__image { width: 100%; height: 180px; flex-shrink: 0; object-fit: cover; background: var(--surface-200); }
.person-link { color: var(--ink); }
.person-link img { width: 100%; height: 200px; border-radius: var(--radius-md); object-fit: cover; background: var(--surface-200); }
.person-link:hover { color: var(--ink); }
.team-grid { margin-top: 40px; }
.rich-content { max-width: 1040px; }
.rich-content > * + * { margin-top: 20px; }
.rich-content h2 { margin-top: 48px; font-size: 28px; line-height: 34px; }
.rich-content h3, .rich-content h4 { margin-top: 32px; font-size: 20px; line-height: 28px; }
.rich-content p { max-width: 900px; }
.rich-content ul, .rich-content ol { padding-left: 24px; }
.rich-content li + li { margin-top: 8px; }
.rich-content ul.media-list { padding: 0; list-style: none; }
.rich-content ul.media-list li + li { margin-top: 24px; }
.rich-content ul.media-list img { margin-inline: auto; }
.rich-content img { max-height: 560px; width: auto; border-radius: var(--radius-md); object-fit: contain; background: var(--surface-200); }
.rich-content figure { margin: 24px 0; }
.rich-content figure img { width: 100%; }
.rich-content hr { border: 0; border-top: 1px solid var(--border); }
.person-detail, .product-detail { display: grid; grid-template-columns: minmax(240px, 420px) minmax(0, 1fr); gap: 48px; align-items: center; margin-bottom: 48px; }
.person-detail__photo { width: 100%; max-height: 420px; border-radius: var(--radius-lg); object-fit: contain; background: var(--surface-200); }
.product-detail__media { width: 100%; max-width: 420px; aspect-ratio: 1; padding: 20px; border-radius: var(--radius-lg); display: grid; place-items: center; background: var(--surface-200); }
.product-detail__photo { width: 100%; height: 100%; max-height: 100%; border-radius: var(--radius-md); object-fit: contain; }
.product-detail__summary { max-width: 560px; }
.person-detail h2, .product-detail h2 { margin: 12px 0 16px; }
.article-content { max-width: 860px; }
.article-content > img { width: 100%; }
.section-link { margin-top: 32px; }
.section__head--catalog { margin: 72px 0 32px; }
.map-link { display: block; height: 100%; min-height: 260px; color: var(--ink); }
.contact-grid { align-items: start; }
.contact-grid .map-link { height: auto; min-height: 280px; }
.map-graphic { height: 100%; min-height: 260px; padding: 32px; border: 1px solid var(--border); border-radius: var(--radius-lg); display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 16px; background: var(--surface-200); color: var(--blueberry); transition: border-color .15s, background .15s; }
.map-link:hover .map-graphic { border-color: var(--blue); background: #e9eef5; }
.map-graphic__label { color: var(--blue); font-family: var(--font-condensed); font-size: 14px; line-height: 20px; letter-spacing: .1em; text-transform: uppercase; }
.map-graphic strong { font-size: 28px; line-height: 34px; }
.map-graphic__address { max-width: 34ch; font-size: 16px; line-height: 24px; }
.map-graphic__action { min-height: 48px; padding: 0 20px; border-radius: var(--radius-md); display: inline-flex; align-items: center; gap: 12px; background: var(--blueberry); color: #fff; font-weight: 700; }
.contact-info { align-content: start; }

.form { padding: 40px; border: 1px solid var(--border); border-radius: var(--radius-lg); display: flex; flex-direction: column; gap: 20px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form label.stack { display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 20px; font-weight: 500; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 20px; }
.check input { width: 20px; height: 20px; margin: 0; flex-shrink: 0; accent-color: var(--blueberry); }
.form__status { font-size: 14px; line-height: 20px; font-weight: 500; }
.form__status[data-state="error"] { color: #b3001f; }
.form__status[data-state="ok"] { color: var(--blue); }

/* ---------- Подвал ---------- */
.footer { background: var(--blueberry); color: #fff; font-size: 14px; line-height: 20px; }
.footer a { color: #fff; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__top { padding-block: 56px 40px; display: flex; justify-content: space-between; gap: 64px; flex-wrap: wrap; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__about { max-width: 360px; gap: 12px; }
.footer__title { font-family: var(--font-condensed); letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.footer__phone { font-size: 18px; line-height: 24px; font-weight: 500; }
.footer__bottom { min-height: 64px; border-top: 1px solid rgba(255,255,255,.3); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }

/* ---------- Адаптив ---------- */
@media (max-width: 1280px) {
  :root { --gutter: 40px; }
  .nav { gap: 20px; }
  .nav a { font-size: 15px; }
  .hero__visual { flex-basis: 380px; width: 380px; }
  .grid--6 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1200px) {
  .burger { display: inline-flex; }
  .header__cta { display: none; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px; background: #fff; border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 24px rgba(27,40,72,.08);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--border); }
  .topbar__address { display: none; }
  .hero .container { gap: 28px; }
  .hero__visual { display: block; flex-basis: clamp(280px, 34vw, 360px); width: clamp(280px, 34vw, 360px); }
  .hero .display-lg { font-size: clamp(38px, 4.2vw, 48px); line-height: 1.08; }
  .hero__actions { gap: 20px; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section__head--split { flex-direction: column; align-items: flex-start; gap: 16px; }
  .catalog { flex-direction: column; }
  .catalog__aside { width: 100%; }
}

@media (min-width: 761px) and (max-width: 900px) {
  .hero .container { gap: 20px; }
  .hero__visual { flex-basis: 280px; width: 280px; }
  .hero .display-lg { font-size: 38px; line-height: 44px; }
  .hero__actions { margin-top: 24px; gap: 12px; }
  .hero__actions .btn { padding-inline: 18px; font-size: 14px; }
  .slides { margin-top: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
}

@media (max-width: 760px) {
  :root { --gutter: 16px; }
  .topbar { display: none; }
  .header .container { height: 64px; }
  .logo__image { width: 160px; }

  .display-lg { font-size: 40px; line-height: 46px; }
  .display-md { font-size: 32px; line-height: 38px; }
  .hero .container { min-height: 0; display: block; padding-block: 28px; }
  .hero__visual { display: none; }
  .hero .eyebrow { font-size: 12px; line-height: 16px; }
  .hero h1 { margin-top: 16px; }
  .hero__lead { margin-top: 16px; font-size: 16px; line-height: 24px; }
  .hero__actions { margin-top: 28px; flex-direction: column; align-items: stretch; gap: 8px; }
  .hero__actions .btn { width: 100%; }
  .hero__link { text-align: center; line-height: 44px; }
  .slides { margin-top: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .section { padding: 48px 0; }
  .section__head { margin-bottom: 24px; }
  .grid--2, .grid--3, .form__row { grid-template-columns: 1fr; }
  .grid--2 { gap: 32px; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .grid--services { grid-template-columns: 1fr; gap: 8px; }
  .cta-card { min-height: 0; padding: 20px 16px; }
  .person .placeholder { height: 160px; }
  .grid--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

  .service-card { min-height: 0; padding: 12px 16px; flex-direction: row; align-items: center; gap: 16px; }
  .service-card__title { flex: 1; font-size: 16px; line-height: 22px; }
  .service-card .more { font-size: 0; }
  .service-card .more::after { content: "→"; font-size: 18px; }
  .home-service-list { grid-template-columns: 1fr; }
  .home-service-list a:last-child:nth-child(odd) { grid-column: auto; }
  .service-page-intro { grid-template-columns: 1fr; gap: 12px; margin-bottom: 32px; }
  .service-page-intro p:first-child { grid-row: auto; font-size: 20px; line-height: 28px; }
  .about-metrics { grid-template-columns: 1fr; gap: 20px; margin-top: 32px; padding-block: 24px; }
  .about-story { margin-top: 40px; }
  .about-directions { margin-top: 32px; }
  .about-story ul.media-list { grid-template-columns: 1fr; }
  .about-story ul.media-list img { height: auto; max-height: 360px; }
  .media-card > img { height: 180px; padding: 12px; }
  .solution-card { min-height: 56px; padding: 10px 16px; flex-direction: row; align-items: center; gap: 16px; }
  .solution-card__row { flex: 1; align-items: center; font-size: 16px; line-height: 22px; }

  .client { height: 72px; font-size: 18px; line-height: 24px; }
  .fact__value { font-size: 40px; line-height: 46px; }

  .service-list a { grid-template-columns: 48px minmax(0, 1fr); font-size: 18px; line-height: 24px; min-height: 72px; }
  .service-list .num { font-size: 16px; }
  .service-list .more { display: none; }
  .banner { flex-direction: column; align-items: stretch; padding: 32px 24px; gap: 24px; }
  .banner p { font-size: 20px; line-height: 26px; }

  .form { padding: 24px; }
  .person-detail, .product-detail { grid-template-columns: 1fr; gap: 24px; }
  .person-detail__photo { max-height: 320px; }
  .product-detail__media { max-width: none; }
  .map-link { min-height: 240px; }
  .footer__top { flex-direction: column; gap: 32px; padding-block: 40px 32px; }
  .footer__bottom { font-size: 12px; line-height: 16px; }
}

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