/* Homepage Specific Styling
  Brand Colors: Dark Blue #142e49, Orange #f19e3b, White #ffffff, Gray #a7a8a7
  Accent Color: Bright Blue #2f80ed
*/

:root {
  --dark-blue: var(--navy);
  --dark-blue-hover: var(--navy-dark);
  --bright-blue: #2f80ed;
  --orange: #f19e3b;
  --orange-bright: var(--orange-hover);
  --white: #ffffff;
  --gray: #a7a8a7;
  --light-gray: #f8fafc;
  --border-light: #e2e8f0;
  --text-main: var(--text-body);
  --text-muted: var(--text-muted);
  --border-radius: 8px;
  --shadow-subtle: 0 4px 20px rgba(20, 46, 73, 0.03);
  --shadow-hover: 0 12px 30px rgba(20, 46, 73, 0.08);
}

/* Global Homepage Resets & Containers */
.container {
  max-width: 1320px; 
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
}

/* Premium Layered Backgrounds */
.section-light {
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
}

/* Subtle homepage depth behind sections that have no background of their own */
.home-main {
  background: linear-gradient(160deg, #f8fafc 0%, #ffffff 45%, #f4f8fc 100%);
}

.section-dark { 
  background-color: var(--dark-blue);
  background-image: radial-gradient(circle at top left, rgba(255, 255, 255, 0.03) 0%, transparent 60%); 
  color: var(--white); 
}

.text-white { color: var(--white) !important; }
.text-orange { color: var(--orange) !important; font-weight: 600; }
.text-center { text-align: center; }
.relative-z { position: relative; z-index: 2; }

/* Premium Typography Hierarchy */
h1, h2, h3 {
  font-family: inherit;
  letter-spacing: -0.02em; 
  color: var(--dark-blue);
  line-height: 1.2;
  font-weight: 700;
}

.section-title {
  font-size: 2.75rem;
  max-width: 900px;
  margin: 0 auto 1.5rem auto;
  font-weight: 700;
  text-align: center;
}

.section-intro {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 65ch; 
  margin: 0 auto 3.5rem auto;
  line-height: 1.6;
  text-align: left;
}

.section-intro.text-center,
.home-hero .hero-subtitle {
  text-align: center;
}

p {
  line-height: 1.75; 
  color: var(--text-main);
  font-size: 1.125rem; 
  margin-bottom: 1.25rem;
}

a {
  color: var(--dark-blue);
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: color 0.3s ease;
}

a:hover { color: var(--orange); }

/* Solid brand color for highlighted heading text */
.gradient-text {
  color: var(--orange);
  -webkit-text-fill-color: var(--orange);
  background: none;
  animation: none;
  display: inline-block;
}


.accent-text {
  color: #f19e3b;
  font: inherit;
  font-weight: inherit;
}

/* Icons & Graphics */
.icon-lg { width: 48px; height: 48px; display: block; margin: 0 auto 1.5rem auto; }
.icon-md { width: 32px; height: 32px; display: block; margin: 0 auto 1rem auto; }
.icon-sm { width: 24px; height: 24px; flex-shrink: 0; margin-top: 2px; }

/* Buttons - Premium Glow & Lift */
.btn {
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  min-height: 54px;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-decoration: none !important;
  border-radius: 6px; 
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--orange);
  color: var(--white) !important;
  box-shadow: 0 4px 15px rgba(241, 158, 59, 0.25); 
  text-shadow: 0 1px 2px rgba(0,0,0,0.1); 
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: skewX(-20deg);
  transition: all 0.6s ease;
}

.btn-primary:hover {
  background-color: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(241, 158, 59, 0.45); 
}

.btn-primary:hover::after {
  left: 150%;
}

.btn-secondary {
  background-color: transparent;
  color: var(--dark-blue) !important;
  border-color: var(--dark-blue);
  box-shadow: 0 4px 15px rgba(20, 46, 73, 0.05);
}

.btn-secondary:hover {
  background-color: var(--dark-blue);
  color: var(--white) !important;
  box-shadow: 0 8px 25px rgba(20, 46, 73, 0.2);
  transform: translateY(-2px);
}

.btn-large { padding: 16px 40px; font-size: 1.15rem; }

/* Readability fix for Secondary Buttons on Dark Sections */
.section-dark .btn-secondary {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white) !important;
}

.section-dark .btn-secondary:hover {
  background-color: var(--white);
  color: var(--dark-blue) !important;
  border-color: var(--white);
}

