*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Brand colours, taken from the Code 1 Finance logo artwork */
  --navy: #0D172A;
  --red: #DA1338;
  /* Navy family, derived from --navy for gradients and raised surfaces */
  --navy-mid: #152342;
  --navy-light: #1D315A;
  --slate: #2D4061;
  /* Red family, derived from --red for hover and depth states */
  --red-dark: #A90F2B;
  --red-glow: #EE3A5B;
  --gold: #C9A84C;
  --gold-light: #E0C878;
  --gold-dark: #9A7D2E;
  --cream: #F5F1EB;
  --white: #FFFFFF;
  --gray-100: #F7F8FA;
  --gray-200: #E8EBF0;
  --gray-400: #9BA3B5;
  --gray-600: #5A6478;
  --text-dark: #0D1B2A;
  --text-body: #3B4A60;
  /* RGB channels for themeable translucent colours */
  --red-rgb: 218, 19, 56;
  --navy-rgb: 13, 23, 42;
  --navy-light-rgb: 29, 49, 90;
  --gold-rgb: 201, 168, 76;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ========== NAVIGATION ========== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 40px;
  background: rgba(var(--navy-rgb), 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: all 0.4s ease;
}
nav.scrolled {
  background: rgba(var(--navy-rgb), 0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.nav-inner {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; height: 80px;
}
.nav-logo {
  display: flex; align-items: center;
  text-decoration: none;
}
.nav-logo img { display: block; height: 34px; width: auto; }

.nav-links {
  display: flex; align-items: center; gap: 36px;
  list-style: none; justify-self: center;
}
.nav-links a {
  text-decoration: none; color: rgba(255,255,255,0.7);
  font-size: 14px; font-weight: 500; letter-spacing: 0.3px;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta-wrap { justify-self: end; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: var(--white);
  padding: 12px 28px; border-radius: 8px;
  font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 600;
  text-decoration: none; transition: all 0.3s;
}
.nav-cta:hover {
  background: var(--red-glow);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(var(--red-rgb), 0.4);
}
.mobile-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 32px; height: 24px; position: relative;
  flex-direction: column; justify-content: space-between;
}
.mobile-toggle span {
  display: block; width: 100%; height: 2px;
  background: var(--white); border-radius: 2px; transition: all 0.3s;
}
.mobile-toggle.active span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}
.mobile-menu {
  display: none; position: fixed; top: 80px; left: 0; right: 0;
  background: rgba(var(--navy-rgb), 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 20px 24px 28px; z-index: 999;
  transform: translateY(-100%); opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; }
.mobile-menu ul {
  list-style: none; display: flex; flex-direction: column; gap: 0;
}
.mobile-menu li {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-menu li:last-child { border-bottom: none; }
.mobile-menu ul a {
  display: block; padding: 16px 0; text-decoration: none;
  color: rgba(255,255,255,0.7); font-family: 'Outfit', sans-serif;
  font-size: 16px; font-weight: 500; transition: color 0.3s;
}
.mobile-menu ul a:hover { color: var(--white); }
.mobile-menu-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 20px;
  background: var(--red); color: var(--white);
  padding: 16px; border-radius: 10px;
  font-family: 'Outfit', sans-serif; font-size: 16px; font-weight: 600;
  text-decoration: none; transition: all 0.3s;
}
.mobile-menu-cta:hover { background: var(--red-glow); }
@media (min-width: 769px) { .mobile-menu { display: none !important; } }
@media (max-width: 768px) { .mobile-menu { display: block; } }

/* ========== HERO ========== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background: var(--navy); overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(var(--red-rgb), 0.08), transparent),
    radial-gradient(ellipse 60% 80% at 20% 80%, rgba(var(--navy-light-rgb), 0.6), transparent),
    linear-gradient(180deg, rgba(var(--navy-rgb),0) 0%, rgba(var(--navy-rgb),0.4) 100%);
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.08), transparent),
    radial-gradient(1px 1px at 60% 70%, rgba(255,255,255,0.05), transparent),
    radial-gradient(1px 1px at 80% 20%, rgba(255,255,255,0.06), transparent);
  background-size: 250px 250px, 300px 300px, 200px 200px;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 80px 80px;
}
.hero-pulse {
  position: absolute; right: 10%; top: 50%;
  transform: translateY(-50%); width: 500px; height: 500px;
}
.pulse-ring {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%); border-radius: 50%;
  border: 1px solid rgba(var(--red-rgb), 0.15);
  animation: pulseExpand 4s ease-out infinite;
}
.pulse-ring:nth-child(2) { animation-delay: 1s; }
.pulse-ring:nth-child(3) { animation-delay: 2s; }
.pulse-ring:nth-child(4) { animation-delay: 3s; }
@keyframes pulseExpand {
  0% { width: 80px; height: 80px; opacity: 0.8; }
  100% { width: 500px; height: 500px; opacity: 0; }
}
.pulse-center {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 16px; height: 16px;
  background: var(--red); border-radius: 50%;
  box-shadow: 0 0 30px rgba(var(--red-rgb), 0.5), 0 0 60px rgba(var(--red-rgb), 0.2);
  animation: centerPulse 2s ease-in-out infinite;
}
@keyframes centerPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.3); }
}
.hero-content {
  position: relative; z-index: 2;
  width: 100%; max-width: 1200px; margin: 0 auto;
  padding: 140px 24px 100px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 20px 8px 12px;
  background: rgba(var(--red-rgb), 0.12);
  border: 1px solid rgba(var(--red-rgb), 0.25);
  border-radius: 100px; margin-bottom: 32px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}
.hero-badge-dot {
  width: 8px; height: 8px; background: var(--red-glow);
  border-radius: 50%; animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero-badge span {
  font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 600;
  color: var(--red-glow); text-transform: uppercase; letter-spacing: 1.5px;
}
.hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(40px, 5vw, 64px); font-weight: 800;
  color: var(--white); line-height: 1.08; letter-spacing: -1.5px;
  max-width: 1140px; margin-bottom: 28px;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}
.hero h1 em {
  font-style: normal; color: var(--red-glow); position: relative;
}
.hero h1 em::after {
  content: ''; position: absolute;
  bottom: 4px; left: 0; right: 0;
  height: 4px; background: var(--red);
  border-radius: 2px; opacity: 0.5;
}
.hero-sub {
  font-size: 18px; color: rgba(255,255,255,0.55);
  max-width: 620px; line-height: 1.6; margin-bottom: 44px;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}
.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.8s both;
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 36px; border-radius: 10px;
  font-family: 'Outfit', sans-serif; font-size: 16px; font-weight: 600;
  text-decoration: none; transition: all 0.3s ease; cursor: pointer; border: none;
}
.btn-primary {
  background: var(--red); color: var(--white);
  box-shadow: 0 4px 20px rgba(var(--red-rgb), 0.3);
}
.btn-primary:hover {
  background: var(--red-glow); transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(var(--red-rgb), 0.4);
}
.btn-outline {
  background: transparent; color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.05);
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== WHO WE SERVE ========== */
.serve { padding: 88px 0; background: var(--white); position: relative; }
.serve::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
}
.section-label {
  font-family: 'Outfit', sans-serif; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 3px; color: var(--red); margin-bottom: 16px;
}
.section-title {
  font-family: 'Outfit', sans-serif; font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800; color: var(--text-dark); letter-spacing: -1px;
  line-height: 1.18; margin-bottom: 20px;
}
.section-desc {
  font-size: 17px; color: var(--text-body); line-height: 1.6; max-width: 780px;
}
.serve-header { text-align: center; margin-bottom: 48px; }
.serve-header .section-desc { margin: 0 auto; }

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

.serve-card {
  position: relative; padding: 40px 28px 36px;
  background: var(--gray-100); border-radius: 16px; text-align: center;
  border: 1px solid transparent; transition: all 0.4s ease; overflow: hidden;
}
.serve-card::before {
  content: ''; position: absolute; top: 0; left: 50%;
  transform: translateX(-50%); width: 60px; height: 3px;
  background: var(--red); border-radius: 0 0 3px 3px;
  opacity: 0; transition: all 0.4s ease;
}
.serve-card:hover {
  border-color: var(--gray-200); transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.06);
}
.serve-card:hover::before { opacity: 1; }
.serve-icon {
  width: 64px; height: 64px; margin: 0 auto 20px;
  background: var(--white); border-radius: 14px; color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04); transition: all 0.4s ease;
}
.serve-card:hover .serve-icon {
  background: var(--navy); color: var(--white);
  box-shadow: 0 4px 20px rgba(var(--navy-rgb),0.2);
}
.serve-icon svg { transition: all 0.4s ease; }
.serve-card h3 {
  font-family: 'Outfit', sans-serif; font-size: 18px;
  font-weight: 700; color: var(--text-dark); margin-bottom: 10px;
}
.serve-card p { font-size: 14px; color: var(--gray-600); line-height: 1.6; }

