/* =========================================================
   Nexora — Header + Hero
   Custom styles (Bootstrap 5 loaded before this file)
   ========================================================= */

/* ---------- 1. Variables ---------- */
:root {
  --primary-color: #021631;
  --primary-hover: #04326e;
  --accent-color: #ffb21b;
  --dark-color: #0b1120;
  --dark-soft: #111827;
  --muted-color: #94a3b8;
  --white-color: #ffffff;

  --header-h: 92px;
  --header-h-scrolled: 72px;

  --radius-sm: 8px;
  --radius-pill: 999px;

  --shadow-header: 0 10px 30px rgba(11, 17, 32, 0.12);
  --shadow-btn: 0 12px 26px rgba(243, 243, 54, 0.137);
  --shadow-dropdown: 0 24px 48px -12px rgba(11, 17, 32, 0.28);

  --transition: all 0.3s ease;
  --transition-slow: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* gap between nav link and dropdown panel — bridge uses same value */
  --dropdown-gap: 12px;
}

/* ---------- 2. Base ---------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  /* custom JS lerp-scroll handles anchor smoothing */
  scroll-padding-top: var(--header-h-scrolled);
}

body {
  margin: 0;
  font-family:
    "Poppins",
    system-ui,
    -apple-system,
    sans-serif;
  color: var(--dark-color);
  background: var(--white-color);
  overflow-x: hidden;
  /* no horizontal scrollbar */
}

body.nav-open {
  overflow: hidden;
}

/* lock scroll when mobile menu open */

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 3. Buttons ---------- */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  color: #000;
  background: #ffc657;
  border: 1px solid #ffc657;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-cta:hover,
.btn-cta:focus-visible {
  color: var(--white-color);
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn);
}

.btn-cta i {
  transition: transform 0.3s ease;
}

.btn-cta:hover i {
  transform: translateX(4px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--white-color);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  color: var(--dark-color);
  background: var(--white-color);
  border-color: var(--white-color);
  transform: translateY(-2px);
}

.btn-lg-custom {
  padding: 0.95rem 2rem;
  font-size: 1rem;
}

/* ---------- 4. Scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1100;
  width: 100%;
  height: 3px;
  background: transparent;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform-origin: left;
  transition: width 0.1s linear;
}

/* ---------- 5. Header ---------- */
.site-header {
  position: absolute;
  /* overlays the hero image */
  inset: 0 0 auto 0;
  z-index: 1000;
  padding: 10px 0;
  background: #011C3D;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: var(--transition-slow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 52px;
}

.brand-logo {
  width: auto;
  height: 60px;
  border-radius: 10px;
  background: transparent;
}

/* Sticky / scrolled state */
.site-header.scrolled {
  position: fixed;
  padding: 0.55rem 0;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(11, 17, 32, 0.08);
  box-shadow: var(--shadow-header);
  animation: headerDrop 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.scrolled .brand-logo {
  filter: none;
  height: 50px;
}

@keyframes headerDrop {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

/* ---------- 6. Navigation (desktop) ---------- */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link-custom {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgb(255, 255, 255);
  padding: 0.35rem 0;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition);
}

.nav-link-custom::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-link-custom:hover,
.nav-link-custom.active {
  color: var(--white-color);
}

.nav-link-custom:hover::after,
.nav-link-custom.active::after {
  width: 100%;
}

/* scrolled colours */
.site-header.scrolled .nav-link-custom {
  color: var(--dark-soft);
}

.site-header.scrolled .nav-link-custom:hover,
.site-header.scrolled .nav-link-custom.active {
  color: var(--primary-color);
}

.site-header.scrolled .nav-link-custom::after {
  background: var(--primary-color);
}

/* =========================================================
   7. Services dropdown
   Desktop  -> opens on :hover / :focus-within (CSS only)
   Mobile   -> accordion, toggled by .open class from JS
   ========================================================= */
.nav-item-dropdown {
  position: relative;
}

.dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* caret — HTML uses .dropdown-caret; older aliases kept for safety */
.dropdown-caret,
.dropdown-arrow,
.nav-caret {
  font-size: 0.7rem;
  line-height: 1;
  transition: transform 0.3s var(--ease-out);
}

.nav-item-dropdown.open>.dropdown-trigger .dropdown-caret,
.nav-item-dropdown.open>.dropdown-trigger .dropdown-arrow,
.nav-item-dropdown.open>.dropdown-trigger .nav-caret {
  transform: rotate(180deg);
}

.dropdown-menu-custom {
  list-style: none;
  margin: 0;
  padding: 10px;
  position: absolute;
  top: calc(100% + var(--dropdown-gap));
  left: 0;
  min-width: 290px;
  background: var(--white-color);
  border-radius: 14px;
  box-shadow: var(--shadow-dropdown);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.25s var(--ease-out),
    transform 0.25s var(--ease-out),
    visibility 0.25s;
  z-index: 999;
}

.dropdown-menu-custom li {
  width: 100%;
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--dark-soft);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    padding-left 0.2s ease;
}

.dropdown-link i {
  flex: none;
  width: 18px;
  font-size: 0.9rem;
  text-align: center;
  color: var(--primary-color);
  transition: transform 0.2s ease;
}

.dropdown-link:hover,
.dropdown-link:focus-visible {
  background: rgb(255 198 87);
  color: var(--primary-color);
  padding-left: 20px;
}

.dropdown-link:hover i {
  transform: scale(1.12);
}

/* ---- Mega menu variant (Our Products) ----
   The panel centres on the header container, not on the nav item, so the
   parent <li> has to stop being the positioning context. That's what
   .has-mega does — :has() covers markup that forgot the class. */
.header-inner {
  position: relative;
}

.nav-item-dropdown.has-mega,
.nav-item-dropdown:has(> .mega-menu) {
  position: static;
}

.dropdown-menu-custom.mega-menu {
  min-width: 0;
  padding: 1.5rem 1.4rem;
  overscroll-behavior: contain;
}

.mega-grid {
  display: grid;
  /* auto-fit = column count follows available width, no breakpoint juggling */
  grid-template-columns: repeat(auto-fit, minmax(172px, 1fr));
  gap: 1.4rem 1.75rem;
}

.mega-col {
  min-width: 0;
}

.mega-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.6rem;
  padding-bottom: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark-color);
  border-bottom: 1px solid rgba(11, 17, 32, 0.1);
}

.mega-title i {
  flex: none;
  font-size: 0.82rem;
  color: var(--primary-color);
}

.mega-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mega-list .dropdown-link {
  padding: 0.42rem 0.5rem;
  font-size: 0.85rem;
  font-weight: 400;
  color: #4b5563;
  border-radius: 7px;
}

.mega-list .dropdown-link:hover,
.mega-list .dropdown-link:focus-visible {
  padding-left: 0.95rem;
  color: var(--primary-color);
}

