/* ==========================================================================
   ULTIMATE SECURITY SYSTEM — Redesign
   Design tokens
   ========================================================================== */
:root {
  --navy-900: #081327;
  --navy-800: #0b1f3f;
  --navy-700: #132a54;
  --navy-600: #1c3a6e;
  --green-600: #1e9d43;
  --green-500: #2fb750;
  --green-400: #4fd06a;
  --ivory: #f5f7fb;
  --white: #ffffff;
  --ink: #0b1f3f;
  --gray-600: #5c6b7f;
  --gray-400: #94a3b8;
  --line: #e3e8f0;
  --radius: 10px;
  --shadow-sm: 0 2px 10px rgba(8, 19, 39, .06);
  --shadow-md: 0 12px 30px rgba(8, 19, 39, .12);
  --shadow-lg: 0 24px 60px rgba(8, 19, 39, .22);
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
.display-font {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy-800);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

::selection {
  background: var(--green-500);
  color: #fff;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green-600);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 4px rgba(47, 183, 80, .18);
  animation: rec-pulse 1.6s infinite;
}

@keyframes rec-pulse {

  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(47, 183, 80, .18);
  }

  50% {
    box-shadow: 0 0 0 7px rgba(47, 183, 80, .06);
  }
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-sub {
  color: var(--gray-600);
  font-size: 1.02rem;
  max-width: 640px;
}

.section-pad {
  padding: 88px 0;
}

.bg-ivory {
  background: var(--ivory);
}

.bg-navy {
  background: var(--navy-800);
  color: #dce4f2;
}

.bg-navy h1,
.bg-navy h2,
.bg-navy h3,
.bg-navy h4 {
  color: #fff;
}

.btn-green {
  background: var(--green-500);
  border: 1px solid var(--green-500);
  color: #fff;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 6px;
  transition: .25s;
  letter-spacing: .01em;
}

.btn-green:hover {
  background: var(--green-600);
  border-color: var(--green-600);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-light-line {
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
  padding: 12px 26px;
  border-radius: 6px;
  font-weight: 600;
  transition: .25s;
}

.btn-outline-light-line:hover {
  background: rgba(255, 255, 255, .1);
  border-color: #fff;
  color: #fff;
}

.btn-navy-line {
  border: 1px solid var(--navy-700);
  color: var(--navy-800);
  padding: 11px 24px;
  border-radius: 6px;
  font-weight: 600;
  transition: .25s;
}

.btn-navy-line:hover {
  background: var(--navy-800);
  color: #fff;
}

/* ---------- Viewfinder bracket signature motif ---------- */
.viewfinder {
  position: relative;
}

.viewfinder::before,
.viewfinder::after,
.viewfinder .vf-tr,
.viewfinder .vf-bl {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  border: 2.5px solid var(--green-500);
  z-index: 3;
}

.viewfinder::before {
  top: -2px;
  left: -2px;
  border-right: none;
  border-bottom: none;
}

.viewfinder .vf-tr {
  top: -2px;
  right: -2px;
  border-left: none;
  border-bottom: none;
}

.viewfinder .vf-bl {
  bottom: -2px;
  left: -2px;
  border-right: none;
  border-top: none;
}

.viewfinder::after {
  bottom: -2px;
  right: -2px;
  border-left: none;
  border-top: none;
}

.viewfinder-frame {
  position: relative;
  padding: 14px;
}

/* ---------- Topbar ---------- */
.topbar {
  background: var(--navy-900);
  color: #b7c3da;
  font-size: .82rem;
  padding: 7px 0;
}

.topbar a {
  color: #b7c3da;
}

.topbar a:hover {
  color: var(--green-400);
}

.topbar .divider {
  opacity: .25;
  margin: 0 10px;
}

/* ---------- Navbar ---------- */
.navbar-uss {
  background: #fff;
  padding: 14px 0;
  transition: .3s;
  box-shadow: 0 1px 0 var(--line);
}

.navbar-uss.scrolled {
  padding: 8px 0;
  box-shadow: var(--shadow-sm);
}

.navbar-uss .navbar-brand img {
  height: 75px;
  transition: .3s;
}

.navbar-uss.scrolled .navbar-brand img {
  height: 60px;
}

.navbar-uss .nav-link {
  color: var(--navy-800) !important;
  font-weight: 600;
  font-size: .92rem;
  padding: 8px 16px !important;
  position: relative;
}

.navbar-uss .nav-link:hover,
.navbar-uss .nav-link:focus {
  color: var(--green-600) !important;
}

.navbar-uss .dropdown-menu {
  border: none;
  box-shadow: var(--shadow-md);
  border-radius: 8px;
  padding: 10px;
}

.navbar-uss .dropdown-item {
  border-radius: 6px;
  padding: 9px 14px;
  font-size: .9rem;
  font-weight: 500;
}

.navbar-uss .dropdown-item:hover {
  background: var(--ivory);
  color: var(--green-600);
}

.nav-cta {
  background: var(--navy-800);
  color: #fff !important;
  border-radius: 6px;
  padding: 10px 22px !important;
  font-weight: 600;
  margin-left: 8px;
}

.nav-cta:hover {
  background: var(--green-600) !important;
}

/* ---------- Hero slider ---------- */
.hero-slider {
  position: relative;
  height: 88vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--navy-900);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(8, 19, 39, .92) 0%, rgba(8, 19, 39, .75) 42%, rgba(8, 19, 39, .35) 100%);
}

