/*
 * ETAAM — premium refresh of the navigation, home services and team cards.
 * Loaded last. Selectors start with "html body" to win over the template's !important rules.
 */

:root {
  --etaam-teal: #2dd4bf;
  --etaam-teal-strong: #14b8a6;
  --etaam-violet: #8b5cf6;
  --etaam-ink: #0b1220;
  --etaam-glass: rgba(15, 23, 42, 0.72);
  --etaam-line: rgba(255, 255, 255, 0.08);
  --etaam-muted: rgba(226, 232, 240, 0.72);
}

/* =========================================================
   1. NAVIGATION (main header + sticky clone), desktop
   ========================================================= */
@media (min-width: 992px) {
  html body .main-header-three .main-menu__wrapper,
  html body .stricky-header .main-menu__wrapper {
    height: 76px !important;
    max-width: 1240px !important;
    padding: 0 14px 0 26px !important;
    border-radius: 20px !important;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.86), rgba(30, 41, 59, 0.74)) !important;
    border: 1px solid var(--etaam-line) !important;
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    box-shadow:
      0 24px 60px -24px rgba(2, 6, 23, 0.8),
      inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  }

  html body .main-menu__main-menu-box--two .main-menu__list {
    gap: 4px !important;
  }

  html body .main-menu__main-menu-box--two .main-menu__list > li,
  html body .main-menu__main-menu-box--two .main-menu__list > li + li {
    margin: 0 !important;
  }

  /* Links as soft pills */
  html body .main-menu__main-menu-box--two .main-menu__list > li > a,
  html body .main-menu__main-menu-box--two .main-menu__list > li > a:link,
  html body .main-menu__main-menu-box--two .main-menu__list > li > a:visited,
  html body .stricky-header .main-menu__main-menu-box--two .main-menu__list > li > a,
  html body .main-menu__main-menu-box--two .main-menu__list > li:last-child > a {
    padding: 10px 18px !important;
    border-radius: 999px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.78) !important;
    text-shadow: none !important;
    line-height: 1.2 !important;
    transition:
      color 0.25s ease,
      background-color 0.25s ease,
      box-shadow 0.25s ease !important;
  }

  html body .main-menu__main-menu-box--two .main-menu__list > li:hover > a,
  html body .main-menu__main-menu-box--two .main-menu__list > li > a:hover,
  html body .main-menu__main-menu-box--two .main-menu__list > li:last-child:hover > a {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.06) !important;
    background-color: rgba(255, 255, 255, 0.06) !important;
  }

  /* Current page */
  html body .main-menu__main-menu-box--two .main-menu__list > li.current > a,
  html body .main-menu__main-menu-box--two .main-menu__list > li.current:hover > a {
    color: #fff !important;
    background: rgba(45, 212, 191, 0.12) !important;
    background-color: rgba(45, 212, 191, 0.12) !important;
    box-shadow: inset 0 0 0 1px rgba(45, 212, 191, 0.35) !important;
  }

  /* Language switcher: small badge, separated from the page links */
  html body .main-menu__main-menu-box--two .main-menu__list > li.main-menu__lang {
    margin-left: 14px !important;
    padding-left: 14px !important;
    border-left: 1px solid var(--etaam-line);
  }

  html body .main-menu__main-menu-box--two .main-menu__list > li.main-menu__lang > a,
  html body .main-menu__main-menu-box--two .main-menu__list > li.main-menu__lang:last-child > a {
    padding: 7px 13px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.85) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16) !important;
  }

  html body .main-menu__main-menu-box--two .main-menu__list > li.main-menu__lang > a:hover,
  html body .main-menu__main-menu-box--two .main-menu__list > li.main-menu__lang:hover > a {
    color: var(--etaam-teal) !important;
    box-shadow: inset 0 0 0 1px rgba(45, 212, 191, 0.5) !important;
    background: transparent !important;
  }

  html body .main-menu__main-menu-box--two .main-menu__list > li.main-menu__lang i {
    margin-right: 6px !important;
    font-size: 12px;
    opacity: 0.8;
  }
}

/* Same weight for every link: the template colours some links through [href*="..."]:link selectors */
@media (min-width: 992px) {
  html body .main-menu .main-menu__main-menu-box--two .main-menu__list > li > a[href],
  html body .main-menu .main-menu__main-menu-box--two .main-menu__list > li > a[href]:link,
  html body .main-menu .main-menu__main-menu-box--two .main-menu__list > li > a[href]:visited {
    color: rgba(255, 255, 255, 0.82) !important;
    background: transparent !important;
    border-radius: 999px !important;
    padding: 10px 18px !important;
  }

  html body .main-menu .main-menu__main-menu-box--two .main-menu__list > li > a[href]:hover,
  html body .main-menu .main-menu__main-menu-box--two .main-menu__list > li:hover > a[href] {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.06) !important;
  }

  html body .main-menu .main-menu__main-menu-box--two .main-menu__list > li.current > a[href],
  html body .main-menu .main-menu__main-menu-box--two .main-menu__list > li.current > a[href]:link,
  html body .main-menu .main-menu__main-menu-box--two .main-menu__list > li.current:hover > a[href] {
    color: #fff !important;
    background: rgba(45, 212, 191, 0.12) !important;
    box-shadow: inset 0 0 0 1px rgba(45, 212, 191, 0.35) !important;
  }

  html body .main-menu .main-menu__main-menu-box--two .main-menu__list > li.main-menu__lang > a[href],
  html body .main-menu .main-menu__main-menu-box--two .main-menu__list > li.main-menu__lang > a[href]:link,
  html body .main-menu .main-menu__main-menu-box--two .main-menu__list > li.main-menu__lang > a[href]:visited {
    padding: 7px 14px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.85) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16) !important;
  }

  html body .main-menu .main-menu__main-menu-box--two .main-menu__list > li.main-menu__lang > a[href]:hover,
  html body .main-menu .main-menu__main-menu-box--two .main-menu__list > li.main-menu__lang:hover > a[href] {
    color: var(--etaam-teal) !important;
    background: transparent !important;
    box-shadow: inset 0 0 0 1px rgba(45, 212, 191, 0.5) !important;
  }
}

/* Tablets (992-1199px): same design, tighter */
@media (min-width: 992px) and (max-width: 1199px) {
  html body .main-menu .main-menu__main-menu-box--two .main-menu__list > li > a[href],
  html body .main-menu .main-menu__main-menu-box--two .main-menu__list > li > a[href]:link,
  html body .main-menu .main-menu__main-menu-box--two .main-menu__list > li > a[href]:visited {
    padding: 8px 11px !important;
    font-size: 14px !important;
  }

  html body .main-menu__main-menu-box--two .main-menu__list > li.main-menu__lang {
    margin-left: 6px !important;
    padding-left: 6px !important;
  }

  html body .hero-startup-btn-nav {
    padding: 10px 16px !important;
  }
}

/* Call-to-action button */
html body .hero-startup-btn-nav,
html body .main-menu__right-startup .hero-startup-btn-nav {
  background: linear-gradient(135deg, #2dd4bf 0%, #22d3ee 100%) !important;
  color: #04121a !important;
  border-radius: 999px !important;
  padding: 12px 22px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em;
  box-shadow:
    0 10px 24px -8px rgba(45, 212, 191, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}

html body .hero-startup-btn-nav i {
  transition: transform 0.25s ease;
}

html body .hero-startup-btn-nav:hover {
  transform: translateY(-1px);
  box-shadow:
    0 14px 30px -8px rgba(45, 212, 191, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}

html body .hero-startup-btn-nav:hover i {
  transform: translateX(3px);
}

/* =========================================================
   2. HOME — SERVICES CARDS
   ========================================================= */
.svc-grid {
  --bs-gutter-y: 1.5rem;
}

.svc-card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 30px 28px 26px;
  border-radius: 22px;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(45, 212, 191, 0.08), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 20px 40px -28px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  transition:
    transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

/* Gradient line at the top, revealed on hover */
.svc-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--etaam-teal), #4ade80, transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.svc-card:hover {
  transform: translateY(-6px);
  border-color: rgba(45, 212, 191, 0.35);
  box-shadow: 0 30px 60px -30px rgba(45, 212, 191, 0.35);
}

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

.svc-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 26px;
}

.svc-card__icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.18), rgba(74, 222, 128, 0.08));
  border: 1px solid rgba(45, 212, 191, 0.25);
  transition: transform 0.35s ease;
}

.svc-card__icon span {
  font-size: 30px;
  line-height: 1;
  color: #5eead4;
}

.svc-card:hover .svc-card__icon {
  transform: rotate(-6deg) scale(1.05);
}

.svc-card__index {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.28);
  font-variant-numeric: tabular-nums;
}

.svc-card__title {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  margin: 0 0 12px;
}

.svc-card__title a {
  color: #fff !important;
  text-decoration: none;
}

.svc-card__text {
  flex: 1 1 auto;
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--etaam-muted) !important;
}

.svc-card__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--etaam-teal);
}

.svc-card__more i {
  transition: transform 0.25s ease;
}

.svc-card:hover .svc-card__more i {
  transform: translateX(4px);
}

/* =========================================================
   3. TEAM CARDS
   ========================================================= */
.team-card {
  position: relative;
  margin-bottom: 30px;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 4 / 5;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 60px -35px rgba(0, 0, 0, 0.9);
  transition:
    transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(45, 212, 191, 0.35);
  box-shadow: 0 40px 70px -35px rgba(45, 212, 191, 0.35);
}

/* Photos share the same frame and tone (one portrait is black & white): colour comes back on hover */
.team-card__media {
  position: absolute;
  inset: 0;
  display: block;
  z-index: -1;
}

.team-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: grayscale(1) contrast(1.05) brightness(0.92);
  transform: scale(1.02);
  transition:
    filter 0.6s ease,
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.team-card:hover .team-card__media img {
  filter: grayscale(0) contrast(1) brightness(1);
  transform: scale(1.07);
}

/* Readable text on any photo */
.team-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0) 40%, rgba(2, 6, 23, 0.55) 62%, rgba(2, 6, 23, 0.95) 100%);
}

.team-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 26px 24px;
  /* clicks on the text fall through to the profile link (the photo) under it */
  pointer-events: none;
}

.team-card__body a {
  pointer-events: auto;
}

.team-card__name {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}

.team-card__name a {
  color: #fff !important;
  text-decoration: none;
}

.team-card__role {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(226, 232, 240, 0.8) !important;
}

.team-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  /* space kept from the start: the name does not move when the link appears */
  margin-top: 14px;
  max-height: 30px;
  opacity: 0;
  transform: translateY(6px);
  overflow: hidden;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--etaam-teal) !important;
  text-decoration: none;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.team-card:hover .team-card__link,
.team-card:focus-within .team-card__link {
  opacity: 1;
  transform: none;
}