/* ========== ABOUT ========== */
.about {
  padding: 88px 0; background: var(--navy);
  position: relative; overflow: hidden;
}
.about::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 80% 50%, rgba(var(--red-rgb), 0.04), transparent),
    radial-gradient(ellipse 40% 40% at 10% 30%, rgba(var(--navy-light-rgb), 0.3), transparent);
}
.about-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about-image { position: relative; }
.about-image-frame {
  width: 100%; aspect-ratio: 4/5;
  background: var(--navy-mid); border-radius: 20px;
  overflow: hidden; position: relative;
}
.about-image-frame::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(var(--navy-rgb),0.6));
  z-index: 1;
}
.about-image-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--red); color: var(--white);
  padding: 24px; border-radius: 16px; text-align: center;
  z-index: 2; box-shadow: 0 8px 30px rgba(var(--red-rgb), 0.3);
}
.about-image-badge h4 {
  font-family: 'Outfit', sans-serif; font-size: 32px; font-weight: 800; line-height: 1;
}
.about-image-badge p {
  font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; opacity: 0.8; margin-top: 4px;
}
.about-content .section-label { color: var(--gold); }
.about-content .section-title { color: var(--white); margin-bottom: 8px; }
.about-content .section-desc { color: rgba(255,255,255,0.55); }
.about-text {
  font-size: 16px; color: rgba(255,255,255,0.5); line-height: 1.8; margin-top: 24px;
}
.about-values { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.about-value { display: flex; gap: 16px; align-items: flex-start; }
.about-value-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: rgba(var(--red-rgb), 0.1); border-radius: 10px;
  color: var(--red-glow);
  display: flex; align-items: center; justify-content: center;
}
.about-value h4 {
  font-family: 'Outfit', sans-serif; font-size: 16px;
  font-weight: 700; color: var(--white); margin-bottom: 4px;
}
.about-value p { font-size: 14px; color: rgba(255,255,255,0.4); line-height: 1.6; }

