:root {
  --navy: #153b69;
  --navy-deep: #07192f;
  --blue: #2d72b8;
  --teal: #00a9a5;
  --coral: #f26b4c;
  --gold: #f3bd4e;
  --green: #1f8f6a;
  --ink: #132033;
  --muted: #5f6f86;
  --line: #dce6f0;
  --paper: #f5f8fc;
  --mist: #eef6f8;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(8, 28, 54, 0.15);
  --shadow-soft: 0 16px 42px rgba(19, 32, 51, 0.08);
  --radius: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbfd 54%, #ffffff 100%);
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

@keyframes header-drop {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-media-drift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}

@keyframes grid-drift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 128px 128px, 128px 128px;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 76px;
  padding: 4px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 230, 240, 0.78);
  box-shadow: 0 12px 34px rgba(8, 28, 54, 0.06);
  backdrop-filter: blur(18px);
  animation: header-drop 0.6s ease both;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 0;
  line-height: 0;
  color: var(--navy);
  font-family: "League Spartan", Arial, sans-serif;
  font-weight: 800;
}

.brand img {
  display: block;
  width: auto;
  height: clamp(62px, 5.6vw, 78px);
  max-width: min(42vw, 270px);
  border-radius: 0;
  object-fit: contain;
  object-position: center;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(8px, 1.2vw, 18px);
  color: #30415e;
  font-size: 0.88rem;
  font-weight: 700;
}

.main-nav > a,
.nav-group > a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 10px;
  border-radius: 999px;
  border-bottom: 0;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--blue);
  background: rgba(45, 114, 184, 0.08);
  outline: none;
}

.nav-cta {
  min-height: 40px;
  padding: 10px 18px !important;
  color: var(--white) !important;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(21, 59, 105, 0.22);
}

.nav-group {
  position: relative;
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  min-width: 190px;
  display: grid;
  gap: 4px;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  border: 1px solid rgba(220, 230, 240, 0.9);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: 0.18s ease;
}

.nav-group:hover .nav-submenu,
.nav-group:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-submenu a {
  padding: 9px 10px;
  border-radius: 6px;
  border-bottom: 0;
  white-space: nowrap;
}

.nav-submenu a:hover,
.nav-submenu a:focus-visible {
  color: var(--navy);
  background: var(--paper);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--navy);
  background: transparent;
  box-shadow: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: clamp(620px, 76vh, 740px);
  padding: clamp(44px, 5.5vw, 72px) clamp(18px, 5vw, 76px);
  overflow: hidden;
  color: var(--white);
  background: var(--navy-deep);
}

.hero__media {
  position: absolute;
  inset: 0;
  transform-origin: right center;
  background:
    linear-gradient(105deg, rgba(7, 19, 36, 0.98) 0%, rgba(8, 28, 54, 0.88) 48%, rgba(21, 59, 105, 0.58) 100%),
    url("./assets/hero-digital-bridge.webp") right center / cover no-repeat;
  animation: hero-media-drift 18s ease-in-out infinite alternate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 128px 128px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.15));
  animation: grid-drift 26s linear infinite;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 6px;
  background: linear-gradient(90deg, var(--teal), var(--gold), var(--coral));
}

.hero__content {
  position: relative;
  z-index: 3;
  min-width: 0;
}

.hero__content {
  max-width: 930px;
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow span {
  width: 34px;
  height: 3px;
  background: var(--gold);
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  font-family: "League Spartan", Arial, sans-serif;
  line-height: 1.04;
}

h1 {
  max-width: 880px;
  margin-bottom: 18px;
  font-size: clamp(1.72rem, 2.85vw, 2.55rem);
  font-weight: 800;
}

.hero__lead {
  max-width: 760px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.75;
}

.hero__rotator {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: min(100%, 650px);
  min-height: 54px;
  margin-bottom: 24px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(12px);
}

.hero__rotator i {
  color: var(--gold);
}

.hero__rotator span {
  min-width: 0;
  overflow-wrap: anywhere;
  transition: opacity 0.2s ease;
}

.hero .eyebrow,
.hero h1,
.hero__lead,
.hero__rotator,
.hero__actions,
.hero__metrics {
  opacity: 0;
  animation: fade-up 0.72s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero h1 {
  animation-delay: 0.08s;
}

.hero__lead {
  animation-delay: 0.16s;
}

.hero__rotator {
  animation-delay: 0.24s;
}

.hero__actions {
  animation-delay: 0.32s;
}

.hero__metrics {
  animation-delay: 0.4s;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 760px);
  margin-top: 22px;
}

.hero__metrics div {
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(10px);
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.hero__metrics div:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.14);
}

