/* ============================= */
/* BASE */
/* ============================= */
body {
    margin: 0;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    background: #ffffff;
    color: #222;
  }
  
  /* ============================= */
  /* HEADER */
  /* ============================= */
  .header {
    width: 100%;
    background: #fff;
    padding: 0;
    line-height: 0;
    text-align: center;
    border-bottom: 1px solid #eee;
  }
  
  .logo {
    width: min(430px, 95vw);
    max-width: 300px;
    max-height: 120px;
    display: block;
    margin: 0 auto;
    height: auto;
    object-fit: contain;
  }
  
  /* ============================= */
  /* TOP BAR */
  /* ============================= */
  .top-bar {
    background: #b10000;
    color: #fff;
    padding: 6px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .top-bar h2 {
    margin: 0;
    line-height: 1.25;
  }

  .offer-mobile-break {
    display: none;
  }

  .promo-coupon-icon {
    display: inline-block;
    margin-right: 4px;
    transform: rotate(-14deg);
  }

  .coverage-banner {
    min-height: 36px;
    padding: 8px 16px;
    background: #ffffff;
    border-bottom: 1px solid #e3e8ed;
    color: #0d3b66;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
  }

  .coverage-banner i {
    color: #d83434;
    font-size: 1rem;
  }

  @media (max-width: 480px) {
    .offer-mobile-break {
      display: inline;
    }

    .coverage-banner {
      font-size: 0.82rem;
      padding: 8px 12px;
    }
  }
  
  /* ============================= */
/* HERO SECTION */
/* ============================= */
.hero-section {
  background: url('../images/hero.webp') center/cover no-repeat;
  position: relative;

  padding: 75px 0;
}
  
  /* LIGHTER OVERLAY */
  .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(0,0,0,0.45),
      rgba(0,0,0,0.65)
    );
  }
  
  .hero-content {
    position: relative;
    z-index: 2;
  
    display: flex;
    flex-direction: column;
  
    /* CHANGE THIS */
    justify-content: flex-start;
  
    /* REMOVE THIS if exists */
    /* min-height: 100vh; */
  }

  .hero-content.is-transitioning {
    animation: heroContentFade 0.1s ease both;
  }
  /* ============================= */
  /* FORCE ALL HERO TEXT WHITE */
  /* ============================= */
  .hero-section,
  .hero-section h1,
  .hero-section h2,
  .hero-section h3,
  .hero-section p,
  .hero-section span,
  .hero-section label {
    color: #fff !important;
  }
  
  /* ============================= */
  /* TOP TEXT */
  /* ============================= */
  .hero-top-content {
    max-width: 1200px;
    margin: 0 auto 10px;
    text-align: center;
  }
  
  .main-headline {
    font-weight: 700;
    margin-bottom: 10px;
  }
  
  .sub-headline {
    font-size: 18px;
    margin-bottom: 6px;
  }

  .feature-checkline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .feature-checkline i {
    color: #ffffff;
    font-size: 0.95em;
  }
  
  .support-line {
    font-size: 26px;
    font-weight: 700;
    margin-top: 16px;
    margin-bottom: 10px;
  }
  
  /* ============================= */
  /* STEP SYSTEM (CRITICAL FIX) */
  /* ============================= */
  .step {
    display: none; /* hide all */
    text-align: center;
  }
  
  .step.active {
    display: block; /* show only active */
    position: relative;
    z-index: 2;
    animation: fadeStepIn 0.1s ease both;
  }

  .step.is-exiting {
    display: block;
    pointer-events: none;
    animation: fadeStepOut 0.1s ease both;
  }
  
  /* ============================= */
  /* FORM AREA */
  /* ============================= */
  #leadForm {
    width: min(600px, 100%);
    margin: 0 auto;
    padding: 26px 32px 28px;
    background: rgba(8, 24, 44, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    box-shadow: 0 16px 36px rgba(4, 18, 38, 0.24);
    position: relative;
    overflow: hidden;
  }

  .form-area {
    max-width: 520px;
    margin: 5px auto 0;
  }

  #step1 .form-area {
    max-width: 300px;
  }

  .form-progress {
    width: min(520px, 100%);
    margin: 10px auto 18px;
    text-align: left;
  }

  .form-progress-track {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  }

  .form-progress-bar {
    width: 20%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0ab57a, #26c281);
    transition: width 0.3s ease;
  }
  
  /* INPUT GROUP */
  .custom-input {
    border-radius: 50px;
    overflow: hidden;
    border: 2px solid transparent;
  }
  
  /* INPUT ICON */
  .custom-input .input-group-text {
    background: #fff;
    border: none;
    color: #0d3b66;
  }
  
  /* INPUT FIELD (WHITE ONLY) */
  .custom-input .form-control {
    background: #fff !important;
    color: #000 !important;
    border: none;
    padding: 14px;
    box-shadow: none !important;
  }
  .custom-input .form-control:focus {
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
  }
  
  /* FOCUS - no colored border */
  .custom-input:focus-within {
    border-color: transparent;
    box-shadow: none;
  }

  .email-suggestion-wrap {
    position: relative;
  }

  .email-suggestions {
    display: none;
    position: absolute;
    top: calc(100% - 8px);
    left: 0;
    right: 0;
    z-index: 20;
    padding: 6px 0;
    background: #fff;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(32, 54, 78, 0.18);
    text-align: left;
  }

  .email-suggestions.is-visible {
    display: block;
  }

  .email-suggestion {
    display: block;
    width: 100%;
    padding: 9px 14px;
    color: #202124;
    background: #fff;
    border: 0;
    font: inherit;
    font-size: 0.95rem;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
  }

  .email-suggestion:hover,
  .email-suggestion:focus {
    color: #202124;
    background: #f1f3f4;
    outline: none;
  }
  
  /* ============================= */
  /* ERROR MESSAGE */
  /* ============================= */
  .error-msg {
    display: none;
    color: #ff6b6b !important;
    font-size: 13px;
    margin-top: 5px;
    text-align: left;
  }

  /* ============================= */
  /* FIELD ERROR (validation) */
  /* ============================= */
  .field-error {
    color: #fff;
    font-size: 0.85rem;
    margin-top: 0;
    margin-bottom: 0;
    text-align: center;
    padding: 0;
    border-radius: 4px;
    display: none;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
  .field-error:not(:empty) {
    display: block;
    background: rgba(220, 53, 69, 0.85);
    padding: 3px 10px;
    margin-top: 0.35rem;
    margin-bottom: 0.25rem;
  }
  .field-error:empty {
    display: none;
    background: transparent;
  }
  .form-control.is-invalid,
  .form-select.is-invalid {
    border-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
  }
  .form-control.is-valid,
  .form-select.is-valid {
    border-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
  }

  /* Override Bootstrap focus glow on validated fields */
  .form-control.is-invalid:focus,
  .form-control.is-valid:focus {
    box-shadow: none !important;
    border: none !important;
  }

  /* When field has validation state, color the wrapper border */
  .custom-input:has(.is-invalid) {
    border-color: #dc3545;
  }
  .custom-input:has(.is-valid) {
    border-color: #198754;
  }

  /* Validation icon inside input-group */
  .validation-icon {
    display: none !important;
    background: #fff;
    border: none;
    font-size: 1.15rem;
    padding: 0 12px !important;
    align-items: center;
    justify-content: center;
    color: transparent;
  }
  .validation-icon.show-valid {
    display: flex !important;
    color: #198754;
  }
  .validation-icon.show-invalid {
    display: flex !important;
    color: #dc3545;
  }
    .validation-icon.show-valid i {
      color: #198754 !important;
    }
    .validation-icon.show-invalid i {
      color: #dc3545 !important;
    }
  
  /* ============================= */
  /* BUTTON */
  /* ============================= */
  .btn-main {
    background: linear-gradient(135deg, #0d6efd, #0b5ed7);
    color: #fff;
    border-radius: 50px;
    padding: 14px;
    font-weight: 700;
    border: none;
    transition: all 0.3s ease;
  }
  
  .btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(13,110,253,0.35);
    background: linear-gradient(135deg, #0b5ed7, #084298);
  }

  .step-next-btn {
    min-width: 220px;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* ============================= */
  /* IMAGE OPTION CARDS */
  /* ============================= */
  .img-card {
    background: #fff;
    padding: 12px;
    border-radius: 14px;
    text-align: center;
    transition: all 0.25s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  }
  
  .img-card img {
    width: auto;

    object-fit: contain;
    margin: 0 auto 8px;
    display: block;
  }
  
  /* TEXT INSIDE CARD (BLACK) */
  .img-card p {
    color: #222 !important;
    font-weight: 600;
  }
  
  .img-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.15);
  }
  
  /* ============================= */
  /* PREVIOUS BUTTON */
  /* ============================= */
  .prev-btn {
    margin-top: 15px;
    color: #ddd;
    background: none;
    border: none;
  }
  
  .prev-btn:hover {
    color: #fff;
  }
  
  /* ============================= */
  /* FINAL STEP TITLE */
  /* ============================= */
  .final-title {
    color: #fff !important;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
  }
  
  /* DISCLAIMER */
  .disclaimer {
    color: #ccc !important;
    font-size: 13px;
    margin-top: 15px;
  }
  /* ============================= */
/* FIX INPUT ICON COLOR */
/* ============================= */
.custom-input .input-group-text:not(.validation-icon) i {
  color: #0d6efd !important; /* Bootstrap blue */
}
  
  /* optional: change on focus */
  .custom-input:focus-within .input-group-text:not(.validation-icon) i {
    color: #0d6efd !important; /* blue highlight */
  }
  /* ============================= */
  /* ANIMATION */
  /* ============================= */
  @keyframes fadeStepIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  @keyframes fadeStepOut {
    from {
      opacity: 1;
    }
    to {
      opacity: 0;
    }
  }

  @keyframes heroContentFade {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  /* ============================= */
  /* MOBILE */
  /* ============================= */
  @media (max-width: 768px) {
    
    .support-line {
      font-size: 16px;
    }
  
    .img-card img {
      height: 100px;
    }
  }
  @media (max-width: 768px) {

  .hero-section {
    min-height: auto !important;
    padding: 40px 0 30px;
  }

  .hero-content {
    min-height: auto !important;
    padding: 0 15px;
    justify-content: flex-start;
  }

  .hero-top-content {
    margin-bottom: 10px;
  }

  .form-area {
    margin-top: 10px;
  }

  #leadForm {
    padding: 22px 18px 24px;
    border-radius: 16px;
  }

  .main-headline {
    font-size: 26px;
  }

  .sub-headline {
    font-size: 14px;
  }
}
@media (max-width: 768px) {

  .hero-section {
    padding: 25px 0 40px;
    min-height: auto !important;
  }

  .hero-content {
    padding: 0 15px;
    justify-content: flex-start;
  }

}


  /* ============================= */
  /* WHY SECTION */
  /* ============================= */
  /* WHY SECTION */
.why-section {
  background: #ffffff;
  padding: 34px 0;
}

.why-title {
 
  font-weight: 700;
  margin-bottom: 60px;
  color: #0d3b66; /* deep blue */
}

/* ROW */
.why-row {
  position: relative;
}

/* CARD */
.why-card {
  background: #fff;
  padding: 34px 22px 30px;
  border-radius: 14px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border: 1px solid #e8ecf2;
  height: 100%;
  position: relative;
  overflow: visible;
  box-shadow: 0 8px 24px rgba(17, 34, 68, 0.06);
}

/* HOVER EFFECT */
.why-card:hover {
  transform: translateY(-6px);
  border-color: #ffd4d4;
  box-shadow: 0 18px 34px rgba(17, 34, 68, 0.12);
}

/* ICON WRAP */
.icon-wrap {
  width: 72px;
  height: 72px;
  margin: auto;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #d83434;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  position: relative;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* ICON GLOW EFFECT */
.icon-wrap::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(216, 52, 52, 0.18);
  transform: scale(1.08);
  opacity: 1;
  transition: transform 0.25s ease;
  z-index: -1;
}

/* HOVER ICON EFFECT */
.why-card:hover .icon-wrap {
  transform: scale(1.05);
  background: #c92a2a;
}

.why-card:hover .icon-wrap::after {
  transform: scale(1.15);
}

/* SUBTITLE */
.why-subtitle {
  font-size: 1.22rem;
  font-weight: 700;
  color: #12263a;
  margin: 8px 0 8px;
}

/* TEXT */
.why-card p {
  font-size: 1rem;
  color: #596273;
  margin: 0;
  line-height: 1.45;
}

/* MOBILE OPTIMIZATION */
@media (max-width: 768px) {
  .why-title {
    font-size: 26px;
    margin-bottom: 40px;
  }

  .why-card {
    padding: 28px 18px 24px;
  }

  .icon-wrap {
    width: 64px;
    height: 64px;
    font-size: 21px;
  }
}

/* ============================= */
/* STUDENT LOAN OFFER THEME */
/* ============================= */
:root {
  --loan-navy: #092f57;
  --loan-blue: #0b5fa5;
  --loan-teal: #0b8f87;
  --loan-cream: #f5f8f7;
  --loan-coral: #f28b62;
}

body {
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  background: var(--loan-cream);
  color: var(--loan-navy);
}

.header {
  background: #fff;
  border-bottom: 1px solid #e4ecec;
  padding: 18px 20px;
  line-height: 1;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--loan-navy);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0;
}