/* ---- Desktop: centred panel ---- */
@media (min-width: 992px) {
  .dropdown-menu-custom.mega-menu {
    top: calc(100% + 14px);
    left: 50%;
    right: auto;
    width: min(1140px, calc(100vw - 2rem));
    max-height: min(74vh, 680px);
    overflow-y: auto;
    transform: translate(-50%, 8px);
  }

  /* wider bridge so the cursor can cross the gap anywhere along the panel */
  .dropdown-menu-custom.mega-menu::before {
    top: -16px;
    height: 16px;
  }

  .nav-item-dropdown:hover>.dropdown-menu-custom.mega-menu,
  .nav-item-dropdown:focus-within>.dropdown-menu-custom.mega-menu,
  .nav-item-dropdown.open>.dropdown-menu-custom.mega-menu {
    transform: translate(-50%, 0);
  }
}

/* very wide screens: match the 1400px container */
@media (min-width: 1600px) {
  .dropdown-menu-custom.mega-menu {
    width: min(1340px, calc(100vw - 3rem));
  }
}

/* ---- Desktop: hover opens it ---- */
@media (min-width: 992px) {

  /* invisible bridge across --dropdown-gap so the panel doesn't
     close while the cursor travels from the link down to the menu */
  .dropdown-menu-custom::before {
    content: "";
    position: absolute;
    top: calc(var(--dropdown-gap) * -1 - 2px);
    left: 0;
    right: 0;
    height: calc(var(--dropdown-gap) + 2px);
  }

  .nav-item-dropdown:focus-within>.dropdown-menu-custom,
  .nav-item-dropdown.open>.dropdown-menu-custom {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-item-dropdown:focus-within>.dropdown-trigger .dropdown-caret {
    transform: rotate(180deg);
  }

  .nav-item-dropdown:focus-within>.dropdown-trigger::after {
    width: 100%;
  }
}

/* hover-open only where a real pointer exists — touch screens fall back
   to the click handler in script.js, so no sticky-hover on tap */
@media (hover: hover) and (min-width: 992px) {
  .nav-item-dropdown:hover>.dropdown-menu-custom {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-item-dropdown:hover>.dropdown-trigger .dropdown-caret {
    transform: rotate(180deg);
  }

  .nav-item-dropdown:hover>.dropdown-trigger::after {
    width: 100%;
  }

  .nav-item-dropdown:hover>.dropdown-trigger {
    color: var(--white-color);
  }

  .site-header.scrolled .nav-item-dropdown:hover>.dropdown-trigger {
    color: var(--primary-color);
  }
}

/* ---------- 8. Hamburger ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.nav-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: var(--white-color);
  border-radius: 2px;
  transition: var(--transition);
}

.site-header.scrolled .nav-toggle {
  background: rgba(11, 17, 32, 0.06);
  border-color: rgba(11, 17, 32, 0.12);
}

.site-header.scrolled .nav-toggle .bar {
  background: var(--dark-color);
}

/* animated X */
.nav-toggle.is-active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active .bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 9. Backdrop ---------- */
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(11, 17, 32, 0.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.nav-backdrop.show {
  opacity: 1;
}

/* =========================================================
   10. Hero — carousel, content centered
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
}

.hero-carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
  min-height: 100svh;
}

/* IMPORTANT: don't force display on every .carousel-item — that shows
   all slides stacked at once. Only the active/incoming/outgoing slide
   should render; Bootstrap's own .active/.carousel-item-next/-prev
   classes control that. We only add flex centering on top of that. */
.hero-carousel .carousel-item.active,
.hero-carousel .carousel-item-next,
.hero-carousel .carousel-item-prev {
  display: flex;
  align-items: center;
}

/* each slide: its own background image + the same dark overlay
   treatment the original single hero used, so text stays readable */
.hero-slide {
  position: relative;
  width: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: var(--white-color);
  padding: calc(var(--header-h) + 3rem) 0 5rem;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(100deg,
      rgba(11, 17, 32, 0.92) 0%,
      rgba(11, 17, 32, 0.72) 45%,
      rgba(11, 17, 32, 0.45) 100%),
    linear-gradient(to top, rgba(11, 17, 32, 0.85) 0%, rgba(11, 17, 32, 0) 55%);
}

/* Slide backgrounds — replace these URLs with your own per-slide images */
.hero-slide-1 {
  background-image: url("https://images.unsplash.com/photo-1522071820081-009f0129c71c?q=80&w=1920&auto=format&fit=crop");
}

.hero-slide-2 {
  background-image: url("https://images.unsplash.com/photo-1552664730-d307ca884978?q=80&w=1920&auto=format&fit=crop");
}

.hero-slide-2::before {
  background-image:
    linear-gradient(100deg,
      rgba(11, 17, 32, 0.94) 0%,
      rgba(11, 17, 32, 0.78) 45%,
      rgba(20, 12, 8, 0.5) 100%),
    linear-gradient(to top, rgba(11, 17, 32, 0.85) 0%, rgba(11, 17, 32, 0) 55%);
}

.hero-slide-3 {
  background-image: url("https://images.unsplash.com/photo-1521737604893-d14cc237f11d?q=80&w=1920&auto=format&fit=crop");
}

.hero-slide-3::before {
  background-image:
    linear-gradient(100deg,
      rgba(8, 14, 28, 0.94) 0%,
      rgba(11, 17, 32, 0.8) 45%,
      rgba(11, 25, 32, 0.5) 100%),
    linear-gradient(to top, rgba(11, 17, 32, 0.85) 0%, rgba(11, 17, 32, 0) 55%);
}

.hero-slide .container {
  position: relative;
  z-index: 1;
}

/* content: centered both in text-align and as a block */
.hero-content {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin: 0 0 1.1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-color);
}

.eyebrow-line {
  width: 44px;
  height: 2px;
  background: var(--accent-color);
  border-radius: 2px;
}

.hero-title {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-text {
  max-width: 650px;
  margin: 0 auto 2.25rem;
  font-size: clamp(0.98rem, 1.35vw, 1rem);
  font-weight: 300;
  line-height: 1.75;
  color: rgb(255, 255, 255);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  margin: 0;
  padding: 1.75rem 0 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-stats strong {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.1;
}

.hero-stats span {
  margin-top: 0.3rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--muted-color);
}

/* ---------- 10b. Carousel controls + indicators ---------- */
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  z-index: 3;
  width: 4rem;
  opacity: 1;
}

.hero-control-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white-color);
  backdrop-filter: blur(6px);
  transition: var(--transition);
  font-size: 0.95rem;
}

.hero-carousel .carousel-control-prev:hover .hero-control-icon,
.hero-carousel .carousel-control-next:hover .hero-control-icon {
  background: #ffc657;
  border-color: var(--primary-color);
  transform: scale(1.08);
}

.hero-indicators {
  position: absolute;
  bottom: 1.75rem;
  z-index: 3;
  margin-bottom: 0;
  gap: 0.5rem;
}

.hero-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  opacity: 1;
  transition: var(--transition);
}

.hero-indicators [data-bs-target].active {
  background-color: var(--accent-color);
  width: 28px;
  border-radius: var(--radius-pill);
}

/* =========================================================
   11. Reveal / entrance animation
   ========================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   12. Responsive
   ========================================================= */

/* Large desktops */
@media (min-width: 1600px) {
  .container {
    max-width: 1400px;
  }

  .hero-content {
    max-width: 860px;
  }
}

/* Laptop */
@media (max-width: 1200px) {
  .nav-list {
    gap: 1.5rem;
  }

  .main-nav {
    gap: 1.75rem;
  }
}