.hero__metrics strong {
  display: block;
  margin-bottom: 4px;
  color: var(--white);
  font-family: "League Spartan", Arial, sans-serif;
  font-size: 1.24rem;
  line-height: 1;
}

.hero__metrics span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  min-height: 48px;
  padding: 13px 19px;
  border: 0;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn--primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--coral), #e95536);
  box-shadow: 0 16px 34px rgba(242, 107, 76, 0.3);
}

.btn--ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.03);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  box-shadow: 0 20px 42px rgba(242, 107, 76, 0.38);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.1);
}

.btn--secondary {
  color: var(--navy);
  background: var(--white);
}

.section,
.pmi-section,
.contact {
  padding: clamp(70px, 8vw, 108px) clamp(18px, 5vw, 76px);
}

.section__heading {
  max-width: 900px;
  margin-bottom: 42px;
}

.section__heading h2,
.partners h2,
.pmi-section h2,
.contact h2 {
  margin: 10px 0 0;
  color: var(--navy-deep);
  font-size: clamp(2.08rem, 3.9vw, 3.72rem);
  font-weight: 800;
}

.section__heading p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 34px;
  align-items: stretch;
}

.intro {
  padding-top: clamp(42px, 5vw, 64px);
}

.intro__copy {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 8px 0 0 78px;
  color: #33445d;
  font-size: 1.02rem;
}

.intro__icon {
  position: absolute;
  top: 4px;
  left: 0;
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--blue);
  border-radius: var(--radius);
  border: 1px solid rgba(45, 114, 184, 0.24);
  background: transparent;
  box-shadow: none;
}

.intro__copy p,
.why-card p,
.purpose-card p,
.service-card p,
.training-list p,
.client-space p,
.contact p,
.team-grid h3 {
  margin-bottom: 0;
}

.why-card {
  padding: 28px;
  color: var(--white);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.18), transparent 30%),
    radial-gradient(circle at 86% 12%, rgba(255, 195, 60, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(7, 25, 47, 0.98), rgba(21, 59, 105, 0.96) 52%, rgba(0, 169, 165, 0.86));
  box-shadow: var(--shadow);
}

.why-card span,
.purpose-card span {
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.why-card p {
  margin-top: 14px;
  font-family: "League Spartan", Arial, sans-serif;
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  line-height: 1.06;
}

.purpose-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 50px;
}

.purpose-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  align-items: end;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.purpose-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 25, 47, 0.18) 0%, rgba(7, 25, 47, 0.84) 100%),
    linear-gradient(120deg, rgba(21, 59, 105, 0.62), rgba(0, 169, 165, 0.12));
}

.purpose-card figure {
  position: absolute;
  inset: 0;
  z-index: -2;
  margin: 0;
  background: var(--navy-deep);
}

.purpose-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.35s ease;
}

.purpose-card:hover figure img {
  transform: scale(1.07);
}

.purpose-card__body {
  padding: clamp(26px, 4vw, 38px);
}

.purpose-card i {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  color: var(--white);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: transparent;
}

.purpose-card p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.82);
}

.values {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1.2fr);
  gap: 36px;
  align-items: center;
  margin-top: 60px;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, #ffffff 0%, var(--mist) 100%);
  box-shadow: var(--shadow-soft);
}

.values h3 {
  margin: 10px 0 12px;
  color: var(--navy);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.values p {
  color: var(--muted);
}

.values img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  border-radius: 10px;
  object-fit: contain;
  object-position: center;
}

