/* top.css */
.hero {
  position: relative;
  min-height: calc(100vh - 82px);
  overflow: hidden;
  color: #fff;
  background: var(--navy) url("../img3/Stage04.jpg") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, .14);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 12px;
  background: var(--navy);
}

.hero-inner {
  position: relative;
  z-index: 3;
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: center;
  padding: 92px 0;
}

.hero-content {
  max-width: 820px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(28px, 4.2vw, 48px);
  line-height: 1.28;
  text-shadow: 0 4px 12px rgba(0, 0, 0, .95), 0 10px 26px rgba(0, 0, 0, .78);
}

.hero .lead {
  margin-top: 26px;
  color: #fff;
  font-size: clamp(15px, 1.7vw, 18px);
  text-shadow: 0 4px 12px rgba(0, 0, 0, .95), 0 10px 24px rgba(0, 0, 0, .75);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin-bottom: 22px;
  padding: 8px 15px;
  color: #fff;
  background: rgba(0, 0, 0, .18);
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: .14em;
  text-shadow: 0 3px 10px rgba(0, 0, 0, .85);
}

.hero-badge::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--blue-bright);
  box-shadow: 0 0 18px rgba(0, 160, 233, .9);
}

.top-bg-about,
.top-bg-problem,
.top-bg-onestop,
.top-bg-services {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #fff;
}

.top-bg-about::before,
.top-bg-problem::before,
.top-bg-onestop::before,
.top-bg-services::before,
.top-bg-about::after,
.top-bg-problem::after,
.top-bg-onestop::after,
.top-bg-services::after,
.photo-visual::before,
.photo-visual::after {
  content: none;
}

.section-light {
  background-color: #f7f9fb;
}

.intro-layout,
.photo-section {
  display: grid;
  gap: 58px;
  align-items: start;
}

.intro-layout {
  grid-template-columns: .86fr 1.14fr;
}

.photo-section {
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.section-title h2,
.top-bg-about h2,
.top-bg-problem h2,
.top-bg-onestop h2,
.top-bg-services h2,
.top-service-card h3 {
  color: var(--navy);
}

.top-bg-about .eyebrow,
.top-bg-problem .eyebrow,
.top-bg-onestop .eyebrow,
.top-bg-services .eyebrow {
  color: var(--blue-deep);
  text-shadow: none;
}

.intro-text,
.intro-text p,
.photo-content,
.photo-content p,
.top-bg-services .lead,
.top-service-card p {
  color: #111820;
  text-shadow: none;
}

.intro-text {
  font-size: 15.5px;
}

.intro-text p + p,
.photo-content p + p {
  margin-top: 20px;
}

.photo-section-reverse .photo-visual {
  order: 2;
}

.photo-section-reverse .photo-content {
  order: 1;
}

.photo-visual {
  min-height: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.top-service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.top-service-card {
  min-height: 260px;
  background: #fff;
  border: 1px solid rgba(216, 224, 231, .95);
  box-shadow: none;
}

.cta .eyebrow,
.cta h2,
.cta .lead {
  color: #fff;
  text-shadow: 0 5px 16px rgba(0, 0, 0, 1), 0 12px 32px rgba(0, 0, 0, .95);
}

@media (max-width: 980px) {
  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner {
    padding: 86px 0;
  }

  .intro-layout,
  .photo-section {
    grid-template-columns: 1fr;
  }

  .photo-section-reverse .photo-visual,
  .photo-section-reverse .photo-content {
    order: initial;
  }

  .top-service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .hero {
    background-position: center top;
  }

  .hero-inner {
    padding: 70px 0;
  }

  .hero h1 {
    line-height: 1.34;
  }

  .hero .lead {
    margin-top: 18px;
  }

  .hero-badge {
    display: flex;
    width: fit-content;
    white-space: normal;
    font-size: 11px;
    letter-spacing: .08em;
  }

  .top-service-grid {
    grid-template-columns: 1fr;
  }

  .top-service-card {
    min-height: auto;
  }
}

@media (max-width: 380px) {
  .hero-inner {
    padding: 58px 0;
  }

  .hero-badge {
    font-size: 10px;
    letter-spacing: .05em;
  }
}
