/* Shared layout for the static service/content pages (custom-websites, about,
   local-seo, it-consulting, website-security, missed-call-textback, faq,
   contact).

   This was previously duplicated verbatim in a <style> block in every one of
   those pages, which meant a single fix — the 44px footer hit areas, for
   instance — had to be made five times and could silently drift out of sync.
   Page-specific rules (the FAQ accordion, the contact form) stay inline.

   Depends on the design tokens in privacy-style.css, which every consumer
   already links first. */

.service-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 140px 32px 80px;
}

/* NAV */
.sp-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 20px 32px;
  background: rgba(8, 10, 15, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.sp-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sp-logo svg {
  width: 24px;
  height: 28px;
}

.sp-back {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--ghost);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
  /* 44px hit target (WCAG 2.5.5) without changing the type size */
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.sp-back:hover {
  opacity: 0.7;
}

/* HEADINGS */
.sp-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ghost);
  margin-bottom: 16px;
}

.sp-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(44px, 10vw, 72px);
  line-height: 1;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: 2px;
  overflow-wrap: break-word;
}

.sp-subtitle {
  font-size: 18px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 48px;
  overflow-wrap: break-word;
}

.sp-section-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ghost);
  margin-bottom: 8px;
}

.sp-section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  color: var(--white);
  letter-spacing: 2px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  overflow-wrap: break-word;
}

/* PROSE */
.sp-body p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 18px;
  overflow-wrap: break-word;
}

.sp-body strong {
  color: var(--white);
  font-weight: 500;
}

/* FEATURE LIST */
.sp-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 48px;
}

.sp-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.sp-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ghost-dim);
  border: 1px solid rgba(0, 229, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--ghost);
  flex-shrink: 0;
  margin-top: 2px;
}

.sp-feature-text {
  min-width: 0;
  overflow-wrap: break-word;
}

.sp-feature-text strong {
  display: block;
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 4px;
}

.sp-feature-text p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* NUMBERED STEPS */
.sp-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 48px;
  position: relative;
  padding-left: 32px;
}

.sp-steps::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: var(--border);
}

.sp-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 0;
  position: relative;
}

.sp-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ghost-dim);
  border: 1px solid rgba(0, 229, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--ghost);
  flex-shrink: 0;
  position: absolute;
  left: -32px;
  top: 22px;
  z-index: 1;
}

.sp-step-text {
  min-width: 0;
  overflow-wrap: break-word;
}

.sp-step-text strong {
  display: block;
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 4px;
}

.sp-step-text p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* CALLOUT PANEL */
.sp-who {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 48px;
  overflow-wrap: break-word;
}

.sp-who p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}

.sp-who strong {
  color: var(--white);
}

.sp-areas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.sp-area {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 6px;
  background: var(--ghost-dim);
  border: 1px solid rgba(0, 229, 255, 0.15);
  color: var(--ghost);
}

.sp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
  padding: 8px 16px;
  border-radius: 6px;
  background: var(--ghost-dim);
  border: 1px solid rgba(0, 229, 255, 0.2);
  color: var(--ghost);
  margin-bottom: 32px;
}

/* CTA */
.sp-cta-wrap {
  text-align: center;
  padding: 48px 0;
  border-top: 1px solid var(--border);
}

.sp-cta-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  color: var(--white);
  letter-spacing: 2px;
  margin-bottom: 12px;
  overflow-wrap: break-word;
}

.sp-cta-sub {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 24px;
  overflow-wrap: break-word;
}

.sp-cta-btn {
  display: inline-block;
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.08em;
  padding: 14px 32px;
  background: var(--ghost);
  color: var(--bg);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: opacity 0.2s, transform 0.2s;
}

.sp-cta-btn:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

/* FOOTER */
.sp-footer {
  text-align: center;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  margin-top: 16px;
}

.sp-footer a {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
  margin: 0 8px;
  /* 13px text with 4px padding is a ~21px hit area, under the 44px target
     minimum (WCAG 2.5.5). Pad without changing the type size. */
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 0;
}

.sp-footer a:hover {
  color: var(--ghost);
}

.sp-footer p {
  margin: 12px 0 0;
  padding: 0;
}

.sp-divider {
  height: 1px;
  background: var(--border);
  margin: 48px 0;
}

/* INTERNAL CROSS-LINKS */
.sp-related {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.sp-related a {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
  padding: 12px 18px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg2);
  color: var(--muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  transition: border-color 0.2s, color 0.2s;
}

.sp-related a:hover,
.sp-related a:focus-visible {
  border-color: rgba(0, 229, 255, 0.35);
  color: var(--ghost);
}

@media (max-width: 600px) {
  .service-page {
    padding: 120px 20px 60px;
  }

  .sp-nav {
    padding: 16px 20px;
  }

  .sp-subtitle {
    font-size: 16px;
  }

  .sp-who {
    padding: 20px;
  }

  .sp-cta-btn {
    padding: 14px 24px;
    font-size: 12px;
  }

  .sp-areas {
    flex-direction: column;
  }

  .sp-footer a {
    margin: 0 6px;
    font-size: 12px;
  }
}

/* CUSTOM CURSOR — opt-in via the has-custom-cursor class set by /js/cursor.js,
   so a CSP block, JS error, or touch device still leaves a real pointer. */
@media (hover: hover) and (pointer: fine) {
  body {
    cursor: var(--cursor);
  }

  a,
  button,
  input,
  textarea {
    cursor: var(--cursor) !important;
  }
}

.gb-cursor {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ghost);
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.2s, height 0.2s, opacity 0.2s;
  mix-blend-mode: screen;
  box-shadow: 0 0 20px var(--ghost), 0 0 40px var(--ghost-glow);
  opacity: 0;
}

.gb-cursor-ring {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(0, 229, 255, 0.4);
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, width 0.2s, height 0.2s;
}

body:hover .gb-cursor {
  opacity: 1;
}
