:root {
  --navy: #122858;
  --navy-dark: #081b46;
  --blue: #2867b0;
  --text: #27334a;
  --muted: #5f697d;
  --line: #d9dee8;
  --soft-blue: #eef5fb;
  --soft-blue-2: #f7fafd;
  --white: #ffffff;
  --container: 1120px;
  --shadow: 0 10px 28px rgba(12, 37, 79, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  padding: 26px 0 10px;
}
.nav-wrap { display: flex; align-items: flex-start; justify-content: space-between; }
.brand { display: inline-flex; flex-direction: row; align-items: center; gap: 14px; color: var(--navy-dark); }
.brand-mark { height: 50px; width: auto; flex-shrink: 0; }
.brand-text { display: inline-flex; flex-direction: column; }
.brand-name {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(28px, 3vw, 43px);
  letter-spacing: .14em;
  line-height: 1;
}
.brand-subtitle { margin-top: 7px; font-size: 10px; letter-spacing: .25em; font-weight: 500; }
.main-nav { display: flex; gap: 42px; align-items: center; padding-top: 12px; }
.main-nav a { position: relative; font-size: 12px; font-weight: 600; color: #182237; padding-bottom: 18px; }
.main-nav a.active::after, .main-nav a:hover::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--blue);
}
.nav-toggle { display: none; border: 0; background: transparent; padding: 7px; }
.nav-toggle span { display: block; width: 25px; height: 2px; background: var(--navy); margin: 5px; }

.hero {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  background: linear-gradient(90deg, #fff 0%, #fbfdff 45%, #eaf3fa 100%);
}
.hero-image {
  position: absolute;
  inset: 0 0 0 34%;
  background-image: url("assets/hero-city.webp");
  background-repeat: no-repeat;
  background-position: 60% 50%;
  background-size: cover;
  filter: saturate(.65) brightness(1.32) contrast(.9);
  opacity: .9;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      #fff 0%,
      rgba(255,255,255,.99) 31%,
      rgba(255,255,255,.92) 42%,
      rgba(255,255,255,.60) 54%,
      rgba(255,255,255,.18) 69%,
      rgba(255,255,255,0) 84%),
    linear-gradient(180deg,
      rgba(255,255,255,.93) 0%,
      rgba(255,255,255,.35) 20%,
      rgba(255,255,255,0) 48%,
      rgba(255,255,255,.08) 76%,
      #fff 100%);
}
.hero::after {
  content: "";
  position: absolute;
  left: 37%; right: 0; bottom: 0;
  height: 190px;
  background: linear-gradient(180deg, rgba(255,255,255,0), #fff 88%);
}
.hero-inner { position: relative; z-index: 3; padding-top: 177px; }
.hero-copy { width: min(520px, 52vw); padding-bottom: 70px; }
.hero h1 {
  margin: 0;
  font-size: clamp(46px, 5.2vw, 62px);
  line-height: .98;
  letter-spacing: -.035em;
  font-weight: 700;
  color: var(--navy);
}
.title-rule, .section-rule { width: 58px; height: 2px; background: var(--blue); }
.title-rule { margin: 30px 0 27px; }
.hero p { max-width: 490px; margin: 0 0 38px; font-size: 16px; line-height: 1.65; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 158px; min-height: 47px;
  border-radius: 4px;
  font-size: 13px; font-weight: 600; letter-spacing: .07em;
  transition: transform .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.button-primary { color: #fff; background: linear-gradient(135deg, var(--navy-dark), var(--navy)); }

.section-white { background: var(--white); }
.focus { padding: 38px 0 50px; }
.section-heading { text-align: center; }
.section-heading h2 { margin: 0; color: var(--navy); font-size: 26px; line-height: 1.2; }
.section-heading .section-rule { margin: 18px auto 18px; }
.section-heading p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--text); }
.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 42px;
}
.focus-card { text-align: center; padding: 0 28px; min-height: 218px; }
.focus-card + .focus-card { border-left: 1px solid var(--line); }
.icon-circle {
  width: 100px; height: 100px; border-radius: 50%;
  margin: 0 auto 20px;
  display: grid; place-items: center;
  overflow: hidden;
  /* The icon PNGs carry their own circular background, so no disc here. */
  background: none;
}
/* Icon artwork is full-colour; this maps it onto the brand blue range so it
   reads as one family with the navy palette instead of fighting it.
   grayscale -> sepia gives a single-hue base, hue-rotate swings it to blue. */
.icon-circle img {
  width: 100px; height: 100px;
  object-fit: contain;
  filter: grayscale(1) sepia(1) hue-rotate(178deg) saturate(2.4) brightness(.96);
}
.focus-card h3, .support-item h3 { color: var(--navy); margin: 0 0 10px; font-size: 14px; }
.focus-card p { margin: 0; font-size: 13px; line-height: 1.72; }

.support {
  padding: 35px 0 40px;
  background:
    linear-gradient(90deg, rgba(238,245,251,.45), rgba(255,255,255,.7) 50%, rgba(238,245,251,.45)),
    var(--soft-blue-2);
}
.section-heading.compact h2 { font-size: 25px; }
.section-heading.compact .section-rule { margin-bottom: 28px; }
.support-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 44px; }
.support-item { display: grid; grid-template-columns: 92px 1fr; gap: 20px; align-items: center; padding: 0 22px; }
.support-item + .support-item { border-left: 1px solid var(--line); padding-left: 46px; }
.support-icon {
  width: 82px; height: 82px; border-radius: 50%;
  display: grid; place-items: center;
  overflow: hidden;
  /* Artwork carries its own circular background, matching .icon-circle. */
  background: none;
}
.support-icon img {
  width: 82px; height: 82px;
  object-fit: contain;
  filter: grayscale(1) sepia(1) hue-rotate(178deg) saturate(2.4) brightness(.96);
}
.support-item p { margin: 0; font-size: 13px; line-height: 1.65; }

