/* #region copied from dev styles.css */

@import url(./reset.css);
/* @import url(./styles/breadcrumb.css); */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {

  --accent-color: #e8c56a;
  /* --accent-gold: #c5a880; */
  --accent-gold: #e8c56a;
  /* --accent-gold-hover: #b4966d; */
  --accent-gold-hover: #e6be59;
  --accent-green: #a8c050;

  --bg-light: #f8f9fa;
  --bg-white: #ffffff;

  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding-block-number: 120;
  --section-padding-block: clamp(2.5rem, calc((var(--section-padding-block-number) / var(--ref-vw)) * 1vw), calc((var(--section-padding-block-number) / var(--ref-fs)) * 1rem));
  --section-padding: var(--section-padding-block) 0;
  --container-width: 1200px;
  --inset: calc(-1 * (100vw - var(--container-width)) / 3);

  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition-smooth);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding-block: 8px;
  z-index: 1000;
  background: transparent;
  transition: var(--transition-smooth);
}

.header.scrolled {
  background: var(--bg-white);
  padding-block-end: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header.scrolled .nav-link {
  color: var(--primary-color);
  margin-block: 0;
}

.header.scrolled .logo {
  color: var(--primary-color);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bg-white);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  margin-block: -16px;
  position: relative;
  z-index: 1001;

  /*-----------------*/
  margin-inline-start: min(var(--inset), 0px);
}

.logo img,
.logo-svg {
  height: clamp(60px, 5vw, 90px);
  width: auto;
  object-fit: contain;
  transition: var(--transition-smooth);
  pointer-events: none;
}

.header.scrolled .logo img,
.header.scrolled .logo-svg {
  height: 48px;
}

.logo-path-main {
  fill: var(--bg-white);
  transition: fill 0.3s ease;
}

.logo-path-accent {
  fill: var(--accent-gold);
  /* fill: #d4ac4b; */
  transition: fill 0.3s ease;
}

.header.scrolled .logo-svg .logo-path-main {
  fill: #000000;
}

.header.scrolled .top-bar-link {
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  gap: clamp(16px, 2vw, 32px);
  list-style: none;
  align-items: center;
}

.nav-link {
  user-select: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--bg-white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-gold);
  transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.top-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin-block-end: 12px;
}

.top-bar-link {
  font-size: 0.75rem;
  text-transform: none;
  letter-spacing: normal;
  display: flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 0.75rem;
  transition: color 0.22s ease, background 0.22s ease;
  font-weight: 500;
  flex-wrap: nowrap;
  gap: 4px;
}

.top-bar-link i {
  position: relative;
  top: 1px;
  font-size: 0.85rem;
  color: var(--accent-gold);
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  vertical-align: middle;

  .scrolled & {
    color: #7f6848;
  }
}

.top-bar-link:hover {
  background: rgba(255, 255, 255, 0.1);
}

.top-bar-link:hover i {
  transform: scale(1.1) rotate(-5deg);
}

.header.scrolled .top-bar-link:hover {
  background: rgba(197, 168, 128, 0.1);
}

.top-bar-link::after {
  display: none;
}

/* Language Switch Toggle */
.lang-switch {
  display: flex;
  position: relative;
  background-color: #ffffff26;
  border-radius: 12px;
  padding: 2px;
  align-items: center;
  border: 1px solid #ffffff33;
  margin-inline-end: min(var(--inset), 0px);
}

.header.scrolled .lang-switch {
  background-color: #0000000d;
  border-color: #0000001a;
}

.lang-switch-btn {
  position: relative;
  z-index: 2;
  background: transparent;
  border: none;
  padding: 0 6px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--bg-white);
  cursor: pointer;
  text-align: center;
  transition: color 0.3s ease;
}

.header.scrolled .lang-switch-btn {
  color: var(--primary-color);
}

.lang-switch-btn.active {
  color: var(--primary-color);
}

.header.scrolled .lang-switch-btn.active {
  color: var(--primary-color);
}

