/* home.css
   Split from the previous shared stylesheet to match the PriLink Digital CSS structure. */

.hero {
  position: relative;
  min-height: 75vh;
  display: grid;
  align-items: end;
  color: white;
  background: var(--ink);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(16, 24, 32, 0.85), rgba(20, 63, 92, 0.58) 52%, rgba(16, 24, 32, 0.2));
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #dcfff8;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  background: var(--gold);
}

.hero h1,
.page-hero h1 {
  max-width: 780px;
  margin: 18px 0 18px;
  line-height: 0.92;
  letter-spacing: 0;
  font-size: clamp(2rem, 10vw, 3rem);
  word-break: break-word;
}

.hero p {
  max-width: 640px;
  margin: 0 0 28px;
  color: #edf7fa;
  font-size: clamp(1.04rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions,
.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-panel {
  position: relative;
  z-index: 2;
  width: min(1140px, calc(100% - 40px));
  margin: 36px auto -52px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: white;
  color: var(--ink);
  box-shadow: var(--shadow);
  border-radius: 8px;
  overflow: hidden;
}

.hero-stat {
  padding: 24px;
  border-right: 1px solid var(--line);
}

.hero-stat:last-child {
  border-right: 0;
}

.hero-stat strong {
  display: block;
  font-size: 1.35rem;
  color: var(--navy);
}

.hero-stat span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 5px;
}
