:root {
  --color-primary: #343436;
  --color-accent: #f9a12f;
  --color-secondary: #d78a34;
  --color-highlight: #d81f26;
  --color-background: #ffffff;
  --color-surface: #f5f5f5;
  --color-text: #343436;
  --color-text-light: #68686b;
  --color-border: #e5e5e5;
  --shadow: 0 18px 46px rgba(52, 52, 54, .12);
  --radius: 12px;
  --container: 1180px;
  --header-height: 86px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-background);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: #fff;
  background: var(--color-primary);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(52, 52, 54, .1);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(18px);
  transition: box-shadow .2s ease, min-height .2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 14px 32px rgba(52, 52, 54, .08);
}

.header-inner {
  width: min(100% - 40px, var(--container));
  min-height: var(--header-height);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(92px, 130px) 1fr auto;
  align-items: center;
  gap: 28px;
}

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

.brand img {
  width: 78px;
  height: 72px;
  object-fit: contain;
  object-position: center;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 34px;
  font-weight: 750;
  color: var(--color-primary);
}

.desktop-nav a,
.mobile-nav a {
  position: relative;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .18s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: #fff;
  color: var(--color-primary);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.menu-toggle span {
  position: relative;
  width: 22px;
  height: 2px;
  background: currentColor;
  display: block;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: currentColor;
  transform-origin: center;
  transition: transform .2s ease, top .2s ease;
}

.menu-toggle span::before {
  top: -7px;
}

.menu-toggle span::after {
  top: 7px;
}

body.nav-open .menu-toggle span {
  background: transparent;
}

body.nav-open .menu-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

body.nav-open .menu-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-nav {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.15;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  white-space: normal;
  text-align: center;
}

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

.btn-primary {
  color: #fff;
  background: var(--color-accent);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--color-secondary);
}

.btn-secondary {
  color: var(--color-primary);
  background: transparent;
  border-color: var(--color-primary);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  color: #fff;
  background: var(--color-primary);
}

.btn-dark {
  color: #fff;
  background: var(--color-primary);
}

.btn-dark:hover,
.btn-dark:focus-visible {
  background: #1f1f21;
}

.text-link {
  color: var(--color-primary);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--color-secondary);
}

.section {
  padding: 96px 0;
}

.section-compact {
  padding: 70px 0;
}

.surface {
  background: var(--color-surface);
}

.dark-section {
  color: #fff;
  background: var(--color-primary);
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--color-secondary);
  font-weight: 850;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--color-primary);
  line-height: 1.05;
  font-weight: 900;
  text-wrap: balance;
  hyphens: none;
}

.dark-section h1,
.dark-section h2,
.dark-section h3 {
  color: #fff;
}

h1 {
  max-width: 820px;
  font-size: 60px;
}

h2 {
  font-size: 42px;
}

h3 {
  font-size: 24px;
}

p {
  margin: 0;
}

.lead {
  max-width: 720px;
  margin-top: 22px;
  color: var(--color-text-light);
  font-size: 19px;
  line-height: 1.7;
}

.dark-section .lead {
  color: rgba(255, 255, 255, .78);
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(18, 18, 20, .86) 0%, rgba(18, 18, 20, .64) 34%, rgba(18, 18, 20, .15) 68%, rgba(18, 18, 20, .1) 100%),
    linear-gradient(180deg, rgba(18, 18, 20, .16), rgba(18, 18, 20, .26));
}

.hero img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
  padding: 110px 0 96px;
}

.hero h1,
.hero .eyebrow {
  color: #fff;
}

.hero .lead {
  color: rgba(255, 255, 255, .86);
}

.hero .btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, .82);
}

.hero .btn-secondary:hover,
.hero .btn-secondary:focus-visible {
  color: var(--color-primary);
  background: #fff;
  border-color: #fff;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 54px;
  max-width: 960px;
}

.trust-item {
  min-height: 92px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(12px);
  display: grid;
  align-content: start;
  gap: 6px;
}

