/*
Theme Name: HTMLtoWP 51194
Theme URI: https://htmltowp.com/
Author: HTML to WP
Text Domain: htmltowp
*/

/* =========================================================
   VARIABLES
   ========================================================= */

:root {
  --navy: #07345f;
  --navy-dark: #052746;

  --teal: #4d8b80;
  --teal-dark: #276b62;

  --orange: #f4512a;

  --cream: #fbfaf6;

  --blue-line: rgba(38, 91, 145, .18);

  --text: #182735;
  --muted: #52616d;

  --border: rgba(7, 52, 95, .16);

  --max: 1180px;
}


/* =========================================================
   RESET / GLOBAL
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  color: var(--text);

  background: var(--cream);

  line-height: 1.55;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}


/* =========================================================
   SITE WRAPPER
   ========================================================= */

.site-page {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}


/* =========================================================
   PASSPORT / GUILLOCHÉ BACKGROUND
   ========================================================= */

.guilloche {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 620px;
  pointer-events: none;
  z-index: 0;

  opacity: .42;

  background:
    radial-gradient(
      circle at 4% 12%,
      rgba(20,70,120,.22) 0 2px,
      transparent 3px
    ),

    repeating-radial-gradient(
      ellipse at 4% 12%,
      transparent 0 12px,
      rgba(38,91,145,.20) 13px 14px,
      transparent 15px 24px
    ),

    repeating-radial-gradient(
      ellipse at 74% 18%,
      transparent 0 27px,
      rgba(38,91,145,.095) 28px 29px,
      transparent 30px 47px
    ),

    repeating-radial-gradient(
      ellipse at 51% 43%,
      transparent 0 42px,
      rgba(60,111,160,.055) 43px 44px,
      transparent 45px 72px
    ),

    repeating-linear-gradient(
      12deg,
      transparent 0 27px,
      rgba(38,91,145,.035) 28px 29px,
      transparent 30px 56px
    );

  mask-image:
    linear-gradient(
      to bottom,
      black 0%,
      rgba(0,0,0,.88) 50%,
      rgba(0,0,0,.55) 74%,
      transparent 100%
    );

  -webkit-mask-image:
    linear-gradient(
      to bottom,
      black 0%,
      rgba(0,0,0,.88) 50%,
      rgba(0,0,0,.55) 74%,
      transparent 100%
    );
}


/* The .guilloche element should be placed INSIDE .hero in front-page-static.php.
   This creates the intended paint order: hero background -> guilloche -> hero content. */


/* =========================================================
   GENERAL CONTAINER
   ========================================================= */

.container {
  width: min(
    calc(100% - 120px),
    1060px
  );

  margin-inline: auto;
}


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

.hero {
  position: relative;
  z-index: 1;
  overflow: hidden;

  min-height: 670px;

  padding: 66px 0 52px;

  background:
    linear-gradient(
      rgba(251,250,246,.28),
      rgba(251,250,246,.80)
    ),
    var(--cream);

  margin: 0;
  border: 0;
}


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

.hero-grid {
  position: relative;
  z-index: 2;

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    270px;

  column-gap: 18px;
  row-gap: 28px;

  align-items: center;

  max-width: var(--max);

  margin-inline: auto;
}


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

.hero-copy {
  position: relative;
  z-index: 2;

  max-width: 760px;
}


/* =========================================================
   EYEBROW
   ========================================================= */

.eyebrow {
  display: inline-block;

  margin-bottom: 15px;

  color: var(--teal-dark);

  font-size: .86rem;

  font-weight: 800;

  letter-spacing: .07em;

  text-transform: uppercase;
}


/* =========================================================
   MAIN HEADLINE
   ========================================================= */

.hero h1 {
  max-width: 730px;

  margin: 0 0 20px;

  color: var(--navy);

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

  font-size:
    clamp(
      3rem,
      4.3vw,
      4.15rem
    );

  line-height: .98;

  letter-spacing: -.035em;
}


/* Prevent generic WordPress title rules from changing the hero. */

.hero .entry-title,
.hero .page-title,
.hero .archive-title {
  max-width: 730px;

  margin: 0 0 20px;

  color: var(--navy);

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

  font-size:
    clamp(
      3rem,
      4.3vw,
      4.15rem
    );

  line-height: .98;

  letter-spacing: -.035em;
}


/* =========================================================
   SUBTITLE
   ========================================================= */

