/* ==========================================================================
   Macaw Bytes - Corporate minimal mood (dark)
   Brand accents from logo: blue · green · yellow
   Shared chrome: home … article detail + blog listing
   ========================================================================== */

:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) {
  --home-ink: #f2f4f6;
  --home-muted: #9aa3ad;
  --home-line: rgba(255, 255, 255, 0.09);
  --home-surface: #14181e;
  --home-surface-2: #1a1f27;
  --home-bg: #0b0d10;
  --home-blue: #4aa8e0;
  --home-green: #2eae4e;
  --home-yellow: #f0b429;
  --home-accent: var(--home-green);
  --home-accent-hover: #3bc45f;
  --text-main: var(--home-ink);
  --text-muted: var(--home-muted);
  --accent-primary: var(--home-green);
  --accent-primary-hover: var(--home-accent-hover);
  --bg-dark: var(--home-bg);
  --bg-surface: var(--home-surface);
  --bg-surface-light: var(--home-surface-2);
  --border-subtle: var(--home-line);
  --glass-bg: rgba(20, 24, 30, 0.72);
  --glow-effect: transparent;
  background-color: var(--home-bg);
  background-image:
    radial-gradient(ellipse 75% 45% at 15% -10%, rgba(74, 168, 224, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 40% at 95% 5%, rgba(46, 174, 78, 0.1), transparent 50%),
    radial-gradient(ellipse 50% 35% at 50% 100%, rgba(240, 180, 41, 0.06), transparent 45%);
  background-attachment: fixed;
  color: var(--home-ink);
}

:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) a:not(.btn):not(.mb-sticky-cta__btn):not(.nav-link):not(.nav-sublink):not(.social-icon) {
  color: var(--home-green);
}

:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) a:not(.btn):not(.mb-sticky-cta__btn):not(.nav-link):not(.nav-sublink):not(.social-icon):hover {
  color: var(--home-accent-hover);
}

/* Header - homepage */
:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .header {
  background: rgba(11, 13, 16, 0.9) !important;
  border-bottom: 1px solid var(--home-line) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .header.scrolled,
:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .header.menu-open {
  background: rgba(11, 13, 16, 0.97) !important;
}

:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .header .nav-link {
  color: var(--home-ink) !important;
}

:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .header .nav-link:hover {
  color: #fff !important;
}

:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .header .nav-link.active {
  color: var(--home-green) !important;
}

:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .header .logo__wordmark,
:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .header .logo img:last-child {
  filter: brightness(0) invert(1) !important;
}

:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .header .btn-primary,
:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .header-cta {
  background: var(--home-green);
  color: #0b0d10;
  border-color: var(--home-green);
}

:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .header .btn-primary:hover,
:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .header-cta:hover {
  background: var(--home-accent-hover);
  color: #0b0d10;
}

:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .menu-toggle {
  border-color: var(--home-line);
}

:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .menu-toggle span {
  background: var(--home-ink);
}

@media (max-width: 1100px) {
  :is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .nav-menu {
    background: rgba(11, 13, 16, 0.62) !important;
    z-index: 1002 !important;
  }
  :is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .nav-menu__panel {
    background:
      radial-gradient(ellipse 80% 40% at 100% 0%, rgba(74, 168, 224, 0.14), transparent 55%),
      radial-gradient(ellipse 60% 35% at 0% 100%, rgba(46, 174, 78, 0.1), transparent 50%),
      #0b0d10 !important;
    border-left-color: var(--home-line);
  }
  :is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .nav-menu .nav-link {
    color: var(--home-ink) !important;
  }
  :is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .nav-menu .nav-link.active {
    color: #fff !important;
  }
  :is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .nav-menu__cta {
    background: var(--home-green) !important;
    color: #0b0d10 !important;
  }
  :is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .nav-menu__meta a:hover {
    color: var(--home-green) !important;
  }
  :is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .menu-toggle {
    z-index: 1004 !important;
  }
}

/* Buttons */
:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .btn-primary {
  background: var(--home-green);
  color: #0b0d10;
  border: 1px solid var(--home-green);
  border-radius: 6px;
  font-weight: 600;
  box-shadow: none;
}

:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .btn-primary:hover {
  background: var(--home-accent-hover);
  color: #0b0d10;
  border-color: var(--home-accent-hover);
}

:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .btn-outline {
  background: transparent;
  color: var(--home-ink);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
}

:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .btn-outline:hover {
  border-color: var(--home-green);
  color: var(--home-green);
  background: rgba(46, 174, 78, 0.1);
}

/* ---- Hero: centered, colour field (no photo) ---- */
.home-hero {
  position: relative;
  min-height: min(88svh, 760px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6.75rem 0 2.5rem; /* clear fixed header + air above pretile */
  overflow: hidden;
  border-bottom: 1px solid var(--home-line);
  text-align: center;
  background:
    linear-gradient(165deg, #0a1218 0%, #0b0d10 42%, #0c1410 100%);
}

.home-hero__glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 50% at 18% 28%, rgba(74, 168, 224, 0.32), transparent 62%),
    radial-gradient(ellipse 50% 48% at 82% 22%, rgba(46, 174, 78, 0.26), transparent 60%),
    radial-gradient(ellipse 45% 40% at 50% 88%, rgba(240, 180, 41, 0.14), transparent 55%),
    radial-gradient(circle 28% at 50% 42%, rgba(74, 168, 224, 0.08), transparent 70%);
}

.home-hero__glow::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 70%;
  background: linear-gradient(
    105deg,
    transparent 10%,
    rgba(74, 168, 224, 0.07) 35%,
    rgba(46, 174, 78, 0.08) 55%,
    rgba(240, 180, 41, 0.05) 72%,
    transparent 90%
  );
  filter: blur(40px);
  opacity: 0.9;
}

