/* ============================================================
   IBP Team — Design System for Avada / Fusion Builder
   Ported 1:1 from the supplied home.html design bundle.
   Tokens + webfont + component helper classes used by the
   Fusion Builder elements on Home / Zorg / Onderwijs.
   ============================================================ */

/* ---- Webfont: Exo (variable, 100–900) ---- */
@font-face {
  font-family: "Exo";
  src: url("../fonts/Exo-Variable.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand core */
  --navy: #142F53;
  --red: #EB1F48;
  --orange: #EBAF67;
  --white: #FFFFFF;

  /* Navy scale */
  --navy-900: #0c1d34;
  --navy-800: #102845;
  --navy-700: #142F53;
  --navy-600: #1d406d;
  --navy-500: #2b5489;
  --navy-400: #4f73a4;
  --navy-300: #8099bd;
  --navy-200: #b3c2d8;
  --navy-100: #d9e1ec;
  --navy-50:  #eef2f8;

  /* Accent */
  --red-700: #c01539;
  --red-600: #EB1F48;
  --red-500: #f04767;
  --orange-600: #e69a45;
  --orange-500: #EBAF67;
  --orange-400: #f1c489;

  /* Neutrals */
  --gray-950: #0d131c;
  --gray-900: #1a2230;
  --gray-800: #2c3645;
  --gray-700: #44505f;
  --gray-600: #5f6b7a;
  --gray-500: #7c8794;
  --gray-400: #9ca6b2;
  --gray-300: #c2cad3;
  --gray-200: #dde2e8;
  --gray-100: #eef1f5;
  --gray-50:  #f7f9fb;

  /* Status */
  --success: #1f8a5b;
  --success-bg: #e3f3ec;
  --warning: #d98a1f;
  --warning-bg: #faf0dd;
  --danger: #c01539;
  --danger-bg: #fbe6ea;
  --info: #2b5489;
  --info-bg: #e7eef7;

  /* Gradients */
  --gradient-brand: linear-gradient(100deg, var(--red) 0%, var(--orange) 100%);
  --gradient-brand-soft: linear-gradient(100deg, #f7567f 0%, #f3c189 100%);
  --gradient-navy: linear-gradient(160deg, var(--navy-700) 0%, var(--navy-900) 100%);

  /* Semantic */
  --surface-page: var(--white);
  --surface-muted: var(--gray-50);
  --surface-card: var(--white);
  --surface-navy: var(--navy-700);
  --surface-navy-deep: var(--navy-900);
  --text-strong: var(--navy-700);
  --text-body: var(--gray-800);
  --text-muted: var(--gray-600);
  --text-subtle: var(--gray-500);
  --text-accent: var(--red-600);
  --text-link: var(--navy-600);
  --border-subtle: var(--gray-200);
  --border-default: var(--gray-300);

  /* Type */
  --font-sans: "Exo", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Exo", "Segoe UI", system-ui, sans-serif;
  --fw-light: 300; --fw-regular: 400; --fw-medium: 500;
  --fw-semibold: 600; --fw-bold: 700; --fw-extra: 800;

  --text-2xs: 0.6875rem; --text-xs: 0.75rem; --text-sm: 0.875rem;
  --text-base: 1rem; --text-md: 1.125rem; --text-lg: 1.375rem;
  --text-xl: 1.75rem; --text-2xl: 2.25rem; --text-3xl: 2.875rem;
  --text-4xl: 3.625rem; --text-5xl: 4.5rem;

  --leading-tight: 1.08; --leading-snug: 1.2; --leading-normal: 1.5; --leading-relaxed: 1.65;
  --tracking-tighter: -0.03em; --tracking-tight: -0.015em; --tracking-wider: 0.12em;

  /* Radius */
  --radius-xs: 4px; --radius-sm: 8px; --radius-md: 12px; --radius-lg: 18px;
  --radius-xl: 28px; --radius-2xl: 40px; --radius-pill: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(20,47,83,0.06);
  --shadow-sm: 0 2px 8px rgba(20,47,83,0.07);
  --shadow-md: 0 8px 24px rgba(20,47,83,0.09);
  --shadow-lg: 0 18px 48px rgba(20,47,83,0.12);
  --shadow-xl: 0 30px 70px rgba(20,47,83,0.16);
  --shadow-accent: 0 10px 30px rgba(235,31,72,0.28);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-base: 200ms;
}

/* ============================================================
   Base typography — apply Exo + brand colours site-wide
   ============================================================ */
body.ibp-site,
.ibp-site .fusion-body,
.ibp-page {
  font-family: var(--font-sans);
  color: var(--text-body);
}
.ibp-page h1, .ibp-page h2, .ibp-page h3,
.ibp-page h4, .ibp-page h5, .ibp-page h6 {
  font-family: var(--font-display);
  color: var(--text-strong);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-snug);
}

/* ============================================================
   Helper components
   ============================================================ */

/* Eyebrow / overline */
.ibp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--text-accent);
  margin: 0 0 14px;
}
.ibp-eyebrow .fusion-title-heading::before {content: "";width: 22px; border-top: 2px solid currentColor; border-radius: 2px;opacity: 0.6;display:inline-block;margin-right: 10px;padding-bottom: 3px;}
.ibp-eyebrow.is-center { justify-content: center; }
.ibp-eyebrow.on-navy { color: var(--orange-500); }
/* .color-top.fusion-layout-column .fusion-column-wrapper {border-top: 4px solid; border-image-source: linear-gradient(100deg, var(--red) 0%, var(--orange) 100%);}*/