/* CSS Keyframes for High-End Subtle Animation */
@keyframes float-gentle {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

@keyframes shimmer-subtle {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes pulse-glow {
  0% { opacity: 0.4; transform: scale(0.95); }
  100% { opacity: 0.7; transform: scale(1.05); }
}

@keyframes svc-icon-float {
  0% {
    transform: translate3d(-3px, 0, 0) rotate(-0.4deg);
  }
  50% {
    transform: translate3d(3px, -12px, 0) rotate(0.4deg);
  }
  100% {
    transform: translate3d(-3px, 0, 0) rotate(-0.4deg);
  }
}

@keyframes logo-glow-pulse {
  0%, 100% {
    filter: drop-shadow(0 14px 30px rgba(20, 46, 73, 0.16))
      drop-shadow(0 0 34px rgba(59, 130, 246, 0.2));
  }
  50% {
    filter: drop-shadow(0 18px 38px rgba(20, 46, 73, 0.22))
      drop-shadow(0 0 44px rgba(59, 130, 246, 0.28));
  }
}


/* Image Placeholders - Floating & Layered Depth */
.image-placeholder {
  background: var(--white);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-weight: 500;
  font-size: 0.95rem;
  text-align: center;
  padding: 2rem;
  width: 100%;
  box-shadow: 0 8px 30px rgba(20, 46, 73, 0.04), inset 0 0 0 1px var(--border-light);
  animation: float-gentle 6s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

.shimmer {
  background: linear-gradient(110deg, #f8fafc 20%, #ffffff 40%, #ffffff 60%, #f8fafc 80%);
  background-size: 200% auto;
  animation: shimmer-subtle 4s infinite linear, float-gentle 6s ease-in-out infinite;
}

.shimmer-dark {
  background: linear-gradient(110deg, #183554 20%, #1d4066 40%, #1d4066 60%, #183554 80%);
  background-size: 200% auto;
  animation: shimmer-subtle 4s infinite linear, float-gentle 6s ease-in-out infinite;
  border-color: #224a75;
  color: #6486ab;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15), inset 0 0 0 1px #224a75;
}

.image-placeholder-large { min-height: 540px; }
.image-placeholder-medium { min-height: 460px; }
.image-placeholder-tall { min-height: 600px; }

/* Team Profile Images Fixed Size */
.image-placeholder-profile { 
  width: 100%;
  height: 260px; 
  object-fit: cover; 
  object-position: center top;
  display: block;
  border-radius: var(--border-radius); 
  margin-bottom: 1.5rem;
  background-color: var(--white);
}

.team-title { 
  font-size: 0.75rem; 
  margin-bottom: 1.25rem; 
  text-transform: uppercase; 
  letter-spacing: 0.02em; 
  font-weight: 600; 
  color: var(--orange); 
  white-space: nowrap; 
}

/* Card Hover Lift & Border Glow */
.hover-lift {
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: 0 0 0 1px rgba(47, 128, 237, 0.3), 0 16px 40px rgba(20, 46, 73, 0.08);
}

/* Background Glow Effects */
.bg-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  pointer-events: none;
  animation: pulse-glow 8s ease-in-out infinite alternate;
  z-index: 0;
  filter: blur(60px);
}

.hero-glow {
  background: radial-gradient(circle, rgba(47, 128, 237, 0.08) 0%, transparent 60%);
  top: 10%; right: -150px;
  z-index: -1;
}

.services-glow {
  background: radial-gradient(circle, rgba(47, 128, 237, 0.05) 0%, transparent 60%);
  bottom: -200px; left: -200px;
}

.dark-glow {
  background: radial-gradient(circle, rgba(241, 158, 59, 0.05) 0%, transparent 60%);
  top: -150px; right: -150px;
}

/* Layout Utilities (Forces Desktop Grid) */
.two-col-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.hero-container { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3.5rem; align-items: center; z-index: 2; position: relative;}
.align-center { align-items: center; }

/* Hero Section */
.home-hero { 
  padding: 145px 0 130px; 
  border-bottom: 1px solid var(--border-light); 
  position: relative;
  overflow: hidden;
  background-color: #0f2439;
}

.home-hero .hero-video {
  display: block;
  opacity: 1;
  visibility: visible;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
}

.home-hero .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(9, 36, 58, 0.38) 0%, rgba(9, 36, 58, 0.48) 100%);
}

.home-hero .hero-container {
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-content h1 {
  max-width: 100%;
  margin: 0 0 1.65rem;
  font-size: clamp(3.3rem, 5vw, 4.15rem);
  line-height: 1.15;
  text-align: center;
  text-wrap: balance;
}
.hero-content h1 .gradient-text {
  line-height: 1.15;
  padding: 0.04em 0 0.08em;
}
.hero-subtitle {
  max-width: 68ch;
  margin: 0 0 2.2rem;
  font-size: 1.35rem;
  line-height: 1.65;
  text-align: center;
  text-wrap: pretty;
}
.hero-actions { display: flex; gap: 1.1rem; flex-wrap: nowrap; align-items: center; justify-content: center; }

.hero-content h1,
.hero-content .hero-subtitle {
  color: var(--white);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.hero-content .btn-secondary {
  color: var(--white) !important;
  border-color: rgba(255, 255, 255, 0.78);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-content .btn-secondary:hover {
  background-color: var(--white);
  color: var(--dark-blue) !important;
  border-color: var(--white);
}


@media (min-width: 1400px) {
  .home-hero .hero-container {
    min-height: 0;
  }
}

/* Pain Points */
.pain-points { padding: 110px 0; background-color: var(--white); }
.support-needs-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: start;
}

.support-needs-copy .section-title {
  margin: 0 auto 1.5rem;
  max-width: 100%;
  text-align: center;
}

.support-needs-copy .section-title::after {
  margin: 0.9rem auto 0;
}

.support-needs-copy p {
  max-width: 72ch;
  text-align: left;
  color: var(--text-muted);
}

.support-needs-checklist h3 {
  font-size: 1.5rem;
  margin: 0 0 1.4rem;
  text-align: left;
}

.support-needs-checklist ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.support-needs-checklist li {
  position: relative;
  margin-bottom: 1.15rem;
  padding-left: 1.9rem;
  color: var(--text-main);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.6;
  text-align: left;
}

.support-needs-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  background-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(241, 158, 59, 0.16);
}
.content-block { padding: 0; position: relative; }
.content-block::before { content: ""; display: block; width: 40px; height: 3px; background-color: var(--orange); margin-bottom: 2rem; }
.content-block svg { margin: 0 0 1.5rem 0; }
.content-block h3 { font-size: 1.8rem; margin-bottom: 1.25rem; text-align: left; }
.content-block p { text-align: left; max-width: 55ch; }

/* Clear Solutions section: wider content + tighter vertical rhythm.
   Scoped to .pain-points sections that use .section-intro + .two-col-layout
   (the Clear Solutions section), leaving the Support Needs layout untouched. */
.pain-points .section-intro {
  max-width: 78ch;
  margin-bottom: 2rem;
}

.pain-points .two-col-layout {
  gap: 3rem;
  margin-top: 0.5rem;
}

.pain-points .financial-challenges-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pain-points .content-block p {
  max-width: none;
}

/* Services Overview */
.services-overview { padding: 110px 0; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); position: relative; overflow: hidden; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 2.2rem; position: relative; z-index: 2;}
.service-card { display: block; text-decoration: none; background: var(--white); border: 1px solid var(--border-light); padding: 2.5rem; border-radius: var(--border-radius); box-shadow: var(--shadow-subtle); position: relative; z-index: 1;}
.service-card h3 { font-size: 1.5rem; margin-bottom: 1rem; transition: color 0.3s ease; text-align: center; }
.service-card:hover h3 { color: var(--bright-blue); }
.service-card p { margin: 0; text-align: left; color: var(--text-muted); }

/* Local Section */
.local-expertise { padding: 120px 0; position: relative; overflow: hidden; }
.local-text {
  text-align: center;
}
.local-text h2 {
  margin-bottom: 0.65rem;
}
.local-text p {
  font-size: 1.2rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.25rem;
  opacity: 0.9;
  text-align: center;
  max-width: 55ch;
}
.local-text .ask-asp-title {
  color: var(--orange);
  letter-spacing: 0.08em;
}
.local-text .ask-asp-title::after {
  margin-top: 0.75rem;
  background: var(--orange);
}
.local-text .ask-asp-subtitle {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.45;
  text-transform: uppercase;
  margin-bottom: 1.3rem;
}
.local-text .ask-asp-support {
  font-weight: 700;
  margin-bottom: 1rem;
}

/* ASK ASP: use the available navy band width better (no redesign).
   Column ratio is desktop-only so mobile stacking in mobile.css is preserved. */
@media (min-width: 992px) {
  .local-expertise .two-col-layout {
    gap: 3.5rem;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }
}

.local-expertise .local-text p {
  max-width: 62ch;
}

/* ASK ASP: subtle orange "graph paper" dot texture, ONE corner only.
   Background layer only — scoped strictly to .local-expertise (not all
   .section-dark). Sits behind content (.relative-z container is z-index 2). */
.local-expertise::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: radial-gradient(
    circle,
    rgba(241, 158, 59, 0.12) 0,
    rgba(241, 158, 59, 0.12) 1.3px,
    transparent 1.6px
  );
  background-size: 34px 34px;
  /* confined to the upper-right corner, fading to nothing toward center */
  -webkit-mask-image: radial-gradient(ellipse at 88% 12%, #000 0%, rgba(0, 0, 0, 0.45) 42%, transparent 72%);
  mask-image: radial-gradient(ellipse at 88% 12%, #000 0%, rgba(0, 0, 0, 0.45) 42%, transparent 72%);
  animation: ask-asp-dot-drift 140s linear infinite;
  will-change: background-position;
}

@keyframes ask-asp-dot-drift {
  from { background-position: 0 0; }
  to   { background-position: 34px 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .local-expertise::after {
    animation: none;
  }
}

/* Process Section */
.our-process {
  padding: 110px 0;
  background-color: var(--white);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2rem 1.75rem;
  border: 1px solid transparent;
  border-radius: var(--border-radius);
}

.step-number {
  color: var(--orange);
  display: block;
  font-size: 3.5rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
  line-height: 1;
  text-shadow: 0 4px 10px rgba(241, 158, 59, 0.14);
}

.process-step h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  text-align: left;
}

.process-step p {
  text-align: left;
  width: 100%;
  color: var(--text-muted);
}
/* Trust & EEAT */
.trust-eeat { padding: 110px 0; border-top: 1px solid var(--border-light); }
.trust-list { list-style: none; padding: 0; margin-top: 2.5rem; }
.trust-list li { margin-bottom: 1.75rem; display: flex; align-items: flex-start; gap: 1.25rem; font-size: 1.15rem; color: var(--text-main); line-height: 1.6; }
.trust-text p { font-size: 1.25rem; text-align: left; max-width: 55ch; }
.trust-image { width: 100%; min-height: 600px; object-fit: cover; display: block; border-radius: var(--border-radius); box-shadow: 0 8px 30px rgba(20, 46, 73, 0.04), inset 0 0 0 1px var(--border-light); }

/* Homepage content width tuning (below hero) */
.home-hero .container {
  max-width: 1280px;
}

.pain-points .container,
.services-overview .container,
.local-expertise .container,
.our-process .container,
.trust-eeat .container,
.credential-strip .credential-strip-inner,
.final-cta .container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

@media (min-width: 992px) {
  .support-needs-layout,
  .two-col-layout {
    align-items: start;
  }

  .support-needs-copy p,
  .content-block p,
  .local-text p,
  .trust-text p {
    max-width: none;
  }

  .process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

}

/* Desktop scale-up: stops the homepage from reading like a small centered
   column. Scoped to >=992px so mobile stacking/sizing is untouched. */
@media (min-width: 992px) {
  .section-title {
    font-size: 3.1rem;
    max-width: 1040px;
  }

  .section-intro {
    max-width: 70ch;
    font-size: 1.3rem;
  }

  .home-main p,
  .local-text p,
  .trust-text p {
    font-size: 1.15rem;
  }

  /* Tighten over-stretched vertical padding to a premium rhythm */
  .pain-points,
  .services-overview,
  .our-process,
  .trust-eeat {
    padding-top: 96px;
    padding-bottom: 96px;
  }

  .local-expertise {
    padding-top: 104px;
    padding-bottom: 104px;
  }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .image-placeholder, .btn-primary::after { transform: none !important; }
}


.section-title::after {
  content: "";
  display: block;
  width: 108px;
  height: 3px;
  margin: 0.9rem auto 0;
  border-radius: 2px;
  background-color: var(--orange);
}

@media (max-width: 900px) {
  .support-needs-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .support-needs-copy .section-title {
    text-align: center;
  }

  .support-needs-copy .section-title::after {
    margin: 0.9rem auto 0;
  }
}


@media (max-width: 900px) {
  .home-hero .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    min-height: 640px;
  }

  .hero-content {
    max-width: 100%;
  }

}

/* Homepage Consultation Form */
#schedule-consultation {
  scroll-margin-top: 130px;
}

.home-consultation-form {
  padding: 88px 0 64px;
  background: linear-gradient(180deg, #f4f8fc 0%, var(--white) 58%, var(--light-gray) 100%);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.home-consultation-form .container {
  max-width: 1180px;
}

.home-consultation-form-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 100%;
  margin: 0 auto;
}

.home-consultation-copy {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.home-consultation-copy .section-title {
  max-width: none;
  margin: 0 0 1.1rem;
  color: var(--dark-blue);
  text-align: center;
}

.home-consultation-copy .section-title::after {
  margin: 0.9rem auto 0;
}

.home-consultation-copy p {
  max-width: 860px;
  margin: 0 auto;
  color: var(--text-gray);
  font-size: 1.08rem;
  line-height: 1.75;
}

.home-consultation-support-line {
  padding-top: 0.9rem;
  color: var(--dark-blue);
  font-weight: 700;
}

.home-consultation-form-panel {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  overflow: visible;
}

.home-form-card {
  width: 100%;
  min-width: 0;
  min-height: 1130px;
  padding: clamp(0.9rem, 2.2vw, 1.35rem);
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(15, 47, 74, 0.12);
  overflow: visible;
}

.home-form-iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 1130px;
  height: 1130px !important;
  border: 0;
  border-radius: 8px;
  overflow: visible;
}

@media (max-width: 900px) {
  .home-consultation-form {
    padding: 76px 0 56px;
  }

  .home-consultation-form-inner {
    gap: 1.75rem;
  }

  .home-consultation-copy p {
    font-size: 1rem;
  }

  .home-form-card {
    min-height: 1300px;
    border-radius: 14px;
  }

  .home-form-iframe {
    min-height: 1300px;
    height: 1300px !important;
  }
}

@media (max-width: 560px) {
  #schedule-consultation {
    scroll-margin-top: 100px;
  }

  .home-consultation-form {
    padding: 64px 0 48px;
  }

  .home-form-card {
    padding: 0.75rem;
  }
}