.value-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.value-list article,
.team-grid article,
.client-space article {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.value-list article {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  grid-template-areas:
    "icon title"
    "icon copy";
  column-gap: 18px;
  row-gap: 4px;
  align-items: start;
  background:
    linear-gradient(135deg, #ffffff 0%, #f7fbfd 100%);
}

.value-list article::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -48px;
  width: 128px;
  height: 128px;
  border: 22px solid rgba(45, 114, 184, 0.08);
  border-radius: 50%;
}

.value-list article:hover,
.team-grid article:hover,
.client-space article:hover {
  transform: translateY(-4px);
  border-color: rgba(45, 114, 184, 0.22);
  box-shadow: 0 24px 52px rgba(19, 32, 51, 0.11);
}

.value-list i,
.team-grid i,
.client-space i {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  color: var(--navy);
  border-radius: 8px;
  border: 1px solid rgba(45, 114, 184, 0.24);
  background: transparent;
}

.value-list i {
  grid-area: icon;
  width: 72px;
  height: 72px;
  margin: 0;
  font-size: 1.9rem;
  border-radius: 8px;
  box-shadow: none;
}

.value-list .value-icon {
  grid-area: icon;
  display: block;
  width: 72px;
  height: 72px;
  margin: 0;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: none;
}

.value-list article:nth-child(2n) i,
.team-grid article:nth-child(2n) i {
  color: var(--teal);
  border-color: rgba(0, 169, 165, 0.28);
}

.value-list article:nth-child(3n) i,
.client-space article:nth-child(2) i {
  color: var(--coral);
  border-color: rgba(242, 107, 76, 0.28);
}

.value-list h4 {
  grid-area: title;
  margin-bottom: 8px;
  color: var(--navy-deep);
  font-size: 1.48rem;
  font-weight: 800;
}

.value-list p {
  grid-area: copy;
  margin-bottom: 0;
  color: #35445b;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.55;
}

.section--tinted {
  border-block: 1px solid rgba(220, 230, 240, 0.72);
  background:
    linear-gradient(180deg, #f6f9fc 0%, #ffffff 100%);
}

#services .section__heading {
  max-width: 1100px;
  margin-bottom: 34px;
}

#services .section__heading h2 {
  max-width: 1100px;
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  line-height: 1.13;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card:last-child:nth-child(3n + 1) {
  grid-column: 2;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--gold), var(--coral));
  opacity: 0;
  transition: opacity 0.22s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(45, 114, 184, 0.24);
  box-shadow: 0 28px 60px rgba(19, 32, 51, 0.13);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card figure {
  height: 168px;
  margin: 0;
  overflow: hidden;
  background: var(--paper);
}

.service-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.service-card:hover figure img {
  transform: scale(1.04);
}

.service-card i,
.training-list i {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 22px 26px 0;
  color: var(--navy);
  border-radius: var(--radius);
  border: 1px solid rgba(45, 114, 184, 0.24);
  background: transparent;
  box-shadow: none;
}

.service-card:nth-child(2n) i,
.training-list article:nth-child(2n) i {
  color: var(--teal);
  border-color: rgba(0, 169, 165, 0.28);
}

.service-card:nth-child(3n) i {
  color: var(--coral);
  border-color: rgba(242, 107, 76, 0.28);
}

.service-card h3,
.training-list h3,
.client-space h3,
.team-grid h3 {
  margin: 16px 26px 10px;
  color: var(--navy-deep);
  font-size: 1.55rem;
}

.service-card p {
  padding: 0 26px 26px;
  color: var(--muted);
  font-size: 0.96rem;
}

.service-card__footer {
  display: flex;
  align-items: center;
  min-height: 58px;
  margin: auto 26px 0;
  padding: 14px 0 18px;
  border-top: 1px solid rgba(24, 54, 95, 0.12);
}

.service-card__footer--multiple {
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
}