.hero-scanline {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(47, 183, 80, .9), transparent);
  z-index: 3;
  animation: scan 5s linear infinite;
  opacity: .7;
}

@keyframes scan {
  0% {
    top: 8%;
  }

  50% {
    top: 90%;
  }

  100% {
    top: 8%;
  }
}

.hero-inner {
  position: relative;
  z-index: 4;
  height: 88vh;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-tag {
  font-family: var(--font-mono);
  color: var(--green-400);
  font-size: .78rem;
  letter-spacing: .18em;
  border: 1px solid rgba(79, 208, 106, .4);
  padding: 6px 14px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  background: rgba(47, 183, 80, .08);
}

.hero-tag .dot {
  width: 7px;
  height: 7px;
  background: var(--green-400);
  border-radius: 50%;
  animation: rec-pulse 1.6s infinite;
}

.hero-title {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  color: #fff;
  line-height: 1.08;
  margin-bottom: 20px;
}

.hero-title .accent {
  color: var(--green-400);
}

.hero-text {
  color: #c3ccdc;
  font-size: 1.08rem;
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 44px;
  flex-wrap: wrap;
}

.hero-stats .num {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  color: #fff;
  font-weight: 700;
}

.hero-stats .lbl {
  font-size: .78rem;
  color: var(--gray-400);
  letter-spacing: .03em;
}

.hero-dots {
  position: absolute;
  bottom: 34px;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.hero-dots button {
  width: 34px;
  height: 4px;
  border: none;
  background: rgba(255, 255, 255, .3);
  border-radius: 2px;
  cursor: pointer;
  transition: .3s;
  padding: 0;
}

.hero-dots button.active {
  background: var(--green-500);
  width: 50px;
}

.hero-arrows {
  position: absolute;
  z-index: 5;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 24px;
  pointer-events: none;
}

.hero-arrows button {
  pointer-events: all;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(8, 19, 39, .4);
  color: #fff;
  font-size: 1.1rem;
  transition: .25s;
}

.hero-arrows button:hover {
  background: var(--green-500);
  border-color: var(--green-500);
}

/* ---------- Trust marquee ---------- */
.trust-strip {
  background: var(--navy-900);
  padding: 22px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
  gap: 64px;
  align-items: center;
}

.marquee-track img {
  height: 34px;
  filter: grayscale(1) brightness(2.6);
  opacity: .75;
  transition: .25s;
}

.marquee-track img:hover {
  opacity: 1;
  filter: none;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ---------- Feature pills (hero features strip) ---------- */
.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  padding: 10px 16px;
  border-radius: 8px;
  color: #dfe6f2;
  font-size: .86rem;
  font-weight: 500;
}

.feature-pill i {
  color: var(--green-400);
  font-size: 1.05rem;
}

/* ---------- Service cards ---------- */
.svc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  height: 100%;
  transition: .3s;
  position: relative;
  overflow: hidden;
}

.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.svc-card .svc-icon {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: var(--navy-800);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-400);
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: .3s;
}

