/* ================================================================
   borough-page.css — Kome Care
   Shared styles for London borough home care pages (hackney, camden, etc.)
   Prefix: kch- (kome-care hub / borough)
   Depends on: service-redesign.css (--kcs-* tokens must be loaded first)
   ================================================================ */

/* ── Sticky sidebar column ──────────────────────────────────────── */
.kch-sticky-col {
  position: sticky;
  top: 100px;
}

/* ── CTA card (navy gradient, full-width buttons) ───────────────── */
.kch-cta-card {
  background: linear-gradient(165deg, var(--kcs-navy) 0%, #1a2e5a 100%);
  border-radius: 16px;
  padding: 36px 30px;
  color: #fff;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.kch-cta-card::after {
  content: '';
  position: absolute;
  bottom: -44px;
  right: -44px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 107, 53, 0.1);
  pointer-events: none;
}
.kch-cta-card__label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--kcs-orange);
  margin-bottom: 8px;
}
.kch-cta-card__title {
  font-family: 'Sora', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.3;
}
.kch-cta-card__sub {
  font-size: .88rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
  line-height: 1.65;
}
.kch-btn-full {
  width: 100%;
  justify-content: center;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.kch-btn-full:last-child { margin-bottom: 0; }

/* ── Info card (light background, icon rows) ────────────────────── */
.kch-info-card {
  background: #f0f4f8;
  border-radius: 16px;
  padding: 28px 24px;
}
.kch-info-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.kch-info-item:last-child { margin-bottom: 0; }
.kch-info-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--kcs-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: .8rem;
}
.kch-info-label {
  display: block;
  font-weight: 700;
  font-size: .82rem;
  color: var(--kcs-navy);
  margin-bottom: 2px;
}
.kch-info-value {
  font-size: .8rem;
  color: var(--kcs-muted);
  line-height: 1.55;
}
.kch-info-value a {
  color: var(--kcs-orange);
  text-decoration: none;
}
.kch-info-value a:hover { text-decoration: underline; }

/* ── Services bullet list ───────────────────────────────────────── */
.kch-service-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.kch-service-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--kcs-border);
  font-size: .94rem;
  color: var(--kcs-text);
  line-height: 1.65;
}
.kch-service-list li:last-child { border-bottom: none; }
.kch-service-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--kcs-orange);
  flex-shrink: 0;
  margin-top: 9px;
}

/* ── Coverage areas tag grid ────────────────────────────────────── */
.kch-areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 2px 8px;
  margin-top: 8px;
}
.kch-area-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .88rem;
  color: #374151;
  padding: 6px 4px;
}
.kch-area-item i {
  color: var(--kcs-orange);
  font-size: .7rem;
  flex-shrink: 0;
}

/* ── Coverage area pill badges ──────────────────────────────────── */
.kch-areas-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.kch-area-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  background: #fff;
  border: 1.5px solid #dde3ed;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: .84rem;
  font-weight: 600;
  color: #001c4c;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  transition: border-color .2s, background .2s, color .2s, box-shadow .2s;
  white-space: nowrap;
  cursor: default;
}
.kch-area-pill i {
  color: #ff7934;
  font-size: .64rem;
  flex-shrink: 0;
}
.kch-area-pill:hover {
  border-color: #ff7934;
  background: #fff7f3;
  color: #c2410c;
  box-shadow: 0 2px 8px rgba(255,121,52,.18);
}

/* ── Stats row (4 key metrics) ──────────────────────────────────── */
.kch-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 28px 0;
}
.kch-stat {
  background: #f8faff;
  border: 1px solid #dde3ed;
  border-radius: 12px;
  padding: 18px 12px;
  text-align: center;
}
.kch-stat__value {
  font-family: 'Sora', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #ff7934;
  line-height: 1;
  margin-bottom: 5px;
}
.kch-stat__label {
  font-family: 'Inter', sans-serif;
  font-size: .72rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ── Testimonial quote cards ────────────────────────────────────── */
.kch-quotes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.kch-quote-card {
  background: #fff;
  border: 1px solid #dde3ed;
  border-radius: 14px;
  padding: 24px 22px;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
  display: flex;
  flex-direction: column;
}
.kch-quote-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
}
.kch-quote-card__stars i { color: #f59e0b; font-size: .8rem; }
.kch-quote-card__text {
  font-family: 'Inter', sans-serif;
  font-size: .87rem;
  font-style: italic;
  color: #374151;
  line-height: 1.72;
  margin-bottom: 16px;
  flex: 1;
}
.kch-quote-card__author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.kch-quote-card__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff0e8;
  color: #ff7934;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: .75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.kch-quote-card__name {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: .84rem;
  color: #001c4c;
}
.kch-quote-card__role {
  font-family: 'Inter', sans-serif;
  font-size: .76rem;
  color: #9ca3af;
}

