/* ==========================================
   NILS BOULIANNE — LANDING PAGE
   WordPress Additional CSS
   ========================================== */

.nb-page {
  --navy: #07345f;
  --navy-dark: #052746;
  --teal: #4d8b80;
  --teal-dark: #276b62;
  --orange: #f4512a;
  --cream: #fbfaf6;
  --text: #182735;
  --muted: #52616d;
  --border: rgba(7, 52, 95, .16);
  --line: rgba(38, 91, 145, .12);

  margin: 0;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  background: var(--cream);
  overflow: hidden;
}

.nb-page * {
  box-sizing: border-box;
}

.nb-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}


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

.nb-hero {
  position: relative;
  padding: 65px 0 55px;
  background:
    linear-gradient(
      rgba(251, 250, 246, .50),
      rgba(251, 250, 246, .88)
    ),
    var(--cream);
}

/* Passport / guilloché-style watermark */

.nb-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .75;

  background:
    repeating-radial-gradient(
      ellipse at 4% 14%,
      transparent 0 13px,
      rgba(38, 91, 145, .18) 14px 15px,
      transparent 16px 25px
    ),
    repeating-radial-gradient(
      ellipse at 76% 20%,
      transparent 0 28px,
      rgba(38, 91, 145, .08) 29px 30px,
      transparent 31px 48px
    );

  mask-image:
    linear-gradient(
      to bottom,
      black 0%,
      rgba(0, 0, 0, .75) 65%,
      transparent 100%
    );

  -webkit-mask-image:
    linear-gradient(
      to bottom,
      black 0%,
      rgba(0, 0, 0, .75) 65%,
      transparent 100%
    );
}

.nb-hero-inner {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: 1.35fr .75fr;
  gap: 65px;
  align-items: center;
}


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

