/* =========================================================
   IMMIX QUOTE PAGE V2
   Clean rebuild for get-a-quote3.php
   Built on immix-next-base.css

   UX architecture, page-specific CSS system, readability refinement,
   ScrollMeta-aware layout implementation, and quote-page standardization
   by Ken Buis, Fervid Solutions.
========================================================= */

/* IMMIX-QUOTE-V2-ACTIVE */


/* =========================================================
   1. PAGE FOUNDATION
========================================================= */

.ixq-site {
  background: #ffffff;
}

.ixq-page,
#main-content.ixq-page {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 10%, rgba(105, 166, 61, 0.06), transparent 28%),
    radial-gradient(circle at 88% 16%, rgba(18, 52, 93, 0.05), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7faf6 100%);
}

.ixq-wrap {
  width: min(100% - var(--ix-gutter), 1180px);
  margin-inline: auto;
}

.ixq-scrollmeta {
  display: none !important;
}

.ixq-site .page-header,
.ixq-page .page-header {
  display: none !important;
}


/* =========================================================
   2. HERO
   Aligned with the newer About + Contact visual language
========================================================= */

.ixq-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: clamp(680px, 60vw, 860px);
  padding: 0;
  background: #f7faf6;
}

.ixq-hero__background {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  z-index: 0;
  pointer-events: none;
  background:
    url("https://www.immixgroup.ca/assets/images/getaquote%20copy.avif") center center / cover no-repeat;
}

.ixq-hero__background::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(248, 251, 247, 0.995) 0%,
      rgba(248, 251, 247, 0.99) 18%,
      rgba(248, 251, 247, 0.965) 34%,
      rgba(248, 251, 247, 0.84) 50%,
      rgba(248, 251, 247, 0.52) 66%,
      rgba(248, 251, 247, 0.18) 82%,
      rgba(248, 251, 247, 0.05) 100%
    );
}

.ixq-hero__background::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(248, 251, 247, 0.12) 0%,
      rgba(248, 251, 247, 0.00) 22%,
      rgba(248, 251, 247, 0.02) 78%,
      rgba(248, 251, 247, 0.16) 100%
    );
}

.ixq-hero__inner {
  position: relative;
  z-index: 4;
  width: min(100% - 72px, 1180px);
  max-width: 1180px;
  min-height: clamp(680px, 60vw, 860px);
  margin: 0 auto;
  padding: clamp(68px, 6vw, 104px) 0 clamp(74px, 6vw, 108px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}

.ixq-hero__content {
  position: relative;
  z-index: 5;
  width: min(100%, 720px);
  max-width: 720px;
}

.ixq-hero__content::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  right: -230px;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.985) 0%,
      rgba(249, 251, 248, 0.975) 44%,
      rgba(249, 251, 248, 0.88) 66%,
      rgba(249, 251, 248, 0.46) 84%,
      rgba(249, 251, 248, 0) 100%
    );
}

.ixq-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  color: var(--ix-green-650);
  font-family: var(--ix-font-sans);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ixq-kicker::after {
  content: "";
  width: 42px;
  height: 2px;
  border-radius: 999px;
  background: rgba(105, 166, 61, 0.72);
}

#ixq-page-title,
.ixq-hero h1 {
  max-width: 12ch;
  margin: 0 0 18px;
  color: var(--ix-navy-800);
  font-family: var(--ix-font-serif);
  font-size: clamp(46px, 4vw, 64px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.042em;
}

.ixq-lead {
  max-width: 60ch;
  margin: 0;
  color: #4f6681;
  font-family: var(--ix-font-sans);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.72;
}

.ixq-lead + .ixq-lead {
  margin-top: 10px;
}


/* =========================================================
   3. PATHWAY CARDS
========================================================= */

.ixq-paths {
  max-width: 700px;
  margin-top: clamp(30px, 3.2vw, 44px);
  display: grid;
  gap: 18px;
}

.ixq-path-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(205, 216, 209, 0.92);
  box-shadow:
    0 18px 44px rgba(9, 42, 80, 0.075),
    0 5px 14px rgba(9, 42, 80, 0.035);
  transition:
    transform 190ms var(--ix-ease),
    box-shadow 190ms var(--ix-ease),
    border-color 190ms var(--ix-ease);
}

.ixq-path-card:hover,
.ixq-path-card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(105, 166, 61, 0.28);
  box-shadow:
    0 24px 56px rgba(9, 42, 80, 0.095),
    0 7px 18px rgba(9, 42, 80, 0.04);
}

