/* ============================================================
   FIASF Hero — Concept A: Dark Split-Screen
   Replaces the old parallax-overlay hero.
   ============================================================ */

/* === Layout ================================================= */
.fiasf-hero-split {
  display: flex;
  min-height: 560px;
  background: #064e3b;
  position: relative;
  overflow: hidden;
  margin-bottom: 60px;
}

@media (max-width: 991px) {
  .fiasf-hero-split {
    margin-bottom: 40px;
  }
}

.fiasf-hero-left {
  flex: 0 0 56%;
  max-width: 56%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 52px 64px 60px;
  position: relative;
  z-index: 2;
}

.fiasf-hero-right {
  flex: 0 0 44%;
  position: relative;
  overflow: hidden;
  background-color: #064e3b;
  background-size: cover !important;
  background-position: center !important;
}

/* Horizontal fade from navy into the photo */
.fiasf-hero-right::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 140px;
  background: linear-gradient(to right, #064e3b 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

/* === Eyebrow label ========================================== */
.fiasf-hero-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: #2dd4bf;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 18px;
  opacity: 0.9;
}

/* === Headline =============================================== */
.fiasf-hero-heading {
  font-size: clamp(2rem, 3.6vw, 3rem) !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  color: #ffffff !important;
  margin-bottom: 20px !important;
  text-shadow: none !important;
  animation: none !important;
  letter-spacing: -0.01em;
}

/* Reset every span inside — undo the old overlay theme hacks */
.fiasf-hero-heading span {
  display: block !important;
  background: none !important;
  background-image: none !important;
  -webkit-text-fill-color: inherit !important;
  backdrop-filter: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  margin: 0 !important;
  text-align: left !important;
  animation: none !important;
  filter: none !important;
}

.fiasf-hero-accent {
  color: #2dd4bf !important;
  -webkit-text-fill-color: #2dd4bf !important;
  background: none !important;
  background-clip: unset !important;
  -webkit-background-clip: unset !important;
  filter: none !important;
  font-weight: 900 !important;
}

/* === Subheadline ============================================ */
.fiasf-hero-sub {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 460px;
}

/* === CTA buttons ============================================ */
.fiasf-hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.fiasf-btn-primary {
  background: #2dd4bf;
  color: #064e3b !important;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 6px;
  text-decoration: none !important;
  transition: background 0.2s ease, transform 0.15s ease;
  display: inline-block;
  white-space: nowrap;
  line-height: 1.2;
}

.fiasf-btn-primary:hover {
  background: #5eead4;
  transform: translateY(-1px);
  color: #064e3b !important;
  text-decoration: none !important;
}

.fiasf-btn-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  color: #ffffff !important;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 6px;
  text-decoration: none !important;
  transition: border-color 0.2s ease, background 0.2s ease;
  display: inline-block;
  white-space: nowrap;
  line-height: 1.2;
}

.fiasf-btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff !important;
  text-decoration: none !important;
}

/* === "How it works" text link =============================== */
.fiasf-hero-textlink {
  display: inline;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.42);
  text-decoration: underline !important;
  text-decoration-color: rgba(255, 255, 255, 0.18) !important;
  text-underline-offset: 3px;
  margin-bottom: 28px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.fiasf-hero-textlink:hover {
  color: rgba(255, 255, 255, 0.75) !important;
  text-decoration-color: rgba(255, 255, 255, 0.4) !important;
}

.fiasf-hero-textlink-wrap {
  margin-bottom: 28px;
}

/* === Stats row ============================================== */
.fiasf-hero-stats {
  display: flex;
  gap: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  flex-wrap: wrap;
}

.fiasf-hero-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.fiasf-stat-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: #2dd4bf;
  line-height: 1;
  display: block;
  font-variant-numeric: tabular-nums;
  min-width: 4.5ch;
}

.fiasf-stat-lbl {
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.42);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  display: block;
}

/* === Mobile ================================================= */
@media (max-width: 991px) {
  .fiasf-hero-split {
    flex-direction: column-reverse;
    min-height: auto;
  }

  .fiasf-hero-left {
    flex: none;
    max-width: 100%;
    padding: 36px 24px 40px;
  }

  .fiasf-hero-right {
    flex: none;
    height: 260px;
    width: 100%;
  }

  /* On mobile the fade is from bottom-up (image is above content) */
  .fiasf-hero-right::before {
    width: 0;
  }

  .fiasf-hero-right::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 90px;
    background: linear-gradient(to top, #064e3b 0%, transparent 100%);
    z-index: 2;
    pointer-events: none;
  }

  .fiasf-hero-heading {
    font-size: 2rem !important;
  }

  .fiasf-hero-sub {
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .fiasf-hero-stats {
    gap: 18px;
  }

  .fiasf-hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .fiasf-btn-primary,
  .fiasf-btn-outline {
    text-align: center;
    width: 100%;
  }
}

/* === Hero "Watch" pill button =============================== */
.fiasf-hero-watch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65) !important;
  text-decoration: none !important;
  margin-bottom: 28px;
  transition: color 0.2s ease;
}

