﻿/* Подключение фирменного шрифта */
@font-face {
  font-family: 'Eurostile';
  src: url('../Aptos.ttf') format('truetype');
  font-weight: 700;
  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: 'Eurostile', Inter, 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.5;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--orange);
  color: var(--black);
  font-family: var(--font-primary);
}
.skip-link:focus { top: 12px; }
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(10, 31, 53, .86);
  border-bottom: 1px solid rgba(255,255,255,.13);
  backdrop-filter: blur(14px);
  font-family: var(--font-primary);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: 0; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--black);
  font-weight: 900;
  background: none;
  font-family: var(--font-primary);
}
.brand-text { white-space: nowrap; }
.main-nav { display: flex; justify-content: center; gap: 24px; font-size: 15px; }
.main-nav a, .header-link, .header-phone { color: rgba(255,255,255,.86); }
.main-nav a:hover, .header-link:hover, .header-phone:hover { color: var(--white); }
.header-actions { display: flex; align-items: center; gap: 14px; font-size: 14px; }
.header-phone { font-weight: 700; }
.menu-toggle { display: none; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  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;
  font-family: var(--font-primary);
}
.btn:hover { transform: translateY(-2px); }
.btn-secondary { color: var(--white); background: transparent; border-color: rgba(255,255,255,.38); }
.btn-small { min-height: 38px; padding: 0 16px; }
/*
.hero {
  position: relative;
  min-height: 96vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--blue);
  padding: 116px clamp(18px, 5vw, 80px) 70px;
  font-family: var(--font-primary);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(10,31,53,.92), rgba(10,13,16,.72)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 84px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.045) 0 1px, transparent 1px 84px);
}
*/
.hero {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;

    min-height: 100vh;

    padding: 120px clamp(18px,5vw,80px) 80px;

    background: #0a1f35;

    color: #fff;
}
.hero::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(10,31,53,.35);
    z-index:1;
}
.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
}
/*.hero-inner { position: relative; width: min(1120px, 100%); margin: 0 auto; } */
.hero-inner{
    position:relative;
    z-index:2;

    width:100%;
    max-width:1200px;

    margin:0 auto;
}
/* Центрирование логотипа */
.pipeline-stage {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 20px 0;
}