/* Section helpers */
.ibp-section-head { max-width: 62ch; margin: 0 auto 48px; text-align: center; }
.ibp-section-head p { color: var(--text-muted); font-size: var(--text-md); margin: 14px 0 0; }

/* Cards (WhyUs / generic) */
.ibp-card {
  background: var(--surface-muted, var(--gray-50));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.ibp-card.is-white { background: var(--white); }
.ibp-card.hoverable:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ibp-card h3 { font-size: var(--text-lg); font-weight: var(--fw-bold); margin: 0 0 8px; }
.ibp-card p { font-size: var(--text-base); line-height: var(--leading-relaxed); color: var(--text-body); margin: 0; }

/* Icon chip */
.ibp-icon-chip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: var(--radius-md);
  margin-bottom: 14px;
}
.ibp-icon-chip svg { width: 25px; height: 25px; }
.ibp-icon-chip.navy { background: var(--navy-50); color: var(--navy-700); }
.ibp-icon-chip.gradient { background: var(--gradient-brand); color: #fff; }
.ibp-fullhead.fusion-text {margin:0 auto;}
/* Hero — navy quote/stat card */
.ibp-hero-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius-2xl);
  background: var(--gradient-navy);
  padding: 44px 40px;
  box-shadow: var(--shadow-xl);
  min-height: 440px;
  display: flex; flex-direction: column; justify-content: space-between;
  color: var(--white);
}
.ibp-hero-card::before {
  content: ""; position: absolute; top: -60px; right: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  background: var(--gradient-brand); filter: blur(8px); opacity: 0.5;
}
.ibp-hero-card .ibp-hero-logo { height: 46px; position: relative; width: auto; }
.ibp-hero-card .ibp-hero-quote { color: #fff; font-size: var(--text-lg); font-weight: var(--fw-semibold); line-height: 1.4; margin: 0; position: relative; }
body #wrapper #main .fullwidth-box .ibp-hero-stats.fusion-builder-row-inner {width:100%!important;max-width:100%!important;margin-left:-20px!important;}
.ibp-hero-stats {display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0;margin-top: 30px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.14);position: relative;}
.ibp-hero-stats .v { font-family: var(--font-display); font-size: 35px; font-weight: var(--fw-extra); line-height: 1; letter-spacing: var(--tracking-tight); }
.ibp-hero-stats .l { font-size: var(--text-sm); color: var(--navy-200); margin-top: 4px; }

/* Sector route cards (homepage) */
.ibp-sector-card {
  position: relative; overflow: hidden; height: 100%;
  background: var(--white); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl); padding: 36px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
  text-decoration: none;
}
.ibp-sector-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ibp-sector-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--gradient-brand); }
.ibp-sector-card h3 { font-size: var(--text-xl); font-weight: var(--fw-bold); margin: 0 0 10px; }
.ibp-sector-card p { font-size: var(--text-base); line-height: var(--leading-relaxed); color: var(--text-body); margin: 0 0 16px; }
.ibp-sector-card .ibp-icon-chip { width: 56px; height: 56px; border-radius: var(--radius-md); background: var(--gradient-brand); color: #fff; margin-bottom: 18px; }
.ibp-sector-card .ibp-icon-chip svg { width: 28px; height: 28px; }
.ibp-sector-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--text-accent); font-weight: var(--fw-semibold); font-size: var(--text-sm); }

/* Pills (subsectors / tags) */
.ibp-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.ibp-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: var(--radius-pill);
  background: var(--navy-50); color: var(--navy-700);
  font-size: var(--text-xs); font-weight: var(--fw-semibold);
}
.ibp-pill svg { width: 13px; height: 13px; }