.svc-card:hover .svc-icon {
  background: var(--green-500);
  color: #fff;
}

.svc-card h5 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.svc-card p {
  color: var(--gray-600);
  font-size: .92rem;
  margin-bottom: 14px;
}

.svc-card .svc-link {
  color: var(--green-600);
  font-weight: 600;
  font-size: .86rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.svc-card .svc-link i {
  transition: .25s;
}

.svc-card:hover .svc-link i {
  transform: translateX(4px);
}

.svc-num {
  position: absolute;
  top: 14px;
  right: 18px;
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--gray-400);
}

/* ---------- Image + brackets media block ---------- */
.media-block {
  position: relative;
}

.media-block img {
  border-radius: var(--radius);
  width: 100%;
  object-fit: cover;
}

.media-badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 270px;
}

.media-badge .ic {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--green-500);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex: none;
}

.media-badge .t1 {
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy-800);
}

.media-badge .t2 {
  font-size: .78rem;
  color: var(--gray-600);
}

/* ---------- Sectors grid ---------- */
.sector-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  height: 100%;
  background: #fff;
  transition: .25s;
}

.sector-card:hover {
  border-color: var(--green-500);
  box-shadow: var(--shadow-sm);
}

.sector-card i {
  font-size: 1.5rem;
  color: var(--green-600);
  margin-bottom: 14px;
}

.sector-card h6 {
  font-weight: 700;
  margin-bottom: 8px;
  font-size: .98rem;
}

.sector-card p {
  font-size: .85rem;
  color: var(--gray-600);
  margin: 0;
}

/* ---------- Why choose / counters ---------- */
.counter-box {
  text-align: center;
  padding: 20px;
}

.counter-box .num {
  font-family: var(--font-mono);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--white);
}

.counter-box .num .plus {
  color: var(--green-400);
}

.counter-box .lbl {
  color: var(--gray-400);
  font-size: .86rem;
  letter-spacing: .02em;
  margin-top: 4px;
}

/* ---------- Gallery ---------- */
.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .5s;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 19, 39, .85) 0%, rgba(8, 19, 39, .1) 55%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: .3s;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: #fff;
  font-weight: 600;
  font-size: .88rem;
}

.gallery-filters .btn {
  border: 1px solid var(--line);
  color: var(--navy-800);
  font-size: .85rem;
  font-weight: 600;
  border-radius: 30px;
  padding: 8px 18px;
  margin: 0 5px 10px 0;
}

.gallery-filters .btn.active,
.gallery-filters .btn:hover {
  background: var(--green-500);
  border-color: var(--green-500);
  color: #fff;
}

/* ---------- Testimonials ---------- */
.testi-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  height: 100%;
}

.testi-stars {
  color: #f5b400;
  font-size: .85rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testi-text {
  color: var(--gray-600);
  font-size: .95rem;
  line-height: 1.65;
  margin-bottom: 22px;
  min-height: 110px;
}

.testi-person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-display);
  flex: none;
}

.testi-name {
  font-weight: 700;
  font-size: .9rem;
  color: var(--navy-800);
}

.testi-role {
  font-size: .78rem;
  color: var(--gray-400);
}

.testi-quote-icon {
  color: var(--green-500);
  opacity: .25;
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: 6px;
}

/* ---------- Brands strip ---------- */
.brand-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
  transition: .25s;
  background: #fff;
}

.brand-box:hover {
  border-color: var(--green-500);
  box-shadow: var(--shadow-sm);
}

.brand-box img {
  max-height: 38px;
  max-width: 100%;
  /*filter: grayscale(1);*/
  opacity: .7;
  transition: .25s;
}