/* ========== SERVICES ========== */
.services { padding: 88px 0; background: var(--gray-100); }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 44px;
}
.service-card {
  background: var(--white); border-radius: 16px;
  position: relative; border: 1px solid var(--gray-200);
  transition: all 0.4s ease; overflow: hidden;
  display: flex; flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.06); border-color: transparent;
}
.service-card-img {
  width: 100%; aspect-ratio: 16/9; overflow: hidden; position: relative;
}
.service-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.05); }
.service-card-body {
  padding: 28px 28px 32px; flex: 1;
  display: flex; flex-direction: column;
}
.service-card-body h3 {
  font-family: 'Outfit', sans-serif; font-size: 19px;
  font-weight: 700; color: var(--text-dark); margin-bottom: 10px;
}
.service-card-body p { font-size: 14px; color: var(--gray-600); line-height: 1.5; flex: 1; }
.service-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 600;
  color: var(--red); text-decoration: none;
}
.service-link svg { transition: transform 0.3s; }
.service-card:hover .service-link svg { transform: translateX(4px); }

/* ========== PROCESS ========== */
.process { padding: 88px 0; background: var(--white); }
.process-header { text-align: center; margin-bottom: 52px; }
.process-header .section-desc { margin: 0 auto; }
.process-track {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  position: relative;
}
.process-step {
  position: relative; text-align: center;
  padding: 0 16px; cursor: default;
}
.step-connector {
  display: flex; align-items: center; justify-content: center;
  position: relative; margin-bottom: 28px; height: 56px;
}
.step-connector::before {
  content: ''; position: absolute; top: 50%; left: 0; right: 0;
  height: 2px; background: var(--gray-200);
  transform: translateY(-1px);
}
.process-step:first-child .step-connector::before { left: 50%; }
.process-step:last-child .step-connector::before { right: 50%; left: 0; width: 50%; }
.step-marker {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif; font-size: 16px; font-weight: 800;
  color: var(--gray-400); position: relative; z-index: 2;
  transition: all 0.4s ease;
}
.process-step:hover .step-marker {
  background: var(--red); border-color: var(--red); color: var(--white);
  box-shadow: 0 4px 20px rgba(var(--red-rgb), 0.25);
  transform: scale(1.1);
}
.step-content h3 {
  font-family: 'Outfit', sans-serif; font-size: 17px;
  font-weight: 700; color: var(--text-dark); margin-bottom: 8px;
}
.step-content p {
  font-size: 14px; color: var(--gray-600); line-height: 1.65;
}
@media (max-width: 1024px) {
  .process-track { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .process-step:nth-child(3) .step-connector::before { right: 50%; width: 50%; }
  .process-step:nth-child(4) .step-connector::before { left: 50%; }
}
@media (max-width: 768px) {
  .process-track { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .process-step:nth-child(2n) .step-connector::before { right: 50%; width: 50%; }
  .process-step:nth-child(2n+1) .step-connector::before { left: 50%; }
  .process-step:first-child .step-connector::before { left: 50%; }
  .process-step:last-child .step-connector::before { left: 0; right: 0; width: 50%; }
  .process-step:last-child { grid-column: 1 / -1; max-width: 280px; margin: 0 auto; }
  .process-step:last-child .step-connector::before { display: none; }
}
@media (max-width: 480px) {
  .process-track { grid-template-columns: 1fr; row-gap: 8px; }
  .process-step { display: flex; align-items: flex-start; text-align: left; gap: 20px; padding: 0; }
  .process-step:last-child { max-width: none; grid-column: auto; }
  .step-connector { margin-bottom: 0; height: auto; min-width: 48px; }
  .step-connector::before { display: none; }
  .step-marker { width: 48px; height: 48px; min-width: 48px; font-size: 14px; }
  .step-content { padding-top: 4px; padding-bottom: 20px; border-bottom: 1px solid var(--gray-200); }
  .process-step:last-child .step-content { border-bottom: none; padding-bottom: 0; }
}

/* ========== LEARNING ========== */
.learning { padding: 88px 0; background: var(--cream); position: relative; }
.learning-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 40px; gap: 24px;
}
.learning-header .section-desc { max-width: 460px; }
.learning-header-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Outfit', sans-serif; font-size: 15px; font-weight: 600;
  color: var(--red); text-decoration: none; white-space: nowrap;
}
.learning-header-link svg { transition: transform 0.3s; }
.learning-header-link:hover svg { transform: translateX(4px); }
.learning-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.learning-card {
  background: var(--white); border-radius: 16px;
  overflow: hidden; text-decoration: none; color: inherit;
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.4s ease; display: flex; flex-direction: column;
}
.learning-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}
.learning-card-img {
  width: 100%; aspect-ratio: 16/10; overflow: hidden; position: relative;
}
.learning-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.learning-card:hover .learning-card-img img { transform: scale(1.05); }
.learning-card-body { padding: 22px 22px 26px; flex: 1; display: flex; flex-direction: column; }
.learning-tag {
  display: inline-block; padding: 5px 14px; border-radius: 100px;
  font-family: 'Outfit', sans-serif; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 16px;
  width: fit-content;
}
.learning-tag--article { background: rgba(var(--red-rgb), 0.08); color: var(--red); }
.learning-tag--guide { background: rgba(var(--gold-rgb), 0.12); color: var(--gold-dark); }
.learning-tag--update { background: rgba(var(--navy-rgb), 0.06); color: var(--slate); }
.learning-card-body h3 {
  font-family: 'Outfit', sans-serif; font-size: 16px;
  font-weight: 700; color: var(--text-dark); line-height: 1.35;
  margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.learning-card-body p {
  font-size: 13px; color: var(--gray-600); line-height: 1.65; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.learning-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 20px; margin-top: 20px;
  border-top: 1px solid var(--gray-200);
}
.learning-card-footer span {
  font-size: 12px; color: var(--gray-400);
}
.learning-card-footer svg {
  color: var(--red); transition: transform 0.3s;
}
.learning-card:hover .learning-card-footer svg { transform: translateX(4px); }

/* Learning carousel dots (mobile) */
.learning-dots {
  display: none; justify-content: center; gap: 8px;
  margin-top: 24px;
}
.learning-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--text-dark); opacity: 0.15;
  transition: all 0.3s ease; border: none; padding: 0; cursor: pointer;
}
.learning-dot.active { opacity: 0.6; transform: scale(1.25); }