.service-card__footer a {
  color: var(--navy-deep);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.service-card__footer a:hover,
.service-card__footer a:focus-visible {
  color: var(--blue);
  text-decoration: underline;
}

.training__layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.training__visual {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, #ffffff, #f3f8fb);
  box-shadow: var(--shadow-soft);
}

.training__visual img {
  width: 100%;
  border-radius: 50%;
}

.training-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.training-list article {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(220, 230, 240, 0.9);
  border-radius: var(--radius);
  background: #fbfdff;
  box-shadow: 0 12px 30px rgba(19, 32, 51, 0.05);
}

.training-list i {
  margin: 0;
}

.training-list h3 {
  margin: 0 0 10px;
}

.training-list__footer {
  grid-column: 1 / -1;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid rgba(24, 54, 95, 0.12);
}

.training-list__footer a {
  color: var(--navy-deep);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.training-list__footer a:hover,
.training-list__footer a:focus-visible {
  color: var(--blue-accent);
  text-decoration: underline;
}

.training-list p,
.client-space p {
  color: var(--muted);
  font-size: 0.96rem;
}

.upcoming-training__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.upcoming-training__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(220, 230, 240, 0.95);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 36px rgba(19, 32, 51, 0.06);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.upcoming-training__card:hover,
.upcoming-training__card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(19, 32, 51, 0.12);
}

.upcoming-training__card.is-featured {
  border-color: rgba(45, 114, 184, 0.5);
  box-shadow: 0 18px 42px rgba(21, 59, 105, 0.12);
}

.upcoming-training__media {
  position: relative;
  display: block;
  overflow: hidden;
  background: #eef3f8;
}

.upcoming-training__card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.upcoming-training__card:hover img,
.upcoming-training__card:focus-within img {
  transform: scale(1.035);
}

.upcoming-training__featured {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 11px;
  color: var(--white);
  border-radius: 999px;
  background: var(--navy);
  box-shadow: 0 8px 20px rgba(7, 25, 47, 0.2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.upcoming-training__card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 22px 24px;
}

.upcoming-training__category {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.upcoming-training__card h3 {
  margin: 0 0 12px;
  color: var(--navy-deep);
  font-size: 1.2rem;
  line-height: 1.3;
}

.upcoming-training__card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.upcoming-training__meta {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
  font-size: 0.88rem;
}

.upcoming-training__meta li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 7px;
  align-items: start;
}

.upcoming-training__meta i {
  margin-top: 5px;
  color: var(--blue);
  text-align: center;
}

.upcoming-training__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
}

.upcoming-training__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  color: var(--navy-deep);
  border: 1px solid rgba(21, 59, 105, 0.2);
  border-radius: 6px;
  background: #f8fbfd;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.upcoming-training__actions a:hover,
.upcoming-training__actions a:focus-visible {
  color: var(--blue);
  border-color: var(--blue);
  background: var(--white);
}

.upcoming-training__actions a.is-primary {
  color: var(--white);
  border-color: var(--navy);
  background: var(--navy);
}

.upcoming-training__actions a.is-primary:hover,
.upcoming-training__actions a.is-primary:focus-visible {
  color: var(--white);
  border-color: var(--blue);
  background: var(--blue);
}

.upcoming-training__empty {
  display: flex;
  gap: 20px;
  align-items: center;
  max-width: 760px;
  margin-inline: auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #ffffff, #f3f8fb);
  box-shadow: var(--shadow-soft);
}

.upcoming-training__empty > i {
  display: grid;
  flex: 0 0 52px;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--navy);
  border: 1px solid rgba(45, 114, 184, 0.24);
  border-radius: 50%;
  font-size: 1.3rem;
}

.upcoming-training__empty h3,
.upcoming-training__empty p {
  margin: 0;
}

.upcoming-training__empty h3 {
  color: var(--navy-deep);
  font-size: 1.15rem;
}

.upcoming-training__empty p {
  color: var(--muted);
}

.previous-training .upcoming-training__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 920px;
  margin-inline: auto;
}

.previous-training .upcoming-training__card img {
  height: auto;
  object-fit: contain;
  background: #eef3f8;
}

.training-detail__header {
  position: relative;
}

.training-detail__nav {
  display: flex;
  gap: 10px;
  align-items: center;
}

.training-detail__nav a {
  padding: 9px 12px;
  color: var(--navy-deep);
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 800;
}

.training-detail__nav a:hover,
.training-detail__nav a:focus-visible {
  color: var(--blue);
  background: var(--paper);
}

.training-detail-page {
  min-height: calc(100vh - 160px);
  padding: clamp(52px, 7vw, 90px) clamp(20px, 5vw, 80px);
  background: linear-gradient(180deg, #f6f9fc 0%, #ffffff 100%);
}

.training-detail {
  display: grid;
  grid-template-columns: minmax(280px, 480px) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 70px);
  align-items: start;
  max-width: 1180px;
  margin-inline: auto;
}

