/* Landing hero — landing-page art direction (theme font, navy #072366, green #0aae70).
   Desktop: text + real-association composition side by side. Mobile: centred and light, as before.
   px units (the theme sets html{font-size:10px}); flat backgrounds, no glow. */
.ifh { position: relative; overflow: hidden; padding: 72px 0 80px; background: #fff; }
.ifh__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center;
  max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.ifh h1 { margin: 0; color: #072366; font-size: 56px; font-weight: 800; line-height: 1.08; letter-spacing: -.01em; }
.ifh h1 span { color: #0aae70; white-space: nowrap; }
.ifh__lead { max-width: 540px; margin: 22px 0 0; color: #555; font-size: 19px; line-height: 1.65; }
.ifh__lead strong { color: #333; }
.ifh__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.ifh__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 0 30px;
  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; }
.ifh__btn:hover { background: #078658; border-color: #078658; transform: translateY(-2px); }
.ifh__btn--ghost { background: #fff; color: #078658 !important; }
.ifh__btn--ghost:hover { background: #0aae70; color: #fff !important; }

.ifh__proof { display: flex; align-items: center; gap: 14px; margin-top: 36px; }
.ifh__logos { display: flex; }
.ifh__logos img { width: 44px; height: 44px; margin-left: -10px; padding: 4px; border: 2px solid #fff; border-radius: 50%;
  background: #fff; box-shadow: 0 4px 12px rgba(7, 35, 102, .12); object-fit: contain; }
.ifh__logos img:first-child { margin-left: 0; }
.ifh__proof p { margin: 0; color: #555; font-size: 15px; line-height: 1.45; }
.ifh__proof b { color: #072366; }

/* Composition */
.ifh__art { position: relative; height: 520px; }
.ifh__panel { position: absolute; inset: 20px 0 20px 40px; border-radius: 32px; background: #072366; overflow: hidden; }
.ifh__panel::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 260px; height: 260px;
  border-radius: 50%; border: 44px solid rgba(10, 174, 112, .22); }
.ifh__panel svg { position: absolute; right: 26px; bottom: 26px; width: 120px; opacity: .95; }
.ifh-missions { margin: 0; padding: 0; list-style: none; }
.ifh-card { position: absolute; display: flex; align-items: flex-start; gap: 14px; padding: 20px; border-radius: 20px;
  background: #fff; box-shadow: 0 18px 40px rgba(7, 35, 102, .18); }
.ifh-card b { display: block; color: #072366; font-size: 17px; line-height: 1.3; }
.ifh-card small { display: block; margin-top: 4px; color: #555; font-size: 14px; line-height: 1.5; }
.ifh-ico { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: #eff8f4; color: #078658; }
.ifh-ico--navy { background: #e8ecf6; color: #072366; }
.ifh-card--1 { top: 40px; left: 0; width: 330px; }
.ifh-card--2 { top: 190px; right: 0; width: 330px; }
.ifh-card--3 { top: 340px; left: 30px; width: 330px; }


@media (max-width: 1100px) {
  .ifh h1 { font-size: 46px; }
  .ifh__art { height: 480px; transform: scale(.92); transform-origin: center; }
}
/* Tablet & phone: keep the centred, airy hero people liked on mobile */
@media (max-width: 900px) {
  .ifh { padding: 56px 0 64px; text-align: center; }
  .ifh__grid { grid-template-columns: 1fr; gap: 40px; }
  .ifh h1 { font-size: 38px; }
  .ifh__lead { margin-left: auto; margin-right: auto; font-size: 17px; }
  .ifh__ctas, .ifh__proof { justify-content: center; }
  .ifh__proof { flex-direction: column; gap: 10px; }
  .ifh__art { display: none; }
}
@media (max-width: 480px) {
  .ifh h1 { font-size: 32px; }
  .ifh__btn { width: 100%; }
}

/* ---------- Hero motion (with landing.js) ---------- */
.ifm .ifh__grid > div:first-child > * { opacity: 0; transform: translateY(18px); animation: ifh-rise .8s cubic-bezier(.2, .7, .2, 1) forwards; }
.ifm .ifh__grid > div:first-child > :nth-child(2) { animation-delay: .08s; }
.ifm .ifh__grid > div:first-child > :nth-child(3) { animation-delay: .18s; }
.ifm .ifh__grid > div:first-child > :nth-child(4) { animation-delay: .28s; }
.ifm .ifh__grid > div:first-child > :nth-child(5) { animation-delay: .38s; }
@keyframes ifh-rise { to { opacity: 1; transform: none; } }

/* panel slides in, cards follow and float once, briefly, then stay still */
.ifm .ifh__panel { opacity: 0; transform: translateX(40px) scale(.98); animation: ifh-rise .9s cubic-bezier(.2, .7, .2, 1) .15s forwards; }
.ifh-card { transition: box-shadow .25s; }
.ifm .ifh-card { animation: ifh-card-in .8s cubic-bezier(.2, .8, .2, 1) both, ifh-float 3.2s ease-in-out 1.2s 1; }
.ifm .ifh-card--1 { animation-delay: .45s, 1.3s; }
.ifm .ifh-card--2 { animation-delay: .6s, 1.5s; }
.ifm .ifh-card--3 { animation-delay: .75s, 1.7s; }
@keyframes ifh-card-in { from { opacity: 0; translate: 0 26px; } to { opacity: 1; translate: 0 0; } }
@keyframes ifh-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
.ifh-card:hover { box-shadow: 0 26px 50px rgba(7, 35, 102, .24); }
.ifh__panel svg { transform: rotate(-4deg); }
.ifm .ifh__panel svg { animation: ifh-sway 8s ease-in-out 1s infinite; }
@keyframes ifh-sway { 0%, 100% { rotate: -2deg; } 50% { rotate: 3deg; } }
@media (prefers-reduced-motion: reduce) { .ifh-card, .ifh__panel svg { animation: none !important; } }

/* Safety net set by landing.js after a few seconds: never leave the hero hidden. */
.ifm-done .ifh__grid > div:first-child > *, .ifm-done .ifh__panel, .ifm-done .ifh-card { opacity: 1 !important; }