/* Tablet + mobile: off-canvas menu */
@media (max-width: 991.98px) {
  :root {
    --header-h: 78px;
  }

  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 1001;
    /* stays clickable above the open drawer */
  }

  /* burger sits on the white drawer once open -> dark bars */
  .nav-toggle.is-active,
  .site-header.scrolled .nav-toggle.is-active {
    background: rgba(11, 17, 32, 0.06);
    border-color: rgba(11, 17, 32, 0.12);
  }

  .nav-toggle.is-active .bar,
  .site-header.scrolled .nav-toggle.is-active .bar {
    background: var(--dark-color);
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 999;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    width: min(320px, 86vw);
    height: 100%;
    max-height: 100%;
    padding: 6rem 1.75rem 2.5rem;
    overflow-y: auto;
    background: var(--white-color);
    box-shadow: -14px 0 40px rgba(11, 17, 32, 0.18);
    transform: translateX(105%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-link-custom {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 0.95rem 0;
    font-size: 1.02rem;
    color: var(--dark-soft);
    border-bottom: 1px solid rgba(11, 17, 32, 0.07);
  }

  .nav-link-custom:hover,
  .nav-link-custom.active {
    color: var(--primary-color);
  }

  .nav-link-custom::after {
    display: none;
  }

  /* Services becomes an inline accordion inside the drawer */
  .dropdown-menu-custom {
    position: static;
    min-width: 0;
    width: 100%;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: 0;
    overflow: hidden;
    padding: 0 0 0 0.35rem;
    transition:
      max-height 0.35s var(--ease-out),
      padding 0.35s var(--ease-out);
  }

  .nav-item-dropdown.open>.dropdown-menu-custom {
    max-height: 420px;
    padding: 0.4rem 0 0.6rem 0.35rem;
  }

  .dropdown-link {
    padding: 0.6rem 0.5rem;
  }

  .dropdown-link:hover,
  .dropdown-link:focus-visible {
    padding-left: 0.9rem;
  }

  /* mega menu inside the drawer: single stacked column, no centring */
  .dropdown-menu-custom.mega-menu {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    width: 100%;
    max-height: 0;
    padding: 0 0 0 0.35rem;
    overflow: hidden;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }

  .dropdown-menu-custom.mega-menu::before {
    display: none;
  }

  .nav-item-dropdown.open>.dropdown-menu-custom.mega-menu {
    transform: none;
    max-height: 2400px;
    padding: 0.5rem 0 0.75rem 0.35rem;
    overflow-y: auto;
  }

  .mega-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .mega-title {
    font-size: 0.68rem;
  }

  .mega-list .dropdown-link {
    font-size: 0.9rem;
    padding: 0.5rem 0.5rem;
  }

  .nav-cta {
    width: 100%;
    margin-top: 1.75rem;
  }

  .hero-slide {
    padding: calc(var(--header-h) + 2.5rem) 0 4.5rem;
  }

  .hero-stats {
    gap: 1.75rem;
  }

  .hero-carousel .carousel-control-prev,
  .hero-carousel .carousel-control-next {
    width: 3rem;
  }

  .hero-control-icon {
    width: 40px;
    height: 40px;
  }
}

/* Small tablet */
@media (max-width: 767.98px) {
  .hero-slide {
    background-position: 62% center;
  }

  .hero-text {
    margin-bottom: 2rem;
  }

  .hero-stats strong {
    font-size: 1.35rem;
  }
}

/* Mobile */
@media (max-width: 575.98px) {
  .site-header {
    padding: 0.85rem 0;
  }

  .brand-logo {
    height: 50px;
  }

  .site-header.scrolled .brand-logo {
    height: 32px;
  }

  .hero-slide {
    padding: calc(var(--header-h) + 2rem) 0 3.5rem;
  }

  .hero-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
  }

  .eyebrow-line {
    width: 28px;
  }

  .hero-actions {
    gap: 0.75rem;
  }

  .hero-actions .btn-cta,
  .hero-actions .btn-ghost {
    flex: 1 1 100%;
  }

  /* full width, no overflow */

  .hero-stats {
    gap: 1.1rem 1.75rem;
    padding-top: 1.4rem;
  }

  .hero-stats li {
    flex: 1 1 40%;
  }

  .hero-carousel .carousel-control-prev,
  .hero-carousel .carousel-control-next {
    display: none;
    /* swipe works fine on touch */
  }
}

/* Very small phones (360px / 375px / 390px) */
@media (max-width: 400px) {
  .main-nav {
    width: 88vw;
    padding: 5.5rem 1.35rem 2rem;
  }

  .hero-title {
    line-height: 1.15;
  }

  .hero-stats strong {
    font-size: 1.2rem;
  }

  .hero-stats span {
    font-size: 0.72rem;
  }
}

/* Short landscape screens */
@media (max-height: 560px) and (orientation: landscape) {

  .hero,
  .hero-carousel,
  .hero-carousel .carousel-inner,
  .hero-carousel .carousel-item {
    min-height: auto;
  }

  .hero-slide {
    padding: calc(var(--header-h) + 2rem) 0 3rem;
  }
}

/* ---------- 13. Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* =========================================================
   14. Discover by Category
   ========================================================= */
.dbc {
  position: relative;
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
  background: #faf9f7;
}

/* ---- Head ---- */
.dbc-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.dbc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffb21b;
}

.dbc-eyebrow .eyebrow-line {
  background: #ffb21b;
}

.dbc-title {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--dark-color);
}

.dbc-lede {
  max-width: 400px;
  margin: 0;
  padding-bottom: 0.35rem;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.8;
  color: #131414;
}

/* ---- Mosaic grid ---- */
.dbc-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: 250px;
  gap: 1.1rem;
}

.dbc-card {
  position: relative;
  display: block;
  grid-column: span 2;
  overflow: hidden;
  isolation: isolate;
  border-radius: 18px;
  background: var(--dark-color);
  color: var(--white-color);
  transition:
    transform 0.45s var(--ease-out),
    box-shadow 0.45s var(--ease-out);
}

.dbc-card--feature {
  grid-column: span 2;
  grid-row: span 2;
}

.dbc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 44px -18px rgba(11, 17, 32, 0.45);
}

.dbc-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--ease-out);
}

.dbc-card:hover .dbc-img,
.dbc-card:focus-visible .dbc-img {
  transform: scale(1.07);
}

.dbc-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(11, 17, 32, 0.9) 0%,
      rgba(11, 17, 32, 0.55) 40%,
      rgba(11, 17, 32, 0.08) 100%);
  transition: opacity 0.4s ease;
}

.dbc-card:hover .dbc-veil {
  opacity: 0.92;
}

.dbc-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 1.5rem 1.4rem;
}

.dbc-count {
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-color);
}

.dbc-name {
  position: relative;
  margin: 0.45rem 0 0;
  padding-bottom: 0.7rem;
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.01em;
}

/* signature: rule wipes out under the name on hover */
.dbc-name::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary-color);
  transition: width 0.45s var(--ease-out);
}

.dbc-card:hover .dbc-name::after,
.dbc-card:focus-visible .dbc-name::after {
  width: 64px;
}

.dbc-card--feature .dbc-name {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
}

.dbc-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}

.dbc-sub li {
  padding: 0.24rem 0.62rem;
  font-size: 0.71rem;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(3px);
}

