:root {
    --primary:       #1e4d8c;
    --primary-dark:  #0f2d5c;
    --primary-light: #2563eb;
    --accent:        #60a5fa;
    --text-dark:     #1e293b;
    --bg-light:      #f0f4ff;
    --border-light:  rgba(255,255,255,0.2);
}

* { box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    margin: 0;
}

h1, h2, h3, h4, h5, h6,
.logo-text, .btn-search, .btn-cookie,
.nav-link-item, .section-title {
    font-family: 'Poppins', sans-serif;
}

.contact-hero {
  position: relative;
  padding: 70px 20px;
  background:
    radial-gradient(circle at 15% 70%, rgba(89, 139, 255, 0.22) 0, rgba(89, 139, 255, 0.22) 18%, transparent 19%) no-repeat,
    radial-gradient(circle at 82% 20%, rgba(130, 175, 255, 0.16) 0, rgba(130, 175, 255, 0.16) 20%, transparent 21%) no-repeat,
    linear-gradient(135deg, #0e2c78 0%, #183d95 45%, #4d90f0 100%);
  overflow: hidden;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.18) 1.2px, transparent 1.2px);
  background-size: 32px 32px;
  opacity: 0.45;
  pointer-events: none;
}

.contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0%, transparent 35%, rgba(255,255,255,0.05) 36%, transparent 37%, transparent 100%);
  pointer-events: none;
}

.contact-card {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: 34px 32px 38px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(41, 67, 140, 0.68), rgba(93, 156, 255, 0.32));
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.14),
    0 20px 50px rgba(5, 19, 59, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background:
    radial-gradient(circle at 16% 35%, rgba(255,255,255,0.14), transparent 22%),
    radial-gradient(circle at 72% 52%, rgba(255,255,255,0.08), transparent 28%);
  pointer-events: none;
}

.contact-card h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  text-align: center;
  font-size: 44px;
  line-height: 1.1;
  font-weight: 800;
  color: #fff;
}

.contact-subtitle {
  position: relative;
  z-index: 1;
  margin: 0 0 30px;
  text-align: center;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}

.contact-form {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
}

.contact-field {
  display: flex;
  flex-direction: column;
}

.contact-field--full {
  grid-column: 1 / -1;
}

.contact-field label {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 700;
  color: #fff;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: #f3f4f7;
  color: #1d2742;
  font-size: 16px;
  font-weight: 500;
  padding: 16px 18px;
  outline: none;
  box-sizing: border-box;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-field input {
  height: 56px;
}

.contact-field textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #6d7487;
}

.contact-field input:focus,
.contact-field textarea:focus {
  box-shadow: 0 0 0 3px rgba(102, 164, 255, 0.28);
  transform: translateY(-1px);
}

