/* ============================================
   FOR FACILITIES — Page-specific styles
   ============================================ */

/* --- Hero --- */
.fac-hero {
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.fac-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.fac-hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.fac-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(45, 49, 66, 0.78) 0%,
    rgba(45, 49, 66, 0.52) 60%,
    rgba(74, 124, 89, 0.28) 100%
  );
}
.fac-hero__content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 680px;
  padding-top: 48px;
  padding-bottom: 40px;
}
.fac-hero__content h1 {
  color: var(--white);
  margin-bottom: 16px;
}
.fac-hero__content p {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.85);
  max-width: 540px;
  margin-bottom: 32px;
}

/* Audience toggle tabs */
.fac-hero__tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.fac-tab {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--white);
  transition: background var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.fac-tab:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

/* --- Section Grid (alternating) --- */
.fac-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.fac-section__grid--img-right .fac-section__text { order: 1; }
.fac-section__grid--img-right .fac-section__image { order: 2; }
.fac-section__grid--img-left  .fac-section__image { order: 1; }
.fac-section__grid--img-left  .fac-section__text  { order: 2; }

.fac-section__text h2 { margin-bottom: 4px; }
.fac-section__text > p { color: var(--charcoal-light); font-size: 0.97rem; }

.fac-section__image img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  aspect-ratio: 4/3;
  box-shadow: 0 16px 48px rgba(45,49,66,0.14);
}

/* Quote card */
.fac-quote {
  background: var(--cream);
  border-left: 4px solid var(--amber);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin-top: 20px;
}
.fac-quote p {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--charcoal);
  margin-bottom: 8px;
  line-height: 1.65;
}
.fac-quote span {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--charcoal-light);
}

/* --- Benefits List --- */
.fac-benefits {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.fac-benefits li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.fac-benefit__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.fac-benefits h4 {
  color: var(--charcoal);
  margin-bottom: 4px;
  font-size: 0.97rem;
}
.fac-benefits p {
  font-size: 0.9rem;
  color: var(--charcoal-light);
  margin-bottom: 0;
  line-height: 1.7;
}

/* --- Divider Band --- */
.fac-divider-band {
  background: var(--sage);
  padding: 16px 0;
}
.fac-divider-band p {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.85);
  text-align: center;
  margin: 0;
}

/* --- Care Continuity --- */
.fac-continuity__inner {
  max-width: 720px;
  margin: 0 auto;
}
.fac-continuity h2   { color: var(--white); margin-bottom: 4px; }
.fac-continuity p    { color: rgba(255,255,255,0.82); font-size: 1rem; }
.fac-continuity p + p { margin-top: 0; }
.fac-continuity__sub {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem !important;
  color: var(--amber) !important;
  margin-top: 8px;
}

/* --- Responsive --- */
@media (max-width: 960px) {
  .fac-section__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .fac-section__grid--img-right .fac-section__image,
  .fac-section__grid--img-left  .fac-section__image {
    order: -1;
  }
  .fac-hero { min-height: 48vh; }
}
@media (max-width: 640px) {
  .fac-hero__tabs { flex-direction: column; }
  .fac-tab { text-align: center; }
  .fac-benefits li { gap: 12px; }
}