.trust-item strong {
  display: block;
  color: #fff;
  font-size: 16px;
  line-height: 1.25;
}

.trust-item span {
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
}

.grid-3,
.grid-4 {
  display: grid;
  gap: 24px;
}

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

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

.card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  box-shadow: none;
}

.card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-surface);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  display: grid;
  gap: 16px;
  padding: 26px;
}

.card-title-zone {
  min-height: 60px;
  display: flex;
  align-items: flex-start;
}

.project-card .card-title-zone {
  min-height: 36px;
}

.card p {
  color: var(--color-text-light);
}

.feature-card {
  min-height: 244px;
  padding: 28px;
  display: grid;
  align-content: start;
  gap: 16px;
}

.feature-card .text-link {
  align-self: end;
}

.feature-icon,
.step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  background: rgba(249, 161, 47, .18);
  font-weight: 900;
}

.contact-benefits .feature-card {
  justify-items: center;
  text-align: center;
}

.contact-benefits .feature-card p {
  max-width: 24ch;
  margin-inline: auto;
}

.reference-categories .feature-card {
  min-height: 164px;
}

.centered-heading-cards .feature-card h3,
.role-cards .feature-card h3 {
  justify-content: center;
  width: 100%;
  text-align: center;
}

.centered-heading-cards .feature-card p,
.role-cards .feature-card p {
  text-align: left;
}

.role-cards .feature-card {
  min-height: 168px;
  padding: 24px 28px;
  gap: 12px;
}

.role-cards .feature-card h3 {
  min-height: 0;
}

@media (min-width: 701px) {
  .feature-card h3,
  .project-card .card-body h3 {
    min-height: 2.12em;
    display: flex;
    align-items: flex-start;
  }

  .reference-categories .feature-card h3 {
    min-height: 0;
  }

  .role-cards .feature-card h3 {
    min-height: 0;
  }

  .project-card .card-body h3 {
    min-height: 0;
  }
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split-media {
  min-height: 460px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-surface);
}

.split-media img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.list li {
  position: relative;
  padding-left: 30px;
  color: var(--color-text-light);
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .66em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent);
}

.process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
}

.step {
  min-height: 220px;
  padding: 26px;
  border-top: 4px solid var(--color-accent);
  background: #fff;
  border-radius: var(--radius);
  display: grid;
  align-content: start;
  gap: 14px;
}

.step p {
  color: var(--color-text-light);
}

.project-card {
  display: grid;
  grid-template-rows: auto 1fr;
}

.project-meta {
  color: var(--color-secondary);
  font-weight: 850;
}

.cta-band {
  padding: 76px 0;
  color: #fff;
  background: linear-gradient(135deg, var(--color-accent), var(--color-secondary));
}

.cta-band h2,
.cta-band .lead {
  color: #fff;
}

.cta-band .eyebrow {
  color: rgba(255, 255, 255, .78);
}

.cta-inner {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.page-hero {
  padding: 112px 0 78px;
  background: linear-gradient(135deg, #fff 0%, #f7f7f7 100%);
}

.page-hero .container {
  display: grid;
  gap: 18px;
}

.contact-hero {
  padding: 72px 0 44px;
}

.contact-main-section {
  padding: 48px 0 72px;
}

.contact-benefits-section {
  padding: 72px 0;
}

.page-hero-visual {
  padding: 88px 0 72px;
}

.page-hero-visual .container {
  grid-template-columns: minmax(0, .95fr) minmax(320px, .85fr);
  gap: 48px;
  align-items: center;
}

.page-hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  min-width: 0;
}

.page-hero-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  min-width: 0;
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: 0 22px 52px rgba(52, 52, 54, .12);
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.legal-hero {
  padding-bottom: 58px;
}

.legal-section {
  padding-top: 58px;
}

.vcard-page {
  background: var(--color-surface);
}

.vcard-header-inner {
  display: flex;
  justify-content: space-between;
}

.vcard-section {
  padding: 58px 0 86px;
}

.vcard-panel {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.vcard-photo {
  min-height: 640px;
  background: #e9e6df;
}

.vcard-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.vcard-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 56px;
}

.vcard-content .eyebrow {
  margin: 0;
}

.vcard-content h1 {
  margin: 0;
  font-size: 52px;
}

.vcard-role {
  margin: -8px 0 0;
  color: var(--color-primary);
  font-weight: 850;
}

.vcard-content .lead {
  max-width: 540px;
  margin: 0;
}

.vcard-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 520px;
}