.lang-switch-slider {
  position: absolute;
  inset: 1px;
  width: 50%;
  background-color: var(--accent-green);
  border-radius: 8px;
  z-index: 1;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.lang-switch[data-active="en"] .lang-switch-slider {
  transform: translateX(calc(100% - 2px));
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Footer */

/* ==========================================================================
   Footer Revamp Styles
   ========================================================================== */

.footer {
  position: relative;
  background: linear-gradient(180deg, #050a10 0%, #08101a 100%);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 30px;
  overflow: hidden;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
}

/* Decorative ambient glows */
.footer-glow-left,
.footer-glow-right {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

.footer-glow-left {
  top: -200px;
  left: -200px;
  background: var(--accent-gold);
}

.footer-glow-right {
  bottom: -200px;
  right: -200px;
  background: rgba(255, 255, 255, 0.5);
}

.footer-container {
  position: relative;
  z-index: 1;
}

/* Footer Top Grid */
.footer-top {
  display: grid;
  grid-template-columns: repeat(5, auto);
  gap: 48px;
  margin-bottom: 60px;
}

.footer-col-brand .footer-logo-link img {
  height: 60px;
  margin-bottom: 24px;
  display: block;
}

.footer-col-brand .footer-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 90%;
}


.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.footer-contact-link:hover {
  color: var(--accent-gold);
}

.footer-contact-link i {
  font-size: 1.1rem;
  color: var(--accent-gold);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--bg-white);
  font-size: 1.2rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-social-link:hover {
  background: var(--accent-gold);
  color: #000;
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
  border-color: var(--accent-gold);
}

.footer-title {
  color: var(--accent-gold);
  font-size: 0.75rem;
  margin-bottom: 16px;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 4px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

/* Hover effect on links */
.footer-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: var(--accent-gold);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: var(--bg-white);
  transform: translateX(4px);
}

.footer-links a:hover::after {
  width: 100%;
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-info p {
  margin-bottom: 4px;
}

.footer-bottom-rights p {
  margin: 0;
}


.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal-links a:hover {
  color: var(--accent-gold);
}

/* Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {


  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  /* Additional Footer Mobile Fixes */


  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* Insights Page Styles */
/* Navigation Badge */
.nav-badge {
  position: absolute;
  top: -8px;
  right: -14px;
  background-color: #e63946;
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
  height: 16px;
  min-width: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  line-height: 1;
  padding: 0 4px;
  border: 2px solid transparent;
  transition: var(--transition-smooth);
  box-shadow: 0 2px 4px rgba(230, 57, 70, 0.3);
}

.header.scrolled .nav-badge {
  border-color: var(--bg-white);
}

@keyframes navBadgeRing {
  0% {
    transform: rotate(0) scale(1);
  }

  5% {
    transform: rotate(15deg) scale(1.2);
  }

  10% {
    transform: rotate(-10deg) scale(1.2);
  }

  15% {
    transform: rotate(10deg) scale(1.2);
  }

  20% {
    transform: rotate(-5deg) scale(1.2);
  }

  25% {
    transform: rotate(0) scale(1);
  }

  100% {
    transform: rotate(0) scale(1);
  }
}

.nav-badge {
  transform-origin: center center;
  animation: navBadgeRing 4s infinite 1s;
}

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

.filters {
  display: flex;
  gap: 16px;
}

.form-input {
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-primary);
  background-color: var(--bg-white);
  outline: none;
  transition: var(--transition-smooth);
}

.form-input:focus {
  border-color: var(--accent-gold);
}

.insight-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
}

.insight-theme {
  color: var(--accent-gold);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 8px;
}

.insight-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.insight-date {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.insight-summary {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

.insight-actions {
  margin-top: auto;
}

/* Hardcoded Language Toggle Visibility */
html[lang="fr"] [data-lang="en"] {
  display: none !important;
}

html[lang="en"] [data-lang="fr"] {
  display: none !important;
}


/* ==========================================================================
   Responsive Design & Mobile Menu
   ========================================================================== */

@media (max-width: 992px) {

  /* Layout Fixes */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }

  /* Contact Page specific */
  .contact-layout {
    flex-direction: column;
  }

  .contact-form-container {
    padding: 24px;
  }

  /* Portfolio specific */
  .filter-container {
    flex-wrap: wrap;
  }
}

/* ==========================================================================
   Utility Classes (replaces repeated inline styles)
   ========================================================================== */

/* Hidden placeholder elements */
.hidden {
  display: none;
}


/* --- Footer --- */

/* Footer logo anchor */
.footer-logo-link {
  display: block;
  margin-bottom: 24px;
}

/* Footer logo image */
.footer-logo-img {
  height: 48px;
  object-fit: contain;
}

/* Footer description paragraph */
.footer-desc {
  max-width: 300px;
  margin-bottom: 24px;
}

/* Footer social icon row */
.footer-social {
  display: flex;
  gap: 16px;
}

/* Footer social links (replaces onmouseover/out JS) */
.footer-social-link {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-social-link:hover {
  opacity: 1;
}

/* Footer social icon size */
.footer-social-icon {
  font-size: 1.5rem;
}

/* Align-items-center helper on grid rows */

/* Text-align utilities */

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

/* ========================================= */
/* Auto-extracted inline styles */
/* ========================================= */

.auto-style-1c2aac {
  height: 48px;
  object-fit: contain;
}

.form-group.has-error .form-input {
  border-color: #e63946;
}

.error-message {
  color: #e63946;
  font-size: 0.8rem;
  margin-top: 4px;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: #8a6c2a;
  border-radius: 50%;
  display: inline-block;
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  background-color: rgba(138, 108, 42, 0.5);
  animation: globalPulse 1.5s infinite ease-out;
}

@keyframes globalPulse {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }

  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

.ongoing-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(197, 168, 128, 0.15);
  color: #8a6c2a;
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(197, 168, 128, 0.4);
}

@media (max-width: 992px) {
  .history-desc {
    position: unset;
    padding: 0 52px;
    margin-bottom: 0;
  }
}

@media (max-width: 480px) {
  .history-desc {
    padding: 32px 24px 36px;
  }
}

/*===========================================*/
/* Fix for Custom Elements Layout */
fedhen-header,
fedhen-footer {
  display: contents;
}

/* Progressive Reduction for Navigation */

.nav-container-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-inline-end: min(var(--inset), 0px);
}

.btn-text-short {
  display: none;
}

.btn-nav {
  padding-inline: 8px;
  line-height: 2;
  letter-spacing: 0.5px;
}

.nav-container .nav-link,
.btn-nav {
  font-size: clamp(0.75rem, 1.2vw, 0.9rem);
}

@media (max-width: 992px) {

  .btn-text-full {
    display: none;
  }

  .btn-text-short {
    display: inline;
  }
}

.news-section-title {
  margin-block-end: 48px;
}

.mission-btn {
  pointer-events: auto;
}

.mission-video-player {
  object-fit: cover;
  pointer-events: none;
}

.main-footer {
  z-index: 2;
  position: relative;
}

/* #endregion copied from dev styles.css */

/* #region copied from dev styles/hero-index.css */

.mission {
  border-top: 1px solid rgba(0, 0, 0, .1);

  & .container {
    display: flex;
    flex-wrap: wrap-reverse;
    position: relative;
    z-index: 1;
    gap: 48px;
    align-items: center;

    >* {
      flex: 1 1 360px;
    }
  }

  & .video-container {
    pointer-events: auto;
    min-width: 0;
    position: relative;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    aspect-ratio: 16 / 9;
    overflow: hidden;

    & video {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
    }
  }
}

.video-container {
  position: relative;
  display: inline-block;
  width: 100%;
  pointer-events: auto;
}

.video-volume-control {
  position: absolute;
  bottom: 14px;
  right: 14px;
  height: 42px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 21px;
  display: flex;
  align-items: center;
  padding: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--primary-color);
  transition: var(--transition-smooth, all 0.3s ease);
  z-index: 4;
  backdrop-filter: blur(4px);
  pointer-events: auto;
  opacity: 0;
  overflow: hidden;
  width: 42px;
}

.video-container:hover .video-volume-control {
  opacity: 1;
}

.video-volume-control:hover {
  width: 130px;
  background: rgba(255, 255, 255, 0.98);
}

.video-volume-control button {
  background: none;
  border: none;
  color: inherit;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  transition: color 0.3s ease;
}

.video-volume-control button:hover {
  color: var(--accent-gold);
}

.video-volume-control button i {
  font-size: 20px;
  font-weight: bold;
}

.volume-slider-wrapper {
  width: 76px;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.video-volume-control:hover .volume-slider-wrapper {
  opacity: 1;
  pointer-events: auto;
}

#volumeSlider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: #e0e0e0;
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

#volumeSlider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-gold);
  cursor: pointer;
  transition: transform 0.2s;
}

#volumeSlider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* #endregion copied from dev styles/hero-index.css */

/* #region copied from dev styles/expertise-section.css */

.expertise-section {
  padding-block-start: 0;
}

.expertise-section .breadcrumb-nav {
  margin-top: 0;
  color: #7f6848;
}

.expertise-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.expertise-nav {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-bottom: 1px solid rgba(197, 168, 128, 0.2);
}

.expertise-nav::-webkit-scrollbar {
  display: none;
}

.expertise-nav-btn {
  padding: 0 0 4px;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.25s, border-color 0.25s;
  text-transform: uppercase;
}

.expertise-nav-btn:hover {
  color: var(--primary-color);
}

.expertise-nav-btn.active {
  color: var(--primary-color);
  border-bottom-color: var(--accent-gold);
}

.expertise-scroll-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 2rem;
  padding-bottom: 1rem;
  scrollbar-width: none;
  /* Firefox */
}

.expertise-scroll-container::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}

.expertise-item {
  flex: 0 0 100%;
  scroll-snap-align: center;
  display: flex;
  justify-content: center;
}