.brand-lockup strong {
  color: var(--loan-teal);
  font-weight: 700;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--loan-teal);
  color: #fff;
  font-size: 1.05rem;
}

.top-bar {
  background: var(--loan-navy);
  padding: 10px 16px;
}

.top-bar h2 {
  font-size: 0.88rem;
  letter-spacing: 0.01em;
}

.top-bar i {
  color: #72d8bd;
  margin-right: 5px;
}

.coverage-banner {
  min-height: 34px;
  background: #e8f5f1;
  border-bottom: 1px solid #d2e9e2;
  color: var(--loan-teal);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.coverage-banner i {
  color: var(--loan-teal);
}

.hero-section {
  padding: 64px 0 76px;
  background:
    linear-gradient(135deg, rgba(11, 79, 131, 0.55), rgba(7, 31, 61, 0.72)),
    url('../images/hero.webp') center/cover no-repeat;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(7, 31, 61, 0.12), rgba(7, 31, 61, 0.42));
}

.hero-content {
  max-width: 760px;
}

.hero-top-content {
  max-width: 690px;
  margin-bottom: 24px;
}

.eyebrow {
  color: #8de0c4 !important;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-bottom: 14px;
}

.main-headline {
  max-width: 660px;
  margin: 0 auto 14px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.12;
}