.home-hero__glow::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%);
  opacity: 0.55;
}

.home-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 58rem;
  margin-left: auto;
  margin-right: auto;
  padding: 1.75rem 0 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.home-brand {
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 0.35rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  background: linear-gradient(90deg, var(--home-blue), var(--home-green) 48%, var(--home-yellow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-hero h1 {
  max-width: 22ch;
  font-size: clamp(2.4rem, 5.2vw, 3.65rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0 auto 1.25rem;
  color: var(--home-ink);
  text-wrap: balance;
}

.home-hero__lede {
  max-width: 46rem;
  font-size: clamp(1.05rem, 1.45vw, 1.2rem);
  color: #b4bcc6;
  margin: 0 auto 2.25rem;
  line-height: 1.65;
  text-wrap: pretty;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  align-items: center;
}

/* Section chrome */
.home-section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  border-bottom: 1px solid var(--home-line);
}

.home-section--muted {
  background: rgba(20, 24, 30, 0.55);
}

.home-kicker {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--home-blue);
  margin-bottom: 0.75rem;
}

.home-section h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
  max-width: 22ch;
  color: var(--home-ink);
}

.home-section__intro {
  color: var(--home-muted);
  max-width: 36rem;
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

.home-section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.home-section__head .home-section__intro {
  margin-bottom: 0;
}

/* Clients - infinite RTL marquee */
.home-clients {
  padding: 2.35rem 0 2.5rem;
  border-bottom: 1px solid var(--home-line);
  background: rgba(20, 24, 30, 0.35);
  overflow: hidden;
}

.home-clients__label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--home-muted);
  margin: 0 auto 1.5rem;
  padding: 0 1.25rem;
}

.home-clients__marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.home-clients__track {
  display: flex;
  width: max-content;
  animation: home-clients-marquee 35s linear infinite;
}

.home-clients__marquee:hover .home-clients__track {
  animation-play-state: paused;
}

.home-clients__group {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding-right: 3rem;
  flex-shrink: 0;
}

.home-clients__group img {
  max-height: 36px;
  max-width: 110px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.55;
  filter: grayscale(1) brightness(1.35);
  transition: opacity 0.25s ease, filter 0.25s ease;
  flex-shrink: 0;
}

.home-clients__group img:hover {
  opacity: 0.95;
  filter: grayscale(0) brightness(1.1);
}

@keyframes home-clients-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .home-clients__track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    gap: 1.5rem 2rem;
    padding: 0 1.25rem;
  }
  .home-clients__group:last-child {
    display: none;
  }
  .home-clients__group {
    flex-wrap: wrap;
    justify-content: center;
    padding-right: 0;
    gap: 1.5rem 2rem;
  }
  .home-clients__marquee {
    mask-image: none;
    -webkit-mask-image: none;
  }
}

/* Services - infinite RTL slider */
.home-section--services {
  overflow: hidden;
}

.home-section--services .home-section__head {
  margin-bottom: 2.25rem;
}