.dbc-go {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--white-color);
}

.dbc-go i {
  transition: transform 0.3s ease;
}

.dbc-card:hover .dbc-go i {
  transform: translateX(5px);
}

.dbc-card:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 3px;
}

/* ---- Pointer devices: chips stay hidden until hover ---- */
@media (hover: hover) and (min-width: 768px) {
  .dbc-sub {
    max-height: 0;
    margin-top: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(8px);
    transition:
      max-height 0.45s var(--ease-out),
      margin 0.45s var(--ease-out),
      opacity 0.35s ease,
      transform 0.45s var(--ease-out);
  }

  .dbc-card:hover .dbc-sub,
  .dbc-card:focus-visible .dbc-sub {
    max-height: 160px;
    margin-top: 0.85rem;
    opacity: 1;
    transform: none;
  }

  .dbc-go {
    margin-top: 0.9rem;
  }
}

/* ---- Responsive ---- */
@media (max-width: 1199.98px) {
  .dbc-grid {
    grid-auto-rows: 225px;
    gap: 0.9rem;
  }

  .dbc-body {
    padding: 1.3rem 1.2rem;
  }
}

/* Tablet: feature becomes a full-width banner, rest 2-up */
@media (max-width: 991.98px) {
  .dbc-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 210px;
  }

  .dbc-card--feature {
    grid-column: span 4;
    grid-row: span 1;
  }

  .dbc-card {
    grid-column: span 2;
  }

  .dbc-card--feature .dbc-name {
    font-size: 1.6rem;
  }
}

@media (max-width: 767.98px) {
  .dbc-lede {
    max-width: 100%;
  }

  .dbc-sub li {
    font-size: 0.68rem;
  }
}

/* Mobile: single column stack */
@media (max-width: 575.98px) {
  .dbc-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
    gap: 0.85rem;
  }

  .dbc-card,
  .dbc-card--feature {
    grid-column: span 1;
    grid-row: span 1;
  }

  .dbc-card--feature {
    grid-auto-rows: 280px;
  }

  .dbc-card {
    border-radius: 14px;
  }

  .dbc-name,
  .dbc-card--feature .dbc-name {
    font-size: 1.22rem;
  }
}

@media (prefers-reduced-motion: reduce) {

  .dbc-card,
  .dbc-img,
  .dbc-sub,
  .dbc-name::after {
    transition: none !important;
  }

  .dbc-card:hover {
    transform: none;
  }

  .dbc-card:hover .dbc-img {
    transform: none;
  }
}

/* =========================================================
   SOLUTIONS SECTION
   Premium Corporate Grid
   ========================================================= */

.solutions {
  position: relative;
  padding: clamp(3rem, 5vw, 5rem) 0;
  background: var(--white-color);
  overflow: hidden;
}

/* =========================================================
   HEADER
   ========================================================= */

.solutions-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: end;
  gap: clamp(2rem, 6vw, 6rem);
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

.solutions-heading-wrap {
  max-width: 720px;
}

.solutions-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.1rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #ffb21b;
}

.solutions-eyebrow .eyebrow-line {
  width: 34px;
  height: 2px;
  border-radius: 10px;
  background: #ffb21b;
}

.solutions-title {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 500;
  line-height: 0.98;
  color: var(--dark-color);
}

.solutions-title span {
  color: var(--primary-color);
}

.solutions-lede {
  max-width: 480px;
  margin: 0 0 0 auto;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.9;
  color: #131414;
}

/* =========================================================
   GRID
   ========================================================= */

.solutions-grid {
  display: grid;

  grid-template-columns: repeat(12, minmax(0, 1fr));

  gap: clamp(1rem, 2vw, 1.5rem);
}

/* =========================================================
   CARD
   ========================================================= */

.solution-card {
  position: relative;

  grid-column: span 4;

  display: flex;
  flex-direction: column;

  min-width: 0;

  background: var(--white-color);

  border: 1px solid rgba(11, 17, 32, 0.08);
  border-radius: 22px;

  overflow: hidden;

  box-shadow: 0 8px 25px rgba(11, 17, 32, 0.035);

  transition:
    transform 0.45s var(--ease-out),
    box-shadow 0.45s ease,
    border-color 0.45s ease;
}

.solution-card:hover {
  transform: translateY(-8px);

  border-color: rgba(243, 82, 54, 0.2);

  box-shadow: 0 22px 50px rgba(11, 17, 32, 0.09);
}

/* First featured card */

.solution-card-featured {
  grid-column: span 6;
}

/* Last wide card */

.solution-card-wide {
  grid-column: span 6;
}

/* =========================================================
   IMAGE
   ========================================================= */

.solution-media {
  position: relative;

  aspect-ratio: 16 / 10;

  overflow: hidden;

  background: #efeeeb;
}

.solution-card-featured .solution-media,
.solution-card-wide .solution-media {
  aspect-ratio: 16 / 9;
}

.solution-media img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  transition:
    transform 0.9s var(--ease-out),
    filter 0.6s ease;
}

.solution-card:hover .solution-media img {
  transform: scale(1.06);
}

.solution-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(180deg,
      rgba(11, 17, 32, 0.02) 35%,
      rgba(11, 17, 32, 0.42) 100%);

  pointer-events: none;
}

/* =========================================================
   NUMBER
   ========================================================= */

.solution-number {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #000000;
  background: rgb(255 198 87);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  backdrop-filter: blur(8px);
  z-index: 2;
}

/* =========================================================
   IMAGE TAG
   ========================================================= */

.solution-tag {
  position: absolute;

  left: 1rem;
  bottom: 1rem;

  padding: 0.48rem 0.85rem;

  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  color: var(--dark-color);

  background: rgba(255, 255, 255, 0.94);

  border-radius: 999px;

  backdrop-filter: blur(8px);

  z-index: 2;

  transition:
    transform 0.35s ease,
    background 0.35s ease;
}

.solution-card:hover .solution-tag {
  transform: translateY(-3px);
}

/* =========================================================
   CONTENT
   ========================================================= */

.solution-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(1.1rem, 2.2vw, 1.3rem);
}

.solution-kicker {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6413b5;
}

.solution-content h3 {
  margin: 0 0 0.85rem;
  font-size: clamp(0.98rem, 2vw, 1.1rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--dark-color);
}

.solution-content p {
  margin: 0 0 1.4rem;
  font-size: 0.83rem;
  font-weight: 300;
  line-height: 1.85;
  color: #111213;
}

/* =========================================================
   META
   ========================================================= */

.solution-meta {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 0;

  margin-top: auto;
  margin-bottom: 1.35rem;

  border-top: 1px solid rgba(11, 17, 32, 0.08);
  border-bottom: 1px solid rgba(11, 17, 32, 0.08);
}

.solution-meta>div {
  padding: 0.8rem 0;
}

.solution-meta>div+div {
  padding-left: 1rem;
  border-left: 1px solid rgba(11, 17, 32, 0.08);
}

.solution-meta span {
  display: block;

  margin-bottom: 0.2rem;

  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  color: #9aa1ab;
}

.solution-meta strong {
  display: block;

  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.45;

  color: var(--dark-soft);
}

/* =========================================================
   CTA
   ========================================================= */

