/* ============================================================
   services.css — Chappell Investigations Service Page Styles
   Link this AFTER shared.css on every service page
   ============================================================ */

/* ── Google Font import ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Source+Sans+3:wght@400;600;700&display=swap');

/* ── CSS custom properties ── */
:root {
  --navy:     #0d1b35;
  --navy-mid: #1a3366;
  --blue:     #2a5cbf;
  --blue-lt:  #4a7cbe;
  --gold:     #c8a84b;
  --gold-lt:  #e8cc80;
  --offwhite: #f7f8fc;
  --border:   #dde3ef;
  --text:     #3a3f52;
  --muted:    #6b7490;
  --white:    #ffffff;
}

/* ── Base override for service pages ── */
body {
  font-family: 'Source Sans 3', Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
}

/* ============================================================
   SERVICE PAGE HERO BANNER
   ============================================================ */
.svc-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, #1e4080 100%);
  padding: 64px 32px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle geometric texture */
.svc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.02) 0px,
      rgba(255,255,255,0.02) 1px,
      transparent 1px,
      transparent 40px
    );
  pointer-events: none;
}

/* Gold accent line below hero */
.svc-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.svc-hero-eyebrow {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: block;
}

.svc-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.svc-hero-sub {
  font-size: 1.05rem;
  color: #b0c4e0;
  max-width: 540px;
  margin: 0 auto 32px;
  line-height: 1.65;
  font-weight: 400;
}

.svc-hero-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  padding: 14px 36px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(200, 168, 75, 0.35);
}

.svc-hero-cta:hover {
  background: var(--gold-lt);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(200, 168, 75, 0.5);
}

.svc-hero-cta .cta-label {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
  opacity: 0.8;
}

.svc-hero-cta .cta-number {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

/* ── Trust badges row under hero ── */
.svc-trust-bar {
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 12px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.svc-trust-bar span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7a9abb;
  display: flex;
  align-items: center;
  gap: 6px;
}

.svc-trust-bar span::before {
  content: '✓';
  color: var(--gold);
  font-size: 0.8rem;
}

/* ============================================================
   MAIN CONTENT LAYOUT
   ============================================================ */
.svc-body {
  max-width: 1060px;
  margin: 0 auto;
  padding: 64px 32px 80px;
}

/* ── Intro paragraph ── */
.svc-intro {
  font-size: 1.08rem;
  color: var(--text);
  line-height: 1.85;
  max-width: 780px;
  margin: 0 auto 56px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  padding-bottom: 48px;
}

/* ── Section heading style ── */
.svc-body h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.svc-body p {
  font-size: 0.96rem;
  line-height: 1.82;
  color: #4a5168;
  margin-bottom: 18px;
}

.svc-body strong { color: var(--navy); }

/* ── Two-column content block ── */
.svc-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 56px;
}

@media (max-width: 860px) {
  .svc-split { grid-template-columns: 1fr; gap: 36px; }
}

/* ============================================================
   MODERN "TAG CLOUD" LIST — replaces bullet lists
   ============================================================ */
.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 28px;
}

.svc-tags .tag {
  display: inline-block;
  background: var(--offwhite);
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 7px 16px;
  border-radius: 2px;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
  cursor: default;
}

.svc-tags .tag:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* ── Numbered / icon list alternative ── */
.svc-check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}

@media (max-width: 600px) {
  .svc-check-list { grid-template-columns: 1fr; }
}

.svc-check-list li {
  font-size: 0.88rem;
  color: #4a5168;
  padding: 6px 0 6px 26px;
  position: relative;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}

.svc-check-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 900;
  font-size: 0.8rem;
  top: 7px;
}

/* ── Full-width tag list (wider page sections) ── */
.svc-tags-full {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 36px;
}

.svc-tags-full .tag {
  display: inline-block;
  background: transparent;
  border: 1.5px solid var(--navy-mid);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 2px;
  transition: all 0.18s;
  cursor: default;
}

.svc-tags-full .tag:hover {
  background: var(--navy);
  color: var(--white);
}

/* ============================================================
   HIGHLIGHT / STAT BOXES
   ============================================================ */
.svc-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0 56px;
}

@media (max-width: 760px) {
  .svc-highlight-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .svc-highlight-grid { grid-template-columns: 1fr; }
}

.svc-highlight {
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 3px;
  padding: 24px 20px;
}

.svc-highlight .hi-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}

.svc-highlight .hi-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ============================================================
   IN-PAGE CTA BLOCK
   ============================================================ */
.svc-cta-block {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: 4px;
  padding: 40px 36px;
  text-align: center;
  margin: 56px 0 0;
  position: relative;
  overflow: hidden;
}

.svc-cta-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.svc-cta-block h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem;
  color: var(--white);
  margin: 0 0 10px;
  border: none;
  padding: 0;
  display: block;
}

.svc-cta-block p {
  color: #b0c4e0;
  font-size: 0.94rem;
  margin-bottom: 24px;
}

.svc-cta-block a.cta-tel {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  padding: 14px 44px;
  border-radius: 3px;
  font-weight: 700;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 20px rgba(200, 168, 75, 0.4);
}

.svc-cta-block a.cta-tel:hover {
  background: var(--gold-lt);
  transform: translateY(-1px);
}

.svc-cta-block .cta-tel-label {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 3px;
  opacity: 0.75;
  font-weight: 600;
}

.svc-cta-block .cta-tel-num {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

/* ============================================================
   SERVICE IMAGE
   ============================================================ */

/* Wrapper that creates the offset double-border frame effect */
.svc-img {
  position: relative;
  border-radius: 2px;
}

/* Gold accent corner — top-left */
.svc-img::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  width: 56px;
  height: 56px;
  border-top: 3px solid var(--gold);
  border-left: 3px solid var(--gold);
  border-radius: 1px;
  z-index: 2;
  pointer-events: none;
}

/* Gold accent corner — bottom-right */
.svc-img::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 56px;
  height: 56px;
  border-bottom: 3px solid var(--gold);
  border-right: 3px solid var(--gold);
  border-radius: 1px;
  z-index: 2;
  pointer-events: none;
}

/* Inner photo container */
.svc-img-inner {
  overflow: hidden;
  border-radius: 2px;
  box-shadow:
    0 2px 0 0 var(--navy-mid),
    2px 0 0 0 var(--navy-mid),
    0 12px 40px rgba(13, 27, 53, 0.22),
    0 2px 8px rgba(13, 27, 53, 0.12);
  border: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.svc-img-inner img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.svc-img:hover .svc-img-inner img {
  transform: scale(1.03);
}

/* Caption strip below image */
.svc-img-caption {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-left: 2px;
}

.svc-img-caption::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}

.svc-img-caption span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Give the image column breathing room for the offset frame corners */
.svc-split > div:first-child {
  padding: 10px;
}

@media (max-width: 860px) {
  .svc-split > div:first-child {
    padding: 10px;
  }
  .svc-img-inner img {
    height: 260px;
  }
}

/* ============================================================
   RESPONSIVE TWEAKS
   ============================================================ */
@media (max-width: 640px) {
  .svc-hero { padding: 48px 20px 42px; }
  .svc-body { padding: 40px 20px 56px; }
  .svc-trust-bar { gap: 18px; }
}
