:root {
  --navy-980: #031224;
  --navy-940: #062142;
  --navy-900: #082c57;
  --navy-820: #0b3a70;
  --gold: #f5b800;
  --gold-600: #d99c00;
  --ink: #10233d;
  --muted: #667488;
  --line: #dce3ec;
  --surface: #ffffff;
  --section: #f6f8fb;
  --shadow-card: 0 14px 32px rgba(5, 25, 51, 0.11);
  --shadow-header: 0 20px 45px rgba(3, 18, 36, 0.26);
  --header-height: clamp(64px, 6vw, 86px);
  --container: 1188px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  font-family: Inter, Arial, "Helvetica Neue", Helvetica, sans-serif;
  line-height: 1.5;
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(245, 184, 0, 0.72);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 14px;
  z-index: 300;
  transform: translateY(-150%);
  padding: 10px 14px;
  color: var(--navy-980);
  font-weight: 900;
  background: var(--gold);
  border-radius: 4px;
  transition: transform 160ms var(--ease);
}

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

.container {
  width: min(var(--container), calc(100% - 64px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 120;
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: clamp(148px, 16vw, 236px) 1fr auto;
  align-items: center;
  gap: clamp(12px, 2vw, 34px);
  padding: 8px clamp(18px, 3.2vw, 52px);
  color: #ffffff;
  background: rgba(4, 25, 50, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  transition: min-height 180ms var(--ease), background 180ms var(--ease), box-shadow 180ms var(--ease);
}

.site-header.scrolled {
  min-height: clamp(62px, 5.2vw, 74px);
  background: rgba(3, 18, 36, 0.97);
  box-shadow: var(--shadow-header);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(148px, 16vw, 236px);
}

.brand img {
  width: 100%;
  height: clamp(42px, 4vw, 56px);
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 38px);
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.62rem, 1vw, 0.78rem);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 12px 0;
  white-space: nowrap;
  transition: color 160ms var(--ease);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--gold);
  transition: transform 160ms var(--ease);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #ffffff;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.2vw, 16px);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: clamp(6px, 0.8vw, 10px);
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(0.68rem, 1vw, 0.88rem);
  font-weight: 800;
  white-space: nowrap;
  transition: color 160ms var(--ease);
}

.header-phone img {
  width: clamp(15px, 1.4vw, 19px);
  height: clamp(15px, 1.4vw, 19px);
  object-fit: contain;
}

.header-phone:hover,
.header-phone:focus-visible {
  color: var(--gold);
}

.language-switcher {
  display: grid;
  gap: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(0.58rem, 0.8vw, 0.69rem);
  font-weight: 900;
  line-height: 1;
}

.language-switcher button {
  min-width: 28px;
  padding: 1px 0;
  color: inherit;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
}

.language-switcher button.active {
  color: #ffffff;
}

.language-switcher button:disabled {
  color: rgba(255, 255, 255, 0.34);
  cursor: not-allowed;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #ffffff;
  transition: transform 160ms var(--ease), opacity 160ms var(--ease);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 48px;
  padding: 0 25px;
  border-radius: 4px;
  border: 2px solid transparent;
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0;
  transition: transform 160ms var(--ease), background 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease);
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--navy-980);
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 12px 28px rgba(245, 184, 0, 0.25);
}

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

.btn-secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.78);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: #ffffff;
  color: var(--navy-940);
}

.btn-header {
  min-height: clamp(38px, 3.2vw, 45px);
  padding-inline: clamp(14px, 1.55vw, 22px);
  font-size: clamp(0.66rem, 0.85vw, 0.76rem);
}

.hero {
  position: relative;
  min-height: clamp(356px, 40vw, 575px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  background: var(--navy-980);
  isolation: isolate;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 18, 36, 0.94) 0%, rgba(5, 26, 53, 0.84) 28%, rgba(6, 30, 58, 0.38) 55%, rgba(6, 30, 58, 0.08) 100%),
    linear-gradient(180deg, rgba(3, 18, 36, 0.12) 0%, rgba(3, 18, 36, 0.2) 100%);
}

.hero-content {
  padding-top: var(--header-height);
}

.hero-title-wrap {
  display: grid;
  grid-template-columns: clamp(3px, 0.35vw, 5px) minmax(0, 870px);
  gap: clamp(14px, 1.7vw, 24px);
  align-items: center;
}

.hero-accent {
  width: clamp(3px, 0.35vw, 5px);
  height: clamp(86px, 9.6vw, 138px);
  background: var(--gold);
}

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