.contact-submit {
  grid-column: 1 / -1;
  justify-self: start;
  min-width: 260px;
  height: 56px;
  padding: 0 28px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(90deg, #295de8 0%, #61a6ff 100%);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(32, 92, 231, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(32, 92, 231, 0.36);
}

.contact-submit:active {
  transform: translateY(0);
}

@media (max-width: 900px) {
  .contact-card h2 {
    font-size: 34px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-submit {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 600px) {
  .contact-hero {
    padding: 48px 14px;
  }

  .contact-card {
    padding: 24px 18px 26px;
    border-radius: 18px;
  }

  .contact-card h2 {
    font-size: 28px;
  }

  .contact-subtitle {
    font-size: 16px;
    margin-bottom: 22px;
  }

  .contact-field label {
    font-size: 15px;
  }

  .contact-field input,
  .contact-field textarea {
    font-size: 15px;
    padding: 14px 16px;
  }

  .contact-submit {
    height: 52px;
    font-size: 18px;
  }
}

/* ── FRAUD WARNING BAR ───────────────────────────────── */
.fraud-warning-bar {
    background: #1a3868;
    color: #fef2f2;
    font-size: 0.82rem;
    padding: 7px 0;
    text-align: center;
    line-height: 1.5;
}
.fraud-warning-bar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
}
.fraud-warning-bar i { color: #fca5a5; flex-shrink: 0; }
.fraud-warning-bar a {
    color: #fbbf24;
    font-weight: 700;
    text-decoration: underline;
    white-space: nowrap;
    margin-left: 4px;
}
.fraud-warning-bar a:hover { color: #fde68a; }

/* ── NAVBAR ─────────────────────────────────────────── */
.site-navbar {
    background: var(--primary-dark);
    padding: 20px 0;
}

.site-navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.navbar-logo {
    height: 38px;
    width: auto;
    display: block;
}

.logo-text {
    color: #ffffff;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    line-height: 1;
}

.logo-text span {
    color: var(--accent);
}

.site-navbar .navbar-toggler {
    border: 1px solid rgba(255,255,255,0.4);
    padding: 4px 8px;
}

.site-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link-item {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 6px 18px !important;
    letter-spacing: 0.2px;
    transition: color 0.2s;
}

.nav-link-item:hover {
    color: var(--accent) !important;
}

.nav-link-item.btn-outline-nav {
    border: 1px solid rgba(255,255,255,0.45);
    border-radius: 6px;
    margin-left: 8px;
}

.nav-link-item.btn-outline-nav:hover {
    background: rgba(255,255,255,0.1);
}

/* ── HERO ─────────────────────────────────────────────── */
.hero-section {
    background:
        /* dot grid — larger, more visible dots */
        url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='2' fill='%23ffffff' fill-opacity='0.22'/%3E%3C/svg%3E"),
        /* main gradient */
        linear-gradient(140deg, #040d2a 0%, #0c1e4a 28%, #123072 60%, #1e4d8c 80%, #2e6fd4 100%);
    padding: 80px 0 90px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

/* large ring arc — top right, much more visible */
.hero-section::before {
    content: '';
    position: absolute;
    top: -180px;
    right: -180px;
    width: 680px;
    height: 680px;
    border-radius: 50%;
    border: 70px solid rgba(255,255,255,0.18);
    box-shadow:
        inset 0 0 0 55px rgba(255,255,255,0.07),
        0 0 0 55px rgba(255,255,255,0.07),
        0 0 0 120px rgba(255,255,255,0.04);
    pointer-events: none;
}

/* bottom-left accent circle */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    border: 50px solid rgba(96,165,250,0.22);
    background: radial-gradient(circle, rgba(96,165,250,0.14) 0%, transparent 65%);
    pointer-events: none;
}

/* floating glow blobs */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(55px);
    pointer-events: none;
    z-index: 0;
}
.hero-blob-1 {
    width: 420px; height: 420px;
    background: rgba(37,99,235,0.45);
    top: -140px; left: -100px;
}
.hero-blob-2 {
    width: 300px; height: 300px;
    background: rgba(96,165,250,0.38);
    bottom: -70px; right: 6%;
}
.hero-blob-3 {
    width: 200px; height: 200px;
    background: rgba(147,197,253,0.30);
    top: 30%; left: 48%;
}

/* inline SVG geometric shapes */
.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

/* wave divider at bottom of hero */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    pointer-events: none;
}
.hero-wave svg {
    display: block;
    width: 100%;
}

.hero-section h1 {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
    margin-bottom: 32px;
    position: relative;
}

@media (max-width: 767px) {
    .hero-section h1 { font-size: 1.85rem; }
}

/* ── FORM CARD ─────────────────────────────────────────── */
.loan-form-card {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 14px;
    padding: 32px;
    backdrop-filter: blur(6px);
    position: relative;
}

.loan-form-card h2 {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.1px;
    color: #fff;
    margin-bottom: 24px;
}

.loan-form-card label {
    font-weight: 600;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.92);
    margin-bottom: 6px;
    display: block;
    height: 42px;
}

.loan-form-card .form-control,
.loan-form-card .form-select {
    border-radius: 8px;
    border: 1.5px solid rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.95);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    height: 48px;
    color: var(--text-dark);
}

.loan-form-card .form-control:focus,
.loan-form-card .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(96,165,250,0.25);
}

.loan-form-card .input-group-text {
    background: #fff;
    border: 1.5px solid rgba(255,255,255,0.35);
    border-right: none;
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--primary);
}

.loan-form-card .input-group .form-control {
    border-left: none;
}

