/* ── Custom Properties ─────────────────────────────────────────────────── */
:root {
  --brand: #155dfc;
  --brand-light: #dce8ff;
  --bg-tint: #f0f7ff;
  --text-dark: #101828;
  --text-mid: #4a5565;
  --border: #d1d5dc;
  --white: #ffffff;
  --footer-bg: #101828;

  --radius-card: 14px;
  --radius-icon-sm: 10px;
  --radius-icon-lg: 14px;
  --radius-btn: 8px;
  --radius-full: 9999px;

  --shadow-card:
    0 1px 2px -1px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(0, 0, 0, 0.06);
  --shadow-hero-img: 0px 15px 31px -7px rgba(0, 0, 0, 0.25);

  --accent: #e91e8c;

  --font: "Inter", sans-serif;

  --container: 1280px;
  --container-lenders: 1190px;
  --container-calc: 1024px;
  --container-faq: 832px;
  --container-footer: 1077px;
}

/* ── Reset ─────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font);
  color: var(--text-dark);
  /* Figma: #f0f7ff hero band spanning the top 810px (behind navbar + hero,
     bleeding into the start of the offers grid), then white below. */
  background: var(--white)
    linear-gradient(
      180deg,
      var(--bg-tint) 0,
      var(--bg-tint) 810px,
      var(--white) 810px
    )
    no-repeat;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  list-style: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
}

/* ── Site Header ───────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-tint);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.site-header__logo-img {
  height: 22px;
  width: auto;
}
.site-header__logo-text {
  color: var(--brand);
  font-size: 30px;
}

.site-header__logo-text span {
  font-weight: 700;
}

.site-header__nav {
  display: none;
}

.site-header__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  background: none;
  border: none;
}
.site-header__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}
.site-header__hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-header__hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.site-header__hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-header__mobile-nav {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 16px 24px 24px;
}
.site-header__mobile-nav[hidden] {
  display: none;
}

.mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-nav__list li a {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border);
}
.mobile-nav__list li:last-child a {
  border-bottom: none;
}

/* ── Section Divider ───────────────────────────────────────────────────── */
.section-divider__bar {
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
  display: none;
}

.section-divider__text {
  font-size: 14px;
  color: var(--text-mid);
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  padding: 32px 0 40px;
  background: transparent;
}

.hero__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Mobile: image on top */
.hero__media {
  order: -1;
  position: relative;
}

.hero__image {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow-hero-img);
  object-fit: cover;
  max-height: 240px;
}

/* Trust badges — hidden on mobile */
.hero__badge {
  display: none;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero__title {
  font-size: 30px;
  font-weight: 700;
  line-height: 38px;
  letter-spacing: 0.26px;
  color: var(--text-dark);
}

.hero__subtitle {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.45px;
  color: var(--text-mid);
}

.hero__social-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.hero__stars {
  display: flex;
  gap: 4px;
}
.hero__stars img {
  width: 20px;
  height: 20px;
}

.hero__rating-score {
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  color: var(--text-dark);
}

.hero__rating-text {
  width: 100%;
  font-size: 20px;
  line-height: 28px;
  color: var(--text-dark);
}

/* ── Lenders Grid ──────────────────────────────────────────────────────── */
.lenders-grid {
  padding: 48px 0;
  background: transparent;
}

.lenders-grid__inner {
  max-width: var(--container-lenders);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.lenders-grid__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lenders-grid__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 36px;
  color: var(--text-dark);
}

.lenders-grid__subtitle {
  font-size: 16px;
  line-height: 24px;
  color: var(--text-mid);
}

.lenders-grid__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.lenders-grid__count {
  text-align: center;
  font-size: 16px;
  color: var(--text-mid);
}

.lenders-grid__empty {
  text-align: center;
  color: var(--text-mid);
  font-size: 16px;
  padding: 40px 0;
}

.section-divider__text {
  font-size: 14px;
  color: var(--text-mid);
  transition: color 0.2s;
}
.section-divider__text:hover {
  color: var(--brand);
}

/* ── Lender Card ───────────────────────────────────────────────────────── */
.lender-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 40px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  box-shadow: var(--shadow-card);
}

.lender-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lender-card__logo {
  max-height: 44px;
  max-width: 145px;
  width: auto;
  object-fit: contain;
}

.lender-card__rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
}

.lender-card__rating-outof {
  color: #728197;
}

.lender-card__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 16px;
}