h1 {
  margin-bottom: 0;
  font-size: clamp(1.9rem, 3.85vw, 3.25rem);
  line-height: 1.13;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.desktop-nowrap {
  white-space: nowrap;
}

.hero-content > p {
  max-width: 615px;
  margin: clamp(18px, 2vw, 28px) 0 clamp(22px, 2.3vw, 32px) clamp(17px, 2vw, 29px);
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.9rem, 1.45vw, 1.18rem);
  line-height: 1.62;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(14px, 1.7vw, 24px);
  margin-left: clamp(17px, 2vw, 29px);
}

.stats {
  color: #ffffff;
  background: var(--navy-940);
}

.stats-grid {
  min-height: clamp(78px, 9.2vw, 132px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: clamp(14px, 2.4vw, 34px);
}

.stat-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(10px, 1.35vw, 19px);
}

.stat-icon {
  width: clamp(40px, 4vw, 58px);
  height: clamp(40px, 4vw, 58px);
  object-fit: contain;
}

.stat-item strong {
  display: block;
  color: var(--gold);
  font-size: clamp(1.7rem, 3.45vw, 3.25rem);
  line-height: 1;
  font-weight: 950;
}

.stat-item .stat-text-value {
  max-width: 210px;
  font-size: clamp(1.35rem, 2.35vw, 2.28rem);
  line-height: 1.08;
}

.stat-item span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 700;
}

.section {
  padding: clamp(28px, 4vw, 56px) 0;
}

.section-heading {
  margin-bottom: clamp(10px, 1.6vw, 28px);
  text-align: center;
}

.section-heading h2,
.about h2 {
  position: relative;
  margin-bottom: 0;
  color: var(--navy-940);
  font-size: clamp(1.45rem, 2.9vw, 2.74rem);
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-heading h2::after,
.about h2::after {
  content: "";
  display: block;
  width: clamp(34px, 3vw, 44px);
  height: clamp(3px, 0.3vw, 4px);
  margin: clamp(7px, 0.8vw, 14px) auto 0;
  background: var(--gold);
  border-radius: 999px;
}

.services {
  padding-top: clamp(14px, 2vw, 46px);
  padding-bottom: clamp(10px, 2vw, 60px);
  background: #ffffff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 12px);
}

.service-card {
  min-width: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(8, 44, 87, 0.13);
  border-radius: 6px;
  box-shadow: var(--shadow-card);
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease);
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(5, 25, 51, 0.17);
}

.service-card > img {
  width: 100%;
  aspect-ratio: 1.16 / 1;
  object-fit: cover;
}

.service-body {
  min-height: clamp(100px, 10.5vw, 210px);
  display: grid;
  align-content: start;
  padding: 0 clamp(10px, 1vw, 15px) clamp(15px, 1.5vw, 19px);
}

.service-icon {
  width: clamp(30px, 3.4vw, 58px);
  height: clamp(30px, 3.4vw, 58px);
  display: grid;
  place-items: center;
  margin-top: -8px;
}

.service-icon img {
  width: clamp(29px, 3.25vw, 56px);
  height: clamp(29px, 3.25vw, 56px);
  object-fit: contain;
}

.service-card h3 {
  margin: 5px 0 8px;
  color: var(--navy-940);
  font-size: clamp(0.56rem, 0.82vw, 0.82rem);
  line-height: 1.12;
  font-weight: 950;
  text-transform: uppercase;
}

.service-card p {
  margin-bottom: 0;
  color: #425066;
  font-size: clamp(0.56rem, 0.72vw, 0.88rem);
  line-height: 1.28;
  font-weight: 650;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  color: #ffffff;
  background: var(--navy-940);
}

.about-copy {
  display: grid;
  justify-content: stretch;
  background:
    linear-gradient(135deg, rgba(245, 184, 0, 0.08), transparent 34%),
    var(--navy-940);
}

.about-inner {
  width: min(100%, calc(var(--container) / 2));
  justify-self: end;
  padding: clamp(18px, 3.5vw, 78px) clamp(20px, 3.8vw, 64px) clamp(18px, 3vw, 68px) clamp(28px, 4vw, 64px);
}

.about h2 {
  color: #ffffff;
}

.about h2::after {
  margin-left: 0;
  margin-right: 0;
}

.about-lead {
  max-width: 595px;
  margin: clamp(10px, 1.45vw, 30px) 0 clamp(12px, 1.55vw, 34px);
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(0.68rem, 1.02vw, 1.02rem);
  line-height: 1.28;
  font-weight: 560;
}

