/* ========================================
   SERVICES PAGE
======================================== */

.page-services .hero.hero-services{
  padding-top: 28px;
  padding-bottom: 28px;
  background: linear-gradient(180deg, #f7f7f7 0%, #ffffff 100%);
}

.page-services .hero-copy h1{
  font-size: clamp(32px, 3.2vw, 44px);
  margin: 0 0 12px;
}

.page-services .lead{
  font-size: 18px;
  max-width: 62ch;
  margin: 0 0 16px;
}

.page-services .hero-cta{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 14px 0 6px;
}

.page-services .hero-highlights{
  margin: 10px 0 0;
  padding-left: 18px;
}

.page-services .section{ padding: 56px 0; }

.page-services .section-header{
  text-align: center;
  max-width: 820px;
  margin: 0 auto 28px;
}

.page-services .section-header p{
  color: rgba(0, 0, 0, 0.70);
}

.page-services .notice{
  max-width: 980px;
  margin: 0 auto;
}

.page-services .cards.cards-3{ gap: 22px; }

.page-services .card{
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

@media (min-width: 900px){
  .page-services .cards.cards-3{ grid-template-columns: repeat(3, 1fr); }
  .page-services .steps{ grid-template-columns: repeat(3, 1fr); }
  .page-services .grid-2{ grid-template-columns: repeat(2, 1fr); }
}

.page-services .cta-box{ border-radius: 16px; }

/* HERO LAYOUT FIX (copy + image in grid) */
.page-services .hero.hero-services .hero-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.page-services .hero.hero-services .hero-copy{
  position: relative;
  z-index: 2;
}

.page-services .hero.hero-services .hero-media{
  position: relative !important;
  z-index: 1;
  border-radius: 16px;
  overflow: hidden;
}

.page-services .hero.hero-services .hero-media img{
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (max-width: 900px){
  .page-services .hero.hero-services .hero-grid{ grid-template-columns: 1fr; }
}

/* STEPS */
.page-services .section-steps .steps{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.page-services .section-steps .step{
  background: #ffffff;
  padding: 28px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  position: relative;
  text-align: left;
}

.page-services .section-steps .step-number{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: #990000;
  color: #fff;
  font-weight: 600;
  border-radius: 50%;
  margin-bottom: 14px;
}

.page-services .section-steps .step h3{
  margin-top: 0;
  margin-bottom: 10px;
}

.page-services .section-steps .step p{
  margin: 0;
  color: #444;
}

@media (max-width: 900px){
  .page-services .section-steps .steps{ grid-template-columns: 1fr; }
}

/* ELIGIBILITY */
.page-services .section-eligibility .section-header{
  text-align: center;
  max-width: 820px;
  margin: 0 auto 26px;
}

.page-services .section-eligibility .grid.grid-2{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.page-services .section-eligibility .panel{
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.06);
}

.page-services .section-eligibility .panel h3{ margin: 0 0 12px; }

.page-services .section-eligibility .panel ul{
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.page-services .section-eligibility .panel li{
  position: relative;
  padding-left: 26px;
  margin: 10px 0;
  line-height: 1.45;
}

.page-services .section-eligibility .panel li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand-red);
  font-weight: 700;
}

@media (max-width: 900px){
  .page-services .section-eligibility .grid.grid-2{ grid-template-columns: 1fr; }
}

/* FINAL CTA */
.page-services .section-final-cta{
  text-align: center;
}

.page-services .section-final-cta .cta-box{
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 32px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.page-services .section-final-cta h2{
  margin-top: 0;
  margin-bottom: 12px;
}

.page-services .section-final-cta p{
  margin-bottom: 22px;
}

.page-services .section-final-cta .cta-actions{
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
/* =========================
   FAQ PAGE — tighten hero-to-content spacing
========================= */
.page-faqs .hero {
  padding-bottom: 24px;   /* reduce big hero bottom padding */
  margin-bottom: 0;       /* prevent extra gap below hero */
  min-height: auto;       /* in case .hero has a min-height */
}

.page-faqs .section-faqs {
  padding-top: 24px;      /* tighter section top spacing */
}

/* If breadcrumbs are adding extra space */
.page-faqs .breadcrumbs {
  margin-bottom: 12px;
}

/* If the section header adds too much top margin */
.page-faqs .section-faqs .section-header {
  margin-top: 0;
}

/* If the FAQ container is inheriting large top margin */
.page-faqs .faq {
  margin-top: 16px;
}
/* =========================================
   HOW-IT-WORKS — spacing + steps numbering fix
========================================= */
.page-how-it-works .steps {
  list-style: none;        /* removes default 1., 2., 3. */
  padding-left: 0;
  margin: 0;
}

.page-how-it-works .steps .step {
  margin: 0 0 18px;
}

/* If you have manual numbers in HTML (like <span class="step-number">1</span>) keep them,
   but make sure the OL isn't also numbering (handled by list-style:none above). */
   /* Tighten section spacing on How It Works */
.page-how-it-works .section {
  padding: 44px 0;
}

.page-how-it-works .section-header {
  margin-bottom: 18px;
}

.page-how-it-works h1,
.page-how-it-works h2 {
  margin-bottom: 10px;
}

.page-how-it-works p {
  margin: 0 0 12px;
}

/* Video spacing */
.page-how-it-works .video-wrap,
.page-how-it-works .video-embed,
.page-how-it-works .embed,
.page-how-it-works iframe {
  margin-top: 14px;
  margin-bottom: 14px;
}
/* =========================================
   HOW-IT-WORKS — remove giant hero whitespace
   (Overrides global .hero rules used on home)
========================================= */

/* 1) Stop the hero from reserving a tall viewport height */
.page-how-it-works .hero {
  min-height: auto !important;
  height: auto !important;
  padding: 28px 0 18px !important;
  margin: 0 !important;
}

/* 2) If global CSS uses flex/grid centering on hero, force top alignment */
.page-how-it-works .hero .container,
.page-how-it-works .hero-grid,
.page-how-it-works .hero-inner {
  align-items: flex-start !important;
}

/* 3) Tighten the section right after hero (your video section) */
.page-how-it-works .section {
  padding: 34px 0 !important;
}

.page-how-it-works .section:first-of-type {
  padding-top: 18px !important;
}
/* =========================================
   CONTACT PAGE — layout + spacing fixes
========================================= */

.page-contact .hero {
  padding-top: 28px;
  padding-bottom: 28px;
  min-height: auto;        /* prevents accidental tall hero blocks */
  margin-bottom: 0;
}

.page-contact .section {
  padding: 44px 0;         /* tighten global section padding on this page */
}

/* If breadcrumbs are creating extra whitespace */
.page-contact .breadcrumbs {
  margin-bottom: 14px;
}

/* Main contact section grid */
.page-contact .section-contact {
  padding-top: 24px;       /* hero -> content tighter */
}

.page-contact .contact-wrap {
  max-width: 980px;
  margin: 0 auto;
}

.page-contact .contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
}

/* Card look */
.page-contact .contact-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.08);
  padding: 22px;
}

/* Form spacing */
.page-contact .contact-form label {
  display: block;
  font-size: 13px;
  margin: 10px 0 6px;
}

.page-contact .contact-form input,
.page-contact .contact-form select,
.page-contact .contact-form textarea {
  width: 100%;
}

/* Sidebar details — make it look “natural” */
.page-contact .contact-details h3,
.page-contact .contact-details .card-title {
  margin: 0 0 10px;
}

.page-contact .detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.page-contact .detail-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px;
  line-height: 1.35;
}

.page-contact .detail-label {
  font-weight: 600;
  color: rgba(0,0,0,0.70);
}

.page-contact .detail-value a {
  word-break: break-word;
}

/* Mobile */
@media (max-width: 900px) {
  .page-contact .contact-grid {
    grid-template-columns: 1fr;
  }
}
.page-contact .hero-grid{
  display: block;
}

.page-contact .hero-copy{
  max-width: 760px;
}

.page-contact .hero-copy h1,
.page-contact .hero-copy .lead{
  max-width: 36ch;
}