.hero-subtitle {
  max-width: 650px;

  margin: 0 0 24px;

  color: var(--teal-dark);

  font-size:
    clamp(
      1.08rem,
      1.5vw,
      1.30rem
    );

  font-weight: 700;

  line-height: 1.35;
}


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

.trust-row {
  display: flex;

  flex-wrap: wrap;

  gap: 0;

  margin: 0 0 25px;
}

.trust-item {
  display: flex;

  align-items: center;

  gap: 9px;

  padding: 3px 18px 3px 0;

  margin-right: 18px;

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

  color: var(--navy);

  font-size: .90rem;

  line-height: 1.25;

  font-weight: 700;
}

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

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

  display: grid;
  place-items: center;

  flex: 0 0 32px;

  border:
    1.5px solid var(--navy);

  border-radius: 50%;

  font-size: .76rem;
}


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

.cta-row {
  display: flex;

  align-items: center;

  gap: 17px;

  flex-wrap: wrap;
}

.btn {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 14px;

  min-height: 52px;

  padding: 0 24px;

  border-radius: 999px;

  background: var(--orange);

  color: #fff;

  text-decoration: none;

  font-size: 1rem;

  font-weight: 800;

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

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

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

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

.btn-arrow {
  width: 26px;
  height: 26px;

  display: grid;
  place-items: center;

  border:
    1px solid
    rgba(255,255,255,.7);

  border-radius: 50%;
}

.cta-note {
  max-width: 300px;

  color: var(--navy);

  font-size: .87rem;

  line-height: 1.35;
}


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

.portrait-card {
  width: 100%;
  max-width: 330px;

  margin: 25px auto 0;

  transform: none;
}

/* Portrait frame */
.portrait-frame {
  width: 100%;
  max-width: 250px;

  aspect-ratio: 1.16 / 1;

  overflow: hidden;

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

  background: #e9e6dd;
}


/* Photograph fills the frame */
.portrait {
  display: block;

  width: 100%;
  height: 100%;

  max-width: none;
  margin: 0;

  object-fit: cover;
  object-position: center 12%;

  transform: none;

  border: 0;
  border-radius: 0;

  background: transparent;
}


.portrait-caption {
  width: 300px;
  max-width: 300px;
	
  margin: 15px 0 0 auto;
}

.portrait-caption h2 {
  margin: 0;

  color: var(--navy);

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

  font-size: 1.46rem;

  line-height: 1.15;
}

.credential {
  margin-top: 4px;

  color: var(--teal-dark);

  font-weight: 800;

  font-size: .90rem;
}

.portrait-caption p {
  margin: 8px 0 0;

  color: var(--muted);

  font-size: .90rem;

  line-height: 1.42;
}


/* =========================================================
   SECTION HEADINGS
   ========================================================= */

.section-heading,
.process-title {
  margin: 0 0 24px;

  color: var(--navy);

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

  font-size: 1.55rem;
}


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

.split-section {
  position: relative;

  z-index: 3;

  padding: 54px 0;

  background: #fff;

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

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

.split-grid {
  display: grid;

  grid-template-columns:
    1fr 1.15fr;

  gap: 42px;
}


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

.document-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 10px;
}

.doc-card {
  min-height: 105px;

  padding: 16px 10px;

  display: grid;

  place-items: center;

  text-align: center;

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

  border-radius: 8px;

  color: var(--navy);

  background: #fff;

  font-size: .88rem;

  font-weight: 700;

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

.doc-card:hover {
  transform: translateY(-2px);

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

.doc-icon {
  margin-bottom: 6px;

  color: var(--teal-dark);

  font-size: 1.65rem;
}


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

.why-grid {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 0;
}

.why-card {
  padding: 0 18px;

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

  text-align: center;
}

.why-card:first-child {
  border-left: 0;
}

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

  color: var(--teal-dark);

  font-size: 1.7rem;
}

.why-card strong {
  display: block;

  margin-bottom: 6px;

  color: var(--navy);

  font-size: .9rem;
}

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

  font-size: .82rem;

  line-height: 1.35;
}


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

.process {
  padding: 45px 0;

  background: #eef5fa;
}

.process-grid {
  display: grid;

  grid-template-columns:
    auto
    42px minmax(0, 1fr)
    auto
    42px minmax(0, 1fr)
    auto
    42px minmax(0, 1.15fr);

  gap: 14px;

  align-items: start;
}

.process-title {
  margin-right: 10px;
  padding-top: 2px;

  font-size: 1.45rem;
  line-height: 1.2;
  white-space: nowrap;
}

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

  display: grid;
  place-items: center;

  margin-top: 7px;

  border-radius: 50%;

  background: var(--navy);

  color: #fff;

  font-weight: 800;
}

