/* ============================================================
   CyberDesk Kenya — public stylesheet
   Direction: "Civic Modernist" — deep forest green + warm paper
   cream + flag-red accent, Fraunces display serif, kanga-stitch
   details. Server-rendered, framework-free.
   ============================================================ */

:root {
  --green-950: #062e21;
  --green-900: #0b3d2e;
  --green-800: #0e5e3a;
  --green-700: #147a4d;
  --green-100: #e3f0e7;
  --red: #c8102e;
  --red-dark: #a30d26;
  --gold: #f2a900;
  --paper: #faf6ee;
  --paper-deep: #f3ecdd;
  --ink: #101613;
  --ink-soft: #3d4a43;
  --ink-mute: #6b7a72;
  --line: #e2dbc9;
  --card: #fffdf8;
  --danger: #b42318;
  --ok: #147a4d;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(16, 22, 19, .06), 0 12px 32px -12px rgba(11, 61, 46, .18);
  --shadow-lg: 0 2px 4px rgba(16, 22, 19, .08), 0 24px 48px -16px rgba(11, 61, 46, .25);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Instrument Sans", "Segoe UI", sans-serif;
  --font-mono: "Spline Sans Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 85% -100px, rgba(20, 122, 77, .08), transparent 60%),
    var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { vertical-align: middle; }
a { color: var(--green-800); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; color: var(--green-950); margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 900; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.mono { font-family: var(--font-mono); letter-spacing: .02em; }
.muted { color: var(--ink-mute); }
.strong { font-weight: 600; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--green-900); color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 0; }

.shell { width: min(1180px, 100% - 40px); margin-inline: auto; }
.section { padding: 72px 0; }
.section.alt { background: var(--paper-deep); border-block: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.see-all { font-weight: 600; color: var(--green-800); text-decoration: none; white-space: nowrap; }
.see-all:hover { text-decoration: underline; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15.5px/1 var(--font-body);
  padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--green-900); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--green-800); }