.lender-card__meta-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lender-card__meta-label {
  font-size: 16px;
  line-height: 20px;
  color: var(--text-mid);
  font-weight: 400;
}

.lender-card__meta-value {
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  color: var(--text-dark);
}

.lender-card__features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lender-card__feature {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  line-height: 24px;
  color: var(--text-mid);
}

.lender-card__cta {
  display: block;
  text-align: center;
  background: var(--brand);
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  padding: 12px 40px;
  border-radius: 5px;
  transition: background 0.2s;
}
.lender-card__cta:hover {
  background: #0a4be0;
}

/* ── Lenders Detail ────────────────────────────────────────────────────── */
.lenders-detail {
  padding: 48px 0;
  background: var(--white);
}

.lenders-detail__inner {
  max-width: var(--container-lenders);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.lenders-detail__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lenders-detail__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.lenders-detail__subtitle {
  font-size: 16px;
  line-height: 24px;
  color: var(--text-mid);
}

.lenders-detail__dots {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.lenders-detail__dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--border);
  border: none;
  padding: 0;
  transition:
    background 0.2s,
    width 0.2s;
  cursor: pointer;
}
.lenders-detail__dot.is-active {
  background: var(--brand);
  width: 24px;
}

/* Carousel on mobile */
.lenders-detail__carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  gap: 16px;
  -webkit-overflow-scrolling: touch;
}
.lenders-detail__carousel::-webkit-scrollbar {
  display: none;
}

/* ── Lender Detail Row ─────────────────────────────────────────────────── */
.lender-detail-row {
  flex: 0 0 100%;
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: var(--shadow-card);
}

.lender-detail-row__name {
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  color: var(--text-dark);
}

.lender-detail-row__info-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lender-detail-row__info-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lender-detail-row__info-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
}

.lender-detail-row__info-label {
  flex: 0 0 165px;
  font-size: 16px;
  line-height: 24px;
  color: var(--text-mid);
}

.lender-detail-row__info-value {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: var(--text-dark);
}
a.lender-detail-row__info-value:hover {
  color: var(--brand);
}

.lender-detail-row__info-value--persoane {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lender-detail-row__disclaimer {
  font-size: 16px;
  line-height: 24px;
  color: var(--text-mid);
}

/* ── Why Choose Us ─────────────────────────────────────────────────────── */
.features {
  padding: 64px 0;
  background: var(--bg-tint);
}

.features__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.features__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.features__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 36px;
  color: var(--text-dark);
}

.features__subtitle {
  font-size: 16px;
  line-height: 24px;
  color: var(--text-mid);
}

.features__grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ── Feature Card ──────────────────────────────────────────────────────── */
.feature-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-radius: 14px;
  background: var(--white);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.feature-card__icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-icon-sm);
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-card__title {
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  color: var(--text-dark);
}

.feature-card__description {
  font-size: 14px;
  line-height: 22px;
  color: var(--text-mid);
}

/* ── How It Works ──────────────────────────────────────────────────────── */
.how-it-works {
  padding: 64px 0;
  background: var(--white);
}

.how-it-works__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.how-it-works__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.how-it-works__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 36px;
  color: var(--text-dark);
}

.how-it-works__subtitle {
  font-size: 16px;
  line-height: 24px;
  color: var(--text-mid);
}

.how-it-works__grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ── Step Card ─────────────────────────────────────────────────────────── */
.step-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 48px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-card);
}

.step-card__badge {
  position: absolute;
  top: -20px;
  left: 24px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--brand);
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-card__icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-icon-lg);
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-card__title {
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
  color: var(--text-dark);
}

.step-card__description {
  font-size: 14px;
  line-height: 22px;
  color: var(--text-mid);
}

.step-card__arrow {
  display: none;
}

/* ── Calculator ────────────────────────────────────────────────────────── */
.calculator {
  padding: 64px 0;
  background: var(--bg-tint);
}

.calculator__inner {
  max-width: var(--container-calc);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.calculator__header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}

.calculator__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 36px;
  color: var(--text-dark);
}

.calculator__subtitle {
  font-size: 16px;
  color: var(--text-mid);
}

.calculator__card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: var(--shadow-card);
}