.solution-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;

  gap: 0.55rem;

  padding-bottom: 0.35rem;

  font-size: 0.76rem;
  font-weight: 700;

  color: var(--dark-color);

  border-bottom: 2px solid var(--primary-color);

  transition:
    color 0.3s ease,
    gap 0.3s ease;
}

.solution-link:hover,
.solution-link:focus-visible {
  color: var(--primary-color);
  gap: 0.9rem;
}

.solution-link i {
  font-size: 0.68rem;
}

/* =========================================================
   FEATURED CARDS
   ========================================================= */

.solution-card-featured .solution-content,
.solution-card-wide .solution-content {
  padding: clamp(1.5rem, 2.5vw, 2rem);
}

.solution-card-featured .solution-content h3,
.solution-card-wide .solution-content h3 {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {
  .solutions-head {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .solutions-lede {
    margin: 0;
    max-width: 650px;
  }

  .solution-card,
  .solution-card-featured,
  .solution-card-wide {
    grid-column: span 6;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {
  .solutions {
    padding: 4.5rem 0;
  }

  .solutions-head {
    margin-bottom: 3rem;
  }

  .solutions-title {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
  }

  .solutions-lede {
    font-size: 0.88rem;
    line-height: 1.8;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .solution-card,
  .solution-card-featured,
  .solution-card-wide {
    grid-column: auto;
  }

  .solution-media,
  .solution-card-featured .solution-media,
  .solution-card-wide .solution-media {
    aspect-ratio: 16 / 10;
  }

  .solution-content {
    padding: 1.3rem;
  }

  .solution-content h3 {
    font-size: 1.35rem;
  }

  .solution-content p {
    font-size: 0.84rem;
  }
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

  .solution-media,
  .solution-card-featured .solution-media,
  .solution-card-wide .solution-media {
    aspect-ratio: 4 / 3;
  }

  .solution-number {
    width: 38px;
    height: 38px;
    top: 0.8rem;
    left: 0.8rem;
  }

  .solution-tag {
    left: 0.8rem;
    bottom: 0.8rem;

    padding: 0.42rem 0.7rem;

    font-size: 0.56rem;
  }

  .solution-meta {
    grid-template-columns: 1fr;
  }

  .solution-meta>div+div {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(11, 17, 32, 0.08);
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  .solution-card,
  .solution-media img,
  .solution-tag,
  .solution-link {
    transition: none !important;
  }

  .solution-card:hover {
    transform: none;
  }

  .solution-card:hover .solution-media img {
    transform: none;
  }

  .solution-card:hover .solution-tag {
    transform: none;
  }
}

/* =========================================================
   16. Members & affiliations
   ========================================================= */
.mbr {
  padding: clamp(3rem, 6vw, 5.5rem) 0;
  background: #faf9f7;
  border-top: 1px solid rgba(11, 17, 32, 0.06);
  border-bottom: 1px solid rgba(11, 17, 32, 0.06);
}

/* ---- Head ---- */
.mbr-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem 2.5rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.mbr-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffb21b;
}

.mbr-eyebrow .eyebrow-line {
  background: #ffb21b;
}

.mbr-title {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--dark-color);
}

.mbr-lede {
  max-width: 400px;
  margin: 0;
  padding-bottom: 0.3rem;
  font-size: 0.94rem;
  font-weight: 300;
  line-height: 1.8;
  color: #000000;
}

/* ---- Grid ---- */
.mbr-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mbr-item {
  min-width: 0;
  text-align: center;
}

.mbr-card {
  display: grid;
  place-items: center;
  height: 130px;
  background: var(--white-color);
  border: 1px solid rgba(11, 17, 32, 0.08);
  border-radius: 16px;
  transition:
    border-color 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    transform 0.35s var(--ease-out);
}

.mbr-card img {
  width: auto;
  max-width: 100%;
  border-radius: 10px;
  object-fit: contain;
}

.mbr-item:hover .mbr-card,
.mbr-item:focus-within .mbr-card {
  transform: translateY(-4px);
  border-color: rgba(243, 82, 54, 0.35);
  box-shadow: 0 18px 32px -18px rgba(11, 17, 32, 0.35);
}

.mbr-item:hover .mbr-card img,
.mbr-item:focus-within .mbr-card img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.04);
}

.mbr-name {
  margin: 0.85rem 0 0.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--dark-color);
}

.mbr-role {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 400;
  line-height: 1.55;
  color: #7c8695;
}

.mbr-note {
  margin: clamp(1.75rem, 3vw, 2.5rem) 0 0;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #97a0ad;
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
  .mbr-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
  }

  .mbr-card {
    height: 118px;
    padding: 1.25rem 1rem;
  }

  .mbr-card img {
    max-height: 54px;
  }

  .mbr-lede {
    max-width: 100%;
  }
}

@media (max-width: 575.98px) {
  .mbr-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .mbr-card {
    height: 100px;
    padding: 1rem 0.85rem;
    border-radius: 12px;
  }

  .mbr-card img {
    max-height: 44px;
  }

  .mbr-name {
    margin-top: 0.65rem;
    font-size: 0.84rem;
  }

  .mbr-role {
    font-size: 0.71rem;
  }

  /* odd one out centres itself instead of hanging left */
  .mbr-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 50%;
    justify-self: center;
  }
}

/* touch: no grayscale, logos stay readable without hover */
@media (hover: none) {
  .mbr-card img {
    filter: grayscale(0);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {

  .mbr-card,
  .mbr-card img {
    transition: none !important;
  }

  .mbr-item:hover .mbr-card {
    transform: none;
  }

  .mbr-item:hover .mbr-card img {
    transform: none;
  }
}

/* =========================================================
   17. How we work  (light)
   ========================================================= */

.hww {
  position: relative;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  background: var(--white-color);
}

.hww-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin-bottom: clamp(1.5rem, 5vw, 3rem);
}

.hww-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-color);
}

.hww-eyebrow .eyebrow-line {
  background: var(--accent-color);
}

.hww-title {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--dark-color);
}

.hww-lede {
  max-width: 400px;
  margin: 0;
  padding-bottom: 0.3rem;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.8;
  color: #131414;
}

/* ---- Grid ---- */
.hww-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.hww-step {
  position: relative;
  padding: 2rem 1.6rem 1.8rem;
  background: #faf9f7;
  border: 1px solid rgba(11, 17, 32, 0.07);
  border-radius: 18px;
  transition:
    transform 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out),
    border-color 0.4s ease;
}

.hww-step:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 178, 27, 0.4);
  box-shadow: 0 22px 44px -20px rgba(11, 17, 32, 0.25);
}

/* connecting line between steps on desktop */
.hww-grid {
  position: relative;
}

.hww-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 2.6rem;
  right: -0.85rem;
  width: 1.1rem;
  height: 2px;
  background: repeating-linear-gradient(90deg,
      rgba(11, 17, 32, 0.2) 0 6px,
      transparent 6px 10px);
  z-index: 1;
}

.hww-num {
  position: absolute;
  top: 1.1rem;
  right: 1.3rem;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(11, 17, 32, 0.07);
}

.hww-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 1.3rem;
  font-size: 1.15rem;
  color: var(--primary-color);
  background: rgb(255 198 87);
  border-radius: 14px;
  transition: transform 0.35s var(--ease-out);
}