.expertise-card {
  background-color: var(--bg-light);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  text-align: left;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.expertise-card-content {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.expertise-card-image-wrapper {
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  position: relative;
}

.expertise-card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.expertise-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Make card content non-selectable and pass pointer events to the container for smooth dragging */
.expertise-card {
  user-select: none;
  -webkit-user-select: none;
}

.expertise-card * {
  pointer-events: none;
}

/* Allow interaction with the CTA button */
.expertise-card .expertise-card-btn,
.expertise-card .expertise-card-btn * {
  pointer-events: auto;
}

.expertise-icon {
  font-size: 3rem;
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.expertise-card-approach {
  margin-bottom: 2rem;
}

.expertise-card-approach h4 {
  font-size: 0.9rem;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.expertise-card-approach-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.expertise-card-approach-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.expertise-card-approach-list li i {
  color: var(--accent-gold);
}

/* Responsive */
@media (max-width: 992px) {
  .expertise-nav {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scroll-snap-type: x mandatory;
  }

  .expertise-nav-btn {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .expertise-card {
    grid-template-columns: 1fr;
  }

  .expertise-card-image-wrapper {
    height: 250px;
  }

  .expertise-card-content {
    padding: 2rem;
  }
}

/* Home Page Simple Grid Layout */
.expertise-section-subtitle-wide {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding-block: 24px;
  color: var(--text-secondary);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
  margin-block-start: 24px;
}

.expertise-grid-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--bg-white);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.expertise-grid-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.expertise-grid-card-content {
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-grow: 1;
  width: 100%;
  position: relative;
}

.expertise-grid-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.expertise-grid-icon {
  position: absolute;
  bottom: -15px;
  left: -15px;
  font-size: 7rem;
  color: #d4ac4b19;
  z-index: 1;
  transform: rotate(-10deg);
  pointer-events: none;
}

.expertise-grid-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  position: relative;
  z-index: 2;
}

.expertise-grid-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.expertise-grid-link {
  color: #7f6848;
  /* Taupe color matching the image */
  font-weight: 600;
  font-size: 0.85rem;
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  text-transform: none;
  letter-spacing: normal;
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}

.expertise-grid-link i {
  margin-top: 2px;
}

.expertise-section-header {
  border-top: 1px solid rgba(0, 0, 0, .1);
  padding-block-start: var(--section-padding-block);
}

/* #endregion copied from dev styles/expertise-section.css */

/* #region copied from dev styles/cemac-map.css */

/* --- Parallax Background Image --- */
.contacts-cemac-map__bg {
  width: 100%;
  height: 100%;
  background-image: url('/assets/images/bg/d5b09544-11fc-41ec-97f7-03a92060a7c9.jpg');
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

#africa-map-bg {
  opacity: 0;
  transition: opacity 0.8s ease;
}

/* --- CEMAC Country hover colours --- */

.cemac-bg-positioned {
  position: absolute;
  transform-origin: top left;
}

/* --- CEMAC Index Map Animation --- */
.contacts-cemac-map-svg path:not(.africa-map):not(.office-pin) {
  --accent-gold: #b88e53;
  --accent-green: #e8c56a;
  animation: index-region-morph 14s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
  transition: fill 0.4s ease, fill-opacity 0.4s ease, filter 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contacts-cemac-map-svg {
  transform: scale(1);

  &.zoomed {
    transform: scale(2.2);
  }
}

.contacts-cemac-map-svg.zoomed path:not(.africa-map):not(.office-pin) {
  /* From https://css.glass */
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5.1px);
  -webkit-backdrop-filter: blur(5.1px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  stroke: black !important;
  stroke-opacity: 0.5;
  fill-opacity: 0.5;
}

.contacts-cemac-map-svg path.cemac-cg {
  animation-delay: -2s;
}

.contacts-cemac-map-svg path.cemac-ga {
  animation-delay: -5s;
}

.contacts-cemac-map-svg path.equatorial-guinea-continental,
.contacts-cemac-map-svg path.equatorial-guinea-island,
.contacts-cemac-map-svg path.cemac-gq {
  animation-delay: -8s;
}

.contacts-cemac-map-svg path.cemac-cm {
  animation-delay: -11s;
}

.contacts-cemac-map-svg path.cemac-cf {
  animation-delay: 0s;
}

.contacts-cemac-map-svg path.cemac-td {
  animation-delay: -3s;
}

.contacts-cemac-map-svg path:not(.africa-map):not(.office-pin):hover,
.contacts-cemac-map-svg:has(.equatorial-guinea-continental:hover) .equatorial-guinea-island,
.contacts-cemac-map-svg:has(.equatorial-guinea-island:hover) .equatorial-guinea-continental {
  animation: none;
  fill: var(--accent-green);
  fill-opacity: 1;
  transform: translateY(-3px) scale(1.005);
}

.contacts-cemac-map-svg:has(.office-pin:hover) path:not(.africa-map):not(.office-pin) {
  animation: none;
  fill: white;
}

@keyframes index-region-morph {
  0% {
    fill: var(--accent-gold);
    stroke: #ffffff;
  }

  7.14% {
    fill: var(--accent-green);
    stroke: #ffffff;
  }

  14.28% {
    fill: var(--accent-gold);
    stroke: #ffffff;
  }

  100% {
    fill: var(--accent-gold);
    stroke: #ffffff;
  }
}

/* Cursors for .cemac-* classes (matching the contacts page) */
.contacts-cemac-map-svg path.cemac-cg {
  cursor: url('/assets/images/flags/cg.png'), pointer;
  cursor: -webkit-image-set(url('/assets/images/flags/cg.png') 2x), pointer;
  cursor: image-set(url('/assets/images/flags/cg.png') 2x), pointer;
}

.contacts-cemac-map-svg path.cemac-ga {
  cursor: url('/assets/images/flags/ga.png'), pointer;
  cursor: -webkit-image-set(url('/assets/images/flags/ga.png') 2x), pointer;
  cursor: image-set(url('/assets/images/flags/ga.png') 2x), pointer;
}

.contacts-cemac-map-svg path.equatorial-guinea-continental,
.contacts-cemac-map-svg path.equatorial-guinea-island,
.contacts-cemac-map-svg path.cemac-gq {
  cursor: url('/assets/images/flags/gq.png'), pointer;
  cursor: -webkit-image-set(url('/assets/images/flags/gq.png') 2x), pointer;
  cursor: image-set(url('/assets/images/flags/gq.png') 2x), pointer;
}

.contacts-cemac-map-svg path.cemac-cm {
  cursor: url('/assets/images/flags/cm.png'), pointer;
  cursor: -webkit-image-set(url('/assets/images/flags/cm.png') 2x), pointer;
  cursor: image-set(url('/assets/images/flags/cm.png') 2x), pointer;
}

.contacts-cemac-map-svg path.cemac-cf {
  cursor: url('/assets/images/flags/cf.png'), pointer;
  cursor: -webkit-image-set(url('/assets/images/flags/cf.png') 2x), pointer;
  cursor: image-set(url('/assets/images/flags/cf.png') 2x), pointer;
}

.contacts-cemac-map-svg path.cemac-td {
  cursor: url('/assets/images/flags/td.png'), pointer;
  cursor: -webkit-image-set(url('/assets/images/flags/td.png') 2x), pointer;
  cursor: image-set(url('/assets/images/flags/td.png') 2x), pointer;
}

/* --- CEMAC Index Map Office Pins & Radar --- */
.contacts-cemac-map-svg .office-pin {
  fill: black;
  cursor: url('/assets/images/bg/fedhen-shield.svg') 8 20, pointer;
  transform-box: fill-box;
  transform-origin: center bottom;
  transform: scale(0.75);
}

.contacts-cemac-map-svg .radar-ring {
  fill: none;
  stroke: var(--primary-color);
  transform-origin: center;
  transform-box: fill-box;
  animation: index-radar-sweep 2s cubic-bezier(0.1, 0.5, 0.3, 1) infinite;
  pointer-events: none;
}

.contacts-cemac-map-svg .radar-ring:nth-of-type(2) {
  animation-delay: -1s;
}

@keyframes index-radar-sweep {
  0% {
    transform: scale(0.5);
    stroke-opacity: 0.9;
    stroke-width: 8;
  }

  100% {
    transform: scale(4.5);
    stroke-opacity: 0;
    stroke-width: 1;
  }
}

/* --- Pin Hover Tooltip --- */
.pin-hover-tooltip {
  position: absolute;
  top: 0;
  left: 0;
  width: 250px;
  aspect-ratio: 1 / 1;
  background: #fff;
  /* border: 1px solid rgba(13, 27, 42, 0.08); */
  border-radius: 12px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  /* Default initial transform (hidden state) */
  transform: translate(-50%, 0) translateY(15px);
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
}

.pin-hover-tooltip.active {
  opacity: 1;
  visibility: visible;
}

.pin-hover-tooltip.active.pos-bottom {
  transform: translate(-50%, 0) translateY(25px);
}

.pin-hover-tooltip.active.pos-top {
  transform: translate(-50%, -100%) translateY(-25px);
}

.pin-hover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pin-hover-title {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #ffffff;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #000;
  padding-inline: 8px;
  z-index: 2;
  line-height: 2;
}

/* Container and Scrolling */
.cemac-africa-map {
  overflow: hidden;
  padding: 0 !important;
}

.cemac-scroll-container {
  --cemac-scroll-container-height: calc(100vh - var(--header-height, 0) + 2px);
  position: sticky;
  bottom: 0;
  height: var(--cemac-scroll-container-height);
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
}

.cemac-scroll-container::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari and Opera */
}

.cemac-scroll-container>.container {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: flex-start;
  position: relative;
  padding-block: 0;
}

/* Map Graphic Side */
.cemac-map-graphic-wrapper {
  position: sticky;
  top: 0;
  height: var(--cemac-scroll-container-height);
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 300px;
  z-index: 10;
}

.cemac-map-container {
  position: relative;
  width: 100%;
  max-width: calc((80vh - 48px) * 2066 / 2464 + 48px);
  margin: 0 auto;
  overflow: hidden;
  background-image: url('/assets/images/bg/d5b09544-11fc-41ec-97f7-03a92060a7c9.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  padding: 24px;
  height: fit-content;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cemac-map-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(5, 12, 22, 0.7);
  border-radius: inherit;
  z-index: 1;
}

.contacts-cemac-map-svg {
  width: 100%;
  position: relative;
  z-index: 2;
  transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform-origin: 49% 38%;
}

/* Text Column Side */
.cemac-map-text-column {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cemac-map-content {
  height: var(--cemac-scroll-container-height);
  display: flex;
  flex-direction: column;
  justify-content: center;
  scroll-snap-align: center;
}

.cemac-africa-map .btn {
  width: fit-content;
}

.cemac-africa-map .section-subtitle {
  color: var(--text-secondary);
  padding-block: 24px;
}

.map-inactive {
  pointer-events: none;
  overflow-y: hidden;

  & path[class^="cemac"],
  & .btn,
  & .office-pin {
    pointer-events: auto;
  }
}

@media (max-width: 992px) {
  .cemac-scroll-container {
    height: auto;
    overflow-y: visible;
    position: static;
    scroll-snap-type: none;
  }

  .cemac-scroll-container>.container {
    flex-direction: column;
    gap: 32px;
    padding-block: 48px;
  }

  .cemac-map-graphic-wrapper {
    position: static;
    height: auto;
    min-width: 100%;
  }

  .cemac-map-text-column {
    min-width: 100%;
    gap: 32px;
  }

  .cemac-map-content {
    height: auto;
    scroll-snap-align: none;
    padding-block: 16px;
  }

  .contacts-cemac-map-svg,
  .contacts-cemac-map-svg.zoomed {
    transform: scale(1) !important;
  }

  #africa-map-bg {
    opacity: 1 !important;
  }

  .map-inactive {
    pointer-events: auto !important;
    overflow-y: visible !important;
  }
}

/* #endregion copied from dev styles/cemac-map.css */

/* #region copied from dev styles/mega-menu.css */

/* ============================================================
   Mega-Menu — Full Width Edge-to-Edge Design
   ============================================================ */

/* ── Keyframes ─────────────────────────────────────────────── */
@keyframes megaMenuSlideIn {
  from {
    opacity: 0;
    transform: scaleY(0.96);
  }

  to {
    opacity: 1;
    transform: scaleY(1);
  }
}

@keyframes megaMenuLinkIn {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes statCountUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Panel ─────────────────────────────────────────────────── */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  /* Full screen width */
  transform-origin: top center;

  /* Solid clean background as per design */
  background: var(--bg-white, #ffffff);

  /* Borders */
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  z-index: 1000;
  padding: 0;
  overflow: hidden;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}

/* ── Open state ─────────────────────────────────────────────── */
/* Transparent hover-bridge: covers the gap between nav link and panel */
.nav-item-dropdown:hover>.nav-link::before {
  content: '';
  position: absolute;
  top: 100%;
  left: -20px;
  right: -20px;
  height: 100px;
  /* covers the massive gap from the 90px logo header */
  display: block;
  z-index: 999;
}

.nav-item-dropdown:hover .mega-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  animation: megaMenuSlideIn 0.28s cubic-bezier(0.34, 1.26, 0.64, 1) forwards;
}

/* ── Inner layout ────────────────────────────────────────────── */
.mega-menu .submenu-container {
  display: grid;
  grid-template-columns: 280px 1fr 1fr;
  width: 100%;
  max-width: var(--container-width, 1200px);
  margin: 0 auto;
  /* Center within the 100vw */
  padding: 28px 24px 36px;
}

/* Left column: Company info */
.mega-menu .submenu-info {
  padding-block: 0;
  padding-inline: 0 24px;
  border-right: 1px solid rgba(234, 234, 234, 0.7);
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
}

.mega-menu .submenu-info-meta {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.mega-menu .submenu-info-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}

.mega-menu .submenu-info-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40px;
  height: 2px;
  background-color: var(--accent-gold);
}

.mega-menu .submenu-info-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0;
}

.mega-menu .submenu-info-desc+.submenu-info-desc {
  margin-top: 12px;
}

.mega-menu .submenu-info-desc .fi {
  margin-right: 6px;
  font-size: 1.1em;
  border-radius: 2px;
}

.mega-menu .submenu-info-desc .fi:last-child {
  margin-right: 0;
}

/* Social block in Publications Menu */
.submenu-social-invite {
  margin-bottom: 12px !important;
}

.submenu-social-links {
  display: flex;
  gap: 12px;
}

.submenu-social-links .social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(197, 168, 128, 0.05);
  color: var(--text-secondary);
  font-size: 1.2rem;
  text-decoration: none;
  transition: var(--transition-smooth);
  border: 1px solid rgba(197, 168, 128, 0.1);
}

.submenu-social-links .social-icon:hover {
  background: var(--accent-gold);
  color: var(--primary-color);
  transform: translateY(-2px);
  border-color: var(--accent-gold);
}

.submenu-contact-info {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(197, 168, 128, 0.2);
}

.submenu-contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 12px;
  transition: var(--transition-smooth);
}