.team-card__social {
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}

.team-card__social li {
  opacity: 0;
  transform: translateX(12px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.team-card__social li:nth-child(2) {
  transition-delay: 0.05s;
}

.team-card__social li:nth-child(3) {
  transition-delay: 0.1s;
}

.team-card:hover .team-card__social li,
.team-card:focus-within .team-card__social li {
  opacity: 1;
  transform: none;
}

.team-card__social a {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 14px;
  color: #fff !important;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

.team-card__social a:hover {
  background: var(--etaam-teal);
  color: #04121a !important;
}

/* Touch screens have no hover: show everything and keep the colour */
@media (hover: none) {
  .team-card__media img {
    filter: none;
  }

  .team-card__social li {
    opacity: 1;
    transform: none;
  }

  .team-card__link {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 767px) {
  .svc-card {
    padding: 26px 22px 22px;
  }

  .team-card__name {
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .svc-card,
  .svc-card__icon,
  .team-card,
  .team-card__media img {
    transition: none;
  }
}

/* =========================================================
   4. NEWS & INSIGHTS HUB (/actualites)
   ========================================================= */

/* Page header in the style of the other pages */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 170px 0 110px !important;
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 30%, #3b82f6 60%, #10b981 100%) !important;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-hero__glow {
  position: absolute;
  border-radius: 50%;
  animation: float 9s ease-in-out infinite;
}

.page-hero__glow--one {
  top: 15%;
  left: 6%;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2), transparent 70%);
}

.page-hero__glow--two {
  bottom: 10%;
  right: 10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25), transparent 70%);
  animation-direction: reverse;
}

.page-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 50px 50px;
}

.page-hero__icon {
  position: absolute;
  font-size: 46px;
  animation: float 8s ease-in-out infinite;
}

.page-hero__icon--one {
  top: 28%;
  right: 14%;
  color: rgba(255, 255, 255, 0.14);
}

.page-hero__icon--two {
  bottom: 24%;
  left: 9%;
  color: rgba(16, 185, 129, 0.3);
  animation-direction: reverse;
}

.page-hero__inner {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.page-hero__breadcrumb {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.page-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.page-hero__breadcrumb a:hover {
  color: var(--etaam-teal);
}

.page-hero__breadcrumb i {
  margin: 0 8px;
  font-size: 10px;
  opacity: 0.6;
}

.page-hero__tag {
  display: inline-block;
  margin-bottom: 18px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
}

.page-hero__title {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.1;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.page-hero__text {
  margin: 0 auto;
  max-width: 640px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

/* Hub layout */
.insights-section {
  padding: 80px 0 100px;
  background: linear-gradient(180deg, #0b1120 0%, #0f172a 100%);
}

.insights-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.insights-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.insights-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75) !important;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.25s ease;
}

.insights-chip span {
  min-width: 22px;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 12px;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
}

.insights-chip:hover {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.25);
}

.insights-chip.is-active {
  color: #04121a !important;
  background: linear-gradient(135deg, #2dd4bf, #22d3ee);
  border-color: transparent;
}

.insights-chip.is-active span {
  background: rgba(4, 18, 26, 0.15);
}

.insights-search {
  position: relative;
  flex: 0 1 320px;
}

.insights-search i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.45);
  font-size: 14px;
}

.insights-search input {
  width: 100%;
  height: 46px;
  padding: 0 18px 0 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 15px;
}

.insights-search input:focus {
  outline: none;
  border-color: rgba(45, 212, 191, 0.6);
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.12);
}

.insights-topics {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-bottom: 44px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.insights-topics a {
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.25);
}

.insights-topics a:hover,
.insights-topics a.is-active {
  color: var(--etaam-teal) !important;
  border-bottom-color: var(--etaam-teal);
}

.insights-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--etaam-teal);
}

.insights-featured {
  margin-bottom: 64px;
}

.insights-heading {
  margin: 0 0 28px;
  font-size: 30px;
  font-weight: 800;
  color: #fff;
}

.insights-count {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.6);
}

/* Cards */
.insight-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(59, 130, 246, 0.85);
  backdrop-filter: blur(6px);
}

.insight-badge--case_study {
  background: rgba(16, 185, 129, 0.9);
}

.insight-badge--announcement {
  background: rgba(139, 92, 246, 0.9);
}

.insight-badge--event {
  background: rgba(245, 158, 11, 0.92);
}

.insight-card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 48px -32px rgba(0, 0, 0, 0.9);
  transition:
    transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.insight-card:hover {
  transform: translateY(-6px);
  border-color: rgba(45, 212, 191, 0.35);
  box-shadow: 0 34px 60px -34px rgba(45, 212, 191, 0.35);
}

.insight-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.insight-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.insight-card:hover .insight-card__media img {
  transform: scale(1.06);
}

.insight-card__media .insight-badge {
  position: absolute;
  top: 16px;
  left: 16px;
}

.insight-card__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 24px 24px 22px;
}

.insight-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.insight-card__meta i {
  margin-right: 4px;
}

.insight-card__title {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 700;
}

.insight-card__title a {
  color: #fff !important;
  text-decoration: none;
}

.insight-card__excerpt {
  flex: 1 1 auto;
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--etaam-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.insight-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--etaam-teal);
}

.insight-card__more i {
  transition: transform 0.25s ease;
}

.insight-card:hover .insight-card__more i {
  transform: translateX(4px);
}

/* Spotlight: image and text side by side */
@media (min-width: 992px) {
  .insight-card--large {
    flex-direction: row;
  }

  .insight-card--large .insight-card__media {
    flex: 0 0 58%;
    aspect-ratio: auto;
    min-height: 400px;
  }

  .insight-card--large .insight-card__body {
    justify-content: center;
    padding: 44px;
  }

  .insight-card--large .insight-card__title {
    font-size: 32px;
    line-height: 1.2;
  }

  .insight-card--large .insight-card__excerpt {
    font-size: 17px;
    -webkit-line-clamp: 5;
    flex: 0 0 auto;
    margin-bottom: 28px;
  }
}

.insights-empty {
  padding: 70px 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 22px;
}

.insights-empty i {
  font-size: 40px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.35);
}

.insights-pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 50px;
}

.insights-pagination a,
.insights-pagination span {
  min-width: 44px;
  height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.insights-pagination a:hover {
  border-color: var(--etaam-teal);
  color: #fff !important;
}

.insights-pagination .is-active {
  color: #04121a !important;
  background: linear-gradient(135deg, #2dd4bf, #22d3ee);
  border-color: transparent;
}

/* Newsletter and contact bands */
.insights-newsletter,
.insights-cta {
  margin-top: 80px;
  padding: 40px 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: 26px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(45, 212, 191, 0.18), transparent 55%),
    radial-gradient(120% 140% at 100% 100%, rgba(139, 92, 246, 0.22), transparent 55%),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.insights-newsletter h3,
.insights-cta h3 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 800;
  color: #fff;
}

.insights-newsletter p,
.insights-cta p {
  margin: 0;
  max-width: 520px;
  color: var(--etaam-muted);
}

.insights-newsletter__form {
  display: flex;
  flex: 0 1 440px;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.insights-newsletter__form input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0 18px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 15px;
}

.insights-newsletter__form input:focus {
  outline: none;
}

.insights-newsletter__form button {
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  color: #04121a;
  background: linear-gradient(135deg, #2dd4bf, #22d3ee);
  white-space: nowrap;
}

/* Article page */
.insight-hero {
  position: relative;
  overflow: hidden;
  padding: 190px 0 90px;
  background: #0b1120;
}

.insight-hero__media {
  position: absolute;
  inset: 0;
}

.insight-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.insight-hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 17, 32, 0.55) 0%, rgba(11, 17, 32, 0.75) 55%, #0b1120 100%);
}

