/* Shared Fixnow header/footer presentation for non-home pages.
   Homepage keeps its original hero-scoped header styles. */
.inner-page .topbar {
  position: relative;
  z-index: 5;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(35, 58, 132, 0.94), rgba(35, 58, 132, 0.78)),
    url("../images/background/4.jpg") center 22% / cover no-repeat;
  font-size: 13px;
}
.inner-page .topbar-inner {
  width: min(1280px, calc(100% - 40px));
  min-height: 62px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 700;
}
.inner-page .topbar a,
.inner-page .topbar strong {
  color: #fff;
}
.inner-page .topbar strong {
  font-size: 21px;
  letter-spacing: 0.01em;
}
.inner-page .site-header {
  position: relative;
  z-index: 20;
  padding: 0;
  background:
    linear-gradient(90deg, rgba(35, 58, 132, 0.94), rgba(35, 58, 132, 0.78)),
    url("../images/background/2.jpg") center 48% / cover no-repeat;
  box-shadow: none;
}
.inner-page .header-inner {
  width: min(1280px, calc(100% - 40px));
  min-height: 74px;
  margin-inline: auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-radius: 4px;
  background: #111027;
}
.inner-page .brand {
  align-self: stretch;
  margin-left: -24px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  background: #080916;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.inner-page .brand-mark {
  width: 28px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  background: transparent;
  font-size: 29px;
}
.inner-page .primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.65vw, 30px);
  color: #d4d7e6;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.inner-page .primary-nav > a:not(.nav-call) {
  position: relative;
  padding: 24px 0;
  color: inherit;
}
.inner-page .primary-nav > a:not(.nav-call)::after {
  position: absolute;
  right: 0;
  bottom: 13px;
  left: 0;
  height: 2px;
  background: var(--secondary-color, #f04438);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.inner-page .primary-nav > a:not(.nav-call):hover::after,
.inner-page .primary-nav > a.active:not(.nav-call)::after {
  transform: scaleX(1);
}
.inner-page .primary-nav > a.active:not(.nav-call) {
  color: var(--secondary-color, #f04438);
}
.inner-page .primary-nav .nav-call {
  min-height: 46px;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 3px;
  color: #fff;
  background: var(--secondary-color, #f04438);
  font-weight: 700;
}
.inner-page .menu-toggle {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}
.inner-page .page-hero,
.inner-page .services-page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: url("../images/background/4.jpg") center 48% / cover no-repeat;
}
.inner-page .page-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(12, 23, 61, 0.16), transparent);
  content: "";
}
@media (max-width: 760px) {
  .inner-page .topbar-inner {
    width: calc(100% - 24px);
    min-height: 46px;
    gap: 8px;
    font-size: 10px;
  }
  .inner-page .topbar-inner > span {
    max-width: 48%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .inner-page .topbar-inner > a {
    max-width: 52%;
    text-align: right;
    overflow-wrap: anywhere;
  }
  .inner-page .topbar strong {
    font-size: 12px;
  }
  .inner-page .header-inner {
    width: calc(100% - 24px);
    min-height: 58px;
    padding: 0 12px;
    gap: 8px;
  }
  .inner-page .brand {
    margin-left: -12px;
    padding-inline: 12px;
    gap: 6px;
    font-size: clamp(16px, 4.8vw, 22px);
  }
  .inner-page .brand-mark {
    width: 22px;
    font-size: 23px;
  }
  .inner-page .menu-toggle {
    flex: 0 0 auto;
  }
  .inner-page .primary-nav {
    white-space: normal;
  }
}
@media (prefers-reduced-motion: reduce) {
  .inner-page .primary-nav > a:not(.nav-call)::after {
    transition: none;
  }
}

/* The same compact sticky navigation is used on every inner page as on Home. */
.inner-page .fixnow-sticky-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: #111027;
  box-shadow: 0 8px 24px rgba(5, 10, 28, 0.22);
}
.inner-page .fixnow-sticky-header .site-header {
  position: relative;
  z-index: 1;
  padding: 0;
  background: #111027;
  box-shadow: none;
}
.inner-page .fixnow-sticky-header .header-inner {
  width: min(1280px, calc(100% - 40px));
  min-height: 68px;
  margin-inline: auto;
  padding: 0 24px;
  gap: 22px;
  border-radius: 0;
  background: #111027;
}
.inner-page .fixnow-sticky-header .brand {
  align-self: stretch;
  margin-left: -24px;
  padding: 0 22px;
  background: #080916;
  color: #fff;
  font-size: 23px;
}
.inner-page .fixnow-sticky-header .brand-mark {
  background: transparent;
  color: #fff;
  font-size: 27px;
}
.inner-page .fixnow-sticky-header .primary-nav {
  gap: clamp(10px, 1.65vw, 30px);
  color: #d4d7e6;
  font-size: 15px;
  white-space: nowrap;
}
.inner-page .fixnow-sticky-header .primary-nav > a:not(.nav-call) {
  padding: 22px 0;
  color: inherit;
}
.inner-page .fixnow-sticky-header .primary-nav > a.active:not(.nav-call) {
  color: var(--secondary-color, #f04438);
}
.inner-page .fixnow-sticky-header .primary-nav .nav-call {
  min-height: 44px;
  padding: 8px 17px;
  color: #fff;
  background: var(--secondary-color, #f04438);
  white-space: nowrap;
}
.inner-page .fixnow-sticky-header .menu-toggle {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}
@media (max-width: 760px) {
  .inner-page .fixnow-sticky-header .header-inner {
    width: 100%;
    min-height: 60px;
    padding: 0 12px;
    gap: 8px;
  }
  .inner-page .fixnow-sticky-header .brand {
    margin-left: -12px;
    padding-inline: 12px;
    gap: 6px;
    font-size: clamp(16px, 4.8vw, 22px);
  }
  .inner-page .fixnow-sticky-header .brand-mark {
    width: 22px;
    font-size: 23px;
  }
  .inner-page .fixnow-sticky-header .primary-nav {
    white-space: normal;
  }
}


/* About page: keep the topbar and main navigation inside the page-title hero. */
.inner-page.about-page .about-page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 430px;
  padding: 0 0 54px;
  background:
    linear-gradient(90deg, rgba(35, 58, 132, .82), rgba(35, 58, 132, .66)),
    url("../images/background/4.jpg") center 48% / cover no-repeat;
}
.inner-page.about-page .about-hero-header {
  position: relative;
  z-index: 2;
}
.inner-page.about-page .about-hero-header .topbar,
.inner-page.about-page .about-hero-header .site-header {
  background: transparent;
}
.inner-page.about-page .about-hero-header .topbar-inner {
  min-height: 62px;
}
.inner-page.about-page .about-hero-header .header-inner {
  background: #111027;
}
.inner-page.about-page .about-hero-content {
  position: relative;
  z-index: 1;
  padding-top: 54px;
}
.inner-page.about-page .about-page-hero::after {
  z-index: 0;
}
@media (max-width: 760px) {
  .inner-page.about-page .about-page-hero {
    min-height: 360px;
    padding-bottom: 34px;
  }
  .inner-page.about-page .about-hero-header .topbar-inner {
    min-height: 46px;
  }
  .inner-page.about-page .about-hero-content {
    padding-top: 38px;
  }
}