/* ========== LENDERS ========== */
.lenders {
  padding: 56px 0; background: var(--white);
  border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200);
}
.lenders-inner { text-align: center; }
.lenders-inner .section-label { margin-bottom: 40px; }
.lender-logos {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 32px 0;
  align-items: center; justify-items: center;
  max-width: 900px; margin: 0 auto;
}
.lender-logo {
  opacity: 1; transition: all 0.4s ease;
  display: flex; align-items: center; justify-content: center;
  width: 100%; padding: 0 12px;
}
.lender-logo:hover { opacity: 0.6; }
.lender-logo img { display: block; height: 32px; width: auto; max-width: 100%; object-fit: contain; }

/* ========== CTA + FOOTER WRAP ========== */
.cta-footer-wrap {
  background: var(--navy); position: relative; overflow: hidden;
}
.cta-footer-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 80px 80px;
}
.cta-footer-pulse {
  position: absolute; right: 8%; top: 50%;
  transform: translateY(-50%); width: 500px; height: 500px; pointer-events: none;
}
.cta-footer-pulse .pulse-ring {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%); border-radius: 50%;
  border: 1px solid rgba(var(--red-rgb), 0.1);
  animation: pulseExpand 4s ease-out infinite;
}
.cta-footer-pulse .pulse-ring:nth-child(2) { animation-delay: 1s; }
.cta-footer-pulse .pulse-ring:nth-child(3) { animation-delay: 2s; }
.cta-footer-pulse .pulse-ring:nth-child(4) { animation-delay: 3s; }
.cta-footer-pulse .pulse-center {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 12px; height: 12px;
  background: var(--red); border-radius: 50%;
  box-shadow: 0 0 20px rgba(var(--red-rgb), 0.4), 0 0 40px rgba(var(--red-rgb), 0.15);
  animation: centerPulse 2s ease-in-out infinite;
}

