:root {
  --navy: #0d1b3d;
  --navy-2: #122952;
  --dusty: #5a77a5;
  --light-blue: #b7c6d9;
  --ivory: #faf8f3;
  --warm-white: #fffdfa;
  --sage: #a5b39b;
  --ink: #18233a;
  --muted: #657085;
  --line: rgba(13, 27, 61, 0.14);
  --shadow: 0 22px 60px rgba(13, 27, 61, 0.12);
  --radius: 18px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max-width)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 1000;
  padding: 10px 14px; background: white; color: var(--navy); border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 243, .93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { width: 280px; text-decoration: none; }
.primary-nav { display: flex; align-items: center; gap: 30px; }
.primary-nav a { text-decoration: none; color: var(--navy); font-size: .92rem; font-weight: 700; }
.primary-nav a:hover { color: var(--dusty); }
.nav-cta { padding: 11px 18px; border: 1px solid var(--navy); border-radius: 999px; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.menu-toggle span:not(.sr-only) { display: block; width: 26px; height: 2px; margin: 5px; background: var(--navy); }

.hero {
  min-height: 720px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 83% 25%, rgba(183,198,217,.58), transparent 26%),
    linear-gradient(135deg, var(--ivory) 0%, #f8f5ef 58%, #edf2f7 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 72px; padding-block: 90px; }
.eyebrow {
  margin: 0 0 15px;
  color: var(--dusty);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}
h1, h2, h3 {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.12;
}
h1 { margin: 0 0 25px; font-size: clamp(3.2rem, 7vw, 6.4rem); letter-spacing: -.045em; }
h2 { margin: 0 0 20px; font-size: clamp(2.3rem, 4.7vw, 4rem); letter-spacing: -.03em; }
h3 { margin: 0 0 12px; font-size: 1.55rem; }
.hero-text { max-width: 670px; margin: 0 0 32px; color: var(--muted); font-size: 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 12px 22px;
  border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; font-weight: 800; cursor: pointer;
}
.button-primary { background: var(--navy); color: white; }
.button-primary:hover { background: var(--navy-2); transform: translateY(-1px); }
.button-secondary { border-color: var(--navy); color: var(--navy); background: transparent; }
.button-secondary:hover { background: rgba(13,27,61,.05); }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-row span {
  padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255,255,255,.55); color: var(--navy); font-size: .78rem; font-weight: 700;
}
.hero-card {
  width: min(100%, 455px); aspect-ratio: .88; justify-self: end;
  padding: 22px; border: 1px solid rgba(255,255,255,.8); border-radius: 40% 40% 14% 14%;
  background: linear-gradient(160deg, rgba(255,255,255,.84), rgba(255,255,255,.34));
  box-shadow: var(--shadow); transform: none;
}
.hero-card-inner {
  height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 13px; border: 1px solid rgba(90,119,165,.25); border-radius: inherit;
}
.hero-card img { width: 70%; margin-bottom: 18px; }
.hero-card p {
  margin: 0; color: var(--navy); font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem; letter-spacing: .06em;
}

.section { padding-block: 105px; }
.section-heading { max-width: 720px; margin-bottom: 48px; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.05rem; }
.centered { margin-inline: auto; text-align: center; }

.services-section { background: var(--warm-white); }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card {
  position: relative; min-height: 290px; padding: 34px 28px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--ivory); transition: .25s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-number {
  display: inline-grid; place-items: center; width: 42px; height: 42px;
  margin-bottom: 44px; border-radius: 50%; background: #e8eef6; color: var(--navy);
  font-weight: 800;
}
.service-card p { color: var(--muted); }

.about-section {
  background:
    linear-gradient(90deg, rgba(183,198,217,.22) 0 38%, transparent 38%),
    var(--ivory);
}
.about-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; align-items: center; }
.about-mark {
  min-height: 500px; display: grid; place-items: center;
  border-radius: 48% 48% 18% 18%; background: rgba(255,255,255,.72); box-shadow: var(--shadow);
}
.about-mark img { width: 74%; }
.about-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.06rem; }
.credential-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 35px; }
.credential-list div { padding: 18px; border-top: 1px solid var(--dusty); }
.credential-list strong { display: block; color: var(--navy); font: 2rem Georgia, serif; }
.credential-list span { display: block; color: var(--muted); font-size: .84rem; }

