/* ════════════════════════════════════════════════════════════════════════
   FIP Page — minimal luxury layout with scroll reveals & section rhythm
   ════════════════════════════════════════════════════════════════════════ */

.fa-layout--fip .fa-sectioned-main {
  background: linear-gradient(180deg, #f8fafb 0%, #ffffff 18%, #f5f7fa 100%);
}

.fa-layout--fip .fa-section {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.fa-layout--fip .fa-section.is-visible {
  opacity: 1;
  transform: none;
}

.fa-layout--fip .fa-section--hero {
  opacity: 1;
  transform: none;
}

/* Split / two-column → full-width stack: text on top, banner image below */
.fa-layout--fip .fa-section--split .fa-text-block,
.fa-layout--fip .fa-text-block,
.fa-layout--fip .fa-text-block--fip-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  align-items: stretch;
  width: 100%;
}

/* Override generic page-sections split grid on FIP */
.fa-layout--fip .fa-section--split .fa-text-block {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: stretch !important;
}

.fa-layout--fip .fa-section--split .fa-text-block:not(:has(.fa-text-block__media)) {
  display: block !important;
}

.fa-layout--fip .fa-text-block__main {
  order: 1;
  width: 100%;
  max-width: none;
}

.fa-layout--fip .fa-text-block__media,
.fa-layout--fip .fa-text-block__media--banner {
  order: 2;
  width: 100%;
  max-width: none;
  margin: 0;
}

.fa-layout--fip .fa-text-block__media--banner {
  margin-top: 0.25rem;
}

.fa-layout--fip .fa-text-block__media img,
.fa-layout--fip .fa-text-block__media--banner img {
  display: block;
  width: 100%;
  max-height: clamp(220px, 38vw, 420px);
  aspect-ratio: 21 / 9;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  box-shadow: 0 20px 50px -28px rgba(11, 27, 51, 0.35);
}

@media (max-width: 860px) {
  .fa-layout--fip .fa-section--split .fa-text-block:has(.fa-text-block__media) {
    grid-template-columns: unset;
  }

  .fa-layout--fip .fa-text-block__media img,
  .fa-layout--fip .fa-text-block__media--banner img {
    aspect-ratio: 16 / 9;
    max-height: 280px;
  }
}

.fa-layout--fip .fa-section--hero.fa-section--bg-gradient {
  position: relative;
  padding-top: calc(var(--fa-header-h, 72px) + 2rem);
  background: linear-gradient(135deg, rgba(7, 21, 39, 0.92), rgba(14, 159, 110, 0.78));
  overflow: hidden;
}

.fa-layout--fip .fa-section--hero .fa-hero--has-image {
  transform: translateY(var(--fip-hero-shift, 0px));
  transition: transform 0.15s linear;
  border-radius: 0;
  margin-inline: calc(-1 * var(--fa-container-pad, 1rem));
  min-height: clamp(320px, 52vh, 560px);
}

.fa-layout--fip .fa-section[data-fip-motion="slide"] {
  transform: translateY(36px) translateX(12px);
}

.fa-layout--fip .fa-section[data-fip-motion="slide"].is-visible {
  transform: none;
}

.fa-layout--fip .fa-section--video .fa-video-block__frame {
  transform: scale(0.96);
  opacity: 0;
  transition:
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
  box-shadow: 0 24px 60px -32px rgba(11, 27, 51, 0.35);
  border-radius: 22px;
  overflow: hidden;
}

.fa-layout--fip .fa-section--video.is-visible .fa-video-block__frame {
  transform: none;
  opacity: 1;
}

.fa-layout--fip .fa-text-block__media img {
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.fa-layout--fip .fa-text-block__media.is-hover img,
.fa-layout--fip .fa-text-block__media:hover img {
  transform: scale(1.02);
}

/* Section typography — full width, darker headings for readability */
.fa-layout--fip .fa-section__inner {
  width: min(var(--adonis-fa-new-container, 1240px), 100%);
}

.fa-layout--fip .fa-section__title {
  color: #0a1628;
  font-weight: 800;
  max-width: none;
  letter-spacing: -0.01em;
}

.fa-layout--fip .fa-section__subtitle {
  color: #475569;
  max-width: none;
}

.fa-layout--fip .fa-text-block,
.fa-layout--fip .fa-text-block__main,
.fa-layout--fip .fa-text-block__body {
  width: 100%;
  max-width: none;
}

.fa-layout--fip .fa-timeline__head {
  text-align: start;
  max-width: none;
}

.fa-layout--fip .fa-timeline__title {
  color: #0a1628;
}

.fa-layout--fip .fa-timeline__step {
  color: #0e9f6e;
}

.fa-layout--fip .fa-timeline__desc {
  color: #475569;
}

.fa-fip-stagger {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--fip-stagger, 0s);
}

.fa-fip-stagger.is-visible {
  opacity: 1;
  transform: none;
}

.fa-layout--fip .fa-timeline__intro {
  margin-bottom: 1.75rem;
  max-width: none;
}

.fa-layout--fip .fa-timeline__desc ul {
  margin: 0.5rem 0 0;
  padding-inline-start: 1.25rem;
}

.fa-layout--fip .fa-section--hero.fa-section--bg-gradient:not(:has(.fa-hero--has-image)) {
  background:
    linear-gradient(135deg, rgba(7, 21, 39, 0.92), rgba(14, 159, 110, 0.78)),
    url("/static/img/unsplash/1555993539-1732b0258235_1920.ba489c52e6d3.jpg") center / cover no-repeat;
}

.fa-layout--fip .fa-section--hero .fa-hero__title {
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  letter-spacing: -0.02em;
}

.fa-layout--fip .fa-section--hero .fa-hero__subtitle {
  max-width: none;
}

.fa-layout--fip .fa-timeline__list {
  max-width: none;
  width: 100%;
}

.fa-layout--fip .fa-fip-faq-section .fa-home-faq-container {
  width: min(var(--adonis-fa-new-container, 1240px), 100%);
  max-width: var(--adonis-fa-new-container, 1240px);
}

.fa-layout--fip .fa-fip-faq-section .fa-home-faq-head {
  max-width: none;
}

.fa-layout--fip .fa-text-block__body h2,
.fa-layout--fip .fa-text-block__body h3 {
  scroll-margin-top: calc(var(--fa-header-h, 72px) + 1rem);
}

.fa-layout--fip .fa-text-block__body h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
  margin-top: 0;
  color: #0a1628;
  font-weight: 800;
}

