/* ============================================================
   ModWolves — shared stylesheet for service / inner pages.
   Mirrors the design tokens & components from the home page
   (index.html keeps its own inlined critical CSS for LCP).
   ============================================================ */

/* ------- Reset & base ------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: #111110;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ------- Tokens ------- */
:root {
  --bg: #ffffff;
  --surface: #f7f7f5;
  --surface-2: #efeeea;
  --ink: #0b0b0a;
  --ink-soft: #5b5b58;
  --line: #e6e5e0;
  --accent: #1a8b4a;
  --accent-soft: #d5ebd9;
  --accent-faint: #eef7f0;
  --display: 'Geologica', 'Inter', sans-serif;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(11,11,10,.04), 0 4px 12px rgba(11,11,10,.04);
}

/* ------- Typography ------- */
.display { font-family: var(--display); font-weight: 900; letter-spacing: -0.025em; line-height: 0.98; color: var(--ink); }
h1.display { font-size: clamp(2.2rem, 5.5vw, 4rem); }
h2.display { font-size: clamp(1.8rem, 4vw, 3rem); }
.eyebrow { font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--ink-soft); max-width: 60ch; }
.prose p { max-width: 68ch; }
.prose p { margin: 0 0 18px; }

/* ------- Layout ------- */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
section { padding: clamp(56px, 7vw, 104px) 0; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.narrow { max-width: 820px; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; } }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 700px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* ------- Header ------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 900; font-size: 18px; letter-spacing: -0.3px; color: var(--ink); }
.brand .mark { width: 40px; height: 40px; display: grid; place-items: center; flex-shrink: 0; }
.brand .mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.nav-links { display: none; gap: 28px; font-size: 15px; }
.nav-links a { color: var(--ink-soft); transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
@media (min-width: 980px) { .nav-links { display: flex; } }

/* ------- Buttons ------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 15px;
  cursor: pointer; transition: transform .15s, background .2s, color .2s, box-shadow .2s;
  border: 1px solid transparent; white-space: nowrap;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(11,11,10,.18); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }

/* ------- Breadcrumbs ------- */
.crumbs { font-size: 13px; color: var(--ink-soft); padding: 18px 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.crumbs li { display: flex; gap: 8px; align-items: center; }
.crumbs li + li::before { content: "/"; color: var(--line); }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current="page"] { color: var(--ink); }

/* ------- Page hero ------- */
.page-hero { padding: clamp(36px, 5vw, 64px) 0 clamp(48px, 6vw, 80px); }
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero .lede { margin-top: 20px; }
.page-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.page-hero .hero-note { margin-top: 14px; font-size: 13px; color: var(--ink-soft); }

/* ------- Cards / includes ------- */
.card { background: var(--surface); border-radius: var(--radius); padding: clamp(20px, 2.5vw, 30px); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.card:hover { transform: translateY(-2px); border-color: var(--ink); }
.card-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; margin-bottom: 18px; }
.card-icon svg { width: 22px; height: 22px; }
.card-title { font-family: var(--display); font-weight: 800; font-size: 1.2rem; line-height: 1.15; margin: 0 0 10px; }
.card-text { color: var(--ink-soft); font-size: 15px; line-height: 1.55; margin: 0; }

/* ------- Checklist ------- */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: start; font-size: 15.5px; line-height: 1.5; }
.check-icon { width: 22px; height: 22px; border-radius: 999px; background: var(--accent); color: #fff; display: grid; place-items: center; flex-shrink: 0; font-size: 13px; }

/* ------- Process steps ------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 20px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
.step { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--display); font-weight: 900; color: var(--accent); font-size: 14px; letter-spacing: .1em; }
.step h3 { font-family: var(--display); font-weight: 800; font-size: 1.15rem; margin: 12px 0 8px; line-height: 1.2; }
.step p { color: var(--ink-soft); font-size: 15px; margin: 0; }

/* ------- CTA band ------- */
.cta-band { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 56px); }
.cta-band h2 { font-family: var(--display); font-weight: 900; font-size: clamp(1.6rem, 3.5vw, 2.4rem); line-height: 1.05; margin: 0 0 14px; color: #fff; }
.cta-band p { color: rgba(255,255,255,.72); max-width: 56ch; margin: 0 0 28px; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-primary { background: var(--accent); }
.cta-band .btn-primary:hover { background: #14743d; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.cta-band .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ------- Availability pill ------- */
.availability { display: inline-flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; }
.availability::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(26,139,74,.25); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(26,139,74,.5); } 70% { box-shadow: 0 0 0 12px rgba(26,139,74,0); } 100% { box-shadow: 0 0 0 0 rgba(26,139,74,0); } }

/* ------- FAQ ------- */
.faq-list { max-width: 820px; display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--display); font-weight: 700; font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: 'Inter', sans-serif; font-weight: 500; font-size: 26px; line-height: 1; color: var(--accent); transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer { padding: 0 24px 22px; color: var(--ink-soft); max-width: 64ch; }

/* ------- Related services ------- */
.related a.card { display: block; }
.related .card-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.related .card-title::after { content: "→"; color: var(--accent); font-family: 'Inter', sans-serif; }

/* ------- Case studies ------- */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tag { font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 6px 12px; border-radius: 999px; background: var(--accent-faint); color: var(--accent); border: 1px solid var(--accent-soft); }
.tag.muted { background: var(--surface); color: var(--ink-soft); border-color: var(--line); }
.stat-row { display: flex; flex-wrap: wrap; gap: 36px; margin: 28px 0 0; }
.stat .num { font-family: var(--display); font-weight: 900; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1; color: var(--ink); }
.stat .label { font-size: 12px; color: var(--ink-soft); margin-top: 6px; max-width: 18ch; }
.case-section h2 { font-family: var(--display); font-weight: 800; font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin: 0 0 12px; }
.disclosure { font-size: 13px; color: var(--ink-soft); border-left: 3px solid var(--line); padding: 4px 0 4px 16px; max-width: 70ch; }
.case-card-meta { font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--accent); margin-bottom: 8px; }

/* ------- Footer ------- */
footer.site { background: var(--ink); color: rgba(255,255,255,.7); padding: 64px 0 32px; margin-top: 80px; }
footer .brand { color: #fff; }
footer .footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }
@media (min-width: 800px) { footer .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; } }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-title { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 16px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; }
