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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #071116;
  background: var(--gold);
  box-shadow: 0 14px 26px rgba(242, 184, 75, 0.28);
}

.btn-dark {
  color: white;
  background: var(--ink);
}

.btn-ghost {
  color: var(--navy);
  background: white;
  border-color: var(--line);
}

.section {
  padding: 28px 0;
}

.section.tight {
  padding-top: 28px;
}

.home-services-section {
  margin-top: 64px;
}

@media (min-width: 901px) {
  .home-services-section .card:not(.no-hover):hover {
    color: white;
    background: var(--navy);
    border-color: transparent;
  }

  .home-services-section .card:not(.no-hover):hover p,
  .home-services-section .card:not(.no-hover):hover li,
  .safety-standards .card:not(.no-hover):hover p,
  .values-grid .card:not(.no-hover):hover p,
  .values-grid .card:not(.no-hover):hover li {
    color: #dcecf3;
  }

  .safety-standards .card:not(.no-hover):hover,
  .values-grid .card:not(.no-hover):hover {
    color: white;
    background: var(--navy);
    border-color: transparent;
  }
}

.section-kicker {
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-head {
  display: block;
  max-width: 760px;
  margin-bottom: 18px;
}

.section-head h2,
.split-copy h2,
.cta h2 {
  margin: 10px 0 0;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-head p,
.split-copy p {
  max-width: 560px;
  color: var(--muted);
  line-height: 1.75;
  margin: 14px 0 0;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.three {
  grid-template-columns: repeat(3, 1fr);
}

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

.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  min-height: 100%;
  transform-origin: center;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  will-change: transform;
}

.card:not(.no-hover):hover {
  transform: translateY(-5px) scale(1.025);
  border-color: rgba(29, 110, 165, 0.28);
  box-shadow: 0 22px 54px rgba(16, 24, 32, 0.14);
}

.card.highlight {
  border-color: transparent;
  background: var(--navy);
  color: white;
}

.card h3 {
  margin: 16px 0 10px;
  font-size: 1.18rem;
}

.card p,
.card li {
  color: var(--muted);
  line-height: 1.7;
}

.card.highlight p,
.card.highlight li {
  color: #dcecf3;
}

.icon-box {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--blue);
  border-radius: 8px;
}

.icon-box.teal {
  background: #087765;
}

.icon-box.rose {
  background: #9e3039;
}

.band {
  background: var(--mist);
}

.values-section .section {
  padding: 28px 0;
}

.values-intro {
  max-width: 760px;
  margin-bottom: 18px;
}

.values-intro h2 {
  margin: 10px 0 14px;
  font-size: clamp(2rem, 2.8vw, 3rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.values-intro p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.values-grid .card {
  display: grid;
  grid-template-rows: 46px auto 1fr;
  align-content: start;
  gap: 0;
  min-height: 250px;
  padding: 30px;
  border-color: #cfdae1;
}

.values-grid .card h3 {
  margin: 18px 0 12px;
}

.values-grid .card p {
  max-width: 31ch;
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  text-wrap: pretty;
}

.split {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 48px;
  align-items: start;
}

.split-media {
  position: relative;
  height: var(--media-height);
  min-height: var(--media-height);
}

.split-media img {
  width: 100%;
  height: 100%;
  min-height: var(--media-height);
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 11px;
  color: #30424f;
  line-height: 1.55;
}

.check-list li::before {
  content: "";
  flex: 0 0 18px;
  height: 18px;
  margin-top: 3px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: inset 0 0 0 5px white;
}

.cta {
  color: white;
  background:
    linear-gradient(120deg, rgba(20, 63, 92, 0.96), rgba(20, 163, 139, 0.82)),
    url("../assets/van-interior-960.webp") center/cover;
}

.cta .section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 72px 0;
}

.cta p {
  max-width: 620px;
  color: #eaf8f6;
  line-height: 1.7;
}
