/* ==========================================================================
   Loan Saving Network (loansavingnetwork.com)
   Custom Editorial Healthcare & Wellness Design System
   ========================================================================== */

:root {
  --bg-primary: #FAF8F5;
  --bg-secondary: #F1EFEA;
  --bg-surface: #FFFFFF;
  --bg-forest: #133830;
  --bg-forest-deep: #0D2721;
  --text-primary: #182C25;
  --text-secondary: #4A5D55;
  --text-muted: #6C7F77;
  --accent-primary: #1E564B;
  --accent-primary-hover: #154037;
  --accent-secondary: #D96B43;
  --accent-secondary-hover: #C25832;
  --tint-mint: #E4F0EC;
  --tint-coral: #FCEEE9;
  --border-subtle: rgba(24, 44, 37, 0.09);
  --border-strong: rgba(30, 86, 75, 0.22);
  --shadow-soft: 0 14px 36px -10px rgba(24, 44, 37, 0.07);
  --shadow-hover: 0 22px 48px -12px rgba(24, 44, 37, 0.14);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --font-serif: 'Georgia', 'Playfair Display', 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .serif-heading {
  font-family: var(--font-serif);
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover {
  color: var(--accent-secondary);
}

/* Top Utility Bar */
.top-utility-bar {
  background-color: var(--bg-forest-deep);
  color: rgba(250, 248, 245, 0.88);
  font-size: 0.86rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-utility-bar a {
  color: #FAF8F5;
  font-weight: 500;
}

.top-utility-bar a:hover {
  color: #F29570;
}

.utility-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  color: #A8D5CA;
  letter-spacing: 0.03em;
}

/* Sticky Glassmorphic Navbar */
.site-navbar {
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.9rem 0;
  transition: all 0.3s ease;
}

.site-navbar.scrolled {
  padding: 0.65rem 0;
  box-shadow: 0 10px 30px -10px rgba(24, 44, 37, 0.08);
}

.navbar-brand img {
  height: 46px;
  width: auto;
}

.site-navbar .nav-link {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.55rem 1rem !important;
  border-radius: 999px;
  transition: all 0.25s ease;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
  color: var(--accent-primary);
  background-color: var(--tint-mint);
}

/* Custom Buttons */
.btn-lsn-primary {
  background-color: var(--accent-primary);
  color: #FFFFFF !important;
  font-weight: 600;
  padding: 0.78rem 1.65rem;
  border-radius: 999px;
  border: 2px solid var(--accent-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 20px -6px rgba(30, 86, 75, 0.35);
}

.btn-lsn-primary:hover {
  background-color: var(--accent-primary-hover);
  border-color: var(--accent-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -8px rgba(30, 86, 75, 0.48);
}

.btn-lsn-coral {
  background-color: var(--accent-secondary);
  color: #FFFFFF !important;
  font-weight: 600;
  padding: 0.78rem 1.65rem;
  border-radius: 999px;
  border: 2px solid var(--accent-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 20px -6px rgba(217, 107, 67, 0.35);
}

.btn-lsn-coral:hover {
  background-color: var(--accent-secondary-hover);
  border-color: var(--accent-secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -8px rgba(217, 107, 67, 0.45);
}

.btn-lsn-outline {
  background-color: transparent;
  color: var(--accent-primary) !important;
  font-weight: 600;
  padding: 0.76rem 1.6rem;
  border-radius: 999px;
  border: 2px solid var(--border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
}

.btn-lsn-outline:hover {
  background-color: var(--tint-mint);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.btn-lsn-light {
  background-color: #FAF8F5;
  color: var(--bg-forest-deep) !important;
  font-weight: 700;
  padding: 0.85rem 1.85rem;
  border-radius: 999px;
  border: 2px solid #FAF8F5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  transition: all 0.25s ease;
}

.btn-lsn-light:hover {
  background-color: var(--accent-secondary);
  border-color: var(--accent-secondary);
  color: #FFFFFF !important;
  transform: translateY(-2px);
}

/* Section Badges & Headings */
.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 0.95rem;
  border-radius: 999px;
  background-color: var(--tint-mint);
  color: var(--accent-primary);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 1rem;
}

.eyebrow-badge.coral {
  background-color: var(--tint-coral);
  color: var(--accent-secondary);
}

.section-padding {
  padding: 5.5rem 0;
}

.section-bg-alt {
  background-color: var(--bg-secondary);
}

.section-title {
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  font-weight: 700;
  margin-bottom: 1.1rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 680px;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 4.5rem 0 5.5rem;
  background: radial-gradient(circle at 85% 15%, rgba(228, 240, 236, 0.85) 0%, rgba(250, 248, 245, 0) 55%),
              radial-gradient(circle at 10% 85%, rgba(252, 238, 233, 0.7) 0%, rgba(250, 248, 245, 0) 50%),
              var(--bg-primary);
  overflow: hidden;
}

.hero-title {
  font-size: clamp(2.45rem, 4.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 1.35rem;
}

.hero-title .highlight-italic {
  font-style: italic;
  color: var(--accent-primary);
  position: relative;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-visual-frame {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 0.85rem;
  background: linear-gradient(145deg, #FFFFFF, #E4F0EC);
  box-shadow: var(--shadow-hover);
}

.hero-visual-frame img {
  width: 100%;
  height: 490px;
  object-fit: cover;
  border-radius: calc(var(--radius-xl) - 8px);
}

.hero-floating-card {
  position: absolute;
  bottom: 26px;
  left: -20px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  padding: 1.1rem 1.35rem;
  border-radius: var(--radius-md);
  box-shadow: 0 18px 38px rgba(24, 44, 37, 0.14);
  border: 1px solid var(--border-subtle);
  max-width: 290px;
}

.hero-floating-badge {
  position: absolute;
  top: 26px;
  right: -16px;
  background: var(--bg-forest);
  color: #FAF8F5;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-md);
  box-shadow: 0 14px 30px rgba(19, 56, 48, 0.25);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2.2rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--border-subtle);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
}

.trust-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--tint-mint);
  color: var(--accent-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* About Section */
.about-image-collage {
  position: relative;
}

.about-main-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.about-accent-box {
  background-color: var(--bg-forest);
  color: #FAF8F5;
  padding: 1.65rem;
  border-radius: var(--radius-md);
  margin-top: -65px;
  margin-left: 2rem;
  margin-right: 1rem;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-hover);
}

.pillar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.4rem;
  transition: all 0.25s ease;
}

.pillar-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

/* Why Choose Us Cards */
.why-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 2.1rem 1.85rem;
  height: 100%;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-strong);
}

.why-card:hover::before {
  opacity: 1;
}

.why-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background-color: var(--tint-mint);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
  transition: all 0.3s ease;
}

.why-card:hover .why-icon-wrap {
  background-color: var(--accent-primary);
  color: #FFFFFF;
}

/* Services Cards */
.service-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-strong);
}

.service-img-wrapper {
  position: relative;
  height: 215px;
  overflow: hidden;
}

.service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-img-wrapper img {
  transform: scale(1.07);
}

.service-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(250, 248, 245, 0.94);
  backdrop-filter: blur(6px);
  color: var(--accent-primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.service-body {
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-title {
  font-size: 1.32rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.service-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.45rem;
  flex-grow: 1;
}

.service-card .btn-service {
  width: 100%;
  background-color: var(--tint-mint);
  color: var(--accent-primary) !important;
  font-weight: 700;
  padding: 0.72rem 1.2rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
}

.service-card:hover .btn-service {
  background-color: var(--accent-primary);
  color: #FFFFFF !important;
}

/* Testimonials */
.testimonial-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  height: 100%;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.quote-watermark {
  color: var(--tint-mint);
  margin-bottom: 1rem;
}

.star-row {
  display: flex;
  gap: 0.25rem;
  color: #E59838;
  margin-bottom: 1rem;
}

.testimonial-quote {
  font-size: 1.02rem;
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: 1.6rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border-subtle);
}

.testimonial-author img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--tint-mint);
}

/* Blog Cards */
.blog-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-strong);
}

