/* ============================================================
   About Us page — hero (matched to Services), intro, trust cards, CTA.
   Uses shared token variables from css/tokens.css.
   ============================================================ */

/* ---- Page hero (same dimensions & treatment as Services banner) ---- */
.services-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-hero);
  min-height: 16rem;
}

@media (min-width: 768px) {
  .services-banner {
    min-height: 20rem;
  }
}

.services-banner__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.services-banner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.services-banner__overlay {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--forest-900) 62%, transparent);
  pointer-events: none;
}

.services-banner__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 16rem;
  padding: 3rem 1.5rem;
}

.services-banner__content h1 {
  width: 100%;
  text-align: center;
}

.services-banner__content h1 .overflow-hidden {
  display: block;
  width: 100%;
  text-align: center;
}

.services-banner__content h1 div,
.services-banner__content h1 span {
  text-align: center;
}

@media (min-width: 768px) {
  .services-banner__content {
    min-height: 20rem;
    padding: 4rem 2rem;
  }
}

.services-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.88);
}

.services-breadcrumb a {
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.2s ease;
}

.services-breadcrumb a:hover {
  color: #fff;
}

.services-breadcrumb__sep {
  opacity: 0.55;
}

/* ---- Company intro ---- */
.about-intro__media {
  overflow: hidden;
  border-radius: 1.5rem;
  aspect-ratio: 4 / 3;
  background: var(--forest-900);
}

.about-intro__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- Trust / value cards (dark surfaces + lime accent glow) ---- */
.about-trust {
  background: var(--forest-900);
}

.about-trust-card {
  background: color-mix(in srgb, var(--forest-900) 72%, #000);
  border: 1px solid color-mix(in srgb, var(--limebrand) 28%, transparent);
  border-radius: 1.25rem;
  padding: 1.5rem 1.35rem;
  height: 100%;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.about-trust-card:hover {
  border-color: color-mix(in srgb, var(--limebrand) 55%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--limebrand) 25%, transparent),
    0 0 28px color-mix(in srgb, var(--limebrand) 22%, transparent);
  transform: translateY(-2px);
}

.about-trust-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--limebrand) 18%, transparent);
  color: var(--limebrand);
  box-shadow: 0 0 18px color-mix(in srgb, var(--limebrand) 20%, transparent);
}

.about-trust-card__title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}

.about-trust-card__desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

/* ---- Compact quote CTA ---- */
.about-cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-hero);
  min-height: 16rem;
}

.about-cta__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.about-cta__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-cta__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--forest-900) 58%, transparent) 0%,
      color-mix(in srgb, var(--forest-900) 82%, transparent) 100%
    );
  pointer-events: none;
}

.about-cta__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  max-width: 36rem;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}

@media (min-width: 768px) {
  .about-cta__content {
    padding: 4.5rem 2rem;
  }
}

.about-cta [data-btn-pill] {
  box-shadow: 0 0 0 0 transparent, 0 0 24px color-mix(in srgb, var(--limebrand) 35%, transparent);
  transition: box-shadow 0.25s ease;
}

.about-cta [data-btn-pill]:hover {
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--limebrand) 40%, transparent),
    0 0 32px color-mix(in srgb, var(--limebrand) 45%, transparent);
}

/* ---- Focus ---- */
.about-page a:focus-visible,
.about-page button:focus-visible {
  outline: 2px solid var(--limebrand);
  outline-offset: 3px;
}

.about-page [data-btn-pill]:focus-visible {
  outline-offset: 4px;
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .about-trust-card,
  .about-cta [data-btn-pill],
  .services-breadcrumb a {
    transition: none !important;
  }

  .about-trust-card:hover {
    transform: none !important;
  }
}
