/* ============================================================
   Alliance Direct Lender — Custom Styles
   Aesthetic: Refined authority with geometric energy
   Fonts: Sora (headings) + DM Sans (body)
   ============================================================ */

/* --- Design Tokens --- */
:root {
  /* Brand Palette */
  --al-primary:     #0F3057;
  --al-primary-rgb: 15, 48, 87;
  --al-secondary:   #1A5276;
  --al-accent:      #2E86C1;
  --al-accent-light:#5DADE2;
  --al-light:       #F4F7FA;
  --al-white:       #FFFFFF;
  --al-dark:        #212529;
  --al-muted:       #6C757D;

  /* Typography */
  --al-font-display: 'Sora', sans-serif;
  --al-font-body:    'DM Sans', sans-serif;

  /* Spacing */
  --al-section-py: 6rem;
  --al-section-py-mobile: 3.5rem;

  /* Transitions */
  --al-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --al-duration: 0.5s;

  /* Shadows */
  --al-shadow-sm: 0 2px 8px rgba(15, 48, 87, 0.06);
  --al-shadow-md: 0 8px 30px rgba(15, 48, 87, 0.10);
  --al-shadow-lg: 0 20px 60px rgba(15, 48, 87, 0.14);
}


/* --- Base --- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--al-font-body);
  color: var(--al-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-family: var(--al-font-display);
  font-weight: 700;
  color: var(--al-primary);
}

.section-heading {
  font-size: 2.25rem;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subheading {
  font-size: 1.125rem;
  color: var(--al-muted);
  max-width: 600px;
  margin-bottom: 3rem;
}


/* --- Entrance Animations --- */
.al-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--al-duration) var(--al-ease),
              transform var(--al-duration) var(--al-ease);
}

.al-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.al-reveal-delay-1 { transition-delay: 0.1s; }
.al-reveal-delay-2 { transition-delay: 0.2s; }
.al-reveal-delay-3 { transition-delay: 0.3s; }
.al-reveal-delay-4 { transition-delay: 0.4s; }


/* --- Navbar --- */
.al-navbar {
  background: rgba(var(--al-primary-rgb), 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.1rem 0;
  transition: padding var(--al-duration) var(--al-ease),
              box-shadow var(--al-duration) var(--al-ease);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.al-navbar.scrolled {
  padding: 0.6rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.al-navbar .navbar-brand img {
  height: 46px;
  transition: height 0.3s var(--al-ease);
  filter: brightness(0) invert(1);
}

.al-navbar.scrolled .navbar-brand img {
  height: 36px;
}

.al-navbar .nav-link {
  font-family: var(--al-font-display);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8) !important;
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: color 0.3s ease;
}

.al-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--al-accent-light);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--al-ease);
}

.al-navbar .nav-link:hover,
.al-navbar .nav-link:focus {
  color: #fff !important;
}

.al-navbar .nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.al-navbar .al-nav-phone {
  font-family: var(--al-font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9) !important;
  letter-spacing: 0.02em;
}

.al-navbar .al-btn-apply-nav {
  font-family: var(--al-font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  border: 2px solid var(--al-accent-light);
  border-radius: 6px;
  padding: 0.45rem 1.25rem;
  transition: all 0.3s var(--al-ease);
}

.al-navbar .al-btn-apply-nav:hover {
  background: var(--al-accent-light);
  color: var(--al-primary);
  transform: translateY(-1px);
}


/* --- Hero --- */
.al-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: var(--al-primary);
  overflow: hidden;
}

/* Atmospheric gradient mesh background */
.al-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(46, 134, 193, 0.25) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(26, 82, 118, 0.4) 0%, transparent 70%),
    radial-gradient(ellipse 90% 80% at 50% 50%, rgba(15, 48, 87, 0.8) 0%, transparent 100%);
  z-index: 1;
}

/* Hero background image (when added) */
.al-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  z-index: 0;
}

/* Geometric star pattern — decorative */
.al-hero-geo {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 700px;
  height: 700px;
  opacity: 0.04;
  z-index: 1;
  pointer-events: none;
}

.al-hero-geo svg {
  width: 100%;
  height: 100%;
}

.al-hero .container {
  position: relative;
  z-index: 2;
}