.home-services-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.home-services-track {
  display: flex;
  width: max-content;
  animation: home-services-marquee 55s linear infinite;
}

.home-services-marquee:hover .home-services-track {
  animation-play-state: paused;
}

.home-services-group {
  display: flex;
  gap: 1rem;
  padding-right: 1rem;
  flex-shrink: 0;
}

.home-service {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  width: min(320px, 78vw);
  min-height: 260px;
  padding: 1.5rem 1.4rem 1.35rem;
  color: inherit;
  text-decoration: none;
  background: rgba(11, 13, 16, 0.45);
  border: 1px solid var(--home-line);
  border-radius: 8px;
  overflow: hidden;
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

.home-service::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--home-blue), var(--home-green) 55%, var(--home-yellow));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.home-service:hover,
.home-service:focus-visible {
  color: inherit;
  border-color: rgba(74, 168, 224, 0.35);
  background:
    linear-gradient(145deg, rgba(74, 168, 224, 0.1), rgba(46, 174, 78, 0.06) 55%, rgba(11, 13, 16, 0.5));
  transform: translateY(-2px);
  outline: none;
}

.home-service:hover::before,
.home-service:focus-visible::before {
  opacity: 1;
}

.home-service__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.15rem;
}

.home-service__num {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--home-muted);
}

.home-service__icon {
  font-size: 1.35rem;
  line-height: 1;
  color: var(--home-blue);
  opacity: 0.9;
  transition: color 0.25s ease, transform 0.25s ease;
}

.home-service:hover .home-service__icon {
  color: var(--home-green);
  transform: translateY(-1px);
}

.home-service h3 {
  font-size: 1.2rem;
  margin-bottom: 0.55rem;
  color: var(--home-ink);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.home-service p {
  color: var(--home-muted);
  font-size: 0.94rem;
  margin: 0;
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-service__go {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.15rem;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--home-green);
  transition: gap 0.25s ease;
}

.home-service__go i {
  font-size: 0.85rem;
  transition: transform 0.25s ease;
}

.home-service:hover .home-service__go {
  gap: 0.55rem;
}

.home-service:hover .home-service__go i {
  transform: translateX(2px);
}

@keyframes home-services-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .home-services-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    padding: 0 1.25rem;
    gap: 1rem;
  }
  .home-services-group:last-child {
    display: none;
  }
  .home-services-group {
    flex-wrap: wrap;
    justify-content: center;
    padding-right: 0;
    gap: 1rem;
  }
  .home-services-marquee {
    mask-image: none;
    -webkit-mask-image: none;
  }
  .home-service,
  .home-service__icon,
  .home-service__go,
  .home-service__go i {
    transition: none;
  }
  .home-service:hover,
  .home-service:focus-visible {
    transform: none;
  }
}

/* Portfolio - 3×2 featured grid (future-proof) */
.home-work {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.home-work__item {
  position: relative;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  background: rgba(11, 13, 16, 0.45);
  border: 1px solid var(--home-line);
  border-radius: 8px;
  overflow: hidden;
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

.home-work__item:hover,
.home-work__item:focus-visible {
  color: inherit;
  border-color: rgba(74, 168, 224, 0.35);
  background: linear-gradient(160deg, rgba(74, 168, 224, 0.08), rgba(46, 174, 78, 0.05) 50%, rgba(11, 13, 16, 0.55));
  transform: translateY(-2px);
  outline: none;
}

.home-work__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(74, 168, 224, 0.18), transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(46, 174, 78, 0.12), transparent 50%),
    var(--home-surface-2);
  position: relative;
}

.home-work__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-work__placeholder {
  width: 100%;
  height: 100%;
  min-height: 160px;
  background: linear-gradient(135deg, rgba(74, 168, 224, 0.15), rgba(46, 174, 78, 0.1));
}

.home-work__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(11, 13, 16, 0.55) 100%);
  opacity: 0.65;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.home-work__item:hover .home-work__media img {
  transform: scale(1.045);
}

.home-work__item:hover .home-work__shade {
  opacity: 0.35;
}

.home-work__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.15rem 1.2rem 1.25rem;
}

.home-work__meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.home-work__meta {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--home-blue);
  padding: 0.26rem 0.5rem;
  border: 1px solid rgba(74, 168, 224, 0.28);
  border-radius: 4px;
  background: rgba(74, 168, 224, 0.08);
}