.insight-hero__inner {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.insight-hero__inner .page-hero__breadcrumb {
  display: flex;
  justify-content: center;
}

.insight-hero__title {
  margin: 18px 0 22px;
  font-size: clamp(30px, 4.4vw, 50px);
  line-height: 1.15;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.insight-hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
}

.insight-hero__meta i {
  margin-right: 6px;
  color: var(--etaam-teal);
}

.insight-article {
  padding: 30px 0 70px;
  background: #0b1120;
}

.insight-article__lead {
  margin: 0 0 32px;
  padding-left: 20px;
  border-left: 3px solid var(--etaam-teal);
  font-size: 21px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.insight-article__content {
  font-size: 18px;
  line-height: 1.85;
  color: rgba(226, 232, 240, 0.85);
}

.insight-article__content p {
  margin: 0 0 1.4em;
}

.insight-article__content h2,
.insight-article__content h3 {
  margin: 1.8em 0 0.6em;
  font-weight: 800;
  color: #fff;
}

.insight-article__content h3 {
  font-size: 24px;
}

.insight-article__content ul,
.insight-article__content ol {
  margin: 0 0 1.4em;
  padding-left: 1.3em;
}

.insight-article__content li {
  margin-bottom: 0.5em;
}

.insight-article__content li::marker {
  color: var(--etaam-teal);
}

.insight-article__content strong {
  color: #fff;
}

.insight-article__content img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}

.insight-article__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.insight-article__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.insight-article__tags a {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75) !important;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.insight-article__tags a:hover {
  color: var(--etaam-teal) !important;
  border-color: rgba(45, 212, 191, 0.4);
}

.insight-article__share {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.insight-article__share span {
  margin-right: 4px;
}

.insight-article__share a {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.25s ease;
}

.insight-article__share a:hover {
  background: var(--etaam-teal);
  color: #04121a !important;
}

.insight-article__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  font-weight: 700;
  color: var(--etaam-teal) !important;
  text-decoration: none;
}

.insights-section--related {
  padding-top: 70px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.insights-cta .hero-startup-btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 767px) {
  .page-hero {
    padding: 140px 0 80px !important;
  }

  .insights-search {
    flex-basis: 100%;
  }

  .insights-newsletter,
  .insights-cta {
    padding: 30px 24px;
  }

  .insights-newsletter__form {
    flex-basis: 100%;
  }

  .insight-hero {
    padding: 150px 0 60px;
  }

  .insight-article__content {
    font-size: 17px;
  }
}

/* =========================================================
   5. SITE-WIDE FINISHING (all pages)
   ========================================================= */

/* Page headers start below the floating navigation bar */
html body .page-wrapper .page-header,
html body .page-wrapper .about-header {
  padding-top: 200px !important;
}

html body .page-wrapper .page-header {
  padding-bottom: 110px !important;
}

@media (max-width: 991px) {
  html body .page-wrapper .page-header,
  html body .page-wrapper .about-header {
    padding-top: 150px !important;
  }

  html body .page-wrapper .page-header {
    padding-bottom: 80px !important;
  }
}

/* Header titles always readable on the dark gradients */
html body .page-header h1:not([style*='background-clip']) {
  color: #fff;
  letter-spacing: -0.02em;
}

/* Section titles: tighter, more editorial */
html body .section-title__title,
html body .page-header h1 {
  letter-spacing: -0.02em;
}

/* Buttons of the template: pill shape and soft depth, same colours */
html body .thm-btn {
  border-radius: 999px !important;
  padding-left: 32px;
  padding-right: 32px;
  box-shadow: 0 12px 26px -14px rgba(0, 0, 0, 0.6);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

html body .thm-btn:hover {
  transform: translateY(-2px);
}

/* Home hero: two actions on every screen */
.hero-actions {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.hero-actions__ghost {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff !important;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease;
}

.hero-actions__ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Images inside content: consistent rounding and depth */
html body .welcome__img img,
html body .consult__img img,
html body .notech-more__img img,
html body .about-intro__image img {
  border-radius: 22px;
}

/* Marketing page: actions of the news section side by side */
html body .marketing-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
}

/* Article page: comfortable reading contrast */
html body .insight-article__content,
html body .insight-article__content p,
html body .insight-article__content li {
  color: rgba(226, 232, 240, 0.88) !important;
}

/* Footer: real logo, readable size */
.footer-brand-logo {
  height: 58px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

html body .site-footer__social a,
html body .mobile-nav__social a {
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

html body .site-footer__social a:hover {
  transform: translateY(-2px);
}

/* Projects list: card hover like the rest of the site */
html body .project-card-premium {
  border-radius: 22px !important;
  overflow: hidden;
}

html body .project-card-premium:hover {
  transform: translateY(-6px);
}

/* Focus states for keyboard users */
html body a:focus-visible,
html body button:focus-visible,
html body input:focus-visible {
  outline: 2px solid var(--etaam-teal);
  outline-offset: 3px;
}

/* =========================================================
   6. MOBILE MENU (drawer)
   ========================================================= */

/* Drawer opens at once and slides in (the template waited 500 ms) */
html body .mobile-nav__wrapper {
  height: 100vh;
  height: 100dvh;
  transition:
    visibility 0s linear 0.45s,
    transform 0s linear 0.45s !important;
}

html body .mobile-nav__wrapper.expanded {
  transition: none !important;
}

/* The overlay also has the .mobile-nav__toggler class, styled as a button by the template */
html body .mobile-nav__overlay.mobile-nav__toggler {
  position: absolute !important;
  inset: 0;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0;
  z-index: 1 !important;
}

html body .mobile-nav__overlay {
  background: rgba(2, 6, 23, 0.62);
  opacity: 0;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: opacity 0.35s ease;
}

html body .mobile-nav__wrapper.expanded .mobile-nav__overlay {
  opacity: 1;
}

html body .mobile-nav__content.mnav {
  position: relative !important;
  z-index: 2 !important;
  width: min(86vw, 360px);
  display: flex;
  flex-direction: column;
  padding: 22px 20px 30px !important;
  background:
    radial-gradient(90% 40% at 0% 0%, rgba(45, 212, 191, 0.14), transparent 70%),
    radial-gradient(90% 40% at 100% 100%, rgba(139, 92, 246, 0.18), transparent 70%),
    linear-gradient(180deg, #0f172a 0%, #0b1120 100%) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 30px 0 60px -30px rgba(0, 0, 0, 0.8);
  margin: 0 !important;
  height: 100%;
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateX(-100%) !important;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

html body .mobile-nav__wrapper.expanded .mobile-nav__content.mnav {
  transform: translateX(0) !important;
}

.mnav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mnav__logo img {
  height: 48px;
  width: auto;
}

html body .mnav__close {
  position: static !important;
  width: 42px;
  height: 42px;
  display: grid !important;
  place-items: center;
  border-radius: 14px;
  font-size: 16px !important;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background-color 0.25s ease;
}

html body .mnav__close:hover {
  background: rgba(255, 255, 255, 0.12);
}

.mnav__label {
  display: block;
  margin: 24px 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

/* Links copied from the main menu */
html body .mnav .mobile-nav__container {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

html body .mnav .main-menu__list {
  display: flex !important;
  flex-direction: column;
  gap: 4px;
  margin: 0 !important;
  padding: 0 !important;
}

html body .mnav .main-menu__list > li,
html body .mnav .main-menu__list > li:not(:last-child) {
  border: 0 !important;
  margin: 0 !important;
  opacity: 0;
  transform: translateX(-12px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

html body .mobile-nav__wrapper.expanded .mnav .main-menu__list > li {
  opacity: 1;
  transform: none;
}

html body .mobile-nav__wrapper.expanded .mnav .main-menu__list > li:nth-child(1) { transition-delay: 0.08s; }
html body .mobile-nav__wrapper.expanded .mnav .main-menu__list > li:nth-child(2) { transition-delay: 0.12s; }
html body .mobile-nav__wrapper.expanded .mnav .main-menu__list > li:nth-child(3) { transition-delay: 0.16s; }
html body .mobile-nav__wrapper.expanded .mnav .main-menu__list > li:nth-child(4) { transition-delay: 0.2s; }
html body .mobile-nav__wrapper.expanded .mnav .main-menu__list > li:nth-child(5) { transition-delay: 0.24s; }
html body .mobile-nav__wrapper.expanded .mnav .main-menu__list > li:nth-child(6) { transition-delay: 0.28s; }

html body .mnav .main-menu__list > li > a {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 16px !important;
  border-radius: 14px;
  font-size: 17px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  color: rgba(255, 255, 255, 0.88) !important;
  background: transparent;
  text-decoration: none !important;
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

/* Chevron as a background image (the template hides ::before/::after on menu links) */
html body .mnav .main-menu__list > li:not(.main-menu__lang) > a {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='12' viewBox='0 0 8 12'%3E%3Cpath d='M1.5 1l5 5-5 5' fill='none' stroke='%23ffffff' stroke-opacity='0.4' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 18px center !important;
}

html body .mnav .main-menu__list > li > a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff !important;
}

html body .mnav .main-menu__list > li.current > a {
  color: #fff !important;
  background: rgba(45, 212, 191, 0.12);
  box-shadow: inset 0 0 0 1px rgba(45, 212, 191, 0.35);
}

html body .mnav .main-menu__list > li.current > a {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='12' viewBox='0 0 8 12'%3E%3Cpath d='M1.5 1l5 5-5 5' fill='none' stroke='%232dd4bf' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}

/* Language switcher: a pill below the links */
html body .mnav .main-menu__list > li.main-menu__lang {
  margin-top: 10px !important;
}

html body .mnav .main-menu__list > li.main-menu__lang > a {
  justify-content: flex-start;
  gap: 10px;
  min-height: 46px;
  font-size: 15px !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

html body .mnav .main-menu__list > li.main-menu__lang i {
  color: var(--etaam-teal);
}

.main-menu__lang-label {
  display: none;
}

html body .mnav .main-menu__lang-label {
  display: inline;
  margin-left: auto;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
}

.mnav__cta {
  margin-top: 22px;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #04121a !important;
  text-decoration: none !important;
  background: linear-gradient(135deg, #2dd4bf 0%, #22d3ee 100%);
  box-shadow: 0 14px 30px -12px rgba(45, 212, 191, 0.6);
}

.mnav__contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mnav__contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 15px;
  font-weight: 600;
  word-break: break-word;
}

.mnav__contact-item small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.mnav__contact-icon {
  flex: 0 0 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #8b5cf6, #6a4c93);
}

.mnav__social {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 26px;
}

.mnav__social a {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background-color 0.25s ease;
}

.mnav__social a:hover {
  background: var(--etaam-teal);
  color: #04121a !important;
}

/* 404 page: illustration and title below the floating menu (shifted by the same amount) */
html body .error-page {
  padding-top: 210px !important;
}

html body .error-page-shape {
  top: 197px !important;
}

@media (max-width: 767px) {
  html body .error-page {
    padding-top: 170px !important;
  }

  html body .error-page-shape {
    top: 157px !important;
  }
}

/* ==========================================================================
   7. Company profile sections (figures, method, partners, facts)
   ========================================================================== */
html body .co-section {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(180deg, #0b1220 0%, #0f172a 100%);
  color: #fff;
  overflow: hidden;
}

html body .co-section + .co-section {
  padding-top: 0;
}

.co-heading {
  max-width: 720px;
  margin-bottom: 48px;
}

.co-heading--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.co-heading__tag {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--etaam-teal);
}

html body .co-heading__title {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.2;
  font-weight: 700;
  color: #fff;
}

/* Figures */
.co-figures::before {
  content: '';
  position: absolute;
  inset: -40% 20% auto;
  height: 420px;
  background: radial-gradient(closest-side, rgba(45, 212, 191, 0.12), transparent);
  pointer-events: none;
}

.co-figures__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.co-figure {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 30px 26px;
  border-radius: 22px;
  border: 1px solid var(--etaam-line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}

.co-figure__value {
  font-size: clamp(40px, 4.4vw, 56px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--etaam-teal) 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.co-figure__label {
  font-size: 15px;
  line-height: 1.5;
  color: var(--etaam-muted);
}

html body .co-figures__note {
  position: relative;
  max-width: 640px;
  margin: 36px auto 0;
  text-align: center;
  font-size: 15px;
  color: var(--etaam-muted);
}

/* Method */
.co-method__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 0;
  counter-reset: none;
}

.co-step {
  position: relative;
  padding: 28px 26px;
  border-radius: 22px;
  border: 1px solid var(--etaam-line);
  background: rgba(255, 255, 255, 0.03);
}

.co-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50px;
  right: -21px;
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--etaam-teal), transparent);
}

.co-step__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.co-step__n {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--etaam-teal);
}

.co-step__top i {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  font-size: 17px;
  color: #fff;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.25), rgba(96, 165, 250, 0.2));
}

html body .co-step__title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

html body .co-step__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--etaam-muted);
}

/* Partners */
.co-partners__group + .co-partners__group {
  margin-top: 36px;
}

html body .co-partners__label {
  margin: 0 0 16px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(226, 232, 240, 0.6);
}

.co-partners__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0;
}

.co-partners__list li {
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--etaam-line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.co-partners__list--primary li {
  padding: 16px 26px;
  font-size: 17px;
  color: #fff;
  border-color: rgba(45, 212, 191, 0.35);
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.1), rgba(96, 165, 250, 0.06));
}

/* Facts (about page) */
.co-facts .container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

.co-facts__mission .co-heading {
  margin-bottom: 20px;
}

html body .co-facts__text {
  margin: 0 0 22px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--etaam-muted);
}

html body .co-facts__acronym {
  margin: 0;
  padding-left: 16px;
  border-left: 3px solid var(--etaam-teal);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.co-facts__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0;
}

.co-fact {
  padding: 24px 22px;
  border-radius: 20px;
  border: 1px solid var(--etaam-line);
  background: rgba(255, 255, 255, 0.03);
}

.co-fact i {
  margin-bottom: 14px;
  font-size: 20px;
  color: var(--etaam-teal);
}

.co-fact dt {
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.6);
}

.co-fact dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #fff;
}

/* Team details: education & experience */
.member-path {
  padding: 30px 28px;
  border-radius: 22px;
  border: 1px solid var(--etaam-line);
  background: rgba(255, 255, 255, 0.03);
}

html body .member-path h4 {
  margin: 0 0 18px;
  font-size: 22px;
  color: #fff;
}

.member-path ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.member-path li {
  position: relative;
  padding: 0 0 16px 22px;
  color: var(--etaam-muted);
  line-height: 1.6;
}

.member-path li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--etaam-teal);
}