.calculator__inputs {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.calculator__slider-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calculator__slider-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calculator__slider-label {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
}

.calculator__slider-value {
  font-size: 18px;
  font-weight: 600;
  color: var(--brand);
}

/* Custom range slider */
.calculator__slider-track {
  width: 100%;
  height: 16px;
  border-radius: var(--radius-full);
  background: linear-gradient(
    to right,
    var(--brand) var(--fill, 0%),
    var(--border) var(--fill, 0%)
  );
  outline: none;
  cursor: pointer;
}
.calculator__slider-track::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--brand);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}
.calculator__slider-track::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--brand);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.calculator__slider-range {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-mid);
}

.calculator__results {
  background: var(--brand);
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--white);
}

.calculator__results-label {
  font-size: 14px;
  opacity: 0.85;
}

.calculator__results-monthly {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
}

.calculator__results-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.calculator__results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.calculator__results-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.calculator__results-item-label {
  font-size: 12px;
  opacity: 0.8;
}
.calculator__results-item-value {
  font-size: 16px;
  font-weight: 600;
}

.calculator__cta {
  display: block;
  text-align: center;
  background: var(--white);
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 24px;
  height: 40px;
  line-height: 20px;
  border-radius: var(--radius-btn);
  transition: opacity 0.2s;
}
.calculator__cta:hover {
  opacity: 0.9;
}

/* ── Reviews ───────────────────────────────────────────────────────────── */
.reviews {
  padding: 64px 0;
  background: var(--white);
}

.reviews__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.reviews__header {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.reviews__heading-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.reviews__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 36px;
  color: var(--text-dark);
}

.reviews__subtitle {
  font-size: 16px;
  line-height: 24px;
  color: var(--text-mid);
}

.reviews__aggregate {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.reviews__aggregate-score {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
}

.reviews__aggregate-text {
  font-size: 14px;
  color: var(--text-mid);
  width: 100%;
}

.reviews__grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ── Review Card ───────────────────────────────────────────────────────── */
.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-card);
}

.review-card__stars {
  display: flex;
  gap: 4px;
}
.review-card__star {
  width: 20px;
  height: 20px;
}

.review-card__quote {
  font-size: 16px;
  line-height: 26px;
  color: var(--text-dark);
  flex: 1;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.review-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.review-card__author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review-card__author-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
}

.review-card__author-role {
  font-size: 14px;
  color: var(--text-mid);
}

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.faq {
  padding: 64px 0;
  background: var(--white);
}

.faq__inner {
  max-width: var(--container-faq);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.faq__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 36px;
  color: var(--text-dark);
  text-align: center;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── FAQ Item ──────────────────────────────────────────────────────────── */
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 1px 2px -1px rgba(0, 0, 0, 0.1);
}

.faq-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 16px 24px;
  background: none;
  border: none;
  text-align: left;
}

.faq-item__question {
  font-size: 15px;
  font-weight: 600;
  line-height: 24px;
  color: var(--text-dark);
  flex: 1;
}

.faq-item__toggle {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-item__answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
}
.faq-item--open .faq-item__answer {
  padding: 0 24px 24px;
  max-height: 600px;
}
.faq-item__answer[hidden] {
  display: block;
} /* override hidden so CSS transition works */

.faq-item__answer-text {
  font-size: 15px;
  line-height: 26px;
  color: var(--text-dark);
}

/* ── Site Footer ───────────────────────────────────────────────────────── */
.site-footer {
  background: var(--footer-bg);
  color: var(--white);
  padding: 56px 0;
}

