@font-face {
  font-family: 'Manrope';
  src: url('../Manrope.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #0a1f35;
  --blue-2: #123859;
  --graphite: #20252b;
  --black: #0a0d10;
  --white: #ffffff;
  --soft: #f4f6f8;
  --line: #d8dee6;
  --orange: #f36b21;
  --muted: #647180;
  --shadow: 0 18px 60px rgba(10, 31, 53, .14);
  --font-primary: 'Manrope', Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--graphite);
  background: var(--white);
  font-family: var(--font-primary);
  line-height: 1.4;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
p, h1, h2, h3 { margin-top: 0; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--orange);
  color: var(--black);
}
.skip-link:focus { top: 12px; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  color: var(--white);
}
.header-topline {
  height: 34px;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 14px;
  overflow: hidden;
  padding: 0 clamp(18px, 3.2vw, 54px);
  color: rgba(255,255,255,.66);
  background: rgba(7, 22, 37, .78);
  border-bottom: 1px solid rgba(255,255,255,.12);
  font-size: 12px;
  text-transform: uppercase;
  transition: height .22s ease, opacity .18s ease, border-color .18s ease;
}
.header-topline span:nth-child(2) { justify-self: start; padding-left: 14px; border-left: 1px solid rgba(255,255,255,.35); }
.header-topline a { justify-self: end; color: rgba(255,255,255,.82); }
.header-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  height: 70px;
  min-height: 70px;
  padding: 0 clamp(18px, 3.2vw, 54px);
  background: rgba(10, 31, 53, .18);
  border-bottom: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  transition: background .2s ease;
}
.site-header[data-solid-header] .header-main { background: rgba(10, 31, 53, .9); }
.site-header.is-scrolled .header-topline {
  height: 0;
  opacity: 0;
  border-bottom-color: transparent;
  pointer-events: none;
}
.site-header.is-scrolled .header-main { background: rgba(10, 31, 53, .9); }
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.brand-logo {
  width: 200px;
  height: 58px;
  object-fit: contain;
}
.brand-divider {
  width: 1px;
  height: 42px;
  background: rgba(255,255,255,.45);
  flex: 0 0 auto;
}
.brand-meta {
  max-width: 340px;
  color: rgba(255,255,255,.92);
  text-transform: uppercase;
  line-height: 1.1;
}
.brand-service { color: rgba(255,255,255,.82); font-size: 14px; font-weight: 800; white-space: nowrap; }
.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 1.3vw, 24px);
  color: rgba(255,255,255,.86);
  font-size: clamp(13px, .86vw, 16px);
  text-transform: uppercase;
}
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: inline-flex; align-items: center; min-height: 70px; white-space: nowrap; }
.nav-dropdown > a::after { content: ''; width: 5px; height: 5px; margin-left: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% - 8px);
  left: -16px;
  min-width: 235px;
  padding: 10px;
  visibility: hidden;
  opacity: 0;
  background: rgba(7, 24, 42, .97);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 18px 36px rgba(0,0,0,.24);
  transform: translateY(-5px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { visibility: visible; opacity: 1; transform: translateY(0); }
.nav-dropdown-menu a { display: block; padding: 10px; color: rgba(255,255,255,.78); font-size: 14px; text-transform: none; }
.nav-dropdown-menu a:hover { color: var(--white); background: rgba(255,255,255,.08); }
.main-nav a:hover,
.header-actions a:hover { color: var(--white); }
.header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 16px;
  color: rgba(255,255,255,.9);
  font-size: clamp(13px, .86vw, 17px);
}
.header-phone,
.header-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.contact-icon { color: var(--orange); font-size: .9em; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid var(--orange);
  background: var(--orange);
  color: var(--black);
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-secondary {
  color: var(--white);
  background: transparent;
  border-color: rgba(255,255,255,.42);
}
.btn-small {
  min-height: 34px;
  padding: 0 14px;
  font-size: 15px;
}
.header-actions .btn-arrow {
  min-height: 46px;
  gap: 14px;
  padding: 0 16px 0 20px;
  border-color: rgba(255,255,255,.54);
  background: rgba(5, 17, 29, .24);
  color: var(--white);
  font-size: 13px;
  letter-spacing: .06em;
}
.header-actions .btn-arrow:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--blue);
  transform: none;
}
.btn-arrow { gap: 10px; }
.btn-arrow-mark {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-left: 1px solid currentColor;
  color: currentColor;
  line-height: 1;
}
.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: min(760px, 100vh);
  overflow: hidden;
  display: grid;
  align-items: stretch;
  padding: 196px clamp(18px, 3vw, 48px) 28px;
  color: var(--white);
  background: var(--blue);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(4, 15, 29, .9) 0%, rgba(4, 15, 29, .75) 63%, rgba(4, 15, 29, .14) 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1220px, 100%);
  margin-left: clamp(74px, 10vw, 188px);
  display: grid;
  grid-template-columns: minmax(0, 880px);
  grid-template-rows: auto auto;
  gap: 24px;
  align-content: center;
}
.hero-content {
  max-width: min(62vw, 720px);
  padding-top: 0;
}
.hero-eyebrow {
  margin-bottom: 22px;
  color: var(--orange);
  font-size: clamp(22px, 1.7vw, 30px);
  font-weight: 900;
  text-transform: uppercase;
}
h1 {
  max-width: min(62vw, 880px);
  margin-bottom: 28px;
  color: var(--white);
  font-size: 60px;
  line-height: .96;
  letter-spacing: 0;
  text-transform: uppercase;
}
.hero-rule {
  display: block;
  width: 100px;
  height: 4px;
  margin-bottom: 26px;
  background: var(--orange);
}
.hero-copy {
  max-width: 680px;
  color: rgba(255,255,255,.92);
  font-size: 20px;
  line-height: 1.25;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.hero-actions .btn:first-child:hover,
.hero-actions .btn:first-child:focus-visible {
  background: transparent;
  border-color: rgba(255,255,255,.86);
  color: var(--white);
}
.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
  margin-top: 34px;
}
.hero-facts div {
  padding: 0 14px 0 0;
  border-right: 1px solid rgba(255,255,255,.24);
}
.hero-facts div:last-child { border-right: 0; }
.hero-fact-icon { width: 24px; height: 24px; margin-bottom: 9px; color: var(--orange); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero-facts strong,
.hero-facts span { display: block; }
.hero-facts strong { font-size: 15px; text-transform: uppercase; }
.hero-facts span { margin-top: 4px; color: rgba(255,255,255,.66); font-size: 14px; line-height: 1.2; }
.hero-benefits {
  grid-column: 1;
  align-self: end;
  width: min(720px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(6, 22, 39, .13);
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 18px 46px rgba(0,0,0,.2);
  backdrop-filter: blur(8px);
}
.hero-benefits article {
  min-height: 188px;
  padding: 20px clamp(16px, 1.8vw, 24px);
  border-right: 1px solid rgba(255,255,255,.14);
  text-align: center;
}
.hero-benefits article:last-child { border-right: 0; }
.benefit-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: screen;
}
.hero-benefits h3 {
  margin: 16px 0 8px;
  color: var(--orange);
  font-size: clamp(15px, 1vw, 19px);
  line-height: 1.15;
  text-transform: uppercase;
}
.hero-benefits p {
  margin-bottom: 0;
  color: rgba(255,255,255,.78);
  font-size: clamp(14px, .95vw, 17px);
  line-height: 1.25;
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(90px); }
  to { opacity: 1; transform: translateX(0); }
}

