/* Robust Arrcademy-style landing hero. Loaded after main.css. */
#intro.hero-section {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  height: 100vh !important;
  min-height: 100vh !important;
  padding: 0 !important;
  overflow: hidden !important;
  isolation: isolate !important;
  background: #343434 !important;
  background-image: none !important;
}

#intro.hero-section::before {
  display: none !important;
  content: none !important;
}

#intro.hero-section > video.hero-video {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  min-width: 100% !important;
  min-height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

#intro.hero-section > .hero-overlay {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  z-index: 1 !important;
  pointer-events: none !important;
  background:
    linear-gradient(90deg, rgba(42,42,42,.74) 0%, rgba(62,62,62,.58) 48%, rgba(78,78,78,.48) 100%),
    rgba(80,80,80,.18) !important;
}

#intro.hero-section::after {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  z-index: 2 !important;
  pointer-events: none !important;
  background: linear-gradient(0deg, rgba(10,10,10,.34), transparent 55%, rgba(10,10,10,.16)) !important;
}

#intro.hero-section > .inner.hero-content {
  position: relative !important;
  display: block !important;
  z-index: 3 !important;
  width: min(900px, calc(100% - 6rem)) !important;
  max-width: 900px !important;
  margin: 0 !important;
  padding: 4rem 3rem 4rem 6rem !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

#intro.hero-section .hero-eyebrow,
#intro.hero-section h1,
#intro.hero-section p,
#intro.hero-section .actions {
  position: relative !important;
  z-index: 4 !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

#intro.hero-section h1 {
  color: #fff !important;
  text-shadow: 0 2px 24px rgba(0,0,0,.28);
}

#intro.hero-section p {
  color: rgba(255,255,255,.88) !important;
  text-shadow: 0 1px 16px rgba(0,0,0,.3);
}

#intro.hero-section > .hero-scroll {
  position: absolute !important;
  z-index: 4 !important;
}

@media screen and (max-width: 980px) {
  #intro.hero-section > .inner.hero-content {
    width: calc(100% - 4rem) !important;
    padding: 4rem 2rem !important;
  }
}

@media screen and (max-width: 736px) {
  #intro.hero-section {
    height: 100svh !important;
    min-height: 100svh !important;
  }
  #intro.hero-section > .inner.hero-content {
    width: 100% !important;
    padding: 5rem 1.5rem 3rem !important;
  }
  #intro.hero-section > .hero-overlay {
    background: rgba(45,45,45,.66) !important;
  }
}

/* Imito brand and partner presentation */
#sidebar .sidebar-brand {
  padding: 0 0 2.5rem !important;
  text-align: center !important;
}

#sidebar .sidebar-brand img {
  display: block !important;
  width: 235px !important;
  max-width: 92% !important;
  height: auto !important;
  margin: 0 auto !important;
}

#intro .hero-partners {
  width: 100% !important;
  margin: 3.25rem auto 0 !important;
  text-align: center !important;
}

#intro .hero-partners h2 {
  margin: 0 0 1.4rem !important;
  color: #fff !important;
  font-size: .82rem !important;
  font-weight: 700 !important;
  letter-spacing: .28em !important;
  text-transform: uppercase !important;
  text-align: center !important;
}

#intro .hero-partners-grid {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 2rem 3rem !important;
  width: 100% !important;
  margin: 0 auto !important;
}

#intro .hero-partner-logo {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transition: transform .25s ease !important;
}

#intro .hero-partner-logo img {
  display: block !important;
  width: auto !important;
  height: 92px !important;
  max-width: 190px !important;
  object-fit: contain !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  filter: grayscale(100%) !important;
  opacity: .78 !important;
  transition: filter .3s ease, opacity .3s ease, transform .3s ease !important;
}

#intro .hero-partner-logo:hover {
  transform: translateY(-3px) !important;
  background: transparent !important;
  box-shadow: none !important;
}

#intro .hero-partner-logo:hover img,
#intro .hero-partner-logo:focus-within img {
  filter: grayscale(0%) !important;
  opacity: 1 !important;
  transform: scale(1.05) !important;
}