.home-work__item h3 {
  font-size: 1.12rem;
  margin-bottom: 0.45rem;
  color: var(--home-ink);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.home-work__item p {
  font-size: 0.92rem;
  color: var(--home-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.55;
  flex: 1;
}

.home-work__go {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--home-green);
  transition: gap 0.25s ease;
}

.home-work__go i {
  font-size: 0.85rem;
  transition: transform 0.25s ease;
}

.home-work__item:hover .home-work__go {
  gap: 0.55rem;
}

.home-work__item:hover .home-work__go i {
  transform: translateX(2px);
}

.home-work__empty {
  grid-column: 1 / -1;
  color: var(--home-muted);
  padding: 2.5rem 1.5rem;
  text-align: center;
  border: 1px dashed var(--home-line);
  border-radius: 8px;
  background: rgba(20, 24, 30, 0.4);
}

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

@media (max-width: 640px) {
  .home-work {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-work__item,
  .home-work__media img,
  .home-work__go,
  .home-work__go i,
  .home-work__shade {
    transition: none;
  }
  .home-work__item:hover,
  .home-work__item:focus-visible {
    transform: none;
  }
  .home-work__item:hover .home-work__media img {
    transform: none;
  }
}

/* Why Macaw Bytes */
.home-why {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.home-why__card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.55rem 1.4rem 1.5rem;
  background: rgba(11, 13, 16, 0.45);
  border: 1px solid var(--home-line);
  border-radius: 8px;
  overflow: hidden;
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

.home-why__card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--home-blue), var(--home-green) 55%, var(--home-yellow));
  opacity: 0.55;
  transition: opacity 0.25s ease;
}

.home-why__card:hover {
  border-color: rgba(74, 168, 224, 0.35);
  background: linear-gradient(145deg, rgba(74, 168, 224, 0.1), rgba(46, 174, 78, 0.06) 55%, rgba(11, 13, 16, 0.5));
  transform: translateY(-2px);
}

.home-why__card:hover::before {
  opacity: 1;
}

.home-why__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.home-why__num {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--home-yellow);
  display: block;
  margin-bottom: 0;
}

.home-why__icon {
  font-size: 1.4rem;
  line-height: 1;
  color: var(--home-blue);
  opacity: 0.9;
  transition: color 0.25s ease, transform 0.25s ease;
}

.home-why__card:hover .home-why__icon {
  color: var(--home-green);
  transform: translateY(-1px);
}

.home-why__card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  color: var(--home-ink);
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.home-why__card p {
  color: var(--home-muted);
  font-size: 0.98rem;
  margin: 0;
  line-height: 1.65;
  flex: 1;
}

@media (max-width: 900px) {
  .home-why {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-why__card,
  .home-why__icon {
    transition: none;
  }
  .home-why__card:hover {
    transform: none;
  }
}

/* Process - 3×2 step grid */
.home-process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: none;
}

.home-process__step {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.45rem 1.3rem 1.4rem;
  background: rgba(11, 13, 16, 0.45);
  border: 1px solid var(--home-line);
  border-radius: 8px;
  overflow: hidden;
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

.home-process__step::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--home-blue), var(--home-green) 55%, var(--home-yellow));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.home-process__step:hover {
  border-color: rgba(74, 168, 224, 0.35);
  background: linear-gradient(145deg, rgba(74, 168, 224, 0.1), rgba(46, 174, 78, 0.06) 55%, rgba(11, 13, 16, 0.5));
  transform: translateY(-2px);
}

.home-process__step:hover::after {
  opacity: 1;
}

.home-process__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--home-blue);
  border: 1px solid rgba(74, 168, 224, 0.35);
  background: rgba(74, 168, 224, 0.08);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.home-process__step:hover .home-process__num {
  color: #0b0d10;
  border-color: var(--home-green);
  background: var(--home-green);
}

.home-process__step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--home-ink);
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.home-process__step p {
  font-size: 0.94rem;
  color: var(--home-muted);
  margin: 0;
  line-height: 1.6;
  flex: 1;
}

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