.quick-nav {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  padding: 10px clamp(18px, 5vw, 80px);
  border-bottom: 0;
  background: var(--blue);
}
.quick-nav a {
  position: relative;
  min-height: 56px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  overflow: hidden;
  border: 0;
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  color: var(--white);
  min-width: 0;
  transition: color .2s ease;
}
.quick-nav a:not(:last-child) { border-right: 1px solid rgba(184, 202, 219, .42); }
.quick-nav a::before { content: ''; position: absolute; right: 12px; bottom: 4px; left: 12px; z-index: 0; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .28s ease; }
.quick-nav a:hover::before, .quick-nav a:focus-visible::before { transform: scaleX(1); }
.quick-nav a { isolation: isolate; }
.quick-nav a span, .quick-nav a strong, .quick-nav a i { position: relative; z-index: 1; }
.quick-nav a strong { font: inherit; font-size: 14px; color: rgba(255,255,255,.9); }
.quick-nav a span { display: block; width: auto; height: auto; color: rgba(184, 202, 219, .66); font-family: var(--font-primary); font-size: 24px; font-style: normal; font-variant-numeric: tabular-nums; font-weight: 500; letter-spacing: 0; line-height: .9; }
.quick-nav a i { color: var(--orange); font-size: 15px; font-style: normal; transition: transform .2s ease; }
.quick-nav a:hover, .quick-nav a:focus-visible { color: var(--white); }
.quick-nav a:hover strong, .quick-nav a:focus-visible strong { color: var(--white); }
.quick-nav a:hover i, .quick-nav a:focus-visible i { transform: translateX(4px); }

