/* =========================================================
   Countless Recovery Management — website styles
   Brand: "The CRM Way" — navy base, accents taken from the
   CRM logo (red mark, green C, orange R, blue M) · Poppins.
   Colour tokens live in the :root block below.
   ========================================================= */

@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/poppins-Regular.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/poppins-Medium.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/poppins-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/poppins-Bold.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/poppins-ExtraBold.woff2") format("woff2"); }

:root {
  /* Brand colours */
  --navy-950: #07111f;
  --navy-900: #0a1628;
  --navy-800: #0f2038;
  --navy-700: #17304f;
  /* Logo colours (sampled from the master logo file) */
  --red: #ec1c24;     /* hexagon mark — primary action colour */
  --red-hover: #ff333b;
  --green: #a3cd45;   /* "C" */
  --orange: #f05a37;  /* "R" */
  --blue: #6f87c0;    /* "M" */
  --blue-text: #8ea3d4; /* blue lifted for small text on navy (AA) */
  /* Legacy names kept so every rule maps onto the logo palette */
  --coral: var(--orange);
  --gold: var(--blue-text);
  --teal: var(--green);

  /* Text */
  --text: #eaf0f7;
  --muted: #a9b8cc;
  --ink: #0a1628;
  --ink-muted: #44546b;
  --paper: #f3f6fa;

  --line: rgba(255, 255, 255, 0.13);
  --line-dark: rgba(10, 22, 40, 0.16);

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --maxw: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 14px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--navy-900);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0 0 0.6em; line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.9rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.7rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); letter-spacing: -0.01em; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 60ch; line-height: 1.65; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--green); color: var(--ink); padding: 0.7rem 1rem; font-weight: 600; z-index: 200; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 1rem; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--band { background: var(--navy-800); }
.section--light { background: var(--paper); color: var(--ink); }
.section--light .lead, .section--light p { color: var(--ink-muted); }
.section--light h2, .section--light h3 { color: var(--ink); }
.measure { max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: inherit; font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 1rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn--gold { background: var(--red); color: #fff; box-shadow: 0 8px 24px rgba(236, 28, 36, 0.28); }
.btn--gold:hover { background: var(--red-hover); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--teal); color: #fff; transform: translateY(-2px); }
.btn--sm { padding: 0.7rem 1.2rem; font-size: 0.92rem; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(10, 22, 40, 0.88);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; color: #fff; }
.brand__logo { height: 44px; width: auto; flex: none; }
.brand__text { font-size: 0.78rem; line-height: 1.25; font-weight: 600; color: #fff; letter-spacing: 0.01em; padding-left: 0.85rem; border-left: 1px solid var(--line); }
.footer__logo { width: 279px; max-width: 100%; height: auto; }
.nav ul { list-style: none; display: flex; align-items: center; gap: clamp(0.9rem, 1.8vw, 1.8rem); }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: 0.95rem; color: var(--muted); padding: 0.4rem 0; border-bottom: 2px solid transparent; transition: color 0.15s, border-color 0.15s; }
.nav a:not(.btn):hover { color: #fff; }
.nav a[aria-current="page"]:not(.btn) { color: #fff; border-bottom-color: var(--red); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 46px; height: 46px; cursor: pointer; color: #fff; align-items: center; justify-content: center; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform 0.2s, background-color 0.2s; content: ""; }
.nav-toggle__bars::before { position: absolute; top: -6px; }
.nav-toggle__bars::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(4rem, 8vw, 7rem);
  background:
    radial-gradient(900px 520px at 85% 15%, rgba(111, 135, 192, 0.18), transparent 62%),
    radial-gradient(700px 480px at 5% 100%, rgba(236, 28, 36, 0.12), transparent 60%),
    var(--navy-900);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
}
.hero::after {
  content: ""; position: absolute; pointer-events: none;
  width: clamp(420px, 48vw, 720px); aspect-ratio: 1; right: -12%; bottom: -30%;
  background: url("../img/crm-mark.png") center / contain no-repeat;
  opacity: 0.05; transform: rotate(-8deg);
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero__tag { display: inline-block; font-weight: 600; font-size: 0.95rem; color: var(--gold); margin-bottom: 1.4rem; padding: 0.4rem 0.95rem; border: 1px solid rgba(111, 135, 192, 0.5); border-radius: 999px; }
.hero h1 { margin-bottom: 0.5em; }
.hero .lead { margin-bottom: 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* Asset trace panel — the one signature visual */
.scan { position: relative; background: linear-gradient(180deg, var(--navy-800), var(--navy-950)); border: 1px solid var(--line); border-radius: 20px; padding: 1.1rem 1.1rem 1.3rem; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); }
.scan__bar { display: flex; align-items: center; justify-content: space-between; font-size: 0.8rem; color: var(--muted); padding: 0.1rem 0.3rem 0.9rem; }
.scan__live { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--teal); font-weight: 600; }
.scan__live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); animation: pulse 1.6s ease-in-out infinite; }
.scan__view { border-radius: 12px; overflow: hidden; background: var(--navy-950); border: 1px solid var(--line); }
.scan__view svg { width: 100%; height: auto; }
.trace__route { animation: dash 1.6s linear infinite; }
.trace__ring { transform-box: fill-box; transform-origin: center; animation: ring 2.4s ease-out infinite; }
.trace__ring--2 { animation-delay: 1.2s; }
.trace__chip { opacity: 0; animation: logIn 0.5s ease 1s forwards; }
.trace__chip-text { font-family: var(--font); font-weight: 600; font-size: 13px; fill: #fff; }
.scan__log { list-style: none; margin: 1rem 0 0; display: grid; gap: 0.55rem; font-size: 0.9rem; }
.scan__log li { display: flex; align-items: center; gap: 0.7rem; color: var(--text); opacity: 0; transform: translateY(6px); animation: logIn 0.5s ease forwards; }
.scan__log li:nth-child(1) { animation-delay: 0.9s; }
.scan__log li:nth-child(2) { animation-delay: 1.9s; }
.scan__log li:nth-child(3) { animation-delay: 2.9s; }
.scan__log li:nth-child(4) { animation-delay: 3.9s; }
.scan__log svg { width: 18px; height: 18px; flex: none; color: var(--teal); }
.scan__log li:last-child svg { color: var(--gold); }
.scan__note { margin: 0.9rem 0 0; font-size: 0.75rem; color: var(--muted); }
@keyframes dash { to { stroke-dashoffset: -34; } }
@keyframes ring { from { transform: scale(1); opacity: 0.9; } to { transform: scale(3.2); opacity: 0; } }
@keyframes logIn { to { opacity: 1; transform: none; } }
@keyframes pulse { 50% { opacity: 0.35; } }

/* ---------- Trust strip ---------- */
.trust { background: var(--navy-950); border-block: 1px solid var(--line); }
.trust__inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem 2rem; align-items: center; padding-block: 1.4rem; font-size: 0.9rem; color: var(--muted); }
.trust__inner strong { color: #fff; font-weight: 600; }
.trust__item { display: inline-flex; align-items: center; gap: 0.7rem; }
.trust__item svg { width: 22px; height: 22px; color: var(--gold); flex: none; }

/* ---------- The CRM equation ---------- */
.equation { text-align: left; }
.equation__intro { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.eq { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: clamp(0.8rem, 2vw, 2rem); align-items: start; }
.eq__term h3 { font-size: clamp(1.9rem, 4.2vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 0.4em; }
.eq__term p { color: var(--muted); font-size: 0.98rem; max-width: 30ch; }
.eq__term--p h3 { color: var(--teal); }
.eq__term--i h3 { color: var(--gold); }
.eq__term--c h3 { color: var(--coral); }
.eq__op { font-size: clamp(1.9rem, 4.2vw, 3.4rem); font-weight: 300; color: var(--muted); line-height: 1.12; }
.eq__result { margin-top: clamp(2rem, 4vw, 3.5rem); padding-top: clamp(1.5rem, 3vw, 2.5rem); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: baseline; gap: 1rem 2rem; }
.eq__result .eq__op { color: #fff; }
.eq__result strong { font-size: clamp(2.2rem, 5.6vw, 4.6rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }

/* ---------- Service rows (home) ---------- */
.rows { list-style: none; border-top: 1px solid var(--line); }
.rows a { display: grid; grid-template-columns: 56px 1fr 1.3fr 44px; gap: 1.5rem; align-items: center; padding-block: 1.7rem; border-bottom: 1px solid var(--line); text-decoration: none; transition: background-color 0.2s, padding 0.2s; }
.rows a:hover { background: rgba(255, 255, 255, 0.03); padding-inline: 1rem; }
.rows .ico { width: 44px; height: 44px; color: var(--teal); }
.rows h3 { margin: 0; font-size: clamp(1.2rem, 2vw, 1.6rem); }
.rows p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.rows .go { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--gold); transition: background-color 0.2s, color 0.2s; }
.rows a:hover .go { background: var(--gold); color: var(--ink); }
.rows .go svg { width: 18px; height: 18px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 2.5rem; }
.section-head h2 { margin: 0; max-width: 18ch; }

/* ---------- Split / why ---------- */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: start; }
.split__sticky { position: sticky; top: calc(var(--header-h) + 2rem); }
.points { list-style: none; }
.points li { padding-block: 1.6rem; border-top: 1px solid var(--line-dark); }
.points li:first-child { border-top: 0; padding-top: 0; }
.points h3 { margin-bottom: 0.35em; }
.points p { margin: 0; }
.section:not(.section--light) .points li { border-top-color: var(--line); }

/* ---------- The 5 R's ---------- */
.rs { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.rs div { padding: 1.8rem 1.4rem 0.4rem 0; }
.rs div + div { padding-left: 1.4rem; border-left: 1px solid var(--line); }
.rs h3 { font-size: clamp(1.15rem, 1.9vw, 1.55rem); font-weight: 700; margin-bottom: 0.5em; }
.rs div:nth-child(1) h3 { color: var(--red); }
.rs div:nth-child(2) h3 { color: var(--gold); }
.rs div:nth-child(3) h3 { color: var(--teal); }
.rs div:nth-child(4) h3 { color: var(--coral); }
.rs div:nth-child(5) h3 { color: var(--red); }
.rs p { font-size: 0.93rem; color: var(--muted); margin: 0; }

/* ---------- CTA band ---------- */
.cta { background: linear-gradient(120deg, var(--navy-700), var(--navy-800)); border-block: 1px solid var(--line); }
.cta__inner { display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; justify-content: space-between; padding-block: clamp(3rem, 6vw, 4.5rem); }
.cta h2 { margin: 0; max-width: 20ch; }
.cta p { margin: 0.7rem 0 0; color: var(--muted); max-width: 52ch; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 7vw, 6rem); background: radial-gradient(700px 400px at 90% 0%, rgba(111, 135, 192, 0.16), transparent 65%), var(--navy-900); border-bottom: 1px solid var(--line); }
.page-hero::before { content: ""; position: absolute; inset: 0; opacity: 0.35; pointer-events: none; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse at 90% 0%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 90% 0%, #000, transparent 70%); }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 18ch; }
.page-hero .lead { margin: 0; }

/* ---------- Services page ---------- */
.service { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(1.5rem, 5vw, 4.5rem); padding-block: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); }
.service:first-of-type { border-top: 0; padding-top: 0; }
.service__head .ico { width: 54px; height: 54px; color: var(--teal); margin-bottom: 1rem; }
.service__head h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin: 0; }
.service__body .two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2.5rem; margin-top: 1.5rem; }
.service h3 { font-size: 1rem; color: var(--gold); margin-bottom: 0.6em; letter-spacing: 0; }
.ticks { list-style: none; display: grid; gap: 0.6rem; font-size: 0.97rem; color: var(--muted); }
.ticks li { position: relative; padding-left: 1.7rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 11px; height: 6px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.section--light .ticks { color: var(--ink-muted); }
.section--light .ticks li::before { border-color: #5d8a1e; }

/* ---------- Process steps ---------- */
.steps { list-style: none; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--teal), var(--gold), var(--coral)); opacity: 0.6; }
.steps li { counter-increment: step; position: relative; padding: 0 0 2.6rem 5rem; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 56px; height: 56px; border-radius: 50%; background: var(--navy-900); border: 2px solid var(--teal); display: grid; place-items: center; font-weight: 700; font-size: 1.15rem; color: #fff; }
.steps li:nth-child(2)::before { border-color: #89ab82; }
.steps li:nth-child(3)::before { border-color: var(--gold); }
.steps li:nth-child(4)::before { border-color: #b0707c; }
.steps li:nth-child(5)::before { border-color: var(--coral); }
.steps h3 { margin-bottom: 0.3em; padding-top: 0.7rem; }
.steps p { color: var(--muted); margin: 0; max-width: 62ch; }

.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 2.5rem; }
.cols3 > div { border-top: 3px solid var(--teal); padding-top: 1.2rem; }
.cols3 > div:nth-child(2) { border-top-color: var(--gold); }
.cols3 > div:nth-child(3) { border-top-color: var(--coral); }
.cols3 p { color: var(--muted); font-size: 0.97rem; margin: 0; }
.section--light .cols3 p { color: var(--ink-muted); }

/* ---------- About / compliance blocks ---------- */
.prose h2 { margin-top: 2.2rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.2rem; margin-bottom: 1.2rem; display: grid; gap: 0.5rem; }
.section--light .prose p, .section--light .prose li { color: var(--ink-muted); }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.2rem 3rem; }
.facts div { border-left: 3px solid var(--gold); padding-left: 1.2rem; }
.facts div:nth-child(even) { border-left-color: var(--teal); }
.facts h3 { margin-bottom: 0.3em; }
.facts p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.section--light .facts p { color: var(--ink-muted); }
.callout { border: 1px solid rgba(111, 135, 192, 0.5); border-radius: var(--radius); padding: 1.6rem 1.8rem; background: rgba(111, 135, 192, 0.08); }
.callout h3 { color: var(--gold); margin-bottom: 0.4em; }
.callout p:last-child { margin-bottom: 0; }

/* ---------- Forms & contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.form { display: grid; gap: 1.15rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 600; font-size: 0.92rem; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--text);
  background: var(--navy-800); border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px; padding: 0.85rem 1rem; width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--gold); outline-offset: 1px; border-color: transparent; }
.field input[type="file"] { padding: 0.7rem; }
.check { display: flex; gap: 0.8rem; align-items: flex-start; font-size: 0.9rem; color: var(--muted); }
.check input { margin-top: 0.3rem; width: 18px; height: 18px; accent-color: var(--gold); flex: none; }
.check a { color: var(--gold); }
.hp { position: absolute; left: -9999px; }
.aside-card { border-left: 3px solid var(--teal); padding-left: 1.4rem; }
.aside-card + .aside-card { margin-top: 2rem; border-left-color: var(--gold); }
.aside-card h3 { font-size: 1.1rem; }
.aside-card p, .aside-card li { color: var(--muted); font-size: 0.96rem; }
.detail-list { list-style: none; display: grid; gap: 0.8rem; }
.detail-list span { display: block; font-size: 0.82rem; color: var(--muted); }
.detail-list a { color: #fff; font-weight: 500; text-decoration-color: var(--teal); text-underline-offset: 3px; }
[hidden] { display: none !important; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); border-top: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; font-size: 0.95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer__brand p { color: var(--muted); max-width: 36ch; margin-top: 1rem; }
.footer__tag { color: var(--green); font-weight: 600; }
.site-footer h4 { font-size: 0.95rem; letter-spacing: 0; margin-bottom: 0.9em; color: #fff; }
.site-footer ul { list-style: none; display: grid; gap: 0.55rem; }
.site-footer li a { color: var(--muted); text-decoration: none; }
.site-footer li a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__base { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem 2rem; color: var(--muted); font-size: 0.85rem; }
.footer__base p { margin: 0; max-width: 70ch; }

/* ---------- Utility pages ---------- */
.center-page { min-height: 62vh; display: grid; place-items: center; text-align: center; padding-block: 5rem; }
.center-page h1 { font-size: clamp(2.6rem, 7vw, 5rem); margin-bottom: 0.3em; }
.center-page .lead { margin-inline: auto; margin-bottom: 2rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero__grid { grid-template-columns: 1fr; }
  .scan { max-width: 560px; }
  .rs { grid-template-columns: repeat(2, 1fr); }
  .rs div, .rs div + div { padding: 1.5rem 1.2rem 0.5rem 0; border-left: 0; }
  .rs div:nth-child(even) { padding-left: 1.2rem; border-left: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .trust__inner { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; }
  .nav { position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--navy-950); border-bottom: 1px solid var(--line); padding: 1rem var(--gutter) 1.6rem; display: none; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav li { border-bottom: 1px solid var(--line); }
  .nav a:not(.btn) { display: block; padding: 0.95rem 0; font-size: 1.05rem; border-bottom: 0; }
  .nav a[aria-current="page"]:not(.btn) { color: var(--gold); }
  .nav li:last-child { border: 0; padding-top: 1.1rem; }
  .nav li:last-child .btn { width: 100%; }
  .split, .service, .contact-grid { grid-template-columns: 1fr; }
  .split__sticky { position: static; }
  .rows a { grid-template-columns: 44px 1fr 40px; gap: 1rem; }
  .rows a p { grid-column: 2 / 3; grid-row: 2; }
  .rows .go { grid-row: 1 / 3; grid-column: 3; width: 40px; height: 40px; }
  .eq { grid-template-columns: 1fr; gap: 0.2rem; }
  .eq__op { margin-block: 0.4rem 0.6rem; }
  .cols3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .service__body .two, .form .row, .facts { grid-template-columns: 1fr; }
  .rs { grid-template-columns: 1fr; }
  .rs div:nth-child(even) { padding-left: 0; border-left: 0; }
  .rs div { border-top: 1px solid var(--line); }
  .rs div:first-child { border-top: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .brand__text { display: none; }
  .brand__logo { height: 40px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .scan__log li, .trace__chip { opacity: 1; transform: none; }
}