.member-path li strong {
  display: block;
  color: #fff;
}

.member-path li .member-path__year {
  margin-right: 6px;
  font-weight: 700;
  color: var(--etaam-teal);
}

.member-path ul + ul {
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--etaam-line);
}

@media (max-width: 991px) {
  .co-figures__grid,
  .co-method__steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .co-step:not(:last-child)::after {
    display: none;
  }

  .co-facts .container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 575px) {
  html body .co-section {
    padding: 70px 0;
  }

  .co-figures__grid,
  .co-method__steps,
  .co-facts__grid {
    grid-template-columns: 1fr;
  }

  .co-figure {
    flex-direction: row;
    align-items: center;
    gap: 18px;
    padding: 22px;
  }

  .co-figure__value {
    min-width: 96px;
  }

  .co-partners__list li {
    padding: 10px 16px;
    font-size: 14px;
  }

  .co-partners__list--primary li {
    padding: 12px 18px;
    font-size: 15px;
  }
}

/* ==========================================================================
   8. About: the ETAAM graphic on a playful "stage"
   ========================================================================== */
.about-stage {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  max-width: 560px;
  margin: 30px auto;
  perspective: 1000px;
}

.about-stage__glow {
  position: absolute;
  inset: 8% 4%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(45, 212, 191, 0.5), rgba(139, 92, 246, 0.55), rgba(59, 130, 246, 0.45), rgba(45, 212, 191, 0.5));
  filter: blur(60px);
  opacity: 0.55;
  animation: stageSpin 14s linear infinite;
}

.about-stage__frame {
  position: relative;
  padding: 6px;
  border-radius: 34px;
  background: linear-gradient(135deg, #2dd4bf, #6366f1 55%, #a855f7);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.75);
  transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform 0.25s ease-out;
  animation: stageFloat 6s ease-in-out infinite;
}

html body .about-stage__frame img {
  display: block;
  width: 100%;
  border-radius: 28px;
  box-shadow: none;
  animation: none;
}

.about-stage__badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(11, 18, 32, 0.82);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.7);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  color: #fff;
  animation: stageBob 4.5s ease-in-out infinite;
}

.about-stage__badge i {
  color: var(--etaam-teal);
}

.about-stage__badge--1 {
  top: 8%;
  left: -6%;
  transform: rotate(-6deg);
}

.about-stage__badge--2 {
  top: 2%;
  right: -4%;
  transform: rotate(5deg);
  animation-delay: -1.2s;
  animation-duration: 5.2s;
}

.about-stage__badge--3 {
  bottom: 14%;
  left: -8%;
  transform: rotate(4deg);
  animation-delay: -2.4s;
  animation-duration: 4s;
}

.about-stage__badge--4 {
  bottom: 4%;
  right: -2%;
  transform: rotate(-4deg);
  animation-delay: -0.6s;
  animation-duration: 5.8s;
}

.about-stage__badge--2 i,
.about-stage__badge--4 i {
  color: #a78bfa;
}

.about-stage__spark {
  position: absolute;
  z-index: 3;
  width: 14px;
  height: 14px;
  background: #fff;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  opacity: 0;
  animation: stageTwinkle 3.2s ease-in-out infinite;
}

.about-stage__spark--1 { top: -3%; left: 34%; }
.about-stage__spark--2 { top: 30%; right: -5%; width: 10px; height: 10px; animation-delay: -0.8s; background: #5eead4; }
.about-stage__spark--3 { bottom: 30%; left: -4%; width: 18px; height: 18px; animation-delay: -1.6s; background: #c4b5fd; }
.about-stage__spark--4 { bottom: -4%; left: 46%; width: 12px; height: 12px; animation-delay: -2.3s; }
.about-stage__spark--5 { top: 52%; right: 10%; width: 9px; height: 9px; animation-delay: -1.1s; background: #5eead4; }

@keyframes stageFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}

@keyframes stageBob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

@keyframes stageTwinkle {
  0%, 100% { opacity: 0; scale: 0.4; rotate: 0deg; }
  50% { opacity: 1; scale: 1; rotate: 45deg; }
}

@keyframes stageSpin {
  to { rotate: 360deg; }
}

@media (max-width: 991px) {
  .about-stage {
    max-width: 440px;
  }
}

@media (max-width: 575px) {
  .about-stage {
    margin: 10px 18px 30px;
  }

  .about-stage__badge {
    padding: 7px 12px;
    font-size: 12px;
  }

  .about-stage__badge--1,
  .about-stage__badge--3 {
    left: -14px;
  }

  .about-stage__badge--2,
  .about-stage__badge--4 {
    right: -14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-stage__glow,
  .about-stage__frame,
  .about-stage__badge,
  .about-stage__spark {
    animation: none;
  }

  .about-stage__spark {
    opacity: 0.8;
  }
}

/* ==========================================================================
   9. Team page: ETAAM illustration showcase
   ========================================================================== */
.team-showcase {
  position: relative;
  max-width: 600px;
  margin: 40px auto;
  padding: 26px 10px;
}

.team-showcase__orbit {
  position: absolute;
  inset: -4% 6%;
  border-radius: 50%;
  border: 1.5px dashed rgba(45, 212, 191, 0.28);
  animation: stageSpin 40s linear infinite;
}

.team-showcase__glow {
  position: absolute;
  inset: 12% 10%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 40%, rgba(45, 212, 191, 0.45), transparent 60%),
    radial-gradient(circle at 70% 60%, rgba(139, 92, 246, 0.5), transparent 60%);
  filter: blur(50px);
  opacity: 0.6;
}

.team-showcase__card {
  position: relative;
  z-index: 1;
  padding: 2px;
  border-radius: 28px;
  background: linear-gradient(135deg, #2dd4bf, #6366f1 55%, #a855f7);
  box-shadow: 0 40px 90px -35px rgba(0, 0, 0, 0.85);
  animation: stageFloat 7s ease-in-out infinite;
}

.team-showcase__card > * {
  background: #191e31;
}

html body .team-showcase__art {
  display: block;
  width: 100%;
  height: auto;
  padding: 34px 26px 22px;
  border-radius: 26px 26px 0 0;
  filter: none;
}

.team-showcase__footer {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 0 0 26px 26px;
}

.team-showcase__avatars {
  display: flex;
  flex-shrink: 0;
}

html body .team-showcase__avatars img,
.team-showcase__avatars span {
  width: 42px;
  height: 42px;
  margin-left: -10px;
  border-radius: 50%;
  border: 2px solid #191e31;
  object-fit: cover;
  object-position: top;
  box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.35);
  transition: transform 0.25s ease;
}

.team-showcase__avatars img:first-child {
  margin-left: 0;
}

html body .team-showcase__avatars img:hover {
  position: relative;
  z-index: 2;
  transform: translateY(-4px) scale(1.12);
}

.team-showcase__avatars span {
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  color: #04201d;
  background: linear-gradient(135deg, #2dd4bf, #60a5fa);
}

.team-showcase__caption {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.team-showcase__caption strong {
  font-size: 16px;
  color: #fff;
}

.team-showcase__caption span {
  font-size: 13.5px;
  color: var(--etaam-muted);
}

.team-showcase__chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.7);
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  color: #fff;
  animation: stageBob 4.6s ease-in-out infinite;
}

.team-showcase__chip i {
  color: var(--etaam-teal);
}

.team-showcase__chip--1 { top: 0; left: 2%; rotate: -5deg; }
.team-showcase__chip--2 { top: -2%; right: 4%; rotate: 4deg; animation-delay: -1.4s; animation-duration: 5.4s; }
.team-showcase__chip--3 { bottom: 26%; left: -5%; rotate: 3deg; animation-delay: -2.6s; animation-duration: 4.2s; }
.team-showcase__chip--4 { bottom: 30%; right: -5%; rotate: -4deg; animation-delay: -0.8s; animation-duration: 5.9s; }

.team-showcase__chip--2 i,
.team-showcase__chip--4 i {
  color: #a78bfa;
}

@media (max-width: 575px) {
  .team-showcase {
    margin: 10px 4px 30px;
    padding: 30px 0;
  }

  html body .team-showcase__art {
    padding: 22px 16px 14px;
  }

  .team-showcase__footer {
    padding: 14px 16px 16px;
    gap: 12px;
  }

  html body .team-showcase__avatars img,
  .team-showcase__avatars span {
    width: 34px;
    height: 34px;
  }

  .team-showcase__chip {
    padding: 6px 11px;
    font-size: 12px;
  }

  /* below the card on phones, so they never cover the caption */
  .team-showcase__chip--3 { left: 4px; bottom: -6px; }
  .team-showcase__chip--4 { right: 4px; bottom: -6px; }

  .team-showcase__footer {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .team-showcase__orbit,
  .team-showcase__card,
  .team-showcase__chip {
    animation: none;
  }
}

/* ==========================================================================
   10. Team page: "join the team" call, and the banner on top of the footer
   ========================================================================== */
.join-cta {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
}

.join-cta__bg {
  position: absolute;
  inset: 0;
  background: url('/assets/images/backgrounds/etaam-team-office.png') center / cover no-repeat;
}

.join-cta__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(8, 13, 26, 0.94) 0%, rgba(8, 13, 26, 0.78) 50%, rgba(13, 49, 52, 0.7) 100%);
}

.join-cta__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 48px 52px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(11, 18, 32, 0.55);
  backdrop-filter: blur(14px);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9);
}

.join-cta__card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.7), rgba(99, 102, 241, 0.3), rgba(168, 85, 247, 0.6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.join-cta__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--etaam-teal);
  background: rgba(45, 212, 191, 0.12);
}

html body .join-cta__title {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.2;
  font-weight: 700;
  color: #fff;
}

html body .join-cta__lead {
  margin: 0 0 22px;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--etaam-muted);
}

