/* ===========================================================================
   service_pages_v2.css
   ---------------------------------------------------------------------------
   Phase 12 design overhaul. Additive components on top of service_pages.css.
   Inherits all existing tokens (--surface-0..2, --text-1..3, --line-1..2,
   --accent, --accent-deep, --warm, --radius-lg/md, --shadow-sm/md/lg).
   Added 2026-05-09.
   =========================================================================== */


/* ===== Trust Strip — compact above-fold credentials ====================== */

.trust-strip {
  background: linear-gradient(180deg, var(--surface-2), var(--surface-0));
  border-bottom: 1px solid var(--line-1);
  padding: 1.1rem 18px;
  position: relative;
  z-index: 5;
}
.trust-strip__inner {
  margin: 0 auto;
  max-width: 1100px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  align-items: center;
}
.trust-strip__item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text-2);
  font-family: 'Figtree', sans-serif;
  font-size: 0.86rem;
  line-height: 1.3;
  letter-spacing: 0.01em;
}
.trust-strip__item strong {
  color: var(--text-1);
  font-weight: 700;
  display: block;
  font-size: 0.92rem;
}
.trust-strip__item span {
  color: var(--text-3);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
}
.trust-strip__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: rgba(215, 196, 162, 0.85);
}
.trust-strip__icon svg { width: 100%; height: 100%; }

.trust-strip__rating-stars {
  color: rgba(215, 196, 162, 0.95);
  font-size: 0.92rem;
  letter-spacing: 0.05em;
}

@media (max-width: 900px) {
  .trust-strip__inner { grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
}
@media (max-width: 480px) {
  .trust-strip { padding: 0.95rem 14px; }
  .trust-strip__item { font-size: 0.82rem; gap: 0.55rem; }
  .trust-strip__icon { width: 24px; height: 24px; }
}


/* ===== Stat Grid — big-number callouts, replaces small KPI cards ========= */

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
  margin: 0 auto;
  max-width: 1100px;
}
.stat {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.4rem;
  border-left: 2px solid rgba(18, 140, 153, 0.4);
}
.stat__num {
  display: block;
  font-family: 'Fraunces', 'Times New Roman', Georgia, serif;
  font-weight: 600;
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--warm);
  font-variation-settings: "opsz" 96;
  margin: 0 0 0.5rem;
}
.stat__num small {
  font-size: 0.55em;
  font-weight: 500;
  font-style: italic;
  color: rgba(215, 196, 162, 0.7);
  margin-left: 0.15em;
}
.stat__label {
  display: block;
  font-family: 'Figtree', sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0;
}
.stat__sub {
  display: block;
  font-family: 'Figtree', sans-serif;
  font-size: 0.84rem;
  color: var(--text-2);
  margin-top: 0.5rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
}
@media (max-width: 480px) {
  .stat-grid { gap: 1.2rem; }
  .stat { padding-left: 1rem; }
}


/* ===== Knowledge Cards — replaces wall-of-text H3 + paragraph stack ====== */

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  margin: 2rem auto 0;
  max-width: 1100px;
}
.knowledge-card {
  background: linear-gradient(180deg, rgba(16,23,28,.72), rgba(13,18,22,.72));
  border: 1px solid var(--line-1);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.knowledge-card:hover {
  border-color: rgba(18, 140, 153, 0.32);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.knowledge-card__head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.knowledge-card__icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: rgba(18, 140, 153, 0.95);
  background: rgba(18, 140, 153, 0.08);
  border: 1px solid rgba(18, 140, 153, 0.25);
  border-radius: 10px;
}
.knowledge-card__icon svg { width: 22px; height: 22px; }

.knowledge-card h3 {
  font-family: 'Fraunces', 'Times New Roman', Georgia, serif;
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text-1);
  margin: 0;
  flex: 1;
  font-variation-settings: "opsz" 36;
}
.knowledge-card p {
  color: var(--text-2);
  line-height: 1.7;
  font-size: 0.94rem;
  margin: 0;
}
.knowledge-card strong {
  color: rgba(215, 196, 162, 0.92);
  font-weight: 600;
}

@media (max-width: 760px) {
  .knowledge-grid { grid-template-columns: 1fr; gap: 1rem; }
  .knowledge-card { padding: 1.25rem; }
  .knowledge-card h3 { font-size: 1.05rem; }
}


/* ===== Pull Quote — editorial breakout for the most important sentence === */

.pull-quote {
  margin: 2.4rem auto;
  max-width: 820px;
  padding: 0 0 0 1.6rem;
  border-left: 3px solid rgba(18, 140, 153, 0.6);
  font-family: 'Fraunces', 'Times New Roman', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.45;
  letter-spacing: -0.005em;
  color: rgba(215, 196, 162, 0.94);
  font-variation-settings: "opsz" 36;
  text-wrap: balance;
}