.hero-description {
  max-width: 560px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.84) !important;
  font-size: 1.02rem;
  line-height: 1.65;
}

.form-progress {
  max-width: 470px;
  margin: 0 auto 12px;
}

.form-progress-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.18);
}

.form-progress-bar {
  background: #72d8bd;
}

#leadForm {
  max-width: 540px;
  padding: 28px 34px 30px;
  background: #fff;
  border: 0;
  border-radius: 6px;
  box-shadow: 0 22px 45px rgba(2, 20, 43, 0.27);
}

.support-line,
.final-title {
  color: var(--loan-navy) !important;
  font-size: 1.25rem;
  margin-bottom: 18px;
}

.custom-input {
  border: 1px solid #d3dfdf;
  border-radius: 4px;
  overflow: hidden;
}

.custom-input .input-group-text,
.custom-input .form-control {
  background: #fff !important;
}

.custom-input .input-group-text:not(.validation-icon) i {
  color: var(--loan-teal) !important;
}

.custom-input .form-control {
  padding: 13px 12px;
}

.btn-main {
  width: 100%;
  border-radius: 4px;
  padding: 14px 20px;
  background: var(--loan-coral);
  box-shadow: 0 8px 16px rgba(242, 139, 98, 0.24);
}

.btn-main:hover {
  background: #df7049;
  box-shadow: 0 12px 22px rgba(242, 139, 98, 0.3);
}

.prev-btn {
  color: var(--loan-blue);
}

.disclaimer {
  color: #64727b !important;
}

.why-section {
  padding: 64px 0 72px;
  background: #dcefe9 !important;
}

.trusted-title,
.why-title {
  color: var(--loan-navy) !important;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.trusted-subtitle {
  max-width: 620px;
  margin: 0 auto;
  color: #60717b;
}

.why-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 56px;
}

.why-copy .trusted-title,
.why-copy .trusted-subtitle {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.why-copy .trusted-subtitle {
  max-width: 680px;
  line-height: 1.65;
}

.why-support-points {
  display: grid;
  gap: 24px;
  margin-top: 30px;
}

.why-support-point {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.why-support-check {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
  border-radius: 50%;
  background: #82c5ae;
  color: #fff;
  font-size: 0.75rem;
}

.why-support-point h3 {
  margin: 0 0 7px;
  color: var(--loan-navy);
  font-size: 1.08rem;
  line-height: 1.25;
}

.why-support-point p {
  margin: 0;
  color: #60717b;
  font-size: 0.94rem;
  line-height: 1.55;
}

.why-image-wrap {
  width: min(100%, 500px);
  justify-self: end;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 14px 30px rgba(9, 47, 87, 0.12);
}

.why-image {
  display: block;
  width: 100%;
  aspect-ratio: 655 / 507;
  object-fit: cover;
}

.how-it-works {
  padding: 72px 0 82px;
  background: #fff !important;
  border-top: 1px solid #edf2f3;
}

.how-it-works-intro {
  margin-bottom: 48px;
  text-align: center;
}

.how-it-works-row {
  align-items: start;
}

.how-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 20px;
  align-items: start;
  height: 100%;
  padding: 0 10px;
}

.how-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #82c5ae;
  font-size: 2.6rem;
  line-height: 1;
}

.how-card h3 {
  margin: 0;
  color: #262626;
  font-size: 1.35rem;
  line-height: 1.18;
  font-weight: 700;
}

.how-card p {
  grid-column: 1 / -1;
  margin: 0;
  color: #3d3d3d;
  font-size: 1rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .how-it-works {
    padding: 54px 0 60px;
  }

  .how-title-break {
    display: none;
  }
}