@media screen and (max-width: 980px) {
  #intro .hero-partners-grid { gap: 1.5rem 2rem !important; }
  #intro .hero-partner-logo img { height: 78px !important; max-width: 165px !important; }
}

@media screen and (max-width: 736px) {
  #sidebar .sidebar-brand img { width: 190px !important; }
  #intro .hero-partners { margin-top: 2rem !important; }
  #intro .hero-partners-grid { gap: 1.25rem 1.5rem !important; }
  #intro .hero-partner-logo img { height: 62px !important; max-width: 135px !important; }
}

/* Final partner logo layout: white logos in one centered row */
#intro .hero-partners-grid {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: clamp(1.25rem, 2.2vw, 2.5rem) !important;
  width: 100% !important;
  max-width: 1000px !important;
  margin: 0 auto !important;
}

#intro .hero-partner-logo {
  flex: 0 1 160px !important;
  min-width: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

#intro .hero-partner-logo img {
  width: 100% !important;
  height: 64px !important;
  max-width: 160px !important;
  object-fit: contain !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  filter: brightness(0) invert(1) !important;
  opacity: .92 !important;
  transform: none !important;
  transition: opacity .25s ease, transform .25s ease !important;
}

#intro .hero-partner-logo:hover img,
#intro .hero-partner-logo:focus-within img {
  filter: brightness(0) invert(1) !important;
  opacity: 1 !important;
  transform: scale(1.04) !important;
}

@media screen and (max-width: 1100px) {
  #intro .hero-partners-grid {
    gap: 1rem !important;
  }
  #intro .hero-partner-logo {
    flex-basis: 130px !important;
  }
  #intro .hero-partner-logo img {
    height: 54px !important;
    max-width: 130px !important;
  }
}

@media screen and (max-width: 736px) {
  #intro .hero-partners {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding-bottom: .5rem !important;
  }
  #intro .hero-partners-grid {
    justify-content: flex-start !important;
    width: max-content !important;
    min-width: 100% !important;
    gap: 1.25rem !important;
    padding: 0 1rem !important;
  }
  #intro .hero-partner-logo {
    flex: 0 0 118px !important;
  }
  #intro .hero-partner-logo img {
    height: 48px !important;
    max-width: 118px !important;
  }
}


/* Partners moved from the landing area to About Us */
#intro .hero-partners { display: none !important; }

#about .about-partners {
  clear: both;
  width: 100%;
  margin: 3rem auto 0;
  text-align: center;
}

#about .about-partners h3 {
  margin: 0 0 1.25rem;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

#about .about-partners-panel {
  width: 100%;
  padding: 2rem 2.25rem;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(0,0,0,.18);
}

#about .about-partners-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem 3rem;
  width: 100%;
  margin: 0 auto;
}

#about .about-partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 145px;
  max-width: 190px;
  min-width: 120px;
  padding: 0;
  background: transparent;
}

#about .about-partner-logo img {
  display: block;
  width: 100%;
  height: 72px;
  max-width: 180px;
  object-fit: contain;
  background: transparent;
  border: 0;
  box-shadow: none;
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
}

@media screen and (max-width: 736px) {
  #about .about-partners-panel { padding: 1.5rem 1rem; }
  #about .about-partners-grid { gap: 1.5rem; }
  #about .about-partner-logo { flex-basis: 115px; max-width: 145px; }
  #about .about-partner-logo img { height: 58px; max-width: 140px; }
}

/* What We Do cards */
.what-we-do-features h3 {
  font-size: 1.35rem;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.what-we-do-features p {
  font-size: 1.12rem;
  line-height: 1.7;
  margin-bottom: 0;
}

@media screen and (max-width: 736px) {
  .what-we-do-features h3 {
    font-size: 1.2rem;
  }

  .what-we-do-features p {
    font-size: 1.02rem;
  }
}

.hero-overlay {
  background:
    radial-gradient(circle at 70% 28%, rgba(212,175,55,.18), transparent 36%),
    linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(15,10,3,.72) 48%, rgba(0,0,0,.56) 100%) !important;
}
.hero-eyebrow:before { background: #d4af37 !important; }
