:root {
  --ink: #17211e;
  --body: #3f4c47;
  --muted: #697770;
  --green: #0f7b63;
  --green-dark: #0b5748;
  --mint: #e7f5ef;
  --aqua: #d9f2f4;
  --coral: #ef6048;
  --gold: #d2a31d;
  --line: #dfebe6;
  --soft: #f7fbf8;
  --white: #ffffff;
  --shadow: 0 18px 44px rgba(23, 33, 30, .1);
  --shadow-soft: 0 10px 28px rgba(23, 33, 30, .07);
}

* {
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--body);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

.site-header {
  backdrop-filter: blur(12px);
}

.top-strip {
  background: var(--ink);
  color: #edf7f3;
  font-size: .92rem;
  padding: .48rem 0;
}

.top-strip span {
  color: #d4e5df;
}

.top-phone {
  align-items: center;
  color: #fff;
  display: inline-flex;
  font-weight: 900;
  gap: .42rem;
  white-space: nowrap;
}

.top-phone:hover {
  color: #fff;
}

.top-phone i {
  color: var(--gold);
}

.navbar {
  padding: .9rem 0;
}

.navbar-brand {
  align-items: center;
  color: var(--ink);
  display: flex;
  font-weight: 900;
  gap: .7rem;
  line-height: 1.15;
}