.why-card {
  padding: 30px 22px 26px;
  border: 1px solid #e3eceb;
  border-radius: 6px;
  box-shadow: 0 10px 25px rgba(9, 47, 87, 0.06);
}

.icon-wrap {
  width: 64px;
  height: 64px;
  background: #e7f5f0;
  color: var(--loan-teal);
  font-size: 1.45rem;
}

.icon-wrap::after {
  border-color: rgba(11, 143, 135, 0.15);
}

.why-subtitle {
  color: var(--loan-navy);
}

.why-card p {
  color: #60717b;
  font-size: 0.92rem;
}

/* Keep unrelated home-repair sections out of the student-loan funnel. */
.coverage-section,
.repair-section,
.trusted-section {
  display: none;
}

.cta-2,
.faq-section {
  display: block;
}

.footer {
  background: var(--loan-navy);
  color: rgba(255, 255, 255, 0.72);
  padding-top: 42px;
}

.footer-logo {
  display: none;
}

.footer-text,
.footer-small {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.footer-text strong {
  color: #fff;
}

.footer-links a {
  color: #8de0c4;
}

@media (max-width: 768px) {
  .why-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .why-copy .trusted-title,
  .why-copy .trusted-subtitle {
    text-align: center;
  }

  .hero-section {
    padding: 46px 0 52px;
  }

  #leadForm {
    padding: 24px 18px 26px;
  }

  .brand-lockup {
    font-size: 1.08rem;
  }
}

/* ============================= */
/* RED, WHITE, AND BLUE SPLIT HERO */
/* ============================= */
:root {
  --loan-navy: #123d6b;
  --loan-blue: #0d65ae;
  --loan-teal: #0d65ae;
  --loan-cream: #f5f8fc;
  --loan-coral: #c92d3d;
}

body {
  background: var(--loan-cream);
}

.header {
  padding: 0;
  line-height: 0;
  border-bottom-color: #eee;
}

.header .logo {
  width: min(430px, 95vw);
  max-width: 300px;
  max-height: 120px;
  display: block;
  margin: 0 auto;
  height: auto;
  object-fit: contain;
}

.brand-lockup strong,
.brand-mark,
.coverage-banner i,
.custom-input .input-group-text:not(.validation-icon) i,
.icon-wrap {
  color: var(--loan-blue);
}

.brand-mark {
  background: var(--loan-blue);
}

.top-bar {
  background: #b10000;
  padding: 6px;
}

.top-bar h2 {
  font-size: 1.5rem;
  line-height: 1.25;
}

.top-bar i {
  color: #fff;
}

.coverage-banner {
  background: #eef4fa;
  border-bottom-color: #d8e4f0;
  color: var(--loan-navy);
}

.hero-section {
  padding: 28px 0 34px;
  background:
    linear-gradient(118deg, rgba(62, 62, 62, 0.7), rgba(82, 82, 82, 0.78)),
    url('../images/hero.webp') center/cover no-repeat;
}

.hero-overlay {
  background: transparent;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 500px);
  grid-template-areas: "copy form";
  column-gap: clamp(42px, 7vw, 94px);
  align-items: start;
  max-width: 1160px;
  text-align: left;
}

.hero-top-content {
  grid-area: copy;
  max-width: 540px;
  margin: 0;
}

.loan-promos {
  display: grid;
  gap: 20px;
  margin-top: 0;
  max-width: 500px;
}

.loan-promo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.35;
}

.loan-promo strong {
  font-weight: 800;
}

.loan-promo-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border: 0;
  border-radius: 50%;
  background: #ffc400;
  color: #333;
  font-size: 1.25rem;
}

.loan-promo:nth-child(1) .loan-promo-icon {
  background: #ff713f;
}

.loan-promo:nth-child(2) .loan-promo-icon {
  border-radius: 4px;
  background: #42d6df;
}

.loan-promo:nth-child(3) .loan-promo-icon {
  background: #ffc400;
}

.loan-promo:nth-child(4) .loan-promo-icon {
  border-radius: 0;
  background: #19d979;
}

.hero-provider-note {
  display: grid;
  gap: 5px;
  max-width: 500px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.94rem;
  line-height: 1.5;
  text-align: left;
}

.hero-provider-note strong {
  color: #fff;
  font-size: 1rem;
}

#leadForm .form-consultation-note {
  display: grid;
  gap: 3px;
  margin: 0 auto 14px;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 0.78rem;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-align: center;
}

#leadForm .form-consultation-note span {
  color: rgba(255, 255, 255, 0.9) !important;
}

#leadForm .form-consultation-note strong {
  color: #fff !important;
  font-size: 0.9rem;
}

.eyebrow {
  color: #fff !important;
}

.main-headline {
  margin: 0 0 26px;
  color: #fff !important;
  font-size: clamp(1.9rem, 3.1vw, 3.2rem);
  font-weight: 500;
  line-height: 1.14;
  text-align: left;
  max-width: 600px;
}

.headline-intro,
.headline-highlight {
  display: block;
  white-space: normal;
}

.headline-highlight {
  margin-top: 8px;
  color: #ffc400 !important;
  font-size: 1.05em;
  font-weight: 800;
}

.hero-description {
  margin: 0;
  color: rgba(255, 255, 255, 0.9) !important;
}

.form-progress {
  grid-area: progress;
  width: 100%;
  max-width: none;
  margin: 0 0 12px;
  display: none;
}

.form-progress-bar {
  background: var(--loan-coral);
}

#leadForm {
  grid-area: form;
  width: 100%;
  max-width: none;
  padding: 30px 32px 28px;
  border-top: 5px solid var(--loan-coral);
  border-radius: 3px;
  box-shadow: 0 18px 42px rgba(5, 35, 68, 0.22);
}

#leadForm .step {
  display: block;
  text-align: left;
  animation: none;
}

#leadForm .step:not(:first-child) {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

#leadForm .step h2,
#leadForm .step h3 {
  text-align: left;
}

#leadForm .step:not(:first-child) h2 {
  display: none;
}

.form-kicker {
  margin: 0 0 6px;
  color: #b10000 !important;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-align: left;
}

.form-title {
  margin: 0 0 20px;
  color: #123d6b !important;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
}