.al-hero-headline {
  font-family: 'Outfit', var(--al-font-display), sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.al-hero-headline span {
  display: inline-block;
  background: linear-gradient(135deg, var(--al-accent-light) 0%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.al-hero-sub {
  font-family: var(--al-font-body);
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 500px;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

/* Code Entry Card */
.al-code-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 2rem;
}

.al-code-card label {
  font-family: var(--al-font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0.75rem;
  display: block;
}

.al-code-card .input-group {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.al-code-card .form-control {
  font-family: var(--al-font-display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 0.85rem 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-right: none;
  background: rgba(255, 255, 255, 0.95);
  color: var(--al-primary);
}

.al-code-card .form-control::placeholder {
  color: var(--al-muted);
  letter-spacing: 0.04em;
  font-weight: 400;
}

.al-code-card .form-control:focus {
  border-color: var(--al-accent-light);
  box-shadow: none;
  background: #fff;
}

.al-code-card .btn-accent {
  font-family: var(--al-font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--al-accent);
  color: #fff;
  border: 2px solid var(--al-accent);
  padding: 0.85rem 1.75rem;
  transition: all 0.3s var(--al-ease);
}

.al-code-card .btn-accent:hover {
  background: var(--al-accent-light);
  border-color: var(--al-accent-light);
  transform: translateX(2px);
}

.al-code-card .al-code-alt {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.75rem;
}

.al-code-card .al-code-alt a {
  color: var(--al-accent-light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.al-code-card .al-code-alt a:hover {
  color: #fff;
  text-decoration: underline;
}

.al-hero .al-btn-outline {
  font-family: var(--al-font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 0.75rem 2rem;
  transition: all 0.3s var(--al-ease);
  margin-top: 1.5rem;
  display: inline-block;
}

.al-hero .al-btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}


/* --- Section Utility --- */
.al-section {
  padding: var(--al-section-py) 0;
}

.al-section-light {
  background: var(--al-light);
  position: relative;
}

/* Subtle angular divider — opt-in with .al-section-angled */
.al-section-angled::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--al-white);
  clip-path: polygon(0 0, 100% 0, 100% 30%, 0 100%);
  z-index: 1;
}


/* --- How It Works --- */
.al-step {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
}

.al-step-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--al-primary) 0%, var(--al-secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 24px rgba(15, 48, 87, 0.2);
  transition: transform 0.4s var(--al-ease), box-shadow 0.4s var(--al-ease);
}

.al-step:hover .al-step-icon {
  transform: translateY(-4px) rotate(-3deg);
  box-shadow: 0 12px 32px rgba(15, 48, 87, 0.3);
}

.al-step-icon i {
  font-size: 1.8rem;
  color: #fff;
}

.al-step-number {
  font-family: var(--al-font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--al-accent);
  margin-bottom: 0.5rem;
}

.al-step h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.al-step p {
  font-size: 0.95rem;
  color: var(--al-muted);
  line-height: 1.6;
}

/* Connector line between steps (desktop) */
@media (min-width: 768px) {
  .al-step-connector {
    position: relative;
  }

  .al-step-connector::after {
    content: '';
    position: absolute;
    top: 52px;
    right: -15%;
    width: 30%;
    height: 2px;
    background: linear-gradient(90deg, var(--al-accent), transparent);
    z-index: 2;
  }

  .al-step-connector:last-child::after {
    display: none;
  }
}


/* --- Loan Products Cards --- */
.al-product-card {
  background: var(--al-white);
  border: 1px solid rgba(15, 48, 87, 0.06);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s var(--al-ease);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.al-product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--al-primary), var(--al-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--al-ease);
}

.al-product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--al-shadow-lg);
  border-color: transparent;
}

.al-product-card:hover::before {
  transform: scaleX(1);
}

.al-product-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--al-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: background 0.3s ease;
}

.al-product-card:hover .al-product-card-icon {
  background: linear-gradient(135deg, var(--al-primary), var(--al-secondary));
}

.al-product-card-icon i {
  font-size: 1.5rem;
  color: var(--al-primary);
  transition: color 0.3s ease;
}

.al-product-card:hover .al-product-card-icon i {
  color: #fff;
}

.al-product-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.al-product-card p {
  font-size: 0.95rem;
  color: var(--al-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.al-product-card .al-link {
  font-family: var(--al-font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--al-accent);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s ease;
}

.al-product-card .al-link:hover {
  color: var(--al-primary);
}

.al-product-card .al-link i {
  font-size: 0.75rem;
  transition: transform 0.3s var(--al-ease);
  margin-left: 4px;
}

.al-product-card:hover .al-link i {
  transform: translateX(4px);
}


/* --- Why Alliance --- */
.al-feature {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem 0;
}

.al-feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--al-primary), var(--al-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
}

.al-feature-icon i {
  font-size: 1.1rem;
  color: #fff;
}

.al-feature h5 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.al-feature p {
  font-size: 0.9rem;
  color: var(--al-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Decorative star watermark for the why section */
.al-why-graphic {
  position: relative;
}

.al-why-graphic::after {
  content: '';
  position: absolute;
  right: -10%;
  bottom: -10%;
  width: 300px;
  height: 300px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpolygon points='50,5 61,35 95,35 68,57 79,90 50,70 21,90 32,57 5,35 39,35' fill='none' stroke='%230F3057' stroke-width='1'/%3E%3C/svg%3E") no-repeat center;
  opacity: 0.04;
  pointer-events: none;
}


/* --- CTA Banner --- */
.al-cta-banner {
  background: linear-gradient(135deg, var(--al-primary) 0%, var(--al-secondary) 50%, var(--al-primary) 100%);
  background-size: 200% 100%;
  animation: al-gradient-shift 8s ease-in-out infinite;
  padding: 7rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.al-cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 400px at 10% 50%, rgba(46, 134, 193, 0.2) 0%, transparent 100%),
    radial-gradient(circle 300px at 90% 50%, rgba(93, 173, 226, 0.15) 0%, transparent 100%);
  pointer-events: none;
}

@keyframes al-gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.al-cta-banner h2 {
  font-size: 2.25rem;
  color: #fff;
  margin-bottom: 0.75rem;
  position: relative;
}

.al-cta-banner p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  position: relative;
}

.al-btn-cta {
  font-family: var(--al-font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #fff;
  color: var(--al-primary);
  border: none;
  border-radius: 8px;
  padding: 1rem 2.5rem;
  transition: all 0.3s var(--al-ease);
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.al-btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  color: var(--al-accent);
}


/* --- Footer --- */
.al-footer {
  background: var(--al-primary);
  color: rgba(255, 255, 255, 0.75);
  padding: 4rem 0 0;
  position: relative;
}

.al-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(46, 134, 193, 0.3), transparent);
}

.al-footer h6 {
  font-family: var(--al-font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.25rem;
}

.al-footer-logo {
  height: 32px;
  filter: brightness(0) invert(1);
  margin-bottom: 1rem;
}

.al-footer p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.al-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.al-footer ul li {
  margin-bottom: 0.5rem;
}

.al-footer ul li a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.al-footer ul li a:hover {
  color: var(--al-accent-light);
  padding-left: 4px;
}

.al-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  margin-top: 3rem;
}

.al-footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0;
}