.contact { padding: 40px 0 76px; }
.contact-inner { text-align: center; }
.contact h2 { margin: 0; color: var(--navy); font-size: 24px; }
.contact p { margin: 12px 0 18px; font-size: 14px; line-height: 1.55; }
.contact .button { min-height: 44px; min-width: 150px; }
.site-footer { margin-top: 0; min-height: 42px; display: grid; place-items: center; background: linear-gradient(90deg, #061941, #132f67, #061941); color: #fff; }
.site-footer p { margin: 0; font-size: 10px; }

/* =========================================================
   CONTACT PAGE
   Uses the same tokens, type scale and rules as the landing
   page. Added for contact.html only.
   ========================================================= */
.site-header--solid {
  position: relative;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.contact-page {
  padding: 54px 0 60px;
  background: linear-gradient(180deg, var(--soft-blue-2), #fff 55%);
}
.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.contact-aside h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(28px, 3.1vw, 38px);
  line-height: 1.12;
  letter-spacing: -.02em;
  font-weight: 700;
}
.contact-aside .title-rule { margin: 22px 0 20px; }
.contact-aside > p {
  margin: 0 0 30px;
  max-width: 42ch;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
}

.contact-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact-points li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; }
.cp-icon {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(145deg, #0f2a62, #071942);
}
.cp-icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cp-label { display: block; font-size: 10px; font-weight: 700; letter-spacing: .18em; color: var(--muted); }
.cp-value { display: block; margin-top: 3px; font-size: 14px; font-weight: 600; color: var(--navy); }

.contact-form-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 34px 34px 30px;
  box-shadow: var(--shadow);
}
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 10px; font-weight: 700; letter-spacing: .16em;
  color: var(--navy); margin-bottom: 8px;
}
.field label .optional { font-weight: 500; letter-spacing: .06em; color: var(--muted); text-transform: none; }
.field input,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input::placeholder,
.field textarea::placeholder { color: #9aa3b4; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(40, 103, 176, .12);
}
.field textarea { min-height: 132px; resize: vertical; }
.field-hint { margin-top: 7px; font-size: 11px; color: var(--muted); }

/* Phone input: separate country-code box + number box */
.phone-row { display: grid; grid-template-columns: 76px 1fr; gap: 8px; }
.phone-row .phone-code { text-align: center; font-weight: 600; }

.contact-form-panel .button { margin-top: 24px; }
.consent-note { margin: 14px 0 0; font-size: 11px; line-height: 1.6; color: var(--muted); }

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .contact-page { padding: 38px 0 46px; }
}
@media (max-width: 600px) {
  .field-grid { grid-template-columns: 1fr; }
  .contact-form-panel { padding: 24px 20px 22px; }
  .contact-aside h1 { font-size: 27px; }
}

@media (max-width: 900px) {
  .site-header { padding-top: 20px; }
  .main-nav { position: absolute; top: 76px; right: 24px; display: none; width: 220px; padding: 18px; background: rgba(255,255,255,.98); box-shadow: var(--shadow); flex-direction: column; gap: 8px; align-items: stretch; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 11px 8px; }
  .nav-toggle { display: block; }
  .hero { min-height: 620px; }
  .hero-image { inset-left: 20%; background-position: 65% 74%; }
  .hero-overlay { background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.96) 48%, rgba(255,255,255,.45) 75%, rgba(255,255,255,.1)); }
  .hero-copy { width: min(560px, 76vw); }
  .focus-grid { grid-template-columns: repeat(2, 1fr); row-gap: 38px; }
  .focus-card:nth-child(3) { border-left: 0; }
  .support-grid { grid-template-columns: 1fr; }
  .support-item + .support-item { border-left: 0; border-top: 1px solid var(--line); padding: 30px 22px 0; }
}

@media (max-width: 600px) {
  .container { width: min(calc(100% - 34px), var(--container)); }
  .brand-name { font-size: 30px; }
  .brand-subtitle { font-size: 8px; }
  .brand-mark { height: 38px; }
  .brand { gap: 10px; }
  .hero { min-height: 690px; }
  .hero-image { inset: 35% 0 0 0; background-position: 58% 72%; opacity: .55; }
  .hero-overlay {
    background:
      linear-gradient(180deg, #fff 0%, rgba(255,255,255,.99) 48%, rgba(255,255,255,.6) 73%, #fff 100%),
      linear-gradient(90deg, rgba(255,255,255,.95), rgba(255,255,255,.35));
  }
  .hero::after { left: 0; height: 170px; }
  .hero-inner { padding-top: 145px; }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: 46px; }
  .hero p { font-size: 14px; }
  .focus { padding-top: 28px; }
  .section-heading p br, .contact p br { display: none; }
  .focus-grid { grid-template-columns: 1fr; }
  .focus-card { padding: 0 24px 30px; }
  .focus-card + .focus-card { border-left: 0; border-top: 1px solid var(--line); padding-top: 30px; }
  .support-item { grid-template-columns: 1fr; text-align: center; }
  .support-icon { margin-inline: auto; }
  .contact h2 { font-size: 22px; }
}
