/* ========================================
   ShieldWise — Services Hub
   Hero, prose sections, category headers, FAQ
   ======================================== */

:root {
  --sh-dark: #0f1c2e;
  --sh-mid: #1a2940;
  --sh-gold: #d4af37;
  --sh-gold-soft: #bf9e5b;
  --sh-ink: #1a2332;
  --sh-text: #3a4a5e;
  --sh-muted: #6b7a8c;
  --sh-bg: #f6f7f9;
  --sh-line: #e6e9ee;
}

/* ============ HERO ============ */
.sh-hero {
  position: relative;
  background:
    linear-gradient(135deg, rgba(15,28,46,.92) 0%, rgba(26,41,64,.85) 60%, rgba(15,28,46,.95) 100%),
    url('/img/California_SecurityGuards.webp') center center/cover no-repeat;
  color: #fff;
  padding: 110px 0 90px;
  overflow: hidden;
  border-bottom: 4px solid var(--sh-gold);
}
.sh-hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 18% 30%, rgba(212,175,55,.10) 0%, transparent 55%),
    radial-gradient(circle at 82% 80%, rgba(0,0,0,.35) 0%, transparent 50%);
  pointer-events: none;
}
.sh-hero .container { position: relative; z-index: 2; max-width: 1140px; }

.sh-breadcrumb {
  font-size: .88rem;
  margin-bottom: 1.25rem;
  opacity: .9;
}
.sh-breadcrumb a { color: var(--sh-gold); text-decoration: none; }
.sh-breadcrumb a:hover { text-decoration: underline; }

.sh-badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: rgba(212,175,55,.12);
  border: 1px solid rgba(212,175,55,.55);
  color: var(--sh-gold);
  padding: .45rem 1rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}
.sh-badge::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sh-gold);
  box-shadow: 0 0 0 4px rgba(212,175,55,.18);
}

.sh-hero h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 1.25rem;
  max-width: 920px;
  text-shadow: 0 2px 16px rgba(0,0,0,.35);
}
.sh-hero h1 span { color: var(--sh-gold); }

.sh-hero .lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.7;
  max-width: 820px;
  color: rgba(255,255,255,.92);
  margin: 0 0 1.5rem;
}

.sh-byline {
  display: flex; flex-wrap: wrap; gap: .75rem 1.25rem;
  align-items: center;
  font-size: .9rem;
  opacity: .82;
  margin: 0 0 1.75rem;
  padding: .9rem 1.1rem;
  background: rgba(0,0,0,.25);
  border-left: 3px solid var(--sh-gold);
  border-radius: 4px;
  max-width: 820px;
}
.sh-byline strong { color: var(--sh-gold); font-weight: 700; }
.sh-byline em { font-style: normal; opacity: .75; font-size: .85rem; }

.sh-cta-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.sh-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .9rem 1.6rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: .02em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.sh-btn-primary {
  background: linear-gradient(135deg, var(--sh-gold) 0%, var(--sh-gold-soft) 100%);
  color: #1a1a1a;
  box-shadow: 0 8px 24px rgba(212,175,55,.35);
}
.sh-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(212,175,55,.5); color: #1a1a1a; text-decoration: none; }
.sh-btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.6);
}
.sh-btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; text-decoration: none; transform: translateY(-2px); }