.advantages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.45vw, 28px);
  margin-bottom: clamp(10px, 1.45vw, 34px);
}

.advantages article {
  min-width: 0;
}

.advantages img {
  width: clamp(30px, 3vw, 58px);
  height: clamp(30px, 3vw, 58px);
  margin-bottom: clamp(5px, 0.7vw, 15px);
  object-fit: contain;
}

.advantages h3 {
  margin-bottom: 5px;
  color: #ffffff;
  font-size: clamp(0.58rem, 0.88vw, 0.98rem);
  line-height: 1.12;
  font-weight: 900;
}

.advantages p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(0.52rem, 0.7vw, 0.86rem);
  line-height: 1.2;
  font-weight: 560;
}

.about-button {
  min-width: 178px;
  min-height: clamp(36px, 3.35vw, 48px);
  padding-inline: clamp(16px, 2vw, 25px);
  font-size: clamp(0.62rem, 0.78vw, 0.82rem);
}

.about-media {
  min-height: clamp(240px, 29vw, 428px);
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.projects {
  background: #ffffff;
}

.projects-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) 176px;
  gap: clamp(12px, 1.4vw, 20px);
  align-items: start;
}

.project-card {
  min-width: 0;
}

.project-card img {
  width: 100%;
  aspect-ratio: 1.72 / 1;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 8px 22px rgba(5, 25, 51, 0.12);
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease);
}

.project-card:hover img {
  transform: translateY(-3px);
  box-shadow: 0 17px 38px rgba(5, 25, 51, 0.17);
}

.project-card h3 {
  margin: clamp(10px, 1.2vw, 17px) 0 6px;
  color: var(--navy-940);
  font-size: clamp(0.76rem, 1.08vw, 1.02rem);
  line-height: 1.25;
  font-weight: 950;
}

.project-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(0.68rem, 0.9vw, 0.88rem);
  font-weight: 800;
}

.projects-more {
  display: grid;
  gap: 19px;
  align-content: start;
  justify-items: start;
  min-height: 132px;
  padding-top: 14px;
  color: var(--navy-940);
  transition: color 160ms var(--ease), transform 160ms var(--ease);
}

.projects-more:hover,
.projects-more:focus-visible {
  color: var(--navy-820);
  transform: translateY(-2px);
}

.project-arrows {
  display: flex;
  gap: 13px;
}

.project-arrows span {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  color: var(--gold);
  border: 3px solid var(--gold);
  border-radius: 50%;
}

.project-arrows svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.projects-more strong {
  font-size: 1.02rem;
  line-height: 1.24;
  font-weight: 950;
}

.contacts {
  padding-bottom: clamp(58px, 6vw, 92px);
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(245, 184, 0, 0.08), transparent 32%),
    var(--navy-940);
}

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

.contacts-copy h2 {
  position: relative;
  margin-bottom: 18px;
  color: #ffffff;
  font-size: clamp(1.7rem, 2.8vw, 2.6rem);
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
}

.contacts-copy h2::after {
  content: "";
  display: block;
  width: 44px;
  height: 4px;
  margin-top: 14px;
  background: var(--gold);
  border-radius: 999px;
}

.contacts-copy p {
  max-width: 560px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.92rem, 1.12vw, 1.04rem);
  line-height: 1.55;
  font-weight: 650;
}

.contacts-cta {
  margin-top: clamp(20px, 2.3vw, 30px);
}