.fiasf-hero-watch:hover {
  color: #ffffff !important;
}

.fiasf-watch-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  font-size: 0.65rem;
  padding-left: 2px;
  flex-shrink: 0;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.fiasf-hero-watch:hover .fiasf-watch-icon {
  border-color: #2dd4bf;
  background: rgba(45, 212, 191, 0.12);
  color: #2dd4bf;
}

/* === Claim Your Credit page hero overrides ================== */

/* Photo panel — darker overlay than homepage so card pops */
.fiasf-hero-claim .fiasf-hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.fiasf-hero-claim .fiasf-hero-right::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(6, 78, 59, 0.55);
  z-index: 1;
}

/* Floating credit-amount card */
.fiasf-credit-card-wrap {
  position: relative;
  z-index: 3;
  padding: 20px;
}

.fiasf-credit-card {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 12px;
  padding: 28px 32px;
  min-width: 220px;
  text-align: center;
}

.fiasf-credit-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
}

.fiasf-credit-amount {
  font-size: 2.2rem;
  font-weight: 900;
  color: #064e3b;
  line-height: 1;
  min-width: 90px;
  text-align: right;
}

.fiasf-credit-desc {
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.45;
  text-align: left;
}

.fiasf-credit-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 4px 0;
}

.fiasf-credit-footer {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2dd4bf;
  margin-top: 14px;
  border-top: 1px solid #e5e7eb;
  padding-top: 12px;
}

/* Smooth scroll for "See How It Works" anchor */
html {
  scroll-behavior: smooth;
}

@media (max-width: 991px) {
  .fiasf-hero-claim .fiasf-hero-right {
    height: 280px;
  }

  .fiasf-credit-card {
    padding: 18px 24px;
  }

  .fiasf-credit-amount {
    font-size: 1.8rem;
  }
}

/* === Option A split section — Claim Your Credit page ======== */
.fiasf-video-split-section {
  display: flex;
  align-items: center;
  gap: 48px;
  background: #064e3b;
  padding: 52px 60px;
}

.fiasf-vs-video {
  flex: 0 0 54%;
}

.fiasf-vs-bullets {
  flex: 1;
  color: #fff;
}

.fiasf-vs-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #2dd4bf;
  margin-bottom: 20px;
}

.fiasf-vs-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fiasf-vs-list li {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}

.fiasf-vs-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #2dd4bf;
  font-weight: 700;
}

.fiasf-vs-list strong {
  color: #fff;
  font-weight: 700;
}

.fiasf-vs-btn {
  display: inline-block;
  background: #2dd4bf;
  color: #064e3b !important;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: 6px;
  text-decoration: none !important;
  transition: background 0.2s ease;
}

.fiasf-vs-btn:hover {
  background: #5eead4;
  color: #064e3b !important;
}

@media (max-width: 991px) {
  .fiasf-video-split-section {
    flex-direction: column;
    padding: 36px 24px;
    gap: 28px;
  }

  .fiasf-vs-video {
    flex: none;
    width: 100%;
  }
}

/* === Slim watch banner (Option 3) =========================== */
.fiasf-watch-banner {
  background: #fff;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  padding: 14px 60px;
}

.fiasf-watch-banner-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  color: #064e3b !important;
  font-size: 0.88rem;
  font-weight: 600;
  max-width: 820px;
  margin: 0 auto;
  transition: color 0.2s ease;
}

.fiasf-watch-banner-link:hover {
  color: #2dd4bf !important;
}

.fiasf-watch-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #064e3b;
  color: #fff;
  font-size: 0.6rem;
  padding-left: 2px;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.fiasf-watch-banner-link:hover .fiasf-watch-play {
  background: #2dd4bf;
  color: #064e3b;
}

.fiasf-watch-text {
  flex: 1;
}

.fiasf-watch-arrow {
  font-size: 1rem;
  opacity: 0.4;
}

@media (max-width: 576px) {
  .fiasf-watch-banner {
    padding: 12px 20px;
  }
}

/* === Video section on Claim Your Credit page ================ */
.fiasf-video-section {
  max-width: 820px;
  margin: 0 auto 48px;
  padding: 0 20px;
  text-align: center;
}

.fiasf-video-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #00795b;
  margin-bottom: 16px;
}

.fiasf-video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #000;
}

.fiasf-video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.fiasf-video-caption {
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: 14px;
  line-height: 1.6;
}

@media (max-width: 576px) {
  .fiasf-video-section {
    padding: 0 12px;
    margin-bottom: 32px;
  }
}

/* === Keep old bg-image/parallax styles for other sections === */
.section-spacing .bg-image.parallax {
  position: relative;
}

.section-spacing .bg-image.parallax::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.45) 100%);
  z-index: 1;
  border-radius: inherit;
}

.section-spacing .bg-image.parallax .row {
  position: relative;
  z-index: 2;
}