.ixq-path-card__header {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 2.8vw, 38px) clamp(28px, 3.2vw, 44px) clamp(22px, 2.4vw, 30px);
  color: #ffffff;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.16), transparent 34%),
    linear-gradient(135deg, var(--ix-green-600) 0%, var(--ix-green-700) 56%, #3f7830 100%);
}

.ixq-path-card__header h3 {
  margin: 0 0 10px;
  color: #ffffff;
  font-family: var(--ix-font-sans);
  font-size: clamp(28px, 2.3vw, 36px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.ixq-path-card__header p {
  max-width: 48ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.93);
  font-family: var(--ix-font-sans);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.52;
}

.ixq-path-card__body {
  padding: clamp(30px, 3vw, 42px) clamp(30px, 3.4vw, 46px) clamp(34px, 3.5vw, 48px);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdf9 100%);
}

.ixq-path-card__body ul {
  display: grid;
  gap: 14px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.ixq-path-card__body li {
  position: relative;
  padding-left: 32px;
  color: #3f5873;
  font-family: var(--ix-font-sans);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.006em;
}

.ixq-path-card__body li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--ix-green-600);
  box-shadow: 0 0 0 7px rgba(105, 166, 61, 0.11);
}

.ixq-path-card__body p {
  position: relative;
  max-width: 46rem;
  margin: 0;
  padding: 22px 0 0;
  color: #566f89;
  font-family: var(--ix-font-sans);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.7;
}

.ixq-path-card__body p::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 54px;
  height: 2px;
  border-radius: 999px;
  background: rgba(105, 166, 61, 0.38);
}


/* =========================================================
   4. FORM CARD
========================================================= */

.ixq-form-card {
  position: relative;
  align-self: start;
  width: 100%;
  max-width: 430px;
  margin: 0;
  padding: clamp(28px, 2.7vw, 38px);
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0%, rgba(105, 166, 61, 0.055), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.985) 0%, rgba(250, 252, 249, 0.978) 100%);
  border: 1px solid rgba(205, 216, 209, 0.96);
  box-shadow:
    0 28px 70px rgba(8, 40, 79, 0.14),
    0 8px 20px rgba(8, 40, 79, 0.045);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.ixq-form-card__top {
  margin-bottom: 20px;
}