/* ============ INTRO / PROSE ============ */
.sh-prose {
  background: #fff;
  padding: 4.5rem 0 3.5rem;
}
.sh-prose .container { max-width: 880px; }
.sh-prose p {
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--sh-text);
  margin: 0 0 1.4rem;
}
.sh-prose p:first-of-type::first-letter {
  font-size: 3.4rem;
  font-weight: 800;
  color: var(--sh-ink);
  float: left;
  line-height: 1;
  padding: .25rem .75rem 0 0;
  font-family: Georgia, 'Times New Roman', serif;
}
.sh-prose h2 {
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: 800;
  color: var(--sh-ink);
  letter-spacing: -.015em;
  margin: 0 0 1rem;
}
.sh-prose h2 + .sh-eyebrow,
.sh-prose .sh-eyebrow { display: block; }
.sh-eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 800;
  color: var(--sh-gold-soft);
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: .85rem;
}
.sh-prose h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sh-ink);
  margin: 2rem 0 .65rem;
  padding-left: 14px;
  border-left: 3px solid var(--sh-gold);
}
.sh-prose strong { color: var(--sh-ink); }
.sh-prose a { color: #1c5fad; text-decoration: underline; text-decoration-color: rgba(28,95,173,.35); text-underline-offset: 3px; }
.sh-prose a:hover { text-decoration-color: #1c5fad; }

/* 911 disclaimer card */
.sh-alert {
  margin-top: 2rem;
  padding: 1.25rem 1.4rem;
  background: linear-gradient(135deg, #fff8e6 0%, #fef3d4 100%);
  border-left: 5px solid var(--sh-gold);
  border-radius: 6px;
  font-size: .98rem;
  color: #5a4416;
  line-height: 1.65;
}
.sh-alert strong { color: #7a5b00; }

/* ============ CATEGORY HEADER ============ */
.sh-cat {
  margin: 4rem 0 1.75rem;
  text-align: center;
}
.sh-cat .num {
  display: inline-block;
  font-size: .82rem;
  font-weight: 800;
  color: var(--sh-gold-soft);
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}
.sh-cat h2 {
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 800;
  color: var(--sh-ink);
  letter-spacing: -.015em;
  margin: 0 0 .75rem;
  position: relative;
  padding-bottom: 1rem;
}
.sh-cat h2::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 80px; height: 3px;
  background: linear-gradient(90deg, transparent, var(--sh-gold), transparent);
}
.sh-cat p {
  max-width: 680px; margin: 0 auto;
  color: var(--sh-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* ============ SECTION VARIATIONS ============ */
.sh-section {
  padding: 4.5rem 0;
}
.sh-section.alt { background: var(--sh-bg); }
.sh-section .container { max-width: 1080px; }
.sh-section .narrow { max-width: 880px; margin: 0 auto; }

/* "How to Choose" / "What's the Same" feature blocks */
.sh-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.sh-feature {
  background: #fff;
  border-radius: 12px;
  padding: 1.75rem 1.6rem;
  border: 1px solid var(--sh-line);
  box-shadow: 0 2px 14px rgba(0,0,0,.04);
  transition: transform .25s ease, box-shadow .25s ease;
}
.sh-feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
}
.sh-feature h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--sh-ink);
  margin: 0 0 .65rem;
  padding-left: 0;
  border-left: 0;
}
.sh-feature h3 .ic {
  display: inline-flex;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--sh-dark), var(--sh-mid));
  color: var(--sh-gold);
  align-items: center; justify-content: center;
  margin-right: .6rem;
  font-size: .9rem;
}
.sh-feature p {
  margin: 0;
  font-size: .96rem;
  line-height: 1.7;
  color: var(--sh-text);
}

/* "What's the Same" pillar list */
.sh-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.sh-pillar {
  padding: 1.5rem 1.4rem;
  background: #fff;
  border-radius: 10px;
  border-top: 4px solid var(--sh-gold);
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.sh-pillar strong {
  display: block;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--sh-ink);
  margin-bottom: .5rem;
}
.sh-pillar p { margin: 0; font-size: .94rem; line-height: 1.65; color: var(--sh-text); }
.sh-pillar a { color: #1c5fad; }

/* ============ FAQ ============ */
.sh-faq { max-width: 880px; margin: 0 auto; }
.sh-faq details {
  background: #fff;
  border: 1px solid var(--sh-line);
  border-radius: 10px;
  margin-bottom: .85rem;
  overflow: hidden;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.sh-faq details[open] {
  border-color: rgba(212,175,55,.6);
  box-shadow: 0 6px 22px rgba(0,0,0,.06);
}
.sh-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.35rem;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--sh-ink);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.sh-faq summary::-webkit-details-marker { display: none; }
.sh-faq summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--sh-gold-soft);
  transition: transform .25s ease;
  flex-shrink: 0;
}
.sh-faq details[open] summary::after { content: '–'; transform: rotate(0deg); }
.sh-faq .answer {
  padding: 0 1.35rem 1.25rem;
  color: var(--sh-text);
  line-height: 1.75;
  font-size: .98rem;
}
.sh-faq .answer a { color: #1c5fad; }

/* ============ CTA ============ */
.sh-cta {
  background: linear-gradient(135deg, var(--sh-dark) 0%, var(--sh-mid) 60%, #0a1422 100%);
  color: #fff;
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sh-cta::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 25% 40%, rgba(212,175,55,.12) 0%, transparent 50%),
    radial-gradient(circle at 75% 70%, rgba(212,175,55,.08) 0%, transparent 50%);
  pointer-events: none;
}
.sh-cta .container { position: relative; z-index: 2; max-width: 800px; }
.sh-cta h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  margin: 0 0 1rem;
  letter-spacing: -.015em;
}
.sh-cta p { font-size: 1.1rem; line-height: 1.7; opacity: .9; margin: 0 0 2rem; }
.sh-cta .legal {
  margin-top: 2.5rem;
  font-size: .85rem;
  line-height: 1.7;
  opacity: .7;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 1.5rem;
}
.sh-cta .legal a { color: var(--sh-gold); }

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .sh-hero { padding: 70px 0 60px; }
  .sh-prose { padding: 3rem 0 2.5rem; }
  .sh-prose p:first-of-type::first-letter { font-size: 2.6rem; padding: .15rem .55rem 0 0; }
  .sh-section { padding: 3rem 0; }
  .sh-cat { margin: 3rem 0 1.25rem; }
  .sh-cta { padding: 3.5rem 0; }
  .sh-byline { font-size: .82rem; padding: .75rem .9rem; }
  .sh-btn { width: 100%; justify-content: center; }
}
