:root {
  /* Brand colours sampled from images/logo.png. */
  --navy-900: #042551;
  --navy-800: #06285a;
  --navy-700: #082b65;
  --silver: #b4b6ba;
  --silver-light: #d5d7da;
  --steel: #606774;
  --ink: #1a2333;
  --muted: #5b6678;
  --line: #e2e6ec;
  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --radius: 10px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

img, svg { max-width: 100%; }

a { color: inherit; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: .8em;
}

.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }

/* Buttons */
.btn {
  display: inline-block;
  padding: .8em 1.4em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--navy-800); color: #fff; }
.btn-primary:hover { background: var(--navy-700); }
/* On navy sections the primary button flips to silver. */
.cta .btn-primary { background: var(--silver-light); color: var(--navy-900); }
.cta .btn-primary:hover { background: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-outline { border-color: var(--navy-800); color: var(--navy-800); }
.btn-outline:hover { background: var(--navy-800); color: #fff; }

/* Header */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: #fff;
  color: var(--navy-900);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  line-height: 1.15;
}
.brand img { height: 56px; width: auto; flex: none; }
.brand small { display: block; font-weight: 600; font-size: .68rem; color: var(--steel); letter-spacing: .14em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: .5em .8em;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  opacity: .85;
}
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; background: var(--bg-soft); }
.nav .btn { opacity: 1; margin-left: 8px; padding: .55em 1em; }
.nav .btn:hover { background: var(--navy-700); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  color: var(--navy-900);
  cursor: pointer;
}
.nav-toggle svg { width: 26px; height: 26px; display: block; }

/* Hero */
.hero {
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(195, 201, 209, .2), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: #fff;
  padding: 88px 0 96px;
}
.hero .lead { color: rgba(255, 255, 255, .78); }
.hero .eyebrow { color: var(--silver); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.page-hero { padding: 64px 0; }

/* Photo slider (home) */
.slider { background: var(--navy-900); }
.slides {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  aspect-ratio: 1150 / 765;
  overflow: hidden;
}
.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .6s;
}
.slide.active { opacity: 1; }
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(4, 37, 81, .7);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}
.slider-arrow:hover { background: var(--navy-900); }
.slider-arrow.prev { left: 12px; }
.slider-arrow.next { right: 12px; }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 10px; }
.slider-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.slider-dots button[aria-current="true"] { background: #fff; }
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } }

/* Home hero: white, with the full logo beside the headline. */
.hero-home {
  background: linear-gradient(180deg, #fff, var(--bg-soft));
  color: var(--navy-900);
  padding: 72px 0 80px;
}
.hero-home .wrap { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 48px; }
.hero-home .lead { color: var(--muted); }
.hero-home .eyebrow { color: var(--steel); }
.hero-home .hero-logo { width: 100%; max-width: 380px; height: auto; justify-self: center; }

/* Trust strip */
.trust { background: var(--navy-800); color: #fff; }
.trust ul {
  list-style: none;
  margin: 0;
  padding: 22px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.trust li { font-size: .95rem; opacity: .9; padding-left: 26px; position: relative; }
.trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--silver);
  border-bottom: 3px solid var(--silver);
  transform: rotate(-45deg);
}

/* Sections */
.section { padding: 80px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { margin-bottom: 40px; }

.grid { display: grid; gap: 22px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.card p { color: var(--muted); margin-bottom: 0; }
.card .more { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--steel); text-decoration: none; }
.card .more:hover { text-decoration: underline; }
.card-num {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: var(--navy-800);
  color: var(--silver);
  font-weight: 800;
}

.tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.tags li {
  padding: .45em 1em;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-weight: 600;
  font-size: .95rem;
}

/* Service detail rows */
.service {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 44px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 90px;
}
.service:first-of-type { border-top: 0; padding-top: 0; }
.service ul { margin: 0; padding-left: 1.1em; color: var(--muted); }
.service li { margin-bottom: .4em; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; padding: 0 0 22px 56px; position: relative; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--silver);
  color: var(--navy-900);
  font-weight: 800;
}
.steps strong { display: block; }
.steps span { color: var(--muted); }

/* CTA band */
.cta {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: #fff;
  padding: 64px 0;
}
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta h2 { margin-bottom: .2em; }
.cta p { margin: 0; opacity: .8; }

/* Form */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .75em .9em;
  border: 1px solid #c9d0da;
  border-radius: 8px;
  font: inherit;
  color: inherit;
  background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--navy-700);
  outline-offset: 1px;
  border-color: var(--navy-700);
}

.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .9rem; color: var(--muted); margin: 0; }
.form-status { margin: 0; padding: .8em 1em; border-radius: 8px; background: #fff6df; border: 1px solid #f0d48a; }
.form-status[hidden] { display: none; }

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list span { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-list span.plain { font-size: inherit; font-weight: 600; letter-spacing: 0; text-transform: none; color: inherit; }
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }

/* Footer */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .75); padding: 56px 0 24px; font-size: .95rem; }
.site-footer h3 { color: #fff; font-size: 1rem; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 32px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45em; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .legal {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .85rem;
  opacity: .7;
}

/* Sticky call bar (mobile only) */
.call-bar { display: none; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 20px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav .btn { margin: 8px 0 0; text-align: center; }

  .hero { padding: 64px 0 72px; }
  .hero-home { padding: 40px 0 56px; }
  .hero-home .wrap { grid-template-columns: 1fr; gap: 24px; }
  .hero-home .hero-logo { max-width: 220px; grid-row: 1; }
  .section { padding: 56px 0; }
  .trust ul { grid-template-columns: 1fr 1fr; }
  .grid.cols-3, .grid.cols-2, .service, .form .row, .site-footer .cols { grid-template-columns: 1fr; }
  .service { gap: 16px; padding: 32px 0; }
  .brand img { height: 46px; }

  body { padding-bottom: 60px; }
  .call-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
  }
  .call-bar a {
    padding: 16px 8px;
    text-align: center;
    text-decoration: none;
    font-weight: 800;
    background: var(--navy-800);
    color: #fff;
  }
  .call-bar a:last-child { background: var(--silver); color: var(--navy-900); }
}
