@font-face {
  font-family: Inter;
  src: url("assets/inter-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: Inter;
  src: url("assets/inter-latin-ext.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: Inter;
  src: url("assets/inter-cyrillic.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

:root {
  --ink: #092437;
  --navy: #0c3047;
  --navy-deep: #071f30;
  --muted: #476377;
  --paper: #f6fbfe;
  --white: #fff;
  --line: #d5e6ee;
  --accent: #02aff2;
  --accent-hover: #53c9f7;
  --accent-soft: #e0f5fe;
  --header-height: 76px;
  --gutter: 48px;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
body:has(dialog[open]) { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { color: inherit; font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 2px solid #0076ac; outline-offset: 4px; }
::selection { color: var(--ink); background: var(--accent-hover); }

.wrap { width: min(1240px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.section { padding-block: clamp(70px, 8vw, 116px); }
h1, h2, h3, p, figure { margin: 0; }
h2 {
  font-size: clamp(38px, 4.3vw, 62px);
  line-height: 1.02;
  font-weight: 760;
  letter-spacing: -0.065em;
  text-wrap: balance;
}
h3 { font-size: 25px; font-weight: 730; line-height: 1.13; letter-spacing: -0.045em; }
p { font-size: 16px; line-height: 1.68; }
.lead { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.45; letter-spacing: -0.025em; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 20;
  padding: 12px 16px;
  color: var(--ink);
  background: var(--accent);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 5;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(1380px, calc(100% - 2 * var(--gutter)));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: calc(var(--header-height) - 1px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand-logo { width: 48px; height: auto; flex: none; }
.brand-name { font-size: 29px; font-weight: 800; letter-spacing: -0.08em; line-height: 1; }
.brand-name span { color: #376782; font-size: 0.84em; }
.desktop-nav { display: flex; align-items: stretch; align-self: stretch; gap: clamp(13px, 1.55vw, 24px); }
.desktop-nav a {
  display: grid;
  align-items: center;
  position: relative;
  white-space: nowrap;
  color: #2e5066;
  font-size: 13px;
  font-weight: 640;
  transition: color 150ms ease;
}
.desktop-nav a::after {
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  content: "";
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 150ms ease;
}
.desktop-nav a:hover, .desktop-nav a[aria-current] { color: var(--ink); }
.desktop-nav a:hover::after, .desktop-nav a[aria-current]::after { transform: scaleX(1); }
.header-tools { display: flex; align-items: center; gap: 12px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 19px;
  padding: 0 20px;
  min-height: 53px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 720;
  line-height: 1.2;
  transition: background-color 150ms ease, border-color 150ms ease;
}
.button-accent { color: var(--ink); background: var(--accent); }
.button-accent:hover { background: var(--accent-hover); }
.button-outline { color: var(--white); background: #08263b52; border-color: #d4edf981; }
.button-outline:hover { background: #ffffff24; border-color: var(--white); }
.header-contact { min-height: 43px; gap: 9px; padding-inline: 13px; }
.arrow { position: relative; display: inline-block; width: 14px; height: 14px; flex: none; }
.arrow::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 2px;
  width: 10px;
  height: 1.5px;
  background: currentColor;
}
.arrow::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 2px;
  width: 5.5px;
  height: 5.5px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.arrow.diagonal { transform: rotate(-45deg); }
.arrow.down { transform: rotate(90deg); }
.arrow.up { transform: rotate(-90deg); }
.arrow.left { transform: rotate(180deg); }
.locale { position: relative; }
.locale summary {
  display: flex;
  align-items: center;
  gap: 7px;
  list-style: none;
  font-size: 13px;
  font-weight: 730;
  min-height: 43px;
  padding-inline: 7px;
  white-space: nowrap;
}
.locale summary::-webkit-details-marker { display: none; }
.globe { display: block; width: 15px; height: 15px; border: 1.3px solid; border-radius: 50%; position: relative; }
.globe::before { content: ""; position: absolute; inset: -1px 3px; border: 1px solid; border-radius: 50%; }
.globe::after { content: ""; position: absolute; top: 5.5px; left: 0; right: 0; border-top: 1px solid; }
.chevron { display: block; width: 6px; height: 6px; margin: -3px 2px 0 1px; border: solid; border-width: 0 1.3px 1.3px 0; transform: rotate(45deg); }
.locale[open] .chevron { transform: translateY(3px) rotate(225deg); }
.locale-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 160px;
  padding: 5px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 12px 26px #09243719;
}
.locale-options button {
  display: block;
  width: 100%;
  min-height: 39px;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 8px 10px;
  font-size: 13px;
}
.locale-options button:hover, .locale-options button[aria-pressed="true"] { background: var(--accent-soft); }
.menu-toggle {
  display: none;
  place-items: center;
  width: 43px;
  height: 43px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
}
.hamburger { position: relative; width: 17px; height: 1.6px; background: currentColor; }
.hamburger::before, .hamburger::after { content: ""; position: absolute; left: 0; width: 100%; height: inherit; background: inherit; }
.hamburger::before { top: -5px; }
.hamburger::after { top: 5px; }

.hero {
  display: grid;
  align-items: center;
  min-height: clamp(555px, 72svh, 770px);
  padding-block: 88px;
  position: relative;
  isolation: isolate;
  color: var(--white);
  background: var(--navy);
  overflow: hidden;
}
.hero > picture { position: absolute; inset: 0; z-index: -2; }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-image { z-index: auto; object-fit: cover; object-position: center 52%; }
.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, #061a29f5 0%, #062035e5 29%, #082b418f 57%, #0a2c401b 100%),
    linear-gradient(0deg, #071f30ad, transparent 47%);
}
.hero-guide {
  position: absolute;
  pointer-events: none;
  inset: 28px max(28px, calc((100% - 1380px) / 2)) 28px auto;
  width: min(28vw, 430px);
  border-right: 1px solid #ffffff28;
  background:
    linear-gradient(#fff6, #fff6) right top / 20px 1px no-repeat,
    linear-gradient(#fff6, #fff6) right bottom / 20px 1px no-repeat;
}
.hero-content { position: relative; }
.hero h1 {
  font-size: clamp(63px, 8.4vw, 124px);
  font-weight: 780;
  line-height: 0.92;
  letter-spacing: -0.082em;
}
.hero-accent { color: var(--accent-hover); }
.hero p { margin-block: 29px 32px; max-width: 600px; color: #e7f3f9; text-wrap: balance; font-size: clamp(16px, 1.5vw, 21px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
html[lang="ru"] .hero h1 { font-size: clamp(54px, 7.55vw, 108px); letter-spacing: -0.069em; }
.hero :focus-visible, .services :focus-visible, .contact :focus-visible, .site-footer :focus-visible { outline-color: var(--accent); }

.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(40px, 7vw, 104px); align-items: center; }
.about-copy .lead { margin-block: 24px 15px; font-weight: 560; }
.about-copy p:not(.lead) { max-width: 530px; color: var(--muted); }
.about-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 19px 0 0;
  margin: 25px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  color: #2e5066;
  font-size: 13px;
  font-weight: 690;
}
.about-points li { display: flex; align-items: center; gap: 8px; }
.about-points li::before { content: ""; width: 7px; height: 7px; background: var(--accent); }
.about-figure { position: relative; margin-left: 8px; }
.about-figure::before { content: ""; position: absolute; inset: 14% auto 0 -8px; width: 8px; background: var(--accent); }
.about-figure img { aspect-ratio: 1.46; width: 100%; height: auto; object-fit: cover; }
.about-figure figcaption {
  position: absolute;
  bottom: 10px;
  right: 10px;
  padding: 5px 8px;
  background: #071f30e6;
  color: #e7f3f9;
  font-size: 11px;
  font-weight: 560;
}

.services { background: var(--navy); color: var(--white); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 39px; }
.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 256px;
  padding: clamp(23px, 2.8vw, 37px);
  border: 1px solid #ffffff2a;
  background: #ffffff06;
  transition: background-color 180ms ease, border-color 180ms ease;
}
.service-card:hover { border-color: var(--accent); background: #ffffff0e; }
.service-card h3 { margin-block: 19px 12px; }
.service-card p { margin-bottom: 24px; color: #d0e3ef; font-size: 15px; line-height: 1.58; }
.service-symbol { display: block; position: relative; width: 36px; height: 32px; color: var(--accent); }
.service-symbol i { display: block; position: absolute; }
.symbol-buildings i:first-child { width: 16px; height: 29px; bottom: 1px; left: 2px; border: 1.5px solid; }
.symbol-buildings i:last-child { width: 13px; height: 19px; bottom: 1px; left: 17px; border: 1.5px solid; }
.symbol-buildings i::before, .symbol-buildings i::after {
  content: ""; position: absolute; width: 6px; height: 1.5px; left: 3px; background: currentColor;
}
.symbol-buildings i::before { top: 5px; }
.symbol-buildings i::after { top: 10px; }
.symbol-industry i:first-child { width: 29px; height: 16px; bottom: 1px; left: 2px; border: 1.5px solid; }
.symbol-industry i:first-child::after { content: ""; position: absolute; width: 13px; height: 3px; bottom: 5px; left: 6px; border-inline: 4px solid; }
.symbol-industry i:last-child { width: 17px; height: 17px; transform: rotate(45deg) skew(-8deg, -8deg); top: 5px; left: 8px; border: solid; border-width: 1.5px 0 0 1.5px; }
.symbol-road i:first-child { width: 23px; height: 30px; bottom: 1px; left: 5px; border-inline: 1.5px solid; transform: perspective(28px) rotateX(21deg); }
.symbol-road i:last-child { height: 28px; bottom: 2px; left: 16px; border-left: 1.5px dashed; }
.service-link { display: inline-flex; align-items: center; gap: 9px; margin-top: auto; color: var(--accent-hover); font-size: 14px; font-weight: 700; }

.projects { background: var(--paper); }
.projects-heading { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 22px 32px; margin-bottom: 28px; }
.projects-heading p { color: var(--muted); margin-top: 13px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tabs button {
  background: transparent;
  border: 1px solid #c1d6e1;
  border-radius: 2px;
  padding: 10px 13px;
  min-height: 42px;
  font-weight: 670;
  font-size: 13px;
  text-align: left;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.tabs button:hover { border-color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px; }
.project-card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 2px; }
.project-card:hover { border-color: #7aa0b5; }
.project-image { aspect-ratio: 1.95; overflow: hidden; background: #d9e8f0; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.project-card:hover img { transform: scale(1.035); }
.project-card-body { padding: 22px 22px 23px; }
.project-card p { margin-top: 9px; color: var(--muted); line-height: 1.55; font-size: 15px; }
.project-open {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
}
.project-open::after { content: ""; position: absolute; inset: 0; }
.project-arrow {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border: 1px solid var(--line);
  transition: background-color 160ms ease, border-color 160ms ease;
}
.project-card:hover .project-arrow, .project-open:focus-visible .project-arrow { background: var(--accent); border-color: var(--accent); }

.company-resources { background: #e6f4fb; border-top: 1px solid var(--line); }
.resources-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.resource { padding: 41px 31px 46px; }
.resource:first-child { padding-left: 0; }
.resource + .resource { border-left: 1px solid #c7dfe9; }
.resource h2 { font-size: clamp(22px, 2.3vw, 32px); letter-spacing: -0.045em; }
.resource p { margin-top: 11px; color: var(--muted); font-size: 15px; }

.contact { background: var(--navy); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 8vw, 118px); align-items: start; }
.contact-copy .lead { margin-block: 23px 10px; font-weight: 570; }
.contact-copy p:not(.lead) { max-width: 355px; color: #d0e3ef; }
.contact-form { display: grid; gap: 17px; }
.contact-form label { display: grid; gap: 7px; font-size: 13px; font-weight: 650; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.contact-form input, .contact-form select, .contact-form textarea, .draft-dialog textarea {
  width: 100%;
  min-height: 45px;
  padding: 10px 12px;
  color: var(--ink);
  border: 1px solid #c1d6e1;
  border-radius: 2px;
  background: var(--white);
  font-size: 16px;
  font-weight: 450;
}
.contact-form textarea, .draft-dialog textarea { resize: vertical; min-height: 97px; }
.contact-form .button { justify-self: start; }

.site-footer { color: var(--white); background: var(--navy-deep); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 25px; }
.brand-inverse .brand-name span { color: #a5c7db; }
.footer-inner small { color: #b3cddb; font-size: 12px; }
.back-top { display: inline-flex; align-items: center; gap: 9px; min-height: 42px; color: #e1f0f8; font-size: 13px; font-weight: 650; }
.back-top:hover { color: var(--accent); }

dialog {
  color: var(--ink);
  border: 0;
  padding: 0;
  background: var(--white);
  max-height: calc(100dvh - 32px);
  box-shadow: 0 20px 60px #071f3066;
}
dialog::backdrop { background: #071f30b5; backdrop-filter: blur(3px); }
.icon-button { display: grid; place-items: center; width: 43px; height: 43px; padding: 0; border: 1px solid var(--line); border-radius: 2px; background: var(--white); flex: none; }
.icon-button:hover { background: var(--accent-soft); }
.close-button span { position: relative; width: 16px; height: 16px; }
.close-button span::before, .close-button span::after {
  position: absolute;
  left: 0;
  top: 7px;
  content: "";
  width: 16px;
  height: 1.6px;
  background: currentColor;
  transform: rotate(45deg);
}
.close-button span::after { transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  width: min(420px, 83vw);
  max-width: none;
  height: 100dvh;
  max-height: none;
}
.mobile-menu[open] { display: flex; flex-direction: column; animation: enter-drawer 180ms ease-out; }
@keyframes enter-drawer { from { transform: translateX(100%); } to { transform: translateX(0); } }
.drawer-top, .drawer-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 19px 23px; }
.drawer-top { border-bottom: 1px solid var(--line); }
.drawer-nav { display: grid; margin-bottom: auto; }
.drawer-nav a { border-bottom: 1px solid var(--line); padding: 15px 23px; min-height: 51px; font-size: 16px; font-weight: 590; }
.drawer-nav a[aria-current], .drawer-nav a:hover { background: var(--accent-soft); }
.drawer-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.drawer-languages { display: flex; gap: 5px; }
.drawer-languages button { border: 1px solid var(--line); padding: 7px 10px; background: var(--white); color: var(--ink); font-weight: 690; min-height: 40px; }
.drawer-languages button[aria-pressed="true"], .drawer-languages button:hover { background: var(--accent); border-color: var(--accent); }

.project-dialog { width: min(760px, calc(100% - 32px)); }
.project-close { position: absolute; z-index: 1; top: 12px; right: 12px; }
.project-dialog > img { width: 100%; height: auto; aspect-ratio: 1.8; max-height: 53dvh; object-fit: cover; background: #d9e8f0; }
.project-detail { padding: clamp(19px, 4vw, 34px); }
.project-detail h2, .draft-dialog h2 { font-size: clamp(28px, 4.2vw, 42px); line-height: 1.08; }
.detail-category { margin-bottom: 9px; color: var(--muted); font-size: 13px; font-weight: 680; }
#detail-description { margin-top: 12px; color: var(--muted); }
.detail-controls { display: flex; align-items: center; gap: 14px; margin-top: 19px; font-size: 13px; font-weight: 700; }
.draft-dialog { width: min(560px, calc(100% - 32px)); padding: clamp(20px, 5vw, 34px); }
.draft-dialog h2 { padding-right: 40px; margin-bottom: 16px; }
.draft-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
#copy-status { color: var(--muted); font-size: 13px; }

@media (max-width: 1180px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: grid; }
}
@media (max-width: 900px) {
  :root { --gutter: 32px; }
  .hero { min-height: 600px; }
  .about-grid { gap: 35px; }
  .services .service-grid { gap: 9px; }
  .service-card { padding: 22px 17px; }
  .resource { padding-inline: 18px; }
}
@media (max-width: 700px) {
  :root { --gutter: 23px; --header-height: 67px; }
  .section { padding-block: 62px; }
  .hero { min-height: clamp(505px, 76svh, 670px); padding-block: 67px; }
  .hero h1 { font-size: clamp(43px, 11.8vw, 75px); letter-spacing: -0.075em; }
  html[lang="ru"] .hero h1 { font-size: clamp(35px, 9.65vw, 65px); }
  .hero-image { object-position: 65% center; }
  .hero-shade { background: linear-gradient(90deg, #061a29ee, #082b418b 75%, #0a2c4054), linear-gradient(0deg, #071f309b, transparent 70%); }
  .hero-guide { inset: 16px 16px 16px auto; }
  .hero p { max-width: 360px; margin-block: 22px 24px; }
  .about-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 29px; }
  .about-copy .lead, .contact-copy .lead { margin-top: 17px; }
  .services .service-grid { grid-template-columns: minmax(0, 1fr); gap: 9px; margin-top: 26px; }
  .service-card { min-height: 0; padding: 23px; }
  .service-card h3 { margin-top: 15px; }
  .service-card p { margin-bottom: 16px; }
  .project-grid { gap: 12px; }
  .project-card-body { padding: 17px 15px; }
  .project-card h3 { font-size: 20px; }
  .project-card p { font-size: 14px; }
  .project-arrow { width: 35px; height: 35px; }
  .resource { padding: 25px 11px; }
  .resource p { font-size: 14px; }
}
@media (max-width: 515px) {
  :root { --gutter: 18px; }
  .header-inner { gap: 10px; }
  .header-tools { gap: 7px; }
  .brand { gap: 7px; }
  .brand-logo { width: 38px; }
  .brand-name { font-size: 26px; }
  .locale summary { gap: 4px; padding-inline: 4px; }
  .header-contact { gap: 4px; padding-inline: 8px; font-size: 13px; }
  .header-contact .arrow { width: 12px; }
  .hero-actions { gap: 8px; }
  .hero-actions .button { padding-inline: 12px; gap: 8px; min-height: 48px; font-size: 13px; }
  .project-grid, .resources-grid { grid-template-columns: minmax(0, 1fr); }
  .project-card h3 { font-size: 22px; }
  .resource { padding-inline: 0; }
  .resource + .resource { border-left: 0; border-top: 1px solid #c7dfe9; }
  .field-row { gap: 9px; }
  .footer-inner { flex-wrap: wrap; gap: 9px; }
  .footer-inner .back-top { font-size: 12px; }
}
@media (max-width: 350px) {
  :root { --gutter: 13px; }
  .header-inner { gap: 6px; }
  .header-tools { gap: 4px; }
  .brand-logo { width: 32px; }
  .brand-name { font-size: 23px; }
  .header-contact { padding-inline: 6px; }
  .locale summary .globe, .header-contact .arrow { display: none; }
  .mobile-menu { width: 88vw; }
  .hero h1 { font-size: 39px; }
  html[lang="ru"] .hero h1 { font-size: 31px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