.join-cta__profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.join-cta__profiles li {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.join-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

html body .join-cta__actions .hero-startup-btn-nav,
html body .join-cta__actions .hero-actions__ghost {
  justify-content: center;
  gap: 10px;
  margin: 0;
}

.join-cta__mail {
  text-align: center;
  font-size: 13.5px;
  color: var(--etaam-muted);
}

/* Banner on top of the footer (every page) */
html body .site-footer__top-inner {
  gap: 28px;
  padding: 34px 40px !important;
  border-radius: 24px !important;
  border: 1px solid rgba(45, 212, 191, 0.25) !important;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(45, 212, 191, 0.16), transparent 55%),
    radial-gradient(120% 140% at 100% 100%, rgba(139, 92, 246, 0.16), transparent 55%),
    rgba(11, 18, 32, 0.85) !important;
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.9) !important;
}

html body .site-footer__top-inner::before {
  display: none !important;
}

html body .site-footer__top-icon {
  flex-shrink: 0;
  background: linear-gradient(135deg, #2dd4bf, #14b8a6) !important;
  box-shadow: 0 0 0 8px rgba(45, 212, 191, 0.12) !important;
}

html body .site-footer__top-icon span {
  color: #04201d !important;
}

html body .site-footer__top-title {
  margin: 0 0 6px !important;
  font-size: clamp(20px, 2.2vw, 26px) !important;
  line-height: 1.3 !important;
}

html body .site-footer__top-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--etaam-muted);
}

html body .site-footer__btn {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  border: 0 !important;
  border-radius: 999px !important;
  color: #04201d !important;
  background: linear-gradient(135deg, #2dd4bf, #14b8a6) !important;
  box-shadow: 0 12px 30px -12px rgba(45, 212, 191, 0.7) !important;
}

html body .site-footer__btn::before,
html body .site-footer__btn::after {
  display: none !important;
}

html body .site-footer__btn:hover {
  filter: brightness(1.08);
  color: #04201d !important;
}

@media (max-width: 991px) {
  .join-cta {
    padding: 80px 0;
  }

  .join-cta__card {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 36px 30px;
  }

  html body .site-footer__top-inner {
    padding: 28px 24px !important;
  }
}

@media (max-width: 575px) {
  .join-cta__card {
    padding: 28px 20px;
  }
}

/* ==========================================================================
   11. Partners & references (data from Admin -> Partenaires)
   ========================================================================== */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}

html body .partner-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(45, 212, 191, 0.08), transparent 55%),
    rgba(255, 255, 255, 0.03);
  color: #fff;
  text-decoration: none;
  transition:
    transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

html body a.partner-card:hover {
  transform: translateY(-4px);
  border-color: rgba(45, 212, 191, 0.45);
  box-shadow: 0 24px 50px -30px rgba(45, 212, 191, 0.45);
  color: #fff;
}

.partner-card__logos {
  display: flex;
  flex-shrink: 0;
  gap: 8px;
}

/* Second logo (e.g. a programme next to its funder): wider tile for landscape logos */
.partner-card__logo.partner-card__logo--wide {
  width: 96px;
}

.partner-card__logo {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

html body .partner-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 7px;
}

.partner-mono {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(135deg, #14b8a6, #0f766e);
}

.partner-mono--2 {
  background: linear-gradient(135deg, #6366f1, #4338ca);
}

.partner-mono--3 {
  background: linear-gradient(135deg, #a855f7, #7e22ce);
}

.partner-card__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  line-height: 1.35;
}

.partner-card__text strong {
  font-size: 16px;
  font-weight: 700;
}

.partner-card__text small {
  font-size: 13.5px;
  color: var(--etaam-muted);
}

.partner-card__link {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 11px;
  color: rgba(226, 232, 240, 0.4);
}

/* Institutions: endless band, paused on hover */
.ref-marquee {
  position: relative;
  overflow: hidden;
  padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ref-marquee__track {
  display: flex;
  width: max-content;
  animation: refScroll 45s linear infinite;
}

.ref-marquee:hover .ref-marquee__track {
  animation-play-state: paused;
}

.ref-marquee__list {
  display: flex;
  gap: 12px;
  margin: 0;
  padding-right: 12px;
}

.ref-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.9);
}

.ref-chip__logo {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
}

html body .ref-chip__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.ref-chip .partner-mono {
  font-size: 10px;
}

@keyframes refScroll {
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 991px) {
  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .partner-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ref-marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .ref-marquee__track {
    width: auto;
    animation: none;
  }

  .ref-marquee__list {
    flex-wrap: wrap;
    justify-content: center;
  }

  .ref-marquee__list[aria-hidden='true'] {
    display: none;
  }
}

.partner-mono--long {
  font-size: 12px;
  letter-spacing: 0;
}

.ref-chip:has(.ref-chip__dot) {
  padding-left: 16px;
}

.ref-chip__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--etaam-teal);
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.15);
}

/* ==========================================================================
   12. Marketing page (/marketing): every block from Admin -> Marketing
   ========================================================================== */
.mk-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--etaam-teal);
  background: rgba(45, 212, 191, 0.12);
}

.mk-gradient {
  background: linear-gradient(135deg, #2dd4bf 0%, #818cf8 55%, #c084fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero */
html body .mk-hero {
  position: relative;
  /* !important: custom-style.css forces the padding of every section */
  padding: 245px 0 90px !important;
  overflow: hidden;
  background: #0b1120;
}

.mk-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 70% at 15% 20%, rgba(45, 212, 191, 0.22), transparent 60%),
    radial-gradient(55% 70% at 90% 30%, rgba(139, 92, 246, 0.3), transparent 60%),
    linear-gradient(180deg, rgba(11, 17, 32, 0.55), #0b1120 92%),
    url('/assets/images/resources/marketing-forum-hero.png') center / cover no-repeat;
  opacity: 0.95;
}

.mk-hero__inner {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

html body .mk-hero__title {
  margin: 22px 0 20px;
  font-size: clamp(38px, 5.4vw, 66px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

html body .mk-hero__text {
  max-width: 680px;
  margin: 0 auto 32px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(226, 232, 240, 0.82);
}

html body .mk-hero__actions {
  justify-content: center;
}

.mk-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 70px auto 0;
}

.mk-stat {
  padding: 22px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
  text-align: center;
}

.mk-stat dt {
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(135deg, #2dd4bf, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mk-stat dd {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--etaam-muted);
}

/* Sections */
html body .mk-section {
  padding: 100px 0 !important;
  background: #0b1120;
  color: #fff;
}

html body .mk-section--alt {
  background: linear-gradient(180deg, #0f172a 0%, #0b1120 100%);
}

.mk-heading {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.mk-heading--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  max-width: none;
  text-align: left;
}

html body .mk-heading h2 {
  margin: 16px 0 12px;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.2;
  font-weight: 700;
  color: #fff;
}

html body .mk-heading p {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--etaam-muted);
}

.mk-center {
  margin-top: 36px;
  text-align: center;
}

/* Services */
.mk-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.mk-service {
  position: relative;
  padding: 30px 28px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--mk-color) 14%, transparent), transparent 60%),
    rgba(255, 255, 255, 0.03);
  transition:
    transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 0.35s ease;
}

.mk-service:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--mk-color) 55%, transparent);
}

.mk-service__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  border-radius: 16px;
  font-size: 22px;
  color: var(--mk-color);
  background: color-mix(in srgb, var(--mk-color) 16%, transparent);
}

html body .mk-service h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

html body .mk-service p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--etaam-muted);
}

.mk-service li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14.5px;
  color: rgba(226, 232, 240, 0.9);
}

.mk-service li i {
  font-size: 11px;
  color: var(--mk-color);
}

/* Method */
.mk-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 0;
}

.mk-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, #2dd4bf, #818cf8, #c084fc);
  opacity: 0.4;
}

.mk-step {
  position: relative;
  text-align: center;
}

.mk-step__n {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 800;
  color: #04201d;
  background: linear-gradient(135deg, #2dd4bf, #60a5fa);
  box-shadow: 0 0 0 8px #0f172a;
}

html body .mk-step h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

html body .mk-step p {
  margin: 0 auto;
  max-width: 240px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--etaam-muted);
}

/* References */
.mk-refs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.mk-ref {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.mk-ref__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.mk-ref__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: #04201d;
  background: linear-gradient(135deg, #2dd4bf, #818cf8);
}

.mk-ref__company {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--etaam-teal);
}

html body .mk-ref h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 700;
  color: #fff;
}

html body .mk-ref p {
  flex: 1;
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--etaam-muted);
}

.mk-ref__project {
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.14);
}

/* Call to action */
.mk-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 48px 52px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(45, 212, 191, 0.3);
  background:
    radial-gradient(90% 140% at 0% 0%, rgba(45, 212, 191, 0.22), transparent 55%),
    radial-gradient(90% 140% at 100% 100%, rgba(139, 92, 246, 0.28), transparent 55%),
    #0f172a;
}

html body .mk-cta h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: #fff;
}

html body .mk-cta p {
  max-width: 560px;
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(226, 232, 240, 0.8);
}

.mk-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .mk-services,
  .mk-refs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mk-steps {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 36px;
  }

  .mk-steps::before {
    display: none;
  }

  .mk-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .mk-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 30px;
  }
}

@media (max-width: 575px) {
  html body .mk-hero {
    padding: 185px 0 60px !important;
  }

  html body .mk-section {
    padding: 70px 0 !important;
  }

  .mk-services,
  .mk-refs,
  .mk-steps {
    grid-template-columns: 1fr;
  }

  .mk-cta {
    padding: 30px 22px;
  }
}

/* ==========================================================================
   13. Home hero: the ETAAM graphic in an arch-shaped window (background kept)
   ========================================================================== */
.home-arch {
  position: relative;
  width: min(100%, 470px);
  margin: 48px auto 30px;
  padding: 0 28px 28px 0;
}

/* Arch: rounded top like a doorway, gently squared at the bottom */
.home-arch__window,
.home-arch__outline {
  border-radius: 999px 999px 36px 36px;
}

.home-arch__window {
  position: relative;
  z-index: 1;
  aspect-ratio: 1 / 1.12;
  overflow: hidden;
  /* lit stage: teal light on the left letters, violet on the right, deep indigo around */
  background:
    radial-gradient(60% 45% at 32% 48%, rgba(45, 212, 191, 0.32), transparent 70%),
    radial-gradient(60% 50% at 72% 58%, rgba(168, 85, 247, 0.38), transparent 70%),
    radial-gradient(120% 90% at 50% 0%, #2a1d63 0%, #120f38 55%, #0a0a26 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 50px 100px -40px rgba(10, 8, 40, 0.9),
    0 0 120px -30px rgba(45, 212, 191, 0.45);
  animation: archFloat 9s ease-in-out infinite;
}

html body .home-arch__window img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  border-radius: 0;
  box-shadow: none;
}

/* Cut-out illustration: fills the arch, standing at the bottom */
html body .home-arch__window img.is-cutout {
  position: absolute;
  inset: auto 4% 6% 4%;
  width: 92%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(5, 3, 30, 0.55));
}