/* Homepage in-section visuals */
.home-section-image {
  display: block;
  width: 100%;
  max-width: 820px;
  height: auto;
  margin: 2rem auto;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(15, 47, 74, 0.14);
}

.clear-solutions-image {
  max-width: 880px;
  margin: 1.5rem auto 2rem;
}

.process-section-image {
  margin-top: 0;
}

@media (max-width: 640px) {
  .home-section-image {
    max-width: 100%;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 14px;
  }

  .clear-solutions-image {
    margin: 1.5rem auto 2rem;
  }

  .process-section-image {
    margin-top: 0;
  }
}

/* Homepage Service Router */
.home-service-router {
  padding: 96px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
}

.home-service-router-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.home-service-router .section-intro {
  max-width: 820px;
  margin-bottom: 3rem;
}

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

.home-service-card {
  display: block;
  min-height: 100%;
  padding: 2rem;
  text-align: center;
  text-decoration: none !important;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--orange);
  border-radius: 14px;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.home-service-card:hover,
.home-service-card:focus-visible {
  color: var(--dark-blue);
  border-color: rgba(241, 158, 59, 0.45);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.home-service-card h3 {
  margin: 0 0 0.85rem;
  color: var(--dark-blue);
  font-size: 1.25rem;
  transition: color 0.3s ease;
}

.home-service-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.home-service-card:hover h3,
.home-service-card:focus-visible h3 {
  color: var(--orange);
}

@media (max-width: 980px) {
  .home-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .home-service-router {
    padding: 72px 0;
  }

  .home-service-grid {
    grid-template-columns: 1fr;
  }

  .home-service-card {
    padding: 1.65rem;
  }
}

@media (max-width: 768px) {
  .pain-points .financial-challenges-grid,
  .financial-challenges-grid,
  .home-service-grid,
  .support-needs-layout {
    grid-template-columns: 1fr;
  }

  .pain-points .financial-challenges-grid {
    gap: 1.5rem;
  }

  .financial-challenges-grid .content-block,
  .home-service-card,
  .support-needs-checklist {
    width: 100%;
    max-width: 100%;
  }

  .financial-challenges-grid .content-block h3,
  .financial-challenges-grid .content-block p,
  .home-service-card h3,
  .home-service-card p,
  .support-needs-checklist h3,
  .support-needs-checklist li {
    word-break: normal;
    overflow-wrap: normal;
  }
}

@media (max-width: 480px) {
  .financial-challenges-grid .content-block,
  .home-service-card {
    padding: 1.35rem;
  }
}