.btn-search {
    background: linear-gradient(135deg, #1d4ed8, #60a5fa);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1.5px;
    padding: 14px 28px;
    width: 100%;
    margin-top: 0;
    transition: opacity 0.2s, transform 0.1s;
    box-shadow: 0 4px 15px rgba(37,99,235,0.4);
    white-space: wrap;
     height: fit-content;
     display: inline-block;
     cursor: pointer;
}

.btn-search a {
    text-decoration: none;
    color: #fff;
}

.btn-search:hover {
    opacity: 0.92;
    transform: translateY(-1px);
    color: #fff;
}

.safe-search-note {
    text-align: center;
    margin-top: 10px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.85);
    font-weight: 600;
}

.safe-search-note i {
    color: var(--accent);
    margin-right: 5px;
}

/* ── WHY SECTION ──────────────────────────────────────── */
.why-section {
    background: #fff;
    padding: 70px 0;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: var(--text-dark);
    margin-bottom: 40px;
    position: relative;
}

.alt-heading {
    font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.25;
  margin-bottom: 24px;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-light);
    border-radius: 2px;
    margin-top: 12px;
    margin-left: auto;
    margin-right: auto;
}

.text-center .section-title::after {
    margin-left: auto;
    margin-right: auto;
}

.benefit-card {
    text-align: center;
    padding: 32px 24px;
    border-radius: 14px;
    background: var(--bg-light);
    height: 100%;
    transition: box-shadow 0.25s, transform 0.25s;
}

.benefit-card:hover {
    box-shadow: 0 8px 30px rgba(30,77,140,0.12);
    transform: translateY(-4px);
}

.benefit-icon {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.2rem;
    color: #fff;
}

.benefit-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-dark);
    line-height: 1.5;
}

/* ── LENDERS TICKER ────────────────────────────────── */
.lenders-section {
    background: var(--bg-light);
    padding: 65px 0;
}

.ticker-track-wrap {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.ticker-track {
    gap: 8px;
    display: flex;
    width: max-content;
    animation: ticker-scroll 30s linear infinite;
}

.ticker-track:hover {
    animation-play-state: paused;
}

@keyframes ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.lender-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 10px;
    padding: 16px 20px;
    height: 84px;
    width: 160px;
    flex-shrink: 0;
    border: 1px solid #dbeafe;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: box-shadow 0.25s, transform 0.25s;
}

.lender-logo-wrap:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.lender-logo-wrap img {
    max-height: 46px;
    max-width: 120px;
    width: auto;
    object-fit: contain;
    filter: grayscale(40%) opacity(0.85);
    transition: filter 0.25s;
}

.lender-logo-wrap:hover img {
    filter: grayscale(0%) opacity(1);
}

/* ── PURPOSES SECTION ─────────────────────────────────── */
.purposes-section {
    background: #fff;
    padding: 70px 0;
}

.purposes-section .lead-text {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 780px;
    margin: 0 auto 40px;
}

.purpose-card {
    text-align: center;
    padding: 28px 16px 22px;
    border-radius: 12px;
    border: 2px solid #dbeafe;
    cursor: pointer;
    transition: all 0.25s;
    background: #fff;
}

.purpose-card:hover,
.purpose-card.selected {
    border-color: var(--primary-light);
    background: var(--bg-light);
    box-shadow: 0 4px 20px rgba(30,77,140,0.12);
}

.purpose-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 1.9rem;
    color: #fff;
}

.purpose-card h3 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--primary-dark);
    margin: 0;
}

/* ── CREDIT SCORE SECTION ───────────────────────────── */
.credit-score-section {
    background: #fff;
    padding: 80px 0;
}

.credit-score-section .cs-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.25;
    margin-bottom: 24px;
}

.credit-score-section .cs-heading span {
    color: var(--primary-light);
}

.credit-score-section .cs-lead {
    font-size: 1rem;
    color: #444;
    line-height: 1.85;
    margin-bottom: 16px;
}

.cs-shield-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 36px;
}

.cs-shield {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #fff;
    box-shadow: 0 8px 30px rgba(30,77,140,0.3);
}

/* Accordion */
.cs-accordion {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}

.cs-accordion li {
    border: 1.5px solid #dbeafe;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.cs-accordion li:hover {
    box-shadow: 0 4px 16px rgba(30,77,140,0.1);
}

.cs-accordion .acc-toggle {
    width: 100%;
    background: #f0f6ff;
    border: none;
    text-align: left;
    padding: 16px 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s;
}

