:root {
  --ink: #14110f;
  --paper: #f8f4ec;
  --paper-strong: #fffaf2;
  --stone: #747168;
  --line: #ded7ca;
  --granite: #242321;
  --copper: #8a5a3c;
  --moss: #456a42;
  --clay: #c6a06f;
  --shadow: rgba(20, 17, 15, 0.18);
  --font-body: "Noto Sans", "Segoe UI", Arial, sans-serif;
  --font-display: "Noto Serif Display", Georgia, "Times New Roman", serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

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

button {
  font: inherit;
}

::selection {
  background: var(--ink);
  color: var(--paper-strong);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  min-height: 74px;
  padding: 14px 36px;
  border-bottom: 1px solid rgba(222, 215, 202, 0.72);
  background: rgba(248, 244, 236, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: var(--stone);
  font-size: 14px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid rgba(20, 17, 15, 0.18);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.48);
}

.language-switcher a {
  display: grid;
  min-width: 34px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  color: var(--stone);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  transition: background 180ms ease, color 180ms ease;
}

.language-switcher a:hover {
  color: var(--copper);
}

.language-switcher a[aria-current="page"] {
  background: var(--ink);
  color: var(--paper-strong);
}

.nav a,
.header-email,
.header-call,
.site-footer a {
  transition: color 180ms ease, border-color 180ms ease;
}

.nav a:hover,
.header-email:hover,
.header-call:hover,
.site-footer a:hover {
  color: var(--copper);
}

.header-contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px 18px;
  min-width: 0;
}

.header-email,
.header-call {
  border-bottom: 1px solid currentColor;
  white-space: nowrap;
}

.header-email {
  color: var(--stone);
  font-size: 13px;
  font-weight: 600;
}

.header-call {
  color: var(--ink);
  font-weight: 650;
}

.hero {
  position: relative;
  min-height: 620px;
  height: 82vh;
  max-height: 780px;
  overflow: hidden;
  background: var(--granite);
}

.hero__image,
.contact-band > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__image {
  object-position: center 58%;
}

.hero__shade,
.contact-band__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 17, 15, 0.76), rgba(20, 17, 15, 0.16) 62%),
    linear-gradient(0deg, rgba(20, 17, 15, 0.52), rgba(20, 17, 15, 0.04) 54%);
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(760px, calc(100% - 48px));
  height: 100%;
  flex-direction: column;
  justify-content: center;
  padding-left: 7%;
  color: var(--paper-strong);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.contact-band .eyebrow {
  color: var(--clay);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: 92px;
  line-height: 0.95;
}

.hero__brand-name,
.hero__category {
  display: block;
}

.hero__category {
  max-width: 620px;
  margin-top: 18px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

h2 {
  margin-bottom: 20px;
  font-size: 52px;
  line-height: 1.04;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.25;
}

.hero__lead {
  max-width: 620px;
  margin-bottom: 30px;
  color: rgba(255, 250, 242, 0.88);
  font-size: 19px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  padding: 12px 22px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-weight: 750;
  line-height: 1.2;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--light {
  border-color: var(--paper-strong);
  background: var(--paper-strong);
  color: var(--ink);
}

.button--ghost {
  border-color: rgba(255, 250, 242, 0.72);
  color: var(--paper-strong);
}

.button--ghost:hover {
  background: rgba(255, 250, 242, 0.1);
}

.button--ink {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper-strong);
}

.hero__note {
  position: absolute;
  right: 36px;
  bottom: 32px;
  z-index: 2;
  max-width: 280px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 250, 242, 0.34);
  border-radius: 8px;
  color: var(--paper-strong);
  background: rgba(20, 17, 15, 0.32);
  backdrop-filter: blur(14px);
}

.hero__note span {
  display: block;
  margin-bottom: 6px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero__note strong {
  font-size: 16px;
  line-height: 1.35;
}

.intro-strip {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  padding: 24px 36px;
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper-strong);
}

.intro-strip p {
  margin: 0;
}

.intro-strip p:first-child {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.15;
}

.intro-strip p:last-child {
  color: rgba(255, 250, 242, 0.72);
}

.section {
  padding: 96px 36px;
}

.section--editorial,
.section--faq {
  background: var(--paper-strong);
}

.section--catalog {
  background: #ece6da;
}

.section--services {
  background: var(--ink);
  color: var(--paper-strong);
}