#ixq-form-title,
.ixq-form-card__top h2 {
  margin: 0;
  color: var(--ix-navy-800);
  font-family: var(--ix-font-sans);
  font-size: clamp(28px, 2vw, 34px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.024em;
}


/* =========================================================
   5. FORM
========================================================= */

.ixq-form {
  display: grid;
  gap: 14px;
}

.ixq-form label {
  display: grid;
  gap: 8px;
  margin: 0;
}

.ixq-form label > span {
  color: var(--ix-navy-800);
  font-family: var(--ix-font-sans);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

.ixq-form label em {
  color: #6f8295;
  font-style: normal;
  font-weight: 600;
}

.ixq-form input,
.ixq-form select,
.ixq-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border-radius: 11px;
  border: 1px solid rgba(18, 52, 93, 0.13);
  background: #ffffff;
  color: #20364d;
  font-family: var(--ix-font-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.45;
  outline: none;
  box-shadow:
    inset 0 1px 1px rgba(7, 31, 61, 0.035),
    0 1px 0 rgba(255, 255, 255, 0.18);
  transition:
    border-color 190ms var(--ix-ease),
    box-shadow 190ms var(--ix-ease),
    background-color 190ms var(--ix-ease);
}

.ixq-form textarea {
  min-height: 132px;
  resize: vertical;
}

.ixq-form input::placeholder,
.ixq-form textarea::placeholder {
  color: #9aa8b6;
  opacity: 1;
}

.ixq-form input:focus,
.ixq-form select:focus,
.ixq-form textarea:focus {
  border-color: rgba(105, 166, 61, 0.58);
  box-shadow:
    0 0 0 4px rgba(105, 166, 61, 0.14),
    inset 0 1px 1px rgba(7, 31, 61, 0.03);
}

.ixq-form select {
  appearance: none;
  cursor: pointer;
  padding-right: 38px;
  background-image:
    url("data:image/svg+xml,%3Csvg width='10' height='7' viewBox='0 0 10 7' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.4L5 5.4L9 1.4' fill='none' stroke='%23568f32' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 10px 7px;
}

.ixq-form .g-recaptcha {
  margin-top: 6px;
  overflow: hidden;
  max-width: 100%;
}


/* =========================================================
   6. BUTTONS
========================================================= */

.ixq-btn {
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #ffffff !important;
  background:
    linear-gradient(180deg, #70ab43 0%, var(--ix-green-700) 100%);
  box-shadow:
    0 16px 34px rgba(105, 166, 61, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  font-family: var(--ix-font-sans);
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition:
    transform 190ms var(--ix-ease),
    box-shadow 190ms var(--ix-ease),
    background-color 190ms var(--ix-ease);
}

.ixq-btn:hover,
.ixq-btn:focus-visible {
  transform: translateY(-2px);
  background:
    linear-gradient(180deg, #78b34a 0%, #4f842e 100%);
  box-shadow:
    0 20px 42px rgba(105, 166, 61, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.20);
  outline: none;
}

.ixq-btn--submit {
  width: 100%;
  margin-top: 6px;
}


/* =========================================================
   7. NEXT STEP PANEL
========================================================= */

.ixq-next-step {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(18, 52, 93, 0.10);
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 15px;
}

.ixq-next-step__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(105, 166, 61, 0.12);
  color: var(--ix-green-700);
}

.ixq-next-step h3 {
  margin: 0 0 8px;
  color: var(--ix-navy-800);
  font-family: var(--ix-font-sans);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.ixq-next-step p {
  margin: 0 0 12px;
  color: var(--ix-muted);
  font-family: var(--ix-font-sans);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.62;
}

.ixq-next-step a {
  color: var(--ix-green-700);
  font-family: var(--ix-font-sans);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}

.ixq-next-step a:hover,
.ixq-next-step a:focus-visible {
  color: var(--ix-navy-800);
}


/* =========================================================
   8. RESPONSIVE
========================================================= */

@media (max-width: 1120px) {
  .ixq-hero__inner {
    width: min(100% - 40px, 860px);
    grid-template-columns: 1fr;
    gap: 30px;
    min-height: auto;
    padding-top: 56px;
    padding-bottom: 64px;
  }

  .ixq-hero__background::before {
    background:
      linear-gradient(
        180deg,
        rgba(248, 251, 247, 0.985) 0%,
        rgba(248, 251, 247, 0.96) 40%,
        rgba(248, 251, 247, 0.82) 72%,
        rgba(248, 251, 247, 0.32) 100%
      );
  }

  .ixq-hero__content {
    width: 100%;
    max-width: 100%;
  }

  .ixq-hero__content::before {
    right: calc(50% - 50vw);
    background:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.965) 0%,
        rgba(249, 251, 248, 0.90) 100%
      );
  }

  .ixq-form-card,
  .ixq-paths {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .ixq-hero {
    min-height: auto;
  }

  .ixq-hero__inner {
    width: min(100% - 28px, 720px);
    gap: 24px;
    padding-top: 42px;
    padding-bottom: 48px;
  }

  #ixq-page-title,
  .ixq-hero h1 {
    max-width: 100%;
    font-size: clamp(36px, 10vw, 46px);
  }

  .ixq-paths {
    margin-top: 28px;
    gap: 16px;
  }

  .ixq-path-card {
    border-radius: 20px;
  }

  .ixq-path-card__header {
    padding: 26px 22px 22px;
  }

  .ixq-path-card__header h3 {
    font-size: clamp(26px, 8vw, 32px);
  }

  .ixq-path-card__header p,
  .ixq-path-card__body li,
  .ixq-path-card__body p,
  .ixq-form label > span,
  .ixq-form input,
  .ixq-form select,
  .ixq-form textarea,
  .ixq-btn,
  .ixq-next-step p,
  .ixq-next-step a {
    font-size: 17px;
  }

  .ixq-path-card__body {
    padding: 26px 22px 30px;
  }

  .ixq-form-card {
    padding: 28px 22px;
    border-radius: 22px;
  }

  .ixq-next-step {
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   QUOTE PAGE HERO BRIDGE PATCH — BACKGROUND LAYER VERSION
   Transitional patch for get-a-quote3.php
   Page-specific hero normalization by Ken Buis, Fervid Solutions.
========================================================= */

/* 1. Hero becomes the full visual stage */
.ixq-hero {
  position: relative !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: clamp(680px, 60vw, 860px) !important;
  overflow: hidden !important;
  isolation: isolate !important;
  background: var(--ix-page) !important;
  border-top: 0 !important;
}

/* 2. Turn off older hero-level overlays from the page CSS */
.ixq-hero::before,
.ixq-hero::after {
  content: none !important;
  display: none !important;
}

/* 3. Keep the inner content shell centred and visible */
.ixq-hero__inner {
  position: relative !important;
  z-index: 4 !important;
  width: min(100% - 72px, 1180px) !important;
  max-width: 1180px !important;
  min-height: clamp(680px, 60vw, 860px) !important;
  margin: 0 auto !important;
  padding: clamp(68px, 6vw, 104px) 0 clamp(74px, 6vw, 108px) !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px) !important;
  gap: clamp(40px, 5vw, 72px) !important;
  align-items: center !important;
  overflow: visible !important;
}

/* 4. Make the background layer a true full-viewport background */
.ixq-hero__background {
  display: block !important;
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: calc(50% - 50vw) !important;
  right: calc(50% - 50vw) !important;
  z-index: 0 !important;
  pointer-events: none !important;
  background:
    url("https://www.immixgroup.ca/assets/images/getaquote%20copy.avif") center center / cover no-repeat !important;
}

/* 5. Restore the proven readable wash on the background */
.ixq-hero__background::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  pointer-events: none !important;
  background:
    linear-gradient(
      90deg,
      rgba(248, 251, 247, 0.995) 0%,
      rgba(248, 251, 247, 0.99) 18%,
      rgba(248, 251, 247, 0.965) 34%,
      rgba(248, 251, 247, 0.84) 50%,
      rgba(248, 251, 247, 0.52) 66%,
      rgba(248, 251, 247, 0.18) 82%,
      rgba(248, 251, 247, 0.05) 100%
    ) !important;
}

/* 6. Subtle vertical polish */
.ixq-hero__background::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 3 !important;
  pointer-events: none !important;
  background:
    linear-gradient(
      180deg,
      rgba(248, 251, 247, 0.12) 0%,
      rgba(248, 251, 247, 0.00) 22%,
      rgba(248, 251, 247, 0.02) 78%,
      rgba(248, 251, 247, 0.16) 100%
    ) !important;
}

/* 7. Keep the content readable with the proven veil */
.ixq-hero__content {
  position: relative !important;
  z-index: 5 !important;
  width: min(100%, 720px) !important;
  max-width: 720px !important;
  min-height: clamp(680px, 60vw, 860px) !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.ixq-hero__content::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: calc(50% - 50vw) !important;
  right: -230px !important;
  z-index: -1 !important;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.985) 0%,
      rgba(249, 251, 248, 0.975) 44%,
      rgba(249, 251, 248, 0.88) 66%,
      rgba(249, 251, 248, 0.46) 84%,
      rgba(249, 251, 248, 0) 100%
    ) !important;
}

/* 8. Typography guardrails */
.ixq-hero h1,
#ixq-page-title {
  max-width: 12ch !important;
  margin-bottom: 18px !important;
}

.ixq-kicker,
.ixq-lead,
.ixq-path-card__header p,
.ixq-path-card__body li,
.ixq-path-card__body p,
.ixq-form label > span,
.ixq-form input,
.ixq-form select,
.ixq-form textarea,
.ixq-btn,
.ixq-next-step p,
.ixq-next-step a {
  font-size: 17px !important;
}

.ixq-lead {
  max-width: 60ch !important;
  line-height: 1.72 !important;
}

/* 9. Tablet/mobile behaviour */
@media (max-width: 1120px) {
  .ixq-hero,
  .ixq-hero__inner {
    min-height: auto !important;
  }

  .ixq-hero__inner {
    width: min(100% - 40px, 860px) !important;
    grid-template-columns: 1fr !important;
    gap: 30px !important;
    padding-top: 56px !important;
    padding-bottom: 64px !important;
  }

  .ixq-hero__content {
    width: 100% !important;
    max-width: 100% !important;
    min-height: auto !important;
  }

  .ixq-hero__background::before {
    background:
      linear-gradient(
        180deg,
        rgba(248, 251, 247, 0.985) 0%,
        rgba(248, 251, 247, 0.96) 40%,
        rgba(248, 251, 247, 0.82) 72%,
        rgba(248, 251, 247, 0.32) 100%
      ) !important;
  }

  .ixq-hero__content::before {
    right: calc(50% - 50vw) !important;
    background:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.965) 0%,
        rgba(249, 251, 248, 0.90) 100%
      ) !important;
  }
}

@media (max-width: 760px) {
  .ixq-hero {
    min-height: auto !important;
  }

  .ixq-hero__inner {
    width: min(100% - 28px, 720px) !important;
    gap: 24px !important;
    padding-top: 42px !important;
    padding-bottom: 48px !important;
  }

  .ixq-hero h1,
  #ixq-page-title {
    max-width: 100% !important;
  }
}