/* ============================================
   DFS — Digital Finance Solutions
   Homepage-Specific Stylesheet v1.0
   https://corryc.github.io/dfs-assets/dfs-homepage.css
   Depends on: dfs-styles.css (shared base styles)
   Last updated: 19 June 2026
   ============================================ */

/* HOMEPAGE-SPECIFIC STYLES */

/* HERO — full viewport, split layout */
.home-hero {
  padding-top: 72px;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  overflow: hidden;
  position: relative;
}
.home-hero-left {
  padding: 80px 60px 80px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.home-hero-right {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-hero-right-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0d1b2e 0%, #1a3260 60%, #0d1b2e 100%);
}
.home-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,82,204,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,82,204,0.07) 1px, transparent 1px);
  background-size: 40px 40px;
}
.home-hero-right-content {
  position: relative; z-index: 2;
  padding: 60px 48px;
  width: 100%;
}

/* Hero headline */
.home-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 20px;
}
.home-eyebrow::before {
  content: ''; width: 20px; height: 2px;
  background: var(--blue); border-radius: 2px;
}
.home-hero-title {
  font-size: clamp(36px, 4.5vw, 58px); font-weight: 800;
  color: var(--text-dark); line-height: 1.05;
  letter-spacing: -0.025em; margin-bottom: 24px;
}
.home-hero-title mark { background: none; color: var(--blue); }
.home-hero-title span { display: block; }
.home-hero-sub {
  font-size: 17px; color: var(--text-mid);
  line-height: 1.75; margin-bottom: 40px; max-width: 460px;
}
.home-cta-group { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

/* Trust bar */
.home-trust-bar {
  display: flex; align-items: center; gap: 24px;
  padding-top: 32px; border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.home-trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--text-mid);
}
.home-trust-icon {
  width: 32px; height: 32px; background: var(--teal-light);
  border-radius: 8px; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.home-trust-icon svg { width: 16px; height: 16px; }

/* Right panel content */
.hero-panel-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: #4dd8cc; margin-bottom: 32px;
}
.hero-services-list { list-style: none; margin-bottom: 40px; }
.hero-service-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
  text-decoration: none; transition: padding-left 0.2s;
  cursor: pointer;
}
.hero-service-item:hover { padding-left: 6px; }
.hero-service-item:last-child { border-bottom: none; }
.hero-service-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal); flex-shrink: 0;
  transition: background 0.2s;
}
.hero-service-item:hover .hero-service-dot { background: #4dd8cc; }
.hero-service-name {
  font-size: 15px; font-weight: 700; color: var(--white);
  flex: 1;
}
.hero-service-arrow {
  font-size: 13px; color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}
.hero-service-item:hover .hero-service-arrow { color: #4dd8cc; }
.hero-panel-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
}
.hero-panel-stat {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px; padding: 16px 12px; text-align: center;
}
.hero-panel-stat-num {
  font-size: 24px; font-weight: 800; color: var(--white);
  line-height: 1; margin-bottom: 4px;
}
.hero-panel-stat-label {
  font-size: 11px; color: rgba(255,255,255,0.45); font-weight: 500;
}

/* LENDER LOGOS */
.home-logos {
  background: var(--light-grey);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 40px;
}
.home-logos-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.home-logos-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-light);
  white-space: nowrap; flex-shrink: 0;
}
.home-logos-divider {
  width: 1px; height: 24px; background: var(--border); flex-shrink: 0;
}
.home-logos-track {
  display: flex; gap: 40px; align-items: center; flex-wrap: wrap;
}

/* WHY DFS */
.home-why {
  padding: 96px 80px;
  background: var(--white);
}
.home-why-inner { max-width: 1100px; margin: 0 auto; }
.home-why-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: end; margin-bottom: 64px;
}
.home-why-left .section-title { max-width: 480px; }
.home-why-right p {
  font-size: 16px; color: var(--text-mid); line-height: 1.8;
}

