/**
 * Pool Ready Home - About page template
 * Story, stats, values.
 * (The shared page banner lives in assets/css/page-banner.css. The "How It
 * Works" process section lives in assets/css/process.css and the "Areas We
 * Serve" grid lives in assets/css/areas.css, both shared with other
 * templates.)
 */

/* ==========================================================================
   1. Our story
   ========================================================================== */

.prh-story__copy {
  margin-bottom: var(--prh-space-6);
}

.prh-story__mv {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--prh-space-6);
  margin-top: var(--prh-space-10);
  padding-top: var(--prh-space-10);
  border-top: var(--prh-border);
}

.prh-story__mv-item {
  padding: var(--prh-space-6);
  border-radius: var(--prh-radius-lg);
  background: var(--prh-grey-50);
}

.prh-story__mv-title {
  margin-bottom: var(--prh-space-2);
  color: var(--prh-teal);
  font-size: var(--prh-fs-h5);
}

@media (max-width: 700px) {
  .prh-story__mv {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   3. Stats
   ========================================================================== */

.prh-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--prh-space-6);
  padding: clamp(2rem, 1.5rem + 2vw, 3rem);
  border-radius: var(--prh-radius-xl);
  background: var(--prh-grey-50);
}

.prh-stat {
  position: relative;
  padding-inline: var(--prh-space-4);
  text-align: center;
}

.prh-stat + .prh-stat::before {
  content: "";
  position: absolute;
  top: 15%;
  bottom: 15%;
  left: 0;
  width: 1px;
  background: var(--prh-grey-100);
}

.prh-stat__value {
  display: block;
  margin-bottom: var(--prh-space-2);
  color: var(--prh-teal);
  font-size: var(--prh-fs-h2);
  font-weight: var(--prh-fw-bold);
  line-height: 1;
}

.prh-stat__label {
  display: block;
  color: var(--prh-grey-500);
  font-size: var(--prh-fs-sm);
}

@media (max-width: 780px) {
  .prh-stats__grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: var(--prh-space-8);
  }

  .prh-stat + .prh-stat::before {
    display: none;
  }
}

@media (max-width: 480px) {
  .prh-stats__grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   4. Our values
   ========================================================================== */

.prh-values__panel {
  border-radius: var(--prh-radius-xl);
  background: var(--prh-grey-50);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}

.prh-values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--prh-space-6);
}

.prh-value-card {
  padding: var(--prh-space-6);
  border-radius: var(--prh-radius-lg);
  background: var(--prh-white);
  box-shadow: var(--prh-shadow-sm);
  transition:
    box-shadow var(--prh-transition),
    transform var(--prh-transition);
}

.prh-value-card:hover {
  box-shadow: var(--prh-shadow-md);
  transform: translateY(-4px);
}

.prh-value-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: var(--prh-space-4);
  border-radius: var(--prh-radius-circle);
  background: var(--prh-teal-10);
  color: var(--prh-teal);
}

.prh-value-card__icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.prh-value-card__title {
  margin-bottom: var(--prh-space-2);
  font-size: var(--prh-fs-h5);
}

.prh-value-card__text {
  margin: 0;
  font-size: var(--prh-fs-sm);
}

@media (max-width: 900px) {
  .prh-values__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .prh-values__grid {
    grid-template-columns: 1fr;
  }
}

