/* ==========================================================================
   Footer block: final CTA section + site footer (shared for marketing pages)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Final CTA section
   -------------------------------------------------------------------------- */
.final-cta {
  position: relative;
  z-index: 1;
  padding: 100px 40px;
  overflow: hidden;
}

.final-cta-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px;
  background-color: #172949;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 0 100px 0 #6f6f6f1a;
}

.final-cta-content h2 {
  margin-bottom: 20px;
  font-size: 48px;
  color: #fff;
}

.final-cta-content p {
  margin-bottom: 40px;
  font-size: 18px;
  line-height: 1.6;
  color: #fff;
}

.final-cta-button {
  display: inline-block;
  padding: 16px 32px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: var(--color-primary);
  border-radius: 32px;
  transition: transform 0.2s;
}

.final-cta-button:hover {
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Site footer: decoration (trees, grass, owl, lottie)
   -------------------------------------------------------------------------- */
.site-footer .footer-trees {
  position: relative;
  height: 200px;
}

.site-footer .footer-trees > * {
  position: absolute;
  bottom: 0;
}

.site-footer .footer-trees > #grass {
  width: 100%;
  z-index: 10;
}

.site-footer .footer-trees .tree {
  position: absolute;
}

.site-footer #tree-left {
  left: -170px;
}

.site-footer #tree-left-small {
  left: 67px;
}

.site-footer #tree-right {
  right: 30px;
  z-index: 5;
}

.site-footer #footer-owl {
  right: 80px;
  bottom: -20px;
  z-index: 20;
}

.site-footer #footer-cards-animation {
  right: -20px;
  bottom: 150px;
  z-index: 3;
  height: 200%;
  pointer-events: none;
}

@media (max-width: 1200px) {
  .site-footer #tree-right {
    right: 0px;
  }
  .site-footer #footer-owl {
    right: 60px;
    bottom: -30px;
  }
  .site-footer #footer-cards-animation {
    right: -40px;
  }
}

@media (max-width: 1100px) {
  .site-footer #footer-owl {
    bottom: -40px;
  }
  .site-footer #footer-cards-animation {
    bottom: 120px;
  }
}

@media (max-width: 1024px) {
  .site-footer #footer-owl {
    bottom: -50px;
  }
  .site-footer #footer-cards-animation {
    bottom: 100px;
  }

  .site-footer #tree-right {
    right: -100px;
  }
}

@media (max-width: 900px) {
  .site-footer #footer-owl {
    bottom: -60px;
    right: 20px;
  }
  .site-footer #footer-cards-animation {
    bottom: 110px;
    right: -160px;
  }
}

@media (max-width: 768px) {
  .site-footer #footer-cards-animation {
    right: auto;
    left: 10vw;
    bottom: 170px;
  }

  .site-footer .footer-trees > #footer-owl {
    left: 15%;
    bottom: -80px;
  }
}

@media (max-width: 500px) {
  .site-footer #footer-cards-animation {
    right: auto;
    left: 15%;
    bottom: 180px;
  }
  .site-footer .footer-trees > #footer-owl {
    left: 5%;
  }
}

/* --------------------------------------------------------------------------
   Site footer: main content wrapper
   -------------------------------------------------------------------------- */
.site-footer .footer-wrapper {
  padding-top: 60px;
  padding-bottom: 30px;
  background-color: #172949;
}

.site-footer .footer-wrapper > div {
  padding-left: 40px;
  padding-right: 40px;
}

.site-footer hr {
  color: #6b7280;
}

/* --------------------------------------------------------------------------
   Site footer: main grid (logo + tagline | contact + social)
   -------------------------------------------------------------------------- */
.site-footer .footer-container {
  max-width: 1200px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  color: #fff;
}

.site-footer .footer-container p {
  font-size: 14px;
}

.site-footer .footer-left .footer-logo img {
  width: 150px;
}

.site-footer .footer-left p {
  margin-top: 20px;
}

.site-footer .footer-right h3 {
  margin-bottom: 15px;
  font-size: 16px;
  text-transform: uppercase;
}

.site-footer .footer-right p {
  margin-bottom: 20px;
}

.site-footer .footer-social {
  display: flex;
  gap: 15px;
}

.site-footer .footer-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 16px;
  color: var(--color-deep-charcoal);
  text-decoration: none;
  background: var(--color-light-gray);
  border-radius: 50%;
  transition: background 0.2s;
}

.site-footer .footer-social-icon:hover {
  background: var(--color-medium-gray);
}

.site-footer .footer-social-icon i {
  font-size: 18px;
}

/* --------------------------------------------------------------------------
   Site footer: bottom bar (copyright + links)
   -------------------------------------------------------------------------- */
.site-footer .footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 30px;
  font-size: 12px;
  color: var(--color-light-gray);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-footer .footer-links {
  display: flex;
  gap: 0;
  align-items: center;
}

.site-footer .footer-links a {
  color: var(--color-light-gray);
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer .footer-links a:hover {
  color: #fff;
}

.site-footer .footer-links a:not(:last-child)::after {
  content: " / ";
  margin: 0 10px;
  color: #666;
}

/* --------------------------------------------------------------------------
   Responsive: Final CTA
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .final-cta {
    padding-top: 48px;
  }
}

@media (max-width: 768px) {
  .final-cta {
    padding-left: var(--page-padding-mobile);
    padding-right: var(--page-padding-mobile);
    padding-top: 48px;
  }

  .final-cta-container {
    padding: 40px 16px;
    margin-bottom: 200px;
    text-align: center;
  }

  .final-cta-content h2 {
    margin-bottom: 24px;
    font-size: 32px;
  }

  .final-cta-content p,
  .final-cta-content button {
    margin-bottom: 24px;
    font-size: 20px;
  }
}

/* --------------------------------------------------------------------------
   Responsive: Site footer
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .site-footer .footer-trees {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    overflow-x: clip;
  }

  .site-footer .footer-trees .tree {
    display: none;
  }

  .site-footer .footer-trees > #grass {
    min-width: 1200px;
    position: relative;
  }

  .site-footer .footer-wrapper > div {
    padding-left: var(--page-padding-mobile);
    padding-right: var(--page-padding-mobile);
  }

  .site-footer .footer-container {
    grid-template-columns: 1fr;
  }

  .site-footer .footer-bottom {
    flex-direction: column-reverse;
    gap: 16px;
    align-items: flex-start;
  }
}