/* BORROWER TYPES */
.home-borrowers {
  background: var(--navy);
  padding: 96px 80px;
  position: relative; overflow: hidden;
}
.home-borrowers-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,82,204,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,82,204,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}
.home-borrowers-inner {
  position: relative; z-index: 2;
  max-width: 1100px; margin: 0 auto;
}
.home-borrowers-header { text-align: center; margin-bottom: 56px; }
.home-borrowers-header .section-label { color: #4dd8cc; }
.home-borrowers-header .section-title { color: var(--white); max-width: 560px; margin: 0 auto; }
.borrower-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.borrower-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px; padding: 32px 28px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.borrower-card:hover {
  background: rgba(0,82,204,0.15);
  border-color: rgba(0,82,204,0.4);
  transform: translateY(-3px);
}
.borrower-card-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.borrower-card-icon svg { width: 22px; height: 22px; }
.borrower-card-title {
  font-size: 17px; font-weight: 800; color: var(--white);
  margin-bottom: 8px; line-height: 1.2;
}
.borrower-card-desc {
  font-size: 13px; color: rgba(255,255,255,0.5);
  line-height: 1.65; margin-bottom: 20px;
}
.borrower-card-link {
  font-size: 13px; font-weight: 700; color: #4dd8cc;
  display: flex; align-items: center; gap: 6px;
}

/* SUBURBS */
.home-suburbs {
  padding: 96px 80px;
  background: var(--off-white);
  border-top: 1px solid var(--border);
}
.home-suburbs-inner { max-width: 1100px; margin: 0 auto; }
.suburb-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; margin-top: 48px;
}
.suburb-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 12px; padding: 24px 20px;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.suburb-card:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,82,204,0.1);
}
.suburb-card-name {
  font-size: 16px; font-weight: 800; color: var(--text-dark);
  margin-bottom: 6px;
}
.suburb-card-desc {
  font-size: 13px; color: var(--text-mid); line-height: 1.5;
  margin-bottom: 16px;
}
.suburb-card-link {
  font-size: 12px; font-weight: 700; color: var(--blue);
}

/* PROCESS */
.home-process {
  padding: 96px 80px;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.home-process-inner { max-width: 1100px; margin: 0 auto; }

/* REVIEWS */
.home-reviews {
  padding: 96px 80px;
  background: var(--off-white);
  border-top: 1px solid var(--border);
}
.home-reviews-inner { max-width: 1100px; margin: 0 auto; }
.reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 48px;
}
.review-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 14px; padding: 28px 24px;
}
.review-stars { color: #f5a623; font-size: 16px; letter-spacing: 1px; margin-bottom: 14px; }
.review-text {
  font-size: 14px; color: var(--text-mid); line-height: 1.75;
  margin-bottom: 20px; font-style: italic;
}
.review-author { font-size: 13px; font-weight: 700; color: var(--text-dark); }
.review-source { font-size: 12px; color: var(--text-light); margin-top: 2px; }

/* FAQ */
.home-faq {
  padding: 96px 80px;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.home-faq-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
}
.home-faq-left { }
.home-faq-right { }

/* CLOSING CTA */
.home-closing {
  padding: 100px 80px;
  background: var(--blue);
  text-align: center;
  position: relative; overflow: hidden;
}
.home-closing-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 900px 500px at 50% 100%, rgba(255,255,255,0.07), transparent);
}
.home-closing-inner {
  position: relative; z-index: 2;
  max-width: 640px; margin: 0 auto;
}
.home-closing-inner h2 {
  font-size: clamp(32px, 4.5vw, 52px); font-weight: 800;
  color: var(--white); line-height: 1.1;
  letter-spacing: -0.02em; margin-bottom: 16px;
}
.home-closing-inner p {
  font-size: 18px; color: rgba(255,255,255,0.8);
  margin-bottom: 40px; line-height: 1.6;
}
.home-closing-sub {
  margin-top: 20px; font-size: 13px; color: rgba(255,255,255,0.55);
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .home-hero { grid-template-columns: 1fr; min-height: auto; }
  .home-hero-right { min-height: 400px; }
  .home-hero-left { padding: 60px 40px 40px; }
  .home-why-header { grid-template-columns: 1fr; gap: 24px; }
  .borrower-grid { grid-template-columns: repeat(2, 1fr); }
  .suburb-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .home-faq-inner { grid-template-columns: 1fr; gap: 0; }
  .home-why, .home-borrowers, .home-suburbs, .home-process, .home-reviews, .home-faq, .home-closing { padding: 72px 40px; }
}
@media (max-width: 640px) {
  .home-hero-left { padding: 40px 24px; }
  .borrower-grid { grid-template-columns: 1fr; }
  .suburb-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .home-why, .home-borrowers, .home-suburbs, .home-process, .home-reviews, .home-faq, .home-closing { padding: 56px 24px; }
  .home-logos { padding: 16px 24px; }
  .home-trust-bar { gap: 16px; }
}