.vcard-actions .btn {
  width: 100%;
}

.vcard-details {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 10px 18px;
  margin: 4px 0 0;
  color: var(--color-text-light);
}

.vcard-details dt {
  color: var(--color-primary);
  font-weight: 850;
}

.vcard-details dd {
  margin: 0;
}

.vcard-details a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.vcard-note {
  max-width: 560px;
  margin: 0;
  padding: 16px 18px;
  border-left: 4px solid var(--color-accent);
  border-radius: 0 8px 8px 0;
  background: #fff8ef;
  color: var(--color-text-light);
}

.vcard-footer {
  margin-top: 0;
}

.vcard-footer .footer-inner {
  padding-top: 26px;
  padding-bottom: 26px;
}

.vcard-footer .footer-bottom {
  padding-top: 0;
  border-top: 0;
}

.service-block {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
  padding: 54px 0;
  border-top: 1px solid var(--color-border);
}

.service-block:first-child {
  border-top: 0;
  padding-top: 0;
}

.service-image {
  aspect-ratio: 16 / 11;
  border-radius: var(--radius);
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(420px, 1.12fr) minmax(320px, .88fr);
  gap: 42px;
  align-items: start;
}

.form-panel,
.info-panel {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
}

.form-panel {
  padding: 30px;
}

.info-panel {
  order: -1;
}

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

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

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

.field label,
.field legend {
  color: var(--color-primary);
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  color: var(--color-primary);
  background: #fff;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus,
.menu-toggle:focus-visible,
.btn:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(249, 161, 47, .42);
  outline-offset: 3px;
}

.project-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
  padding: 0;
  border: 0;
  margin: 0;
}

.project-options legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.turnstile-field {
  align-items: start;
}

.cf-turnstile:not(:empty) {
  min-height: 65px;
}

.check-option,
.privacy-line {
  display: flex;
  gap: 12px;
}

.check-option input,
.privacy-line input {
  flex: 0 0 auto;
  width: 19px;
  min-height: 19px;
  height: 19px;
  padding: 0;
  margin: 0;
  border-radius: 4px;
  accent-color: var(--color-accent);
}

.check-option {
  min-height: 52px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
}

.check-option span {
  min-width: 0;
}

.privacy-line {
  display: grid;
  grid-template-columns: 19px minmax(0, 1fr);
  align-items: start;
  max-width: 680px;
  margin: 0;
  color: var(--color-text-light);
  font-size: 14px;
  font-weight: 450;
  line-height: 1.55;
}

.privacy-line input {
  margin-top: 3px;
}

.privacy-line span {
  display: block;
  min-width: 0;
  font-weight: 450;
}

.privacy-line a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.form-note,
.file-note {
  color: var(--color-text-light);
  font-size: 14px;
}

.form-status {
  min-height: 24px;
  color: var(--color-primary);
  font-weight: 750;
}

.form-status.error {
  color: var(--color-highlight);
}

.form-status.success {
  color: #286d3d;
}

.form-panel .btn[type="submit"] {
  min-width: 210px;
  min-height: 46px;
  padding: 12px 24px;
  justify-self: start;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: 18px;
  z-index: 90;
  width: min(calc(100% - 32px), 860px);
  color: var(--color-text);
  transform: translateX(-50%);
}

.cookie-banner-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 24px;
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 18px 46px rgba(52, 52, 54, .18);
}

.cookie-banner-copy {
  display: grid;
  gap: 8px;
}