.submenu-contact-link:last-child {
  margin-bottom: 0;
}

.submenu-contact-link:hover {
  color: var(--accent-gold);
}

.submenu-contact-link i {
  font-size: 1.2rem;
  color: var(--accent-gold);
}

/* ── Links column ───────────────────────────────────────────── */
.mega-menu .submenu-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 24px;
}

.mega-menu .submenu-links li {
  width: 100%;
  list-style: none;
}

/* Section headers within submenu */
.mega-menu .submenu-links li:not(:has(a)) {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-top: 12px;
  margin-bottom: 4px;
  padding-left: 10px;
  pointer-events: none;
}

.mega-menu .submenu-links li:not(:has(a)):first-child {
  margin-top: 0;
}

/* ── Animated link rows ─────────────────────────────────────── */
.mega-menu .submenu-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 10px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
  text-transform: none;
  letter-spacing: normal;
  position: relative;
  transition: color 0.22s ease, background 0.22s ease;
  text-decoration: none;
}

/* Staggered entrance per-item */
.nav-item-dropdown:hover .mega-menu .submenu-links li:nth-child(1) a {
  animation: megaMenuLinkIn 0.28s 0.05s ease both;
}

.nav-item-dropdown:hover .mega-menu .submenu-links li:nth-child(2) a {
  animation: megaMenuLinkIn 0.28s 0.10s ease both;
}

.nav-item-dropdown:hover .mega-menu .submenu-links li:nth-child(3) a {
  animation: megaMenuLinkIn 0.28s 0.15s ease both;
}

.nav-item-dropdown:hover .mega-menu .submenu-links li:nth-child(4) a {
  animation: megaMenuLinkIn 0.28s 0.20s ease both;
}

/* Link icon badge */
.mega-menu .submenu-link-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(197, 168, 128, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--accent-gold);
  transition: background 0.22s ease, transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Hover state */
.mega-menu .submenu-links a:hover,
.mega-menu .submenu-links li.active a {
  color: var(--primary-color);
  background: rgba(197, 168, 128, 0.08);
}

.mega-menu .submenu-links a:hover .submenu-link-icon,
.mega-menu .submenu-links li.active a .submenu-link-icon {
  background: var(--accent-gold);
  color: #000;
  transform: scale(1.1) rotate(-5deg);
}

/* ── Right column: preview panel ─────────────────────────────── */
.mega-menu .submenu-preview {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 4px;
  /* Removed border radius as per image */
}

.mega-menu .submenu-preview img,
.mega-menu .submenu-preview canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.5s ease;
  opacity: 0;
  z-index: 1;
}

.mega-menu .submenu-preview img.active,
.mega-menu .submenu-preview canvas.active {
  opacity: 1;
  filter: brightness(.8);
}

.mega-menu-preview-skeleton {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #e8ecf0 0%, #f4f6f8 100%);
  z-index: 0;
  overflow: hidden;
}

.mega-menu-preview-skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
      transparent 30%,
      rgba(255, 255, 255, 0.6) 50%,
      transparent 70%);
  background-size: 200% 100%;
  animation: pubShimmer 1.6s infinite ease-in-out;
}

.mega-menu .submenu-preview-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 60px 16px 8px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.25) 85%, transparent 100%);
  color: white;
  opacity: 0;
  transition: opacity 0.45s ease, transform 0.45s ease;
  z-index: 2;
  transform: translateY(8px);
}