/* ========== CTA ========== */
.cta {
  padding: 88px 0; position: relative;
}
.cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 70% at 50% 50%, rgba(var(--red-rgb), 0.06), transparent);
}
.cta-inner {
  position: relative; z-index: 1; text-align: center;
  max-width: 700px; margin: 0 auto;
}
.cta-inner .section-label { color: var(--gold); }
.cta-inner .section-title { color: var(--white); margin-bottom: 20px; }
.cta-inner .section-desc {
  color: rgba(255,255,255,0.5); margin: 0 auto 40px; max-width: 520px;
}
.cta-response {
  font-size: 14px; color: rgba(255,255,255,0.45);
  margin: -20px auto 32px; max-width: 520px;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-contact {
  display: flex; justify-content: center; gap: 48px;
  margin-top: 44px; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.cta-contact-item {
  display: flex; align-items: center; gap: 12px;
  color: rgba(255,255,255,0.4); font-size: 15px;
}
.cta-contact-item svg { color: var(--red-glow); }
.cta-contact-item a {
  color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.3s;
}
.cta-contact-item a:hover { color: var(--white); }

/* ========== FOOTER ========== */
footer {
  padding: 60px 0 40px; position: relative;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 40px; padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative; z-index: 1;
}
.footer-brand img { display: block; height: 30px; width: auto; }
.footer-brand p {
  color: rgba(255,255,255,0.3); font-size: 14px;
  margin-top: 12px; max-width: 300px; line-height: 1.5;
}
.footer-socials {
  display: flex; gap: 12px; margin-top: 20px;
}
.footer-socials a {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease; text-decoration: none;
}
.footer-socials a:hover {
  background: rgba(255,255,255,0.12); transform: translateY(-2px);
}
.footer-socials a svg { color: rgba(255,255,255,0.4); transition: color 0.3s; }
.footer-socials a:hover svg { color: var(--white); }
.footer-links { display: flex; gap: 64px; }
.footer-col h4 {
  font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 700;
  color: rgba(255,255,255,0.5); text-transform: uppercase;
  letter-spacing: 1.5px; margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
  color: rgba(255,255,255,0.35); text-decoration: none;
  font-size: 14px; transition: color 0.3s;
}
.footer-col a:hover { color: rgba(255,255,255,0.7); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding-top: 32px; gap: 20px; position: relative; z-index: 1;
}
.footer-bottom p {
  color: rgba(255,255,255,0.2); font-size: 12px; line-height: 1.5; max-width: 700px;
}
.footer-legal { display: flex; flex-direction: column; gap: 8px; max-width: 700px; }

/* ========== BOOKING MODAL ========== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(var(--navy-rgb), 0.85);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; visibility: hidden;
  transition: all 0.3s ease;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal {
  background: var(--navy); border-radius: 20px;
  width: 100%; max-width: 520px;
  position: relative; overflow: hidden;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh; overflow-y: auto;
}
.modal-overlay.active .modal { transform: translateY(0) scale(1); }
.modal-header {
  background: var(--navy); padding: 32px 36px 28px;
  position: relative; border-radius: 20px 20px 0 0;
}
.modal-header::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--red-glow), var(--gold));
}
.modal-header .section-label { color: var(--gold); margin-bottom: 8px; }
.modal-header h3 {
  font-family: 'Outfit', sans-serif; font-size: 24px; font-weight: 800;
  color: var(--white); letter-spacing: -0.5px;
}
.modal-header p {
  font-size: 14px; color: rgba(255,255,255,0.45); margin-top: 6px; line-height: 1.5;
}
.modal-close {
  position: absolute; top: 20px; right: 20px;
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.08); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.modal-close:hover { background: rgba(255,255,255,0.15); }
.modal-close svg { color: rgba(255,255,255,0.6); }
.modal-body { padding: 32px 36px 36px; background: var(--white); border-radius: 0 0 20px 20px; }
.modal-field { margin-bottom: 20px; }
.modal-field label {
  display: block; font-family: 'Outfit', sans-serif; font-size: 13px;
  font-weight: 600; color: var(--text-dark); margin-bottom: 8px;
  letter-spacing: 0.3px;
}
.modal-field input,
.modal-field select,
.modal-field textarea {
  width: 100%; padding: 14px 16px; border-radius: 10px;
  border: 1px solid var(--gray-200); background: var(--gray-100);
  font-family: 'DM Sans', sans-serif; font-size: 15px;
  color: var(--text-dark); transition: all 0.3s;
  outline: none;
}
.modal-field input:focus,
.modal-field select:focus,
.modal-field textarea:focus {
  border-color: var(--red); background: var(--white);
  box-shadow: 0 0 0 3px rgba(var(--red-rgb), 0.08);
}
.modal-field input::placeholder,
.modal-field textarea::placeholder { color: var(--gray-400); }
.modal-field textarea { resize: none; min-height: 80px; }
.modal-field select { cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%239BA3B5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.modal-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.modal-submit {
  width: 100%; padding: 16px; border-radius: 10px; border: none;
  background: var(--red); color: var(--white);
  font-family: 'Outfit', sans-serif; font-size: 16px; font-weight: 700;
  cursor: pointer; transition: all 0.3s; margin-top: 4px;
  box-shadow: 0 4px 20px rgba(var(--red-rgb), 0.25);
}
.modal-submit:hover {
  background: var(--red-glow); transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(var(--red-rgb), 0.35);
}
body.modal-open { overflow: hidden; }

/* ========== SCROLL ANIMATIONS ========== */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ========== ACTIVE NAV LINK ========== */
.nav-links a.active { color: var(--white); }
.mobile-menu ul a.active { color: var(--white); }

/* ========== PAGE HEADER ========== */
.page-header {
  position: relative;
  display: flex; align-items: center;
  background: var(--navy); overflow: hidden;
  padding: 160px 0 88px;
}
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(var(--red-rgb), 0.06), transparent),
    radial-gradient(ellipse 60% 80% at 20% 80%, rgba(var(--navy-light-rgb), 0.5), transparent),
    linear-gradient(180deg, rgba(var(--navy-rgb),0) 0%, rgba(var(--navy-rgb),0.3) 100%);
}
.page-header::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.08), transparent),
    radial-gradient(1px 1px at 60% 70%, rgba(255,255,255,0.05), transparent),
    radial-gradient(1px 1px at 80% 20%, rgba(255,255,255,0.06), transparent);
  background-size: 250px 250px, 300px 300px, 200px 200px;
}
.page-header-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 80px 80px;
}
.page-header-pulse {
  position: absolute; right: 10%; top: 50%;
  transform: translateY(-50%); width: 400px; height: 400px;
}
.page-header-content {
  position: relative; z-index: 2;
  animation: fadeInUp 0.8s ease-out both;
}
.page-header h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(34px, 4.2vw, 52px); font-weight: 800;
  color: var(--white); line-height: 1.12; letter-spacing: -1.5px;
  max-width: 680px; margin-bottom: 20px;
}
.page-header h1 em {
  font-style: normal; color: var(--red-glow); position: relative;
}
.page-header h1 em::after {
  content: ''; position: absolute;
  bottom: 3px; left: 0; right: 0;
  height: 3px; background: var(--red);
  border-radius: 2px; opacity: 0.5;
}
.page-header-sub {
  font-size: 17px; color: rgba(255,255,255,0.5);
  max-width: 640px; line-height: 1.6;
}