.al-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.5);
  margin-left: 0.5rem;
  transition: all 0.3s var(--al-ease);
  font-size: 0.95rem;
}

.al-footer-social a:hover {
  background: var(--al-accent);
  color: #fff;
  transform: translateY(-2px);
}


/* --- Responsive --- */
@media (max-width: 991.98px) {
  .al-section {
    padding: var(--al-section-py-mobile) 0;
  }

  .al-hero {
    min-height: auto;
    padding: 8rem 0 4rem;
  }

  .al-hero-headline {
    text-align: center;
  }

  .al-hero-sub {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .al-hero-right {
    margin-top: 2.5rem;
  }

  .al-code-card {
    margin: 0 auto;
  }

  .al-hero .al-btn-outline {
    display: block;
    text-align: center;
  }

  .al-hero-geo {
    display: none;
  }

  .section-heading,
  .section-subheading {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .al-cta-banner {
    padding: 5rem 0;
  }

  .al-cta-banner h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 575.98px) {
  .al-code-card {
    padding: 1.5rem;
  }

  .al-product-card {
    padding: 2rem 1.5rem;
  }

  .al-step {
    padding: 1.5rem 1rem;
  }
}


/* --- Utility --- */
.al-text-accent {
  color: var(--al-accent);
}

.al-bg-primary {
  background-color: var(--al-primary) !important;
}


/* ============================================================
   Light Theme Overrides
   ============================================================ */

/* --- Navbar: light background, natural logo --- */
.al-navbar {
  background: rgba(255, 255, 255, 0.97) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.al-navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.al-navbar .navbar-brand img {
  filter: none;
}

.al-navbar.scrolled .navbar-brand img {
  filter: none;
}

.al-navbar .nav-link {
  color: var(--al-primary) !important;
}

.al-navbar .nav-link:hover,
.al-navbar .nav-link:focus {
  color: var(--al-accent) !important;
}

.al-navbar .nav-link::after {
  background: var(--al-accent);
}

.al-navbar .al-nav-phone {
  color: var(--al-primary) !important;
}

.al-navbar .al-btn-apply-nav {
  color: var(--al-primary);
  border-color: var(--al-primary);
}

.al-navbar .al-btn-apply-nav:hover {
  background: var(--al-primary);
  color: #fff;
}

.navbar-toggler-icon {
  filter: invert(1) grayscale(100%) brightness(0);
}

/* --- Hero: lighter overlay, more image visible --- */
.al-hero {
  background: #1a3a5c;
}

.al-hero::before {
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(46, 134, 193, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(26, 82, 118, 0.2) 0%, transparent 70%),
    radial-gradient(ellipse 90% 80% at 50% 50%, rgba(15, 48, 87, 0.45) 0%, transparent 100%);
}

.al-hero-bg {
  opacity: 0.6;
}

/* --- Code Entry Card: lighter glass --- */
.al-code-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* --- How It Works: clean white background --- */
#how-it-works {
  background: #fff;
}

.al-step-icon {
  background: linear-gradient(135deg, #e8eef4 0%, #f0f4f8 100%);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.al-step-icon i {
  color: var(--al-primary);
}

.al-step:hover .al-step-icon {
  background: linear-gradient(135deg, var(--al-primary) 0%, var(--al-secondary) 100%);
  box-shadow: 0 8px 24px rgba(15, 48, 87, 0.15);
}

.al-step:hover .al-step-icon i {
  color: #fff;
}

/* --- Loan Products: subtle warm gray background --- */
#services {
  background: #f9fafb;
}

.al-product-card {
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

/* --- Why Alliance: white, no blue tint --- */
#why-alliance {
  background: #fff;
}

.al-section-angled::before {
  background: #f9fafb;
}

.al-feature-icon {
  background: linear-gradient(135deg, #e8eef4 0%, #f0f4f8 100%);
}

.al-feature-icon i {
  color: var(--al-primary);
}

/* --- CTA Banner: softer, less saturated --- */
.al-cta-banner {
  background: linear-gradient(135deg, #1a3a5c 0%, #24506e 50%, #1a3a5c 100%);
  background-size: 200% 100%;
}

.al-cta-banner::before {
  background:
    radial-gradient(circle 400px at 10% 50%, rgba(46, 134, 193, 0.1) 0%, transparent 100%),
    radial-gradient(circle 300px at 90% 50%, rgba(93, 173, 226, 0.08) 0%, transparent 100%);
}

/* --- Footer: light gray --- */
.al-footer {
  background: #f2f3f5;
  color: #4a5568;
}

.al-footer::before {
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.06), transparent);
}

.al-footer h6 {
  color: var(--al-primary);
}

.al-footer-logo {
  filter: none;
}

.al-footer p {
  color: #5a6577;
}

.al-footer ul li a {
  color: #5a6577;
}

.al-footer ul li a:hover {
  color: var(--al-accent);
  padding-left: 4px;
}

.al-footer ul li span {
  color: #5a6577;
}

.al-footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.al-footer-bottom p {
  color: #8896a6;
}

.al-footer-social a {
  background: rgba(15, 48, 87, 0.06);
  color: var(--al-primary);
}

.al-footer-social a:hover {
  background: var(--al-accent);
  color: #fff;
}

/* --- Step connectors: lighter --- */
@media (min-width: 768px) {
  .al-step-connector::after {
    background: linear-gradient(90deg, #d0d8e0, transparent);
  }
}