.pipeline-logo {
  max-width: 100%;
  height: auto;
  display: block;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .08em;
  font-family: var(--font-primary);
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: .98;
  letter-spacing: 0;
  font-family: var(--font-primary);
}
h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: 0;
  color: var(--blue);
  font-family: var(--font-primary);
}
h3 {
  color: var(--blue);
  font-size: 22px;
  font-family: var(--font-primary);
}
.hero-copy { max-width: 680px; color: rgba(255,255,255,.78); font-size: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.quick-nav {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  font-family: var(--font-primary);
}
.quick-nav a {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 22px clamp(14px, 2vw, 28px);
  border-right: 1px solid var(--line);
  font-weight: 800;
  color: var(--blue);
  font-family: var(--font-primary);
}
.quick-nav a:hover { background: var(--soft); }
.quick-nav span { color: var(--orange); font-size: 13px; }
.section { padding: clamp(64px, 8vw, 118px) clamp(18px, 5vw, 80px); }
.section-head { max-width: 900px; margin-bottom: 34px; }
.section-split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 6vw, 90px); align-items: start; }
.text-block { font-size: 19px; color: #46515d; }
.trust-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
  font-family: var(--font-primary);
}
.trust-band div { padding: 32px; background: var(--soft); }
.trust-band strong { display: block; color: var(--blue); font-size: 26px; }
.trust-band span { color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card, .project-card, .doc-card {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 26px;
  box-shadow: 0 1px 0 rgba(10,31,53,.04);
  font-family: var(--font-primary);
}
.service-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: var(--white);
  background: var(--blue);
  font-weight: 900;
  font-family: var(--font-primary);
}
.service-card ul { padding-left: 20px; color: var(--muted); }
.service-card .btn { margin-top: 10px; }
.service-card .btn-secondary { color: var(--blue); border-color: var(--line); background: var(--white); }
.service-card .btn-secondary:hover { border-color: var(--orange); }
.dark-section { background: var(--blue); color: var(--white); }
.dark-section h2, .dark-section h3 { color: var(--white); }
.dark-section .project-card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.project-visual {
  min-height: 178px;
  margin: -26px -26px 22px;
  background:
    linear-gradient(135deg, rgba(10,31,53,.18), rgba(243,107,33,.35)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.11) 0 2px, transparent 2px 18px),
    var(--blue-2);
}
.project-meta { color: rgba(255,255,255,.72); }
.document-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.doc-card { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.doc-card span { color: var(--muted); font-size: 14px; }
.cta-section {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(28px, 6vw, 88px);
  background: var(--soft);
  font-family: var(--font-primary);
}
.cta-section p { color: #46515d; }
.request-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 36px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-family: var(--font-primary);
}
label {
  display: grid;
  gap: 8px;
  font-weight: 800;
  color: var(--blue);
  font-family: var(--font-primary);
}
input, textarea {
  width: 100%;
  border: 1px solid #cbd4df;
  padding: 14px 15px;
  color: var(--graphite);
  font: inherit;
  background: var(--white);
  font-family: var(--font-primary);
}
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: .9fr 1.1fr;
  gap: 32px;
  font-family: var(--font-primary);
}
.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: 390px; display: grid; place-items: center; overflow: hidden; background: var(--blue); color: var(--white); }
.map-grid { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 54px), repeating-linear-gradient(0deg, rgba(255,255,255,.08) 0 1px, transparent 1px 54px); }
.map-card p { position: relative; max-width: 340px; text-align: center; color: rgba(255,255,255,.8); }
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 5vw, 80px);
  background: var(--black);
  color: var(--white);
  font-family: var(--font-primary);
}
.footer-links { display: flex; gap: 18px; color: rgba(255,255,255,.7); }
.content-page { padding: 120px clamp(18px, 5vw, 80px) 80px; max-width: 980px; margin: 0 auto; }
.content-page h1 { color: var(--blue); font-size: clamp(36px, 5vw, 64px); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
@media (max-width: 1120px) {
  .header-link { display: none; }
  .service-grid, .project-grid, .document-list { grid-template-columns: repeat(2, 1fr); }
  .quick-nav { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .site-header { grid-template-columns: auto 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;
    font-family: var(--font-primary);
  }
  .header-actions.is-open { display: grid; grid-column: 1 / -1; justify-items: start; }
  .section-split, .cta-section, .contacts { grid-template-columns: 1fr; }
  .quick-nav, .trust-band, .service-grid, .project-grid, .document-list { grid-template-columns: 1fr; }
  .hero { min-height: 92vh; }
  .site-footer { flex-direction: column; }
  .footer-links { flex-direction: column; gap: 8px; }
}
.mini-logo {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
}
/* Стили для ссылок */
.quick-nav a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #1a1a1a;
  padding: 8px 0;
  font-size: 16px;
  transition: color 0.3s ease;
}

.quick-nav a:hover {
  color: #ff7f2a;   /* текст становится оранжевым при наведении */
}

/* Квадрат со стрелкой */
.arrow-square {
  display: inline-flex;
  position: relative;
  width: 50px;
  height: 50px;
  margin-right: 14px;
  border: 2px solid #cccccc;
  border-radius: 8px;
  background: transparent;
  transition: border-color 0.3s ease;
  flex-shrink: 0;
}

/* При наведении рамка становится оранжевой */
.quick-nav a:hover .arrow-square {
  border-color: #ff7f2a;
  background: transparent;
}

/* Сама стрелка – крупная, в левом нижнем углу, повёрнута на 45° */
.arrow-icon {
  position: absolute;
  left: 4px;
  bottom: 4px;
  font-size: 28px;
  line-height: 1;
  transform: rotate(-45deg) scale(2.5);
  color: #333333;
  transition: color 0.3s ease;
}

/* При наведении стрелка становится тёмно-синей */
.quick-nav a:hover .arrow-icon {
  color: #1a2a4a;
}