@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.animate-in { animation: fadeInUp 0.7s ease forwards; opacity: 0; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.25s; }
.delay-3 { animation-delay: 0.4s; }
.delay-4 { animation-delay: 0.55s; }
.delay-5 { animation-delay: 0.7s; }

  /* DROPDOWN NAV */
  .nav { height: 72px; padding: 0 40px; justify-content: space-between; }
  .nav-links { display: flex; align-items: center; gap: 4px; }
  .nav-link {
    font-size: 14px; font-weight: 600; color: var(--text-mid);
    text-decoration: none; padding: 8px 14px; border-radius: 6px;
    transition: color 0.2s, background 0.2s;
  }
  .nav-link:hover { color: var(--blue); background: var(--blue-light); }

  .nav-dropdown { position: relative; }
  .nav-dropdown-trigger {
    display: flex; align-items: center; gap: 5px;
    font-size: 14px; font-weight: 600; color: var(--text-mid);
    background: none; border: none; cursor: pointer;
    padding: 8px 14px; border-radius: 6px;
    font-family: 'Manrope', sans-serif;
    transition: color 0.2s, background 0.2s;
  }
  .nav-dropdown-trigger:hover { color: var(--blue); background: var(--blue-light); }
  .nav-dropdown-trigger svg { transition: transform 0.2s; }
  .nav-dropdown:hover .nav-dropdown-trigger svg { transform: rotate(180deg); }

  .nav-dropdown-menu {
    position: absolute; top: calc(100% + 8px); left: 0;
    background: var(--white); border: 1px solid var(--border);
    border-radius: 14px; box-shadow: 0 16px 48px rgba(0,0,0,0.12);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
    z-index: 200; min-width: 480px;
  }
  .nav-dropdown-menu--suburbs { min-width: 280px; }
  .nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1; visibility: visible; transform: translateY(0);
  }
  .nav-dropdown-inner { display: flex; gap: 0; padding: 16px; }
  .nav-dropdown-col { flex: 1; padding: 8px; }
  .nav-dropdown-col + .nav-dropdown-col { border-left: 1px solid var(--border); }
  .nav-dropdown-label {
    font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--text-light);
    padding: 4px 10px 10px; display: block;
  }
  .nav-dropdown-item {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 10px; border-radius: 8px;
    text-decoration: none;
    transition: background 0.15s;
  }
  .nav-dropdown-item:hover { background: var(--off-white); }
  .nav-dropdown-item-icon {
    width: 30px; height: 30px; border-radius: 7px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .nav-dropdown-item-icon.blue { background: var(--blue-light); }
  .nav-dropdown-item-icon.teal { background: var(--teal-light); }
  .nav-dropdown-item-title {
    font-size: 13px; font-weight: 700; color: var(--text-dark);
    line-height: 1.2;
  }
  .nav-dropdown-item-desc {
    font-size: 11px; color: var(--text-light); margin-top: 1px;
  }

  /* HAMBURGER */
  .nav-hamburger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
  }
  .nav-hamburger span {
    display: block; width: 22px; height: 2px;
    background: var(--text-dark); border-radius: 2px;
    transition: all 0.2s;
  }
  .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; }
  .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* MOBILE NAV */
  .mobile-nav {
    position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
    background: var(--white); z-index: 99;
    transform: translateX(100%); transition: transform 0.3s ease;
    overflow-y: auto;
  }
  .mobile-nav.open { transform: translateX(0); }
  .mobile-nav-inner { padding: 24px; }
  .mobile-nav-section { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
  .mobile-nav-section:last-of-type { border-bottom: none; }
  .mobile-nav-label {
    font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--text-light); margin-bottom: 12px;
  }
  .mobile-nav-item {
    display: block; font-size: 16px; font-weight: 600;
    color: var(--text-dark); text-decoration: none;
    padding: 10px 0; border-bottom: 1px solid var(--light-grey);
  }
  .mobile-nav-item:last-child { border-bottom: none; }
  .mobile-nav-item:hover { color: var(--blue); }

  @media (max-width: 900px) {
    .nav-links { display: none; }
    .nav-phone { display: none; }
    .nav-hamburger { display: flex; }
    .nav { padding: 0 20px; }
  }