.brand-box:hover img {
  filter: none;
  opacity: 1;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(115deg, var(--navy-900) 0%, var(--navy-700) 100%);
  border-radius: 16px;
  padding: 56px;
  position: relative;
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 183, 80, .25) 0%, transparent 70%);
}

/* ---------- Blog cards ---------- */
.blog-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  transition: .25s;
  background: #fff;
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.blog-card img {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.blog-card .body {
  padding: 22px;
}

.blog-date {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--green-600);
  letter-spacing: .08em;
  margin-bottom: 10px;
  display: block;
}

.blog-card h6 {
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card p {
  color: var(--gray-600);
  font-size: .88rem;
}

/* ---------- Contact ---------- */
.contact-form-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 36px;
}

.form-control,
.form-select {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
  font-size: .92rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(47, 183, 80, .15);
}

.contact-info-row {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}

.contact-info-row .ic {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: rgba(47, 183, 80, .12);
  color: var(--green-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.contact-info-row .t1 {
  font-weight: 700;
  font-size: .92rem;
  color: #fff;
}

.contact-info-row .t2 {
  font-size: .86rem;
  color: var(--gray-400);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-900);
  color: #9fabc2;
  padding: 70px 0 0;
}

.footer h6 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 20px;
  font-size: .95rem;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li {
  margin-bottom: 11px;
}

.footer ul li a {
  color: #9fabc2;
  font-size: .88rem;
  transition: .2s;
}

.footer ul li a:hover {
  color: var(--green-400);
  padding-left: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  margin-top: 44px;
  padding: 20px 0;
  font-size: .82rem;
  color: #7d8aa3;
}

.social-ic {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-right: 8px;
  transition: .25s;
}

.social-ic:hover {
  background: var(--green-500);
}

/* ---------- Floating buttons ---------- */
.float-btns {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  box-shadow: var(--shadow-md);
  transition: .25s;
}

.fab-whatsapp {
  background: #25D366;
}

.fab-whatsapp:hover {
  transform: scale(1.08);
  color: #fff;
}

.fab-top {
  background: var(--navy-800);
  font-size: 1.1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}

.fab-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fab-top:hover {
  background: var(--green-500);
  color: #fff;
}

/* ---------- Lightbox ---------- */
.uss-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 19, 39, .95);
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.uss-lightbox.show {
  display: flex;
}

.uss-lightbox img {
  max-width: 90%;
  max-height: 82vh;
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
}

.uss-lightbox .lb-close {
  position: absolute;
  top: 24px;
  right: 30px;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
}

.uss-lightbox .lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 1.8rem;
  background: none;
  border: none;
  padding: 14px;
}

.uss-lightbox .lb-prev {
  left: 14px;
}

.uss-lightbox .lb-next {
  right: 14px;
}

.uss-lightbox .lb-caption {
  position: absolute;
  bottom: 26px;
  left: 0;
  right: 0;
  text-align: center;
  color: #cbd5e6;
  font-size: .9rem;
}

/* ---------- AOS-style reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Misc ---------- */
.divider-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-400);
  font-size: .8rem;
  margin: 0 0 40px;
}

.divider-tag::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* ---------- Inner page hero (breadcrumb banner) ---------- */
.page-hero {
  position: relative;
  background: linear-gradient(105deg, var(--navy-900) 0%, var(--navy-700) 100%);
  padding: 120px 0 60px;
  overflow: hidden;
  color: #fff;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(47, 183, 80, .14) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: .5;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  margin-bottom: 10px;
}

.breadcrumb-uss {
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--gray-400);
  display: flex;
  gap: 8px;
  align-items: center;
}

.breadcrumb-uss a {
  color: var(--green-400);
}

.breadcrumb-uss i {
  font-size: .65rem;
}

/* ---------- Spec table ---------- */
.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: .9rem;
}

.spec-table td:first-child {
  color: var(--gray-600);
  font-weight: 600;
  width: 42%;
}

/* ---------- Product tabs ---------- */
.uss-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.uss-tabs button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy-800);
  font-weight: 600;
  font-size: .88rem;
  padding: 10px 20px;
  border-radius: 30px;
  transition: .2s;
}