#leadForm .step-next-btn,
#leadForm .prev-btn {
  display: none;
}

#leadForm .submit-btn {
  display: block;
}

#leadForm .form-area {
  max-width: none;
  margin-top: 0;
}

#leadForm #step1 .form-area {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}

#leadForm #step1 .form-area > .custom-input,
#leadForm #step1 .form-area > .field-error,
#leadForm #step1 .form-area > .step-next-btn {
  grid-column: 1 / -1;
}

.loan-field {
  min-width: 0;
}

.loan-field label {
  display: block;
  margin: 0 0 5px;
  color: #53687b;
  font-size: 0.76rem;
  font-weight: 600;
}

.loan-select {
  width: 100%;
  min-height: 48px;
  padding: 0 11px;
  border: 1px solid #d3dfeb;
  border-radius: 3px;
  color: #123d6b;
  background: #fff;
  font-size: 0.88rem;
}

.loan-select:focus {
  border-color: #0d65ae;
  outline: 2px solid rgba(13, 101, 174, 0.12);
}

.loan-field .field-error {
  width: auto;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

#leadForm .step:not(:first-child) .form-area {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 12px;
}

#leadForm .step:not(:first-child) .form-area > .mb-2,
#leadForm .step:not(:first-child) .form-area > .email-suggestion-wrap,
#leadForm .step:not(:first-child) .form-area > .hp-select,
#leadForm .step:not(:first-child) .form-area > .disclaimer,
#leadForm .step:not(:first-child) .form-area > .submit-btn,
#leadForm .step:not(:first-child) .form-area > .field-error {
  grid-column: 1 / -1;
}

#leadForm .step:not(:first-child) .form-area > .input-group,
#leadForm .step:not(:first-child) .form-area > .input-group + .field-error {
  grid-column: 1 / -1;
}

#leadForm .step:not(:first-child) .form-area > .mb-2:has(#firstname),
#leadForm .step:not(:first-child) .form-area > .mb-2:has(#lastname) {
  grid-column: span 1;
}

#leadForm .step:not(:first-child) .form-area > .email-suggestion-wrap,
#leadForm .step:not(:first-child) .form-area > .hp-select {
  grid-column: span 1;
}

.hp-select label {
  display: block;
  margin-bottom: 5px;
  color: #53687b;
  font-size: 0.76rem;
  font-weight: 600;
}

#leadForm .hp-select {
  display: none !important;
}

.hp-select select {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid #d3dfeb;
  border-radius: 3px;
  color: #123d6b;
  background: #fff;
}

#leadForm .disclaimer {
  display: block;
  margin-top: 12px !important;
  color: #71808e !important;
  font-size: 0.68rem !important;
  line-height: 1.55 !important;
  text-align: left;
}

#leadForm .submit-btn {
  margin-top: 16px !important;
  background: #0d65ae;
  box-shadow: 0 8px 16px rgba(13, 101, 174, 0.24);
}

#leadForm .submit-btn:hover {
  background: #084e89;
  box-shadow: 0 12px 22px rgba(13, 101, 174, 0.3);
}

#leadForm .step:first-child .support-line {
  margin-top: 0;
}

/* Compact eligibility form matching the reference layout. */
#leadForm {
  margin-top: 0;
  padding: 26px 30px 28px;
  background: rgba(7, 31, 61, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(5, 35, 68, 0.32);
  backdrop-filter: blur(6px);
}

#leadForm .form-kicker {
  display: none;
}

#leadForm .form-title {
  max-width: none;
  margin: 0 auto 5px;
  color: #fff !important;
  font-size: 1.15rem;
  line-height: 1.2;
  letter-spacing: 0;
  white-space: normal;
  text-align: center;
}

#leadForm .form-title-arrow {
  display: inline-block;
  margin-left: 4px;
  color: #fff !important;
  font-size: 0.9em;
  transform: translateY(1px);
}

#leadForm .form-title span {
  color: #fff !important;
}

.form-confidential {
  margin: 0 0 16px;
  color: #1b1b1b !important;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
}

#leadForm #step1 .form-area {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 16px;
}

#leadForm #step1 .form-area > .form-field-with-icon {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  min-width: 0;
}

#leadForm #step1 .form-area > .form-field-with-icon > i {
  position: absolute;
  top: 22px;
  left: 15px;
  z-index: 1;
  color: #0d65ae;
  font-size: 0.95rem;
  pointer-events: none;
  transform: translateY(-50%);
}

#leadForm #step1 .form-area > .form-control,
#leadForm #step1 .form-area > select,
#leadForm #step1 .form-area > .form-field-with-icon > .form-control,
#leadForm #step1 .form-area > .form-field-with-icon > select {
  width: 100%;
  min-width: 0;
  height: 44px;
  min-height: 44px;
  padding: 7px 15px 7px 42px;
  border: 1px solid #dfe3e8;
  border-radius: 0;
  color: #111;
  background: #fff;
  box-shadow: none;
  font-size: 1rem;
}

#leadForm #step1 .form-area > .form-field-with-icon > .field-error {
  min-height: 0;
  margin: 0;
  text-align: left;
}

#leadForm #step1 .form-area > .form-field-with-icon > .field-error:not(:empty) {
  display: block;
  width: auto;
  padding: 0 2px;
  color: #ff6b6b !important;
  background: transparent;
  border-radius: 0;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.25;
}

#leadForm #step1 .form-area > .form-field-with-icon > .field-error:not(:empty)::before {
  content: "!";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 13px;
  height: 13px;
  margin-right: 4px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.58rem;
  vertical-align: -1px;
}

#leadForm #step1 .form-area > .form-control::placeholder {
  color: #40506a;
  opacity: 1;
}

#leadForm #step1 .form-area > select {
  color: #111;
}

#leadForm #step1 .form-area > select:invalid {
  color: #40506a;
}

#leadForm #step1 .form-area > .form-control:focus,
#leadForm #step1 .form-area > select:focus {
  border-color: #1597e5;
  outline: 0;
  box-shadow: 0 0 0 2px rgba(21, 151, 229, 0.12);
}

