:root {
  --navy: #091744;
  --navy-soft: #122056;
  --orange: #ed7924;
  --orange-dark: #d06616;
  --ink: #12141c;
  --muted: #5b6172;
  --line: #d8dbe3;
  --paper: #f4f2ec;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(9, 23, 68, 0.12);
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: var(--navy); }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
}
.brand-word { height: 44px; width: auto; }
.brand-mark { display: none; height: 42px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
}
.nav-links a:hover, .nav-links a.active { color: var(--orange); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 0;
  cursor: pointer;
}
.btn:hover { background: var(--orange-dark); }
.btn-navy { background: var(--navy); }
.btn-navy:hover { background: var(--navy-soft); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.45);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.menu-btn {
  display: none;
  background: none;
  border: 0;
  font-size: 26px;
  color: var(--navy);
}

/* Hero */
.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: end;
  background: var(--navy) center/cover no-repeat;
  color: var(--white);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9,23,68,0.28) 0%, rgba(9,23,68,0.78) 100%);
}
.hero-inner { position: relative; z-index: 1; padding: 80px 0 64px; }
.kicker {
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 12px;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05;
  margin: 0 0 16px;
  max-width: 16ch;
}
.hero p { max-width: 42ch; font-size: 18px; color: rgba(255,255,255,0.88); }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

/* Sections */
.section { padding: 84px 0; }
.section.alt { background: var(--paper); }
.section h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--navy);
}
.lead { color: var(--muted); max-width: 62ch; margin: 0 0 36px; font-size: 17px; }
.grid-3, .grid-2, .grid-4 {
  display: grid;
  gap: 22px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.card img { width: 100%; height: 190px; object-fit: cover; }
.card-body { padding: 22px; }
.card h3 { margin: 0 0 8px; color: var(--navy); font-size: 20px; }
.card p { margin: 0; color: var(--muted); }
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}

.steps { counter-reset: step; display: grid; gap: 18px; }
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
}
.step h3 { margin: 4px 0 6px; color: var(--navy); }
.step p { margin: 0; color: var(--muted); }

.photo-break {
  min-height: 360px;
  background: center/cover no-repeat;
  position: relative;
}
.photo-break::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(9,23,68,0.45);
}
.photo-break .wrap {
  position: relative;
  z-index: 1;
  color: white;
  padding: 80px 0;
}
.photo-break h2 { color: white; }

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.split img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius); }

form {
  display: grid;
  gap: 14px;
  background: white;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
label { font-size: 13px; font-weight: 600; color: var(--navy); }
input, select, textarea {
  width: 100%;
  padding: 12px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin-top: 6px; }
.checks label { font-weight: 500; color: var(--ink); display: flex; gap: 8px; align-items: center; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.note { font-size: 13px; color: var(--muted); }
.contact-aside {
  background: var(--navy);
  color: white;
  padding: 32px;
  border-radius: var(--radius);
}
.contact-aside h2 { color: white; }
.contact-aside a { color: var(--orange); }

footer {
  background: var(--navy);
  color: rgba(255,255,255,0.82);
  padding: 48px 0 24px;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
footer h4 { color: white; margin: 0 0 12px; }
footer a { color: rgba(255,255,255,0.82); text-decoration: none; }
footer a:hover { color: var(--orange); }
.legal { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 28px; padding-top: 16px; font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.page-hero {
  background: var(--navy);
  color: white;
  padding: 64px 0 48px;
}
.page-hero h1 { margin: 0 0 10px; font-size: clamp(32px, 5vw, 48px); }
.page-hero p { margin: 0; max-width: 60ch; color: rgba(255,255,255,0.82); }

@media (max-width: 900px) {
  .grid-3, .grid-4, .grid-2, .split, .foot-grid, .form-row, .checks { grid-template-columns: 1fr; }
  .menu-btn { display: block; }
  .brand-word { display: none; }
  .brand-mark { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px 24px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
}