.contacts-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.contact-link {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: clamp(18px, 2vw, 26px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  transition: transform 160ms var(--ease), background 160ms var(--ease), border-color 160ms var(--ease);
}

.contact-link:hover,
.contact-link:focus-visible {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(245, 184, 0, 0.5);
}

.contact-link img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.contact-site-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 0.58rem;
  font-weight: 950;
  text-transform: uppercase;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.contact-link small,
.contact-link strong {
  display: block;
}

.contact-link small {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-link strong {
  color: #ffffff;
  font-size: clamp(0.86rem, 1.05vw, 1.04rem);
  line-height: 1.2;
  font-weight: 900;
  overflow-wrap: normal;
  word-break: keep-all;
  white-space: nowrap;
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy-980);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(280px, 1fr) minmax(240px, 0.8fr);
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(34px, 5vw, 68px) 0 clamp(28px, 3.5vw, 44px);
}

.footer-brand img {
  width: min(226px, 100%);
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.footer-brand p,
.footer-info p {
  margin: 14px 0 0;
  font-size: 0.94rem;
  line-height: 1.6;
  font-weight: 600;
}

.footer-info h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: clamp(1rem, 1.35vw, 1.28rem);
  line-height: 1.25;
  font-weight: 950;
}

.footer-contacts {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-contacts a {
  color: #ffffff;
  font-weight: 850;
  transition: color 160ms var(--ease);
}

.footer-contacts a:hover,
.footer-contacts a:focus-visible {
  color: var(--gold);
}

.footer-bottom {
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.86rem;
  font-weight: 650;
}

@media (max-width: 900px) {
  .contacts-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: 220px auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav,
  .header-actions {
    position: fixed;
    left: 22px;
    right: 22px;
    display: none;
    width: calc(100% - 44px);
    background: rgba(3, 18, 36, 0.98);
  }

  .site-nav {
    top: var(--header-height);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 0;
    border-radius: 6px 6px 0 0;
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }

  .header-actions {
    top: calc(var(--header-height) + 228px);
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0 0 6px 6px;
  }

  .site-nav.active,
  .header-actions.active {
    display: flex;
  }

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

  .service-card > img {
    aspect-ratio: 1.65 / 1;
  }

  .service-card h3 {
    font-size: 0.95rem;
  }

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

  .projects-more {
    grid-column: span 2;
    grid-template-columns: auto 1fr;
    align-items: center;
    min-height: auto;
  }
}

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

  .container {
    width: min(100% - 34px, var(--container));
  }

  .brand {
    width: 206px;
  }

  .hero {
    min-height: 610px;
  }

  .hero-image {
    object-position: 65% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(3, 18, 36, 0.96) 0%, rgba(5, 26, 53, 0.87) 45%, rgba(6, 30, 58, 0.35) 100%),
      linear-gradient(180deg, rgba(3, 18, 36, 0.08) 0%, rgba(3, 18, 36, 0.26) 100%);
  }

  .hero-title-wrap {
    grid-template-columns: 4px minmax(0, 1fr);
    gap: 18px;
  }

  .hero-accent {
    height: 120px;
  }

  .hero-content > p,
  .hero-actions {
    margin-left: 22px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-block: 28px;
    gap: 28px;
  }

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

  .about-copy {
    justify-content: stretch;
  }

  .about-inner {
    width: min(var(--container), calc(100% - 34px));
    margin-inline: auto;
    padding-right: 0;
  }

  .about-media {
    min-height: 360px;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 72px;
  }

  .site-header {
    grid-template-columns: minmax(0, 178px) auto;
    padding: 10px 14px;
  }

  .brand {
    width: 178px;
  }

  .brand img {
    height: 48px;
  }

  .site-nav,
  .header-actions {
    left: 12px;
    right: 12px;
    width: calc(100% - 24px);
  }

  .header-actions {
    top: calc(var(--header-height) + 224px);
    flex-direction: column;
    align-items: stretch;
  }

  .header-phone,
  .btn-header {
    width: 100%;
  }

  .header-phone {
    justify-content: center;
  }

  .language-switcher {
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
  }

  .language-switcher button {
    padding: 10px;
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
  }

  .language-switcher button:disabled {
    background: rgba(255, 255, 255, 0.035);
  }

  .hero {
    min-height: auto;
    padding: 106px 0 42px;
  }

  .container.hero-content {
    width: min(100% - 34px, 340px);
    margin-left: 17px;
    margin-right: auto;
  }

  .hero-image {
    object-position: 69% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(3, 18, 36, 0.98) 0%, rgba(4, 22, 44, 0.9) 54%, rgba(5, 25, 51, 0.58) 100%),
      linear-gradient(180deg, rgba(3, 18, 36, 0.18) 0%, rgba(3, 18, 36, 0.38) 100%);
  }

  h1 {
    font-size: clamp(1.58rem, 7vw, 1.86rem);
    line-height: 1.08;
  }

  .desktop-nowrap {
    white-space: normal;
  }

  .hero-title-wrap {
    gap: 12px;
  }

  .hero-accent {
    height: 88px;
  }

  .hero-content {
    padding-top: 0;
  }

  .hero-content > p {
    margin-top: 18px;
    margin-left: 0;
    margin-bottom: 22px;
    font-size: clamp(0.94rem, 4vw, 1.02rem);
    line-height: 1.55;
  }

  .hero-actions {
    display: grid;
    gap: 11px;
    margin-left: 0;
  }

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

  .services-grid,
  .projects-row,
  .advantages,
  .contacts-grid,
  .contacts-list {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    min-height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-block: 18px;
    gap: 16px 12px;
  }

  .stat-item {
    gap: 10px;
  }

  .stat-item > div {
    min-width: 0;
  }

  .stat-icon {
    width: 40px;
    height: 40px;
  }

  .stat-item strong {
    font-size: 1.58rem;
  }

  .stat-item .stat-text-value {
    max-width: 88px;
    font-size: 1.02rem;
    line-height: 1.08;
  }

  .stat-item span {
    margin-top: 3px;
    font-size: 0.72rem;
    line-height: 1.28;
  }

  .btn {
    min-height: 44px;
    padding-inline: 18px;
    font-size: 0.76rem;
  }

  .service-card > img {
    aspect-ratio: 1.72 / 1;
  }

  .service-icon {
    width: 58px;
    height: 58px;
  }

  .service-icon img {
    width: 56px;
    height: 56px;
  }

  .service-card h3 {
    font-size: 1rem;
  }

  .service-card p {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .service-body {
    min-height: auto;
    padding: 0 18px 24px;
  }

  .about-inner {
    padding-block: 42px 38px;
  }

  .about-lead {
    font-size: 1rem;
    line-height: 1.62;
  }

  .advantages {
    gap: 22px;
    margin-bottom: 28px;
  }

  .advantages article {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    column-gap: 16px;
    align-items: start;
  }

  .advantages img {
    width: 48px;
    height: 48px;
    margin-bottom: 0;
    grid-row: span 2;
  }

  .advantages h3 {
    font-size: 1rem;
  }

  .advantages p {
    font-size: 0.92rem;
    line-height: 1.42;
  }

  .about-button {
    width: 100%;
    min-height: 46px;
  }

  .about-media {
    min-height: 300px;
  }

  .about-media img {
    object-position: center;
  }

  .section {
    padding: 48px 0;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .projects-more {
    grid-column: auto;
    justify-items: center;
    width: 100%;
    padding: 14px 18px;
    color: var(--navy-940);
    background: rgba(245, 184, 0, 0.1);
    border: 1px solid rgba(245, 184, 0, 0.38);
    border-radius: 6px;
    text-align: center;
  }

  .project-arrows {
    display: none;
  }

  .projects-more strong {
    font-size: 0.98rem;
    line-height: 1.2;
  }

  .contacts {
    padding-bottom: 54px;
  }

  .contacts-copy p {
    font-size: 1rem;
    line-height: 1.62;
  }

  .contacts-cta {
    width: 100%;
  }

  .contact-link {
    width: 100%;
    gap: 12px;
    padding: 16px;
  }

  .contact-link img,
  .contact-site-icon {
    width: 32px;
    height: 32px;
  }

  .contact-link strong {
    font-size: 0.94rem;
  }

  .contact-link[href^="mailto:"] strong {
    font-size: clamp(0.76rem, 3.8vw, 0.94rem);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 40px;
  }

  .footer-brand img {
    width: min(210px, 100%);
  }

  .footer-brand p,
  .footer-info p,
  .footer-contacts a {
    font-size: 0.94rem;
    line-height: 1.55;
  }

  .footer-bottom {
    padding-bottom: 28px;
  }
}

@media (max-width: 420px) {
  .container,
  .about-inner {
    width: min(100% - 24px, var(--container));
  }

  .brand {
    width: 154px;
  }

  .brand img {
    height: 42px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .hero {
    padding: 98px 0 36px;
  }

  .hero-title-wrap {
    grid-template-columns: 3px minmax(0, 1fr);
  }

  h1 {
    max-width: none;
    font-size: clamp(1.46rem, 6.8vw, 1.6rem);
  }

  .hero-accent {
    height: 78px;
  }

  .hero-content > p,
  .hero-actions {
    margin-left: 0;
  }

  .btn {
    width: 100%;
    min-height: 44px;
    padding-inline: 14px;
  }

  .stat-icon {
    width: 36px;
    height: 36px;
  }

  .stat-item strong {
    font-size: 1.42rem;
  }

  .stat-item .stat-text-value {
    max-width: 78px;
    font-size: 0.92rem;
  }

  .stat-item span {
    font-size: 0.68rem;
  }

  .contacts-list {
    gap: 12px;
  }

  .contact-link {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    padding: 14px;
  }

  .contact-link img,
  .contact-site-icon {
    width: 30px;
    height: 30px;
  }

  .footer-contacts a[href^="mailto:"] {
    font-size: clamp(0.82rem, 4vw, 0.94rem);
    white-space: nowrap;
  }
}

@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;
  }
}