.training-detail__visual {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.training-detail__visual img {
  width: 100%;
  max-height: 680px;
  object-fit: contain;
  background: #eef3f8;
}

.training-detail__content h1 {
  margin: 12px 0 18px;
  color: var(--navy-deep);
  font-family: "League Spartan", Arial, sans-serif;
  font-size: clamp(2.1rem, 5vw, 4.1rem);
  line-height: 0.98;
}

.training-detail__lead {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1.05rem;
}

.training-detail__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 30px;
}

.training-detail__facts div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.training-detail__facts dt {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.training-detail__facts dd {
  margin: 5px 0 0;
  color: var(--navy-deep);
  font-size: 0.9rem;
  font-weight: 700;
}

.training-detail__description {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.training-detail__description h2 {
  margin: 0 0 10px;
  color: var(--navy-deep);
  font-size: 1.45rem;
}

.training-detail__description p {
  color: var(--muted);
}

.training-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.training-detail__contact {
  color: var(--navy-deep);
  border-color: rgba(21, 59, 105, 0.25);
}

.training-detail__not-found {
  max-width: 760px;
  margin: 5vh auto;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.training-detail__not-found h1 {
  color: var(--navy-deep);
  font-size: clamp(2rem, 5vw, 3.3rem);
}

@media (max-width: 760px) {
  .previous-training .upcoming-training__grid {
    grid-template-columns: 1fr;
  }
}

.pmi-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 42px;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 25, 47, 0.98), rgba(21, 59, 105, 0.9)),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.12), transparent 32%),
    linear-gradient(120deg, rgba(20, 48, 87, 0.95), rgba(8, 26, 49, 0.96));
}

.pmi-section h2 {
  color: var(--white);
}

.pmi-section p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.9);
}

.check-list i {
  margin-top: 5px;
  color: var(--gold);
}

.pmi-section__badge {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.pmi-section__badge-logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  max-width: 260px;
}

.pmi-section__badge-logos a {
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pmi-section__badge-logos a:hover,
.pmi-section__badge-logos a:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

/* Keep the PMI/ATP partner marks sharp and preserve their original proportions. */
.pmi-section__badge-logos a {
  min-height: 110px;
  padding: 8px;
  border-radius: 14px;
  background: var(--white);
}

.pmi-section__badge-logos img {
  display: block;
  width: 100%;
  max-width: 150px;
  height: 92px;
  aspect-ratio: auto;
  margin: 0 auto;
  border-radius: 6px;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
}

.pmi-section__badge-logos a:nth-child(3) {
  grid-column: 1 / -1;
}

.team {
  background:
    linear-gradient(180deg, #f5f8fc 0%, #eef6f8 100%);
}

.team-grid,
.client-space__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.team-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-grid article {
  min-height: 100%;
}

.team-grid h3 {
  margin: 0;
}

.team-card {
  position: relative;
  overflow: hidden;
  padding: 0 !important;
}

.team-card figure {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: auto;
  height: clamp(240px, 22vw, 280px);
  margin: 0;
  overflow: hidden;
  background:
    linear-gradient(145deg, #e4edf5 0%, #f8fafc 100%);
}

.team-card figure img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.35s ease;
}

.team-card figure .team-card__photo--rotated {
  transform: rotate(-90deg) scale(0.68);
}

.team-card figure .team-card__photo--cover {
  object-fit: cover;
  object-position: center;
}

.team-card:hover figure img {
  transform: scale(1.025);
}

.team-card:hover figure .team-card__photo--rotated {
  transform: rotate(-90deg) scale(0.7);
}

.team-card:hover figure .team-card__photo--cover {
  transform: scale(1.025);
}

.team-card__avatar {
  display: grid;
  place-items: center;
  min-height: 172px;
  padding: 32px 24px;
  color: var(--navy-deep);
  border-bottom: 1px solid rgba(220, 230, 240, 0.9);
  background:
    linear-gradient(135deg, rgba(45, 114, 184, 0.1), rgba(0, 169, 165, 0.12));
  font-family: "League Spartan", Arial, sans-serif;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
}

.team-card:nth-child(2n) .team-card__avatar {
  background:
    linear-gradient(135deg, rgba(0, 169, 165, 0.12), rgba(31, 143, 106, 0.1));
}

.team-card:nth-child(3n) .team-card__avatar {
  background:
    linear-gradient(135deg, rgba(242, 107, 76, 0.1), rgba(243, 189, 78, 0.16));
}

.team-card__body {
  position: relative;
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 248px;
  padding: 28px 24px 24px;
}

.team-card__body span {
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.team-card__body > i {
  position: absolute;
  top: -25px;
  right: 22px;
  margin: 0;
  border: 4px solid var(--white);
  box-shadow: none;
}

.team-card h3 {
  color: var(--navy-deep);
  font-size: 1.34rem;
  line-height: 1.08;
}

.team-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.team-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 6px;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 800;
  transition: color 0.2s ease;
}

.team-card__link:hover,
.team-card__link:focus-visible {
  color: var(--teal);
  outline: none;
  text-decoration: underline;
}

.team-card__link i {
  width: auto;
  height: auto;
  margin: 0;
  color: currentColor;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.partners {
  padding: clamp(58px, 8vw, 90px) clamp(18px, 5vw, 76px);
  border-block: 1px solid var(--line);
  background: #ffffff;
  overflow: hidden;
}

.partners__inner {
  display: grid;
  gap: 22px;
}

.partners h2 {
  max-width: 820px;
  margin-bottom: 4px;
}

.partners__marquee {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(220, 230, 240, 0.9);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  box-shadow: var(--shadow-soft);
}

.partners__marquee::before,
.partners__marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 90px;
  pointer-events: none;
}

.partners__marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--paper), rgba(246, 248, 251, 0));
}