@media (max-width: 760px) {
  .pull-quote { padding-left: 1.1rem; font-size: 1.1rem; }
}


/* ===== Feature Table — for cost-plus vs fixed-bid, AE vs VE comparisons === */

.feature-table {
  margin: 1.8rem auto 0;
  max-width: 920px;
  border: 1px solid var(--line-1);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(16,23,28,.62), rgba(13,18,22,.62));
}
.feature-table table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Figtree', sans-serif;
}
.feature-table th,
.feature-table td {
  padding: 0.95rem 1.15rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-1);
  color: var(--text-2);
  font-size: 0.94rem;
  line-height: 1.55;
}
.feature-table th {
  color: var(--warm);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(18, 140, 153, 0.06);
  border-bottom: 1px solid rgba(18, 140, 153, 0.18);
}
.feature-table tr:last-child td { border-bottom: 0; }
.feature-table td:first-child {
  color: var(--text-1);
  font-weight: 600;
}
.feature-table td strong { color: rgba(215, 196, 162, 0.92); }

@media (max-width: 600px) {
  .feature-table { font-size: 0.88rem; }
  .feature-table th,
  .feature-table td { padding: 0.7rem 0.85rem; }
}


/* ===== CTA Band — full-width brand-teal break section ==================== */

.cta-band {
  background:
    radial-gradient(900px 500px at 80% 50%, rgba(228, 221, 189, 0.12), transparent 60%),
    linear-gradient(120deg, var(--accent-deep), rgba(18, 140, 153, 0.92));
  padding: clamp(3rem, 5vw, 4.5rem) 18px;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.15), transparent 30%, rgba(0,0,0,0.2)),
    repeating-linear-gradient(45deg, transparent, transparent 24px, rgba(255,255,255,0.025) 24px, rgba(255,255,255,0.025) 25px);
  pointer-events: none;
}
.cta-band__inner {
  position: relative;
  margin: 0 auto;
  max-width: 1100px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
}
.cta-band__eyebrow {
  display: inline-block;
  font-family: 'Figtree', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(228, 221, 189, 0.92);
  margin-bottom: 0.7rem;
}
.cta-band h2 {
  font-family: 'Fraunces', 'Times New Roman', Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.018em;
  color: #fff;
  margin: 0 0 0.6rem;
  font-variation-settings: "opsz" 96;
  text-wrap: balance;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.86);
  font-family: 'Figtree', sans-serif;
  line-height: 1.65;
  font-size: 1rem;
  margin: 0;
  max-width: 56ch;
}
.cta-band__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  justify-self: end;
}
.cta-band__actions .btn--primary {
  background: var(--warm);
  color: #0D1216 !important;
  border-color: rgba(0, 0, 0, 0.08);
  font-weight: 700;
  padding: 14px 28px;
  font-size: 1rem;
}
.cta-band__actions .btn--primary:hover {
  background: #fff;
}
.cta-band__phone {
  font-family: 'Figtree', sans-serif;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
  text-decoration: none;
}
.cta-band__phone strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 2px;
  margin-top: 2px;
}
.cta-band__phone:hover strong { border-bottom-color: rgba(228, 221, 189, 0.9); }

@media (max-width: 760px) {
  .cta-band__inner { grid-template-columns: 1fr; gap: 1.4rem; }
  .cta-band__actions { justify-self: stretch; align-items: stretch; }
  .cta-band__actions .btn--primary { width: 100%; text-align: center; }
}


/* ===== Service Card Icons — adds visual differentiation to .card-grid ==== */

.card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 0.85rem;
  color: rgba(215, 196, 162, 0.88);
  background: rgba(18, 140, 153, 0.1);
  border: 1px solid rgba(18, 140, 153, 0.22);
  border-radius: 10px;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.card__icon svg { width: 24px; height: 24px; }
.card:hover .card__icon {
  background: rgba(18, 140, 153, 0.18);
  border-color: rgba(228, 221, 189, 0.4);
  color: rgba(255, 255, 255, 0.95);
}


/* ===== Hero Trust Badges — optional inline strip for hero (above lede) === */

.hub-hero__bp-badges {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.4rem;
  margin: 0 0 1.3rem;
  padding: 0;
  list-style: none;
  font-family: 'Figtree', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.78);
}
.hub-hero__bp-badges li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.hub-hero__bp-badges li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(215, 196, 162, 0.6);
  display: inline-block;
}
.hub-hero__bp-badges li:first-child::before { display: none; }
.hub-hero__bp-badges strong {
  color: rgba(215, 196, 162, 0.95);
  font-weight: 700;
  letter-spacing: 0.06em;
}


/* ===== Section override: tighten the existing local-knowledge section ==== */

/* When a section uses .knowledge-grid, the .content--narrow body should
   be wider to accommodate the grid */
.section .content--narrow:has(+ .knowledge-grid),
.section:has(.knowledge-grid) .content--narrow {
  max-width: 1100px;
}
