@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  color-scheme: light;
  --ink: #282c52;
  --muted: #777;
  --line: #dbe7ee;
  --brand: #007bff;
  --brand-dark: #1f3570;
  --accent: #ff7600;
  --green: #189b67;
  --paper: #fff;
  --soft: #f2f7fa;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-style: normal;
  line-height: 1.6;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: #cd496a; }
img, svg { vertical-align: middle; }

.container-fluid {
  width: 100%;
  padding-right: 12px;
  padding-left: 12px;
  margin-right: auto;
  margin-left: auto;
}

.nav-header {
  padding: 11px 25px;
  background: var(--paper);
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
}

.nav-header .container-fluid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo { flex: 1 1 auto; min-width: 0; }

.nav-header .nav-logo img.hcq-logo {
  display: block;
  width: min(100%, 360px);
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

@media only screen and (max-width: 767px) {
  .nav-header .nav-logo img.hcq-logo {
    width: min(100%, 180px);
    max-height: 34px;
  }
}

.hcq-wordmark {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 48px;
  color: var(--brand-dark);
  font-size: clamp(28px, 4vw, 42px);
  white-space: nowrap;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
}

.phone-number-button {
  display: inline-block;
  position: relative;
  flex: 0 0 auto;
  padding: 10px 45px 12px 18px;
  background-color: var(--accent);
  border-radius: 30px;
  line-height: 1.3;
  text-decoration: none;
  transition: all .2s ease-in-out;
}

.phone-number-button span { color: #fff; }

.phone-number-button span[slot="fl-did"] {
  display: block;
  padding: 0;
  margin-bottom: 3px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: .25s ease-in-out;
}

.phone-number-button span.licensed-agents {
  position: absolute;
  bottom: 7px;
  left: 18px;
  color: #fff;
  font-size: 7px;
  white-space: nowrap;
}

.phone-number-button span.licensed-agents::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 3px;
  border-radius: 50%;
  background: #0d1;
  vertical-align: middle;
}

.phone-number-button picture {
  position: absolute;
  top: 50%;
  right: 10px;
  max-width: 30px;
  transform: translateY(-50%);
}

.phone-number-button picture img {
  width: 100%;
  height: auto;
  border-radius: 50%;
}

.phone-number-button:hover { background: #fff; }
.phone-number-button:hover span,
.phone-number-button:hover span[slot="fl-did"] { color: #031031; }

.mobile-hide-now { display: inline; }

.legal-page {
  width: min(100% - 32px, 1040px);
  margin: 34px auto 56px;
  padding: clamp(22px, 4vw, 42px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

h1, h2, h3 {
  color: var(--ink);
  font-family: "DM Serif Display", serif;
  line-height: 1.2;
}

h1 { margin: 0 0 10px; font-size: clamp(30px, 4vw, 44px); }
h2 { margin: 32px 0 12px; font-size: 26px; }
h3 { margin: 24px 0 10px; font-size: 20px; }
p, li { font-size: 16px; }
ul, ol { padding-left: 24px; }

.card {
  margin: 24px 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfe;
}

.card-body > :first-child { margin-top: 0; }
.text-center { text-align: center; }
.mt-3 { margin-top: 1rem; }
.mt-5 { margin-top: 3rem; }
.my-5 { margin-top: 3rem; margin-bottom: 3rem; }
.row { display: block; }
.col-md-6, .col { width: 100%; }
.py-4 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.form-group { display: grid; gap: 8px; margin-bottom: 16px; }
label { font-weight: 700; }

input {
  min-height: 46px;
  width: 100%;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

button, .btn {
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--green);
  font-weight: 800;
  cursor: pointer;
}

#success { color: var(--green); font-weight: 700; }
.partner-list, .card-body ul[style] {
  columns: 3 220px;
  list-style: none !important;
  padding: 0 !important;
  text-align: left;
}
.partner-list li, .card-body ul[style] li {
  break-inside: avoid;
  padding: 3px 0;
}

.main-footer {
  padding: 70px 24px;
  background-color: #f6f8f7;
}

.main-footer h4 {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 10px;
}

.main-footer p {
  font-size: 13px;
  line-height: 1.4;
  margin: 0;
}

.footer-links {
  padding-top: 20px;
  text-align: center;
}

.footer-links a {
  display: inline-block;
  color: var(--brand);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}

.footer-links a:hover {
  color: #cd496a;
  text-decoration: none;
}

@media screen and (min-width: 960px) {
  .phone-number-button {
    border-radius: 50px;
    padding: 12px 90px 12px 35px;
    line-height: 1.4;
    text-align: center;
  }

  .phone-number-button span[slot="fl-did"] {
    margin-bottom: 4px;
    font-size: 22px;
  }

  .phone-number-button span.licensed-agents {
    position: relative;
    bottom: auto;
    left: auto;
    display: block;
    margin-left: 0;
    font-size: 13px;
  }

  .phone-number-button picture {
    right: 15px;
    max-width: 60px;
  }
}

@media only screen and (max-width: 991px) {
  .main-footer { padding: 50px 14px; }
}

@media (max-width: 640px) {
  .nav-header { padding: 10px 8px; }
  .nav-header .container-fluid { gap: 8px; }
  .hcq-wordmark { min-height: 40px; font-size: clamp(22px, 8vw, 34px); }
  .mobile-hide-now { display: none; }
  .legal-page { width: min(100% - 20px, 1040px); margin-top: 18px; padding: 18px; }
  .card { padding: 16px; }
}

/* WOW reference mobile navbar */
@media only screen and (max-width: 767px){
html, body{max-width: 100%;
  overflow-x: hidden;}

.nav-header{padding: 10px 5px;
  overflow: hidden;}

.nav-header .container-fluid{display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;}

.nav-header .nav-logo, .nav-logo{flex: 1 1 auto;
  min-width: 0;
  max-width: calc(100% - 205px);
  text-align: left;}

.nav-header .nav-logo img{height: 34px;
  width: auto;
  max-width: 100%;
  object-fit: contain;}

.hcq-wordmark{display: block;
  max-width: 100%;
  min-height: 0;
  font-size: clamp(18px, 4vw, 28px);
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;}

.nav-header .phone-number-button{position: relative;
  flex: 0 0 auto;
  max-width: none;
  padding: 10px 45px 12px 18px;
  border-radius: 30px;
  line-height: 1.3;}

.nav-header .phone-number-button span[slot="fl-did"]{padding: 0;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  display: block;
  margin-bottom: 3px;}

.nav-header .phone-number-button span.licensed-agents{position: absolute;
  bottom: 7px;
  left: 18px;
  font-size: 7px;
  white-space: nowrap;}

.nav-header .phone-number-button picture{max-width: 30px;
  right: 10px;}

.nav-header .phone-flex, .phone-flex{display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  flex: 0 0 auto;
  max-width: none;}

.phone-flex .phon-logo{height: 27px;
  margin-right: 0;}

.phone-flex .clltxt span{font-size: 19px;
  white-space: nowrap;}

.phone-flex .clltxt p{font-size: 11px;
  white-space: nowrap;}
}
/* end WOW reference mobile navbar */