.mega-menu .submenu-preview-content.active {
  opacity: 1;
  transform: translateY(0);
}

.mega-menu .submenu-preview-content h4 {
  color: var(--accent-gold);
  margin-bottom: 6px;
  font-size: 1.2rem;
  font-family: var(--font-heading);
  font-weight: 600;
}

.mega-menu .submenu-preview-content p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

/* #endregion copied from dev styles/mega-menu.css */

/* #region copied from dev styles/mobile-header.css */

/* ==========================================================================
   Mobile Header  — fedhen-header-mobile styles
   Component: <fedhen-header-mobile>
   The desktop <fedhen-header> is hidden below 992px;
   this component takes over and renders a compact top-bar +
   a full-height drawer that slides in from the RIGHT.
   ========================================================================== */

/* ── Show/hide rules ─────────────────────────────────────────────────── */

/* Hide the mobile drawer elements on desktop */
@media (min-width: 769px) {

  fedhen-header-mobile,
  .mh-toggle,
  .mh-backdrop,
  .mh-drawer {
    display: none !important;
  }
}

/* On mobile, adjust the main header to act like the mobile bar */
@media (max-width: 768px) {
  .header {
    display: grid;
    grid-template-columns: 1fr auto auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 24px;
    padding: 24px;
    z-index: 1300;
    /* Keep header above the mobile drawer (1200) */
  }

  .top-bar,
  .nav-container,
  .nav-container-right {
    display: contents;
  }

  .nav-links,
  .top-bar-link {
    display: none !important;
  }

  /* Row 2: Logo, Lang-Switch, Hamburger */
  .logo {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    width: max-content;
  }

  .lang-switch {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    margin: 0;
  }

  .mh-toggle {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
  }

  /* Row 1: CTA Button (Full width) */
  .btn-nav {
    grid-column: 1 / -1;
    grid-row: 2 / 3;
    justify-self: end;
    font-size: 0.65rem;
    line-height: 3;
    display: none !important;
  }

  /* Show full text on the CTA button since it has full width */
  .btn-text-short {
    display: none !important;
  }

  .btn-text-full {
    display: inline !important;
  }
}

/* ── Top bar overrides for desktop header acting as mobile header ── */

.header.scrolled .mh-toggle-bar {
  background: var(--primary-color, #0d1b2a);
}

.header.scrolled .lang-switch-btn {
  color: rgba(0, 0, 0, 0.65);
}

.header.scrolled .lang-switch-btn.active {
  color: var(--primary-color, #0d1b2a);
}

.header.scrolled .lang-switch {
  background: rgba(0, 0, 0, 0.05);
}



/* ── Hamburger button ────────────────────────────────────────────────── */

.mh-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.mh-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.mh-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}

/* Animate bars → X when open (add class .mh-toggle--open via JS) */
.mh-toggle--open .mh-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mh-toggle--open .mh-toggle-bar:nth-child(2) {
  opacity: 0;
  width: 0;
}

.mh-toggle--open .mh-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Backdrop ────────────────────────────────────────────────────────── */

.mh-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1150;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.mh-backdrop--visible {
  opacity: 1;
  visibility: visible;
}

/* ── Drawer ──────────────────────────────────────────────────────────── */

.mh-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  width: min(340px, 90vw);
  background: var(--primary-color, #0d1b2a);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.4);
}

.mh-drawer--open {
  transform: translateX(0);
}

/* ── Drawer header ───────────────────────────────────────────────────── */

.mh-drawer-header {
  display: none;
  /* Hidden on mobile because the main .header stays on top */
}

.mh-drawer-logo {
  height: 32px;
  width: auto;
  pointer-events: none;
}

.mh-close {
  display: none;
}

/* ── Drawer body (scrollable) ────────────────────────────────────────── */

.mh-drawer-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 120px 0 16px;
  /* Extra top padding to account for the main header */
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 172, 75, 0.3) transparent;
}

/* ── Mobile menu open header styling ──────────────────────────────────── */

/* When menu is open, make the header look like a dark hero section */
body:has(.mh-drawer--open) .header {
  background: linear-gradient(135deg, var(--primary-color) 0%, #152A43 100%) !important;
  color: var(--bg-white);
  box-shadow: none !important;
}

/* Add the subtle grid pattern from .hero-section */
body:has(.mh-drawer--open) .header::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(197, 168, 128, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197, 168, 128, .04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: -1;
}

/* Ensure text and icons are white when menu is open */
body:has(.mh-drawer--open) .header .logo,
body:has(.mh-drawer--open) .header .lang-switch-btn {
  color: var(--bg-white) !important;
}

body:has(.mh-drawer--open) .header .mh-toggle-bar {
  background: var(--bg-white) !important;
}

body:has(.mh-drawer--open) .header .lang-switch {
  background-color: #ffffff26 !important;
  border-color: #ffffff33 !important;
}

/* ── Utility quick links ─────────────────────────────────────────────── */

.mh-utility-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 16px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 8px;
}

.mh-util-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}

.mh-util-link i {
  font-size: 1rem;
  flex-shrink: 0;
}

.mh-util-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.85);
}

/* ── Primary nav list ────────────────────────────────────────────────── */

.mh-nav {
  list-style: none;
  margin: 0;
  padding: 0 16px;
}

.mh-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mh-item:last-child {
  border-bottom: none;
}

/* Plain (no sub) link */
.mh-item-link {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 16px 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.mh-item-link:hover {
  color: var(--accent-gold, #d4ac4b);
}

/* Expandable button */
.mh-item-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 12px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.mh-item-btn:hover {
  color: var(--accent-gold, #d4ac4b);
}

.mh-item-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Chevron */
.mh-chevron {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
  transition: transform 0.3s ease, color 0.2s ease;
  flex-shrink: 0;
}

.mh-item--expanded .mh-chevron {
  transform: rotate(180deg);
  color: var(--accent-gold, #d4ac4b);
}

.mh-item--expanded .mh-item-btn {
  color: var(--accent-gold, #d4ac4b);
}

/* ── Submenu (accordion) ─────────────────────────────────────────────── */

.mh-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease;
  padding: 0 4px;
}

.mh-item--expanded .mh-sub {
  max-height: 600px;
  padding: 0 4px 12px;
}

.mh-sub-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.mh-sub-link i {
  font-size: 1rem;
  flex-shrink: 0;
  color: var(--accent-gold, #d4ac4b);
  opacity: 0.75;
}

.mh-sub-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  padding-left: 20px;
}

.mh-sub-link:hover i {
  opacity: 1;
}

/* ── Portfolio promo card inside sub ─────────────────────────────────── */

.mh-sub-promo {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 14px;
  margin: 4px 0 8px;
}

.mh-sub-promo-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px;
}

.mh-pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #27ae60;
  border-radius: 50%;
  animation: mhPulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes mhPulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.5);
  }

  50% {
    box-shadow: 0 0 0 5px rgba(39, 174, 96, 0);
  }
}

.mh-sub-promo-logo {
  max-width: 110px;
  height: auto;
  display: block;
  margin-bottom: 8px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.mh-sub-promo-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  line-height: 1.4;
}

/* ── Nav badge ───────────────────────────────────────────────────────── */

.mh-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-gold, #d4ac4b);
  color: var(--primary-color, #0d1b2a);
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1;
}

/* ── Drawer footer ───────────────────────────────────────────────────── */

