/* ============================================================
   ALIGN HEALTH CO — V3 Override CSS
   Version 3: Clean & Minimal
   Loaded after style.css — overrides only what differs.
   ============================================================ */

/* ============================================================
   HERO — white background, diagonal gradient, center-aligned
   ============================================================ */

.hero-section {
  background: transparent;
  min-height: unset;
  padding: 6rem 0;
  margin-top: 72px;
}

/* Show background image with a clean even overlay */
.hero-bg {
  display: block;
  background:
    linear-gradient(
      rgba(2, 63, 74, 0.72),
      rgba(2, 63, 74, 0.72)
    ),
    url('../images/hero-banner.jpg');
  background-size: cover;
  background-position: center;
}

.hero-content {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}

.hero-section h1 {
  font-size: clamp(2rem, 4vw, 3.125rem);
  color: #fff;
  margin-bottom: var(--space-30);
}

.hero-section .lead {
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: var(--space-40);
}

.btn-group--hero {
  justify-content: center;
}

/* Ghost button override for dark bg */
.hero-section .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.hero-section .btn--ghost:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

/* Trust items centered, white text */
.hero-trust {
  justify-content: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: var(--space-50);
  padding-top: var(--space-40);
}

.hero-trust-item {
  color: rgba(255, 255, 255, 0.75);
}

.hero-trust-item svg {
  color: var(--color-primary);
}

/* ============================================================
   WHO WE HELP — borderless, shadowless identity tiles
   ============================================================ */

.identity-tiles {
  text-align: left;
}

.identity-tile {
  border: none;
  box-shadow: none;
  background: transparent;
  padding: var(--space-40) var(--space-30);
}

.identity-tile:hover {
  border: none;
  box-shadow: none;
  transform: none;
}

.identity-tile__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 181, 200,0.08);
  font-size: 1.5rem;
  transition: background-color var(--transition);
}

.identity-tile:hover .identity-tile__icon {
  background: rgba(0, 181, 200,0.18);
}

/* ============================================================
   HOW WE'RE DIFFERENT — large step numbers, column dividers
   ============================================================ */

.section--pillars {
  background: var(--color-background);
}

/* Remove card boxes */
.pillar-card {
  background: transparent;
  border: none;
  border-top: none;
  border-radius: 0;
  padding: var(--space-40) var(--space-50);
}

/* Column dividers between cards */
.pillar-card:not(:last-child) {
  border-right: 1px solid var(--color-border);
}

/* Large prominent step numbers */
.pillar-card__number {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.pillar-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-foreground);
  margin-bottom: var(--space-20);
}

/* ============================================================
   CARE JOURNEY — white background (not off-white)
   ============================================================ */

.section--journey {
  background: var(--color-background);
}

/* Fix care step circle bg for white bg */
.care-step__num {
  box-shadow: 0 0 0 6px var(--color-background);
}

/* ============================================================
   SERVICES — horizontal row layout
   ============================================================ */

/* Override the 3-col grid with a single-col list */
.service-rows {
  display: flex;
  flex-direction: column;
  margin-top: var(--space-10);
}

.service-row {
  display: flex;
  align-items: center;
  gap: var(--space-40);
  padding: var(--space-40) 0;
  border-bottom: 1px solid var(--color-border);
}

.service-row:first-child {
  border-top: 1px solid var(--color-border);
}

.service-row__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: rgba(0, 181, 200,0.08);
  border-radius: var(--radius-m);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.service-row__content {
  flex: 1;
  min-width: 0;
}

.service-row__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-foreground);
  margin-bottom: 0.375rem;
}

.service-row__body {
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin: 0;
}

.service-row__link {
  flex-shrink: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition);
}

.service-row__link:hover {
  color: var(--color-primary-dark);
}

/* ============================================================
   REVIEWS — borderless, quotation mark decoration
   ============================================================ */

/* Remove header score/stars row */
.reviews-header--v3 {
  margin-bottom: var(--space-40);
}

/* Borderless review cards */
.review-card--v3 {
  background: var(--color-background);
  border: none;
  border-top: 3px solid var(--color-primary);
  border-radius: 0;
  box-shadow: none;
  padding: var(--space-50) var(--space-40) var(--space-40);
  position: relative;
}

.review-card--v3::before {
  content: '\201C';
  position: absolute;
  top: var(--space-30);
  left: var(--space-40);
  font-size: 4rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  pointer-events: none;
  opacity: 0.7;
}

.review-card--v3 .review-card__quote {
  font-style: italic;
  padding-top: 2.5rem;
  margin-bottom: var(--space-20);
}

.review-card--v3 .review-card__author {
  font-weight: 700;
}

/* ============================================================
   TEAM — horizontal card layout
   ============================================================ */

.team-rows {
  display: flex;
  flex-direction: column;
  margin-top: var(--space-50);
}

.team-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-40);
  padding: var(--space-50) 0;
  border-bottom: 1px solid var(--color-border);
}

.team-row:first-child {
  border-top: 1px solid var(--color-border);
}

.team-row__photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--color-surface);
  box-shadow: 0 0 0 2px var(--color-primary);
}

.team-row__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-row__content {
  flex: 1;
  min-width: 0;
}

.team-row__name {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-foreground);
  margin-bottom: 0.25rem;
}

.team-row__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-20);
}

.team-row__bio {
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.65;
  margin: 0;
}

.team-row__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-20);
  flex-shrink: 0;
}

.team-row__socials {
  display: flex;
  gap: var(--space-10);
}

.team-row__btn {
  padding: 0.5rem 1.25rem;
  background: transparent;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-s);
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition);
  white-space: nowrap;
}

.team-row__btn:hover {
  background: var(--color-primary);
  color: #fff;
}

/* ============================================================
   CTA SECTION — light blue instead of dark navy
   ============================================================ */

.cta-section--v3 {
  background-color: rgba(0, 181, 200,0.08);
  color: var(--color-body);
}

.cta-section--v3 h2 {
  color: var(--color-foreground);
}

.cta-section--v3 .lead {
  color: var(--color-body);
}

.cta-section--v3 .cta-meta-item {
  color: var(--color-muted);
}

/* ============================================================
   RESPONSIVE — v3 specific overrides
   ============================================================ */

@media (max-width: 768px) {
  .pillar-card:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }

  .service-row {
    flex-wrap: wrap;
    gap: var(--space-20);
  }

  .service-row__link {
    margin-left: calc(48px + var(--space-20));
  }

  .team-row {
    flex-wrap: wrap;
  }

  .team-row__actions {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }

  .hero-content {
    text-align: left;
  }

  .hero-trust {
    justify-content: flex-start;
  }

  .btn-group--hero {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .service-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-row__link {
    margin-left: 0;
  }

  .team-row__actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== ALL CAPS — titles & names ===== */
.service-row__title,
.team-row__name {
  text-transform: uppercase;
}