.process-section { background: var(--warm-white); }
.process-list { max-width: 920px; margin: 0 auto; padding: 0; list-style: none; }
.process-list li {
  display: grid; grid-template-columns: 80px 1fr; gap: 30px;
  padding: 34px 0; border-top: 1px solid var(--line);
}
.process-list li:last-child { border-bottom: 1px solid var(--line); }
.process-list > li > span {
  display: grid; place-items: center; align-self: start; width: 58px; height: 58px;
  border-radius: 50%; background: var(--navy); color: white; font-weight: 800;
}
.process-list p { margin: 0; color: var(--muted); }

.quote-section { padding: 58px 0; background: var(--navy); color: white; }
.quote-inner p {
  margin: 0; text-align: center; font: italic clamp(1.7rem, 4vw, 3rem) Georgia, serif;
  color: var(--light-blue);
}

.contact-section { background: linear-gradient(135deg, #f7f3ec, #eaf0f6); }
.contact-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 85px; align-items: start; }
.contact-grid > div > p:not(.eyebrow) { color: var(--muted); font-size: 1.06rem; }
.contact-details { display: grid; gap: 9px; margin-top: 30px; }
.contact-details a { color: var(--navy); font-weight: 800; text-decoration: none; }
.contact-details span { color: var(--muted); }
.contact-card {
  display: grid; gap: 17px; padding: 30px; border: 1px solid rgba(255,255,255,.85);
  border-radius: var(--radius); background: rgba(255,255,255,.76); box-shadow: var(--shadow);
}
.contact-card label { display: grid; gap: 7px; color: var(--navy); font-size: .84rem; font-weight: 800; }
.contact-card input, .contact-card textarea {
  width: 100%; border: 1px solid rgba(13,27,61,.2); border-radius: 10px;
  padding: 12px 13px; color: var(--ink); background: white;
}
.contact-card input:focus, .contact-card textarea:focus {
  outline: 3px solid rgba(90,119,165,.22); border-color: var(--dusty);
}
.form-note { margin: -3px 0 0; color: var(--muted); font-size: .72rem; }

.site-footer { padding: 45px 0; background: var(--navy); color: var(--light-blue); }
.footer-grid { display: grid; grid-template-columns: 280px 1fr auto; gap: 40px; align-items: center; }
.site-footer img { width: 260px; }
.site-footer p { margin: 3px 0; font-size: .82rem; }
.fine-print { max-width: 570px; opacity: .72; }

@media (max-width: 980px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-card { justify-self: center; max-width: 420px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .about-section { background: var(--ivory); }
  .about-mark { min-height: 390px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .site-footer img { margin-inline: auto; }
}

@media (max-width: 760px) {
  .brand { width: 225px; }
  .menu-toggle { display: block; }
  .primary-nav {
    display: none; position: absolute; left: 0; right: 0; top: 82px;
    padding: 22px 20px 28px; flex-direction: column; align-items: stretch;
    background: var(--ivory); border-bottom: 1px solid var(--line);
  }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 10px 0; }
  .nav-cta { text-align: center; }
  .hero { min-height: auto; }
  .hero-grid { padding-block: 70px; gap: 45px; }
  .hero-card { display: none; }
  .section { padding-block: 78px; }
  .card-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .credential-list { grid-template-columns: 1fr; }
  .process-list li { grid-template-columns: 58px 1fr; gap: 18px; }
  .contact-grid { gap: 45px; }
}

@media (max-width: 480px) {
  .container { width: min(calc(100% - 28px), var(--max-width)); }
  h1 { font-size: 3.35rem; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .trust-row { display: grid; }
  .trust-row span { text-align: center; }
}

/* Approved logo artwork: retain native proportions at every breakpoint. */
.brand {
  width: 225px;
  height: 68px;
  display: flex;
  align-items: center;
}
.brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}
.hero-card img,
.about-mark img {
  display: block;
  width: auto;
  height: auto;
  max-width: 78%;
  object-fit: contain;
}
.site-footer img {
  display: block;
  width: 255px;
  height: auto;
  object-fit: contain;
  padding: 9px;
  border-radius: 9px;
}
@media (max-width: 760px) {
  .brand {
    width: 190px;
    height: 58px;
  }
}

/* Landing-page logo card alignment correction */
.hero-card {
  transform: none !important;
}
.hero-card-inner {
  transform: none !important;
}