.section__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 72px;
  align-items: start;
}

.text-flow p {
  margin-bottom: 18px;
  color: var(--stone);
}

.text-flow p:last-child {
  margin-bottom: 0;
}

.section--services .text-flow p,
.section--services p {
  color: rgba(255, 250, 242, 0.72);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

.section-heading p {
  color: var(--stone);
}

.section-heading--narrow {
  max-width: 620px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.section-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 32px;
}

.work-card {
  overflow: hidden;
  border: 1px solid rgba(20, 17, 15, 0.1);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: 0 18px 40px rgba(20, 17, 15, 0.08);
}

.work-card figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--granite);
}

.work-card--tall figure {
  aspect-ratio: 3 / 4;
}

.work-card--wide {
  grid-column: span 2;
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.work-card:hover img {
  transform: scale(1.035);
}

.work-card__body {
  padding: 22px;
}

.work-card__type {
  margin-bottom: 8px;
  color: var(--moss);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.work-card__body p:not(.work-card__type) {
  color: var(--stone);
}

.text-button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: var(--copper);
  cursor: pointer;
  font-weight: 750;
}

.text-link {
  display: inline-flex;
  align-items: center;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  color: var(--copper);
  font-weight: 750;
  line-height: 1.35;
}

.text-link--light {
  color: var(--clay);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 250, 242, 0.2);
  border: 1px solid rgba(255, 250, 242, 0.2);
}

.service-item {
  min-height: 280px;
  padding: 24px;
  background: var(--ink);
}

.service-item .text-link {
  margin-top: 12px;
}

.section--resources {
  background: #eef0e7;
}

.resource-list {
  border-top: 1px solid var(--line);
}

.resource-item {
  display: grid;
  grid-template-columns: minmax(96px, 0.32fr) minmax(260px, 0.88fr) minmax(360px, 1.3fr);
  gap: clamp(28px, 3vw, 48px);
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.resource-item h2,
.resource-item h3,
.resource-item p {
  margin-bottom: 0;
}

.resource-item h2 {
  font-size: 30px;
  line-height: 1.08;
  overflow-wrap: normal;
  word-break: normal;
}

.resource-item p {
  color: var(--stone);
}

.resource-item__title,
.resource-item__summary {
  min-width: 0;
}

.resource-item__title .text-link {
  margin-top: 18px;
}

.service-item span {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--clay);
  font-family: var(--font-display);
  font-size: 42px;
  line-height: 1;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  min-height: 640px;
  background: var(--paper-strong);
}

.feature-band__image {
  min-height: 520px;
}

.feature-band__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-band__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  min-height: 270px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
}

.process-list span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 42px;
  place-items: center;
  border: 1px solid var(--copper);
  border-radius: 50%;
  color: var(--copper);
  font-weight: 800;
}

.process-list p,
.muted {
  color: var(--stone);
}

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

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

summary {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.35;
}

summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--copper);
  font-size: 24px;
  line-height: 1;
}

details[open] summary::after {
  content: "−";
}

details p {
  margin-bottom: 22px;
  color: var(--stone);
}

.contact-band {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: var(--granite);
}

.contact-band__shade {
  background:
    linear-gradient(90deg, rgba(20, 17, 15, 0.82), rgba(20, 17, 15, 0.2) 68%),
    linear-gradient(0deg, rgba(20, 17, 15, 0.52), rgba(20, 17, 15, 0.08));
}

.contact-band__content {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(700px, calc(100% - 48px));
  min-height: 560px;
  flex-direction: column;
  justify-content: center;
  padding-left: 7%;
  color: var(--paper-strong);
}

.contact-band__content p {
  max-width: 560px;
  color: rgba(255, 250, 242, 0.78);
}

.contact-band__content .button {
  margin-top: 10px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 36px;
  background: var(--ink);
  color: var(--paper-strong);
}

.site-footer p {
  margin: 6px 0 0;
  color: rgba(255, 250, 242, 0.66);
}

.site-footer__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.site-footer--rich {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(180px, 0.7fr) minmax(220px, 0.8fr);
}