.partners__marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--paper), rgba(246, 248, 251, 0));
}

.partners__track {
  display: flex;
  width: max-content;
  gap: 16px;
  padding: 20px;
  animation: partners-scroll 42s linear infinite;
}

.partners__marquee:hover .partners__track,
.partners__marquee:focus-within .partners__track {
  animation-play-state: paused;
}

.partners__track a {
  display: inline-grid;
  place-items: center;
  width: 170px;
  height: 86px;
  padding: 12px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.partners__track a:hover,
.partners__track a:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(19, 32, 51, 0.09);
  outline: none;
}

.partners__track img {
  width: 100%;
  height: 58px;
  object-fit: contain;
}

.partner-tile {
  color: var(--navy);
  font-family: "League Spartan", Arial, sans-serif;
  font-size: 1.24rem;
  font-weight: 800;
  text-align: center;
}

@keyframes partners-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.client-space__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.client-space a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 44px;
  background:
    linear-gradient(180deg, #f9fbfd 0%, #eef4f8 100%);
}

.contact__info ul {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.contact__info li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  color: #33445d;
}

.contact__info i {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--navy);
  border-radius: var(--radius);
  border: 1px solid rgba(45, 114, 184, 0.24);
  background: transparent;
}

.contact__info a:hover {
  color: var(--blue);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--navy-deep);
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  border: 1px solid #cdd8e4;
  border-radius: 6px;
  background: #fbfdff;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(44, 111, 183, 0.13);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px clamp(18px, 5vw, 76px);
  color: var(--white);
  background:
    linear-gradient(135deg, var(--navy-deep), #0d2d50);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.service-card,
.purpose-card,
.value-list article,
.training-list article,
.team-card,
.client-space article,
.contact-form {
  will-change: transform;
}

.service-card i,
.value-list i,
.training-list i,
.team-grid i,
.client-space i,
.intro__icon {
  transition:
    transform 0.24s ease,
    color 0.24s ease,
    border-color 0.24s ease;
}

.service-card:hover i,
.value-list article:hover i,
.training-list article:hover i,
.team-grid article:hover i,
.client-space article:hover i {
  transform: translateY(-3px) scale(1.06);
}

.team-grid article:hover .team-card__link i {
  transform: none;
}

.js-reveal .reveal-target {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.js-reveal .reveal-target.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .main-nav {
    position: absolute;
    top: 84px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav > a,
  .nav-group > a,
  .nav-cta {
    padding: 10px 12px !important;
    border-radius: 6px;
  }

  .nav-submenu {
    position: static;
    display: grid;
    min-width: 0;
    margin: 0 0 4px 12px;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: 0;
    box-shadow: none;
    background: #f8fafc;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    position: static;
    flex: 0 0 auto;
    margin-left: auto;
    z-index: 70;
  }

  .hero,
  .pmi-section,
  .contact {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .value-list,
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .upcoming-training__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card:last-child:nth-child(3n + 1) {
    grid-column: auto;
  }

  .training__layout,
  .intro__grid,
  .values,
  .purpose-grid,
  .training-detail {
    grid-template-columns: 1fr;
  }

  .training__visual {
    max-width: 360px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 76px;
  }

  .site-header {
    min-height: 70px;
    padding-block: 3px;
    padding-inline: 14px;
  }

  .brand {
    min-height: 0;
  }

  .brand img {
    height: 58px;
    max-width: 200px;
  }

  .main-nav {
    top: 76px;
    right: 14px;
    left: 14px;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
    padding-bottom: 28px;
  }

  .hero__media {
    background:
      linear-gradient(180deg, rgba(7, 20, 39, 0.96) 0%, rgba(10, 28, 51, 0.9) 100%),
      url("./assets/hero-digital-bridge.webp") center / cover no-repeat;
  }

  h1 {
    font-size: clamp(1.32rem, 5.3vw, 1.6rem);
    max-width: 20ch;
    overflow-wrap: anywhere;
  }

  .hero__content {
    max-width: 100%;
    width: 100%;
  }

  .hero__lead,
  .hero__rotator {
    max-width: 100%;
  }

  .hero__rotator {
    align-items: flex-start;
    line-height: 1.35;
  }

  .hero__actions,
  .btn {
    width: 100%;
  }

  .hero__metrics {
    grid-template-columns: 1fr;
  }

  .hero__metrics {
    display: none;
  }

  .intro__copy {
    padding-left: 0;
    padding-top: 64px;
  }

  .service-grid,
  .training-list,
  .client-space__grid,
  .value-list,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .upcoming-training__grid {
    grid-template-columns: 1fr;
  }

  .upcoming-training__empty {
    align-items: flex-start;
    padding: 22px;
  }

  .value-list article {
    grid-template-columns: 1fr;
    grid-template-areas:
      "icon"
      "title"
      "copy";
    row-gap: 8px;
  }

  .value-list i {
    margin-bottom: 4px;
  }

  .training-list article {
    grid-template-columns: 1fr;
  }

  .training-detail__nav a:last-child {
    display: none;
  }

  .training-detail-page {
    padding-top: 36px;
  }

  .training-detail__facts {
    grid-template-columns: 1fr;
  }

  .partners__marquee::before,
  .partners__marquee::after {
    width: 38px;
  }

  .partners__track a {
    width: 140px;
    height: 78px;
  }

  .values,
  .why-card {
    padding: 20px;
  }

  .purpose-card__body {
    padding: 20px;
  }

  .contact-form {
    padding: 20px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .site-header,
  .hero__media,
  .hero::before,
  .hero .eyebrow,
  .hero h1,
  .hero__lead,
  .hero__rotator,
  .hero__actions,
  .hero__metrics {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .js-reveal .reveal-target {
    opacity: 1;
    transform: none;
  }
}


/* Mise a jour du visuel d'accueil — 2026-08-29 */
.hero__media {
  background:
    linear-gradient(105deg, rgba(7, 19, 36, 0.98) 0%, rgba(8, 28, 54, 0.86) 46%, rgba(21, 59, 105, 0.38) 100%),
    url("./assets/hero-bridge-consult-kinshasa-clean.png") right center / cover no-repeat;
}

@media (max-width: 760px) {
  .hero__media {
    background:
      linear-gradient(180deg, rgba(7, 20, 39, 0.88) 0%, rgba(10, 28, 51, 0.84) 100%),
      url("./assets/hero-bridge-consult-kinshasa-clean.png") 72% center / cover no-repeat;
  }
}
