/* ── Utility & Shared Component Classes ──────────────────────────────────────
   Phase 7.3: Extracted from inline styles across public views.
   ────────────────────────────────────────────────────────────────────────────── */

/* Eyebrow / kicker label (appears on many page headers) */
.eyebrow {
  font-size: var(--text-xs);
  font-weight: var(--weight-semi);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

/* Subheading — muted lead paragraph beneath page-header headlines.
   font-size matches the inline styles previously scattered across views. */
.subheading {
  font-size: var(--text-lg);          /* 1.25 rem – consistent with service/testimonial headers */
  line-height: var(--leading-relaxed);
  max-width: 540px;
  color: var(--color-text-3);
}
.page-header .subheading {
  margin-top: var(--space-4);
  margin-bottom: 0;
}

/* Step subtitle text below step-title */
.step-subtitle {
  font-size: var(--text-sm);
  color: var(--color-text-3);
  margin-bottom: var(--space-6);
  margin-top: calc(var(--space-2) * -1);
}

/* Checklist (arrow-item list used on booking, about, etc.) */
.check-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.check-list__item {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-size: var(--text-sm);
  color: var(--color-text-2);
}
.check-list__icon {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Numbered steps list (contact "What Happens Next") */
.numbered-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.numbered-step {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.numbered-step__num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-accent-light);
  color: var(--color-accent);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.numbered-step__title {
  font-size: var(--text-base);
  font-weight: var(--weight-semi);
  color: var(--color-text);
  margin-bottom: var(--space-1);
}
.numbered-step__body {
  font-size: var(--text-sm);
  color: var(--color-text-3);
  margin: 0;
  line-height: var(--leading-relaxed);
}

/* Soft card (social proof, capacity notes, privacy boxes) */
.soft-card {
  padding: var(--space-5);
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}
.soft-card--sm {
  border-radius: var(--radius-lg);
}
.soft-card--md {
  border-radius: var(--radius-md);
}

/* Testimonial quote (inline style extract) */
.inline-quote {
  font-size: var(--text-sm);
  font-style: italic;
  color: var(--color-text-2);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

/* Attribution / author row */
.attribution {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.attribution__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  color: var(--color-accent);
  flex-shrink: 0;
}
.attribution__name {
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
  color: var(--color-text);
}
.attribution__role {
  font-size: var(--text-xs);
  color: var(--color-text-4);
}

/* Capacity / note label */
.note-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semi);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-4);
  margin-bottom: var(--space-2);
}
.note-body {
  font-size: var(--text-sm);
  color: var(--color-text-3);
  margin: 0;
  line-height: var(--leading-relaxed);
}

/* Privacy disclaimer box */
.privacy-box {
  padding: var(--space-4) var(--space-5);
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  color: var(--color-text-4);
  line-height: 1.6;
}

/* Alert spacer (common pattern: margin-bottom on alert inside a form) */
.alert--spaced { margin-bottom: var(--space-6); }

/* Submit row (button + secondary link) */
.submit-row {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  flex-wrap: wrap;
}
.submit-row__aside {
  font-size: var(--text-xs);
  color: var(--color-text-4);
  margin: 0;
}
.submit-row__aside a {
  color: var(--color-accent);
  font-weight: var(--weight-semi);
}

/* Section heading (call cover / next steps) */
.info-section { margin-top: var(--space-8); }
.info-section__title {
  font-size: var(--text-base);
  font-weight: var(--weight-semi);
  margin-bottom: var(--space-4);
}
.info-section__title--lg {
  font-size: var(--text-xl);
  margin-bottom: var(--space-6);
}

/* Spacing */
.mt-4  { margin-top: var(--space-4); }
.mt-8  { margin-top: var(--space-8); }
.mt-10 { margin-top: var(--space-10); }
.mb-6  { margin-bottom: var(--space-6); }

/* ── FAQ Accordion ────────────────────────────────────────────────────────────
   Shared across booking, contact, and service detail pages.
   ─────────────────────────────────────────────────────────────────────────── */
.booking-faq {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.booking-faq__item {
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  background: var(--color-bg-soft);
  overflow: hidden;
}
.booking-faq__item[open] {
  border-color: var(--color-accent-muted);
  background: var(--color-surface);
}
.booking-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  font-size: var(--text-base);
  font-weight: var(--weight-semi);
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
  line-height: var(--leading-snug);
  transition: color var(--ease-base);
}
.booking-faq__q::-webkit-details-marker { display: none; }
.booking-faq__q::marker { display: none; }
.booking-faq__q::after {
  content: '+';
  font-size: var(--text-lg);
  font-weight: var(--weight-normal);
  color: var(--color-accent);
  flex-shrink: 0;
  transition: transform var(--ease-base);
}
.booking-faq__item[open] .booking-faq__q::after { transform: rotate(45deg); }
.booking-faq__item[open] .booking-faq__q { color: var(--color-accent); }
.booking-faq__a {
  padding: var(--space-4) var(--space-6) var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-text-3);
  line-height: var(--leading-relaxed);
  margin: 0;
  border-top: 1px solid var(--color-border-soft);
}

/* ── Shared Stat Bar ─────────────────────────────────────────────────────────
   Blue accent strip with a 4-column metrics grid. Used on About, Services,
   and Case Studies. Page-specific variations can extend with local classes.
   ─────────────────────────────────────────────────────────────────────────── */
.stat-bar {
  background: var(--color-accent);
  padding-block: var(--space-12);
}
.stat-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  text-align: center;
}
.stat-bar__num {
  display: block;
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  font-weight: var(--weight-bold);
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: var(--space-2);
}
.stat-bar__item {
  font-size: var(--text-base);
  font-weight: var(--weight-semi);
  color: #fff;
}
.stat-bar__label {
  display: block;
  font-size: var(--text-xs);
  color: rgba(255,255,255,.80);
  line-height: var(--leading-relaxed);
  max-width: 200px;
  margin-inline: auto;
}
@media (max-width: 1024px) { .stat-bar__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .stat-bar__grid { grid-template-columns: 1fr 1fr; } }

/* ── Accent Sidebar Card ─────────────────────────────────────────────────────
   Blue CTA card used in sticky sidebars on Services, About, and Booking pages.
   ─────────────────────────────────────────────────────────────────────────── */
.accent-sidebar-card {
  padding: var(--space-6);
  background: var(--color-accent);
  border-radius: var(--radius-xl);
  color: #fff;
  position: sticky;
  top: calc(var(--nav-height) + var(--space-6));
}
.accent-sidebar-card__eyebrow {
  font-size: var(--text-xs);
  font-weight: var(--weight-semi);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: var(--space-3);
}
.accent-sidebar-card h3 {
  color: #fff;
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}
.accent-sidebar-card p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.75);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-5);
}
.accent-sidebar-card .btn--primary {
  background: #fff;
  color: var(--color-accent);
  border-color: #fff;
  width: 100%;
  justify-content: center;
}
.accent-sidebar-card .btn--primary:hover { background: rgba(255,255,255,.92); }

/* ── Responsive Overrides for Inline Block Grids ──────────────────────────── */
/* Many CMS blocks use inline grid-template-columns. This ensures they
   collapse properly on tablets and phones. */
@media (max-width: 768px) {
  .block [style*="grid-template-columns"],
  section[style*="grid-template-columns"] > div[style*="grid-template-columns"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 480px) {
  .block [style*="grid-template-columns"],
  section[style*="grid-template-columns"] > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
  /* Stat counter numbers smaller on mobile */
  .stat-item p[style*="font-size:2.5rem"] {
    font-size: 2rem !important;
  }
}


