/* Homepage-specific styles — site/assets/css/homepage.css */

/* ----------------------------------------------------------------
   Hero: offset for absolutely-positioned header
   ---------------------------------------------------------------- */
.ffo-hero--home {
  padding-top: 220px; /* 100px hero padding + ~120px header height */
}

/* ----------------------------------------------------------------
   Hero: mobile background swap
   ---------------------------------------------------------------- */
@media (max-width: 480px) {
  .ffo-hero--home {
    background-image: url('/assets/images/marketing/boat-2.jpg') !important;
  }
}

/* ----------------------------------------------------------------
   Trust section: gradient background
   ---------------------------------------------------------------- */
.ffo-trust-section {
  background: linear-gradient(180deg, #F5F6F6 0%, #F5F6F6 66%, #FFF 64%);
}

@media (max-width: 991px) {
  .ffo-trust-section {
    background: linear-gradient(180deg, #F5F6F6 0%, #F5F6F6 47%, #FFF 47%);
  }
}

@media (max-width: 767px) {
  .ffo-trust-section {
    background: linear-gradient(180deg, #F5F6F6 0%, #F5F6F6 42%, #FFF 42%);
  }
}

@media (max-width: 480px) {
  .ffo-trust-section {
    background: linear-gradient(180deg, #F5F6F6 0%, #F5F6F6 35%, #FFF 35%);
  }
}

/* ----------------------------------------------------------------
   Stats row
   ---------------------------------------------------------------- */
.ffo-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

@media (max-width: 767px) {
  .ffo-stats-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ----------------------------------------------------------------
   Feature cards: 5-across with horizontal scroll on mobile
   ---------------------------------------------------------------- */
.ffo-cards-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

@media (max-width: 1200px) {
  .ffo-cards-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .ffo-cards-5 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .ffo-cards-5 {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------------------------------
   Product boxes: side-by-side cards
   ---------------------------------------------------------------- */
.ffo-product-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 767px) {
  .ffo-product-cards {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------------------------------
   Benefits grid: 3x2
   ---------------------------------------------------------------- */
.ffo-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 48px;
}

@media (max-width: 991px) {
  .ffo-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .ffo-benefits-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ----------------------------------------------------------------
   Testimonial layout
   ---------------------------------------------------------------- */
.ffo-testimonial-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 991px) {
  .ffo-testimonial-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ----------------------------------------------------------------
   Knowledge cards (Videos & Blog) — horizontal clickable cards
   .ffo-main prefix ensures these override template CSS rules.
   ---------------------------------------------------------------- */
.ffo-main .ffo-knowledge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  box-sizing: border-box;
}

.ffo-main .ffo-knowledge-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border: 1px solid #D2D5DA;
  border-radius: 16px;
  padding: 28px 32px;
  text-decoration: none;
  color: #181f33;
  box-sizing: border-box;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.ffo-main .ffo-knowledge-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
  border-color: #B3D4BE;
}

.ffo-main .ffo-knowledge-card__icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 10px;
  background: #EDF5F0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ffo-main .ffo-knowledge-card__icon img {
  width: 28px;
  height: 28px;
  max-width: 28px;
  max-height: 28px;
  object-fit: contain;
}

.ffo-main .ffo-knowledge-card__content {
  flex: 1;
  min-width: 0;
}

.ffo-main .ffo-knowledge-card__content h4 {
  margin: 0 0 6px;
  padding: 0;
  font-family: Figtree, sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: #181f33;
}

.ffo-main .ffo-knowledge-card__content p {
  margin: 0;
  padding: 0;
  font-family: Figtree, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  color: #888D9A;
}

.ffo-main .ffo-knowledge-card__arrow {
  flex-shrink: 0;
  opacity: 0.3;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.ffo-main .ffo-knowledge-card:hover .ffo-knowledge-card__arrow {
  opacity: 1;
  transform: translateX(3px);
}

.ffo-main .ffo-knowledge-card:hover .ffo-knowledge-card__arrow path {
  fill: #6CAA80;
}

@media (max-width: 767px) {
  .ffo-main .ffo-knowledge-grid {
    grid-template-columns: 1fr;
  }
  .ffo-main .ffo-knowledge-card {
    padding: 20px 24px;
  }
}

/* ----------------------------------------------------------------
   FAQ CTA row — inside .ffo-faq-wrapper, naturally left-aligned
   ---------------------------------------------------------------- */
.ffo-faq-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}

.ffo-faq-cta h6 {
  color: #fff;
  font-family: Figtree, sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.ffo-faq-cta a {
  color: #6CAA80;
  font-family: Figtree, sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.ffo-faq-cta a:hover {
  opacity: 0.8;
}

@media (max-width: 767px) {
  .ffo-faq-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ----------------------------------------------------------------
   Testimonial title in card
   ---------------------------------------------------------------- */
.ffo-testimonial__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

/* ----------------------------------------------------------------
   Checklist intro
   ---------------------------------------------------------------- */
.ffo-checklist-intro {
  margin-top: 36px;
  font-weight: 600;
  font-size: 18px;
}

/* ----------------------------------------------------------------
   FAQ wrapper
   ---------------------------------------------------------------- */
.ffo-faq-wrapper {
  max-width: 800px;
  margin-inline: auto;
}