.cookie-banner-copy .eyebrow,
.cookie-banner-copy h2,
.cookie-banner-copy p {
  margin: 0;
}

.cookie-banner-copy h2 {
  font-size: 24px;
  line-height: 1.12;
}

.cookie-banner-copy p {
  color: var(--color-text-light);
  line-height: 1.5;
}

.cookie-banner-copy a {
  width: fit-content;
  color: var(--color-primary);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.cookie-options {
  display: grid;
  align-content: center;
  gap: 8px;
  min-width: 160px;
}

.cookie-options label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-primary);
  font-weight: 750;
}

.cookie-options input {
  width: 18px;
  height: 18px;
  accent-color: var(--color-accent);
}

.cookie-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.footer-cookie-button {
  width: fit-content;
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, .72);
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.footer-cookie-button:hover,
.footer-cookie-button:focus-visible {
  color: #fff;
}

.info-panel {
  padding: 30px;
  display: grid;
  gap: 26px;
}

.contact-person-panel {
  padding: 0;
  overflow: hidden;
  gap: 0;
}

.contact-person-hero {
  display: grid;
  grid-template-columns: minmax(170px, .78fr) minmax(0, 1fr);
  min-height: 420px;
  background: #fff;
}

.contact-person-photo {
  min-height: 420px;
  background: var(--color-surface);
}

.contact-person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.contact-person-copy {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 34px;
}

.contact-person-copy .eyebrow,
.contact-person-copy .lead {
  margin: 0;
}

.contact-person-copy h2 {
  margin: 0;
  font-size: clamp(30px, 2.7vw, 42px);
}

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

.contact-person-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 28px 30px 22px;
}

.contact-person-list p {
  margin: 0;
}

.contact-person-list p:last-child {
  grid-column: 1 / -1;
}

.contact-list a,
.contact-list span {
  display: block;
  color: var(--color-text-light);
}

.contact-list strong {
  display: block;
  color: var(--color-primary);
}

.map-preview {
  position: relative;
  min-height: 0;
  margin: 0 30px 30px;
  padding: 22px;
  border-radius: var(--radius);
  background: #e7e4de;
}

.map-button {
  width: auto;
  min-height: 38px;
  padding: 9px 15px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(52, 52, 54, .16);
  font-size: 14px;
}

.legal {
  max-width: 900px;
}

.legal h2 {
  margin-top: 48px;
  font-size: 30px;
}

.legal > h2:first-child {
  margin-top: 0;
}

.legal h3 {
  margin-top: 28px;
  font-size: 22px;
}

.legal p,
.legal li {
  color: var(--color-text-light);
}

.legal p {
  margin-top: 14px;
}

.legal ul {
  margin: 16px 0 0;
  padding-left: 22px;
}

.site-footer {
  color: #fff;
  background: #242426;
}

.footer-inner {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
  padding: 62px 0 34px;
  display: grid;
  gap: 42px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(160px, 1fr));
  gap: 30px;
}

.footer-logo {
  width: 170px;
  height: 66px;
  object-fit: contain;
  object-position: left center;
  padding: 8px 0;
  filter: brightness(0) invert(1);
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-col h2,
.footer-col h3 {
  color: #fff;
  font-size: 18px;
}

.footer-col p,
.footer-col a,
.footer-bottom {
  color: rgba(255, 255, 255, .72);
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: 14px;
}

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

  .desktop-nav,
  .header-actions > .btn {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    max-height: calc(100svh - var(--header-height));
    overflow: auto;
    display: none;
    padding: 22px 20px 28px;
    border-bottom: 1px solid var(--color-border);
    background: #fff;
  }

  body.nav-open .mobile-nav {
    display: grid;
    gap: 6px;
  }

  .mobile-nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 8px 2px;
    color: var(--color-primary);
    font-weight: 850;
  }

  .mobile-nav .btn {
    margin-top: 10px;
    width: min(100%, 360px);
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 36px;
  }

  .hero-stats,
  .grid-4,
  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3,
  .split,
  .service-block,
  .page-hero-visual .container,
  .vcard-panel,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .info-panel {
    order: -1;
  }

  .split-media,
  .split-media img {
    min-height: 360px;
  }

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

  .vcard-photo {
    min-height: 560px;
  }

  .vcard-content {
    padding: 42px;
  }

  .vcard-content h1 {
    font-size: 44px;
  }
}