.blog-img-wrap {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.blog-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-img-wrap img {
  transform: scale(1.06);
}

.blog-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
}

.blog-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  line-height: 1.32;
}

.blog-title a {
  color: var(--text-primary);
}

.blog-title a:hover {
  color: var(--accent-primary);
}

.blog-excerpt {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.4rem;
  flex-grow: 1;
}

.blog-read-link {
  font-weight: 700;
  color: var(--accent-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.94rem;
}

.blog-read-link:hover {
  color: var(--accent-secondary);
  gap: 0.7rem;
}

/* FAQ Accordion */
.lsn-accordion .accordion-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md) !important;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(24, 44, 37, 0.03);
}

.lsn-accordion .accordion-button {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-primary);
  background-color: var(--bg-surface);
  padding: 1.35rem 1.6rem;
  box-shadow: none !important;
}

.lsn-accordion .accordion-button:not(.collapsed) {
  color: var(--accent-primary);
  background-color: var(--tint-mint);
}

.lsn-accordion .accordion-body {
  padding: 1.35rem 1.6rem 1.5rem;
  color: var(--text-secondary);
  background-color: var(--bg-surface);
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--bg-forest) 0%, var(--bg-forest-deep) 100%);
  border-radius: var(--radius-xl);
  padding: 4.2rem 3.5rem;
  color: #FAF8F5;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px -15px rgba(19, 56, 48, 0.4);
}