.site-footer__inner {
  max-width: var(--container-footer);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.site-footer__logo img {
  height: 22px;
  width: auto;
}

.site-footer__logo-text {
  color: var(--brand);
  font-size: 30px;
}

.site-footer__logo-text span {
  font-weight: 700;
}

.site-footer__legal {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-footer__legal-intro,
.site-footer__legal-intro p {
  font-size: 12px;
  line-height: 22px;
  color: rgba(255, 255, 255, 0.8);
}
.site-footer__legal-intro a {
  color: var(--white);
  text-decoration: underline;
}

.site-footer__legal-body {
  font-size: 12px;
  line-height: 22px;
  color: rgba(255, 255, 255, 0.7);
}

.site-footer__bar {
  display: flex;
  flex-direction: column-reverse;
  gap: 48px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__copyright {
  font-size: 14px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.5);
}

.policy-nav__list {
  display: flex;
  flex-direction: column;
  gap: 29px;
}
.policy-nav__list a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}
.policy-nav__list a:hover {
  color: var(--white);
}

/* ── Desktop — min-width: 1024px ───────────────────────────────────────── */
@media (min-width: 1024px) {
  /* Header */
  .site-header__hamburger {
    display: none;
  }
  .site-header__nav {
    display: flex;
    align-items: center;
  }

  .nav__list {
    display: flex;
    align-items: center;
    gap: 32px;
  }
  .nav__item {
    list-style: none;
  }
  .nav__link {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-dark);
    transition: color 0.2s;
  }
  .nav__link:hover {
    color: var(--brand);
  }

  /* Hero — 2 column */
  .hero {
    padding: 80px 0;
  }

  .hero__inner {
    flex-direction: row;
    align-items: center;
    gap: 64px;
  }

  .hero__content {
    flex: 1;
    order: -1; /* text on left */
    gap: 24px;
  }

  .hero__media {
    flex: 0 0 584px;
    order: 1;
  }

  .hero__image {
    max-height: 320px;
    width: 100%;
  }

  .hero__title {
    font-size: 48px;
    line-height: 60px;
  }

  .hero__subtitle {
    font-size: 20px;
    line-height: 28px;
  }

  /* Trust badges — visible on desktop, positioned over image */
  .hero__badge {
    display: flex;
    align-items: center;
    gap: 16px;
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-card);
    padding: 24px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    /* Both badges sit side by side at the bottom of the image, overlapping
       its lower edge and hanging below (Figma node 2010:3138). */
    bottom: -40px;
    left: -40px;
    min-width: 263px;
  }
  .hero__badge--second {
    bottom: -40px;
    left: auto;
    right: 36px;
  }
  .hero__badge-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--brand-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .hero__badge-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .hero__badge-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--brand);
  }
  .hero__badge-subtitle {
    font-size: 14px;
    color: var(--text-mid);
  }

  /* Lenders Grid — 3 columns */
  .lenders-grid {
    padding: 80px 0;
  }
  .lenders-grid__title {
    font-size: 36px;
    line-height: 44px;
  }

  .lenders-grid__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  /* Lenders Detail — static rows (no carousel) */
  .lenders-detail {
    padding: 0 0 80px 0;
  }
  .lenders-detail__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 14px;
  }
  .lenders-detail__dots {
    display: none;
  }

  .lenders-detail__carousel {
    display: flex;
    flex-direction: column;
    overflow-x: visible;
    scroll-snap-type: none;
    gap: 24px;
  }

  .lender-detail-row {
    flex: none;
    scroll-snap-align: none;
  }

  .lender-detail-row__info-grid {
    flex-direction: row;
    gap: 16px;
  }

  .lender-detail-row__info-col:first-child {
    flex: 800 1 0;
  }
  .lender-detail-row__info-col:last-child {
    flex: 457 1 0;
  }

  /* Why Choose Us — 4 columns */
  .features {
    padding: 80px 0;
  }
  .features__title {
    font-size: 36px;
    line-height: 44px;
  }

  .features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }

  /* How It Works — 3 columns with arrows */
  .how-it-works {
    padding: 80px 0;
  }
  .how-it-works__title {
    font-size: 36px;
    line-height: 44px;
  }

  .how-it-works__grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 0;
    align-items: center;
  }

  .step-card {
    padding: 56px 24px 32px;
  }

  .step-card__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    margin-top: 16px;
  }

  /* Calculator — 2 columns inside card */
  .calculator {
    padding: 80px 0;
  }
  .calculator__title {
    font-size: 36px;
    line-height: 44px;
  }

  .calculator__card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 32px;
  }

  .calculator__inputs {
    gap: 32px;
  }
  .calculator__results-monthly {
    font-size: 36px;
  }

  /* Reviews — 3 columns */
  .reviews {
    padding: 80px 0;
  }
  .reviews__title {
    font-size: 36px;
    line-height: 44px;
  }

  .reviews__header {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }

  .reviews__aggregate {
    flex-direction: column;
    align-items: flex-end;
  }
  .reviews__aggregate-text {
    text-align: right;
    width: auto;
  }

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

  /* FAQ */
  .faq {
    padding: 80px 0;
  }
  .faq__title {
    font-size: 36px;
    line-height: 44px;
  }
  .faq-item__trigger {
    min-height: 80px;
    padding: 0 32px;
  }
  .faq-item__question {
    font-size: 16px;
  }
  .faq-item__answer {
    padding: 0 32px;
  }
  .faq-item--open .faq-item__answer {
    padding: 0 32px 32px;
  }

  /* Footer */
  .site-footer__bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .policy-nav__list {
    flex-direction: row;
    gap: 32px;
  }
}