.cs-accordion .acc-toggle:hover {
    background: #eff6ff;
}

.cs-accordion .acc-toggle .acc-icon {
    color: var(--primary-light);
    font-size: 0.85rem;
    transition: transform 0.25s;
    flex-shrink: 0;
    margin-left: 12px;
}

.cs-accordion .acc-toggle.open .acc-icon {
    transform: rotate(180deg);
}

.cs-accordion .acc-body {
    display: none;
    padding: 0 20px 18px;
    background: #fff;
}

.cs-accordion .acc-body.show {
    display: block;
}

.cs-accordion .acc-body p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.75;
    margin: 10px 0 0;
}

.btn-eligibility {
    background: linear-gradient(135deg, #1d4ed8, #60a5fa);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 24px;
    width: 100%;
    letter-spacing: 0.3px;
    transition: opacity 0.2s, transform 0.1s;
    box-shadow: 0 4px 15px rgba(37,99,235,0.35);
    cursor: pointer;
    white-space: wrap;
    height: fit-content;
    display: inline-block;
}

.btn-eligibility:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    color: #fff;
}

/* ── CHOOSING SECTION ───────────────────────────────── */
.choosing-section {
    background: #ffffff;
    padding: 80px 0;
}

/* Phone mockup */
.phone-mockup-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    width: 240px;
    height: 480px;
    background: #0f172a;
    border-radius: 40px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.25), inset 0 0 0 2px #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    padding: 20px 14px 24px;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: #333;
    border-radius: 3px;
}

.phone-mockup::after {
    content: '';
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: #333;
    border-radius: 2px;
}

.phone-screen {
    margin-top: 28px;
    width: 100%;
    flex: 1;
    background: linear-gradient(160deg, #0f2d5c 0%, #1e4d8c 60%, #2563c8 100%);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    gap: 14px;
}

.phone-screen .ps-title {
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    text-align: center;
    letter-spacing: 0.3px;
}

.phone-screen .ps-amount {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.phone-screen .ps-label {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.65);
    font-weight: 500;
}

.phone-screen .ps-divider {
    width: 80%;
    height: 1px;
    background: rgba(255,255,255,0.15);
}

.phone-screen .ps-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.phone-screen .ps-row-item {
    text-align: center;
}

.phone-screen .ps-row-item .ps-val {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #60a5fa;
}

.phone-screen .ps-row-item .ps-sub {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.55);
}

.phone-screen .ps-btn {
    background: linear-gradient(135deg, #1d4ed8, #60a5fa);
    border: none;
    border-radius: 20px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 8px 20px;
    width: 100%;
    letter-spacing: 0.5px;
}

/* ── COOKIE BANNER ───────────────────────────────────── */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1c2938;
    color: #fff;
    padding: 18px 20px;
    z-index: 9999;
    border-top: 3px solid var(--primary-light);
    display: none;
}

.cookie-banner.show { display: block; }

.cookie-banner p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 12px;
    line-height: 1.6;
}

.cookie-banner a { color: var(--accent); }

.btn-cookie {
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 6px;
    padding: 7px 18px;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-cookie:hover { opacity: 0.88; }

.btn-accept { background: var(--primary-light); color: #fff; }
.btn-reject { background: #4a5568; color: #fff; }
.btn-change { background: transparent; color: rgba(255,255,255,0.8); border: 1px solid rgba(255,255,255,0.3) !important; }

/* ── COOKIE PREFERENCES MODAL ───────────────────────── */
.cookie-modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 10000;
}
.cookie-modal-backdrop.show { display: block; }

.cookie-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10001;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.cookie-modal.show { display: flex; }

.cookie-modal-dialog {
    background: #fff;
    border-radius: 14px;
    width: 100%;
    max-width: 540px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.cookie-modal-header {
    background: var(--primary-dark);
    color: #fff;
    padding: 1.1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cookie-modal-header h2 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: #fff;
}
.cookie-modal-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.8);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
}
.cookie-modal-close:hover { color: #fff; }

.cookie-modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}
.cookie-modal-body > p {
    font-size: 0.88rem;
    color: #4b5563;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.cookie-pref-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f3f4f6;
}
.cookie-pref-row:last-child { border-bottom: none; }
.cookie-pref-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.cookie-pref-info strong {
    font-size: 0.92rem;
    color: var(--text-dark);
}
.cookie-pref-info span {
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.45;
}

/* Toggle switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
    cursor: pointer;
}
.cookie-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.cookie-toggle-slider {
    position: absolute;
    inset: 0;
    background: #d1d5db;
    border-radius: 26px;
    transition: background 0.2s;
}
.cookie-toggle-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.cookie-toggle input:checked + .cookie-toggle-slider { background: var(--primary-light); }
.cookie-toggle input:checked + .cookie-toggle-slider::before { transform: translateX(22px); }
.cookie-toggle input:disabled + .cookie-toggle-slider { background: #93c5fd; cursor: not-allowed; }

.cookie-modal-footer {
    padding: 1rem 1.5rem;
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    border-top: 1px solid #f3f4f6;
    background: #f9fafb;
}
.cookie-modal-footer .btn-cookie { font-size: 0.875rem; padding: 8px 20px; }

/* ── SITE FOOTER ─────────────────────────────────────── */
.site-footer {
    background: #0c1e4a;
    color: rgba(255,255,255,0.75);
    padding: 40px 0;
    font-size: 0.88rem;
}

.site-footer a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer a:hover { color: var(--accent); }

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.3rem 1.4rem;
}