@media (max-width: 560px) {
  .home-process {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-process__step,
  .home-process__num {
    transition: none;
  }
  .home-process__step:hover {
    transform: none;
  }
}

/* Industries - sector grid */
.home-industries {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.home-industry {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.35rem 1.25rem 1.3rem;
  color: inherit;
  text-decoration: none;
  background: rgba(11, 13, 16, 0.45);
  border: 1px solid var(--home-line);
  border-radius: 8px;
  overflow: hidden;
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

.home-industry::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--home-blue), var(--home-green) 55%, var(--home-yellow));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.home-industry:hover,
.home-industry:focus-visible {
  color: inherit;
  border-color: rgba(74, 168, 224, 0.35);
  background: linear-gradient(145deg, rgba(74, 168, 224, 0.1), rgba(46, 174, 78, 0.06) 55%, rgba(11, 13, 16, 0.5));
  transform: translateY(-2px);
  outline: none;
}

.home-industry:hover::before,
.home-industry:focus-visible::before {
  opacity: 1;
}

.home-industry__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.home-industry__num {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--home-muted);
}

.home-industry__icon {
  font-size: 1.3rem;
  line-height: 1;
  color: var(--home-blue);
  transition: color 0.25s ease, transform 0.25s ease;
}

.home-industry:hover .home-industry__icon {
  color: var(--home-green);
  transform: translateY(-1px);
}

.home-industry h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--home-ink);
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.home-industry p {
  color: var(--home-muted);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.55;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-industry__go {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--home-green);
  transition: gap 0.25s ease;
}

.home-industry__go i {
  font-size: 0.85rem;
  transition: transform 0.25s ease;
}

.home-industry:hover .home-industry__go {
  gap: 0.55rem;
}

.home-industry:hover .home-industry__go i {
  transform: translateX(2px);
}

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

@media (max-width: 560px) {
  .home-industries {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-industry,
  .home-industry__icon,
  .home-industry__go,
  .home-industry__go i {
    transition: none;
  }
  .home-industry:hover,
  .home-industry:focus-visible {
    transform: none;
  }
}

/* Insights - article cards with media */
.home-insights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.home-insight {
  position: relative;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  background: rgba(11, 13, 16, 0.45);
  border: 1px solid var(--home-line);
  border-radius: 8px;
  overflow: hidden;
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

.home-insight:hover,
.home-insight:focus-visible {
  color: inherit;
  border-color: rgba(74, 168, 224, 0.35);
  background: linear-gradient(160deg, rgba(74, 168, 224, 0.08), rgba(46, 174, 78, 0.05) 50%, rgba(11, 13, 16, 0.55));
  transform: translateY(-2px);
  outline: none;
}

.home-insight__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--home-surface-2);
}

.home-insight__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-insight__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11, 13, 16, 0.5) 100%);
  opacity: 0.7;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.home-insight__category {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  z-index: 1;
  max-width: calc(100% - 1.7rem);
  padding: 0.28rem 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(11, 13, 16, 0.72);
  backdrop-filter: blur(6px);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--home-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-insight:hover .home-insight__media img {
  transform: scale(1.045);
}

.home-insight:hover .home-insight__shade {
  opacity: 0.35;
}

.home-insight__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.15rem 1.2rem 1.25rem;
}

.home-insight__meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.home-insight time {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--home-blue);
}

.home-insight__read {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--home-muted);
  white-space: nowrap;
}

.home-insight__index {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--home-muted);
}

.home-insight h3 {
  font-size: 1.12rem;
  margin-bottom: 0.5rem;
  color: var(--home-ink);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.home-insight p {
  font-size: 0.92rem;
  color: var(--home-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.55;
  flex: 1;
}

.home-insight__go {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--home-green);
  transition: gap 0.25s ease;
}

.home-insight__go i {
  font-size: 0.85rem;
  transition: transform 0.25s ease;
}

.home-insight:hover .home-insight__go {
  gap: 0.55rem;
}

.home-insight:hover .home-insight__go i {
  transform: translateX(2px);
}

@media (max-width: 900px) {
  .home-insights {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-insight,
  .home-insight__media img,
  .home-insight__go,
  .home-insight__go i,
  .home-insight__shade {
    transition: none;
  }
  .home-insight:hover,
  .home-insight:focus-visible {
    transform: none;
  }
  .home-insight:hover .home-insight__media img {
    transform: none;
  }
}

/* FAQ - homepage polish */
:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .mb-faq-section {
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
  background: rgba(20, 24, 30, 0.35);
}

:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .mb-faq-list {
  max-width: none;
  width: 100%;
}

:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .mb-faq-head {
  max-width: 40rem;
}

:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .section-tag,
:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .mb-faq-head .home-kicker {
  color: var(--home-blue) !important;
}

:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) #faq .section-title {
  color: var(--home-ink);
  max-width: 18ch;
}

:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .mb-faq-intro {
  color: var(--home-muted);
}

:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .mb-faq-item {
  border-color: var(--home-line) !important;
  background: rgba(11, 13, 16, 0.45) !important;
  border-radius: 8px !important;
}

:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .mb-faq-item[open] {
  border-color: rgba(74, 168, 224, 0.35) !important;
  background: linear-gradient(145deg, rgba(74, 168, 224, 0.1), rgba(46, 174, 78, 0.06) 55%, rgba(11, 13, 16, 0.5)) !important;
}

:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .mb-faq-item summary {
  color: var(--home-ink) !important;
}

:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .mb-faq-num {
  color: var(--home-yellow) !important;
}

:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .mb-faq-toggle {
  border-color: var(--home-line);
}

:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .mb-faq-toggle::before,
:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .mb-faq-toggle::after {
  background: var(--home-ink);
}

:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .mb-faq-item[open] .mb-faq-toggle {
  border-color: var(--home-green);
  background: rgba(46, 174, 78, 0.15);
}

:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .mb-faq-answer,
:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .mb-faq-answer p {
  color: var(--home-muted) !important;
}

/* Final CTA */
.home-cta {
  position: relative;
  padding: clamp(3.5rem, 8vw, 5.5rem) 0 clamp(4.5rem, 9vw, 6.5rem);
  text-align: center;
  overflow: hidden;
  border-bottom: none;
}

.home-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 60% at 20% 40%, rgba(74, 168, 224, 0.16), transparent 60%),
    radial-gradient(ellipse 50% 55% at 85% 55%, rgba(46, 174, 78, 0.14), transparent 58%),
    radial-gradient(ellipse 40% 40% at 50% 100%, rgba(240, 180, 41, 0.08), transparent 55%);
  z-index: 0;
  pointer-events: none;
}

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

.home-cta__panel {
  position: relative;
  max-width: 52rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem);
  background: rgba(11, 13, 16, 0.65);
  border: 1px solid var(--home-line);
  border-radius: 12px;
  overflow: hidden;
}

.home-cta__panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--home-blue), var(--home-green) 50%, var(--home-yellow));
}

.home-cta__kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--home-blue);
  margin-bottom: 1rem;
}

.home-cta h2 {
  max-width: 18ch;
  margin: 0 auto 0.9rem;
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--home-ink);
  text-wrap: balance;
}

.home-cta p {
  color: var(--home-muted);
  margin: 0 auto 1.85rem;
  max-width: 36rem;
  font-size: 1.08rem;
  line-height: 1.65;
}

.home-cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.home-cta__btn {
  min-height: 48px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.home-cta__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.55rem 0.85rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--home-line);
  font-size: 0.9rem;
  color: var(--home-muted);
}

.home-cta__meta a {
  color: var(--home-ink) !important;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.home-cta__meta a:hover {
  color: var(--home-green) !important;
}

.home-cta__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .home-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .home-cta__btn {
    width: 100%;
    justify-content: center;
  }
  .home-cta__dot {
    display: none;
  }
  .home-cta__meta {
    flex-direction: column;
    gap: 0.45rem;
  }
}

:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .footer {
  background: #07090b !important;
  color: #e8ecea;
  border-top-color: var(--home-line);
}

/* Beat global green content-link rule: muted default, green hover, brighter active */
:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .footer a:not(.btn):not(.social-icon) {
  color: var(--home-muted) !important;
}

:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .footer a:not(.btn):not(.social-icon):hover,
:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .footer a:not(.btn):not(.social-icon):focus-visible {
  color: var(--home-green) !important;
}

:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .footer a:not(.btn):not(.social-icon):active,
:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .footer a.is-active:not(.btn):not(.social-icon),
:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .footer a[aria-current="page"]:not(.btn):not(.social-icon) {
  color: var(--home-accent-hover) !important;
}

:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .footer-links__more {
  color: var(--home-green) !important;
}

:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .footer-links__more:hover,
:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .footer-links__more:focus-visible {
  color: var(--home-accent-hover) !important;
}

:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .footer-locations a:not(.btn) {
  color: var(--home-muted) !important;
  border-color: var(--home-line);
  background: rgba(255, 255, 255, 0.02);
}

:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .footer-locations a:not(.btn):hover,
:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .footer-locations a:not(.btn):focus-visible {
  color: var(--home-green) !important;
  border-color: rgba(46, 174, 78, 0.45);
  background: rgba(46, 174, 78, 0.08);
}

:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .footer-locations a.is-active:not(.btn),
:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .footer-locations a[aria-current="page"]:not(.btn) {
  color: var(--home-accent-hover) !important;
  border-color: rgba(46, 174, 78, 0.55);
  background: rgba(46, 174, 78, 0.12);
}

:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .footer-wa.btn-outline {
  color: var(--home-ink) !important;
  border-color: rgba(255, 255, 255, 0.22);
}

:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .footer-wa.btn-outline:hover,
:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .footer-wa.btn-outline:focus-visible {
  color: var(--home-green) !important;
  border-color: var(--home-green);
}

:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .footer .social-icon {
  color: var(--home-ink) !important;
}

:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .footer .social-icon:hover,
:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .footer .social-icon:focus-visible {
  color: var(--home-green) !important;
}

:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .mb-sticky-cta {
  border-top-color: var(--home-line);
  background: rgba(11, 13, 16, 0.96);
}

:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .mb-sticky-cta__btn {
  color: var(--home-ink) !important;
  background: var(--home-surface-2);
  border-color: var(--home-line);
  font-weight: 600;
}

:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .mb-sticky-cta__btn--primary {
  background: var(--home-green) !important;
  color: #061008 !important;
  border-color: var(--home-green) !important;
  font-weight: 700;
  letter-spacing: 0.02em;
}

:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .mb-sticky-cta__btn--primary:hover,
:is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .mb-sticky-cta__btn--primary:focus-visible {
  background: var(--home-accent-hover) !important;
  color: #061008 !important;
}

/* Motion */
@keyframes home-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero must stay readable without JS (reveal-on-scroll defaults to opacity:0 in style.css) */
.home-hero__inner.reveal-on-scroll,
.home-hero__inner.is-visible,
.home-hero__inner.reveal-on-scroll.fade-in-up,
.home-hero__inner.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: none;
}

.home-hero__inner.is-visible,
.home-hero__inner.reveal-on-scroll.is-visible {
  animation: home-rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__inner.is-visible,
  .home-hero__inner.reveal-on-scroll.is-visible {
    animation: none;
  }
}

@media (max-width: 900px) {
  .home-hero {
    min-height: min(82svh, 680px);
  }
  .home-hero h1 {
    max-width: 28ch;
  }
  .home-hero__glow::after {
    background-size: 48px 48px;
  }
}

