/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
  /* Primary brand color */
  --fp-brand: #4fa93d;
  --fp-brand-strong: #3d8a2f;
  /* CTA / action accent - distinct hue on purpose, reserved for buttons. */
  --fp-cta: #ffb300;
  --fp-cta-hover: #e6a200;
  --fp-cta-hover-strong: #b37e00;
  --fp-cta-rgb: 255, 179, 0;
  /* Soft supporting green - badges, borders, gradients, light touches. */
  --fp-accent: #a9dab6;
  --fp-accent-soft: #e8f5ec;
  --fp-secondary: #a9dab6;
  --fp-sage: #a9dab6;
  --fp-black: #132016;
  --fp-graphite: #1f321f;
  --fp-panel: #2e4a2e;
  --fp-white: #ffffff;
  /* Neutral backgrounds - kept green out of the backdrop on purpose, so the
     brand green reads as a bold accent instead of a soft all-over tint. */
  --fp-bg: #ececec;
  --fp-bg-soft: #fafafa;
  --fp-bg-warm: #ebebeb;
  --fp-text: #16241a;
  --fp-text-muted: #44573e;
  --fp-border: #dcdcdc;
  --fp-accent-hover: #7cc08f;
  --fp-accent-hover-soft: #e8f5ec;
  --fp-dark-rgb: 19, 32, 22;
  --fp-graphite-rgb: 31, 50, 31;
  --fp-white-rgb: 255, 255, 255;
  --fp-brand-rgb: 79, 169, 61;
  --fp-accent-rgb: 169, 218, 182;
  --fp-secondary-rgb: 169, 218, 182;
  --fp-shadow-rgb: 19, 32, 22;
  --fp-radius: 14px;
  --fp-btn-radius: 12px;
  --fp-container: 1300px;
  --fp-gutter: 24px;
  --fp-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing scale - shared rhythm so sections stop compounding independent paddings */
  --fp-space-xs: 16px;
  --fp-space-sm: 24px;
  --fp-space-md: 32px;
  --fp-space-lg: 48px;
  --fp-space-section: 72px;
  --fp-space-section-lg: 96px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 106.25%;
}

body {
  margin: 0;
  font-family: var(--fp-font);
  color: var(--fp-text);
  background: var(--fp-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

.fp-main {
  position: relative;
}
.fp-page-motif {
  position: absolute !important;
  left: 0;
  right: 0;
  bottom: 0;
  height: 480px !important;
  z-index: 0;
  pointer-events: none;
  opacity: 0.42;
  mask-image: linear-gradient(to bottom, transparent, black 42%);
}
.fp-page-motif svg {
  width: 100%;
  height: 100%;
  object-position: bottom;
  object-fit: cover;
}
.fp-main > section {
  position: relative;
  z-index: 1;
}

.fp-container {
  max-width: var(--fp-container);
  margin: 0 auto;
  padding: 0 var(--fp-gutter);
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
  margin: 0 0 16px;
  font-weight: 800;
}

.fp-section-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  text-align: center;
  margin-bottom: 48px;
  color: var(--fp-text);
}

/* Buttons */
.fp-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: var(--fp-btn-radius);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  overflow: hidden;
  transition:
    transform 0.15s cubic-bezier(0.2, 0, 0, 1),
    box-shadow 0.15s cubic-bezier(0.2, 0, 0, 1),
    background 0.15s cubic-bezier(0.2, 0, 0, 1),
    border-color 0.15s cubic-bezier(0.2, 0, 0, 1);
  border: 1.5px solid transparent;
  letter-spacing: 0.01em;
  cursor: pointer;
}
.fp-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(var(--fp-white-rgb), 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  pointer-events: none;
}
.fp-btn:hover::before {
  transform: translateX(120%);
  transition: transform 0.5s cubic-bezier(0.2, 0, 0, 1);
}
.fp-btn:hover {
  transform: translateY(-2px);
}
.fp-btn:active {
  transform: translateY(0) scale(0.97);
}
.fp-btn:focus-visible {
  outline: 2px solid var(--fp-accent);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .fp-btn::before {
    display: none;
  }
}
.fp-btn--primary {
  background: linear-gradient(160deg, var(--fp-cta) 0%, var(--fp-cta-hover) 100%);
  border-color: rgba(var(--fp-white-rgb), 0.2);
  color: var(--fp-white);
  box-shadow:
    0 12px 28px rgba(var(--fp-cta-rgb), 0.36),
    inset 0 1px 0 rgba(var(--fp-white-rgb), 0.22);
}
.fp-btn--primary:hover {
  background: linear-gradient(160deg, var(--fp-cta-hover) 0%, var(--fp-cta-hover-strong) 100%);
  border-color: rgba(var(--fp-white-rgb), 0.3);
  box-shadow:
    0 18px 40px rgba(var(--fp-cta-rgb), 0.44),
    inset 0 1px 0 rgba(var(--fp-white-rgb), 0.28);
}
.fp-btn--outline {
  border-color: var(--fp-brand-strong);
  border-width: 2px;
  color: var(--fp-brand-strong);
  background: rgba(var(--fp-white-rgb), 0.68);
  box-shadow: 0 10px 22px rgba(var(--fp-shadow-rgb), 0.06);
}
.fp-btn--outline:hover {
  background: var(--fp-brand-strong);
  border-color: var(--fp-brand-strong);
  color: var(--fp-white);
  box-shadow: 0 14px 30px rgba(var(--fp-brand-rgb), 0.28);
}
.fp-btn--white {
  background: var(--fp-white);
  border-color: var(--fp-border);
  color: var(--fp-black);
  box-shadow: 0 14px 34px rgba(var(--fp-dark-rgb), 0.2);
}
.fp-btn--white:hover {
  background: var(--fp-bg-warm);
  border-color: var(--fp-brand-strong);
}
.fp-btn--lg {
  padding: 12px 24px;
  font-size: 1.05rem;
}
.fp-btn--icon {
  gap: 10px;
}
.fp-btn__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Shared eyebrow tag, used across sections */
.fp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--fp-radius);
  background: rgba(var(--fp-accent-rgb), 0.14);
  color: var(--fp-accent-soft);
  border: 1px solid rgba(var(--fp-accent-rgb), 0.3);
  margin-bottom: 24px;
}
.fp-eyebrow--dark {
  background: rgba(var(--fp-brand-rgb), 0.1);
  color: var(--fp-brand-strong);
  border-color: rgba(var(--fp-brand-rgb), 0.24);
}
.fp-eyebrow--light {
  background: rgba(var(--fp-white-rgb), 0.14);
  color: var(--fp-white);
  border-color: rgba(var(--fp-white-rgb), 0.24);
}
.fp-eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px currentColor22;
}