/* ========== CONTACT PAGE ========== */
.contact-section {
  padding: 80px 0;
  background: var(--white);
  position: relative;
}
.contact-section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: stretch;
}
.contact-form-wrap {
  background: var(--gray-100);
  border-radius: 20px;
  padding: 44px;
  border: 1px solid var(--gray-200);
}
.contact-form-header { margin-bottom: 32px; }
.contact-form-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 28px; font-weight: 800;
  color: var(--text-dark); letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.contact-form-header p { font-size: 15px; color: var(--gray-600); line-height: 1.6; }
.contact-field { margin-bottom: 20px; }
.contact-field label {
  display: block;
  font-family: 'Outfit', sans-serif; font-size: 13px;
  font-weight: 600; color: var(--text-dark);
  margin-bottom: 8px; letter-spacing: 0.3px;
}
.field-optional { font-weight: 400; color: var(--gray-400); }
.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%; padding: 14px 16px; border-radius: 10px;
  border: 1px solid var(--gray-200); background: var(--white);
  font-family: 'DM Sans', sans-serif; font-size: 15px;
  color: var(--text-dark); transition: all 0.3s;
  outline: none;
}
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: var(--red); background: var(--white);
  box-shadow: 0 0 0 3px rgba(var(--red-rgb), 0.08);
}
.contact-field input::placeholder,
.contact-field textarea::placeholder { color: var(--gray-400); }
.contact-field textarea { resize: vertical; min-height: 100px; }
.contact-field select {
  cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%239BA3B5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-submit {
  width: 100%; padding: 16px 32px; border-radius: 10px; border: none;
  background: var(--red); color: var(--white);
  font-family: 'Outfit', sans-serif; font-size: 16px; font-weight: 700;
  cursor: pointer; transition: all 0.3s; margin-top: 4px;
  box-shadow: 0 4px 20px rgba(var(--red-rgb), 0.25);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
}
.contact-submit:hover {
  background: var(--red-glow); transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(var(--red-rgb), 0.35);
}
.contact-submit svg { transition: transform 0.3s; }
.contact-submit:hover svg { transform: translateX(4px); }
.contact-info {
  display: flex; flex-direction: column; gap: 20px;
  justify-content: space-between;
}
.contact-card {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 28px;
  background: var(--gray-100);
  border-radius: 16px;
  border: 1px solid transparent;
  transition: all 0.4s ease;
}
.contact-card:hover {
  border-color: var(--gray-200);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.04);
}
.contact-card-icon {
  width: 52px; height: 52px; min-width: 52px;
  background: var(--white);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: all 0.4s ease;
}
.contact-card-icon svg { color: var(--navy); transition: all 0.4s; }
.contact-card:hover .contact-card-icon {
  background: var(--navy);
  box-shadow: 0 4px 20px rgba(var(--navy-rgb),0.2);
}
.contact-card:hover .contact-card-icon svg { color: var(--white); }
.contact-card-body h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 17px; font-weight: 700;
  color: var(--text-dark); margin-bottom: 6px;
}
.contact-card-body p { font-size: 14px; color: var(--gray-600); line-height: 1.6; margin-bottom: 12px; }
.contact-card-link {
  font-family: 'Outfit', sans-serif;
  font-size: 15px; font-weight: 600;
  color: var(--red); text-decoration: none;
  transition: color 0.3s;
}
.contact-card-link:hover { color: var(--red-glow); }
.contact-card-detail {
  font-family: 'Outfit', sans-serif;
  font-size: 15px; font-weight: 600;
  color: var(--text-dark);
}
.contact-hours { display: flex; flex-direction: column; gap: 6px; }
.hours-row {
  display: flex; justify-content: space-between;
  padding: 8px 12px;
  background: var(--white);
  border-radius: 8px;
  font-size: 13px;
}
.hours-row span:first-child {
  font-family: 'Outfit', sans-serif;
  font-weight: 600; color: var(--text-dark);
}
.hours-row span:last-child { color: var(--gray-600); }

/* ========== FAQ ========== */
.faq-section { padding: 80px 0; background: var(--gray-100); }
.faq-header { text-align: center; margin-bottom: 48px; }
.faq-header .section-desc { margin: 0 auto; }
.faq-grid {
  max-width: 800px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 12px;
}
.faq-item {
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-item.open {
  border-color: rgba(var(--red-rgb), 0.2);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.faq-trigger {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px;
  background: none; border: none;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-size: 16px; font-weight: 600;
  color: var(--text-dark);
  text-align: left; gap: 16px;
  transition: color 0.3s;
}
.faq-trigger:hover { color: var(--red); }
.faq-chevron {
  min-width: 20px; color: var(--gray-400);
  transition: transform 0.3s ease, color 0.3s;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--red); }
.faq-answer { overflow: hidden; height: 0; transition: height 0.35s ease; }
.faq-answer p {
  padding: 0 24px 20px;
  font-size: 15px; color: var(--gray-600);
  line-height: 1.7;
}

/* ========== ABOUT PAGE ========== */
.about-story {
  padding: 88px 0;
  background: var(--white);
  position: relative;
}
.about-story::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
}
.about-story-grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 80px; align-items: center;
}
.about-story-image { position: relative; }
.about-story-frame {
  width: 100%; aspect-ratio: 4/5;
  background: var(--gray-100); border-radius: 20px;
  overflow: hidden; position: relative;
}
.about-story-frame::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(var(--navy-rgb),0.4));
  z-index: 1;
}
.about-story-content .section-title { margin-bottom: 4px; }
.about-story-role {
  font-size: 18px; color: var(--gray-600); margin-bottom: 8px;
}
.about-story-text { margin-top: 24px; }
.about-story-text p {
  font-size: 16px; color: var(--text-body); line-height: 1.8;
  margin-bottom: 16px;
}
.about-story-text p:last-child { margin-bottom: 0; }