@media (max-width: 600px) {
  .home-process {
    grid-template-columns: 1fr;
  }
  .home-hero__actions {
    width: 100%;
  }
  .home-hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Homepage - mobile optimization
   ========================================================================== */
@media (max-width: 768px) {
  :is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) {
    background-attachment: scroll;
    overflow-x: hidden;
  }

  :is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .container {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  :is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .header-offset {
    height: 70px;
  }

  /* Hero */
  .home-hero {
    min-height: auto;
    padding: 5.5rem 0 0.25rem;
  }

  .home-hero__inner {
    padding: 1.25rem 0 3rem;
    max-width: none;
  }

  .home-brand {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    margin-top: 0.25rem;
    margin-bottom: 1rem;
  }

  .home-hero h1 {
    max-width: none;
    font-size: clamp(1.85rem, 7.5vw, 2.35rem);
    line-height: 1.15;
    margin-bottom: 0.95rem;
    padding: 0 0.15rem;
  }

  .home-hero__lede {
    max-width: none;
    font-size: 1.02rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
  }

  .home-hero__actions {
    gap: 0.65rem;
  }

  .home-hero__actions .btn {
    min-height: 48px;
    font-size: 0.95rem;
  }

  .home-hero__glow::after {
    background-size: 40px 40px;
    opacity: 0.35;
  }

  /* Sections */
  .home-section {
    padding: 3.25rem 0;
  }

  .home-section--services {
    padding-bottom: 2.75rem;
  }

  .home-section__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.15rem;
    margin-bottom: 1.65rem;
  }

  .home-section__head .btn {
    width: 100%;
    justify-content: center;
    min-height: 46px;
  }

  .home-section h2 {
    max-width: none;
    font-size: clamp(1.55rem, 6vw, 1.9rem);
  }

  .home-section__intro {
    margin-bottom: 0;
    font-size: 1rem;
    max-width: none;
  }

  .home-section--services .home-section__head {
    margin-bottom: 1.75rem;
  }

  /* Clients marquee */
  .home-clients {
    padding: 1.75rem 0 1.85rem;
  }

  .home-clients__label {
    font-size: 0.7rem;
    margin-bottom: 1.15rem;
  }

  .home-clients__group {
    gap: 2.25rem;
    padding-right: 2.25rem;
  }

  .home-clients__group img {
    max-height: 30px;
    max-width: 96px;
  }

  .home-clients__track {
    animation-duration: 28s;
  }

  /* Services slider */
  .home-services-marquee {
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  }

  .home-services-track {
    animation-duration: 42s;
  }

  .home-service {
    width: min(280px, 82vw);
    min-height: 240px;
    padding: 1.25rem 1.15rem 1.2rem;
  }

  .home-service h3 {
    font-size: 1.08rem;
  }

  .home-service p {
    font-size: 0.9rem;
    -webkit-line-clamp: 3;
  }

  /* Portfolio / industries / insights cards */
  .home-work,
  .home-industries,
  .home-insights,
  .home-why,
  .home-process {
    gap: 0.85rem;
  }

  .home-work__body,
  .home-insight__body {
    padding: 1rem 1.05rem 1.1rem;
  }

  .home-work__item h3,
  .home-insight h3 {
    font-size: 1.05rem;
  }

  .home-industry,
  .home-why__card,
  .home-process__step {
    padding: 1.2rem 1.1rem 1.15rem;
  }

  /* FAQ touch targets */
  :is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .mb-faq-item summary {
    padding: 1.05rem 1rem;
    min-height: 52px;
    font-size: 0.98rem;
  }

  :is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .mb-faq-answer {
    padding: 0 1rem 1.15rem 1rem !important;
  }

  :is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .mb-faq-section {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }

  :is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .mb-faq-head {
    margin-bottom: 1.5rem;
  }

  :is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) #faq .section-title {
    max-width: none;
    font-size: clamp(1.55rem, 6vw, 1.9rem);
  }

  /* Final CTA */
  .home-cta {
    padding: 2.5rem 0 3.25rem;
  }

  .home-cta__panel {
    padding: 1.85rem 1.2rem 1.75rem;
    border-radius: 10px;
  }

  .home-cta h2 {
    max-width: none;
    font-size: clamp(1.55rem, 6.5vw, 2rem);
  }

  .home-cta p {
    font-size: 1rem;
    margin-bottom: 1.45rem;
  }

  .home-cta__meta {
    margin-top: 1.35rem;
    padding-top: 1.2rem;
    font-size: 0.86rem;
  }

  /* Sticky bar clearance */
  :is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) {
    padding-bottom: calc(var(--sticky-cta-height, 64px) + env(safe-area-inset-bottom, 0px));
  }

  :is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .footer {
    padding-bottom: 1.5rem;
  }

  :is(body.page-home, body.page-about, body.page-services, body.page-portfolio, body.page-pricing, body.page-faq, body.page-contact, body.page-service, body.page-project, body.page-article, body.page-blog, body.page-team, body.page-process, body.page-industries, body.page-industry, body.page-testimonials, body.page-careers, body.page-thanks, body.page-legal, body.page-location, body.page-gcc, body.page-404) .mb-sticky-cta__btn {
    min-height: 44px;
    font-size: 0.82rem;
  }
}

@media (max-width: 480px) {
  .home-hero {
    padding-top: 5.25rem;
  }

  .home-hero__inner {
    padding: 1rem 0 2.5rem;
  }

  .home-hero h1 {
    font-size: 1.75rem;
  }

  .home-hero__lede {
    font-size: 0.98rem;
  }

  .home-section {
    padding: 2.85rem 0;
  }

  .home-service {
    width: min(260px, 85vw);
    min-height: 230px;
  }

  .home-services-track {
    animation-duration: 38s;
  }

  .home-clients__track {
    animation-duration: 24s;
  }

  .home-work__meta,
  .home-insight time {
    font-size: 0.68rem;
  }

  .home-cta__panel {
    padding: 1.6rem 1rem 1.5rem;
  }
}

@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
  .home-services-track,
  .home-clients__track {
    animation: none;
  }
}
