:root {
  --qss-navy: #0b2545;
  --qss-blue: #144b7f;
  --qss-teal: #0f8b8d;
  --qss-green: #1f9d68;
  --qss-saffron: #f2a541;
  --qss-ink: #162033;
  --qss-muted: #627086;
  --qss-line: #dce5ef;
  --qss-soft: #f5f8fb;
  --qss-white: #ffffff;
}

html {
  scroll-padding-top: 88px;
  overflow-x: hidden;
}

body {
  color: var(--qss-ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  background: var(--qss-white);
  overflow-x: hidden;
}

a {
  color: var(--qss-blue);
}

a:hover {
  color: var(--qss-teal);
}

.navbar {
  border-bottom: 1px solid rgba(11, 37, 69, 0.08);
  backdrop-filter: blur(18px);
}

.navbar-brand {
  color: var(--qss-navy);
  font-weight: 800;
  letter-spacing: 0;
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--qss-navy), var(--qss-teal));
  color: var(--qss-white);
  font-weight: 800;
}

.nav-link {
  color: #22314a;
  font-weight: 600;
}

.nav-link:hover,
.nav-link.active {
  color: var(--qss-teal);
}

.dropdown-menu {
  border: 1px solid rgba(11, 37, 69, 0.1);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(11, 37, 69, 0.12);
}

.btn {
  border-radius: 8px;
  font-weight: 700;
  padding: 0.76rem 1.05rem;
}

.btn-primary {
  background: var(--qss-blue);
  border-color: var(--qss-blue);
}

.btn-primary:hover {
  background: var(--qss-navy);
  border-color: var(--qss-navy);
}

.btn-accent {
  background: var(--qss-green);
  border-color: var(--qss-green);
  color: var(--qss-white);
}

.btn-accent:hover {
  background: #157a50;
  border-color: #157a50;
  color: var(--qss-white);
}

.btn-outline-primary {
  color: var(--qss-blue);
  border-color: rgba(20, 75, 127, 0.35);
}

.btn-outline-primary:hover {
  background: var(--qss-blue);
  border-color: var(--qss-blue);
}

.eyebrow {
  color: var(--qss-teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 78px);
  padding: 6rem 0 4rem;
  color: var(--qss-white);
  background:
    linear-gradient(90deg, rgba(6, 27, 53, 0.94) 0%, rgba(6, 27, 53, 0.88) 42%, rgba(6, 27, 53, 0.45) 100%),
    url("../images/qss-enterprise-technology-hero.png") center right / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 6px;
  background: linear-gradient(90deg, var(--qss-green), var(--qss-saffron), var(--qss-teal));
}

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

.hero h1 {
  max-width: 780px;
  font-size: clamp(2.45rem, 5vw, 4.9rem);
  font-weight: 850;
  line-height: 1.03;
}

.hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.03rem, 1.8vw, 1.24rem);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.8rem;
}

.hero-meta span,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  font-weight: 700;
}

.section {
  padding: 5.25rem 0;
}

.section-sm {
  padding: 3.5rem 0;
}

.section-soft {
  background: var(--qss-soft);
}