.fa-layout--fip .fa-text-block__body h3 {
  font-size: 1.12rem;
  margin-top: 1.5rem;
  color: #0f172a;
  font-weight: 800;
}

.fa-layout--fip .fa-text-block__body p {
  color: #475569;
  max-width: none;
}

.fa-layout--fip .fa-text-block__body strong {
  color: #0b1b33;
  font-weight: 800;
}

.fa-layout--fip .fa-text-block__body ul {
  display: grid;
  gap: 0.55rem;
}

.fa-layout--fip .fa-text-block__body li::marker {
  color: var(--fa-accent);
}

.fa-layout--fip .fa-fip-figure {
  margin: 1.75rem 0 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px -28px rgba(11, 27, 51, 0.35);
}

.fa-layout--fip .fa-fip-figure img {
  aspect-ratio: 21 / 9;
  max-height: clamp(220px, 38vw, 400px);
  object-fit: cover;
  object-position: center;
}

.fa-fip-figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px -28px rgba(11, 27, 51, 0.35);
}

.fa-fip-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  max-height: clamp(220px, 38vw, 400px);
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.fa-layout--fip .fa-section--split .fa-text-block__media:hover .fa-fip-figure img,
.fa-layout--fip .fa-text-block__body .fa-fip-figure:hover img {
  transform: scale(1.04);
}

.fa-fip-benefits {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .fa-fip-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.fa-fip-benefit {
  padding: 1.35rem 1.4rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(11, 27, 51, 0.08);
  box-shadow: 0 12px 36px -28px rgba(11, 27, 51, 0.35);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.fa-fip-benefit:hover {
  transform: translateY(-3px);
  border-color: rgba(14, 159, 110, 0.25);
  box-shadow: 0 18px 44px -24px rgba(14, 159, 110, 0.28);
}

.fa-fip-benefit h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  color: #0a1628;
  font-weight: 800;
}

.fa-fip-benefit p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.95;
}

/* ── Minimal comparison tables ─────────────────────────────────────────── */
.fa-layout--fip .fa-fip-table-wrap,
.fa-layout--fip .fa-text-block__body .fa-fip-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 1.75rem;
  border-radius: 12px;
  border: 1px solid #e8ecf1;
  background: #fff;
  box-shadow: 0 8px 24px -18px rgba(11, 27, 51, 0.2);
}

.fa-layout--fip .fa-fip-table,
.fa-layout--fip .fa-text-block__body table {
  width: 100%;
  min-width: 0;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  font-size: 0.9rem;
}

.fa-layout--fip .fa-fip-table caption,
.fa-layout--fip .fa-text-block__body table caption {
  caption-side: top;
  text-align: start;
  padding: 0.9rem 1rem 0.65rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: #0a1628;
}

.fa-layout--fip .fa-fip-table th,
.fa-layout--fip .fa-fip-table td,
.fa-layout--fip .fa-text-block__body table th,
.fa-layout--fip .fa-text-block__body table td {
  padding: 0.6rem 0.85rem;
  border-bottom: 1px solid #eef2f6;
  text-align: start;
  vertical-align: top;
  line-height: 1.65;
  color: #475569;
}

.fa-layout--fip .fa-fip-table thead th,
.fa-layout--fip .fa-text-block__body table thead th {
  background: #f8fafc;
  color: #0a1628;
  font-weight: 700;
  font-size: 0.82rem;
  border-bottom: 2px solid #e2e8f0;
}