/* Soft halo of light the characters stand on */
.home-arch__floor {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 3%;
  height: 16%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(129, 140, 248, 0.55), rgba(45, 212, 191, 0.18) 60%, transparent);
  filter: blur(6px);
}

/* A light sweeping across the arch every few seconds */
.home-arch__sheen {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.16) 48%, transparent 60%);
  transform: translateX(-120%);
  animation: archSheen 7s ease-in-out 1.5s infinite;
  pointer-events: none;
}

@keyframes archSheen {
  0% { transform: translateX(-120%); }
  35%, 100% { transform: translateX(120%); }
}

/* Second arch, drawn as a thin teal-to-violet line behind the window */
.home-arch__outline {
  position: absolute;
  inset: 28px 0 0 28px;
  border: 1.5px solid transparent;
  background: linear-gradient(160deg, rgba(45, 212, 191, 0.9), rgba(168, 85, 247, 0.9)) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.75;
}

@keyframes archFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

@media (max-width: 991px) {
  .home-arch {
    margin-top: 50px;
  }
}

@media (max-width: 575px) {
  .home-arch {
    width: min(100%, 330px);
    padding: 0 18px 18px 0;
  }

  .home-arch__outline {
    inset: 18px 0 0 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-arch__window,
  .home-arch__sheen {
    animation: none;
  }

  .home-arch__sheen {
    display: none;
  }
}

/* Hero: who we are (above the title), first partners (below the buttons), tighter bottom */
html body .hero-startup-section {
  padding-bottom: 70px !important;
}

html body .home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.home-eyebrow span {
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #2dd4bf, #a855f7);
}

html body .home-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin: 34px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}

.home-trust strong {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}

.home-trust strong + strong::before {
  content: '·';
  margin-right: 14px;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 991px) {
  html body .home-eyebrow,
  html body .home-trust {
    justify-content: center;
  }

  html body .hero-startup-section .hero-actions {
    justify-content: center;
  }

  /* label on its own line, names below */
  .home-trust span {
    flex-basis: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  /* custom-style.css reduces sections to 60px on phones: the fixed menu would cover the top line */
  html body .hero-startup-section {
    padding-top: 125px !important;
  }
}

@media (max-width: 575px) {
  html body .hero-startup-section {
    padding-bottom: 50px !important;
  }

  html body .home-eyebrow {
    font-size: 11.5px;
    letter-spacing: 0.08em;
  }
}

/* ==========================================================================
   14. Projects page (portfolio): flagship card and grid
   ========================================================================== */
.pj-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #04201d;
  background: linear-gradient(135deg, #2dd4bf, #5eead4);
}

.pj-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 13.5px;
  color: var(--etaam-muted);
}

.pj-meta i {
  margin-right: 4px;
  color: var(--etaam-teal);
}

.pj-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--etaam-teal);
}

.pj-more i {
  transition: transform 0.3s ease;
}

/* Flagship reference */
html body .pj-featured {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  margin-bottom: 30px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(139, 92, 246, 0.16), transparent 55%),
    rgba(255, 255, 255, 0.03);
  color: #fff;
  text-decoration: none;
  transition:
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

html body .pj-featured:hover {
  border-color: rgba(45, 212, 191, 0.45);
  box-shadow: 0 40px 80px -45px rgba(45, 212, 191, 0.5);
  color: #fff;
}

.pj-featured__media {
  position: relative;
  min-height: 380px;
  overflow: hidden;
}

html body .pj-featured__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.pj-featured:hover .pj-featured__media img {
  transform: scale(1.04);
}

.pj-featured__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 40px 42px;
}

.pj-featured__label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fbbf24;
}

.pj-featured__title {
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.2;
  font-weight: 700;
}

.pj-featured__text {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(226, 232, 240, 0.8);
}

/* Grid */
.pj-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

html body .pj-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  text-decoration: none;
  transition:
    transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

html body .pj-card:hover {
  transform: translateY(-6px);
  border-color: rgba(45, 212, 191, 0.4);
  box-shadow: 0 30px 60px -35px rgba(45, 212, 191, 0.45);
  color: #fff;
}

.pj-card:hover .pj-more i,
.pj-featured:hover .pj-more i {
  transform: translateX(4px);
}

.pj-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

html body .pj-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.pj-card:hover .pj-card__media img {
  transform: scale(1.05);
}

.pj-card__media .pj-badge {
  position: absolute;
  top: 14px;
  left: 14px;
}

.pj-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 22px 24px 24px;
}

.pj-card__title {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
}

.pj-card__text {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--etaam-muted);
}

@media (max-width: 991px) {
  html body .pj-featured {
    grid-template-columns: 1fr;
  }

  .pj-featured__media {
    min-height: 260px;
  }

  .pj-featured__body {
    padding: 28px;
  }

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

@media (max-width: 575px) {
  .pj-grid {
    grid-template-columns: 1fr;
  }
}

/* Phones: filter chips (projects, news) on one row that scrolls sideways */
@media (max-width: 575px) {
  html body .insights-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    width: calc(100% + 32px);
    margin: 0 -16px;
    padding: 2px 16px 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  html body .insights-chips::-webkit-scrollbar {
    display: none;
  }

  html body .insights-chip {
    flex-shrink: 0;
    white-space: nowrap;
  }
}

/* ==========================================================================
   15. Projects hero: copy + stats on the left, project mosaic on the right
   ========================================================================== */
html body .pj-hero {
  position: relative;
  overflow: hidden;
  /* !important: custom-style.css forces the padding of every section */
  padding: 200px 0 110px !important;
  background: #0b1120;
}

.pj-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.pj-hero__aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  animation: archFloat 12s ease-in-out infinite;
}

.pj-hero__aurora--one {
  top: -18%;
  right: -8%;
  width: 720px;
  height: 620px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.42), transparent 65%);
}

.pj-hero__aurora--two {
  bottom: -30%;
  left: -12%;
  width: 640px;
  height: 560px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.26), transparent 65%);
  animation-direction: reverse;
}

.pj-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    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: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
}

.pj-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(45, 212, 191, 0.5), rgba(96, 165, 250, 0.5), transparent);
}

.pj-hero__layout {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 64px;
}

.pj-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  font-size: 14px;
  color: rgba(226, 232, 240, 0.6);
}

.pj-hero__breadcrumb a {
  color: rgba(226, 232, 240, 0.85);
  text-decoration: none;
}

.pj-hero__breadcrumb a:hover {
  color: var(--etaam-teal);
}

.pj-hero__breadcrumb i {
  font-size: 9px;
  opacity: 0.5;
}

.pj-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #99f6e4;
  background: rgba(45, 212, 191, 0.08);
  border: 1px solid rgba(45, 212, 191, 0.28);
}

.pj-hero__pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2dd4bf;
  box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.6);
  animation: pjPulse 2.2s ease-out infinite;
}

@keyframes pjPulse {
  to {
    box-shadow: 0 0 0 10px rgba(45, 212, 191, 0);
  }
}