.mh-drawer-footer {
  flex-shrink: 0;
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* CTA button */
.mh-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  background: var(--accent-gold, #d4ac4b);
  color: var(--primary-color, #0d1b2a) !important;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 10px;
  transition: filter 0.2s ease, transform 0.15s ease;
}

.mh-cta-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.mh-cta-btn i {
  font-size: 1.05rem;
}

/* Contact links */
.mh-contact-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mh-contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  padding: 12px 0;
  /* Increase touch target area vertically */
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.2s ease;
}

.mh-contact-link i {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.mh-contact-link:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* Social icons */
.mh-social-links {
  display: flex;
  gap: 10px;
}

.mh-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.mh-social-btn:hover {
  background: rgba(212, 172, 75, 0.15);
  color: var(--accent-gold, #d4ac4b);
}

/* License line */
.mh-license {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.25);
  margin: 0;
  text-decoration: none;
}

.mh-license a {
  display: inline-block;
  padding: 12px 0;
  transition: color 0.2s ease;
}

.mh-license a:hover {
  color: rgba(255, 255, 255, 0.5);
}

/* #endregion copied from dev styles/mobile-header.css */

:root {
  --crumb-color: #7f6848;
  --primary-color: #0d1b2a;
  --secondary-color: #1b263b;
  --text-primary: #111;
  --text-secondary: #333;
  --text-white: #fff;
  --text-light: #ffffffcc;
  --status-color: #0d8344;
  --ref-vw: 15.28;
  --ref-fs: 16;
  --min-fs: 14;
  --max-fs: 16;
  --gap-unit: 36px;
}

body {
  color: var(--text-primary);
  min-width: 100%;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

body,
p {
  font: 400 clamp(calc((var(--min-fs) / var(--ref-fs)) * 1rem), calc((var(--max-fs) / var(--ref-vw)) * 1vw), calc((var(--max-fs) / var(--ref-fs)) * 1rem)) / 1.5 var(--font-body);
}

main.bg,
.main.bg {
  --bg-positioning: center right 15% / cover no-repeat fixed;
  --bg-image: url("/assets/images/bg/5448cd2c-6994-4ad8-9c2c-f973dbc96ff5.jpg") var(--bg-positioning);
  background: var(--bg-image);
  position: relative;

  &.overlayed {
    background:
      linear-gradient(rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.96)),
      var(--bg-image);
  }
}

.text-white {
  color: var(--text-white);
}

/* #region Headings */

h1,
h2,
h3,
h4,
h5,
h6 {
  color: inherit;
  font: 600 clamp(calc((var(--min-fs) / var(--ref-fs)) * 1rem), calc((var(--max-fs) / var(--ref-vw)) * 1vw), calc((var(--max-fs) / var(--ref-fs)) * 1rem)) / 1.1 var(--font-heading);
}

h1 {
  --min-fs: 42;
  --max-fs: 60;
  font-weight: 700;
  letter-spacing: -1px;
}

h2 {
  --min-fs: 36;
  --max-fs: 54;
}

h3 {
  --min-fs: 30;
  --max-fs: 48;
}

h4 {
  --min-fs: 24;
  --max-fs: 42;
}

h5 {
  --min-fs: 18;
  --max-fs: 36;
}

h6 {
  --min-fs: 12;
  --max-fs: 30;
}

.underline {
  &::after {
    content: '';
    display: block;
    margin: 0.15em auto 0;
    width: 2ch;
    height: max(3px, 0.07em);
    background-color: var(--accent-gold);
  }

  &.left::after {
    margin-inline-start: 0;
  }
}

p.subtitle {
  color: rgb(from currentColor r g b / .8);
  max-width: 58ch;
}

/* #endregion Headings */

/* #region Button */

.btn {
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 2px;
  color: var(--primary-color);
  cursor: pointer;
  display: inline-flex;
  font: 500 clamp(.6875rem, 1.145vw, .8125rem) / 3 var(--font-body);
  gap: 10px;
  letter-spacing: 1px;
  padding-inline: clamp(12px, 2.1vw, 32px);
  pointer-events: auto;
  text-transform: uppercase;
  transition: var(--transition-smooth);

  &.hero {
    font-size: clamp(.8125rem, 1.152vw, 1.1rem);
  }

  &.primary {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);

    &:hover {
      background-color: var(--accent-gold-hover);
      border-color: var(--accent-gold-hover);
      box-shadow: 0 10px 20px rgba(197, 168, 128, .2);
    }
  }

  &.outline {
    color: var(--bg-white);

    &:hover {
      background-color: var(--bg-white);
      color: var(--primary-color);
    }

    &.dark {
      color: var(--primary-color);

      &:hover {
        background-color: var(--primary-color);
        color: var(--bg-white);
      }
    }
  }

  div:has(> & + &) {
    display: flex;
    flex-wrap: wrap;
    gap: 16px clamp(8px, 1.05vw, 16px);
    justify-content: center;
    width: 100%;
  }
}

/* #endregion Button Styles */

section {
  padding-block: var(--section-padding-block);
  overflow-x: clip;

  .content {
    --max-p: 36;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: start;
    row-gap: 36px;
    padding: clamp(calc((16 / var(--ref-fs)) * 1rem), calc((var(--max-p) / var(--ref-vw)) * 1vw), calc((var(--max-p) / var(--ref-fs)) * 1rem));

    &:not(.center) div:has(> .btn + .btn) {
      justify-content: flex-start;
    }

    &.center {
      align-items: center;
      text-align: center;
    }

    &.right {
      align-items: flex-end;
      text-align: end;
    }
  }

  &.bg {
    &.light {
      background-color: #d4ac4b10;

      &.white {
        background-color: rgba(255, 255, 255, 0.96);
      }
    }


    &.dark {
      background-image: linear-gradient(135deg, var(--primary-color) 0%, #152A43 100%);
      color: var(--text-white);

      &::before {
        content: '';
        position: absolute;
        inset: 0;
        pointer-events: none;
        background-image:
          linear-gradient(rgba(197, 168, 128, .04) 1px, transparent 1px),
          linear-gradient(90deg, rgba(197, 168, 128, .04) 1px, transparent 1px);
        background-size: 60px 60px;
      }

      .orb {
        position: absolute;
        top: 20%;
        right: 5%;
        width: 400px;
        aspect-ratio: 1 / 1;
        background-color: #c5a88026;
        filter: blur(100px);
        border-radius: 50%;

        &.left {
          left: 5%;
          right: auto;
        }
      }
    }

    &.glass {
      background: rgb(255, 255, 255, 0.8);
      backdrop-filter: blur(25px);
      -webkit-backdrop-filter: blur(13px);
      box-shadow: 0 0 40px 0px rgba(0, 0, 0, 0.3);
    }
  }

  &.portfolio {
    position: sticky;
    top: var(--header-height, 104px);
    background: url('/assets/images/bg/781304ba-0f8e-4e5b-be87-173cf62862cf.jpg') bottom right 17% / cover no-repeat fixed;

    .banner {
      position: relative;
      pointer-events: none;

      &::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image:
          linear-gradient(rgba(197, 168, 128, .04) 1px, transparent 1px),
          linear-gradient(90deg, rgba(197, 168, 128, .04) 1px, transparent 1px),
          linear-gradient(90deg, rgba(13, 27, 42, 0.95) 0%, rgba(21, 42, 67, 0.9) 65%, rgba(21, 42, 67, 0.2) 100%);
        background-size: 60px 60px, 60px 60px, auto;
        z-index: 1;
      }

      .content {
        position: relative;
        padding-right: 16px;
        padding-top: 16px;
        z-index: 2;

        .subtitle {
          max-width: 61ch;

          em {
            color: var(--accent-gold);
            font-style: italic;
            font-family: var(--font-heading);
            font-weight: 500;
            font-size: 1.05em;
          }
        }
      }
    }

    .bg {
      position: absolute;
      inset: 0;
      opacity: .2;
      overflow: hidden;

      .scroll-container {
        display: flex;
        width: max-content;
        height: 100%;
        animation: scrollMosaic 40s linear infinite;
        padding-bottom: 1px;

        &:hover {
          animation-play-state: paused;
        }

        .partners {
          display: grid;
          grid-template-columns: repeat(5, max-content);
          width: max-content;
          height: 100%;
          flex-shrink: 0;

          >div {
            aspect-ratio: 1 / 1;
            perspective: 900px;

            >div {
              width: 100%;
              height: 100%;
              position: relative;
              transform-style: preserve-3d;
              transition: transform .65s cubic-bezier(.45, .05, .55, .95);

              >div {
                position: absolute;
                inset: 0;
                backface-visibility: hidden;
                -webkit-backface-visibility: hidden;
                overflow: hidden;
                display: flex;
                align-items: center;
                justify-content: center;
                background-color: white;
                outline: 1px solid var(--primary-color);

                &.fc-front {
                  padding: 14%;
                  transition: border-color .3s;

                  img {
                    object-fit: contain;
                    transform: scale(var(--logo-scale, 1));
                  }
                }

                &.fc-back {
                  transform: rotateY(180deg);

                  img {
                    object-fit: cover;
                  }
                }

                img {
                  width: 100%;
                  height: 100%;
                }
              }
            }

            &:hover>div {
              transform: rotateY(180deg);
            }
          }
        }
      }
    }
  }

  &.ongoing-operations {
    overflow-y: hidden;

    div:has(>&) {
      position: sticky !important;
    }

    .container {
      position: relative;

      &::after {
        content: '';
        position: absolute;
        left: -60px;
        top: -60px;
        width: 260px;
        height: 260px;
        border-radius: 50%;
        background-color: var(--status-color);
        opacity: 0.03;
        pointer-events: none;
      }

      >div {
        display: flex;
        flex-direction: column;
        gap: clamp(36px, 6.43vmin, 48px);
      }

      .banner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        background-image: radial-gradient(farthest-corner ellipse at 30% 40%, white 30%, transparent 60%);

        .content {

          img {
            max-width: 140px;
          }

          .title {
            --max-fs: 24;
            --min-fs: 18;
          }

          .status.badge {
            --max-fs: 13;
            --min-fs: 12;
            display: inline;
            -webkit-box-decoration-break: clone;
            box-decoration-break: clone;
            background-color: #e6f6ee;
            color: var(--status-color);
            border: 1px solid #b3e6cd;
            padding: 3px 9px;
            border-radius: 20px;
            font-weight: 600;
            letter-spacing: 0.05em;
            line-height: 2.5;

            i {
              vertical-align: -2px;
            }

            div:has(>&) {
              margin-block-start: -24px;
            }
          }
        }

        .poster {
          width: 100%;
          box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        }
      }
    }

    .pulse-indicator {
      display: inline-block;
      width: .5rem;
      height: .5rem;
      position: relative;
      margin-inline: .5rem;

      &,
      &::after {
        background-color: var(--status-color);
        border-radius: 50%;
      }

      &::after {
        content: '';
        position: absolute;
        inset: -50%;
        opacity: 0.5;
        animation: pulse-ring 1.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
      }
    }

  }

  &.news {
    padding-block-start: +20px;

    >.container {
      display: grid;
      grid-template-columns: 320px 1fr;
      gap: var(--section-padding-block) var(--gap-unit);
      align-items: start;

      >section,
      >section>.container,
      >section>.container>.publication-split-layout,
      >section>.container>.publication-split-layout>.cards-column {
        display: contents;
      }

      .pdf-column {
        position: sticky;
        top: calc(var(--header-height) + var(--section-padding-block));
        z-index: 1;

        .pdf-preview {
          padding: 0;
          display: flex;
          aspect-ratio: 210 / 297;
          box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;

          a {
            display: block;
            width: 100%;
            height: 100%;
            position: relative;
            overflow: hidden;
            background: white;
          }
        }

        .pdf-preview-overlay {
          position: absolute;
          inset: 0;
          background: rgba(13, 27, 42, 0.6);
          align-items: center;
          justify-content: center;
          opacity: 0;
          transition: opacity 0.3s ease;
          gap: 8px;

          .pdf-preview a:hover & {
            opacity: 1;
          }

          & i {
            font-size: 2em;
          }
        }
      }

      .market-report .news-content-container {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
        background:
          linear-gradient(rgba(13, 27, 42, 0.9), rgba(13, 27, 42, 0.9)),
          url('/assets/images/bg/e0443920-6637-4a65-9f02-00d01a117678.jpg') center / cover no-repeat;

        .content.kpi-card {
          border: 2px solid rgba(13, 27, 42, 0.8);
          backdrop-filter: blur(5px);
          -webkit-backdrop-filter: blur(5px);
          position: relative;
          overflow: hidden;

          >.content:first-child {
            row-gap: 8px;
            padding: 0;

            >span.underline {
              font-size: 2.2em;
              font-weight: 300;
              line-height: 1;
            }
          }

          .content.mr-metric {
            row-gap: 8px;
            padding: 0;

            div:has(>&) {
              width: 100%;
              display: grid;
              grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
              gap: 36px 24px;
            }

            .metric-name {
              font-size: 0.85em;
              font-weight: 500;
              text-transform: uppercase;
              color: rgb(from currentColor r g b / .7);
            }

            .metric-val {
              font-size: 2.25em;
              font-weight: 300;
            }

            .metric-change {
              font-size: 0.85em;
              font-weight: 600;

              &.down {
                color: #E63946;
              }

              &.up {
                color: #2A9D8F;
              }

              &.neutral {
                color: #e0e0e0;
              }
            }

          }

          .market-notes.subtitle {
            font-size: 0.9em;
            background: #d4ac4b10;
            padding: 8px;
          }

          &:last-child {
            grid-column: 1 / -1;
            padding-block: .75rem;
            color: var(--accent-gold);

            >span:only-child {
              font-size: .7em;
            }
          }
        }
      }

      .actualites-cta .news-content-container {
        display: grid;
        grid-column: 1 / -1;
        grid-template-columns: 456px 1fr;
        box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
        background:
          linear-gradient(rgba(13, 27, 42, 0.75)),
          url('/assets/images/bg/50334ee1-ad62-48c4-9a44-b3775eb6fdfa.jpg') center / cover no-repeat;

        >div {
          grid-column: 2;
        }
      }

      .content.fn-header {
        position: absolute;
        inset: 0 auto auto 0;
        z-index: 1;
        pointer-events: none;
      }

      .financial-insight .news-content-container {
        .fn-carousel-container {
          position: relative;
          margin-block-start: -20px;

          &:hover .fn-carousel>:nth-child(2) p {
            animation-play-state: paused;
            opacity: 1 !important;
          }

          .fn-carousel {
            display: flex;
            aspect-ratio: 3 / 2;
            transition: transform 0.5s ease-in-out;
            pointer-events: none;

            >div {
              pointer-events: none;

              p {
                opacity: 0;
              }

              a {
                position: relative;
                opacity: 0.4;
                transform: scale(.95);
                transition: transform 1s ease 1s, opacity .5s ease;

                .fn-progress {
                  visibility: hidden;
                }
              }
            }

            >:nth-child(2) {
              pointer-events: auto;

              p {
                animation: title-animation 6.6s ease;
              }

              a {
                opacity: 1;
                transform: scale(1);

                .fn-progress {
                  visibility: visible;
                }
              }
            }
          }

          .content.fn-controls {
            position: absolute;
            inset: 0;
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: space-between !important;
            pointer-events: none;
            z-index: 10;

            .btn {
              background-color: rgba(255, 255, 255, 0.2);
              backdrop-filter: blur(4px);
              width: 36px;
              height: 36px;
              padding-inline: 0 !important;
              display: flex;
              align-items: center;
              justify-content: center;
              cursor: pointer;

              &:hover {
                border: 1px solid rgba(255, 255, 255, 0.3) !important;
              }
            }
          }

          .fn-loading-slide {
            width: 100%;
            flex-shrink: 0;
            display: block;
            height: 100%;
            min-height: 250px;
            position: relative;
            background-color: #f6f6f6;
            overflow: hidden;
            color: transparent;
            user-select: none;

            background-image:
              linear-gradient(#e0e0e0 100%, transparent 0),
              linear-gradient(#e0e0e0 100%, transparent 0);
            background-repeat: no-repeat;
            background-size:
              calc(100% - 48px) 16px,
              calc(100% - 80px) 16px;
            background-position:
              24px calc(100% - 48px),
              24px calc(100% - 20px);

            & span {
              display: none;
            }

            & .ph-newspaper {
              position: absolute;
              top: 40%;
              left: 50%;
              transform: translate(-50%, -50%);
              font-size: 100px;
              color: #e0e0e0;
            }

            &::after {
              content: "";
              position: absolute;
              inset: 0;
              transform: translateX(-100%);
              background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7) 50%, transparent);
              animation: fn-shimmer-anim 1.5s infinite linear;
            }
          }
        }

        .fn-slide {
          width: 100%;
          height: 100%;
          flex-shrink: 0;
          position: relative;
          user-select: none;
          -webkit-user-drag: none;

          >a {
            text-decoration: none;
            color: inherit;
            display: block;
            width: 100%;
            height: 100%;
            box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;

            >img {
              position: absolute;
              inset: 0;
              width: 100%;
              height: 100%;
              object-fit: cover;
              pointer-events: none;
            }

            .content {
              position: absolute;
              inset: 0;
              pointer-events: none;
              justify-content: flex-end;
              background-image: linear-gradient(to top, rgba(0, 0, 0, 0.9) 15%, rgba(0, 0, 0, 0.2) 70%, rgba(0, 0, 0, 0.7) 100%);
            }

            span {
              font-size: 1.2em;
              font-weight: 500;
              background-color: rgba(0, 0, 0, 0.3);
            }

            .fn-progress {
              position: absolute;
              bottom: 0;
              left: 0;
              width: 100%;
              height: 3px;
              background: rgba(255, 255, 255, 0.2);
              z-index: 10;

              &::after {
                display: block;
                content: '';
                height: 100%;
                width: calc((100% / 6) * var(--progress-index, 1));
                background: var(--accent-gold);
              }
            }
          }
        }
      }
    }
  }

  &.education-financiere {
    padding-block-start: 0;
  }
}