.site-footer__brand p {
  max-width: 540px;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer__credit {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 10px;
  margin-top: 18px;
  color: rgba(255, 250, 242, 0.58);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

.site-footer__credit img {
  flex: 0 0 auto;
  width: 54px;
  height: auto;
  opacity: 0.7;
  transition: opacity 180ms ease;
}

.site-footer__credit:hover img {
  opacity: 1;
}

.page-hero {
  position: relative;
  min-height: 520px;
  height: 68vh;
  max-height: 720px;
  overflow: hidden;
  background: var(--granite);
  color: var(--paper-strong);
}

.page-hero > img,
.page-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-hero > img {
  object-fit: cover;
  object-position: center 58%;
}

.page-hero__shade {
  background:
    linear-gradient(90deg, rgba(20, 17, 15, 0.86), rgba(20, 17, 15, 0.24) 70%),
    linear-gradient(0deg, rgba(20, 17, 15, 0.56), rgba(20, 17, 15, 0.04) 55%);
}

.page-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(1180px, calc(100% - 72px));
  height: 100%;
  margin: 0 auto;
  flex-direction: column;
  justify-content: flex-end;
  padding: 54px 0;
}

.page-hero h1 {
  max-width: 880px;
  margin-bottom: 20px;
  font-size: 66px;
  line-height: 1;
}

.page-hero__content > p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 250, 242, 0.84);
  font-size: 19px;
}

.breadcrumbs {
  margin-bottom: 24px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: rgba(255, 250, 242, 0.72);
  font-size: 12px;
  list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: rgba(255, 250, 242, 0.4);
}

.breadcrumbs a:hover {
  color: var(--clay);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.65fr);
  gap: 84px;
  align-items: start;
}

.article-body {
  min-width: 0;
}

.article-intro {
  margin-bottom: 28px;
  font-family: var(--font-display);
  font-size: 27px;
  line-height: 1.35;
}

.article-section {
  padding: 44px 0;
  border-top: 1px solid var(--line);
}

.article-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.article-section h2,
.article-aside h2 {
  font-size: 34px;
}

.article-section p,
.article-aside p {
  color: var(--stone);
}

.article-section p:last-of-type {
  margin-bottom: 0;
}

.editorial-list {
  display: grid;
  gap: 0;
  margin: 24px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.editorial-list li {
  position: relative;
  padding: 14px 0 14px 28px;
  border-bottom: 1px solid var(--line);
}

.editorial-list li::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--moss);
}

.article-aside {
  position: sticky;
  top: 116px;
  padding-top: 26px;
  border-top: 3px solid var(--copper);
}

.article-aside .text-link {
  margin-top: 22px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

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

.content-card {
  min-height: 330px;
  padding: 34px;
  background: var(--paper-strong);
}

.content-card h2 {
  font-size: 34px;
}

.content-card p {
  color: var(--stone);
}

.content-card__number {
  margin-bottom: 44px;
  color: var(--copper) !important;
  font-family: var(--font-display);
  font-size: 36px;
}

.article-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 70px;
  align-items: end;
  padding: 74px max(36px, calc((100% - 1180px) / 2));
  background: var(--ink);
  color: var(--paper-strong);
}

.article-cta h2 {
  max-width: 760px;
  font-size: 44px;
}

.article-cta p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 250, 242, 0.72);
}

.article-cta .contact-actions {
  justify-content: flex-end;
}

.direct-contact {
  display: grid;
  gap: 18px;
}

.direct-contact a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.direct-contact span {
  color: var(--stone);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.direct-contact strong {
  overflow-wrap: anywhere;
  font-size: 18px;
}

.work-card > a {
  display: block;
  height: 100%;
}

.consent-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 100;
  display: grid;
  width: min(560px, calc(100% - 36px));
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255, 250, 242, 0.24);
  border-radius: 8px;
  background: rgba(20, 17, 15, 0.96);
  color: var(--paper-strong);
  box-shadow: 0 20px 60px rgba(20, 17, 15, 0.34);
}

.consent-banner p {
  margin: 0;
  color: rgba(255, 250, 242, 0.78);
  font-size: 13px;
}

.consent-banner p a {
  border-bottom: 1px solid currentColor;
  color: var(--clay);
}

.consent-banner > div {
  display: flex;
  gap: 8px;
}