.nb-eyebrow {
  margin-bottom: 18px;

  color: var(--teal-dark);

  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nb-hero h1 {
  max-width: 760px;
  margin: 0 0 22px;

  color: var(--navy);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: clamp(42px, 5vw, 72px);
  line-height: .98;
  letter-spacing: -.035em;
}

.nb-subtitle {
  max-width: 680px;
  margin: 0 0 28px;

  color: var(--teal-dark);

  font-size: 21px;
  font-weight: 700;
  line-height: 1.35;
}


/* ==========================================
   TRUST / CREDENTIALS
   ========================================== */

.nb-trust {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.nb-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 4px 20px 4px 0;
  margin-right: 20px;

  border-right: 1px solid var(--border);

  color: var(--navy);

  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

.nb-trust-item:last-child {
  border-right: none;
  margin-right: 0;
}

.nb-trust-icon {
  width: 32px;
  height: 32px;

  display: grid;
  place-items: center;

  border: 1.5px solid var(--navy);
  border-radius: 50%;

  font-size: 11px;
  font-weight: 800;
}


/* ==========================================
   CTA
   ========================================== */

.nb-cta-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nb-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;

  min-height: 54px;
  padding: 0 25px;

  border-radius: 999px;

  background: var(--orange);
  color: #fff !important;

  text-decoration: none !important;

  font-size: 17px;
  font-weight: 800;

  box-shadow: 0 8px 20px rgba(244, 81, 42, .20);

  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

.nb-button:hover {
  transform: translateY(-2px);

  box-shadow:
    0 12px 25px rgba(244, 81, 42, .28);
}

.nb-arrow {
  width: 27px;
  height: 27px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
}

.nb-cta-note {
  max-width: 290px;

  color: var(--navy);

  font-size: 14px;
  line-height: 1.35;
}


/* ==========================================
   PORTRAIT
   ========================================== */

.nb-portrait-wrap {
  align-self: start;
}

.nb-portrait {
  display: block;

  width: 100%;
  max-width: 370px;
  aspect-ratio: 4 / 5;

  object-fit: cover;

  margin-left: auto;

  border: 2px solid var(--navy);
  border-radius: 4px;

  background: #e9e6dd;
}

.nb-person {
  max-width: 370px;
  margin: 14px 0 0 auto;
}

.nb-person h2 {
  margin: 0;

  color: var(--navy);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 29px;
  line-height: 1.15;
}

.nb-credential {
  margin-top: 5px;

  color: var(--teal-dark);

  font-size: 15px;
  font-weight: 800;
}

.nb-person p {
  margin: 9px 0 0;

  color: var(--muted);

  font-size: 15px;
}


/* ==========================================
   DOCUMENTS / WHY CHOOSE
   ========================================== */

.nb-section {
  padding: 55px 0;

  background: #fff;

  border-top: 1px solid rgba(7, 52, 95, .07);
  border-bottom: 1px solid rgba(7, 52, 95, .07);
}

.nb-split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 45px;
}

.nb-heading {
  margin: 0 0 24px;

  color: var(--navy);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 25px;
}


/* ==========================================
   DOCUMENT CARDS
   ========================================== */

.nb-document-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.nb-document {
  min-height: 105px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 15px 8px;

  text-align: center;

  border: 1px solid var(--border);
  border-radius: 8px;

  background: #fff;

  color: var(--navy);

  font-size: 14px;
  font-weight: 700;

  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

.nb-document:hover {
  transform: translateY(-2px);

  box-shadow:
    0 7px 18px rgba(7, 52, 95, .08);
}

.nb-document-icon {
  margin-bottom: 6px;

  color: var(--teal-dark);

  font-size: 27px;
}


/* ==========================================
   WHY CHOOSE
   ========================================== */

.nb-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.nb-why {
  padding: 0 17px;

  border-left: 1px solid var(--border);

  text-align: center;
}

.nb-why:first-child {
  border-left: none;
}

.nb-why-icon {
  margin-bottom: 7px;

  color: var(--teal-dark);

  font-size: 28px;
}

.nb-why strong {
  display: block;

  margin-bottom: 6px;

  color: var(--navy);

  font-size: 14px;
}

.nb-why span {
  color: var(--muted);

  font-size: 12.5px;
  line-height: 1.35;
}


/* ==========================================
   HOW IT WORKS
   ========================================== */

.nb-process {
  padding: 43px 0;

  background: #eef5fa;
}

.nb-process-grid {
  display: grid;

  grid-template-columns:
    auto 42px 1fr
    30px
    42px 1fr
    30px
    42px 1.2fr;

  gap: 15px;

  align-items: center;
}

.nb-process-title {
  margin: 0 18px 0 0;

  color: var(--navy);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 23px;

  white-space: nowrap;
}

.nb-step-number {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: var(--navy);
  color: #fff;

  font-weight: 800;
}

.nb-step h3 {
  margin: 0 0 3px;

  color: var(--navy);

  font-size: 15px;
}

.nb-step p {
  margin: 0;

  color: var(--muted);

  font-size: 13px;
  line-height: 1.35;
}

.nb-process-arrow {
  color: #7c9ab1;
  font-size: 22px;
}


/* ==========================================
   TESTIMONIALS / FINAL CTA
   ========================================== */

.nb-proof {
  padding: 60px 0 70px;

  background: #fff;
}

.nb-proof-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 55px;

  align-items: center;
}

.nb-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.nb-testimonial {
  padding-right: 20px;

  border-right: 1px solid var(--border);
}

.nb-testimonial:last-child {
  border-right: none;
}

.nb-stars {
  margin-bottom: 8px;

  color: #ef9d12;

  letter-spacing: .08em;
}

.nb-testimonial p {
  margin: 0;

  color: var(--text);

  font-size: 14px;
  font-style: italic;
  line-height: 1.45;
}

.nb-testimonial cite {
  display: block;

  margin-top: 11px;

  color: var(--muted);

  font-size: 12px;
  font-style: normal;
}


/* ==========================================
   FINAL CTA
   ========================================== */

.nb-final {
  padding: 35px 38px;

  border-radius: 15px;

  background:
    linear-gradient(
      135deg,
      var(--navy),
      var(--navy-dark)
    );

  color: #fff;

  box-shadow:
    0 14px 35px rgba(5, 39, 70, .14);
}

.nb-final h2 {
  margin: 0 0 8px;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 31px;
  line-height: 1.15;
}

.nb-final p {
  margin: 0 0 19px;

  color: rgba(255, 255, 255, .86);
}

.nb-final .nb-button {
  box-shadow: none;
}

.nb-confidential {
  margin-top: 14px;

  color: rgba(255, 255, 255, .78);

  font-size: 12px;
}


/* ==========================================
   RESPONSIVE — TABLET
   ========================================== */

@media (max-width: 1000px) {

  .nb-hero-inner,
  .nb-split,
  .nb-proof-grid {
    grid-template-columns: 1fr;
  }

  .nb-portrait-wrap {
    display: grid;
    grid-template-columns: 250px 1fr;

    gap: 25px;

    align-items: center;
  }

  .nb-portrait,
  .nb-person {
    margin-left: 0;
    max-width: none;
  }

  .nb-process-grid {
    grid-template-columns:
      auto 42px 1fr
      42px 1fr;
  }

  .nb-process-title {
    grid-column: 1 / -1;
  }

  .nb-process-arrow {
    display: none;
  }
}


/* ==========================================
   RESPONSIVE — MOBILE
   ========================================== */

@media (max-width: 700px) {

  .nb-container {
    width: calc(100% - 30px);
  }

  .nb-hero {
    padding: 40px 0 45px;
  }

  .nb-hero h1 {
    font-size: 43px;
  }

  .nb-subtitle {
    font-size: 18px;
  }

  .nb-trust {
    display: grid;
    gap: 9px;
  }

  .nb-trust-item {
    border-right: none;
    margin-right: 0;
  }

  .nb-portrait-wrap {
    grid-template-columns: 1fr;
  }

  .nb-portrait {
    width: min(100%, 330px);
  }

  .nb-document-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nb-why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 0;
  }

  .nb-why:nth-child(3) {
    border-left: none;
  }

  .nb-process-grid {
    grid-template-columns: 42px 1fr;
  }

  .nb-process-title {
    grid-column: 1 / -1;
  }

  .nb-testimonials {
    grid-template-columns: 1fr;
  }

  .nb-testimonial {
    padding: 0 0 20px;

    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .nb-testimonial:last-child {
    border-bottom: none;
  }

  .nb-final {
    padding: 28px 25px;
  }
}