/* Landing sections — same art direction as the hero: theme font, navy #072366, green #0aae70,
   white / #f9f9f9 sections, inline SVG icons (no emoji), px units, flat backgrounds. */
.ifl { padding: 96px 0; background: #fff; }
.ifl--soft { background: #f9f9f9; }
.ifl-shell { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.ifl h2 { margin: 0; color: #072366; font-size: 38px; font-weight: 800; line-height: 1.15; }
.ifl h3 { margin: 0 0 8px; color: #072366; font-size: 19px; font-weight: 800; }
.ifl p { margin: 0; color: #555; font-size: 16px; line-height: 1.7; }
.ifl-kicker { display: inline-block; margin-bottom: 14px; color: #078658; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ifl-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.ifl-head p { margin-top: 16px; font-size: 18px; }
.ifl-lead { margin-top: 18px !important; font-size: 18px !important; }

.ifl-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px;
  border: 2px solid #0aae70; border-radius: 999px; background: #0aae70; color: #fff !important;
  font-size: 16px; font-weight: 700; text-decoration: none !important; transition: background-color .2s, border-color .2s, color .2s, transform .2s; }
.ifl-btn:hover { background: #078658; border-color: #078658; transform: translateY(-2px); }
.ifl-btn--ghost { background: #fff; color: #078658 !important; }
.ifl-btn--ghost:hover { background: #0aae70; color: #fff !important; }
.ifl-btn--light { background: transparent; border-color: rgba(255, 255, 255, .55); }
.ifl-btn--light:hover { background: #fff; border-color: #fff; color: #072366 !important; }
.ifl-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 44px; }
.ifl-ctas--left { justify-content: flex-start; margin-top: 32px; }

/* Steps with a connecting line */
.ifl-steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; }
.ifl-steps::before { content: ""; position: absolute; top: 34px; left: 16%; right: 16%; height: 2px; background: repeating-linear-gradient(90deg, #cfe3d8 0 10px, transparent 10px 18px); }
.ifl-steps li { position: relative; padding: 0 12px; text-align: center; }
.ifl-step__ico { position: relative; display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 20px;
  border-radius: 50%; background: #072366; color: #fff; box-shadow: 0 0 0 8px #f9f9f9; transition: transform .25s; }
.ifl-steps li:hover .ifl-step__ico { transform: translateY(-4px); background: #0aae70; }
.ifl-step__num { display: block; margin-bottom: 6px; color: #0aae70; font-size: 14px; font-weight: 800; letter-spacing: .08em; }
.ifl-steps p { max-width: 300px; margin: 0 auto; }

/* Associations: text + feature grid */
.ifl-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.ifl-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; margin: 0; padding: 0; list-style: none; }
.ifl-features li { display: flex; gap: 16px; align-items: flex-start; }
.ifl-feat__ico { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 16px; background: #eff8f4; color: #078658; }
.ifl-features p { font-size: 15px; line-height: 1.6; }

/* Ambassadors */
/* Leaflet map, same look as the associations maps */
.ifl-map { height: 480px; overflow: hidden; border: 1px solid #e6ebe8; border-radius: 18px; background: #e9eeeb;
  box-shadow: 0 6px 20px rgba(7, 35, 102, .08); z-index: 0; font-family: inherit; }
.ifl-map .ifm-pin span { position: absolute; left: 3px; top: 0; width: 24px; height: 24px; border: 3px solid #fff; border-radius: 50% 50% 50% 0;
  background: #0aae70; transform: rotate(-45deg); box-shadow: 0 3px 8px rgba(7, 35, 102, .3); }
.ifl-map .ifm-cluster { display: grid; place-items: center; border-radius: 50%; background: rgba(10, 174, 112, .22); }
.ifl-map .ifm-cluster span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #0aae70; color: #fff;
  font-weight: 800; font-size: 14px; box-shadow: 0 2px 6px rgba(7, 35, 102, .25); }
.ifl-map .leaflet-control-zoom { border: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(7, 35, 102, .18); }
.ifl-map .leaflet-control-zoom a { width: 36px; height: 36px; line-height: 36px; color: #072366; border: 0; }
.ifl-map .leaflet-control-zoom a + a { border-top: 1px solid #e6ebe8; }
.ifl-map .leaflet-popup-content-wrapper { border-radius: 16px; box-shadow: 0 12px 30px rgba(7, 35, 102, .18); }
.ifl-map .leaflet-popup-content { margin: 14px 16px; }
.ifl-map .ifm-pop { display: grid; gap: 4px; width: 220px; font-family: inherit; text-align: left; }
.ifl-map .ifm-pop b { color: #072366; font-size: 15px; line-height: 1.3; }
.ifl-map .ifm-pop__place { color: #078658; font-size: 13px; font-weight: 700; }
.ifl-map .ifm-pop__desc { margin: 4px 0 0; color: #555; font-size: 13px; font-style: italic; line-height: 1.5; }
.ifl-amb { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: 36px; }
.ifl-amb__list { display: flex; flex-wrap: wrap; gap: 14px 32px; margin: 0; padding: 0; list-style: none; }
.ifl-amb__list li { display: flex; align-items: center; gap: 12px; color: #072366; font-size: 16px; font-weight: 700; }
.ifl-amb__list .ifl-feat__ico { width: 44px; height: 44px; border-radius: 14px; background: #fff; }

/* Ambassadors: mission message + map */
.ifl-amb2 { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.ifl-accent { color: #0aae70; }
.ifl-quote { margin: 28px 0 0; padding-left: 18px; border-left: 3px solid #0aae70; color: #072366; font-size: 20px; font-weight: 800; line-height: 1.4; }
.ifl-amb2__map { margin: 0; }
.ifl-amb2__map .ifl-map { height: 440px; }
.ifl-amb2__map figcaption { margin-top: 10px; color: #777; font-size: 13px; text-align: right; }

/* Closing band */
.ifl--band { padding: 0 0 96px; background: #f9f9f9; }
.ifl-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
  padding: 56px; border-radius: 28px; background: #072366; }
.ifl-band h2 { color: #fff; font-size: 34px; }
.ifl-band p { max-width: 560px; margin-top: 12px; color: #c9d6e2; font-size: 17px; }
.ifl-band .ifl-ctas { margin-top: 0; }

.ifl a:focus-visible { outline: 3px solid rgba(10, 174, 112, .5); outline-offset: 3px; }

@media (max-width: 900px) {
  .ifl { padding: 72px 0; }
  .ifl h2 { font-size: 30px; }
  .ifl-map { height: 360px; }
  /* Vertical timeline: icons on a connecting line, text beside */
  .ifl-steps { grid-template-columns: 1fr; gap: 0; max-width: 520px; margin: 0 auto; }
  .ifl-steps::before { display: none; }
  /* connector from each icon to the next one only */
  .ifl-steps li:not(:last-child)::after { content: ""; position: absolute; left: 33px; top: 76px; bottom: 8px; width: 2px;
    background: repeating-linear-gradient(180deg, #cfe3d8 0 10px, transparent 10px 18px); }
  .ifl-steps li { display: grid; grid-template-columns: 68px 1fr; column-gap: 20px; padding: 0 0 32px; text-align: left; }
  .ifl-steps li:last-child { padding-bottom: 0; }
  .ifl-step__ico { grid-row: span 3; margin: 0; }
  .ifl-step__num { margin: 6px 0 2px; }
  .ifl-steps p { margin: 0; max-width: none; }
  .ifl-amb2 { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .ifl-amb2 .ifl-ctas--left { justify-content: center; }
  .ifl-quote { display: inline-block; text-align: left; }
  .ifl-amb2__map .ifl-map { height: 320px; }
  .ifl-amb2__map figcaption { text-align: center; }
  .ifl-split { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .ifl-split .ifl-ctas--left { justify-content: center; }
  .ifl-features { text-align: left; }
  .ifl-amb { justify-content: center; text-align: center; }
  /* On small screens the band becomes a light, centred closing section */
  .ifl--band { padding: 64px 0 72px; background: #fff; }
  .ifl-band { padding: 8px 24px 0; border-radius: 0; background: transparent; text-align: center; justify-content: center; }
  .ifl-band h2 { color: #072366; }
  .ifl-band p { margin-left: auto; margin-right: auto; color: #555; }
  .ifl-band .ifl-ctas--left { justify-content: center; width: 100%; }
  .ifl-band .ifl-btn--light { border-color: #0aae70; color: #078658 !important; background: #fff; }
}
@media (max-width: 560px) {
  .ifl-features { grid-template-columns: 1fr; }
  .ifl-btn { width: 100%; }
  .ifl-band h2 { font-size: 26px; }
}

/* ---------- Motion (only when landing.js adds .ifm, i.e. JS on + no reduced-motion) ---------- */
.ifm [data-reveal] { opacity: 0; transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--ifm-delay, 0ms); will-change: opacity, transform; }
.ifm [data-reveal="up"] { transform: translateY(28px); }
.ifm [data-reveal="left"] { transform: translateX(-32px); }
.ifm [data-reveal="right"] { transform: translateX(32px); }
.ifm [data-reveal="zoom"] { transform: scale(.96); }
.ifm [data-reveal].is-in { opacity: 1; transform: none; }

/* timeline: the dotted connector draws itself, icons pop in */
.ifm .ifl-steps::before { transform: scaleX(0); transform-origin: left; transition: transform 1.2s ease .2s; }
.ifm .ifl-steps.is-in::before { transform: scaleX(1); }
.ifm .ifl-steps .ifl-step__ico { transform: scale(.6); transition: transform .6s cubic-bezier(.3, 1.6, .5, 1), background-color .25s;
  transition-delay: calc(var(--ifm-delay, 0ms) + 150ms); }
.ifm .ifl-steps li.is-in .ifl-step__ico { transform: none; }
.ifm .ifl-steps li.is-in:hover .ifl-step__ico { transform: translateY(-4px); }
@media (max-width: 900px) {
  .ifm .ifl-steps li:not(:last-child)::after { transform: scaleY(0); transform-origin: top; transition: transform .8s ease calc(var(--ifm-delay, 0ms) + 300ms); }
  .ifm .ifl-steps li.is-in:not(:last-child)::after { transform: scaleY(1); }
}

/* feature icons: soft lift on hover */
.ifl-features li { transition: transform .25s ease; }
.ifl-features li:hover { transform: translateY(-3px); }
.ifl-features li:hover .ifl-feat__ico { background: #0aae70; color: #fff; }
.ifl-feat__ico { transition: background-color .25s, color .25s; }

/* quote bar grows */
.ifm .ifl-quote { border-left-color: transparent; background: linear-gradient(#0aae70, #0aae70) left top / 3px 0 no-repeat; transition: background-size .9s ease .3s; }
.ifm .is-in .ifl-quote, .ifm .ifl-quote.is-in { background-size: 3px 100%; }