.consent-banner button {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 250, 242, 0.54);
  border-radius: 6px;
  background: transparent;
  color: var(--paper-strong);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.consent-banner__accept {
  border-color: var(--paper-strong) !important;
  background: var(--paper-strong) !important;
  color: var(--ink) !important;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 1240px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .resource-item {
    grid-template-columns: minmax(96px, 0.28fr) minmax(0, 1fr);
    column-gap: 32px;
    row-gap: 18px;
  }

  .resource-item__summary {
    grid-column: 2;
  }

  .hero {
    min-height: 590px;
    height: 78vh;
  }

  h1 {
    font-size: 76px;
  }

  h2 {
    font-size: 42px;
  }

  .catalog-grid,
  .service-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-band,
  .two-column {
    grid-template-columns: 1fr;
  }

  .feature-band__copy {
    padding: 60px 36px;
  }

  .article-layout,
  .article-cta {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
  }

  .article-cta .contact-actions {
    justify-content: flex-start;
  }

  .site-footer--rich {
    grid-template-columns: 1fr 0.7fr;
  }

  .site-footer--rich .site-footer__contact {
    grid-column: 1 / -1;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
  }

  .site-header {
    gap: 12px;
    padding: 12px 18px;
  }

  .brand__mark {
    width: 34px;
    height: 34px;
    font-size: 20px;
  }

  .brand__name {
    font-size: 22px;
  }

  .header-email,
  .header-call {
    font-size: 14px;
  }

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

  .language-switcher a {
    min-width: 31px;
    height: 28px;
  }

  .hero {
    min-height: 560px;
    height: 76vh;
  }

  .hero__content,
  .contact-band__content {
    width: min(100% - 36px, 620px);
    padding-left: 18px;
  }

  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 34px;
  }

  .hero__lead {
    font-size: 17px;
  }

  .hero__category {
    font-size: 15px;
  }

  .hero__note {
    display: none;
  }

  .intro-strip {
    grid-template-columns: 1fr;
    padding: 22px 18px;
  }

  .intro-strip p:first-child {
    font-size: 24px;
  }

  .section {
    padding: 70px 18px;
  }

  .two-column {
    gap: 34px;
  }

  .catalog-grid,
  .service-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .work-card--wide {
    grid-column: auto;
  }

  .feature-band__image {
    min-height: 380px;
  }

  .feature-band__copy {
    padding: 54px 18px;
  }

  .service-item,
  .process-list li {
    min-height: auto;
  }

  .service-item span,
  .process-list span {
    margin-bottom: 28px;
  }

  .contact-band,
  .contact-band__content {
    min-height: 520px;
  }

  .site-footer {
    flex-direction: column;
    padding: 30px 18px;
  }

  .site-footer__contact {
    align-items: flex-start;
  }

  .page-hero {
    min-height: 500px;
    height: 70vh;
  }

  .page-hero__content {
    width: calc(100% - 36px);
    padding: 38px 0;
  }

  .page-hero h1 {
    font-size: 44px;
  }

  .page-hero__content > p:last-child {
    font-size: 16px;
  }

  .article-layout {
    gap: 52px;
  }

  .article-intro {
    font-size: 23px;
  }

  .article-section h2,
  .article-aside h2,
  .content-card h2 {
    font-size: 29px;
  }

  .content-grid,
  .content-grid--services {
    grid-template-columns: 1fr;
  }

  .content-card {
    min-height: auto;
    padding: 28px 22px;
  }

  .resource-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .resource-item__summary {
    grid-column: auto;
  }

  .resource-item h2 {
    font-size: 27px;
  }

  .article-cta {
    gap: 30px;
    padding: 58px 18px;
  }

  .article-cta h2 {
    font-size: 34px;
  }

  .site-footer--rich {
    grid-template-columns: 1fr;
  }

  .site-footer--rich .site-footer__contact {
    grid-column: auto;
  }

  .consent-banner {
    grid-template-columns: 1fr;
  }

  .consent-banner > div {
    justify-content: flex-end;
  }
}

@media (max-width: 600px) {
  .site-header {
    grid-template-columns: 1fr auto;
    column-gap: 10px;
    row-gap: 10px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  .brand__name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    flex-wrap: wrap;
    row-gap: 6px;
    overflow-x: visible;
  }

  .language-switcher {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .language-switcher a {
    min-width: 28px;
    height: 26px;
    font-size: 11px;
  }

  .header-contacts {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: start;
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .brand__name {
    font-size: 20px;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 30px;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

@media (max-width: 340px) {
  .site-header {
    grid-template-columns: 1fr;
  }

  .brand,
  .nav,
  .language-switcher,
  .header-contacts {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }
}