html body .pj-hero__title {
  margin: 22px 0 22px;
  font-size: clamp(44px, 6vw, 80px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #fff;
}

.pj-hero__title span {
  background: linear-gradient(120deg, #2dd4bf 10%, #60a5fa 55%, #a78bfa 95%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

html body .pj-hero__text {
  max-width: 520px;
  margin: 0 0 34px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(226, 232, 240, 0.78);
}

html body .pj-hero__actions {
  justify-content: flex-start;
}

.pj-hero__stats {
  display: flex;
  gap: 0;
  margin: 46px 0 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pj-hero__stats div {
  flex: 1;
  padding-right: 20px;
}

.pj-hero__stats div + div {
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.pj-hero__stats dt {
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
}

.pj-hero__stats dd {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(226, 232, 240, 0.6);
}

/* Mosaic */
.pj-hero__mosaic {
  position: relative;
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: 520px;
}

.pj-hero__mosaic::before {
  content: '';
  position: absolute;
  inset: -28px -28px -28px 40px;
  border-radius: 36px;
  border: 1px dashed rgba(148, 163, 184, 0.18);
  pointer-events: none;
}

.pj-shot {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #111827;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.65);
  text-decoration: none;
  transition:
    transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.3s ease;
}

.pj-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pj-shot:hover {
  transform: translateY(-6px);
  border-color: rgba(45, 212, 191, 0.5);
}

.pj-shot:hover img {
  transform: scale(1.06);
}

.pj-shot--main {
  grid-row: 1 / 3;
}

.pj-shot--main::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(8, 12, 26, 0.92));
}

.pj-shot--2 {
  transform: translateX(-26px);
}

.pj-shot--2:hover {
  transform: translate(-26px, -6px);
}

.pj-shot__caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pj-shot__caption em {
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5eead4;
}

.pj-shot__caption strong {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
  color: #fff;
}

.pj-shot__label {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  max-width: calc(100% - 28px);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.pj-hero__float {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.6);
  color: #fff;
  animation: archFloat 7s ease-in-out infinite;
}

.pj-hero__float--place {
  top: 26px;
  left: -26px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
}

.pj-hero__float--place i {
  color: #f472b6;
}

.pj-hero__float--seal {
  right: -18px;
  bottom: -26px;
  max-width: 270px;
  padding: 14px 18px 14px 14px;
  animation-delay: -3s;
}

.pj-hero__float--seal > i {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 18px;
  color: #0b1120;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.pj-hero__float--seal span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pj-hero__float--seal strong {
  font-size: 14px;
  line-height: 1.3;
}

.pj-hero__float--seal small {
  overflow: hidden;
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: rgba(226, 232, 240, 0.65);
}

@media (prefers-reduced-motion: reduce) {
  .pj-hero__aurora,
  .pj-hero__float,
  .pj-hero__pulse {
    animation: none;
  }
}

@media (max-width: 1199px) {
  .pj-hero__layout {
    gap: 48px;
  }

  .pj-hero__mosaic {
    height: 460px;
  }
}

@media (max-width: 991px) {
  html body .pj-hero {
    padding: 170px 0 90px !important;
  }

  .pj-hero__layout {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .pj-hero__mosaic {
    max-width: 640px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 575px) {
  html body .pj-hero {
    padding: 140px 0 80px !important;
  }

  .pj-hero__stats div {
    padding-right: 10px;
  }

  .pj-hero__stats div + div {
    padding-left: 14px;
  }

  .pj-hero__mosaic {
    height: 380px;
    gap: 10px;
  }

  .pj-hero__mosaic::before {
    display: none;
  }

  .pj-shot {
    border-radius: 18px;
  }

  .pj-shot--2,
  .pj-shot--2:hover {
    transform: none;
  }

  .pj-shot__caption {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .pj-shot__caption strong {
    font-size: 18px;
  }

  .pj-shot__label {
    display: none;
  }

  .pj-hero__float--place {
    top: 14px;
    left: 10px;
  }

  .pj-hero__float--seal {
    right: 8px;
    bottom: -24px;
    max-width: 230px;
  }
}

/* ==========================================================================
   16. Project details: case study (hero shared with the projects page)
   ========================================================================== */
html body .pd-hero__title {
  font-size: clamp(40px, 5vw, 68px);
}

.pd-facts {
  display: grid;
  gap: 14px;
  margin: 34px 0 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pd-fact {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.pd-fact__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 15px;
  color: #5eead4;
  background: rgba(45, 212, 191, 0.08);
  border: 1px solid rgba(45, 212, 191, 0.2);
}

.pd-fact dt {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.5);
}

.pd-fact dd {
  margin: 3px 0 0;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 600;
  color: #fff;
}

.pd-hero__visual {
  position: relative;
}

.pd-hero__visual::before {
  content: '';
  position: absolute;
  inset: -24px -24px 40px 40px;
  border-radius: 36px;
  border: 1px dashed rgba(148, 163, 184, 0.18);
  pointer-events: none;
}

.pd-hero__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, 0.7);
}

.pd-hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-hero__frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, transparent 55%, rgba(8, 12, 26, 0.55));
}

.pd-hero__float--stat {
  left: -30px;
  bottom: 36px;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  max-width: 220px;
  padding: 16px 20px;
}

.pd-hero__float--stat strong {
  font-size: 34px;
  line-height: 1;
  font-weight: 800;
  background: linear-gradient(135deg, #2dd4bf, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pd-hero__float--stat small {
  font-size: 12px;
  line-height: 1.4;
  color: rgba(226, 232, 240, 0.7);
}

.pd-hero__float--status {
  top: 22px;
  right: -16px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  animation-delay: -3s;
}

/* Body */
html body .pd-body {
  padding: 100px 0 110px !important;
  background: linear-gradient(180deg, #0b1120 0%, #0f172a 100%);
}

.pd-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: start;
  gap: 60px;
}

.pd-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5eead4;
}

.pd-eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #2dd4bf, #60a5fa);
}

html body .pd-heading {
  margin: 0 0 22px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

html body .pd-prose,
html body .pd-prose p {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(226, 232, 240, 0.78);
}

html body .pd-prose p {
  margin: 0 0 18px;
}

html body .pd-prose strong {
  color: #fff;
}

.pd-challenge {
  display: flex;
  gap: 20px;
  margin: 40px 0 56px;
  padding: 28px 30px;
  border-radius: 22px;
  border: 1px solid rgba(251, 191, 36, 0.22);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(251, 191, 36, 0.1), transparent 55%),
    rgba(255, 255, 255, 0.025);
}

.pd-challenge__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  font-size: 18px;
  color: #0b1120;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

html body .pd-challenge h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

html body .pd-challenge p {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(226, 232, 240, 0.78);
}

.pd-deliverables {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.pd-deliverable {
  position: relative;
  padding: 26px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
}

.pd-deliverable:hover {
  transform: translateY(-4px);
  border-color: rgba(45, 212, 191, 0.35);
  background: rgba(45, 212, 191, 0.04);
}

.pd-deliverable__n {
  position: absolute;
  top: 22px;
  right: 24px;
  font-size: 13px;
  font-weight: 800;
  color: rgba(148, 163, 184, 0.4);
}

.pd-deliverable__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  font-size: 19px;
  color: #fff;
  background: linear-gradient(135deg, #2dd4bf, #3b82f6);
  box-shadow: 0 10px 24px -8px rgba(45, 212, 191, 0.55);
}

html body .pd-deliverable h4 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

html body .pd-deliverable p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(226, 232, 240, 0.65);
}

.pd-figure {
  margin: 40px 0 0;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pd-figure img {
  width: 100%;
  display: block;
}

/* Sidebar */
.pd-side {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 20px;
}

.pd-card {
  padding: 28px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

html body .pd-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.pd-card h3 i {
  color: #5eead4;
}

.pd-results {
  border-color: rgba(96, 165, 250, 0.25);
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(139, 92, 246, 0.22), transparent 60%),
    radial-gradient(120% 100% at 0% 100%, rgba(45, 212, 191, 0.14), transparent 60%),
    #111a2e;
}

.pd-results h3 i {
  color: #fbbf24;
}

.pd-results dl {
  margin: 0;
}

.pd-results dl div {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
}

.pd-results dl div + div {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pd-results dt {
  min-width: 56px;
  font-size: 38px;
  line-height: 1;
  font-weight: 800;
  background: linear-gradient(135deg, #2dd4bf, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pd-results dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(226, 232, 240, 0.78);
}

.pd-impact li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.78);
}

.pd-impact li + li {
  margin-top: 14px;
}

.pd-impact li > i {
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  font-size: 10px;
  color: #0b1120;
  background: #34d399;
}

.pd-cta {
  text-align: center;
}

html body .pd-cta h3 {
  justify-content: center;
  margin-bottom: 8px;
}

html body .pd-cta p {
  margin: 0 0 20px;
  font-size: 15px;
  color: rgba(226, 232, 240, 0.65);
}

/* Previous / next */
.pd-pager {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pd-pager__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none !important;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.pd-pager__item:hover {
  transform: translateY(-3px);
  border-color: rgba(45, 212, 191, 0.4);
}

.pd-pager__item--next {
  justify-content: flex-end;
  text-align: right;
}

.pd-pager__item img {
  flex: none;
  width: 76px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
}

.pd-pager__item span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.pd-pager__item small {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5eead4;
}

.pd-pager__item strong {
  overflow: hidden;
  font-size: 16px;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #fff;
}

.pd-pager__all {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(226, 232, 240, 0.7) !important;
  text-decoration: none !important;
}

.pd-pager__all i {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 18px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  transition: background 0.3s ease;
}

.pd-pager__all:hover i {
  color: #0b1120;
  background: #2dd4bf;
}

@media (max-width: 991px) {
  .pd-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pd-side {
    position: static;
  }

  .pd-hero__visual {
    max-width: 640px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 575px) {
  html body .pd-body {
    padding: 70px 0 80px !important;
  }

  .pd-deliverables {
    grid-template-columns: 1fr;
  }

  .pd-challenge {
    flex-direction: column;
    padding: 24px 22px;
  }

  .pd-hero__visual::before {
    display: none;
  }

  .pd-hero__float--stat {
    left: 10px;
    bottom: -26px;
  }

  .pd-hero__float--status {
    top: 12px;
    right: 10px;
  }

  .pd-pager {
    grid-template-columns: 1fr;
  }

  .pd-pager > span:empty {
    display: none;
  }

  .pd-pager__all {
    order: 3;
  }
}

/* ==========================================================================
   17. Service pages (components/site/ServiceDetail.jsx): built on the project case study
   ========================================================================== */
.sv-features {
  grid-template-columns: repeat(3, 1fr);
  margin: 40px 0 70px;
}

.sv-process {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  align-items: center;
  gap: 40px;
  margin-bottom: 70px;
  padding: 26px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(59, 130, 246, 0.12), transparent 55%),
    rgba(255, 255, 255, 0.025);
}

.sv-process__media {
  margin: 0;
  height: 100%;
  min-height: 300px;
  overflow: hidden;
  border-radius: 18px;
}

.sv-process__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

html body .sv-process__text {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(226, 232, 240, 0.78);
}

.sv-steps {
  position: relative;
  display: grid;
  gap: 14px;
  margin: 0;
  counter-reset: step;
}

.sv-steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  color: #fff;
}

.sv-steps__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  font-size: 14px;
  color: #5eead4;
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.25);
}

.sv-refs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 70px;
}

.sv-ref {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.sv-ref img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.sv-ref div {
  padding: 18px 20px 22px;
}

.sv-ref em {
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5eead4;
}

html body .sv-ref h4 {
  margin: 6px 0 6px;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
}

html body .sv-ref p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.65);
}

.sv-faq {
  display: grid;
  gap: 12px;
}

.sv-faq__item {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.3s ease;
}

.sv-faq__item[open] {
  border-color: rgba(45, 212, 191, 0.3);
}

.sv-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  list-style: none;
}

.sv-faq__item summary::-webkit-details-marker {
  display: none;
}

.sv-faq__item summary i {
  flex: none;
  font-size: 13px;
  color: #5eead4;
  transition: transform 0.3s ease;
}

.sv-faq__item[open] summary i {
  transform: rotate(45deg);
}

html body .sv-faq__item p {
  margin: 0;
  padding: 0 24px 22px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(226, 232, 240, 0.72);
}

.sv-links {
  display: grid;
  gap: 8px;
  margin: 0;
}

.sv-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.8) !important;
  text-decoration: none !important;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  transition:
    background 0.25s ease,
    border-color 0.25s ease;
}

.sv-links a i {
  font-size: 11px;
  opacity: 0.5;
  transition: transform 0.25s ease;
}

.sv-links a:hover {
  border-color: rgba(45, 212, 191, 0.3);
  background: rgba(45, 212, 191, 0.05);
}

.sv-links a:hover i {
  transform: translateX(3px);
  opacity: 1;
}

