.hero {
  height: 100vh;
  min-height: 760px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary);
  padding-top: 90px;
  box-sizing: border-box;
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg svg {
  width: 100%;
  height: 100%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(29, 33, 80, .05) 0%, rgba(29, 33, 80, .15) 55%, var(--bg) 100%),
    linear-gradient(90deg, rgba(60, 103, 177, .3) 0%, rgba(60, 103, 177, .02) 60%);
}

.hero-glow {
  position: absolute;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(60, 103, 177, .14) 0%, transparent 70%);
  top: -300px;
  left: -200px;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-ghost {
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  font-size: min(34vw, 560px);
  font-weight: 800;
  letter-spacing: -4vw;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 2px rgba(200, 169, 106, .09);
  z-index: 0;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr .8fr;
  gap: 60px;
  align-items: end;
}

.hero-tag {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-tag .line {
  width: 50px;
  height: 1px;
  background: var(--accent-light);
}

.hero-tag span {
  color: var(--accent-light);
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -2px;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent-light);
  display: block;
  font-size: 0.82em;
  margin-top: 8px;
}

.hero p {
  color: rgba(255, 255, 255, .7);
  font-size: 18px;
  max-width: 520px;
  margin: 26px 0 40px;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 8px;
}

.float-card {
  background: rgba(255, 255, 255, .05);
  backdrop-filter: blur(14px);
  border: 1px solid var(--card-border);
  padding: 20px 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.float-card .num {
  font-size: 22px;
  color: var(--accent-light);
}

.float-card span {
  font-size: 14.5px;
  color: var(--white);
  font-weight: 500;
}

.scroll-cue {
  position: absolute;
  bottom: 40px;
  right: 50%;
  transform: translateX(50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .6);
  font-size: 11px;
  letter-spacing: 3px;
}

.scroll-cue .stick {
  width: 1px;
  height: 46px;
  background: linear-gradient(var(--accent-light), transparent);
  animation: scrollMove 2s infinite;
}

/* AUTHORITY TICKER */
.ticker-strip {
  background: var(--gold);
  padding: 18px 0;
  overflow: hidden;
  position: relative;
  z-index: 3;
}

.ticker-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: tickerMove 26s linear infinite;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 40px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--primary);
  white-space: nowrap;
}

.ticker-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  opacity: .5;
}

/* CLIENTS MARQUEE */
.clients {
  padding: 70px 0;
  border-top: 1px solid rgba(255, 255, 255, .06);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.marquee-wrap {
  overflow: hidden;
  position: relative;
}

.marquee-wrap::before,
.marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
}

.marquee-wrap::before {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

.marquee-wrap::after {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}

.marquee-track {
  display: flex;
  gap: 90px;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.client-item {
  font-size: 16px;
  color: var(--gray);
  letter-spacing: 1px;
  white-space: nowrap;
  font-weight: 500;
  opacity: .7;
  transition: .4s;
}

.client-item:hover {
  opacity: 1;
  color: var(--gold);
}

/* Page Hero (for inner pages like Projects) */
.page-hero {
  position: relative;
  height: 55vh;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary);
  padding-top: 90px;
  box-sizing: border-box;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center 30%;
  animation: heroZoom 12s infinite alternate ease-in-out;
  opacity: 0.25;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(29, 33, 80, 0.4) 0%, rgba(29, 33, 80, 0.8) 80%, var(--bg) 100%),
    linear-gradient(90deg, rgba(29, 33, 80, 0.85) 0%, rgba(29, 33, 80, 0.2) 100%);
}

.page-hero-glow {
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(60, 103, 177, 0.25) 0%, transparent 70%);
  top: -300px;
  left: -200px;
  z-index: 1;
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: right;
  padding: 0 20px;
}

.page-hero-tag {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.page-hero-tag .line {
  width: 40px;
  height: 1px;
  background: var(--accent-light);
}

.page-hero-tag span {
  color: var(--accent-light);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
}

.page-hero h1 {
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
  max-width: 580px;
  margin: 0;
  line-height: 1.7;
}

@keyframes heroZoom {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.08);
  }
}