.cta-banner::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 107, 67, 0.25) 0%, rgba(217, 107, 67, 0) 70%);
  pointer-events: none;
}

.cta-banner h2 {
  color: #FAF8F5;
}

/* Page Header / Inner Hero */
.page-hero {
  background: linear-gradient(180deg, var(--tint-mint) 0%, var(--bg-primary) 100%);
  padding: 4.2rem 0 3.2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.breadcrumb-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* Forms & Cards */
.content-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.form-label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-primary);
  margin-bottom: 0.45rem;
}

.form-control, .form-select {
  padding: 0.82rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(24, 44, 37, 0.16);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-size: 0.96rem;
  transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus {
  border-color: var(--accent-primary);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(30, 86, 75, 0.12);
}

.contact-info-box {
  background: var(--bg-forest);
  color: #FAF8F5;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  height: 100%;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #F29570;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Blog Article Typography */
.article-prose h2 {
  font-size: 1.75rem;
  margin-top: 2.2rem;
  margin-bottom: 1rem;
}

.article-prose h3 {
  font-size: 1.35rem;
  margin-top: 1.75rem;
  margin-bottom: 0.8rem;
}

.article-prose p {
  font-size: 1.06rem;
  color: var(--text-secondary);
  margin-bottom: 1.35rem;
}

.article-callout {
  background-color: var(--tint-mint);
  border-left: 4px solid var(--accent-primary);
  padding: 1.5rem 1.75rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.85rem 0;
}

/* Legal Document Styling */
.legal-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 3rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.legal-card h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-card h2:first-of-type {
  margin-top: 0;
}

/* Footer */
.site-footer {
  background-color: var(--bg-forest-deep);
  color: rgba(250, 248, 245, 0.8);
  padding: 4.5rem 0 2rem;
  margin-top: 4rem;
}

.site-footer h5 {
  font-family: var(--font-serif);
  color: #FAF8F5;
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
}

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

.footer-links li {
  margin-bottom: 0.68rem;
}

.footer-links a {
  color: rgba(250, 248, 245, 0.78);
  font-size: 0.94rem;
  transition: all 0.2s ease;
}

.footer-links a:hover {
  color: #F29570;
  padding-left: 4px;
}

.footer-bottom {
  margin-top: 3.2rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
  color: rgba(250, 248, 245, 0.68);
}

@media (max-width: 991.98px) {
  .hero-visual-frame img {
    height: 380px;
  }
  .hero-floating-card {
    position: static;
    margin-top: 1rem;
    max-width: 100%;
  }
  .hero-floating-badge {
    top: 16px;
    right: 16px;
  }
  .cta-banner {
    padding: 2.75rem 1.75rem;
  }
  .legal-card, .content-card {
    padding: 1.75rem;
  }
}