@keyframes fn-shimmer-anim {
  100% {
    transform: translateX(100%);
  }
}

@keyframes title-animation {

  0%,
  99% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes scrollMosaic {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-33.333333%);
  }
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }

  50% {
    opacity: 0.5;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

section.portfolio .stats {
  --max-g: 48;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(calc((24 / var(--ref-fs)) * 1rem), calc((var(--max-g) / var(--ref-vw)) * 1vw), calc((var(--max-g) / var(--ref-fs)) * 1rem));

  .stat-number {
    --max-fs: 90;
    --min-fs: 70;
    font-weight: 100;
    color: var(--accent-gold);
    line-height: 0.8;
    display: block;
    letter-spacing: -1;

    .stat-plus,
    .stat-minus,
    .val-mds {
      font-family: var(--font-heading);
      font-weight: 500;

      &:not(.val-mds) {
        font-size: 0.7em;
      }

      &.val-mds {
        font-size: .4em;
        font-style: italic;
        opacity: .8;
      }
    }
  }

  .stat-label {
    font-size: 0.85em;
    text-transform: uppercase;
    margin-top: 5px;
    letter-spacing: 0.1em;
    display: block;
  }
}

@media (max-width: 992px) {

  section.news {
    padding-block-start: 0px;

    >.container {
      grid-template-columns: repeat(2, 1fr);

      .pdf-column {
        position: initial !important;

        .market-report & {
          grid-column: 2;
          grid-row: 1;
        }
      }

      .news-content-container {
        grid-column: 1 / -1;

        .actualites-cta & {
          display: initial;
        }

        .fn-carousel-container {
          margin-block-start: 0px !important;
        }
      }
    }
  }

  section.ongoing-operations {
    .banner {
      grid-template-columns: 1fr !important;
    }

    .poster {
      order: -1;
    }
  }
}

@media (max-width: 768px) {

  section.portfolio {
    background-attachment: scroll;

    .val-mds {
      font-size: .3em !important;
    }
  }

  section.ongoing-operations {
    .banner {
      grid-template-columns: 1fr !important;
    }

    .poster {
      order: -1;
    }
  }
}

@media (max-width: 480px) {

  section.financial-insight .fn-carousel {
    aspect-ratio: 2 / 3 !important;
  }

  .cta-extra-text {
    display: none;
  }
}

@media (hover: none) and (pointer: coarse) {

  section.portfolio .scroll-container {
    display: none !important;
  }
}

@media (min-width: 992px) {
  .pdf-preview {
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.6s ease;
    transform-origin: bottom center;
    will-change: transform;

    section.news>.container.fanned-out & {
      pointer-events: none;

      .financial-insight & {
        transform: rotate(6deg) translateX(15px) translateY(-10px);
        box-shadow: -5px 15px 30px rgba(0, 0, 0, 0.1);
        z-index: 1;
        margin-bottom: 32px;
      }

      .market-report & {
        transform: rotate(18deg) translateX(30px) translateY(-10px);
        box-shadow: 5px 15px 30px rgba(0, 0, 0, 0.15);
        z-index: 2;
        margin-bottom: 32px;
      }
    }
  }
}

/* #region Hero */

body>section:first-of-type {
  padding-block-start: var(--header-height, var(--section-padding-block));
  position: relative;

  .subtitle {
    --max-fs: 20;
  }

  /* ----- Index Hero ----- */
  &.index {
    display: flex;
    align-items: center;
    padding-block-end: 25px;
    min-height: calc(var(--vh, 1vh) * 100);
    transition: min-height .75s linear;

    .content {
      h1 {
        max-width: 20ch;
      }

      >div {
        display: flex;
        flex-direction: column;
        gap: clamp(36px, 7vmin, 52px);
        align-items: center;
        margin-top: 1rem;

        >div {
          z-index: 1;
        }
      }
    }

    img {
      animation: hero-map-grow-mobile 25s ease-in-out infinite alternate;
      height: calc(98% - 20px);
      left: 0;
      opacity: 0.1;
      position: absolute;
      object-position: 12% center;
      top: 2%;
      transition: var(--transition-smooth);
    }

    +div {
      margin-block-start: -20px;
    }
  }
}

@media (max-aspect-ratio: 1/1) {

  body>section:first-of-type.index>img {
    object-fit: cover;
    width: 100%;
  }
}

@keyframes hero-map-grow-mobile {
  0% {
    transform: rotate(1deg) scale(1);
  }

  50% {
    transform: rotate(-1deg) scale(1.05);
  }

  100% {
    transform: rotate(0deg) scale(.95);
  }
}

/* #endregion Hero */

/* #region Ad banner */

.ad-banner {
  background-color: #fff;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  position: relative;

  img {
    width: 320px;
    object-fit: cover;
    flex-shrink: 0;
    -webkit-mask-image: linear-gradient(to right, black 70%, transparent 100%);
    mask-image: linear-gradient(to right, black 70%, transparent 100%);
  }


  &::before {
    content: '';
    position: absolute;
    right: -60px;
    top: -60px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background-color: rgb(from var(--accent-gold) r g b / 10%);
    pointer-events: none;
  }

  .ad-banner-body {
    --max-p: 36;
    --white-space: clamp(calc((16 / var(--ref-fs)) * 1rem), calc((var(--max-p) / var(--ref-vw)) * 1vw), calc((var(--max-p) / var(--ref-fs)) * 1rem));
    padding: var(--white-space);
    gap: var(--gap-unit) var(--white-space);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;

    .ad-banner-content {
      display: flex;
      flex-direction: column;
      gap: var(--gap-unit) var(--white-space);
      flex: 1;
      position: relative;
      z-index: 1;
    }
  }
}

@media (max-width: 992px) {
  .ad-banner-body {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .ad-banner {
    flex-direction: column;

    img {
      width: 100%;
      height: 200px;
      -webkit-mask-image: none;
      mask-image: none;
    }

    &::before {
      right: -20%;
      top: 20%;
      width: 200px;
      height: 200px;
    }
  }
}

/* #endregion Ad banner */


.crumb-list>*,
.crumb-intro {
  color: var(--accent-gold);
  display: inline-block;
  font: 600 0.6rem / 2 var(--font-body);
  letter-spacing: 0.15em;
  text-transform: uppercase;

  &.crumb-intro {
    color: var(--crumb-color);
  }

  &:not(.crumb-intro) {
    background-color: rgb(from var(--crumb-color) r g b / .188);
    padding-inline: 8px;
  }
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.4s;
}

.delay-3 {
  transition-delay: 0.8s;
}

@media (hover: none) and (pointer: coarse) {

  .desktop-only {
    animation: none !important;
  }
}