.brand-mark {
  background: linear-gradient(135deg, var(--green), #19a27f);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(15, 123, 99, .22);
  color: #fff;
  display: inline-grid;
  flex: 0 0 42px;
  height: 42px;
  place-items: center;
  width: 42px;
}

.navbar-toggler {
  border-color: var(--line);
  border-radius: 8px;
  padding: .45rem .6rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 .18rem rgba(15, 123, 99, .18);
}

.nav-link {
  border-radius: 8px;
  color: var(--ink);
  font-weight: 800;
  margin-left: .25rem;
  padding: .55rem .8rem !important;
}

.nav-link:hover,
.nav-link:focus {
  background: var(--mint);
  color: var(--green-dark);
}

.hero {
  color: #fff;
  display: flex;
  min-height: 690px;
  overflow: hidden;
  position: relative;
}

.hero-media,
.hero-media img {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.hero-media img {
  object-fit: cover;
  transform: scale(1.02);
}

.hero:before {
  background:
    linear-gradient(90deg, rgba(12, 18, 17, .9), rgba(12, 18, 17, .63), rgba(15, 123, 99, .2)),
    linear-gradient(0deg, rgba(12, 18, 17, .7), transparent 46%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.hero-content {
  align-items: center;
  display: flex;
  min-height: 690px;
  padding-bottom: 4.5rem;
  padding-top: 4.5rem;
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--coral);
  display: inline-flex;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: .9rem;
  text-transform: uppercase;
}

.hero .eyebrow {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  color: #ffe08b;
  padding: .42rem .68rem;
}

.hero h1,
.page-hero h1 {
  color: inherit;
  font-size: clamp(2.45rem, 5.5vw, 5rem);
  font-weight: 950;
  line-height: 1.02;
  margin-bottom: 1.1rem;
  max-width: 920px;
}

.hero p,
.page-hero p {
  color: inherit;
  font-size: 1.17rem;
  max-width: 760px;
}

.hero p {
  color: #edf7f3;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 1.8rem;
}

.btn {
  border-radius: 8px;
  font-weight: 900;
  padding: .72rem 1.05rem;
}

.btn-lg {
  padding: .9rem 1.25rem;
}

.btn-primary {
  --bs-btn-bg: var(--green);
  --bs-btn-border-color: var(--green);
  --bs-btn-hover-bg: var(--green-dark);
  --bs-btn-hover-border-color: var(--green-dark);
  box-shadow: 0 12px 26px rgba(15, 123, 99, .26);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, .68);
}

.btn-outline-light:hover {
  color: var(--ink);
}

.section {
  padding: 5.7rem 0;
}

.section.alt {
  background:
    linear-gradient(180deg, rgba(231, 245, 239, .42), rgba(255, 255, 255, 0)),
    var(--soft);
}

.section-title {
  margin-bottom: 2.2rem;
  max-width: 780px;
}

.section h2 {
  color: var(--ink);
  font-size: clamp(1.85rem, 3vw, 3rem);
  font-weight: 950;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.section h3 {
  color: var(--ink);
}

.feature-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.location-tile,
.blog-card,
.faq-item,
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  height: 100%;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.feature-card,
.location-tile,
.blog-card {
  display: block;
  padding: 1.45rem;
}

.feature-card:hover,
.location-tile:hover,
.blog-card:hover {
  border-color: rgba(15, 123, 99, .32);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.feature-card i {
  align-items: center;
  background: var(--mint);
  border-radius: 8px;
  color: var(--green);
  display: inline-flex;
  font-size: 1.45rem;
  height: 48px;
  justify-content: center;
  margin-bottom: 1rem;
  width: 48px;
}

.feature-card h3,
.location-tile h3,
.blog-card h3,
.blog-card h2 {
  font-weight: 950;
  line-height: 1.18;
}

.feature-card p,
.location-tile p,
.blog-card p,
.footer p,
.faq-item p {
  color: var(--muted);
}

.location-tile {
  background:
    linear-gradient(145deg, #fff, #f9fdfb);
  min-height: 250px;
}

.location-tile span,
.blog-card span {
  color: var(--coral);
  display: inline-block;
  font-size: .78rem;
  font-weight: 950;
  margin-bottom: .55rem;
  text-transform: uppercase;
}

.steps {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.steps div {
  background: linear-gradient(145deg, var(--mint), #fff);
  border: 1px solid #cfe6dd;
  border-radius: 8px;
  padding: 1.5rem;
}

.steps strong {
  color: var(--green);
  display: block;
  font-size: 2rem;
  font-weight: 950;
  margin-bottom: .45rem;
}

.cta-band {
  background:
    linear-gradient(135deg, rgba(239, 96, 72, .18), transparent 35%),
    linear-gradient(135deg, var(--green-dark), var(--green));
  color: #fff;
  padding: 3.3rem 0;
}

.cta-band h2 {
  color: #fff;
  font-weight: 950;
  margin-bottom: .55rem;
}

.cta-band p {
  color: #e7fff6;
  margin: 0;
}

.page-hero {
  background:
    linear-gradient(135deg, rgba(217, 242, 244, .72), rgba(255, 255, 255, .86)),
    linear-gradient(180deg, #fff, var(--soft));
  color: var(--ink);
  overflow: hidden;
  padding: 5.4rem 0;
  position: relative;
}

.page-hero:after {
  background: linear-gradient(135deg, rgba(15, 123, 99, .12), rgba(239, 96, 72, .08));
  bottom: -1px;
  content: "";
  height: 8px;
  left: 0;
  position: absolute;
  right: 0;
}

.page-hero.compact {
  padding: 4.7rem 0;
}

.page-hero.service {
  background:
    linear-gradient(135deg, #fff, rgba(231, 245, 239, .85)),
    var(--soft);
}

.rounded-img {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  box-shadow: var(--shadow);
  object-fit: cover;
  width: 100%;
}

.service-icon {
  align-items: center;
  background: var(--mint);
  border: 1px solid #cbe6dc;
  border-radius: 8px;
  color: var(--green);
  display: inline-flex;
  font-size: 1.75rem;
  height: 64px;
  justify-content: center;
  margin-bottom: 1rem;
  width: 64px;
}

.side-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 6px solid var(--green);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  padding: 1.45rem;
  position: sticky;
  top: 118px;
}

.side-panel h3 {
  font-weight: 950;
  margin-bottom: .8rem;
}

.side-panel a {
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  display: block;
  font-weight: 850;
  padding: .68rem 0;
}

.side-panel a:hover {
  color: var(--green);
}

.check-list {
  display: grid;
  gap: 1rem;
}

.check-list div {
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  display: flex;
  gap: .9rem;
  padding: 1.15rem;
}

.check-list i {
  color: var(--green);
  margin-top: .25rem;
}

.text-link {
  color: var(--green);
  font-weight: 950;
}

.text-link:hover {
  color: var(--green-dark);
}

.article-body .container {
  max-width: 1140px;
}

.article-body h2 {
  margin-top: 2.2rem;
}

.article-body p {
  font-size: 1.04rem;
}

.article-head h1 {
  max-width: 960px;
}

.contact-card {
  box-shadow: var(--shadow);
  padding: 2rem;
}

.contact-card i {
  align-items: center;
  background: var(--mint);
  border-radius: 8px;
  color: var(--green);
  display: inline-flex;
  font-size: 1.85rem;
  height: 58px;
  justify-content: center;
  margin-bottom: 1rem;
  width: 58px;
}

.contact-card h2 {
  font-size: 1.35rem;
  margin-bottom: .2rem;
}

.contact-card a {
  color: var(--ink);
  display: inline-block;
  font-size: 2rem;
  font-weight: 950;
  margin-bottom: .8rem;
}

.faq-section {
  background:
    linear-gradient(180deg, #fff, var(--soft));
}

.faq-list {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faq-item {
  box-shadow: var(--shadow-soft);
  padding: 1.4rem;
}

.faq-item h3 {
  font-size: 1.06rem;
  font-weight: 950;
  line-height: 1.28;
  margin-bottom: .65rem;
}

.footer {
  background:
    linear-gradient(135deg, #101615, #17211e);
  color: #fff;
  padding: 4.2rem 0 1.4rem;
}

.footer h3,
.footer h4 {
  color: #fff;
  font-weight: 950;
}

.footer h4 {
  font-size: 1rem;
  margin-bottom: .8rem;
}

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

.footer li {
  margin: .42rem 0;
}

.footer a {
  color: #d7e4df;
}

.footer a:hover {
  color: #fff;
}

.footer-phone {
  color: #fff !important;
  font-weight: 950;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: #b7c4c0;
  font-size: .92rem;
  margin-top: 2.1rem;
  padding-top: 1.2rem;
}

@media (max-width: 991px) {
  .navbar-collapse {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    margin-top: .9rem;
    padding: .65rem;
  }

  .nav-link {
    margin-left: 0;
  }

  .hero,
  .hero-content {
    min-height: 650px;
  }

  .feature-grid,
  .steps,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .side-panel {
    position: static;
  }

  .section {
    padding: 4.2rem 0;
  }
}

@media (max-width: 575px) {
  .top-strip .container {
    justify-content: center !important;
  }

  .top-strip span {
    display: none;
  }

  .navbar-brand span:last-child {
    max-width: 210px;
  }

  .hero,
  .hero-content {
    min-height: 610px;
  }

  .hero-content {
    padding-bottom: 3rem;
    padding-top: 3rem;
  }

  .hero-actions {
    display: grid;
    width: 100%;
  }

  .hero .btn,
  .cta-band .btn {
    width: 100%;
  }

  .page-hero {
    padding: 3.6rem 0;
  }

  .section {
    padding: 3.4rem 0;
  }

  .feature-card,
  .location-tile,
  .blog-card,
  .faq-item,
  .contact-card {
    padding: 1.2rem;
  }

  .contact-card a {
    font-size: 1.55rem;
  }
}

/* Apply Now shared CTA styles */
.navbar-nav .btn-primary[href*="lendingpad.com"],
.nav-links a.apply-now,
.links a.apply-now {
  --apply-accent: var(--red, var(--green, var(--primary, var(--accent, #155f4f))));
  --apply-accent-dark: var(--green-dark, var(--secondary, var(--ink, #0f4d41)));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--apply-accent);
  border: 1px solid var(--apply-accent);
  color: #fff;
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
}
.navbar-nav .btn-primary[href*="lendingpad.com"]:hover,
.navbar-nav .btn-primary[href*="lendingpad.com"]:focus,
.nav-links a.apply-now:hover,
.nav-links a.apply-now:focus,
.links a.apply-now:hover,
.links a.apply-now:focus {
  background: var(--apply-accent-dark);
  border-color: var(--apply-accent-dark);
  color: #fff;
}
.apply-now-strip {
  --apply-accent: var(--red, var(--green, var(--primary, var(--accent, #155f4f))));
  --apply-panel: var(--ink, var(--primary, #172126));
  padding: clamp(28px, 5vw, 56px) 0;
  background: transparent;
}
.apply-now-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(24px, 4vw, 36px);
  border-radius: 8px;
  background: var(--apply-panel);
  color: #fff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .14);
}
.apply-now-strip span {
  color: #fff;
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  font-weight: 900;
  line-height: 1.12;
}
.apply-now-page-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 8px;
  background: var(--apply-accent);
  color: #fff;
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
}
.apply-now-page-button:hover,
.apply-now-page-button:focus {
  filter: brightness(.92);
  color: #fff;
}
@media (max-width: 640px) {
  .navbar-nav .btn-primary[href*="lendingpad.com"],
  .nav-links a.apply-now,
  .links a.apply-now {
    width: 100%;
    margin-top: 6px;
  }
  .apply-now-strip .container {
    display: grid;
    gap: 16px;
    text-align: left;
  }
  .apply-now-page-button {
    width: 100%;
  }
}