.step h3 {
  margin: 0 0 4px;

  color: var(--navy);

  font-size: .98rem;
}

.step p {
  margin: 0;

  color: var(--muted);

  font-size: .84rem;

  line-height: 1.35;
}

.arrow {
  color: #7c9ab1;

  font-size: 1.5rem;

  margin-top: 9px;
}


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

.social-proof {
  padding: 58px 0 70px;

  background: #fff;
}

.proof-grid {
  display: grid;
  grid-template-columns:
    1.7fr .9fr;
  gap: 38px;
  align-items: center;
}

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

.testimonial {
  margin: 0;
  padding-right: 12px;
  border-right: 1px solid var(--border);
}

.testimonial:last-child {
  border-right: 0;
}

.stars {
  color: #ef9d12;

  letter-spacing: .1em;

  margin-bottom: 8px;
}

.testimonial p {
  margin: 0;

  color: var(--text);

  font-size: .90rem;

  font-style: italic;

  line-height: 1.45;
}

.testimonial cite {
  display: block;

  margin-top: 12px;

  color: var(--muted);

  font-size: .80rem;

  font-style: normal;
}


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

.final-cta {
  padding: 34px 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);
}

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

  color: #fff;

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

  font-size: 2rem;

  line-height: 1.15;
}

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

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

.final-cta .btn {
  box-shadow: none;
}

.confidential {
  margin-top: 14px;

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

  font-size: .78rem;
}


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

.site-footer {
  padding: 20px 0;

  background: #f7f7f4;

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

.footer-inner {
  display: flex;

  justify-content: center;

  flex-wrap: wrap;

  gap: 22px;

  color: var(--muted);

  font-size: .82rem;
}


/* =========================================================
   WORDPRESS CONTENT FALLBACK
   ========================================================= */

.content-section {
  position: relative;

  z-index: 2;

  padding: 54px 0 70px;

  background: #fff;

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

.content-card,
article.post,
article.page,
.search-result,
.archive-post,
.not-found {
  padding: 28px;

  margin-bottom: 24px;

  background: #fff;

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

  border-radius: 12px;
}

.entry-meta,
.post-meta {
  color: var(--muted);

  font-size: .90rem;

  margin-bottom: 16px;
}

.entry-content,
.page-content {
  color: var(--text);
}


/* =========================================================
   HOMEPAGE — REMOVE ANY TOP SPACING
   ========================================================= */

html,
body {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.static-homepage {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

body.static-homepage::before,
body.static-homepage::after {
  display: none !important;
  content: none !important;
}

body.static-homepage .site-page {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: 0 !important;
  box-shadow: none !important;
}

body.static-homepage .hero {
  margin-top: 0 !important;
  border-top: 0 !important;
}


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

@media (max-width: 1000px) {

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

  .hero {
    min-height: auto;
  }

  .portrait-card {
    display: grid;

    grid-template-columns:
      220px 1fr;

    gap: 25px;

    align-items: center;

    max-width: 560px;

    justify-self: start;

    margin-top: 0;
  }

.portrait-frame,
.portrait-caption {
  margin-left: 0;
  max-width: none;
}

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

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

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

  .arrow:last-of-type {
    display: none;
  }
}


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

@media (max-width: 700px) {

  .container {
    width:
      min(
        calc(100% - 30px),
        var(--max)
      );
  }

  .hero {
    padding: 35px 0 40px;
  }

  .hero h1,
  .hero .entry-title,
  .hero .page-title,
  .hero .archive-title {
    font-size:
      clamp(
        2.55rem,
        11vw,
        3.7rem
      );

    line-height: 1;
  }

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

  .trust-row {
    display: grid;

    gap: 8px;
  }

  .trust-item {
    border-right: 0;

    margin: 0;

    padding-right: 0;
  }

  .portrait-card {
    grid-template-columns: 1fr;

    max-width: 330px;
  }

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

.portrait {
  width: 100%;
  max-width: none;
}

.portrait-caption {
  max-width: 330px;
}

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

  .why-grid {
    grid-template-columns:
      repeat(2, 1fr);

    gap: 24px 0;
  }

  .why-card:nth-child(3) {
    border-left: 0;
  }

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

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

  .arrow {
    display: none;
  }

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

  .testimonial {
    padding:
      0 0 20px;

    border-right: 0;

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

  .testimonial:last-child {
    border-bottom: 0;
  }

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