/* Stats bar */
.stats-bar {
  padding: 56px 0;
  background: var(--navy);
  position: relative; overflow: hidden;
}
.stats-bar::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 30% 50%, rgba(var(--red-rgb), 0.05), transparent),
    radial-gradient(ellipse 40% 40% at 80% 50%, rgba(var(--navy-light-rgb), 0.3), transparent);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; position: relative; z-index: 1;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(36px, 4vw, 52px); font-weight: 800;
  color: var(--white); letter-spacing: -1px;
  line-height: 1;
}
.stat-label {
  font-family: 'Outfit', sans-serif;
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase; letter-spacing: 2px;
  margin-top: 8px;
}

/* Why section */
.why-section {
  padding: 88px 0;
  background: var(--gray-100);
}
.why-header { text-align: center; margin-bottom: 52px; }
.why-header .section-desc { margin: 0 auto; }
.why-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.why-card {
  background: var(--white);
  border-radius: 16px;
  padding: 36px 32px;
  border: 1px solid var(--gray-200);
  transition: all 0.4s ease;
  position: relative;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.06);
  border-color: transparent;
}
.why-card-number {
  font-family: 'Outfit', sans-serif;
  font-size: 48px; font-weight: 900;
  color: var(--gray-100); letter-spacing: -2px;
  line-height: 1; margin-bottom: 16px;
  transition: color 0.4s;
}
.why-card:hover .why-card-number { color: rgba(var(--red-rgb), 0.1); }
.why-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 19px; font-weight: 700;
  color: var(--text-dark); margin-bottom: 10px;
}
.why-card p {
  font-size: 14px; color: var(--gray-600); line-height: 1.65;
}
.why-footnote {
  margin-top: 32px; text-align: center;
  font-size: 14px; color: var(--gray-600); line-height: 1.6;
}
.why-footnote span { color: var(--gray-400); }

/* Credentials section */
.credentials-section {
  padding: 88px 0;
  background: var(--white);
}
.credentials-header { margin-bottom: 40px; }
.credentials-grid {
  display: grid; grid-template-columns: 1.2fr 0.8fr;
  gap: 64px; align-items: stretch;
}
.credentials-list {
  display: flex; flex-direction: column;
  gap: 16px;
}
.credential-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px;
  background: var(--gray-100);
  border-radius: 12px;
  transition: all 0.3s ease;
}
.credential-item:hover {
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.credential-icon {
  width: 40px; height: 40px; min-width: 40px;
  background: rgba(var(--red-rgb), 0.08);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.credential-icon svg { color: var(--red); }
.credential-item h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 15px; font-weight: 700;
  color: var(--text-dark); margin-bottom: 2px;
}
.credential-item p {
  font-size: 13px; color: var(--gray-600);
}
.credentials-visual { display: flex; justify-content: center; align-items: stretch; }
.credentials-card {
  background: var(--navy);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  max-width: 380px; width: 100%;
  display: flex; flex-direction: column;
}
.credentials-card-accent {
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--red-glow), var(--gold));
}
.credentials-card-inner {
  padding: 40px 32px;
  text-align: center;
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.credentials-card-inner svg { margin-bottom: 20px; color: var(--gold); }
.credentials-card-inner h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 20px; font-weight: 700;
  color: var(--white); margin-bottom: 12px;
}
.credentials-card-inner p {
  font-size: 14px; color: rgba(255,255,255,0.45);
  line-height: 1.65;
}

/* ========== LEARNING PAGE ========== */
.learning-featured {
  padding: 80px 0 0;
  background: var(--white);
  position: relative;
}
.learning-featured::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
}
.featured-card {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  background: var(--gray-100); border-radius: 20px;
  overflow: hidden; text-decoration: none; color: inherit;
  border: 1px solid var(--gray-200);
  transition: all 0.4s ease;
}
.featured-card:hover {
  border-color: transparent;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}
.featured-card-img {
  position: relative; overflow: hidden;
}
.featured-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.featured-card:hover .featured-card-img img { transform: scale(1.04); }
.featured-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(var(--navy-rgb),0.15) 0%, transparent 60%);
}
.featured-card-badge {
  position: absolute; top: 20px; left: 20px;
  padding: 6px 16px; border-radius: 100px;
  background: var(--red); color: var(--white);
  font-family: 'Outfit', sans-serif; font-size: 11px;
  font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
}
.featured-card-body {
  padding: 44px 40px;
  display: flex; flex-direction: column; justify-content: center;
}
.featured-card-body .learning-tag { margin-bottom: 20px; }
.featured-card-body h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(24px, 2.5vw, 32px); font-weight: 800;
  color: var(--text-dark); letter-spacing: -0.5px;
  line-height: 1.2; margin-bottom: 16px;
}
.featured-card-body > p {
  font-size: 15px; color: var(--gray-600);
  line-height: 1.65; margin-bottom: 24px;
}
.featured-card-meta {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
}
.featured-card-meta > span:first-child {
  font-size: 13px; color: var(--gray-400);
}
.featured-card-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 600;
  color: var(--red);
}
.featured-card-arrow svg { transition: transform 0.3s; }
.featured-card:hover .featured-card-arrow svg { transform: translateX(4px); }

