/* ========== Hero (home) ========== */
.hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  isolation: isolate;
  background: var(--black);
  border-bottom: 1px solid var(--line-blue);
}
.hero-photo {
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/hero-millwork.png");
  background-size: cover;
  background-position: center right;
  z-index: 0;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(8, 11, 16, 0.97) 0%,
      rgba(8, 11, 16, 0.92) 28%,
      rgba(8, 11, 16, 0.55) 55%,
      rgba(8, 11, 16, 0.35) 100%
    ),
    linear-gradient(
      180deg,
      rgba(8, 11, 16, 0.55) 0%,
      rgba(8, 11, 16, 0.1) 35%,
      rgba(8, 11, 16, 0.55) 100%
    );
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 9rem 0 6rem;
}
.hero h1 {
  font-size: clamp(3.4rem, 6.6vw, 6.2rem);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-weight: 900;
  color: var(--white);
  max-width: 12ch;
}
.hero h1 .blue {
  display: block;
  color: var(--blue);
}
.hero-copy {
  max-width: 460px;
  color: var(--off);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.8rem;
}

/* ========== Trust bar ========== */
.trust-bar {
  background: var(--ink);
  border-top: 1px solid var(--line-blue);
  border-bottom: 1px solid var(--line-blue);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.8rem 1.6rem;
  border-right: 1px solid var(--line);
}
.trust-item:last-child {
  border-right: none;
}
.trust-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: var(--blue);
}
.trust-icon svg {
  width: 38px;
  height: 38px;
}
.trust-item h3 {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.35rem;
}
.trust-item p {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--off);
}

/* ========== Trust bar alignment polish ========== */
.trust-item {
  display: flex;
  align-items: center;
  gap: 1.55rem;
}

.trust-item > div:last-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.trust-icon,
.trust-link {
  width: 62px;
  min-width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-icon svg {
  width: 46px;
  height: 46px;
}

.trust-icon.award svg {
  width: 52px;
  height: 52px;
}

.trust-icon.shield svg {
  width: 50px;
  height: 50px;
}

.ca-gov-logo {
  width: 64px;
  height: auto;
}

.california-logo {
  width: 44px;
  height: auto;
}

@media (max-width: 760px) {
  .trust-item {
    align-items: center;
    gap: 1rem;
  }

  .trust-icon,
  .trust-link {
    width: 50px;
    min-width: 50px;
    height: 50px;
  }

  .trust-icon svg {
    width: 38px;
    height: 38px;
  }

  .ca-gov-logo {
    width: 50px;
  }

  .california-logo {
    width: 36px;
  }
}