.section-navy {
  color: var(--qss-white);
  background: linear-gradient(135deg, var(--qss-navy), #10385f);
}

.section-title {
  max-width: 780px;
}

.section-title h2,
.page-hero h1 {
  color: var(--qss-navy);
  font-weight: 820;
  line-height: 1.12;
}

.section-navy .section-title h2,
.section-navy h2,
.section-navy h3 {
  color: var(--qss-white);
}

.section-title p,
.lead-muted {
  color: var(--qss-muted);
  font-size: 1.05rem;
}

.section-navy .lead-muted,
.section-navy p {
  color: rgba(255, 255, 255, 0.82);
}

.page-hero {
  padding: 4.5rem 0 3.5rem;
  background:
    linear-gradient(135deg, rgba(245, 248, 251, 0.96), rgba(255, 255, 255, 0.92)),
    url("../images/qss-enterprise-technology-hero.png") center right / cover no-repeat;
  border-bottom: 1px solid var(--qss-line);
}

.breadcrumb {
  --bs-breadcrumb-divider-color: var(--qss-muted);
  --bs-breadcrumb-item-active-color: var(--qss-muted);
  font-size: 0.92rem;
}

.feature-card,
.service-card,
.product-card,
.price-card,
.industry-card,
.contact-panel {
  height: 100%;
  border: 1px solid var(--qss-line);
  border-radius: 8px;
  background: var(--qss-white);
  box-shadow: 0 14px 40px rgba(11, 37, 69, 0.06);
}

.feature-card,
.service-card,
.product-card,
.industry-card,
.contact-panel {
  padding: 1.4rem;
}

.feature-card h3,
.service-card h3,
.product-card h3,
.industry-card h3 {
  color: var(--qss-navy);
  font-size: 1.08rem;
  font-weight: 800;
}

.icon-box {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin-bottom: 1rem;
  color: var(--qss-white);
  background: linear-gradient(135deg, var(--qss-blue), var(--qss-teal));
  font-size: 1.35rem;
}

.trust-strip {
  margin-top: -2rem;
  position: relative;
  z-index: 3;
}

.trust-strip .inner {
  border: 1px solid rgba(11, 37, 69, 0.08);
  border-radius: 8px;
  background: var(--qss-white);
  box-shadow: 0 24px 60px rgba(11, 37, 69, 0.14);
}

.trust-item {
  padding: 1.1rem 1.2rem;
  color: var(--qss-ink);
  font-weight: 750;
}

.trust-item i {
  color: var(--qss-green);
}

.list-check {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.list-check li {
  position: relative;
  padding-left: 1.65rem;
  margin-bottom: 0.72rem;
}

.list-check li::before {
  content: "\F26E";
  position: absolute;
  top: 0.05rem;
  left: 0;
  color: var(--qss-green);
  font-family: "bootstrap-icons";
  font-weight: 400;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.7rem;
}

.price-card.popular {
  border-color: rgba(31, 157, 104, 0.45);
  box-shadow: 0 20px 55px rgba(31, 157, 104, 0.14);
}

.price-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  color: var(--qss-white);
  background: var(--qss-green);
  font-size: 0.78rem;
  font-weight: 800;
}

.price {
  color: var(--qss-navy);
  font-size: 2rem;
  font-weight: 850;
}

.price span {
  color: var(--qss-muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.cta-band {
  border-radius: 8px;
  padding: 2rem;
  color: var(--qss-white);
  background: linear-gradient(135deg, var(--qss-navy), var(--qss-blue));
}

.faq .accordion-button {
  color: var(--qss-navy);
  font-weight: 750;
}

.faq .accordion-button:not(.collapsed) {
  color: var(--qss-navy);
  background: #eef7f6;
  box-shadow: inset 0 -1px 0 var(--qss-line);
}

.form-control,
.form-select {
  border-color: var(--qss-line);
  border-radius: 8px;
  min-height: 48px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--qss-teal);
  box-shadow: 0 0 0 0.2rem rgba(15, 139, 141, 0.16);
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: #071b31;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--qss-saffron);
}

.footer-title {
  color: var(--qss-white);
  font-weight: 800;
}

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

.footer-list li {
  margin-bottom: 0.55rem;
}

.reveal {
  transform: translateY(12px);
  opacity: 0;
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 991.98px) {
  .hero {
    min-height: auto;
    padding: 5rem 0 3.5rem;
    background:
      linear-gradient(90deg, rgba(6, 27, 53, 0.96), rgba(6, 27, 53, 0.78)),
      url("../images/qss-enterprise-technology-hero.png") center / cover no-repeat;
  }

  .trust-strip {
    margin-top: 0;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand span:not(.brand-mark) {
    display: inline-block;
    max-width: calc(100vw - 145px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .section {
    padding: 3.6rem 0;
  }

  .hero .btn,
  .page-hero .btn,
  .cta-band .btn {
    width: 100%;
  }

  .trust-item {
    padding: 0.9rem 1rem;
  }

  .cta-band {
    padding: 1.4rem;
  }
}