.footer-links a {
    font-size: 0.85rem;
}

.footer-address {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
}

.footer-copy {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
}

.rep-examples {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 1.25rem;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.7;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}
.rep-examples p { margin-bottom: 0.6rem; }
.rep-examples strong { color: rgba(255,255,255,0.65); }

/* ── POLICY PAGES ────────────────────────────────────── */
.policy-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: #fff;
    padding: 60px 0 50px;
}
.policy-hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
}
.policy-hero p {
    font-size: 1rem;
    opacity: 0.85;
    max-width: 680px;
    margin: 0;
}

.policy-body {
    padding: 50px 0 60px;
    background: #fff;
}
.policy-body h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-top: 2rem;
    margin-bottom: 0.6rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--bg-light);
}
.policy-body h2:first-of-type { margin-top: 0; border-top: none; padding-top: 0; }
.policy-body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 1.25rem;
    margin-bottom: 0.4rem;
}
.policy-body p, .policy-body li {
    font-size: 0.95rem;
    line-height: 1.75;
    color: #374151;
}
.policy-body ul { padding-left: 1.4rem; margin-bottom: 1rem; }
.policy-body ul li { margin-bottom: 0.35rem; }
.policy-body a { color: var(--primary-light); }
.policy-body a:hover { color: var(--primary); }
.policy-body address { font-style: normal; line-height: 1.9; font-size: 0.95rem; color: #374151; }

.policy-table-wrap {
    overflow-x: auto;
    margin: 1rem 0 1.5rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}
.policy-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}
.policy-table th {
    background: var(--primary-dark);
    color: #fff;
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
}
.policy-table td {
    padding: 9px 14px;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
    vertical-align: top;
}
.policy-table tr:last-child td { border-bottom: none; }
.policy-table tr:nth-child(even) td { background: #f9fafb; }
.policy-table a { color: var(--primary-light); }

/* ── CONTACT PAGE ────────────────────────────────────── */
.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}
.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid #e5e7eb;
}
.contact-info-list li:first-child { border-top: 1px solid #e5e7eb; }
.contact-info-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    margin-top: 2px;
}
.contact-info-list li > div { display: flex; flex-direction: column; gap: 2px; }
.contact-info-list li strong { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; color: #6b7280; }
.contact-info-list li a,
.contact-info-list li span,
.contact-info-list li address { font-size: 0.97rem; color: var(--text-dark); }
.contact-info-list li a { color: var(--primary-light); text-decoration: none; }
.contact-info-list li a:hover { color: var(--primary); text-decoration: underline; }

.contact-form-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem 2rem;
    box-shadow: 0 2px 16px rgba(30,77,140,0.07);
}
.contact-form-heading {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--bg-light);
}
.contact-form-card .form-label { font-weight: 500; font-size: 0.92rem; }
.contact-form-card .form-control:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 0.2rem rgba(37,99,235,0.18);
}
.contact-form-card .btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    font-weight: 600;
    padding: 0.65rem 1.5rem;
}
.contact-form-card .btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}
@media (max-width: 575px) {
    .contact-form-card { padding: 1.25rem 1rem; }
}