/* Badge */
.ibp-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; font-size: var(--text-xs);
  font-weight: var(--fw-semibold); letter-spacing: 0.02em; line-height: 1.2;
  border-radius: var(--radius-pill);
}
.ibp-badge.navy { background: var(--navy-50); color: var(--navy-700); }
.ibp-badge.gradient { background: var(--gradient-brand); color: #fff; }
.ibp-badge.accent { background: rgba(235,31,72,0.10); color: var(--red-700); }

/* Steps (numbered) */
.ibp-steps { display: flex; flex-direction: column; }
.ibp-step { display: flex; gap: 18px; position: relative; }
.ibp-step .num {
  width: 48px; height: 48px; flex: none; border-radius: var(--radius-md);
  background: var(--gradient-brand); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: var(--fw-extra); font-size: var(--text-lg);
}
.ibp-step .rail { display: flex; flex-direction: column; align-items: center; flex: none; }
.ibp-step .rail .line { width: 2px; flex: 1; margin-top: 8px; background: rgba(255,255,255,0.16); border-radius: 2px; }
.ibp-step .body { padding-bottom: 32px; }
.ibp-step:last-child .body { padding-bottom: 0; }
.ibp-step h4 { font-family: var(--font-display); font-size: var(--text-md); font-weight: var(--fw-bold); margin: 10px 0 6px; }
.ibp-step p { font-size: var(--text-base); line-height: var(--leading-relaxed); margin: 0; }
.ibp-steps.on-navy h4 { color: #fff; }
.ibp-steps.on-navy p { color: var(--navy-200); }

/* Team member card */
.ibp-team-card {
  background: var(--white); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); padding: 26px; height: 100%;
  display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-sm);
}
.ibp-team-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--gradient-navy); color: var(--white);
  font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--text-lg);
  letter-spacing: 0.02em; flex: none;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.08);
}
.ibp-team-card .name { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--text-md); color: var(--text-strong); }
.ibp-team-card .role { font-size: var(--text-xs); font-weight: var(--fw-semibold); text-transform: uppercase; letter-spacing: var(--tracking-wider); color: var(--text-accent); margin-top: 4px; }
.ibp-team-card .bio { font-size: var(--text-sm); line-height: var(--leading-relaxed); color: var(--text-muted); margin: 0; }

/* Checklist (services included) */
.ibp-checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.ibp-checklist .item { display: flex; gap: 10px; align-items: flex-start; }
.ibp-checklist .item svg { flex: none; margin-top: 2px; width: 17px; height: 17px; color: var(--success); }
.ibp-checklist .item span { font-size: var(--text-sm); line-height: 1.45; color: var(--text-body); }

/* Contact info rows */
.ibp-contact-rows { display: flex; flex-direction: column; gap: 14px; }
.ibp-contact-row { display: flex; align-items: center; gap: 12px; }
.ibp-contact-row .ic { display: inline-flex; width: 38px; height: 38px; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--border-subtle); align-items: center; justify-content: center; }
.ibp-contact-row .ic svg { width: 18px; height: 18px; color: var(--red-600); }
.ibp-contact-row .tx { font-weight: var(--fw-semibold); color: var(--text-strong); }

/* Buttons (match design system Button.jsx) */
.ibp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-sans); font-weight: var(--fw-semibold); letter-spacing: -0.005em;
  line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer;
  border: 1.5px solid transparent; border-radius: var(--radius-md);
  padding: 12px 22px; min-height: 46px; font-size: var(--text-base);
  transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
}
.ibp-btn svg { width: 18px; height: 18px; }
.ibp-btn.lg { padding: 16px 30px; min-height: 56px; font-size: var(--text-md); border-radius: var(--radius-lg); }
.ibp-btn.sm { padding: 8px 16px; min-height: 38px; font-size: var(--text-sm); }
.ibp-btn-accent { background: var(--gradient-brand); color: #fff; }
.ibp-btn-accent:hover { color: #fff; box-shadow: var(--shadow-accent); transform: translateY(-1px); }
.ibp-btn-primary { background: var(--navy-700); color: #fff; }
.ibp-btn-primary:hover { color: #fff; background: var(--navy-800); }
.ibp-btn-onnavy { background: #fff; color: var(--navy-700); }
.ibp-btn-onnavy:hover { color: var(--navy-700); background: var(--navy-50); }
.ibp-btn-secondary { background: #fff; color: var(--navy-700); border-color: var(--border-default); }
.ibp-btn-secondary:hover { color: var(--navy-700); background: var(--navy-50); border-color: var(--navy-400); }
.ibp-btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* small uppercase label */
.ibp-uplabel { font-size: var(--text-xs); font-weight: var(--fw-semibold); text-transform: uppercase; letter-spacing: var(--tracking-wider); color: var(--text-subtle); margin-bottom: 14px; }

/* Responsive */
@media (max-width: 800px) {
  .ibp-checklist { grid-template-columns: 1fr; }
  .ibp-hero-stats { grid-template-columns: 1fr 1fr 1fr; }
}
