* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font: 16px/1.65 Arial, sans-serif;
  color: #243447;
  background: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

.wrap {
  width: min(92%, 1180px);
  margin: auto;
}


/* =========================
   HEADER
========================= */

header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid #e4e9ef;
  z-index: 10;
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.logo {
  width: 275px;
  margin-right: auto;
}

.links {
  display: flex;
  gap: 24px;
  font-weight: 700;
  color: #0c2442;
}

.links a:hover {
  color: #9a7413;
}

.btn {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 10px;
  font-weight: 800;
  background: linear-gradient(135deg,#d4af37,#f4d06f);
  color: #071f3f;
  box-shadow: 0 10px 24px rgba(212,175,55,.22);
}

.nav-quote {
  white-space: nowrap;
}


/* =========================
   HERO
========================= */

.hero {
  position: relative;
  overflow: hidden;
}

.hero-photo {
  min-height: 690px;
  background-image: url('/IMAGES/nz-document-assist-hero.webp');
  background-size: cover;
  background-position: center 38%;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

/*
  Lighter overlay than before.
  The photograph remains clearly visible while
  the left-side text stays readable.
*/
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,.68) 0%,
    rgba(255,255,255,.50) 30%,
    rgba(255,255,255,.22) 52%,
    rgba(255,255,255,.04) 72%,
    rgba(255,255,255,0) 100%
  );
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}

.hero-copy-block {
  max-width: 700px;
  padding: 72px 0;
}

.eyebrow {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: #0b2d5b;
  font-size: 14px;
}

.eyebrow:before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 3px;
  background: #d4af37;
  vertical-align: middle;
  margin-right: 10px;
}

h1 {
  font-size: clamp(46px,5vw,72px);
  line-height: 1.02;
  letter-spacing: -.035em;
  color: #071f3f;
  margin: 16px 0 22px;
  text-shadow:
    0 1px 2px rgba(255,255,255,.65),
    0 0 12px rgba(255,255,255,.25);
}

.lead {
  font-size: 19px;
  color: #344b65;
  max-width: 700px;
  text-shadow: 0 1px 2px rgba(255,255,255,.7);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn-light {
  background: rgba(255,255,255,.90);
  border: 1px solid #c7d0da;
  box-shadow: none;
}

.hero-trust {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 28px;
  color: #0b2d5b;
  font-weight: 700;
  font-size: 14px;
}

.hero-trust span:before {
  content: "✓";
  color: #b08616;
  margin-right: 7px;
}


/* =========================
   HERO SERVICE PANEL
========================= */

.panel {
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(223,228,235,.90);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 18px 50px rgba(7,31,63,.16);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.hero-panel {
  margin-left: auto;
  width: 100%;
  max-width: 400px;
}

.panel h2 {
  margin: 0;
  color: #071f3f;
  font-size: 29px;
  line-height: 1.25;
}

.panel p {
  margin: 8px 0 18px;
  color: #53667c;
}

.panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 16px;
  margin: 10px 0;
  background: rgba(246,248,251,.90);
  border: 1px solid rgba(225,230,237,.90);
  border-radius: 11px;
  font-weight: 800;
  color: #0b2547;
}

.panel a:hover {
  border-color: #d4af37;
  background: rgba(255,255,255,.96);
}


/* =========================
   SERVICES
========================= */

.section {
  padding: 78px 0;
}

.soft {
  background: #f6f8fb;
}

.center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 38px;
}

.center h2 {
  color: #071f3f;
  font-size: 34px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}

.card {
  background: #fff;
  border: 1px solid #e4e9ef;
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 12px 35px rgba(7,31,63,.06);
}

.card h3 {
  color: #071f3f;
}

.card p {
  color: #566678;
}

.card a {
  color: #8f6b0d;
}

.notice {
  background: #071f3f;
  color: #fff;
  padding: 28px;
  border-radius: 16px;
  margin-top: 30px;
}


/* =========================
   FOOTER
========================= */

footer {
  background: #06182f;
  color: #cbd6e4;
  padding: 32px 0;
}

.foot {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 25px;
}

.foot img {
  width: 230px;
}

.foot a {
  display: block;
  margin: 6px 0;
}


/* =========================
   TABLET
========================= */

@media (max-width:950px) {

  .links {
    display: none;
  }

  .hero-photo {
    min-height: auto;
    background-position: 62% center;
  }

  .hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(255,255,255,.86) 0%,
      rgba(255,255,255,.70) 55%,
      rgba(255,255,255,.30) 100%
    );
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-copy-block {
    padding: 64px 0 10px;
  }

  .hero-panel {
    margin: 0 0 56px;
    max-width: 600px;
  }

  .cards,
  .foot {
    grid-template-columns: 1fr 1fr;
  }

  .logo {
    width: 220px;
  }
}


/* =========================
   MOBILE
========================= */

@media (max-width:620px) {

  .nav {
    min-height: 72px;
  }

  .nav-quote {
    display: none;
  }

  .hero-photo {
    background-position: 65% center;
  }

  .hero-overlay {
    background: rgba(255,255,255,.78);
  }

  h1 {
    font-size: 43px;
  }

  .lead {
    font-size: 17px;
  }

  .hero-copy-block {
    padding-top: 48px;
  }

  .hero-panel {
    margin-bottom: 40px;
  }

  .cards,
  .foot {
    grid-template-columns: 1fr;
  }

  .hero-trust {
    gap: 12px;
  }

  .logo {
    width: 205px;
  }
}
/* ===== MOBILE SITE COMPACT LAYOUT ===== */

@media (max-width: 900px) {

  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .wrap {
    width: min(100% - 28px, 1180px);
  }

  header .nav {
    min-height: 72px;
    padding: 8px 0;
  }

  header .logo {
    width: 185px !important;
    max-width: 52vw;
  }

  .hero {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(38px, 10vw, 58px) !important;
    line-height: 1.04 !important;
    letter-spacing: -1px;
  }

  .hero p,
  .page-hero p,
  .lead {
    font-size: 20px !important;
    line-height: 1.55 !important;
  }

  main p,
  main li {
    line-height: 1.65;
  }

  section {
    scroll-margin-top: 90px;
  }

  .btn {
    padding: 14px 20px !important;
  }


  /* ===== MOBILE FOOTER: TWO COLUMNS ===== */

  footer .foot {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 28px 24px !important;
    align-items: start !important;
  }

  footer .foot > div:first-child {
    grid-column: 1 / -1 !important;
    min-width: 0 !important;
  }

  footer .foot img.footer-logo {
    width: 280px !important;
    max-width: 78vw !important;
    height: auto !important;
  }

  footer .foot > div:nth-child(2),
  footer .foot > div:nth-child(3) {
    width: 100% !important;
  }

  footer .foot h3,
  footer .foot strong {
    margin-top: 0;
  }

  footer .foot a {
    display: block;
    margin-bottom: 10px;
  }

}


/* ===== SMALL PHONES ===== */

@media (max-width: 520px) {

  .wrap {
    width: min(100% - 22px, 1180px);
  }

  header .logo {
    width: 170px !important;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(34px, 9.5vw, 48px) !important;
  }

  .hero p,
  .page-hero p,
  .lead {
    font-size: 18px !important;
  }

  footer .foot {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px 18px !important;
  }

  footer .foot img.footer-logo {
    width: 250px !important;
  }

}
