/* ==========================================================================
   about.css — About page only: values/approach cards, centered tag row,
   embedded map. Loaded via $page_extra_css on about.php, layered on top
   of base.css + components.css (uses the same design tokens).
   ========================================================================== */

/* ---------- What We Do: clickable icon-badge grid ---------- */
/* .included-grid / .included-item already exist globally (components.css,
   used for "What's Included" on service pages). Reused here as a link
   grid to all 9 service pages; this just adds the hover affordance since
   these instances are <a> tags rather than static rows. */
.included-item {
  cursor: pointer;
}
.included-item:hover {
  border-color: var(--color-primary-light);
}
.included-item:hover span:last-child {
  color: var(--color-primary-dark);
}

/* ---------- Story image ---------- */
.svc-about--story {
  align-items: center;
}
.about-story__visual {
  position: relative;
  min-height: 460px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-plum-950);
  box-shadow: var(--shadow-md);
}
.about-story__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-story__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(31, 20, 32, 0.82));
  pointer-events: none;
}
.about-story__note {
  position: absolute;
  right: var(--space-md);
  bottom: var(--space-md);
  left: var(--space-md);
  z-index: 1;
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
}
.about-story__note .svc-about__quote {
  font-size: 1rem;
}

@media (max-width: 767.98px) {
  .about-story__visual {
    min-height: 360px;
  }
}

/* ---------- Our Values / Approach ---------- */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
.value-card {
  position: relative;
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
/* Large watermark numeral behind the icon — a small premium/editorial touch */
.value-card__num {
  position: absolute;
  top: 0.2rem;
  right: 0.9rem;
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--color-primary-tint);
  z-index: 0;
  user-select: none;
}
.value-card__icon,
.value-card h3,
.value-card p {
  position: relative;
  z-index: 1;
}
.value-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary-tint);
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}
.value-card__icon svg {
  width: 26px;
  height: 26px;
}
.value-card h3 {
  font-size: 1.05rem;
  font-family: var(--font-body);
  font-weight: 600;
}
.value-card p {
  margin-top: 0.4rem;
  font-size: 0.88rem;
  color: var(--color-ink-soft);
}

/* ---------- Trust chips on a light section background ---------- */
/* .trust-chip (components.css) assumes a dark page-banner background;
   this variant keeps the same shape/icon treatment but reads correctly
   on white/tint sections used elsewhere on this page. */
.trust-row--light {
  margin-top: var(--space-md);
  margin-bottom: var(--space-lg);
}
.trust-chip--light {
  background: var(--color-primary-tint);
  border: 1px solid var(--color-border);
  color: var(--color-primary-dark);
}
.trust-chip--light svg {
  color: var(--color-primary);
}

@media (min-width: 640px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- Map (service area) ---------- */
.map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 16 / 9;
}
.map-frame {
  width: 100%;
  height: 100%;
  border: 0;
}
@media (min-width: 768px) {
  .map-wrap {
    aspect-ratio: 21 / 8;
  }
}
