/* PlumbFlow-style hero — glass cards, full-bleed photo */

.top-bar {
  font-size: 0.78rem;
}

.top-bar a {
  color: #e8eaef;
  transition: color 0.2s;
}

.top-bar a:hover { color: var(--brass-light); }

.hero-top-bar {
  position: relative;
  z-index: 20;
  background: #000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 767px) {
  .hero-top-bar {
    display: none;
  }
}

.mobile-nav-utilities {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-bottom: 0.85rem;
  margin-bottom: 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-utility-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #e8eaef;
  font-size: 0.8125rem;
  font-weight: 600;
  transition: color 0.2s;
}

.mobile-nav-utility-link:hover {
  color: var(--brass-light);
}

.mobile-nav-utility-tagline {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brass-light);
}

.hero-shell {
  position: relative;
  height: 80vh;
  height: 80svh;
  overflow: hidden;
  background: #000;
}

.hero-media {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.hero-media > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-media-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.90) 0%,
    rgba(0, 0, 0, 0.87) 25%,
    rgba(0, 0, 0, 0.85) 50%,
    rgba(0, 0, 0, 0.84) 75%,
    rgba(0, 0, 0, 0.82) 100%
  );
  pointer-events: none;
}

.hero-nav {
  position: relative;
  z-index: 20;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 1023px) {
  .hero-nav #nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 40;
    margin: 0;
    max-height: calc(100svh - 4.5rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

.hero-nav-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-top: 0.65em;
  padding-bottom: 0.65em;
}

@media (min-width: 640px) {
  .hero-nav-inner {
    padding-top: 1em;
    padding-bottom: 1em;
  }
}

.hero-nav-main {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.hero-nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-left: auto;
}

.hero-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.hero-nav.scrolled {
  background: rgba(8, 10, 14, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.hero-body {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding-top: 2em;
  padding-bottom: 2em;
  line-height: normal;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .hero-shell {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .hero-media {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .hero-top-bar,
  .hero-nav {
    flex-shrink: 0;
  }

  .hero-media > img,
  .hero-media-overlay {
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
  }

  .hero-media > img {
    object-position: top center;
  }

  .hero-media-overlay {
    background: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.90) 0%,
      rgba(0, 0, 0, 0.87) 25%,
      rgba(0, 0, 0, 0.85) 50%,
      rgba(0, 0, 0, 0.84) 75%,
      rgba(0, 0, 0, 0.82) 100%
    );
  }

  .hero-body {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    flex: 0 0 auto;
    justify-content: flex-start;
    overflow: visible;
    padding: 2em 1em;
  }

  .hero-body.section-inner {
    max-width: none;
  }

  .hero-shell h1 {
    margin-top: 0.75rem;
  }

  .hero-floats {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    z-index: auto;
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
    margin: 1.5rem 0 0;
    padding: 0;
  }

  .glass-badges {
    flex-direction: column;
    align-items: stretch;
  }

  .glass-badge {
    justify-content: flex-start;
    width: 100%;
  }
}

@media (min-width: 768px) {
  .hero-top-bar,
  .hero-nav {
    flex-shrink: 0;
  }

  .hero-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 2rem;
    align-content: center;
    align-items: end;
    width: 100%;
    max-width: var(--site-width);
    margin: 0 auto;
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero-copy {
    min-width: 0;
  }

  .hero-cta-row {
    gap: 0;
  }

  .hero-floats {
    position: relative;
    align-self: end;
    bottom: auto;
    left: auto;
    right: auto;
    z-index: 15;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    pointer-events: none;
  }
}

.hero-tag {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 14px;
  font-weight: 600;
  color: var(--brass-light);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}

.hero-shell h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 800;
  line-height: calc(1.08 * 1em + 5px);
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 14ch;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.75);
}

.hero-lead {
  margin-top: 1.25rem;
  max-width: 32rem;
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  line-height: 1.65;
  color: #eef0f4;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.8);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  background: var(--brass);
  color: #0a0c10;
  font-size: 0.9rem;
  font-weight: 700;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-gold:hover {
  background: var(--brass-light);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(201, 162, 39, 0.35);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s, background 0.2s;
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
}

.btn-gold-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  background: var(--brass);
  color: #0a0c10;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s;
}

.btn-gold-nav:hover { background: var(--brass-light); }

.hero-floats {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  line-height: normal;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .hero-floats {
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 0.75rem;
  }
}

.glass-card {
  pointer-events: auto;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(18, 22, 30, 0.50);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.glass-card-sm {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.1rem;
  max-width: 20rem;
}

.glass-avatars {
  display: flex;
}

.glass-avatars span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-left: -0.5rem;
  border-radius: 50%;
  border: 2px solid rgba(18, 22, 30, 0.9);
  font-size: 0.65rem;
  font-weight: 700;
  color: #0a0c10;
}

.glass-avatars span:first-child { margin-left: 0; }

.glass-avatars .av-1 { background: #c9a227; }
.glass-avatars .av-2 { background: #8b6914; }
.glass-avatars .av-3 { background: #e4c04a; }

.glass-card-lg {
  padding: 1rem 1.25rem;
  width: fit-content;
  max-width: 100%;
}

@media (min-width: 768px) {
  .glass-card-lg {
    max-width: 23rem;
  }
}

.glass-card-lg p {
  font-size: 0.8rem;
  font-weight: 600;
  color: #d8dce6;
  margin-bottom: 0.75rem;
}

.glass-trophy {
  display: block;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.5rem;
  color: var(--brass-light);
}

.glass-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.glass-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.68rem;
  font-weight: 600;
  color: #c8ccd6;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.glass-badge svg {
  width: 0.85rem;
  height: 0.85rem;
  color: var(--brass-light);
}

.service-pill-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .service-pill-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .service-pill-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.service-pill {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  min-height: 100%;
  padding: 1.75rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--panel);
  transition: border-color 0.25s, transform 0.25s;
}

.section-light .service-pill {
  background: #f7f8fa;
  border-color: rgba(10, 12, 16, 0.08);
}

.section-light .service-pill h3 {
  color: #0a0c10;
}

.section-light .service-pill p {
  color: #5c6370;
}

.section-light .service-pill:hover {
  border-color: rgba(201, 162, 39, 0.45);
}

.service-pill:hover {
  border-color: rgba(201, 162, 39, 0.35);
  transform: translateY(-2px);
}

.service-pill-icon {
  display: block;
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
  object-fit: contain;
  object-position: left top;
}

.service-pill h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.service-pill p {
  margin-top: 0.55rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--steam-muted);
}