.sv-links a.is-active {
  color: #0b1120 !important;
  background: linear-gradient(135deg, #2dd4bf, #60a5fa);
}

.sv-links a.is-active i {
  opacity: 1;
}

html body .sv-phone {
  margin: 18px 0 0;
  font-size: 15px;
  font-weight: 700;
}

.sv-phone i {
  margin-right: 6px;
  color: #5eead4;
}

.sv-phone a {
  color: #fff !important;
  text-decoration: none !important;
}

.sv-prose-full img {
  max-width: 100%;
  border-radius: 18px;
}

@media (max-width: 1199px) {
  .sv-features,
  .sv-refs {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .sv-process {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .sv-process__media {
    min-height: 220px;
  }
}

@media (max-width: 575px) {
  .sv-features,
  .sv-refs {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   18. Contact page hero: channels as cards
   ========================================================================== */
.ct-cards {
  display: grid;
  gap: 14px;
}

.ct-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-decoration: none !important;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease;
}

.ct-card:hover {
  transform: translateX(6px);
  border-color: rgba(45, 212, 191, 0.45);
}

.ct-card__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  font-size: 19px;
  color: #0b1120;
  background: linear-gradient(135deg, #2dd4bf, #22d3ee);
}

.ct-card__icon--mail {
  background: linear-gradient(135deg, #60a5fa, #818cf8);
}

.ct-card__icon--place {
  background: linear-gradient(135deg, #f472b6, #fb7185);
}

.ct-card__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.ct-card__body small {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.5);
}

.ct-card__body strong {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
  overflow-wrap: anywhere;
}

.ct-card__body em {
  font-style: normal;
  font-size: 13px;
  color: rgba(226, 232, 240, 0.6);
}

.ct-card__go {
  flex: none;
  font-size: 14px;
  color: rgba(226, 232, 240, 0.4);
  transition: color 0.3s ease;
}

.ct-card:hover .ct-card__go {
  color: #5eead4;
}

.ct-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ct-social span {
  margin-right: 6px;
  font-size: 14px;
  color: rgba(226, 232, 240, 0.6);
}

.ct-social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.3s ease;
}

.ct-social a:hover {
  color: #0b1120 !important;
  background: #2dd4bf;
}

html body .contact-flow {
  background: linear-gradient(180deg, #0f172a 0%, #0b1120 100%) !important;
  scroll-margin-top: 90px;
}

@media (max-width: 575px) {
  .ct-card {
    padding: 18px;
    gap: 14px;
  }

  .ct-card__body strong {
    font-size: 16px;
  }
}

/* ==========================================================================
   19. Legal pages (components/site/LegalPage.jsx), consent note, footer links
   ========================================================================== */
html body .lg-hero {
  padding: 190px 0 70px !important;
}

html body .lg-hero__title {
  font-size: clamp(38px, 5vw, 60px);
}

html body .lg-updated {
  margin: 0;
  font-size: 14px;
  color: rgba(226, 232, 240, 0.55);
}

.lg-updated i {
  margin-right: 6px;
  color: #5eead4;
}

.lg-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;
  gap: 60px;
}

.lg-toc {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 4px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.lg-toc a {
  display: flex;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: rgba(226, 232, 240, 0.75) !important;
  text-decoration: none !important;
  transition: background 0.25s ease;
}

.lg-toc a:hover {
  color: #fff !important;
  background: rgba(45, 212, 191, 0.08);
}

.lg-toc a span {
  font-size: 12px;
  font-weight: 800;
  color: #5eead4;
}

.lg-content {
  max-width: 780px;
}

.lg-section {
  padding: 0 0 36px;
  margin-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  scroll-margin-top: 110px;
}

.lg-section:last-child {
  border-bottom: 0;
}

html body .lg-section h2 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
}

.lg-section h2 span {
  font-size: 14px;
  color: #5eead4;
}

html body .lg-section p,
html body .lg-section li {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(226, 232, 240, 0.78);
}

html body .lg-section p {
  margin: 0 0 14px;
}

.lg-section ul {
  margin: 0 0 14px;
  padding-left: 20px;
}

.lg-section li::marker {
  color: #5eead4;
}

.lg-identity {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 10px 28px;
  margin: 0;
  padding: 22px 26px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.lg-identity dt {
  font-size: 13px;
  font-weight: 700;
  color: rgba(226, 232, 240, 0.55);
}

.lg-identity dd {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

html body .ct-consent {
  margin: 18px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
}

.ct-consent i {
  color: #5eead4;
}

.ct-consent a {
  color: rgba(255, 255, 255, 0.65) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.site-footer__legal {
  display: inline-flex;
  gap: 16px;
  margin-left: 16px;
}

.site-footer__legal a {
  color: inherit !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

@media (max-width: 991px) {
  .lg-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .lg-toc {
    position: static;
  }
}

@media (max-width: 575px) {
  html body .lg-hero {
    padding: 140px 0 50px !important;
  }

  .lg-identity {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 18px;
  }

  .lg-identity dd {
    margin-bottom: 10px;
  }

  .site-footer__legal {
    display: flex;
    justify-content: center;
    margin: 8px 0 0;
  }
}

/* ==========================================================================
   20. Team member profile (app/(site)/team-details)
   ========================================================================== */
.tm-hero__layout {
  grid-template-columns: 1.1fr 0.9fr;
}

.tm-portrait .pd-hero__frame {
  aspect-ratio: 4 / 5;
  max-width: 440px;
  margin-left: auto;
}

.tm-portrait .pd-hero__frame img {
  object-position: top center;
}

.tm-portrait::before {
  inset: -24px -24px 40px 80px;
}

.tm-quote {
  position: relative;
  max-width: 540px;
  margin: 0 0 34px;
  padding: 0 0 0 26px;
  border-left: 2px solid rgba(45, 212, 191, 0.5);
}

.tm-quote i {
  position: absolute;
  top: -4px;
  left: -12px;
  padding: 4px 0;
  font-size: 14px;
  color: #5eead4;
  background: #0b1120;
}

html body .tm-quote p {
  margin: 0;
  font-size: 19px;
  font-style: italic;
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.85);
}

.tm-social {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  transition: background 0.3s ease;
}

.tm-social:hover {
  color: #0b1120 !important;
  background: #2dd4bf;
}

.tm-eyebrow-gap {
  margin-top: 44px;
}

.tm-timeline {
  position: relative;
  display: grid;
  gap: 22px;
  margin: 8px 0 0;
}

.tm-timeline::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 21px;
  width: 2px;
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.5), rgba(96, 165, 250, 0.1));
}

.tm-timeline li {
  position: relative;
  display: flex;
  gap: 20px;
}

.tm-timeline__dot {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  font-size: 15px;
  color: #5eead4;
  background: #111a2e;
  border: 1px solid rgba(45, 212, 191, 0.3);
}

.tm-timeline li > div {
  flex: 1;
  padding: 14px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
}

.tm-timeline em {
  display: block;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #5eead4;
}

.tm-timeline strong {
  display: block;
  font-size: 16px;
  color: #fff;
}

html body .tm-timeline p {
  margin: 2px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.72);
}

.tm-skills {
  display: grid;
  gap: 16px;
  margin: 0;
}

.tm-skills li > span:first-child {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.85);
}

.tm-skills b {
  color: #5eead4;
}

.tm-skills__bar {
  display: block;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.tm-skills__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2dd4bf, #60a5fa);
}

.tm-pager .pd-pager__item img {
  object-position: top center;
}

@media (max-width: 991px) {
  .tm-hero__layout {
    grid-template-columns: 1fr;
  }

  .tm-portrait .pd-hero__frame {
    margin: 0 auto;
  }
}

/* ==========================================================================
   21. Project photo gallery + full-screen viewer (public/js/pages/gallery.js)
   ========================================================================== */
.pd-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 56px;
}

.pd-gallery__item {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pd-gallery__item:first-child {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

.pd-gallery__item:last-child:nth-child(3n + 2) {
  grid-column: span 2;
  aspect-ratio: auto;
}

.pd-gallery__item:last-child:nth-child(3n + 1):not(:first-child) {
  grid-column: span 3;
  aspect-ratio: 16 / 9;
}

.pd-gallery__item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* Photos in an article: portrait pictures are kept to a reasonable height */
html body .insight-article__content figure {
  margin: 32px 0;
}

html body .insight-article__content figure img {
  display: block;
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: 18px;
}

html body .insight-article__content figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: rgba(226, 232, 240, 0.6);
}

.pd-gallery__item i {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 12px;
  color: #fff;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pd-gallery__item:hover img {
  transform: scale(1.05);
}

.pd-gallery__item:hover i,
.pd-gallery__item:focus-visible i {
  opacity: 1;
}

.pd-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 60px 70px;
  background: rgba(5, 8, 18, 0.94);
}

.pd-lightbox[hidden] {
  display: none;
}

.pd-lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 120px);
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.pd-lightbox button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.pd-lightbox button:hover {
  color: #0b1120;
  background: #2dd4bf;
}

.pd-lightbox__close {
  top: 20px;
  right: 20px;
}

.pd-lightbox__nav--prev {
  left: 14px;
}

.pd-lightbox__nav--next {
  right: 14px;
}

.pd-lightbox__count {
  position: absolute;
  bottom: 22px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(226, 232, 240, 0.7);
}

@media (max-width: 575px) {
  .pd-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .pd-lightbox {
    padding: 70px 10px;
  }

  .pd-lightbox__nav--prev,
  .pd-lightbox__nav--next {
    top: auto;
    bottom: 14px;
  }

  .pd-lightbox__nav--prev {
    left: calc(50% - 110px);
  }

  .pd-lightbox__nav--next {
    right: calc(50% - 110px);
  }

  .pd-lightbox__count {
    bottom: 28px;
  }
}

/* ==========================================================================
   22. Call to action band (home and About) + mobile fixes across the site
   ========================================================================== */
/* Same block on every page (the About page also loads about-new.css) */
html body .about-cta {
  position: relative;
  padding: 100px 0 !important;
  background: #050816;
  overflow: hidden;
}

.about-cta__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}

.about-cta .container {
  position: relative;
  z-index: 2;
}

html body .about-cta__label {
  margin-bottom: 15px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #2dd4bf;
}

html body .about-cta__title {
  margin-bottom: 35px;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
}

html body .about-cta__btn {
  display: inline-block;
  padding: 16px 40px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  color: #0b1120 !important;
  text-decoration: none !important;
  background: #2dd4bf;
  box-shadow: 0 10px 30px rgba(45, 212, 191, 0.3);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

html body .about-cta__btn:hover {
  transform: scale(1.04);
  box-shadow: 0 15px 40px rgba(45, 212, 191, 0.4);
}

@media (max-width: 991px) {
  /* Home hero: the accent line only makes sense next to a single line of text */
  .home-eyebrow span {
    display: none;
  }

  html body .home-eyebrow {
    display: block;
    text-align: center;
  }

  /* Trust line: names as small chips that wrap cleanly (no separator left alone at a line start) */
  .home-trust strong + strong::before {
    display: none;
  }

  html body .home-trust {
    gap: 8px;
  }

  .home-trust strong {
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 13px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
  }

  /* Footer: "Contactez-nous" heading and its social icons centred like the rest of the column */
  html body .footer-widget__contact .footer-widget__header {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 575px) {
  html body .home-eyebrow {
    margin-bottom: 16px;
    font-size: 11px;
    letter-spacing: 0.06em;
  }

  /* "Qui sommes-nous": template padding under the second paragraph */
  html body .welcome__text-2 {
    padding: 0 !important;
  }

  html body .about-cta {
    padding: 70px 0 !important;
  }

  html body .about-cta__label {
    font-size: 12px;
    letter-spacing: 2px;
  }

  /* Partner cards: smaller logos so the name keeps its width */
  .partner-card__logos {
    gap: 6px;
  }

  .partner-card__logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }

  .partner-card__logo.partner-card__logo--wide {
    width: 74px;
  }

  html body .partner-card__logo img {
    padding: 5px;
  }

  /* Projects hero: the seal would cover the title of the main photo */
  .pj-hero__float--seal {
    display: none;
  }

  /* Contact hero: label on its own line, icons below */
  .ct-social span {
    flex-basis: 100%;
    margin: 0 0 4px;
  }

  /* Footer: less empty space above the call-to-action card */
  html body .site-footer {
    padding-top: 40px !important;
  }

  html body .site-footer__top {
    padding: 0 0 40px !important;
    margin-bottom: 0 !important;
  }

  html body .site-footer__middle {
    padding-top: 50px !important;
  }
}