#leadForm #step1 .form-area > .field-error {
  grid-column: span 1;
  min-height: 0;
  margin: -3px 0 0;
  font-size: 0.72rem;
  text-align: left;
}

#leadForm #step1 .form-area > .field-error:not(:empty) {
  display: block;
  width: auto;
  padding: 0 2px;
  margin: -3px 0 0;
  color: #ff6b6b !important;
  background: transparent;
  border-radius: 0;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
}

#leadForm #step1 .form-area > .field-error:not(:empty)::before {
  content: "!";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 13px;
  height: 13px;
  margin-right: 4px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.58rem;
  vertical-align: -1px;
}

#leadForm #step1 .form-area > .form-field-with-icon > .form-control.is-invalid,
#leadForm #step1 .form-area > .form-field-with-icon > select.is-invalid {
  border-color: #ff6b6b !important;
  box-shadow: 0 0 0 1px rgba(255, 107, 107, 0.24) !important;
}

#leadForm #step1 .form-area > .form-field-with-icon > .form-control.is-valid,
#leadForm #step1 .form-area > .form-field-with-icon > select.is-valid {
  border-color: #1597e5 !important;
  box-shadow: 0 0 0 1px rgba(21, 151, 229, 0.16) !important;
}

#leadForm #step1 .form-area > .form-field-with-icon:has(.is-invalid) > i {
  color: #ff6b6b;
}

#leadForm #step1 .form-area > .form-field-with-icon:has(.is-valid) > i {
  color: #1597e5;
}

#leadForm #step1 .form-area > .loan-type-field,
#leadForm #step1 .form-area > .loan-type-field + .field-error,
#leadForm #step1 .form-area > .form-field-with-icon.loan-type-field {
  grid-column: 1 / -1;
}

#leadForm .disclaimer {
  max-width: 570px;
  margin: 14px auto 0 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 0.72rem !important;
  line-height: 1.45 !important;
  text-align: center;
}

#leadForm .submit-btn {
  width: 100%;
  min-height: 58px;
  margin-top: 16px !important;
  border-radius: 999px;
  background: #1299ed;
  box-shadow: none;
  font-size: 1.05rem;
}

#leadForm .submit-btn:hover {
  background: #0785d3;
  box-shadow: none;
}

.support-line,
.final-title {
  color: var(--loan-navy) !important;
}

.custom-input:has(.is-invalid) {
  border-color: #c92d3d;
}

.custom-input:has(.is-valid) {
  border-color: #16805b;
}

.btn-main {
  background: var(--loan-coral);
  box-shadow: 0 8px 16px rgba(201, 45, 61, 0.24);
}

.btn-main:hover {
  background: #aa2030;
  box-shadow: 0 12px 22px rgba(201, 45, 61, 0.3);
}

.icon-wrap {
  background: #e7eff8;
}

.icon-wrap::after {
  border-color: rgba(13, 101, 174, 0.15);
}

@media (max-width: 768px) {
  .hero-section {
    padding: 30px 0 38px;
  }

  .hero-content {
    display: flex;
    max-width: 760px;
    text-align: left;
  }

  .hero-top-content {
    max-width: 100%;
    margin-bottom: 28px;
  }

  .main-headline {
    max-width: 100%;
    text-align: left;
    font-size: clamp(2rem, 8vw, 2.8rem);
    line-height: 1.14;
  }

  .headline-intro,
  .headline-highlight {
    white-space: normal;
  }

  .hero-description {
    margin: 0 auto;
  }

  .loan-promos {
    margin: 28px auto 0;
    text-align: left;
  }

  .form-progress {
    margin-bottom: 12px;
  }

  #leadForm {
    max-width: 540px;
  }

  #leadForm .form-title {
    font-size: 1rem;
    line-height: 1.2;
    white-space: normal;
  }

  .form-confidential {
    font-size: 0.98rem;
  }

  #leadForm #step1 .form-area,
  #leadForm .step:not(:first-child) .form-area {
    grid-template-columns: 1fr;
  }

  #leadForm #step1 .form-area > .form-field-with-icon:has(#firstname) { order: 1; }
  #leadForm #step1 .form-area > #error-firstname { order: 2; }
  #leadForm #step1 .form-area > .form-field-with-icon:has(#lastname) { order: 3; }
  #leadForm #step1 .form-area > #error-lastname { order: 4; }
  #leadForm #step1 .form-area > .form-field-with-icon:has(#email) { order: 5; }
  #leadForm #step1 .form-area > #error-email { order: 6; }
  #leadForm #step1 .form-area > .form-field-with-icon:has(#phone) { order: 7; }
  #leadForm #step1 .form-area > #error-phone { order: 8; }
  #leadForm #step1 .form-area > .form-field-with-icon:has(#zip) { order: 9; }
  #leadForm #step1 .form-area > #error-zip { order: 10; }
  #leadForm #step1 .form-area > .form-field-with-icon:has(#debt_amount) { order: 11; }
  #leadForm #step1 .form-area > #error-debt_amount { order: 12; }
  #leadForm #step1 .form-area > .form-field-with-icon:has(#loan_type) { order: 13; }
  #leadForm #step1 .form-area > #error-loan_type { order: 14; }

  #leadForm .step:not(:first-child) .form-area > .mb-2:has(#firstname),
  #leadForm .step:not(:first-child) .form-area > .mb-2:has(#lastname),
  #leadForm .step:not(:first-child) .form-area > .email-suggestion-wrap,
  #leadForm .step:not(:first-child) .form-area > .hp-select {
    grid-column: 1 / -1;
  }
}
  
  /* ============================= */
/* WINDOW SECTION */
/* ============================= */
.coverage-section {
  background: linear-gradient(180deg, #f8fafc, #eef3f8);
  padding: 34px 0;
}

/* TITLE */
.coverage-title {
  font-weight: 700;
  margin-bottom: 10px;
  color: #0d3b66; /* deep blue */
}

.coverage-subtitle {
  font-size: 15px;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto 20px;
}

.coverage-layout {
  margin-top: 8px;
}

.coverage-media {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(13, 59, 102, 0.12);
  box-shadow: 0 8px 24px rgba(15, 35, 70, 0.1);
}

.coverage-media img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.2s ease, transform 0.25s ease;
}

