:root {
  --navy: #004579;
  --navy-dark: #00335a;
  --grey: #b1b3b5;
  --ink: #1f2a35;
  --text: #4a5560;
  --line: #dfe5ea;
  --tint: #f3f6f9;
  --white: #ffffff;
  --radius: 10px;
  --wrap: 1140px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
h1, h2, h3 { font-family: "Montserrat", -apple-system, "Segoe UI", Arial, sans-serif; color: var(--ink); line-height: 1.2; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.25rem); margin-bottom: 16px; }
h3 { font-size: 1.15rem; margin-bottom: 8px; }
ul { list-style: none; }
p + p { margin-top: 14px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
section { padding: 76px 0; }
.tint { background: var(--tint); }
.eyebrow {
  font-family: "Montserrat", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 10px;
}
.lead { font-size: 1.1rem; max-width: 720px; }
.section-head { margin-bottom: 40px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.more { margin-top: 36px; }
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 6px;
  border: 2px solid var(--navy);
  background: var(--navy);
  color: var(--white);
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn:hover { background: var(--navy-dark); border-color: var(--navy-dark); }
.btn.ghost { background: transparent; color: var(--navy); }
.btn.ghost:hover { background: var(--navy); color: var(--white); }
.btn.light { background: var(--white); border-color: var(--white); color: var(--navy); }
.btn.light:hover { background: var(--tint); border-color: var(--tint); }
.btn.outline-light { background: transparent; border-color: var(--white); color: var(--white); }
.btn.outline-light:hover { background: var(--white); color: var(--navy); }
.link { font-family: "Montserrat", sans-serif; font-size: 0.92rem; font-weight: 600; text-decoration: none; }
.link::after { content: " \2192"; }
.link:hover { text-decoration: underline; }

/* Header */
header { position: sticky; top: 0; z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.logo img { height: 52px; width: auto; }
nav { display: flex; align-items: center; gap: 26px; }
nav a:not(.btn), .drop > a {
  font-family: "Montserrat", sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}
nav a:not(.btn):hover, nav a.active { color: var(--navy); }
nav a.active { font-weight: 700; }
nav .btn { padding: 10px 18px; font-size: 0.88rem; }
.drop { position: relative; }
.drop > a::after { content: ""; display: inline-block; margin-left: 7px; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.drop .sub {
  display: none;
  position: absolute; top: 100%; left: -18px;
  min-width: 270px;
  padding: 10px 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 12px 24px rgba(0, 51, 90, 0.12);
}
.drop:hover .sub, .drop:focus-within .sub { display: block; }
.drop .sub a { display: block; padding: 9px 18px; }
.drop .sub a:hover { background: var(--tint); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 6px; padding: 9px 11px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 4px 0; }

/* Home hero */
.hero {
  position: relative;
  min-height: min(calc(100vh - 76px), 700px);
  display: flex; align-items: center;
  padding: 80px 0 150px;
  background-size: cover; background-position: center;
  color: var(--white);
  overflow: hidden;
}
.hero::before, .banner::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0, 38, 68, 0.9) 0%, rgba(0, 38, 68, 0.7) 45%, rgba(0, 38, 68, 0.25) 100%);
}
.hero .wrap, .banner .wrap { position: relative; width: 100%; }
.hero h1 { font-size: clamp(2.1rem, 5.6vw, 3.8rem); font-weight: 700; color: var(--white); max-width: 780px; }
.hero .services-line { font-family: "Montserrat", sans-serif; font-size: clamp(1rem, 2.2vw, 1.3rem); font-weight: 600; color: #cfe1f1; margin: 18px 0 16px; }
.hero p.lead { max-width: 620px; color: #e7eef5; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.waves { position: absolute; left: 0; bottom: -1px; width: 100%; height: 110px; }

/* Inner page banner */
.banner {
  position: relative;
  padding: 96px 0 84px;
  background-size: cover; background-position: center;
  color: #e7eef5;
}
.banner h1 { font-size: clamp(2rem, 5vw, 3rem); color: var(--white); margin-bottom: 12px; max-width: 780px; }
.banner p { max-width: 640px; font-size: 1.1rem; }
.crumbs { font-size: 0.85rem; margin-bottom: 14px; color: #cfe1f1; }
.crumbs a { color: #cfe1f1; }

/* Stats */
.stats { background: var(--navy); color: var(--white); padding: 40px 0; }
.stats .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats strong { display: block; font-family: "Montserrat", sans-serif; font-size: 1.7rem; font-weight: 700; line-height: 1.2; }
.stats span { font-size: 0.92rem; color: #cfdce8; }

/* Layout helpers */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.top { align-items: start; }
.split .photo img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius); }
.split.flip .photo { order: 2; }
.row + .row { margin-top: 64px; }
.mission { margin-top: 22px; padding: 18px 22px; border-left: 4px solid var(--navy); background: var(--tint); border-radius: 0 var(--radius) var(--radius) 0; color: var(--ink); }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.values li { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); font-family: "Montserrat", sans-serif; font-size: 0.92rem; font-weight: 600; color: var(--navy); background: var(--white); text-align: center; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { color: var(--navy); }
.pcard { padding: 0; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: box-shadow 0.15s, transform 0.15s; }
a.pcard:hover { box-shadow: 0 14px 30px rgba(0, 51, 90, 0.14); transform: translateY(-3px); }
.pcard img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.pcard .body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.pcard .link { margin-top: auto; padding-top: 16px; color: var(--navy); }

.bullets { margin: 16px 0 20px; }
.bullets li { position: relative; padding: 6px 0 6px 22px; }
.bullets li::before { content: ""; position: absolute; left: 0; top: 16px; width: 8px; height: 8px; background: var(--navy); border-radius: 2px; }
.tag { font-family: "Montserrat", sans-serif; font-weight: 600; color: var(--navy); }
.ticks li { position: relative; padding: 7px 0 7px 28px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 14px; width: 12px; height: 6px; border-left: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(-45deg); }
.ticks strong { color: var(--ink); }
.also { margin-top: 26px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { padding-top: 18px; border-top: 3px solid var(--grey); }
.step .num { font-family: "Montserrat", sans-serif; font-size: 2rem; font-weight: 700; color: var(--navy); line-height: 1; margin-bottom: 12px; }

/* Navy bands */
.vision, .cta { background: var(--navy); color: #dbe6ef; }
.vision h2, .vision h3, .cta h2 { color: var(--white); }
.vision .eyebrow { color: #a9c6e0; }
.vision .ticks li::before { border-color: var(--white); }
.cta { text-align: center; padding: 64px 0; }
.cta p { max-width: 640px; margin: 0 auto; }
.cta .actions { justify-content: center; }

/* Contact */
.contact-cols { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.details { margin-top: 26px; }
.details li { padding: 12px 0; border-top: 1px solid var(--line); }
.details span { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); }
.details b { color: var(--ink); font-weight: 600; }
form { background: var(--tint); border-radius: var(--radius); padding: 30px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field.full { grid-column: 1 / -1; }
label, legend { display: block; font-size: 0.88rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
input[type="text"], input[type="tel"], input[type="email"], select, textarea { width: 100%; padding: 11px 13px; border: 1px solid #c9d2da; border-radius: 6px; background: var(--white); font: inherit; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--navy); outline-offset: 1px; }
textarea { min-height: 120px; resize: vertical; }
fieldset { border: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.checks label { display: flex; align-items: center; gap: 8px; font-weight: 400; color: var(--text); margin: 0; }
form .btn { margin-top: 20px; }
.form-note { margin-top: 14px; font-size: 0.92rem; color: var(--ink); }

/* Footer */
footer { background: var(--navy-dark); color: #b9cadb; padding: 52px 0 26px; font-size: 0.92rem; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
footer h4 { font-family: "Montserrat", sans-serif; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); margin-bottom: 12px; }
footer .name { font-family: "Montserrat", sans-serif; font-size: 1.2rem; color: var(--white); margin-bottom: 10px; }
footer .name strong { font-weight: 700; }
footer li { padding: 3px 0; }
footer a { color: #dbe6ef; text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .legal { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.85rem; }

@media (max-width: 960px) {
  .cards, .steps { grid-template-columns: 1fr 1fr; }
  .split, .contact-cols { grid-template-columns: 1fr; gap: 32px; }
  .split.flip .photo { order: 0; }
  .stats .grid, footer .cols { grid-template-columns: 1fr 1fr; }
  .menu-toggle { display: block; }
  nav { display: none; position: absolute; left: 0; right: 0; top: 76px; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; background: var(--white); border-bottom: 1px solid var(--line); max-height: calc(100vh - 76px); overflow-y: auto; }
  nav.open { display: flex; }
  nav a:not(.btn) { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .drop > a::after { display: none; }
  .drop .sub { display: block; position: static; min-width: 0; padding: 0; border: 0; box-shadow: none; }
  .drop .sub a { padding: 12px 0 12px 18px; }
  nav .btn { margin-top: 16px; text-align: center; }
}
@media (max-width: 620px) {
  section { padding: 56px 0; }
  .hero { padding: 56px 0 120px; }
  .banner { padding: 64px 0 56px; }
  .cards, .steps, .fields, footer .cols { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
  .logo img { height: 44px; }
  form { padding: 22px; }
}

/* Spam trap field, hidden from people */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note.ok { color: #1a6b3a; font-weight: 600; }
.form-note.err { color: #a12a2a; font-weight: 600; }
.details a { text-decoration: none; }
.details a:hover { text-decoration: underline; }