.hww-step:hover .hww-icon {
  transform: scale(1.08) rotate(-4deg);
}

.hww-step-title {
  margin: 0 0 0.65rem;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--dark-color);
}

.hww-step-text {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.75;
  color: #000;
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
  .hww-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .hww-lede {
    max-width: 100%;
  }

  .hww-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hww-step:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .hww-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .hww-step::after {
    display: none;
  }

  .hww-step {
    padding: 1.6rem 1.3rem 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {

  .hww-step,
  .hww-icon {
    transition: none !important;
  }

  .hww-step:hover {
    transform: none;
  }

  .hww-step:hover .hww-icon {
    transform: none;
  }
}


/* =========================================================
   18. Testimonials
   ========================================================= */
.tst {
  position: relative;
  padding: clamp(2.5rem, 7vw, 3.5rem) 0;
  background: var(--dark-color);
  overflow: hidden;
}

.tst::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(255, 178, 27, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.tst-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin-bottom: clamp(1.5rem, 5vw, 3rem);
  position: relative;
  z-index: 1;
}

.tst-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-color);
}

.tst-eyebrow .eyebrow-line {
  background: var(--accent-color);
}

.tst-title {
  margin: 0;
  font-size: clamp(1.9rem, 3.2vw, 2.2rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--white-color);
}

.tst-title span {
  color: var(--accent-color);
}

.tst-lede {
  max-width: 400px;
  margin: 0;
  padding-bottom: 0.35rem;
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.85;
  color: #fff;
}

/* ---- Carousel ---- */
.tst-carousel {
  position: relative;
  z-index: 1;
}

.tst-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

/* ---- Card ---- */
.tst-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2.2rem 1.9rem 1.9rem;
  background: var(--dark-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  transition:
    transform 0.4s var(--ease-out),
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

.tst-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 178, 27, 0.35);
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.55);
}

.tst-quote-icon {
  font-size: 1.4rem;
  color: var(--accent-color);
  opacity: 0.85;
  margin-bottom: 1rem;
}

.tst-stars {
  display: flex;
  gap: 0.3rem;
  margin-bottom: 1.1rem;
  font-size: 0.78rem;
  color: var(--accent-color);
}

.tst-text {
  flex: 1;
  margin: 0 0 1.6rem;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.82);
}

.tst-person {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tst-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--dark-color);
  background: linear-gradient(135deg, var(--accent-color), #ffd88a);
  border-radius: 50%;
}

.tst-name {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white-color);
}

.tst-role {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.76rem;
  font-weight: 400;
  color: var(--muted-color);
}

/* ---- Indicators ---- */
.tst-indicators {
  position: static;
  margin: 2.5rem 0 0;
  gap: 0.5rem;
}

.tst-indicators [data-bs-target] {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.25);
  border: none;
  opacity: 1;
  transition: var(--transition);
}

.tst-indicators [data-bs-target].active {
  background-color: var(--accent-color);
  width: 26px;
  border-radius: var(--radius-pill);
}

/* ---- Controls ---- */
.tst-control {
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  opacity: 1;
}

.tst-control.carousel-control-prev {
  left: -12px;
}

.tst-control.carousel-control-next {
  right: -12px;
}

.tst-control-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white-color);
  backdrop-filter: blur(6px);
  transition: var(--transition);
  font-size: 0.9rem;
}

.tst-control:hover .tst-control-icon {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--dark-color);
  transform: scale(1.08);
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
  .tst-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .tst-lede {
    max-width: 100%;
  }

  .tst-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tst-row .tst-card:nth-child(3) {
    display: none;
  }

  .tst-control.carousel-control-prev {
    left: -6px;
  }

  .tst-control.carousel-control-next {
    right: -6px;
  }
}

@media (max-width: 575.98px) {
  .tst-row {
    grid-template-columns: 1fr;
  }

  .tst-row .tst-card:nth-child(2) {
    display: none;
  }

  .tst-card {
    padding: 1.8rem 1.5rem 1.6rem;
  }

  .tst-control {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {

  .tst-card,
  .tst-control-icon {
    transition: none !important;
  }

  .tst-card:hover {
    transform: none;
  }
}


/* =========================================================
   19. The SynkroSynergy Journey
   ========================================================= */
.jny {
  position: relative;
  padding: clamp(2rem, 4vw, 3rem) 0;
  background: var(--white-color);
  overflow: hidden;
}

.jny-head {
  max-width: 720px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.jny-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-color);
}

.jny-eyebrow .eyebrow-line {
  background: var(--accent-color);
}

.jny-title {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--dark-color);
}

.jny-title span {
  color: var(--primary-color);
  font-style: italic;
}

.jny-lede {
  margin: 0;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: #4b5563;
}

/* ---- Flow ---- */
.jny-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 0.5rem;
}

.jny-step {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem 1.8rem;
  background: #faf9f7;
  border: 1px solid rgba(11, 17, 32, 0.07);
  border-radius: 20px;
  transition:
    transform 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out),
    border-color 0.4s ease;
}

.jny-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px -20px rgba(11, 17, 32, 0.2);
}

/* highlighted middle "entry" step */
.jny-step--brand {
  background: var(--dark-color);
  border-color: var(--dark-color);
}

.jny-step--brand .jny-step-title,
.jny-step--brand .jny-step-text {
  color: var(--white-color);
}

.jny-step--brand .jny-step-text {
  color: rgba(255, 255, 255, 0.75);
}

/* final "success" step */
.jny-step--final {
  background: linear-gradient(155deg, #fff6e4 0%, #fdeecb 100%);
  border-color: rgba(255, 178, 27, 0.35);
}

.jny-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
  border-radius: 14px;
  transition: transform 0.35s var(--ease-out);
}

.jny-step:hover .jny-icon {
  transform: scale(1.08) rotate(-4deg);
}

.jny-icon--off {
  color: #b91c1c;
  background: rgba(185, 28, 28, 0.1);
}

.jny-icon--enter {
  color: var(--dark-color);
  background: var(--accent-color);
}

.jny-icon--reset {
  color: var(--primary-color);
  background: rgba(2, 22, 49, 0.08);
}

.jny-icon--click {
  color: #92650a;
  background: rgba(255, 178, 27, 0.35);
}

.jny-tag {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 0.7rem;
  padding: 0.28rem 0.7rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7c8695;
  background: rgba(11, 17, 32, 0.06);
  border-radius: var(--radius-pill);
}

.jny-tag--brand {
  color: var(--dark-color);
  background: var(--accent-color);
}

.jny-tag--final {
  color: #92650a;
  background: rgba(255, 178, 27, 0.35);
}

.jny-step-title {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--dark-color);
}

.jny-step-text {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.75;
  color: #4b5563;
}

/* ---- Connectors ---- */
.jny-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(11, 17, 32, 0.18);
  font-size: 1.1rem;
}

/* ---- Closing statement ---- */
.jny-closing {
  max-width: 620px;
  margin: clamp(3rem, 6vw, 4.5rem) auto 0;
  text-align: center;
}

.jny-closing p {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.75;
  color: #333c48;
}

.jny-closing-highlight {
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  color: var(--dark-color) !important;
  margin-bottom: 2rem !important;
}