@media (max-width: 700px) {
  :root {
    --header-height: 78px;
  }

  .header-inner,
  .container,
  .hero-content,
  .cta-inner,
  .footer-inner {
    width: min(100% - 28px, var(--container));
  }

  .brand img {
    width: 66px;
    height: 60px;
  }

  .section {
    padding: 68px 0;
  }

  .section-compact {
    padding: 52px 0;
  }

  .vcard-header-inner {
    width: min(100% - 28px, var(--container));
  }

  .vcard-site-link {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(18, 18, 20, .8) 0%, rgba(18, 18, 20, .66) 54%, rgba(18, 18, 20, .36) 100%);
  }

  .hero img {
    object-position: 60% center;
  }

  .hero-content {
    padding: 76px 0 58px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 31px;
  }

  h3 {
    font-size: 22px;
  }

  .lead {
    font-size: 17px;
  }

  .hero-actions,
  .cta-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .hero-stats,
  .grid-3,
  .grid-4,
  .process,
  .form-grid,
  .project-options,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .trust-item,
  .feature-card,
  .step {
    min-height: auto;
  }

  .reference-categories .feature-card {
    min-height: auto;
  }

  .card-title-zone {
    min-height: auto;
  }

  .card-body,
  .feature-card,
  .step,
  .form-panel,
  .info-panel {
    padding: 22px;
  }

  .contact-person-panel {
    padding: 0;
  }

  .contact-person-hero,
  .contact-person-list {
    grid-template-columns: 1fr;
  }

  .contact-person-hero {
    min-height: 0;
  }

  .contact-person-photo {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .contact-person-copy {
    padding: 26px 22px;
  }

  .contact-person-list {
    padding: 22px;
  }

  .cookie-banner {
    bottom: 12px;
    width: min(calc(100% - 24px), 520px);
  }

  .cookie-banner-inner {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
  }

  .cookie-options {
    min-width: 0;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .map-preview {
    min-height: 0;
    margin: 0 22px 22px;
    padding: 18px;
  }

  .map-button {
    width: auto;
  }

  .split-media,
  .split-media img {
    min-height: 300px;
  }

  .service-block {
    gap: 24px;
    padding: 40px 0;
  }

  .cta-inner {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 76px 0 56px;
  }

  .contact-hero {
    padding: 56px 0 36px;
  }

  .contact-main-section {
    padding: 36px 0 58px;
  }

  .contact-benefits-section {
    padding: 58px 0;
  }

  .page-hero-visual {
    padding: 58px 0 56px;
  }

  .page-hero-visual .container {
    gap: 28px;
  }

  .page-hero-media {
    aspect-ratio: 4 / 3;
  }

  .vcard-section {
    padding: 28px 0 56px;
  }

  .vcard-panel {
    border-radius: 10px;
    box-shadow: 0 14px 32px rgba(52, 52, 54, .1);
  }

  .vcard-photo {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .vcard-content {
    gap: 16px;
    padding: 28px 22px 26px;
  }

  .vcard-content h1 {
    font-size: 36px;
  }

  .vcard-role {
    margin-top: -4px;
  }

  .vcard-actions {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .vcard-details {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .vcard-details dt:not(:first-child) {
    margin-top: 8px;
  }

  .vcard-footer .footer-bottom {
    display: grid;
  }

  .legal h2 {
    font-size: 24px;
    line-height: 1.12;
  }

  .footer-bottom {
    display: grid;
  }
}

@media (max-width: 390px) {
  h1 {
    font-size: 36px;
  }

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

  h2 {
    font-size: 29px;
  }

  .btn {
    padding-left: 16px;
    padding-right: 16px;
  }
}

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