.fa-layout--fip .fa-fip-table tbody tr:nth-child(even) td,
.fa-layout--fip .fa-text-block__body table tbody tr:nth-child(even) td {
  background: #fafbfc;
}

.fa-layout--fip .fa-fip-table tbody tr:hover td,
.fa-layout--fip .fa-text-block__body table tbody tr:hover td {
  background: #f0fdf4;
}

.fa-layout--fip .fa-fip-table td:first-child,
.fa-layout--fip .fa-text-block__body table td:first-child {
  font-weight: 600;
  color: #334155;
  min-width: 0;
  width: 24%;
  white-space: normal;
}

.fa-layout--fip .fa-fip-table tbody tr:last-child td,
.fa-layout--fip .fa-text-block__body table tbody tr:last-child td {
  border-bottom: none;
}

.fa-layout--fip .fa-text-block__body table:not(.fa-fip-table) {
  margin: 1.5rem 0 0;
  border: 1px solid #e8ecf1;
  border-radius: 12px;
  overflow: hidden;
}

.fa-fip-table-wrap {
  overflow-x: auto;
  margin-top: 1.5rem;
  border-radius: 12px;
  border: 1px solid #e8ecf1;
  background: #fff;
}

.fa-fip-table {
  width: 100%;
  min-width: 0;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  font-size: 0.9rem;
}

.fa-fip-table caption {
  caption-side: top;
  text-align: start;
  padding: 0.9rem 1rem 0.65rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: #0a1628;
}

.fa-fip-table th,
.fa-fip-table td {
  padding: 0.6rem 0.85rem;
  border-bottom: 1px solid #eef2f6;
  text-align: start;
  vertical-align: top;
  line-height: 1.65;
}

.fa-fip-table thead th {
  background: #f8fafc;
  color: #0a1628;
  font-weight: 700;
  font-size: 0.82rem;
  border-bottom: 2px solid #e2e8f0;
}

.fa-fip-table tbody tr:nth-child(even) td {
  background: #fafbfc;
}

.fa-fip-table tbody tr:hover td {
  background: #f0fdf4;
}

.fa-fip-table td:first-child {
  font-weight: 600;
  color: #334155;
  min-width: 0;
  width: 24%;
}

.fa-fip-inline-cards {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

@media (min-width: 768px) {
  .fa-fip-inline-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.fa-fip-inline-card {
  padding: 1.25rem 1.3rem;
  border-radius: 16px;
  background: linear-gradient(145deg, #ffffff, #f3fbf7);
  border: 1px solid rgba(14, 159, 110, 0.12);
}

.fa-fip-inline-card h3 {
  margin: 0 0 0.75rem;
  color: #0a1628;
  font-weight: 800;
  font-size: 1.05rem;
}

.fa-layout--fip .fa-fip-faq-section .fa-home-faq-title {
  color: #0a1628;
}

.fa-layout--fip .fa-section--timeline .fa-timeline__marker {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.fa-layout--fip .fa-section--timeline .fa-timeline__item.is-visible .fa-timeline__marker {
  transform: scale(1.05);
  box-shadow: 0 0 0 6px var(--fa-accent-soft), 0 10px 24px -12px rgba(14, 159, 110, 0.45);
}

.fa-layout--fip .fa-fip-faq-section {
  padding: 0;
  background: transparent;
}

.fa-layout--fip .fa-section--faq {
  padding-top: 0;
  padding-bottom: 0;
}

.fa-layout--fip .fa-section--faq .fa-section__inner {
  padding-inline: 0;
  max-width: none;
}

.fa-layout--fip .fa-fip-faq-section .fa-home-faq-item {
  --fa-accent-local: #0e9f6e;
}

.fa-layout--fip .fa-fip-faq-section .fa-home-faq-item.is-open .fa-home-faq-num,
.fa-layout--fip .fa-fip-faq-section .fa-home-faq-item.is-open .fa-home-faq-toggle {
  background: rgba(14, 159, 110, 0.12);
  color: #0e9f6e;
}

.fa-layout--fip .fa-fip-faq-section .fa-home-faq-item.is-open::after {
  background: #0e9f6e;
}

.fa-layout--fip .fa-section--cta .fa-cta__inner {
  background: linear-gradient(135deg, #071527, #0e9f6e);
}

.fa-layout--fip .fa-draft-banner {
  position: sticky;
  top: var(--fa-header-h, 72px);
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #fef3c7;
  color: #92400e;
  border-bottom: 1px solid #fcd34d;
  font-size: 0.92rem;
  font-weight: 700;
}

@media (max-width: 768px) {
  .fa-layout--fip .fa-fip-table td:first-child,
  .fa-layout--fip .fa-text-block__body table td:first-child {
    width: 34%;
    font-size: 0.84rem;
  }

  .fa-layout--fip .fa-fip-table,
  .fa-layout--fip .fa-text-block__body table {
    font-size: 0.84rem;
  }

  .fa-layout--fip .fa-fip-benefits {
    grid-template-columns: 1fr;
  }
}