/* ---- Responsive ---- */
@media (max-width: 1199.98px) {
  .jny-flow {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .jny-connector {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .jny-flow {
    grid-template-columns: 1fr;
  }

  .jny-step {
    padding: 1.7rem 1.4rem 1.5rem;
  }

  .jny-closing p {
    font-size: 0.95rem;
  }

  .jny-closing-highlight {
    font-size: 1.1rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {

  .jny-step,
  .jny-icon {
    transition: none !important;
  }

  .jny-step:hover {
    transform: none;
  }

  .jny-step:hover .jny-icon {
    transform: none;
  }
}


/* =========================================================
   20. Full Width Image Banner
   ========================================================= */
.fwi {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.fwi-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.fwi-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* subtle parallax feel without JS */
  transform: scale(1.08);
}

.fwi-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg,
      rgba(11, 17, 32, 0.92) 0%,
      rgba(11, 17, 32, 0.68) 45%,
      rgba(11, 17, 32, 0.35) 100%),
    linear-gradient(to top, rgba(11, 17, 32, 0.6) 0%, rgba(11, 17, 32, 0) 40%);
}

.fwi-content {
  max-width: 620px;
  padding: clamp(4rem, 8vw, 6rem) 0;
  color: var(--white-color);
}

.fwi-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-color);
}

.fwi-eyebrow .eyebrow-line {
  background: var(--accent-color);
}

.fwi-title {
  margin: 0 0 1.2rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.fwi-text {
  max-width: 480px;
  margin: 0 0 2.2rem;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
}

.fwi-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---- Responsive ---- */
@media (max-width: 767.98px) {
  .fwi {
    min-height: 50vh;
  }

  .fwi-content {
    padding: 3.5rem 0;
  }

  .fwi-text {
    margin-bottom: 1.8rem;
  }
}

@media (max-width: 575.98px) {
  .fwi-actions {
    gap: 0.75rem;
  }

  .fwi-actions .btn-cta,
  .fwi-actions .btn-ghost {
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fwi-media img {
    transform: none;
  }
}




/* =========================================================
   22. What Teams Actually Experience — Contained Bento Grid
   ========================================================= */
.wte {
  position: relative;
  padding: clamp(2rem, 3vw, 3rem) 0;
  background: #faf9f7;
}

.wte-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.wte-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-color);
}

.wte-eyebrow .eyebrow-line {
  background: var(--accent-color);
}

.wte-title {
  margin: 0;
  font-size: clamp(1.9rem, 3.4vw, 2.2rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--dark-color);
}

.wte-title span {
  color: var(--primary-color);
  font-style: italic;
}

.wte-lede {
  max-width: 380px;
  margin: 0;
  padding-bottom: 0.3rem;
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.85;
  color: #4b5563;
}

/* ---- Grid: contained, no overflow, no scroll tricks ---- */
.wte-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: 260px;
  gap: 1.1rem;
}

.wte-card {
  position: relative;
  grid-column: span 2;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: #e5e2dc;
  isolation: isolate;
  box-shadow: 0 14px 30px -16px rgba(11, 17, 32, 0.22);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}

.wte-card--lg {
  grid-column: span 3;
}

.wte-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 46px -18px rgba(11, 17, 32, 0.35);
}

.wte-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--ease-out);
}

.wte-card:hover img {
  transform: scale(1.07);
}

.wte-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(11, 17, 32, 0.88) 0%,
      rgba(11, 17, 32, 0.3) 45%,
      rgba(11, 17, 32, 0.05) 75%);
}

.wte-idx {
  position: absolute;
  top: 1rem;
  left: 1.1rem;
  z-index: 2;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--white-color);
  padding: 0.32rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
}

.wte-cap {
  position: absolute;
  left: 1.3rem;
  right: 1.3rem;
  bottom: 1.2rem;
  z-index: 2;
  color: var(--white-color);
}

.wte-cap-tag {
  display: inline-block;
  margin-bottom: 0.55rem;
  padding: 0.32rem 0.7rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark-color);
  background: var(--accent-color);
  border-radius: var(--radius-pill);
}

.wte-cap h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
  .wte-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 230px;
  }

  .wte-card {
    grid-column: span 2;
  }

  .wte-card--lg {
    grid-column: span 4;
  }
}

@media (max-width: 767.98px) {
  .wte-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .wte-lede {
    max-width: 100%;
  }
}

@media (max-width: 575.98px) {
  .wte-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
    gap: 0.9rem;
  }

  .wte-card,
  .wte-card--lg {
    grid-column: span 1;
  }

  .wte-cap h3 {
    font-size: 1.02rem;
  }
}

@media (prefers-reduced-motion: reduce) {

  .wte-card,
  .wte-card img {
    transition: none !important;
  }

  .wte-card:hover {
    transform: none;
  }

  .wte-card:hover img {
    transform: none;
  }
}


/* =========================================================
   22. What Teams Actually Experience — Gallery Carousel
   ========================================================= */
.wte {
  position: relative;
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  background: #faf9f7;
  overflow: hidden;
}

.wte-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.wte-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-color);
}

.wte-eyebrow .eyebrow-line {
  background: var(--accent-color);
}

.wte-title {
  margin: 0;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--dark-color);
}

.wte-title span {
  color: var(--primary-color);
  font-style: italic;
}

.wte-lede {
  max-width: 380px;
  margin: 0;
  padding-bottom: 0.3rem;
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.85;
  color: #4b5563;
}

/* ---- Carousel wrap: full-bleed-ish with rounded slide ---- */
.wte-carousel-wrap {
  padding: 0 var(--bs-gutter-x, 0.75rem);
  max-width: 1400px;
  margin: 0 auto;
}

.wte-carousel {
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(11, 17, 32, 0.28);
}

.wte-slide {
  position: relative;
  aspect-ratio: 16 / 7.2;
  background: #e5e2dc;
}

.wte-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wte-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(11, 17, 32, 0.85) 0%,
      rgba(11, 17, 32, 0.25) 38%,
      rgba(11, 17, 32, 0) 65%);
}

.wte-caption {
  position: absolute;
  left: clamp(1.5rem, 3vw, 3rem);
  bottom: clamp(1.75rem, 3.5vw, 3.25rem);
  z-index: 2;
  color: var(--white-color);
}

.wte-caption-tag {
  display: inline-block;
  margin-bottom: 0.7rem;
  padding: 0.4rem 0.9rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark-color);
  background: var(--accent-color);
  border-radius: var(--radius-pill);
}

.wte-caption h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* ---- Controls ---- */
.wte-control {
  z-index: 3;
  width: 4rem;
  opacity: 1;
}

.wte-control-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white-color);
  backdrop-filter: blur(6px);
  transition: var(--transition);
  font-size: 0.95rem;
}

.wte-control:hover .wte-control-icon {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--dark-color);
  transform: scale(1.08);
}

/* ---- Indicators ---- */
.wte-indicators {
  position: absolute;
  bottom: clamp(1.75rem, 3.5vw, 3.25rem);
  right: clamp(1.5rem, 3vw, 3rem);
  left: auto;
  z-index: 3;
  width: auto;
  margin: 0;
  gap: 0.5rem;
}

.wte-indicators [data-bs-target] {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  opacity: 1;
  transition: var(--transition);
}

