:root {
  --navy: #142c4b;
  --navy-deep: #0e223c;
  --cyan: #19beec;
  --text: #6e7886;
  --heading: #142c4b;
  --line: rgba(255, 255, 255, 0.28);
  --card: #ffffff;
  --soft: #f3f6f9;
  --shadow: 0 12px 40px rgba(20, 44, 75, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Poppins, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
.container { width: min(1140px, calc(100% - 40px)); margin: 0 auto; }
.container-wide { width: min(1240px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  color: #fff;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled {
  position: fixed;
  background: var(--navy);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 28px 8px;
}
.logo { display: flex; align-items: center; flex: 0 0 auto; }
.logo img { width: 190px; height: 52px; object-fit: contain; object-position: left center; }
.top-contacts {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  min-width: 0;
}
.contact-item { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; line-height: 1.35; }
.contact-item svg { width: 22px; height: 22px; margin-top: 2px; flex: 0 0 auto; stroke: #fff; fill: none; }
.contact-item strong { display: block; font-weight: 500; color: #fff; font-size: 14px; }
.contact-item span, .contact-item a { color: rgba(255,255,255,0.92); }
.main-nav {
  display: flex;
  justify-content: center;
  gap: 42px;
  padding: 8px 20px 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.main-nav a {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  padding: 6px 0;
  position: relative;
}
.main-nav a.active, .main-nav a:hover { color: var(--cyan); }
.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  width: 44px;
  height: 40px;
  border-radius: 4px;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span:before, .nav-toggle span:after {
  display: block; height: 2px; width: 18px; background: #fff; position: relative; margin: 0 auto;
}
.nav-toggle span:before, .nav-toggle span:after { content: ""; position: absolute; left: 0; }
.nav-toggle span:before { top: -6px; }
.nav-toggle span:after { top: 6px; }

.hero {
  min-height: 760px;
  background: #12345c url("../images/hero.svg") center/cover no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
  padding: 190px 0 90px;
}
.hero-copy { width: min(820px, calc(100% - 48px)); margin: 0 auto; }
.hero h1 {
  margin: 0 0 18px;
  font-size: 50px;
  line-height: 1.2;
  font-weight: 600;
  color: #fff;
}
.hero p { margin: 0 0 28px; font-size: 16px; max-width: 760px; color: rgba(255,255,255,0.95); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  height: 48px;
  padding: 0 22px;
  border: 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: 0.2s ease;
}
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--cyan); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--cyan); }
.btn-cyan { background: var(--cyan); color: #fff; }
.btn-cyan:hover { background: var(--navy); }

.section { padding: 80px 0; }
.kicker {
  color: var(--cyan);
  letter-spacing: 0.5px;
  font-weight: 600;
  font-size: 22px;
  margin: 0 0 12px;
  text-transform: uppercase;
}
h2, h3, h4, h5 { color: var(--heading); font-weight: 600; }
.lead { margin-top: 0; }

.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.split img { width: 100%; height: 460px; object-fit: cover; object-position: center 30%; }
.checks { list-style: none; padding: 0; margin: 18px 0 22px; }
.checks li { display: flex; gap: 12px; margin: 0 0 14px; }
.check {
  width: 22px; height: 22px; border-radius: 50%; background: var(--cyan); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; margin-top: 3px; font-size: 13px;
}
.license { border-left: 3px solid #111; padding-left: 12px; color: #222; font-size: 14px; }
.license strong { display: block; letter-spacing: 0.3px; }

.mission { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.mission h2 { font-size: 40px; line-height: 1.25; margin: 0 0 16px; }
.mission img { width: 100%; height: 340px; object-fit: cover; }

.center { text-align: center; }
.services-intro { max-width: 760px; margin: 0 auto 28px; }
.tabs { display: flex; justify-content: center; gap: 18px; margin-bottom: 28px; flex-wrap: wrap; }
.tab {
  background: var(--navy);
  color: #fff;
  border: 0;
  min-width: 280px;
  height: 52px;
  font-size: 16px;
  cursor: pointer;
}
.tab.active { background: #0b2038; box-shadow: inset 0 -3px 0 var(--cyan); }

.carousel { position: relative; }
.car-window { overflow: hidden; }
.car-track { display: flex; transition: transform 0.45s ease; }
.svc-slide { min-width: 100%; padding: 0 70px; }
.svc-card { background: #fff; box-shadow: var(--shadow); }
.svc-card img { width: 100%; height: 360px; object-fit: cover; }
.svc-body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 22px 26px 26px;
  background: #f7f9fb;
}
.svc-body h3 { margin: 0 0 6px; font-size: 26px; }
.svc-body p { margin: 0; }
.plus {
  width: 42px; height: 42px; background: var(--navy); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 26px; line-height: 1;
}
.plus:hover { background: var(--cyan); }
.car-btn {
  position: absolute; top: 42%; width: 42px; height: 64px; border: 0; background: var(--navy); color: #fff;
  font-size: 22px; cursor: pointer; z-index: 2;
}
.car-btn:hover { background: var(--cyan); }
.car-btn.prev { left: 0; }
.car-btn.next { right: 0; }

.why { padding-bottom: 30px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 20px; margin-top: 10px; }
.why-item { text-align: center; padding: 10px 16px 20px; }
.why-item .icon {
  width: 74px; height: 74px; margin: 0 auto 14px; color: var(--cyan);
  display: flex; align-items: center; justify-content: center;
}
.why-item h3 { margin: 0; font-size: 22px; font-weight: 600; line-height: 1.35; }

.contact-band { background: var(--soft); }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.contact-grid h2 { font-size: 36px; margin: 8px 0 22px; }
.info-card {
  background: #fff; box-shadow: var(--shadow); padding: 18px 20px; margin-bottom: 16px;
  display: flex; gap: 14px; align-items: flex-start;
}
.info-card svg { width: 26px; height: 26px; stroke: var(--cyan); fill: none; flex: 0 0 auto; margin-top: 4px; }
.info-card h3 { margin: 0; font-size: 18px; }
.info-card p, .info-card a { margin: 2px 0 0; color: #8b95a1; font-size: 14px; }
.form-card h2 { margin-top: 0; }
.form-card form { display: grid; gap: 14px; }
.form-card input, .form-card select, .form-card textarea {
  width: 100%; border: 1px solid #e6ebf0; background: #fff; padding: 14px 16px; font-size: 15px; color: var(--heading); outline: none;
}
.form-card textarea { min-height: 110px; resize: vertical; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { border-color: var(--cyan); }
.form-note { min-height: 22px; color: #1a8f4a; margin: 0; }
.page-hero {
  background:
    linear-gradient(rgba(14, 34, 60, 0.72), rgba(14, 34, 60, 0.72)),
    url("../images/bg4.jpg") center 40% / cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 210px 0 78px;
}
.page-hero h1 { margin: 0 0 8px; font-size: 42px; font-weight: 600; color: #fff; }
.crumbs { color: rgba(255,255,255,0.9); font-size: 15px; }
.crumbs a:hover { color: var(--cyan); }
.crumbs .here { color: var(--cyan); }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.trio h3 { color: var(--cyan); letter-spacing: 0.4px; margin-bottom: 8px; }
.prose h2 { font-size: 32px; }
.prose p { margin-top: 0; }
.service-list { display: grid; gap: 28px; }
.service-block {
  display: grid; grid-template-columns: 320px 1fr; gap: 28px; align-items: center;
  background: #fff; box-shadow: var(--shadow); overflow: hidden;
}
.service-block img { width: 100%; height: 220px; object-fit: cover; }
.service-block div { padding: 8px 28px 8px 0; }
.service-block h2 { margin-bottom: 8px; }
.values { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.values li { background: var(--soft); color: var(--navy); padding: 8px 14px; font-weight: 500; }
.legal { padding: 70px 0 90px; }
.legal h1 { color: var(--heading); font-size: 36px; }
.legal h2 { margin-top: 32px; font-size: 24px; }
.legal h3 { margin-top: 22px; font-size: 18px; }
.legal li { margin: 6px 0; }
.site-footer { background: var(--navy); color: rgba(255,255,255,0.88); padding: 54px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 0.7fr 1.1fr; gap: 36px; align-items: start; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.footer-brand p { margin: 0; font-size: 14px; line-height: 1.75; color: rgba(255,255,255,0.88); }
.site-footer h4 { color: #fff; margin: 0 0 14px; font-size: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a:hover { color: var(--cyan); }
.disclaimer { margin: 28px 0 0; font-size: 13px; color: rgba(255,255,255,0.75); }
.footer-bottom {
  margin-top: 26px; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 16px 0 18px; font-size: 14px;
}
.footer-bottom a { margin-left: 16px; }
.cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: #111; color: #fff; display: flex; justify-content: space-between; gap: 16px; align-items: center;
  padding: 14px 22px; font-size: 14px;
}
.cookie a { color: var(--cyan); text-decoration: underline; }
.cookie button { background: #fff; color: #111; border: 0; padding: 8px 16px; cursor: pointer; }

@media (max-width: 980px) {
  .top-contacts { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .topbar { padding: 12px 16px; }
  .main-nav {
    display: none; flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--navy); padding: 8px 18px 16px; border: 0;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 0; }
  .hero { min-height: 620px; padding-top: 140px; }
  .hero h1 { font-size: 34px; }
  .split, .mission, .contact-grid, .service-block, .footer-grid, .trio, .why-grid { grid-template-columns: 1fr; }
  .footer-brand .logo img { width: 180px; }
  .svc-slide { padding: 0 48px; }
  .svc-card img, .split img { height: 240px; }
  .page-hero { padding-top: 150px; }
  .tab { min-width: 0; width: 100%; }
}