.coverage-media img.is-swapping {
  opacity: 0.2;
  transform: scale(1.015);
}

.coverage-checklist-title {
  color: #0d3b66;
  font-weight: 700;
  margin-bottom: 14px;
}

.coverage-checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}

.coverage-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.coverage-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: #384355;
  font-size: 1rem;
  line-height: 1.4;
  transition: none;
  cursor: default;
}

.coverage-checklist li i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #26b36a;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  flex-shrink: 0;
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */
@media (max-width: 992px) {
  .coverage-title {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .coverage-title {
    font-size: 26px;
    margin-bottom: 8px;
  }

  .coverage-subtitle {
    margin-bottom: 20px;
  }

  .coverage-layout {
    margin-top: 4px;
  }

  .coverage-checklist-title {
    margin-top: 12px;
  }

  .coverage-checklist-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .coverage-checklist li {
    margin-bottom: 6px;
    padding: 7px 8px;
  }
}

@media (max-width: 480px) {
  .coverage-checklist li {
    font-size: 0.95rem;
  }
}
  /* ============================= */
  /* CTA */
  /* ============================= */
  .cta-section {
    background: #102a43;
    color: #ffffff;
    padding: 64px 0 68px;
    border-top: 5px solid #8de0c4;
  }

  .cta-promo-grid {
    display: grid;
    grid-template-columns: minmax(240px, 320px) 1fr;
    align-items: start;
    gap: 42px;
  }

  .cta-promo-title {
    font-size: clamp(2rem, 3vw, 3.15rem);
    line-height: 1.08;
    color: #ffffff;
    font-weight: 700;
    margin: 12px 0 16px;
    max-width: 300px;
  }

  .cta-promo-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #c7d9e8;
    margin-bottom: 12px;
    max-width: 290px;
  }

  .cta-promo-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .repair-card {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #dce8ee;
    box-shadow: 0 10px 24px rgba(3, 20, 38, 0.18);
    padding: 24px 22px 25px;
    text-align: left;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  .repair-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 26, 48, 0.18);
  }

  .repair-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: #e4f7f0;
    color: #087f6c;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 18px;
    font-size: 1.35rem;
  }

  .repair-card h3 {
    color: #123d6b;
    font-size: 1.3rem;
    line-height: 1.25;
    font-weight: 700;
    margin: 0 0 9px;
  }

  .repair-label {
    color: #c24349;
    font-size: 1.15rem;
    margin: 0;
    line-height: 1.2;
  }

  .repair-range {
    color: #53687b;
    font-weight: 400;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.55;
  }

  @media (max-width: 1200px) {
    .cta-promo-cards {
      grid-template-columns: repeat(2, minmax(160px, 1fr));
      gap: 14px;
    }

    .repair-card h3 {
      font-size: 1.25rem;
    }

    .repair-label {
      font-size: 0.95rem;
    }

    .repair-range {
      font-size: 0.92rem;
    }
  }

  @media (max-width: 992px) {
    .cta-promo-grid {
      grid-template-columns: 1fr;
      gap: 22px;
    }

    .cta-promo-copy {
      text-align: center;
    }

    .cta-promo-title,
    .cta-promo-text {
      max-width: none;
      margin-left: auto;
      margin-right: auto;
    }

    .cta-promo-cards {
      grid-template-columns: repeat(2, minmax(180px, 1fr));
    }
  }

  @media (max-width: 640px) {
    .cta-section {
      padding: 34px 0;
    }

    .cta-promo-cards {
      grid-template-columns: 1fr;
    }

  }
  
/* ============================= */
/* CTA 2 - DARK RED (FIXED) */
/* ============================= */
.cta-2 {
  background: linear-gradient(135deg, #b30000, #7a0000);
  color: #fff;
  padding: 42px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* FIXED OVERLAY */
.cta-2::after {
  content: "";
  position: absolute;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 60%);
  top: -20%;
  left: -20%;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

/* KEEP CONTENT ABOVE */
.cta-2 .container {
  position: relative;
  z-index: 2;
}

/* BUTTON */
.cta-2 .btn-main {
  width: auto;
  background: #ffffff;
  color: #b30000;
}

.cta-2 .btn-main:hover {
  background: #f1f3f5;
  color: #7a0000;
}
  /* ============================= */
  /* TRUSTED */
  /* ============================= */
  /* TRUSTED SECTION */
.trusted-section {
  background: #ffffff;
  padding: 36px 0;
}

.trusted-title {
  font-weight: 700;
  color: #0d3b66; /* deep blue */
  margin-bottom: 12px;
}

.trusted-subtitle {
  font-size: 1rem;
  line-height: 1.6;
  color: #5f6877;
  max-width: 920px;
  margin: 0 auto;
}

/* CARD */
.trusted-card {
  background: #fff;
  padding: 18px 18px 20px;
  border-radius: 14px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(13, 59, 102, 0.1);
  height: 100%;
  box-shadow: 0 8px 24px rgba(15, 35, 70, 0.06);
}

.trusted-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(15, 35, 70, 0.14);
}


.trusted-image {
  width: 100%;
  height: 140px;
  object-fit: cover;
  object-position: center top;
  border-radius: 10px;
  margin-bottom: 14px;
  display: block;
}

/* NUMBER */
.trusted-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #0d3b66;
}

/* TEXT */
.trusted-card p {
  font-size: 0.96rem;
  line-height: 1.65;
  color: #535d6b;
  margin: 0;
}