/* ── London zone cards ───────────────────────────────────────────────
   "Coverage zones" — each card is a London quadrant with its areas shown
   as interactive pills, a gradient accent bar, and a faint map-pin
   watermark. Used only on london-home-care.php. */
.kch-zones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.kch-zone-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 8px;
  background:
    radial-gradient(125% 90% at 100% 0%, rgba(255,121,52,.07), transparent 58%),
    #fff;
  border: 1px solid #dde3ed;
  border-radius: 16px;
  padding: 20px 20px 18px;
  box-shadow: 0 1px 3px rgba(0,28,76,.05);
  transition: transform .28s cubic-bezier(.34,1.2,.4,1), box-shadow .28s ease, border-color .28s ease;
}
/* gradient accent bar across the top, revealed on hover */
.kch-zone-card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, #ff7934, #ffb27e);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s ease;
}
/* faint location-pin watermark */
.kch-zone-card::after {
  content: "\f3c5"; /* fa-location-dot */
  font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; top: -12px; right: -8px; z-index: -1;
  font-size: 5.5rem; line-height: 1;
  color: rgba(0,28,76,.04);
  pointer-events: none;
  transition: color .35s ease, transform .35s ease;
}
.kch-zone-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,121,52,.45);
  box-shadow: 0 16px 32px -12px rgba(255,121,52,.32), 0 6px 16px rgba(0,28,76,.08);
}
.kch-zone-card:hover::before { transform: scaleX(1); }
.kch-zone-card:hover::after  { color: rgba(255,121,52,.10); transform: rotate(-8deg) scale(1.06); }

.kch-zone-label {
  position: relative; z-index: 1;
  flex: 0 0 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-family: 'Sora', sans-serif;
  font-size: .82rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .1em;
  color: #001c4c;
  margin-bottom: 4px; padding-bottom: 12px;
  border-bottom: 1px solid #eef2f7;
}
.kch-zone-count {
  font-family: 'Inter', sans-serif;
  font-size: .62rem; font-weight: 800; letter-spacing: .02em; text-transform: none;
  color: #fff;
  background: linear-gradient(135deg, #ff7934, #ff9c5e);
  border-radius: 50px; padding: 3px 10px; white-space: nowrap;
  box-shadow: 0 2px 6px rgba(255,121,52,.35);
}
/* area names as interactive pills */
.kch-zone-area {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 7px;
  font-family: 'Inter', sans-serif; font-size: .76rem; font-weight: 600;
  color: #374151;
  background: #f6f8fc;
  border: 1px solid #e7ecf3;
  border-radius: 50px;
  padding: 5px 11px 5px 10px;
  line-height: 1;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.kch-zone-area:hover {
  background: #fff0e8;
  border-color: rgba(255,121,52,.45);
  color: #001c4c;
  transform: translateY(-2px);
}
.kch-zone-area i {
  color: #ff7934; font-size: .42rem; flex-shrink: 0;
  transition: transform .2s ease;
}
.kch-zone-area:hover i { transform: scale(1.5); }

@media (prefers-reduced-motion: reduce) {
  .kch-zone-card, .kch-zone-card::before, .kch-zone-card::after,
  .kch-zone-area, .kch-zone-area i { transition: none; }
}

/* ── FAQ accordion ───────────────────────────────────────────────── */
.kch-faq-list { margin-top: 4px; }
.kch-faq-item { border-bottom: 1px solid #dde3ed; }
.kch-faq-item:first-child { border-top: 1px solid #dde3ed; }
.kch-faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  cursor: pointer;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  color: #001c4c;
  user-select: none;
}
.kch-faq-item summary::-webkit-details-marker { display: none; }
.kch-faq-item summary i {
  color: #ff7934;
  font-size: .8rem;
  flex-shrink: 0;
  transition: transform .22s;
}
.kch-faq-item[open] summary i { transform: rotate(180deg); }
.kch-faq-item__body {
  padding: 0 0 18px;
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  color: #6b7280;
  line-height: 1.72;
}

/* ── Section heading with top gap ───────────────────────────────── */
.kch-h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* ── CTA strip button group ─────────────────────────────────────── */
.kch-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Navy section — heading and lead colour overrides ───────────── */
.kcs-section--navy .kcs-h2 {
  color: #fff;
  margin-bottom: 12px;
}
.kcs-section--navy .kcs-lead {
  color: rgba(255, 255, 255, 0.78);
  margin: 0 auto 32px;
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 991px) {
  .kch-sticky-col { position: static; }
}
@media (max-width: 575px) {
  .kch-cta-card  { padding: 28px 22px; }
  .kch-areas-grid { grid-template-columns: repeat(2, 1fr); }
}