/* ── DISCLAIMERS ─────────────────────────────────────── */
.disclaimer-section {
    background: var(--bg-light);
    padding: 50px 0;
}

.disclaimer-box {
    background: #fff;
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 12px;
    text-align: center;
}

.disclaimer-box p {
    font-size: 0.75rem;
    color: #555;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.75;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* ── SEARCH LOADER OVERLAY ────────────────────────── */
.search-loader {
    position: fixed;
    inset: 0;
    background: rgba(4, 13, 42, 0.82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.search-loader.show {
    opacity: 1;
    pointer-events: all;
}

.search-loader-box {
    background: #fff;
    border-radius: 20px;
    padding: 48px 40px 40px;
    text-align: center;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 24px 80px rgba(0,0,0,0.35);
    animation: loaderPop 0.4s cubic-bezier(0.34,1.56,0.64,1) both;
}

@keyframes loaderPop {
    from { transform: scale(0.8); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}

.loader-spinner {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 6px solid var(--bg-light);
    border-top-color: var(--primary-light);
    animation: spin 0.9s linear infinite;
    margin: 0 auto 28px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loader-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.loader-sub {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 24px;
}

.loader-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.loader-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-light);
    animation: dotBounce 1.2s ease-in-out infinite;
}

.loader-dots span:nth-child(2) { animation-delay: 0.2s; }
.loader-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotBounce {
    0%, 80%, 100% { transform: scale(0.7); opacity: 0.5; }
    40%           { transform: scale(1.2); opacity: 1;   }
}
.is-invalid {
    border-color: #dc3545 !important;
    background-image: none !important;
}

.is-valid {
    border-color: #198754 !important;
    background-image: none !important;
}

.invalid-feedback {
    display: block;
    font-size: 0.8rem;
    color: #dc3545;
    margin-top: 4px;
}

.chip-group .invalid-feedback {
    width: 100%;
    margin-top: 6px;
}

.chip-group input.is-invalid + label {
    border-color: #dc3545;
    color: #dc3545;
}
.nav-link-disabled {
    color: rgba(255,255,255,0.45) !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 6px 18px !important;
    cursor: default;
}

.apply-wrapper {
    padding: 40px 0 70px;
}

.apply-header {
    background: linear-gradient(150deg, #0a1f45 0%, #1e4d8c 55%, #2563c8 100%);
    padding: 40px 0 0;
    color: #fff;
}

.apply-header h1 {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.4px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
    margin-bottom: 8px;
}

@media (max-width: 767px) {
    .apply-header h1 { font-size: 1.65rem; }
}

.apply-header .sub-note {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    font-weight: 600;
    margin-bottom: 6px;
}

.time-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
}

.form-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
    overflow: hidden;
    margin-top: -1px;
}

.form-card-inner {
    padding: 32px 36px 36px;
}

@media (max-width: 575px) {
    .form-card-inner { padding: 24px 18px 28px; }
}

.form-section-heading {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1px;
    color: var(--primary-dark);
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 10px;
    margin-bottom: 22px;
    margin-top: 32px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section-heading:first-child { margin-top: 0; }

.form-section-heading .icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.form-label {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.form-label-main {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-dark);
    margin-bottom: 5px;
    height: 42px;
}

.form-control,
.form-select {
    border-radius: 8px;
    border: 1.5px solid #d1dbd5;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.925rem;
    height: 46px;
    color: var(--text-dark);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}

.input-group-text {
    background: var(--bg-light);
    border: 1.5px solid #d1dbd5;
    border-right: none;
    font-weight: 800;
    color: var(--primary);
}

.input-group .form-control { border-left: none; }

.form-hint {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 4px;
    line-height: 1.4;
}

.dob-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dob-group .form-control {
    text-align: center;
}

.dob-sep {
    font-weight: 800;
    font-size: 1.2rem;
    color: #aaa;
    flex-shrink: 0;
}

.chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip-group input[type="radio"] {
    display: none;
}

.chip-group label {
    cursor: pointer;
    border: 1.5px solid #d1dbd5;
    border-radius: 8px;
    padding: 8px 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.86rem;
    color: var(--text-dark);
    transition: all 0.15s;
    user-select: none;
}

.chip-group input[type="radio"]:checked + label {
    background: var(--primary-light);
    border-color: var(--primary-light);
    color: #fff;
}

.chip-group label:hover {
    border-color: var(--primary-light);
    background: var(--bg-light);
}

.address-note {
    background: #eff6ff;
    border-left: 4px solid var(--primary-light);
    border-radius: 0 8px 8px 0;
    padding: 12px 16px;
    font-size: 0.87rem;
    color: #1e40af;
    font-weight: 600;
    margin-bottom: 20px;
}

.btn-get-results {
    background: linear-gradient(135deg, #1d4ed8, #60a5fa);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1.5px;
    padding: 16px 24px;
    width: 100%;
    margin-top: 8px;
    transition: opacity 0.2s, transform 0.1s;
    box-shadow: 0 4px 18px rgba(37,99,235,0.4);
}

.btn-get-results:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    color: #fff;
}

.tc-text {
    font-size: 0.8rem;
    color: #6c757d;
    line-height: 1.65;
    font-weight: 400;
    margin-top: 16px;
    text-align: center;
}

.tc-text a {
    color: var(--primary);
    font-weight: 700;
}

.phone-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(96,165,250,0.18) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.choosing-section .lead-text {
    color: #555;
    font-size: 1rem;
    line-height: 1.85;
    font-weight: 400;
    margin-bottom: 28px;
}

.disclaimer-box {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 6px 0;
    margin-bottom: 8px;
    text-align: center;
}

.disclaimer-box p {
    font-size: 0.75rem;
    color: #555;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.75;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* ── FOOTER ──────────────────────────────────────────── */
.site-footer {
    background: #0c1e4a;
    color: rgba(255,255,255,0.75);
    padding: 32px 0;
    font-size: 0.85rem;
    letter-spacing: 0.1px;
}

.site-footer a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer a:hover {
    color: var(--accent);
}

/* ── COOKIE BANNER ───────────────────────────────────── */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1c2938;
    color: #fff;
    padding: 18px 20px;
    z-index: 9999;
    border-top: 3px solid var(--primary-light);
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-banner p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 12px;
    line-height: 1.6;
}

.cookie-banner a {
    color: var(--accent);
}

.btn-cookie {
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 6px;
    padding: 7px 18px;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-cookie:hover { opacity: 0.88; }

.btn-accept  { background: var(--primary-light); color: #fff; }
.btn-reject  { background: #4a5568; color: #fff; }
.btn-change  { background: transparent; color: rgba(255,255,255,0.8); border: 1px solid rgba(255,255,255,0.3) !important; }

/* ── RESULTS PAGE ──────────────────────────────────────────── */
.results-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
    color: #fff;
    padding: 2.5rem 0 2.8rem;
    position: relative;
    overflow: hidden;
}
.results-header::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    height: 80px;
    background: #f5f8ff;
    clip-path: ellipse(55% 100% at 50% 100%);
}
.results-header h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(1.3rem, 3vw, 1.9rem);
    margin-bottom: 0.4rem;
    line-height: 1.3;
}
.results-summary {
    font-size: 0.9rem;
    opacity: 0.82;
}
.btn-refine {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255,255,255,0.15);
    border: 1.5px solid rgba(255,255,255,0.45);
    color: #fff;
    border-radius: 8px;
    padding: 0.45rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s;
    flex-shrink: 0;
}
.btn-refine:hover { background: rgba(255,255,255,0.28); color: #fff; }

.results-wrapper {
    background: #f0f4ff;
    min-height: 400px;
    padding: 2.5rem 0 3.5rem;
}
.sort-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}
.sort-bar label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
}
.sort-bar select {
    font-size: 0.85rem;
    border-radius: 8px;
    border: 1.5px solid #dde3f0;
    padding: 0.3rem 0.75rem;
    color: #1e293b;
    background: #fff;
    cursor: pointer;
}
.result-count {
    font-size: 0.82rem;
    color: #64748b;
    margin-left: auto;
}
.powered-by {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-bottom: 1.25rem;
}
.powered-by strong { color: var(--primary); }

/* Result cards */
.loan-result-card {
    background: #fff;
    border-radius: 14px;
    border: 1.5px solid #e2e8f5;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.loan-result-card:hover {
    box-shadow: 0 8px 28px rgba(30,77,140,0.1);
    border-color: #c7d6f0;
}
.loan-result-card .card-body {
    padding: 1.4rem 1.6rem;
}
.lender-logo-badge {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    color: #fff;
    flex-shrink: 0;
}
.lender-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.98rem;
    color: var(--primary-dark);
    margin-bottom: 0.1rem;
}
.lender-rep-apr {
    font-size: 0.77rem;
    color: #64748b;
}
.lender-rep-apr strong { color: #0f2d5c; }
.loan-stat-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    margin-bottom: 0.1rem;
}
.loan-stat-value {
    font-weight: 700;
    font-size: 0.9rem;
    color: #1e293b;
}
.repayment-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    margin-bottom: 0.2rem;
}
.repayment-amount {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    color: var(--primary-dark);
    line-height: 1;
}
.repayment-per { font-size: 1rem; font-weight: 600; }
.loan-meta {
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 0.35rem;
}
.eligibility-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 20px;
    padding: 0.28rem 0.8rem;
    font-size: 0.74rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}