/* Shared icon badge, used across card grids (why-choose, quick-nav, etc.) */
.fp-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--fp-radius);
  background: linear-gradient(135deg, rgba(var(--fp-accent-rgb), 0.22), rgba(var(--fp-brand-rgb), 0.12));
  color: var(--fp-brand-strong);
  flex-shrink: 0;
}
.fp-icon {
  width: 22px;
  height: 22px;
}
.fp-icon-badge {
  transition: transform 0.2s cubic-bezier(0.2, 0, 0, 1);
}
:is(.fp-why-card, .fp-quick-nav__card):hover .fp-icon-badge {
  transform: scale(1.08) rotate(-4deg);
}

@media (max-width: 780px) {
  :root {
    --fp-space-xs: 12px;
    --fp-space-sm: 18px;
    --fp-space-md: 24px;
    --fp-space-lg: 34px;
    --fp-space-section: 52px;
    --fp-space-section-lg: 64px;
    --fp-radius: 12px;
    --fp-gutter: 18px;
  }

  html {
    font-size: 100%;
  }

  body {
    line-height: 1.65;
  }

  .fp-section-title {
    font-size: 1.85rem;
    line-height: 1.18;
    margin-bottom: 28px;
  }

  .fp-btn {
    min-height: 48px;
    padding: 13px 18px;
    width: 100%;
    text-align: center;
  }

  .fp-btn--lg {
    padding: 14px 18px;
    font-size: 1rem;
  }

  .fp-eyebrow {
    margin-bottom: 16px;
  }
}

@media (max-width: 420px) {
  :root {
    --fp-gutter: 16px;
  }

  .fp-section-title {
    font-size: 1.7rem;
  }
}

/* Scroll-reveal entrance for card grids - one-shot, JS adds .is-visible via
   IntersectionObserver. Skipped entirely under prefers-reduced-motion. */
.fp-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.4s cubic-bezier(0.2, 0, 0, 1),
    transform 0.4s cubic-bezier(0.2, 0, 0, 1);
}
.fp-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.fp-reveal--1 {
  transition-delay: 0.05s;
}
.fp-reveal--2 {
  transition-delay: 0.1s;
}
.fp-reveal--3 {
  transition-delay: 0.15s;
}
.fp-reveal--4 {
  transition-delay: 0.2s;
}
.fp-reveal--5 {
  transition-delay: 0.25s;
}
@media (prefers-reduced-motion: reduce) {
  .fp-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