.uss-tabs button.active,
.uss-tabs button:hover {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: #fff;
}

/* ---------- Simple accordion (FAQ) ---------- */
.uss-accordion .accordion-button {
  font-weight: 600;
  color: var(--navy-800);
  font-size: .96rem;
}

.uss-accordion .accordion-button:not(.collapsed) {
  background: var(--ivory);
  color: var(--green-600);
  box-shadow: none;
}

.uss-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: var(--line);
}

/* ---------- Blog single ---------- */
.blog-hero-img {
  border-radius: var(--radius);
  width: 100%;
  object-fit: cover;
  max-height: 420px;
  margin-bottom: 32px;
}

.blog-body p {
  color: var(--gray-600);
  line-height: 1.85;
  margin-bottom: 20px;
}

.blog-body h3 {
  margin-top: 36px;
  margin-bottom: 16px;
  font-size: 1.3rem;
}

/* ================= HERO — RESPONSIVE ================= */
@media(max-width:991px) {

  /* The slides are position:absolute for the desktop crossfade, which
     means they don't contribute to the parent's height at all. On
     desktop that's fine because .hero-slider has a fixed 88vh height —
     but switching that to height:auto for mobile left the slider with
     nothing to size itself against, so it collapsed and clipped the
     content (title/buttons cut off, next section jumping straight up
     under it). Fix: on mobile the active slide is taken out of
     absolute positioning and placed back in normal flow (others
     display:none), so the slider's auto height genuinely matches
     whichever slide is showing. The crossfade animation is skipped on
     mobile in exchange for a layout that never clips. */
  .hero-slider {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .hero-inner {
    height: auto;
    min-height: 0;
    padding: 110px 0 90px;
  }

  .hero-slide {
    position: relative;
    inset: auto;
    opacity: 1;
    visibility: hidden;
    display: none;
    transition: none;
  }

  .hero-slide.active {
    visibility: visible;
    display: block;
  }

  .hero-title {
    font-size: clamp(1.9rem, 5vw, 2.8rem);
  }

  .hero-text {
    max-width: 100%;
  }

  .feature-pills {
    margin-top: 28px;
    gap: 10px;
  }

  .feature-pill {
    font-size: .82rem;
    padding: 9px 14px;
  }

  .media-badge {
    position: static;
    margin-top: 18px;
    max-width: 100%;
  }

  .cta-band {
    padding: 36px 24px;
  }
}

@media(max-width:767px) {
  .hero-inner {
    padding: 100px 0 84px;
  }

  .hero-tag {
    font-size: .68rem;
    letter-spacing: .14em;
    padding: 5px 12px;
    margin-bottom: 16px;
  }

  .hero-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
    margin-bottom: 14px;
  }

  .hero-text {
    font-size: .96rem;
    margin-bottom: 24px;
  }

  .hero-slider .d-flex.gap-3 {
    flex-direction: column;
    align-items: stretch;
    gap: 12px !important;
  }

  .hero-slider .btn-green,
  .hero-slider .btn-outline-light-line {
    text-align: center;
    width: 100%;
    padding: 13px 20px;
  }

  .feature-pills {
    gap: 8px;
    margin-top: 22px;
  }

  .feature-pill {
    font-size: .78rem;
    padding: 8px 12px;
    gap: 7px;
  }

  .feature-pill i {
    font-size: .92rem;
  }

  .hero-arrows {
    display: none;
  }

  .hero-dots {
    bottom: 16px;
  }

  .hero-dots button {
    width: 24px;
    height: 3px;
  }

  .hero-dots button.active {
    width: 34px;
  }
}

@media(max-width:575px) {
  .hero-inner {
    padding: 92px 0 76px;
  }

  .hero-title {
    font-size: clamp(1.4rem, 7.5vw, 1.9rem);
    line-height: 1.18;
  }

  .hero-text {
    font-size: .9rem;
  }

  .feature-pills {
    flex-direction: column;
    align-items: flex-start;
  }

  .feature-pill {
    width: 100%;
  }
}