/* Hero — corporate / engineering */
.hero--pro {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: #051525;
  overflow: hidden;
  isolation: isolate;
}

.hero__ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__photo--a {
  opacity: 0.52;
  animation: heroKenBurnsA 28s ease-in-out infinite alternate;
}
.hero__photo--b {
  opacity: 0.28;
  object-position: 72% 38%;
  mix-blend-mode: luminosity;
  animation: heroKenBurnsB 32s ease-in-out infinite alternate;
}
.hero--pro.is-offscreen .hero__photo {
  animation-play-state: paused;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(108deg, rgba(5,21,37,.94) 0%, rgba(5,21,37,.82) 38%, rgba(5,21,37,.45) 62%, rgba(5,21,37,.72) 100%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: var(--pat-navy-tech);
  background-size: 96px 96px;
}

.hero__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 70% 45%, transparent 0%, rgba(5,21,37,.35) 100%);
}

.hero__wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: calc(var(--header-height) + 3rem) 0 4.5rem;
}

.hero__layout {
  display: grid;
  gap: 2.25rem;
  align-items: center;
  min-width: 0;
  width: 100%;
}

.hero__content,
.hero__showcase {
  min-width: 0;
  max-width: 100%;
}

/* Content */
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0.42rem 0.85rem 0.42rem 0.55rem;
  margin-bottom: 1.25rem;
  border-radius: var(--btn-radius-pill);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
}
.hero__eyebrow-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(6,95,133,.22);
  animation: heroPulse 2.2s ease-in-out infinite;
  flex-shrink: 0;
}
.hero__eyebrow-tag {
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.65rem;
  background: rgba(6,95,133,.22);
  color: #9fd4eb;
  border: 1px solid rgba(6,95,133,.35);
}

.hero__headline {
  margin-bottom: 1rem;
  color: var(--white);
}
.hero__line {
  display: block;
  overflow: hidden;
  font-size: clamp(2.15rem, 5.2vw, 3.85rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.hero__line > em {
  font-style: normal;
  color: #7ec8e3;
  -webkit-text-fill-color: #7ec8e3;
}
.hero__line--1 { padding-bottom: 0.06em; }
.hero__line--2 { padding-top: 0.04em; }

.hero__lead {
  color: rgba(255,255,255,.78);
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  line-height: 1.78;
  max-width: 33rem;
  margin-bottom: 1.65rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.35rem;
}
.hero__btn { transition: transform 0.25s var(--btn-ease), box-shadow 0.25s var(--btn-ease); }

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin-bottom: 1.25rem;
}
.hero__chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.72rem;
  border-radius: var(--btn-radius-pill);
  font-size: 0.76rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
}
.hero__chip-icon {
  width: 1.1rem;
  height: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(6,95,133,.18);
  color: #9fd4eb;
  flex-shrink: 0;
}
.hero__chip-icon svg { width: 0.62rem; height: 0.62rem; }

.hero__trustline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
}
.hero__trustline-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,.62);
}
.hero__trustline-item .icon { color: var(--accent-on-dark-bright); }

/* Showcase gallery */
.hero__showcase {
  position: relative;
  width: 100%;
  max-width: 100%;
  perspective: 1400px;
}

.hero__showcase-frame {
  display: grid;
  gap: 0.75rem;
  padding: 0.65rem;
  border-radius: 20px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 24px 64px rgba(0,0,0,.32);
  transition: transform 0.15s ease-out;
  transform-style: preserve-3d;
}

.hero__showcase-main {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(255,255,255,.1);
}
.hero__showcase-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--btn-ease);
}
.hero__showcase-main:hover img { transform: scale(1.03); }
.hero__showcase-main figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
  background: linear-gradient(0deg, rgba(5,21,37,.88) 0%, rgba(5,21,37,.4) 70%, transparent 100%);
}
.hero__showcase-tag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9fd4eb;
}
.hero__showcase-main figcaption strong {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--white);
}

.hero__showcase-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.hero__showcase-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255,255,255,.1);
}
.hero__showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--btn-ease);
}
.hero__showcase-card:hover img { transform: scale(1.04); }
.hero__showcase-card figcaption {
  position: absolute;
  left: 0.55rem;
  bottom: 0.55rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.92);
  background: rgba(5,21,37,.78);
  border: 1px solid rgba(255,255,255,.12);
}
.hero__showcase-card--accent {
  border-color: rgba(6,95,133,.35);
}

.hero__showcase-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin-top: 0.85rem;
  padding: 0.75rem;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
}
.hero__showcase-stat {
  text-align: center;
  padding: 0.55rem 0.35rem;
  border-radius: 10px;
  border-right: 1px solid rgba(255,255,255,.08);
}
.hero__showcase-stat:last-child { border-right: none; }
.hero__showcase-stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.hero__showcase-stat-num > span:last-child { color: #9fd4eb; font-size: 0.9em; }
.hero__showcase-stat-label {
  display: block;
  margin-top: 0.22rem;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}

/* Marquee ribbon */
.hero__ribbon {
  margin-top: 2.25rem;
  padding: 0.6rem 0;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.12);
}
.hero__marquee { overflow: hidden; }
.hero__marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: heroMarquee 38s linear infinite;
}
.hero__marquee-item {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.42);
  white-space: nowrap;
}
.hero__marquee-item::before {
  content: '◆';
  margin-right: 2.5rem;
  color: var(--accent-on-dark-bright);
  font-size: 0.5rem;
  vertical-align: middle;
}

/* Contact bar */
.hero__contactbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin-top: 1.25rem;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
}
.hero__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,.88);
  transition: color 0.2s ease, transform 0.2s var(--btn-ease);
}
.hero__contact-link:hover { color: #9fd4eb; transform: translateY(-1px); }
.hero__contact-link--wa:hover { color: #86efac; }
.hero__contact-sep {
  width: 1px;
  height: 1.2rem;
  background: rgba(255,255,255,.14);
  flex-shrink: 0;
}
.hero__contact-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,.55);
}

/* Scroll cue */
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255,255,255,.48);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}
.hero__scroll:hover { color: #9fd4eb; }
.hero__scroll-wheel {
  width: 22px;
  height: 34px;
  border-radius: 11px;
  border: 2px solid rgba(255,255,255,.22);
  position: relative;
}
.hero__scroll-wheel::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--accent);
  animation: heroScrollWheel 2s ease-in-out infinite;
}

@media (min-width: 1024px) {
  .hero__layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(2rem, 3.5vw, 3.5rem);
  }
  .hero__showcase-frame {
    grid-template-columns: 1.35fr 0.85fr;
    align-items: stretch;
    gap: 0.7rem;
  }
  .hero__showcase-main {
    grid-row: span 2;
    aspect-ratio: auto;
    min-height: 100%;
  }
  .hero__showcase-side {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }
}