.btn-outline { background: transparent; color: var(--green-900); border-color: var(--green-900); }
.btn-outline:hover { background: var(--green-100); }
.btn-ghost { background: transparent; color: var(--green-900); }
.btn-ghost:hover { background: var(--green-100); }
.btn-light { background: #fff; color: var(--green-900); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.btn-lg { padding: 15px 28px; font-size: 16.5px; }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar { background: var(--green-950); color: #cfe4d6; font-size: 13px; }
.topbar-in { display: flex; justify-content: space-between; padding: 7px 0; gap: 12px; flex-wrap: wrap; }
.topbar-note { margin: 0; opacity: .85; }
.topbar-links { display: flex; gap: 18px; }
.topbar-links a { color: #e7f3ea; text-decoration: none; font-weight: 600; }
.topbar-links a:hover { color: var(--gold); }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--green-950); }
.brand-mark { color: var(--red); background: var(--paper); border: 2px solid var(--green-900); border-radius: 10px; padding: 5px; display: grid; place-items: center; }
.brand-text { font-family: var(--font-display); font-weight: 900; font-size: 1.45rem; letter-spacing: -.02em; }
.brand-text em { font-style: normal; color: var(--green-800); margin-left: 6px; font-weight: 600; }
.primary-nav { display: flex; align-items: center; gap: 22px; }
.primary-nav a { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 15.5px; }
.primary-nav a:hover { color: var(--green-800); }
.primary-nav a.is-active { color: var(--red); }
.primary-nav a.is-active::after { content: ""; display: block; height: 2px; background: var(--red); border-radius: 2px; margin-top: 2px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2.5px; background: var(--green-950); margin: 4px 0; border-radius: 2px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 84px 0 96px; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(-45deg, transparent 0 26px, rgba(11, 61, 46, .035) 26px 27px);
  pointer-events: none;
}
.hero-in { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.eyebrow { font-family: var(--font-mono); font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--green-700); margin-bottom: 14px; }
.hero h1 .hl { position: relative; white-space: nowrap; color: var(--green-800); }
.hero h1 .hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .16em; background: var(--gold); z-index: -1; border-radius: 3px; }
.lede { font-size: 1.18rem; color: var(--ink-soft); max-width: 56ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero-stats { display: flex; gap: 40px; margin: 36px 0 0; }
.hero-stats dt { font-family: var(--font-display); font-weight: 900; font-size: 1.7rem; color: var(--green-900); }
.hero-stats dd { margin: 0; font-size: 13px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .08em; }
.hero-tape { position: absolute; bottom: 0; left: 0; right: 0; height: 10px;
  background: repeating-linear-gradient(90deg, var(--green-900) 0 22px, var(--red) 22px 28px, var(--gold) 28px 34px, var(--paper-deep) 34px 40px);
}

.hero-card {
  background: linear-gradient(160deg, var(--green-950), var(--green-900));
  color: #d9ecd0; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.08);
  transform: rotate(1.2deg);
}
.hero-card .mono { color: #9fbfa9; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; margin: 0 0 4px; }
.hero-order { font-size: 1.5rem; color: #fff; margin: 0 0 18px; }
.hero-track { display: flex; gap: 10px; margin-bottom: 8px; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.18); border: 2px solid rgba(255,255,255,.35); }
.dot.done { background: var(--gold); border-color: var(--gold); }
.dot.active { background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.2); }
.hero-track-label { font-size: 12.5px; color: #9fbfa9; margin-bottom: 20px; }
.hero-fee { border-top: 1px dashed rgba(255,255,255,.25); padding-top: 14px; font-size: 14.5px; }
.hero-fee div { display: flex; justify-content: space-between; padding: 3px 0; }
.hero-fee b { color: #fff; font-family: var(--font-mono); }
.hero-fee-total { border-top: 1px solid rgba(255,255,255,.25); margin-top: 6px; padding-top: 8px; }
.hero-note { font-size: 12px; color: var(--gold); margin: 14px 0 0; }

/* ---------- categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.cat-card {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px 22px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--green-700); }
.cat-index { position: absolute; top: 18px; right: 20px; font-size: 13px; color: var(--green-700); opacity: .75; }
.cat-card h3 { font-size: 1.22rem; margin-bottom: 8px; color: var(--green-950); }
.cat-card p { font-size: 14.5px; color: var(--ink-mute); margin-bottom: 14px; }
.cat-count { font-family: var(--font-mono); font-size: 12px; color: var(--red); background: color-mix(in srgb, var(--red) 8%, var(--card)); padding: 4px 10px; border-radius: 999px; }

/* ---------- service cards/rows ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.svc-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.svc-card h3 a { text-decoration: none; color: var(--green-950); }
.svc-card h3 a:hover { color: var(--green-700); }
.svc-card p { font-size: 14.5px; color: var(--ink-mute); flex: 1; }
.svc-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed var(--line); padding-top: 12px; }
.fee { font-size: 14px; color: var(--ink-mute); margin: 0; }
.fee b, .fee .fee-quote { font-family: var(--font-mono); color: var(--green-900); font-size: 15px; }
.fee-quote { font-family: var(--font-body); font-size: 14px; }
.svc-cta { font-weight: 700; text-decoration: none; color: var(--red); }
.svc-cta:hover { text-decoration: underline; }

.svc-rows { display: flex; flex-direction: column; gap: 14px; }
.svc-row {
  display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px;
  box-shadow: var(--shadow); transition: border-color .15s ease;
}
.svc-row:hover { border-color: var(--green-700); }
.svc-row-cat { font-size: 11.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--green-700); margin: 0 0 6px; }
.svc-row h2 { font-size: 1.28rem; margin: 0 0 6px; }
.svc-row h2 a { text-decoration: none; color: var(--green-950); }
.svc-row h2 a:hover { color: var(--green-700); }
.svc-row-desc { margin: 0; font-size: 14.5px; color: var(--ink-mute); }
.svc-row-side { text-align: right; display: flex; flex-direction: column; align-items: end; gap: 8px; }
.fee-official { margin: 0; font-size: 12.5px; color: var(--ink-mute); }
.fee-official span:first-child { font-family: var(--font-mono); }
.fee-official span:last-child { display: block; text-transform: uppercase; letter-spacing: .08em; font-size: 10.5px; }

/* ---------- steps ---------- */
.steps-disclaimer { text-align: center; font-size: 14px; color: var(--ink-mute); max-width: 640px; margin: 34px auto 0; padding-top: 22px; border-top: 1px dashed var(--line); }
.step-list { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin: 0; padding: 0; }
.step-list li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); position: relative; }
.step-list .mono { color: var(--red); font-weight: 600; font-size: 14px; display: block; margin-bottom: 10px; }
.step-list h3 { font-size: 1.1rem; }
.step-list p { font-size: 14.5px; color: var(--ink-mute); margin: 0; }

/* ---------- posts ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.post-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; transition: transform .18s ease; }
.post-card:hover { transform: translateY(-3px); }
.post-card h3, .post-card h2 { font-size: 1.15rem; color: var(--green-950); }
.post-card p { font-size: 14.5px; color: var(--ink-mute); flex: 1; }
.read-more { font-weight: 700; font-size: 14px; color: var(--red); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(150deg, var(--green-950), var(--green-800)); color: #fff; padding: 64px 0; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, transparent 0 22px, rgba(255,255,255,.04) 22px 23px); }
.cta-photo { background-size: cover; background-position: center; }
.cta-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(150deg, rgba(6,46,33,.82), rgba(14,94,58,.72)); }
.cta-photo::after { z-index: 1; }
.cta-photo .cta-in { position: relative; z-index: 2; }
.category-photo { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); margin-bottom: 26px; }
.cta-in { position: relative; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfe4d6; max-width: 60ch; margin-inline: auto; }
.cta-in .hero-actions { justify-content: center; }

/* ---------- page hero / breadcrumbs ---------- */
.page-hero { background: var(--paper-deep); border-bottom: 1px solid var(--line); padding: 46px 0; }
.page-hero h1 { margin-bottom: 8px; }
.crumbs { font-size: 13.5px; color: var(--ink-mute); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.page-head { margin-bottom: 30px; }
.page-head p { color: var(--ink-soft); max-width: 65ch; }
.svc-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pill { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
.pill-soft { background: var(--green-100); border-color: transparent; color: var(--green-900); }

/* ---------- service detail ---------- */
.svc-detail-grid { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.prose h2 { font-size: 1.45rem; margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.notice { background: color-mix(in srgb, var(--gold) 14%, var(--card)); border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--line)); border-radius: var(--radius-sm); padding: 16px 18px; font-size: 14.5px; margin: 22px 0; }
.notice-soft { background: var(--paper-deep); border-color: var(--line); }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.process-steps { counter-reset: pstep; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.process-steps li {
  position: relative; counter-increment: pstep; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px 14px 56px;
  font-size: 15px; color: var(--ink-soft);
}
.process-steps li::before {
  content: counter(pstep); position: absolute; left: 14px; top: 12px;
  width: 28px; height: 28px; border-radius: 50%; background: var(--green-900); color: #fff;
  font: 700 14px/28px var(--font-mono); text-align: center;
}
.btn-wa { background: #25d366; color: #fff; margin-top: 10px; }
.btn-wa:hover { background: #1fb857; }
.faq { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 18px; }
.faq summary { font-weight: 600; cursor: pointer; color: var(--green-950); }
.faq p { margin: 10px 0 0; color: var(--ink-soft); font-size: 15px; }
.price-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-lg); position: sticky; top: 90px; }
.price-card-title, .price-card h2 { font-size: 1.2rem; }
.price-line { display: flex; justify-content: space-between; padding: 9px 0; font-size: 15px; border-bottom: 1px dashed var(--line); }
.price-line-total { border-top: 2px solid var(--green-900); border-bottom: 0; margin-top: 4px; font-weight: 700; }
.price-line b, .price-line-total b { font-family: var(--font-mono); color: var(--green-900); }
.price-note { font-size: 12.5px; color: var(--ink-mute); margin: 12px 0 16px; }
.price-alt { display: block; text-align: center; margin-top: 12px; font-size: 14px; font-weight: 600; }
.related-card { margin-top: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; }
.related-card ul { list-style: none; margin: 0; padding: 0; }
.related-card li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.related-card a { text-decoration: none; font-weight: 600; }
.related-card .mono { color: var(--green-900); }

/* ---------- forms ---------- */
.form-shell { max-width: 1080px; }
.order-grid { display: grid; grid-template-columns: 1fr 380px; gap: 36px; align-items: start; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.panel-soft { background: var(--paper-deep); box-shadow: none; }
.panel h2 { font-size: 1.3rem; margin-bottom: 16px; }
.field { margin-bottom: 16px; flex: 1; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--green-950); }
.field input, .field select, .field textarea {
  width: 100%; font: 15.5px/1.5 var(--font-body); color: var(--ink);
  padding: 11px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-700); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green-700) 18%, transparent); }
.field textarea { resize: vertical; }
.field-hint { font-size: 12.5px; color: var(--ink-mute); margin: 6px 0 0; }
.req { color: var(--red); }
.opt { font-weight: 400; color: var(--ink-mute); font-size: 12.5px; }
.field-row { display: flex; gap: 16px; }
.fieldset { border: 1px dashed var(--line); border-radius: var(--radius-sm); padding: 18px; margin: 0 0 18px; }
.fieldset legend { font-weight: 700; font-size: 14px; padding: 0 8px; color: var(--green-900); }
.form-actions { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.privacy-note { font-size: 12.5px; color: var(--ink-mute); margin-top: 16px; }
.form-status { font-weight: 600; margin: 0; min-height: 1.4em; font-size: 14px; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--danger); }
.form-status.wait { color: var(--ink-mute); }
.flash { border-radius: var(--radius-sm); padding: 13px 18px; font-weight: 600; font-size: 14.5px; margin: 18px 0; }
.flash-success { background: var(--green-100); color: var(--green-900); border: 1px solid color-mix(in srgb, var(--green-700) 30%, transparent); }
.flash-error { background: #fdecea; color: var(--danger); border: 1px solid color-mix(in srgb, var(--danger) 30%, transparent); }

.order-summary .price-card { position: static; }
.fee-breakdown { list-style: none; margin: 0; padding: 0 0 8px; font-size: 13px; color: var(--ink-mute); }
.fee-breakdown li { padding: 2px 0; font-family: var(--font-mono); }
.big-ref { font-size: 1.3rem; color: var(--red); }
.order-ref { color: var(--red); margin-bottom: 4px; }
.doc-list { list-style: none; margin: 14px 0; padding: 0; }
.doc-list li { padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.upload-widget { background: var(--paper-deep); border: 1px dashed var(--line); border-radius: var(--radius-sm); padding: 18px; margin: 14px 0; }

.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 20px; }
.filter-bar input, .filter-bar select { font: 15px var(--font-body); padding: 10px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.filter-bar input[type="search"] { flex: 1; min-width: 220px; }
.filter-clear { font-size: 14px; font-weight: 600; }
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip { font-size: 13.5px; font-weight: 600; text-decoration: none; color: var(--ink-soft); border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 14px; background: var(--card); }
.chip:hover { border-color: var(--green-700); }
.chip.is-on { background: var(--green-900); border-color: var(--green-900); color: #fff; }
.result-count { font-size: 14px; color: var(--ink-mute); margin-bottom: 14px; }
.empty-state { text-align: center; padding: 60px 0; }
.track-legend { list-style: none; margin: 0; padding: 0; font-size: 14.5px; color: var(--ink-soft); }
.track-legend li { padding: 4px 0; }
.policy-links { list-style: none; margin: 0; padding: 0; font-size: 14.5px; }
.policy-links li { padding: 5px 0; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.contact-side { display: flex; flex-direction: column; gap: 18px; }
.wa-big { font-size: 1.15rem; font-weight: 700; }

/* ---------- blog post ---------- */
.post-grid-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.post-prose { max-width: 72ch; }
/* ---------- sitemap page ---------- */
.sitemap-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; align-items: start; margin-bottom: 26px; }
.sitemap-cols .panel { margin-bottom: 0; }
.sitemap-h2 { margin-top: 14px; }
.post-meta { color: var(--ink-mute); font-size: 14px; }
.post-featured { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); margin-bottom: 28px; }
.post-prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
.post-prose th { text-align: left; background: var(--paper-deep); padding: 10px 14px; border: 1px solid var(--line); font-family: var(--font-body); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--green-900); }
.post-prose td { padding: 10px 14px; border: 1px solid var(--line); }
.post-prose h3 { font-family: var(--font-display); }

/* ---------- errors ---------- */
.error-wrap { text-align: center; padding: 70px 0; }
.error-code { font-size: 3.4rem; font-weight: 600; color: var(--red); margin: 0 0 8px; }

/* ---------- footer ---------- */
.site-footer { background: var(--green-950); color: #b9cfbf; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding: 56px 0 30px; }
.footer-brand-text { color: #fff; font-size: 1.3rem; }
.footer-brand-text em { color: var(--gold); font-style: normal; margin-left: 6px; }
.footer-disclaimer { font-size: 12.5px; color: #8fae99; max-width: 44ch; }
.footer-col h3 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { padding: 4px 0; }
.footer-col a { color: #b9cfbf; text-decoration: none; font-size: 14.5px; }
.footer-col a:hover { color: #fff; }
.footer-base { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0 26px; font-size: 12.5px; color: #8fae99; flex-wrap: wrap; }
.footer-stitch { color: rgba(255,255,255,.18); margin: 0; font-size: 11px; }

.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 50;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow-lg); transition: transform .18s ease;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(14px); animation: rise .6s cubic-bezier(.2,.7,.3,1) forwards; animation-delay: calc(var(--d, 0) * 90ms); }
.d1 { --d: 1; } .d2 { --d: 2; } .d3 { --d: 3; } .d4 { --d: 4; }
.cat-card.reveal { --d: var(--i, 0); }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal { animation: none; opacity: 1; transform: none; } }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-in, .svc-detail-grid, .order-grid, .contact-grid, .post-grid-layout { grid-template-columns: 1fr; }
  .hero-side { display: none; }
  .price-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .svc-row { grid-template-columns: 1fr; }
  .svc-row-side { text-align: left; align-items: start; }
  .nav-toggle { display: block; }
  .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 18px 20px; gap: 14px; }
  .primary-nav.open { display: flex; }
  .section { padding: 52px 0; }
  .field-row { flex-direction: column; gap: 0; }
}