/* Learning hub grid */
.learning-hub {
  padding: 48px 0 88px;
  background: var(--white);
}
.learning-filters {
  display: flex; gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 10px 24px; border-radius: 100px;
  border: 1px solid var(--gray-200); background: var(--white);
  font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 600;
  color: var(--gray-600); cursor: pointer;
  transition: all 0.3s ease;
}
.filter-btn:hover {
  border-color: var(--gray-400); color: var(--text-dark);
}
.filter-btn.active {
  background: var(--navy); border-color: var(--navy);
  color: var(--white);
}
.learning-hub-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.learning-hub-grid .learning-card.hidden {
  display: none;
}
@keyframes filterIn {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.learning-hub-grid .learning-card.filter-in {
  animation: filterIn 0.35s ease-out both;
}

/* ========== SERVICES PAGE ========== */
.service-detail-benefits {
  list-style: none; display: flex; flex-direction: column; gap: 10px;
  margin: 16px 0; padding: 0;
}
.service-detail-benefits li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--text-body); line-height: 1.5;
}
.service-detail-benefits li svg { min-width: 18px; margin-top: 1px; color: var(--red-glow); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .serve-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; gap: 60px; }
  .about-image { max-width: 500px; }
  .hero-pulse { display: none; }
  .cta-footer-pulse { display: none; }
  .learning-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .page-header-pulse { display: none; }
  .about-story-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-story-image { max-width: 500px; }
  .credentials-grid { grid-template-columns: 1fr; gap: 48px; }
  .featured-card { grid-template-columns: 1fr; }
  .featured-card-img { aspect-ratio: 16/8; }
  .learning-hub-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-inner { display: flex; justify-content: space-between; height: 68px; }
  .nav-logo img { height: 28px; }
  .nav-links { display: none; }
  .nav-cta-wrap .nav-cta { display: none; }
  .mobile-toggle { display: flex; }
  .mobile-menu { top: 68px; }
  .hero { min-height: auto; }
  .hero-content { padding: 120px 24px 72px; }
  .hero h1 { letter-spacing: -1px; }
  .hero-sub { font-size: 16px; margin-bottom: 32px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .btn { padding: 14px 28px; font-size: 15px; }
  .serve { padding: 64px 0; }
  .serve-grid { grid-template-columns: 1fr 1fr; }
  .services { padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .about { padding: 64px 0; }
  .process { padding: 64px 0; }
  .learning { padding: 64px 0; }
  .learning-grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; gap: 16px;
    padding-bottom: 4px; scrollbar-width: none;
  }
  .learning-grid::-webkit-scrollbar { display: none; }
  .learning-card {
    min-width: 280px; max-width: 300px; flex-shrink: 0;
    scroll-snap-align: center;
    transition: none; transform: none;
  }
  .learning-card:hover {
    transform: none; box-shadow: none;
  }
  .learning-card:hover .learning-card-img img { transform: none; }
  .learning-card:hover .learning-card-footer svg { transform: none; }
  .learning-dots { display: flex; }
  .learning-header { flex-direction: column; align-items: flex-start; }
  .process-step { gap: 24px; }
  .cta { padding: 64px 0; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; justify-content: center; }
  .footer-inner { flex-direction: column; }
  .footer-links { gap: 40px; flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; }
  .cta-contact { flex-direction: column; align-items: center; gap: 20px; }
  .about-image-badge { right: 10px; bottom: -10px; }
  .lender-logos { grid-template-columns: repeat(4, 1fr); gap: 24px 0; }
  .section-desc { font-size: 16px; }
  .modal-overlay { padding: 16px; }
  .modal-row { grid-template-columns: 1fr; }
  .modal-header { padding: 28px 24px 24px; }
  .modal-body { padding: 24px; }
  .page-header { padding: 120px 0 64px; }
  .page-header h1 { letter-spacing: -1px; }
  .page-header-sub { font-size: 16px; }
  .contact-section { padding: 56px 0; }
  .contact-form-wrap { padding: 28px 24px; }
  .contact-row { grid-template-columns: 1fr; }
  .faq-section { padding: 56px 0; }
  .faq-trigger { font-size: 15px; padding: 18px 20px; }
  .faq-answer p { padding: 0 20px 18px; font-size: 14px; }
  .about-story { padding: 64px 0; }
  .about-story-grid { gap: 40px; }
  .stats-bar { padding: 40px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .why-section { padding: 64px 0; }
  .why-grid { grid-template-columns: 1fr; }
  .credentials-section { padding: 64px 0; }
  .learning-featured { padding: 56px 0 0; }
  .featured-card-body { padding: 28px 24px; }
  .featured-card-body h2 { font-size: 22px; }
  .learning-hub { padding: 40px 0 64px; }
  .learning-hub-grid { grid-template-columns: 1fr; }
  .learning-hub-grid .learning-card {
    min-width: 0; max-width: none; flex-shrink: 1;
  }
}
@media (max-width: 480px) {
  .serve-grid { grid-template-columns: 1fr; }
  .lender-logos { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .hero-badge span { font-size: 11px; letter-spacing: 1px; }
  .about-image-badge { padding: 18px; right: 10px; bottom: -10px; }
  .about-image-badge h4 { font-size: 26px; }
  .contact-card { flex-direction: column; gap: 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}