.wte-indicators [data-bs-target].active {
  background-color: var(--accent-color);
  width: 26px;
  border-radius: var(--radius-pill);
}

/* ---- Responsive ---- */
@media (max-width: 767.98px) {
  .wte-slide {
    aspect-ratio: 4 / 5;
  }

  .wte-indicators {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 1.25rem;
  }

  .wte-caption {
    left: 1.25rem;
    bottom: 3.5rem;
  }

  .wte-control {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .wte-carousel {
    border-radius: 18px;
  }
}


/* =========================================================
   23. Contact
   ========================================================= */
.cnt {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: #faf9f7;
}

.cnt-head {
  max-width: 640px;
  margin: 0 auto clamp(3rem, 6vw, 4.5rem);
  text-align: center;
}

.cnt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-color);
}

.cnt-eyebrow .eyebrow-line {
  background: var(--accent-color);
}

.cnt-title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 2.2rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--dark-color);
}

.cnt-title span {
  color: var(--primary-color);
}

.cnt-lede {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.8;
  color: #4b5563;
}

/* ---- Grid ---- */
.cnt-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

/* ---- Left: info cards ---- */
.cnt-info {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.cnt-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.5rem;
  background: var(--white-color);
  border: 1px solid rgba(11, 17, 32, 0.07);
  border-radius: 18px;
  transition:
    transform 0.35s var(--ease-out),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.cnt-info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 178, 27, 0.4);
  box-shadow: 0 18px 36px -20px rgba(11, 17, 32, 0.25);
}

.cnt-info-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  font-size: 1rem;
  color: var(--primary-color);
  background: rgb(255 198 87 / 0.35);
  border-radius: 13px;
}

.cnt-info-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9aa1ab;
}

.cnt-info-text {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--dark-soft);
}

.cnt-info-text a {
  color: var(--dark-soft);
  transition: color 0.25s ease;
}

.cnt-info-text a:hover {
  color: var(--primary-color);
}

/* ---- Social ---- */
.cnt-social {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.3rem 1.5rem;
  background: var(--dark-color);
  border-radius: 18px;
}

.cnt-social-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--white-color);
}

.cnt-social-links {
  display: flex;
  gap: 0.6rem;
}

.cnt-social-links a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  font-size: 0.85rem;
  color: var(--white-color);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  transition: var(--transition);
}

.cnt-social-links a:hover {
  color: var(--dark-color);
  background: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-3px);
}

/* ---- Right: Form ---- */
.cnt-form-wrap {
  padding: clamp(1.75rem, 3vw, 2.75rem);
  background: var(--white-color);
  border: 1px solid rgba(11, 17, 32, 0.07);
  border-radius: 24px;
  box-shadow: 0 24px 60px -30px rgba(11, 17, 32, 0.2);
}

.cnt-form {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.cnt-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
}

.cnt-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cnt-field label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--dark-soft);
}

.cnt-field input,
.cnt-field select,
.cnt-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--dark-color);
  background: #faf9f7;
  border: 1px solid rgba(11, 17, 32, 0.12);
  border-radius: 12px;
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.cnt-field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.cnt-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23021631' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.cnt-field input::placeholder,
.cnt-field textarea::placeholder {
  color: #9aa1ab;
}

.cnt-field input:focus,
.cnt-field select:focus,
.cnt-field textarea:focus {
  outline: none;
  background: var(--white-color);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(2, 22, 49, 0.08);
}

.cnt-submit {
  align-self: flex-start;
  margin-top: 0.3rem;
}

.cnt-form-note {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 400;
  line-height: 1.6;
  color: #9aa1ab;
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
  .cnt-grid {
    grid-template-columns: 1fr;
  }

  .cnt-form-wrap {
    order: -1;
  }
}

@media (max-width: 575.98px) {
  .cnt-form-row {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .cnt-form-wrap {
    padding: 1.5rem;
    border-radius: 18px;
  }

  .cnt-info-card {
    padding: 1.25rem;
  }

  .cnt-social {
    flex-direction: column;
    align-items: flex-start;
  }

  .cnt-submit {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cnt-info-card {
    transition: none !important;
  }

  .cnt-info-card:hover {
    transform: none;
  }
}


/* =========================================================
   24. Footer
   ========================================================= */
.ftr {
  position: relative;
  padding-top: clamp(3rem, 6vw, 5rem);
  background: var(--dark-color);
  overflow: hidden;
  isolation: isolate;
}

.ftr-glow {
  position: absolute;
  top: -30%;
  left: 10%;
  width: 700px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 178, 27, 0.12) 0%, transparent 65%);
  pointer-events: none;
  z-index: -1;
}

/* ---- Top CTA strip ---- */
.ftr-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.75rem, 3vw, 2.75rem);
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
  background: linear-gradient(120deg, rgba(255, 178, 27, 0.14), rgba(255, 178, 27, 0.04));
  border: 1px solid rgba(255, 178, 27, 0.25);
  border-radius: 22px;
}

.ftr-cta-text h3 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--white-color);
}

.ftr-cta-text p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--muted-color);
}

/* ---- Main grid ---- */
.ftr-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.ftr-logo {
  height: 48px;
  width: auto;
  margin-bottom: 1.3rem;
}

.ftr-about {
  max-width: 320px;
  margin: 0 0 1.5rem;
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.8;
  color: #fff;
}

.ftr-social {
  display: flex;
  gap: 0.6rem;
}

.ftr-social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  font-size: 0.82rem;
  color: var(--white-color);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  transition: var(--transition);
}

.ftr-social a:hover {
  color: var(--dark-color);
  background: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-3px);
}

.ftr-heading {
  margin: 0 0 1.4rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-color);
}

.ftr-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ftr-list a {
  position: relative;
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 400;
  color: #fff;
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.ftr-list a::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 50%;
  width: 0;
  height: 1px;
  background: var(--accent-color);
  transform: translateY(-50%);
  transition: width 0.25s ease;
}

.ftr-list a:hover {
  color: var(--white-color);
  padding-left: 6px;
}

.ftr-list a:hover::before {
  width: 10px;
}

.ftr-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.ftr-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.ftr-contact-list i {
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  color: var(--accent-color);
  background: rgb(255, 255, 255);
  border-radius: 9px;
  margin-top: 0.1rem;
}

.ftr-contact-list span,
.ftr-contact-list a {
  font-size: 0.86rem;
  font-weight: 300;
  line-height: 1.6;
  color: #fff;
}

.ftr-contact-list a {
  transition: color 0.25s ease;
}

.ftr-contact-list a:hover {
  color: var(--accent-color);
}

/* ---- Bottom bar ---- */
.ftr-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ftr-copyright {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--muted-color);
}

.ftr-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ftr-legal a {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--muted-color);
  transition: color 0.25s ease;
}

.ftr-legal a:hover {
  color: var(--accent-color);
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
  .ftr-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 2.5rem;
  }

  .ftr-col--brand {
    grid-column: span 2;
  }

  .ftr-about {
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {
  .ftr-cta {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 575.98px) {
  .ftr-grid {
    grid-template-columns: 1fr;
  }

  .ftr-col--brand {
    grid-column: span 1;
  }

  .ftr-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .ftr-legal {
    gap: 1.1rem;
  }
}