/* MOBILE */
@media (max-width: 768px) {
  .trusted-title {
    font-size: 26px;
  }

  .trusted-subtitle {
    font-size: 0.95rem;
  }

  .trusted-card {
    padding: 16px 14px 18px;
  }

  .trusted-image {
    height: 120px;
  }
}
  /* ============================= */
  /* FAQ */
  /* ============================= */
  .faq-section {
    background: #f4f7fb;
    padding: 42px 0;
  }

  .faq-intro {
    margin-bottom: 20px;
  }

  .faq-intro p {
    color: #5f6877;
    margin: 10px 0 0;
  }

  .faq-title{color: #0d3b66; font-weight: 700;}

  .faq-list {
    max-width: 860px;
    margin: 0 auto;
  }

  .faq-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 12px;
    border: 1px solid rgba(13, 59, 102, 0.12);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
  }

  .faq-item:hover {
    border-color: rgba(177, 0, 0, 0.3);
    box-shadow: 0 8px 22px rgba(15, 35, 70, 0.08);
  }

  .faq-item summary {
    padding: 18px 22px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    color: #0d3b66;
    list-style: none;
  }

  .faq-item summary::after {
    content: '+';
    color: #b10000;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1;
  }

  .faq-item[open] summary::after {
    content: '−';
  }

  .faq-item summary::-webkit-details-marker {
    display: none;
  }

  .faq-item p {
    color: #535d6b;
    line-height: 1.6;
    padding: 0 22px 20px;
    margin: 0;
  }

  @media (max-width: 768px) {
    .faq-section {
      padding: 42px 0;
    }

    .faq-title {
      font-size: 26px;
    }

    .faq-item summary {
      padding: 16px;
      font-size: 0.98rem;
    }

    .faq-item p {
      padding: 0 16px 18px;
      font-size: 0.94rem;
    }
  }
  
  /* ============================= */
  /* FOOTER */
  /* ============================= */
  .footer {
    width: 100%;
    margin: 0;
    background: #102a43;
    color: rgba(255, 255, 255, 0.78);
    padding: 56px 20px 28px;
  }

  .footer-logo {
    display: block;
    width: min(300px, 90vw);
    max-height: 88px;
    margin: 0 auto 24px;
    height: auto;
    object-fit: contain;
  }

  .footer-text,
  .footer-copy,
  .footer-small,
  .footer-links {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-text {
    line-height: 1.7;
  }

  .footer-copy {
    margin-top: 24px;
  }

  .footer-small {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.88rem;
    line-height: 1.6;
  }
  
  .footer-links a {
    color: #8de0c4;
  }
  
  /* ============================= */
  /* MOBILE */
  /* ============================= */
  @media (max-width: 768px) {
    .main-headline {
      font-size: 28px;
    }

    .logo {
      width: min(320px, 92vw);
      max-height: 92px;
    }

    .footer-logo {
      width: min(240px, 88vw);
      max-height: 72px;
    }
  
    .img-card img {
      height: 100px;
    }
  }

  /* ============================= */
/* SUB HERO (PAGE TITLE ONLY) */
/* ============================= */
.sub-hero {
  background: #0d3b66;
  color: #fff;
  padding: 40px 20px;
}

.sub-hero h1 {
  font-size: 32px;
  margin-bottom: 5px;
}

.sub-hero p {
  opacity: 0.9;
  font-size: 14px;
}

/* ============================= */
/* CLEAN THANK YOU SECTION */
/* ============================= */
.thank-clean {
  background: #f5f7fa;
  padding: 56px 20px;
}

/* Reduce spacing when two thank sections stack */
.thank-clean + .thank-clean {
  padding-top: 20px;
}

.thank-clean-main {
  padding-top: 24px;
  padding-bottom: 12px;
}

.thank-clean-main .thank-card {
  max-width: 920px;
  width: 100%;
}

.thank-heading-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* CARD */
.thank-card {
  background: #fff;
  padding: 22px 28px;
  border-radius: 16px;
  width: 100%;
  max-width: 920px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  box-sizing: border-box;
}

/* ICON */
.success-icon {
  font-size: 46px;
  color: #28a745;
}

/* MINI STEPS */
.mini-step {
  font-size: 14px;
  color: #555;
}

.mini-step i {
  font-size: 22px;
  color: #0d6efd;
  display: block;
  margin-bottom: 8px;
}

.thank-main-title,
.promo-main-title {
  font-size: 2rem;
  line-height: 1.2;
}

.thank-buyer-logo-wrap {
  background-color: #ffffff;
  padding: 0;
  border-radius: 8px;
  margin-bottom: 0;
  line-height: 0;
}

.thank-buyer-logo {
  width: min(100%, 250px);
  height: auto;
  display: block;
  margin: 0 auto;
}

.thank-clean-promo {
  padding-top: 0;
}

.thank-clean-promo .thank-card {
  max-width: 920px;
  width: 100%;
}

.promo-offer-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.promo-offer-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  grid-template-areas:
    "image title"
    "image copy";
  column-gap: 22px;
  row-gap: 10px;
  align-items: start;
  text-align: left;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid #e3e7ee;
  background: #f8fbff;
  min-height: 220px;
}

.promo-offer-title {
  grid-area: title;
  margin: 0;
  font-size: 1.25rem;
}

.promo-offer-image {
  grid-area: image;
  min-height: 100%;
  border-radius: 16px;
  border: 2px dashed #c5cfdd;
  background: #eef3fb;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #355073;
  font-weight: 600;
  text-align: center;
  padding: 10px;
}

.promo-offer-image i {
  font-size: 34px;
}

.promo-offer-image span {
  font-size: 14px;
}

.promo-offer-image.has-photo {
  position: relative;
  padding: 0;
  overflow: hidden;
  border-style: solid;
  border-radius: 16px;
  line-height: 0;
}

.promo-offer-image.has-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.promo-offer-copy {
  grid-area: copy;
}

.promo-offer-copy p {
  margin: 0 0 14px;
}

.thank-clean-promo a.btn-main:hover,
.thank-clean-promo a.btn-main:focus,
.thank-clean-promo a.btn-main:active {
  color: #fff !important;
}

.thank-clean-promo a.btn-main::after {
  content: " \2192";
  display: inline-block;
  margin-left: 6px;
}

/* MOBILE */
@media (max-width: 768px) {
  .thank-card {
    padding: 35px 20px;
  }

  .thank-main-title,
  .promo-main-title {
    font-size: 1.65rem;
  }

  .promo-offer-row {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "image"
      "copy";
    row-gap: 12px;
  }

  .promo-offer-image {
    min-height: 140px;
  }

  .thank-buyer-logo {
    width: min(100%, 280px);
  }

  .promo-offer-image i {
    font-size: 26px;
  }

  .promo-offer-image span {
    font-size: 12px;
  }

  .sub-hero h1 {
    font-size: 24px;
  }
}