.eligibility-badge.high   { background: #dcfce7; color: #15803d; }
.eligibility-badge.medium { background: #fef3c7; color: #92400e; }
.eligibility-bar {
    height: 7px;
    border-radius: 4px;
    background: #e2e8f0;
    margin-bottom: 0.9rem;
    overflow: hidden;
}
.eligibility-bar-fill {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.6s ease;
}
.btn-check-eligibility {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 0.7rem 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s;
}
.btn-check-eligibility:hover { opacity: 0.88; color: #fff; text-decoration: none; }
.representative-note {
    font-size: 0.67rem;
    color: #94a3b8;
    margin-top: 0.5rem;
    text-align: center;
    line-height: 1.45;
}
@media (min-width: 768px) {
    .loan-result-card .col-lender    { border-right: 1px solid #e8edf7; }
    .loan-result-card .col-repayment { border-right: 1px solid #e8edf7; }
}

/* No quotes state */
.no-quotes-box {
    text-align: center;
    padding: 3.5rem 1.5rem;
    background: #fff;
    border-radius: 14px;
    border: 1.5px dashed #c8d5ee;
}
.no-quotes-box .nq-icon {
    font-size: 3rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
}
.no-quotes-box h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}
.no-quotes-box p {
    color: #64748b;
    max-width: 460px;
    margin: 0 auto 1.5rem;
    font-size: 0.92rem;
    line-height: 1.6;
}
.no-quotes-box a { color: var(--primary-light); }

/* Lending criteria panel */
.lender-logo-wrap-home {
    width: 150px;
    height: 90px;
    border-radius: 12px;
    border: 1.5px solid #e2e8f5;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    padding: 8px;
    margin-bottom: 0.75rem;
}

.lender-logo-wrap-home:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.lender-logo-wrap-home img {
    max-height: 46px;
    max-width: 120px;
    width: auto;
    object-fit: contain;
    filter: grayscale(40%) opacity(0.85);
    transition: filter 0.25s;
}

.lender-logo-wrap-home:hover img {
    filter: grayscale(0%) opacity(1);
}

.lender-logo-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}
.criteria-card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0.75rem;
}
.lending-criteria-panel {
    background: #fff;
    border-radius: 14px;
    border: 1.5px solid #e2e8f5;
    padding: 1.75rem;
}
.lcp-header {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
}
.lcp-header i { color: var(--primary-light); }
.lcp-intro {
    font-size: 0.88rem;
    color: #64748b;
    margin-bottom: 1.25rem;
    line-height: 1.55;
}
.criteria-card {
    background: #f8faff;
    border: 1.5px solid #e2e8f5;
    border-radius: 12px;
    padding: 1.1rem 1.2rem;
    height: 100%;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.criteria-card:hover {
    box-shadow: 0 6px 22px rgba(30,77,140,0.09);
    border-color: #c7d6f0;
}
.criteria-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.35rem 0;
    border-top: 1px solid #edf1fa;
    gap: 0.5rem;
}
.criteria-label {
    font-size: 0.75rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.criteria-label i { color: var(--primary-light); font-size: 0.7rem; }
.criteria-value {
    font-size: 0.8rem;
    font-weight: 600;
    color: #1e293b;
    text-align: right;
}
