:root {
  --navy: #24348f;
  --navy-2: #1a2a78;
  --blue: #3d6fe8;
  --green: #6fbf3a;
  --ink: #24348f;
  --muted: #4d5d89;
  --paper: #f3f7f4;
  --foot: #e7eef6;
  --line: #d5deee;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: #243048;
  background: #fff;
  font-family: "Plus Jakarta Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 0.85rem; }
h1, h2, h3 { margin: 0; letter-spacing: -0.035em; line-height: 1.02; font-weight: 700; }
.wrap { width: min(1140px, calc(100% - 40px)); margin: 0 auto; }

.navpill {
  position: fixed;
  z-index: 30;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1140px, calc(100% - 28px));
  min-height: 68px;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(26, 42, 120, 0.12);
}
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand img { width: auto; height: 54px; object-fit: contain; background: transparent; }
.logo-name { display: block; font-size: 14px; font-weight: 700; color: var(--navy); line-height: 1.1; }
.logo-sub { display: block; margin-top: 2px; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger { display: none; border: 1px solid var(--navy); color: var(--navy); border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 700; }
.nav { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav a {
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
  padding: 8px 11px;
  border-radius: 999px;
  transition: color 0.35s ease, background 0.35s ease;
}
.nav a:hover { color: var(--blue); }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }

.hero { position: relative; min-height: 100vh; color: #fff; display: grid; align-items: end; overflow: hidden; }
.slides, .slides img, .shade { position: absolute; inset: 0; }
.slides img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  animation: show 32s infinite, drift 24s ease-in-out infinite alternate;
}
.slides img:nth-child(1) { animation-delay: 0s, 0s; }
.slides img:nth-child(2) { animation-delay: 8s, -6s; }
.slides img:nth-child(3) { animation-delay: 16s, -12s; }
.slides img:nth-child(4) { animation-delay: 24s, -18s; }
.shade { background: linear-gradient(90deg, rgba(10, 22, 70, 0.55) 0%, rgba(10, 22, 70, 0.12) 55%, rgba(10, 22, 70, 0.05) 100%); }
.hero-copy { position: relative; z-index: 1; width: min(1140px, calc(100% - 48px)); margin: 0 auto 12vh; animation: up 1s cubic-bezier(.22,.7,.3,1) both; }
.kicker { color: #fff; letter-spacing: 0.16em; text-transform: uppercase; font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.hero h1 { font-size: clamp(48px, 6.4vw, 84px); max-width: 11ch; font-weight: 800; }
.hero .lead { max-width: 460px; margin-top: 16px; font-size: 17px; color: rgba(255,255,255,0.92); }
.hero-actions { display: flex; gap: 12px; margin-top: 26px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; border: 1.5px solid #fff; color: #fff; background: transparent;
  padding: 12px 20px; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer;
  transition: background 0.35s ease, color 0.35s ease, transform 0.35s ease;
}
.btn:hover { background: #fff; color: var(--navy); transform: translateY(-1px); }
.btn-green { background: var(--green); border-color: var(--green); color: #12300a; }
.btn-green:hover { background: #fff; border-color: #fff; color: var(--navy); }
.btn-navy { border-color: var(--navy); color: var(--navy); }
.btn-navy:hover { background: var(--navy); color: #fff; }

.band { background: var(--navy); color: #fff; padding: 92px 0; }
.band h2 { font-size: clamp(40px, 5.4vw, 72px); max-width: 20ch; }
.band h2 em { color: var(--green); font-style: normal; }
.band p { max-width: 640px; margin-top: 18px; font-size: 18px; color: rgba(255,255,255,0.88); }

.section { padding: 84px 0; background: var(--paper); }
.section h2 { font-size: clamp(34px, 4.4vw, 56px); color: var(--navy); max-width: 18ch; }
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.shot {
  position: relative; min-height: 430px; border-radius: 16px; overflow: hidden;
  color: #fff; border: 1px solid #b7e3a4;
  transition: transform 0.5s cubic-bezier(.22,.7,.3,1);
}
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s ease; }
.shot:hover { transform: translateY(-6px); }
.shot:hover img { transform: scale(1.06); }
.shot div { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; background: linear-gradient(transparent, rgba(8, 16, 40, 0.72)); }
.shot h3 { font-size: 28px; margin-bottom: 6px; }
.shot p { margin: 0; font-size: 14px; color: rgba(255,255,255,0.9); }

.nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 32px; }
.num b { display: block; font-size: clamp(36px, 4vw, 54px); color: var(--navy); letter-spacing: -0.04em; }
.num span { color: var(--muted); }

.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.cert { background: #fff; border-radius: 16px; padding: 18px; display: flex; gap: 14px; align-items: center; box-shadow: 0 8px 24px rgba(36, 52, 143, 0.06); }
.cert img { width: 62px; height: auto; }
.cert b { color: var(--navy); }

.page-hero {
  position: relative; min-height: 68vh; color: #fff;
  display: grid; align-items: end; overflow: hidden;
  background: #123 center/cover no-repeat;
}
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16, 32, 96, 0.78), rgba(16, 32, 96, 0.15) 70%); }
.page-hero .wrap { position: relative; z-index: 1; padding: 150px 0 64px; }
.slash { color: #d7e4ff; letter-spacing: 0.18em; font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.page-hero h1 { font-size: clamp(52px, 7vw, 92px); }
.page-hero h1 span { color: #8eb0ff; }
.page-hero p { max-width: 460px; margin-top: 12px; font-size: 18px; }

.block { padding: 72px 0; }
.block h2 { color: var(--navy); font-size: clamp(32px, 4vw, 48px); margin-bottom: 14px; }
.lead-wide { max-width: 760px; font-size: 17px; color: #3d4d6e; }
.two { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 18px; }
.panel { border-radius: 22px; overflow: hidden; min-height: 360px; }
.panel img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.blue-card { background: var(--navy); color: #fff; border-radius: 22px; padding: 36px; }
.blue-card h3 { font-size: 32px; margin-bottom: 12px; }
.mission { margin: 0; padding: 0; list-style: none; }
.mission li { border-top: 1px solid rgba(255,255,255,0.2); padding: 14px 0; }
.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 22px 0; }
.spec { background: var(--paper); border-radius: 16px; padding: 18px; }
.spec b { display: block; color: var(--navy); font-size: 26px; }
.spec span { color: var(--muted); font-size: 14px; }
.gallery { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; margin-top: 22px; }
.gallery img { width: 100%; height: 230px; object-fit: cover; border-radius: 16px; }
.gallery .wide { grid-column: 1 / -1; }
.gallery .wide img { height: 420px; }
.caption { color: var(--muted); font-size: 13px; margin-top: 6px; }

.info { background: #f4f7fb; border-radius: 22px; padding: 26px 28px; margin-top: 18px; }
.info h3 { color: var(--green); font-size: 18px; margin-bottom: 12px; }
.row { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--navy); }
label { display: block; margin: 14px 0 6px; color: var(--navy); font-weight: 700; font-size: 14px; }
input, textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent;
  padding: 10px 0; font: inherit; color: var(--navy);
}
input:focus, textarea:focus { outline: none; border-bottom-color: var(--blue); }
.map { width: 100%; height: 380px; border: 0; border-radius: 22px; margin-top: 18px; }
.contact-page { padding: 130px 0 70px; }

.site-footer { background: var(--foot); color: var(--navy); padding: 48px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 220px 1fr 1fr; gap: 24px; }
.site-footer h3 { font-size: 16px; letter-spacing: 0.04em; margin-bottom: 8px; }
.site-footer a { color: var(--navy); }
.tag { color: var(--green); font-weight: 700; margin-top: 18px; }
.fine { margin-top: 22px; font-size: 13px; color: #60709a; }

.rise { animation: up linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }

@keyframes show {
  0% { opacity: 1; }
  22% { opacity: 1; }
  30% { opacity: 0; }
  92% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes drift {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
@keyframes up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .nav-burger { display: inline-block; }
  .navpill { flex-wrap: wrap; border-radius: 24px; }
  .nav {
    display: none; flex-basis: 100%; flex-direction: column;
    background: #fff; border-radius: 16px; padding: 8px;
  }
  .nav-toggle:checked ~ .nav { display: flex; }
  .shots, .nums, .certs, .two, .specs, .gallery, .foot-grid, .row { grid-template-columns: 1fr; }
  .gallery .wide { grid-column: auto; }
  .gallery img, .gallery .wide img { height: 220px; }
  .shot { min-height: 280px; }
}
@media (prefers-reduced-motion: reduce) {
  .slides img, .shot, .shot img, .btn, .rise { animation: none; transition: none; }
  .slides img:first-child { opacity: 1; }
}