.section {
  padding: clamp(42px, 4.5vw, 68px) clamp(18px, 5vw, 80px);
  font-size: 13px;
}
.section-head {
  max-width: 960px;
  margin-bottom: 26px;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(18px, 1.4vw, 24px);
  letter-spacing: .05em;
}
h2 {
  margin-bottom: 18px;
  color: #27313a;
  font-size: clamp(28px, 2.85vw, 45px);
  font-weight: 900;
  line-height: 1;
}
.section-head h2,
.section-split h2,
.contacts h2 { padding-left: 18px; border-left: 5px solid var(--orange); }
.section-head > p:not(.eyebrow) {
  max-width: 760px;
  color: #46515d;
  font-size: 14px;
}
h3 {
  color: var(--blue);
  font-size: 19px;
  line-height: 1.14;
}
.section-split {
  display: grid;
  grid-template-columns: minmax(260px, .65fr) minmax(250px, .68fr) minmax(0, 1.08fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
}
.about-section { display: grid; grid-template-columns: minmax(300px, 520px) minmax(0, 1fr); gap: 70px; align-items: start; }
.about-heading { max-width: 520px; }
.about-heading h2 { padding-left: 18px; border-left: 5px solid var(--orange); }
.about-copy { min-width: 0; padding: 4px 0 0 36px; border-left: 1px solid rgba(10,31,53,.22); }
.about-lead { max-width: 900px; margin-bottom: 26px; color: #46515d; font-size: 21px; font-weight: 600; line-height: 1.38; }
.about-points { display: grid; gap: 14px; max-width: 900px; margin: 0; padding: 0; color: #46515d; font-size: 17px; line-height: 1.4; list-style: none; }
.about-points li { position: relative; padding-left: 18px; }
.about-points li::before { content: ''; position: absolute; top: .55em; left: 0; width: 7px; height: 2px; background: var(--orange); }
.trust-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
}
.trust-band div { padding: 32px; background: var(--soft); }
.trust-band strong { display: block; color: var(--blue); font-size: 22px; }
.trust-band span { color: var(--muted); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service-card,
.project-card,
.doc-card {
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(10,31,53,.04);
}
.service-card {
  position: relative;
  min-height: 165px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  overflow: hidden;
}
.service-card::before,
.service-card::after { content: ''; position: absolute; inset: 0; pointer-events: none; transition: opacity .3s ease; }
.service-card::before { background: var(--service-background) right center / auto 100% no-repeat; opacity: .18; }
.service-card::after { background: linear-gradient(90deg, rgba(10,31,53,0) 36%, rgba(10,31,53,.08) 64%, rgba(10,31,53,.28) 100%); opacity: 0; }
.service-card > * { position: relative; z-index: 1; }
.service-card:hover {
  border-color: rgba(243,107,33,.55);
  box-shadow: var(--shadow);
}
.service-card:hover::before,
.service-card:focus-visible::before { opacity: .3; }
.service-card:hover::after,
.service-card:focus-visible::after { opacity: 1; }
.service-card p { color: var(--muted); }
.service-card .btn { margin-top: auto; align-self: flex-start; }
.service-card .btn-secondary {
  color: var(--blue);
  border-color: var(--line);
  background: var(--white);
}
.service-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: auto;
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
}
.service-link span { color: var(--orange); font-size: 22px; line-height: 1; }

.dark-section {
  background: linear-gradient(90deg, rgba(4, 15, 29, .92), rgba(4, 15, 29, .82)), url('../img/fon_main5.png') center / cover no-repeat;
  color: var(--white);
}
.dark-section h2,
.dark-section h3 { color: var(--white); }
.dark-section .section-head > p:not(.eyebrow) { color: rgba(255,255,255,.74); }
.projects-carousel { position: relative; min-width: 0; }
.projects-viewport { position: relative; overflow: hidden; }
.projects-grid {
  display: flex;
  gap: 26px;
  transition: transform .35s ease;
}
.project-case {
  display: flex;
  flex: 0 0 calc((100% - 52px) / 3);
  min-width: 0;
  flex-direction: column;
  background: rgba(13, 41, 68, .68);
  border: 1px solid rgba(255,255,255,.16);
  transition: transform .2s ease, border-color .2s ease;
}
.project-case:hover { transform: translateY(-4px); border-color: var(--orange); }
.project-case-image { position: relative; min-height: 270px; background-position: center; background-size: cover; }
.project-case-image span { position: absolute; left: 18px; bottom: 16px; color: var(--white); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.project-case-content { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.project-meta { margin-bottom: 12px; color: rgba(255,255,255,.66); font-size: 13px; text-transform: uppercase; }
.project-case h3 { margin-bottom: 12px; }
.project-case-content > p:not(.project-meta) { color: rgba(255,255,255,.76); }
.project-case .service-link { color: var(--white); }
.projects-arrow { position: absolute; top: 50%; z-index: 2; display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(208, 215, 222, .46); background: rgba(10, 20, 30, .16); color: rgba(224, 230, 236, .8); font: inherit; font-size: 26px; line-height: 1; cursor: pointer; transform: translateY(-50%); transition: color .18s ease, border-color .18s ease, background .18s ease; }
.projects-arrow-prev { left: -58px; }
.projects-arrow-next { right: -58px; }
.projects-arrow:hover:not(:disabled), .projects-arrow:focus-visible:not(:disabled) { border-color: rgba(243,107,33,.78); background: rgba(10, 20, 30, .38); color: var(--white); }
.projects-arrow:disabled { opacity: .25; cursor: default; }

.document-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
#documents { padding-top: clamp(30px, 3.3vw, 48px); padding-bottom: clamp(30px, 3.3vw, 48px); }
.doc-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 136px;
  padding: 26px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.doc-card-copy { display: grid; gap: 8px; }
.doc-card-copy strong { font-size: 18px; line-height: 1.25; }
.doc-card-copy small { color: var(--muted); font-size: 15px; line-height: 1.45; }
.doc-card-type { color: var(--orange); font-size: 14px; font-weight: 900; text-transform: uppercase; }
.doc-card:hover,
.doc-card:focus-visible { transform: translateY(-5px); border-color: rgba(243,107,33,.72); background: #fff; box-shadow: var(--shadow); }
.doc-card:hover strong,
.doc-card:focus-visible strong { color: var(--blue); }
.cta-section {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(28px, 6vw, 88px);
  background: var(--soft);
}
.cta-section p { color: #46515d; }
.contact-request {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 82px);
  width: 58.82%;
  margin-inline: auto;
  background: var(--soft);
}
.request-column { display: grid; align-content: start; gap: 20px; }
.contact-column {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(22px, 3vw, 46px);
  align-items: stretch;
}
.contacts-info { align-self: start; }
.contact-column .map-card { min-height: 420px; }
.request-form {
  display: grid;
  gap: 12px;
  padding: clamp(17px, 3vw, 28px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
label {
  display: grid;
  gap: 6px;
  font-weight: 800;
  color: var(--blue);
}
input, textarea {
  width: 100%;
  border: 1px solid #cbd4df;
  padding: 11px 13px;
  color: var(--graphite);
  font: inherit;
  background: var(--white);
}
input:focus, textarea:focus {
  outline: 3px solid rgba(243,107,33,.2);
  border-color: var(--orange);
}
.honeypot { position: absolute; left: -9999px; }
.form-note, .form-status { font-size: 14px; color: var(--muted); }
.form-note a { color: var(--blue); text-decoration: underline; }
.contacts {
  display: grid;
  grid-template-columns: minmax(330px, .78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 4vw, 68px);
}
.contacts ul {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 16px;
}
.contacts li {
  display: grid;
  gap: 3px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.contacts span { color: var(--muted); font-size: 14px; }
.contacts a { color: var(--blue); font-weight: 900; }
address { font-style: normal; color: var(--blue); font-weight: 800; }
.map-card {
  position: relative;
  min-height: clamp(540px, 50vw, 660px);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #0c243d;
  color: var(--white);
}
.map-placeholder { position: relative; z-index: 1; display: grid; justify-items: center; gap: 16px; padding: 30px; text-align: center; }
.map-placeholder p { margin: 0; font-size: 20px; font-weight: 800; }
.map-frame { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; border: 0; }
.map-frame iframe { width: 100% !important; height: 100% !important; min-height: 0 !important; border: 0; }
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) repeat(2, minmax(160px, .65fr)) minmax(220px, .85fr);
  gap: 36px;
  padding: clamp(34px, 4vw, 48px) clamp(18px, 5vw, 80px) 20px;
  background: #081b2e;
  color: var(--white);
}
.site-footer::before { content: ''; position: absolute; inset: -18px; z-index: 0; background: linear-gradient(90deg, rgba(4, 15, 29, .92) 0%, rgba(4, 15, 29, .74) 64%, rgba(4, 15, 29, .38) 100%), url('../img/fon_main5.png') center / cover no-repeat; filter: blur(9px); }
.site-footer > * { position: relative; z-index: 1; }
.footer-main p { max-width: 390px; margin: 18px 0 24px; color: rgba(255,255,255,.62); }
.footer-brand img { width: min(290px, 100%); }
.footer-nav-group, .footer-contacts { display: grid; align-content: start; gap: 11px; }
.site-footer h2 { margin: 0 0 6px; color: var(--white); font-size: 15px; text-transform: uppercase; }
.site-footer a, .site-footer address { color: rgba(255,255,255,.8); font-size: 15px; font-style: normal; font-weight: 400; }
.site-footer a:hover { color: var(--orange); }
.footer-contacts > a { color: var(--white); font-size: 17px; font-weight: 800; }
.footer-socials { display: flex; gap: 9px; }
.footer-socials a { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(255,255,255,.22); color: var(--white); transition: color .18s ease, background .18s ease, border-color .18s ease; }
.footer-socials a:hover { color: var(--black); background: var(--orange); border-color: var(--orange); }
.footer-socials svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 18px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.62); font-size: 13px; }

.content-page {
  padding: 88px clamp(18px, 5vw, 80px) 54px;
}
.detail-hero {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  gap: 44px;
  align-items: center;
  color: var(--white);
  background: var(--blue);
  padding: 128px clamp(18px, 5vw, 80px) 52px;
}
.detail-service-hero {
  min-height: min(414px, 51vh);
  grid-template-columns: minmax(0, 2fr);
  background: linear-gradient(90deg, rgba(4,15,29,.92) 0%, rgba(4,15,29,.74) 64%, rgba(4,15,29,.28) 100%), url('../img/fon_main5.png') center / cover no-repeat;
}
.detail-service-hero > div { max-width: min(68vw, 970px); }
.detail-breadcrumb { display: flex; align-items: center; gap: 9px; margin-bottom: 20px; color: rgba(255,255,255,.64); font-size: 14px; font-weight: 800; text-transform: uppercase; }
.detail-breadcrumb a { color: var(--orange); transition: color .2s ease; }
.detail-breadcrumb a:hover, .detail-breadcrumb a:focus-visible { color: var(--white); }
.detail-hero h1 { font-size: clamp(42px, 5vw, 48px); }
.detail-hero p { color: rgba(255,255,255,.78); font-size: 22px; }
.detail-visual {
  min-height: 390px;
  background: url('../img/fon_main_present.png') center / cover;
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 28px;
  padding: clamp(28px, 3.6vw, 50px) clamp(18px, 5vw, 80px);
}
.detail-aside {
  border-left: 4px solid var(--orange);
  padding-left: 24px;
}
.project-detail-layout { grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr); }
.detail-render {
  position: sticky;
  top: 128px;
  display: grid;
  min-height: 350px;
  place-items: center;
  padding: 20px;
  border: 0;
}
.detail-render img {
  width: min(100%, 390px);
  max-height: 420px;
  object-fit: contain;
  filter: drop-shadow(20px 24px 20px rgba(10,31,53,.22));
}
.detail-service-photo {
  position: static;
  top: auto;
  align-self: start;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  padding: 0;
  border-left: 0;
  background: var(--blue);
}
.detail-service-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.service-full-details { grid-column: 1 / -1; }
.detail-list {
  display: grid;
  gap: 12px;
}
.detail-list section {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.project-gallery { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; column-gap: 14px; align-items: center; margin-top: 28px; }
.project-gallery-frame { display: grid; grid-template-columns: 10% 80% 10%; overflow: hidden; background: var(--blue); aspect-ratio: 16 / 8; }
.project-gallery-frame { grid-column: 2; grid-row: 1; }
.project-gallery-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.project-gallery-image { grid-column: 2; grid-row: 1; position: relative; z-index: 1; }
.project-gallery-preview { grid-row: 1; filter: blur(7px); opacity: .65; transform: scale(1.08); }
.project-gallery-preview-prev { grid-column: 1; }
.project-gallery-preview-next { grid-column: 3; }
.project-gallery-arrow { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(145,157,169,.66); background: rgba(10,20,30,.08); color: rgba(86,98,111,.9); font: inherit; font-size: 26px; line-height: 1; cursor: pointer; transition: background .18s ease, border-color .18s ease, color .18s ease; }
.project-gallery-arrow-prev { grid-column: 1; grid-row: 1; align-self: center; }
.project-gallery-arrow-next { grid-column: 3; grid-row: 1; align-self: center; }
.project-gallery-arrow:hover:not(:disabled), .project-gallery-arrow:focus-visible:not(:disabled) { border-color: var(--orange); background: rgba(10,20,30,.48); }
.project-gallery-arrow:disabled { opacity: .25; cursor: default; }
.project-work-list { display: grid; gap: 10px; margin: 0; padding-left: 20px; color: #46515d; }
.project-work-list li::marker { color: var(--orange); }
.service-theses { padding: 24px; border: 1px solid var(--line); background: var(--soft); }
.service-theses ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; padding-left: 20px; margin: 0; color: var(--blue); font-weight: 800; }
.service-theses li::marker { color: var(--orange); }
.service-explainer { padding: 24px 0; }
.service-explainer p { max-width: 760px; color: #46515d; font-size: 18px; }
.service-scope { display: grid; gap: 18px; }
.service-faq { padding-top: 8px; }
.service-faq details { padding: 16px 0; border-top: 1px solid var(--line); color: #46515d; }
.service-faq summary { cursor: pointer; color: var(--blue); font-weight: 900; }
.detail-cta { padding: clamp(52px, 7vw, 90px) clamp(18px, 5vw, 80px); background: var(--soft); text-align: center; }
.detail-cta h2 { max-width: 720px; margin-right: auto; margin-left: auto; }

.not-found { display: grid; min-height: 100vh; place-items: center; padding: 24px; color: var(--white); background: var(--blue) url('../img/fon_main.png') center / cover; }
.not-found::before { content: ''; position: fixed; inset: 0; background: rgba(4, 15, 29, .78); }
.not-found-card { position: relative; max-width: 640px; padding: clamp(32px, 7vw, 76px); border: 1px solid rgba(255,255,255,.2); background: rgba(10,31,53,.86); text-align: center; }
.not-found-code { margin: 0 0 10px; color: var(--orange); font-size: clamp(72px, 13vw, 144px); font-weight: 900; line-height: .8; }
.not-found h1 { margin: 0 auto 18px; font-size: clamp(34px, 5vw, 56px); }
.not-found p { color: rgba(255,255,255,.78); font-size: 18px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-grid div {
  min-height: 220px;
  background: url('../img/fon_main_present.png') center / cover;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
@media (max-width: 1540px) {
  .brand-logo { width: 200px; }
  .header-link { display: none; }
}
@media (max-width: 1360px) {
  .brand-logo { width: 190px; }
  .brand-meta { max-width: 300px; }
  .header-link { display: none; }
}
@media (max-width: 1180px) {
  .brand-meta { display: none; }
  .brand-divider { display: none; }
}
@media (max-width: 1120px) {
  .hero-inner,
  .detail-hero,
  .detail-layout { grid-template-columns: 1fr; }
  .hero-benefits,
  .trust-band,
  .quick-nav { grid-template-columns: repeat(3, 1fr); }
  .quick-nav a:nth-child(3n) { border-right: 0; }
  .project-detail-layout { grid-template-columns: minmax(250px, .85fr) minmax(0, 1.15fr); }
  .service-grid,
  .document-list,
  .gallery-grid,
  .project-case { flex-basis: calc((100% - 26px) / 2); }
  .section-split { grid-template-columns: minmax(190px, .55fr) minmax(0, 1.45fr); }
  .about-section { grid-template-columns: minmax(300px, 420px) minmax(0, 1fr); gap: 50px; }
  .site-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  html { overflow-x: clip; }
  body { min-width: 320px; overflow-x: hidden; hyphens: none; overflow-wrap: normal; word-break: normal; }
  img, svg { max-width: 100%; }
  .header-topline { display: none; }
  .header-main {
    grid-template-columns: auto auto;
    height: 70px;
    min-height: 70px;
  }
  .brand-logo {
    width: min(230px, 64vw);
    height: auto;
  }
  .menu-toggle {
    display: grid;
    gap: 5px;
    justify-self: end;
    width: 44px;
    height: 40px;
    padding: 9px;
    border: 1px solid rgba(255,255,255,.2);
    background: transparent;
  }
  .menu-toggle span { height: 2px; background: var(--white); }
  .main-nav,
  .header-actions { display: none; }
  .main-nav.is-open {
    display: grid;
    grid-column: 1 / -1;
    justify-content: start;
    gap: 14px;
    padding: 14px 0;
    width: 100%;
    background: #0a1f35;
  }
  .nav-dropdown > a { min-height: auto; }
  .nav-dropdown > a::after { display: none; }
  .nav-dropdown-menu { display: none; }
  .header-actions.is-open {
    display: grid;
    grid-template-columns: 1fr;
    grid-column: 1 / -1;
    justify-items: start;
    width: 100%;
    padding: 0 0 14px;
    background: #0a1f35;
  }
  .header-main:has(.main-nav.is-open) { height: auto; min-height: 70px; background: #0a1f35; }
  .header-actions.is-open .header-link { display: inline-flex; }
  .hero { padding: 92px 28px 24px; }
  .hero-inner { width: 100%; margin-left: 0; }
  h1 { font-size: clamp(22px, 7.4vw, 38px); overflow-wrap: normal; word-break: normal; hyphens: none; }
  h2, h3, p, a, li, address { overflow-wrap: normal; word-break: normal; }
  .hero-benefits,
  .trust-band,
  .service-grid,
  .project-tabs,
  .document-list,
  .section-split,
  .about-section,
  .contact-request,
  .contact-column,
  .cta-section,
  .contacts,
  .gallery-grid { grid-template-columns: 1fr; }
  .contact-request { width: auto; margin-inline: 0; }
  .contact-column { grid-template-rows: auto auto; }
  .contact-column .map-card { min-height: clamp(420px, 78vw, 540px); }
  .project-case { flex-basis: 100%; }
  .quick-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 96px; padding-left: 28px; padding-right: 28px; }
  .quick-nav a { min-height: 0; height: 100%; }
  .quick-nav a:nth-child(3n) { border-right: 1px solid rgba(184, 202, 219, .42); }
  .quick-nav a:nth-child(2n) { border-right: 0; }
  .project-detail-layout { grid-template-columns: 1fr; }
  .detail-service-hero > div { max-width: 100%; }
  .detail-hero h1 { font-size: clamp(24px, 7.6vw, 38px); }
  .detail-hero p { font-size: clamp(16px, 4.4vw, 19px); }
  .detail-layout { gap: 28px; }
  .detail-service-photo { position: static; width: 100%; aspect-ratio: 16 / 9; }
  .projects-carousel { display: grid; grid-template-columns: 1fr 40px 40px 1fr; gap: 12px; }
  .projects-viewport { grid-column: 1 / -1; grid-row: 1; }
  .projects-arrow { position: static; width: 40px; height: 40px; margin-top: 0; transform: none; }
  .projects-arrow-prev { grid-column: 2; grid-row: 2; }
  .projects-arrow-next { grid-column: 3; grid-row: 2; }
  .project-gallery { position: static; grid-template-columns: 1fr 40px 40px 1fr; gap: 12px; }
  .project-gallery-frame { display: block; grid-column: 1 / -1; grid-row: 1; aspect-ratio: 16 / 8; }
  .project-gallery-preview { display: none; }
  .project-gallery-image { width: 100%; height: 100%; }
  .project-gallery-arrow { width: 40px; height: 40px; }
  .project-gallery-arrow-prev { grid-column: 2; grid-row: 2; }
  .project-gallery-arrow-next { grid-column: 3; grid-row: 2; }
  .hero-facts { grid-template-columns: 1fr; max-width: 360px; }
  .hero-facts div { padding: 0 0 12px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.24); }
  .hero-facts div:last-child { border-bottom: 0; }
  .hero-benefits { width: 100%; }
  .hero-benefits article { min-height: 0; display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 16px; align-items: center; padding: 20px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); text-align: left; }
  .hero-benefits article:last-child { border-bottom: 0; }
  .service-card::before { opacity: .24; }
  .hero-benefits .benefit-icon { grid-row: 1 / span 2; width: 56px; height: 56px; margin: 0; }
  .hero-benefits h3 { margin: 0 0 4px; }
  .hero-benefits p { grid-column: 2; }
  .service-theses ul { grid-template-columns: 1fr; }
  .section { padding-left: 28px; padding-right: 28px; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
