/* ==========================================================================
   Systems Sales Company — Records Management Solutions
   Modern responsive stylesheet
   Brand colour: #990033 (deep crimson, from the company logo)
   ========================================================================== */

/* ---------------------------------------------------------------
   1. Design tokens
   --------------------------------------------------------------- */
:root {
  --brand: #990033;
  --brand-dark: #6e0024;
  --brand-mid: #b30040;
  --brand-light: #fbeef2;
  --brand-tint: #fdf7f9;

  --ink: #16161c;
  --body: #3c3c46;
  --muted: #6a6a76;
  --line: #e3e3e9;
  --line-soft: #efeff3;

  --bg: #ffffff;
  --bg-soft: #f7f7f9;
  --bg-dark: #1d1d24;

  --ok: #1c7a4a;
  --warn: #8a5a00;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(22, 22, 28, .06), 0 1px 3px rgba(22, 22, 28, .04);
  --shadow: 0 2px 4px rgba(22, 22, 28, .05), 0 8px 20px rgba(22, 22, 28, .07);
  --shadow-lg: 0 4px 8px rgba(22, 22, 28, .06), 0 18px 40px rgba(22, 22, 28, .11);

  --wrap: 1120px;
  --wrap-narrow: 820px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", "Liberation Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

/* ---------------------------------------------------------------
   2. Reset / base
   --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; border: 0; display: block; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.011em;
}

h1 { font-size: clamp(1.85rem, 1.3rem + 2.2vw, 2.7rem); }
h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.95rem); margin-top: 1.8em; }
h3 { font-size: clamp(1.15rem, 1rem + .6vw, 1.35rem); margin-top: 1.5em; }
h4 { font-size: 1.05rem; margin-top: 1.4em; }

p { margin: 0 0 1.15em; }
ul, ol { margin: 0 0 1.15em; padding-left: 1.4em; }
li { margin-bottom: .4em; }
strong { color: var(--ink); font-weight: 650; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }

blockquote {
  margin: 1.6em 0;
  padding: .2em 0 .2em 1.3em;
  border-left: 3px solid var(--brand);
  color: var(--ink);
  font-style: italic;
}

code {
  font-family: var(--mono);
  font-size: .9em;
  background: var(--bg-soft);
  padding: .12em .4em;
  border-radius: 4px;
}

/* Accessibility helpers */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--brand);
  color: #fff;
  padding: .7em 1.2em;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; text-decoration: none; }

:focus-visible {
  outline: 3px solid var(--brand-mid);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ---------------------------------------------------------------
   3. Layout
   --------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 22px;
}

.wrap-narrow { max-width: var(--wrap-narrow); }

main { display: block; }

.section { padding: 62px 0; }
.section-tight { padding: 42px 0; }
.section-soft { background: var(--bg-soft); }
.section-tint { background: var(--brand-tint); }
.section-dark { background: var(--bg-dark); color: #d6d6dd; }
.section-dark h2, .section-dark h3 { color: #fff; }

.section-head {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}
.section-head p { color: var(--muted); font-size: 1.05rem; margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: .7em;
}
.section-dark .eyebrow { color: #ffa8c2; }

/* ---------------------------------------------------------------
   4. Top bar + header
   --------------------------------------------------------------- */
.topbar {
  background: var(--bg-dark);
  color: #c9c9d2;
  font-size: .86rem;
  padding: 8px 0;
}
.topbar .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 20px;
}
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { color: #ffa8c2; text-decoration: none; }
.topbar-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  list-style: none;
  margin: 0; padding: 0;
}
.topbar-list li { margin: 0; }

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .02);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}

.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand img { width: 262px; max-width: 62vw; height: auto; }
.brand-text { display: none; }
.brand-tag {
  display: block;
  font-size: .74rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

/* Primary nav */
.nav-toggle {
  display: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 8px 11px;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle:hover { border-color: var(--brand); color: var(--brand); }
.nav-toggle svg { display: block; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav li { margin: 0; position: relative; }
.nav a {
  display: block;
  padding: 10px 13px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: .94rem;
  font-weight: 600;
  white-space: nowrap;
}
.nav a:hover { background: var(--brand-light); color: var(--brand-dark); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--brand); background: var(--brand-light); }

.nav-cta { margin-left: 12px; }

/* Dropdown */
.nav .has-sub > a::after {
  content: "";
  display: inline-block;
  margin-left: 6px;
  border: 4px solid transparent;
  border-top-color: currentColor;
  vertical-align: middle;
  position: relative;
  top: 1px;
}
.nav .submenu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 250px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  display: none;
  flex-direction: column;
  z-index: 120;
}
.nav .has-sub:hover .submenu,
.nav .has-sub:focus-within .submenu { display: flex; }
.nav .submenu a { padding: 9px 12px; font-weight: 500; font-size: .9rem; }

/* ---------------------------------------------------------------
   5. Buttons
   --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  font-family: inherit;
  font-size: .97rem;
  font-weight: 650;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }

.btn-outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }

.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-ghost:hover { background: #fff; color: var(--brand-dark); }

.btn-light { background: #fff; color: var(--brand-dark); }
.btn-light:hover { background: var(--brand-light); color: var(--brand-dark); }

.btn-sm { padding: 9px 17px; font-size: .88rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn-row.center { justify-content: center; }

/* ---------------------------------------------------------------
   6. Hero
   --------------------------------------------------------------- */
.hero {
  position: relative;
  background:
    linear-gradient(115deg, #5c001d 0%, var(--brand) 48%, #b30040 100%);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 88% 12%, rgba(255, 255, 255, .14), transparent 52%);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 52px;
  align-items: center;
  padding-top: 66px;
  padding-bottom: 66px;
}
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero p { color: rgba(255, 255, 255, .92); font-size: 1.1rem; max-width: 44ch; }
.hero .eyebrow { color: #ffc2d4; }
.hero-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .34);
  background: #fff;
}
.hero-quote {
  border-left: 3px solid rgba(255, 255, 255, .55);
  padding-left: 18px;
  font-style: italic;
  font-size: 1.02rem;
  color: rgba(255, 255, 255, .95);
  margin: 0 0 26px;
}

/* Compact page hero for interior pages */
.page-hero {
  background: linear-gradient(115deg, #5c001d 0%, var(--brand) 55%, #a80040 100%);
  color: #fff;
  padding: 46px 0 42px;
}
.page-hero h1 { color: #fff; margin-bottom: .3em; max-width: 24ch; }
.page-hero p { color: rgba(255, 255, 255, .9); margin-bottom: 0; max-width: 68ch; font-size: 1.05rem; }

/* Breadcrumbs */
.crumbs { font-size: .86rem; margin-bottom: 14px; }
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0; padding: 0;
}
.crumbs li { margin: 0; display: flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "/"; color: rgba(255, 255, 255, .5); }
.crumbs a { color: rgba(255, 255, 255, .88); }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current="page"] { color: #fff; font-weight: 600; }

/* ---------------------------------------------------------------
   7. Cards & grids
   --------------------------------------------------------------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Grid and flex children default to min-width:auto, which lets a wide child
   (for example a data table) stretch the column and cause page-level
   horizontal scrolling. Allowing them to shrink keeps wide content inside its
   own scroll container instead. */
.grid > *,
.split > *,
.contact-grid > *,
.footer-grid > *,
.cta-band .wrap > * { min-width: 0; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #d6d6de; }
.card h3 { margin-top: 0; font-size: 1.16rem; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--brand); text-decoration: none; }
.card p:last-child { margin-bottom: 0; }
.card .card-more { margin-top: auto; padding-top: 14px; font-weight: 640; font-size: .92rem; }

.card-icon {
  width: 46px; height: 46px;
  border-radius: 11px;
  background: var(--brand-light);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  flex: none;
}
.card-icon svg { width: 24px; height: 24px; }

.card-flat { box-shadow: none; }
.card-flat:hover { transform: none; box-shadow: var(--shadow-sm); }

/* Media card with image on top */
.card-media { padding: 0; overflow: hidden; }
.card-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--bg-soft); }
.card-media .card-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.card-media .card-body h3 { margin-top: 0; }
.card-media .card-more { margin-top: auto; padding-top: 14px; }

/* Link list */
.link-list { list-style: none; margin: 0; padding: 0; }
.link-list li {
  margin: 0;
  border-bottom: 1px solid var(--line-soft);
}
.link-list li:last-child { border-bottom: 0; }
.link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 2px;
  font-weight: 600;
  color: var(--ink);
}
.link-list a:hover { color: var(--brand); text-decoration: none; padding-left: 6px; transition: padding .15s ease; }
.link-list a::after { content: "\2192"; color: var(--brand); flex: none; }

/* ---------------------------------------------------------------
   8. Content blocks
   --------------------------------------------------------------- */
.prose { max-width: var(--wrap-narrow); }
.prose-wide { max-width: 900px; }

.lead {
  font-size: 1.14rem;
  line-height: 1.65;
  color: var(--ink);
}

.callout {
  background: var(--brand-tint);
  border: 1px solid #f2d9e1;
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 26px;
  margin: 28px 0;
}
.callout > :last-child { margin-bottom: 0; }
.callout h3, .callout h2 { margin-top: 0; font-size: 1.12rem; }

.callout-note {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--muted);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px;
  margin: 24px 0;
  font-size: .96rem;
}
.callout-note > :last-child { margin-bottom: 0; }

.feature-list { list-style: none; padding: 0; margin: 0 0 1.3em; }
.feature-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 11px;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 4px; top: .58em;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--brand);
  flex: none;
}
.check-list { list-style: none; padding: 0; margin: 0 0 1.3em; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0; top: 0;
  color: var(--ok);
  font-weight: 700;
  font-size: 1.05em;
}

/* Two column text + media */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}
.split-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.split h2:first-child { margin-top: 0; }

/* Figure */
figure { margin: 28px 0; }
figure img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
figcaption {
  font-size: .88rem;
  color: var(--muted);
  margin-top: 10px;
  text-align: center;
}
.figure-narrow { max-width: 480px; margin-left: auto; margin-right: auto; }
.figure-brochure { max-width: 560px; margin-left: auto; margin-right: auto; }

/* Stat strip */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat { background: #fff; padding: 26px 22px; text-align: center; }
.stat-num {
  display: block;
  font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem);
  font-weight: 750;
  color: var(--brand);
  line-height: 1.1;
  margin-bottom: 6px;
}
.stat-label { font-size: .88rem; color: var(--muted); }

/* Trust / logos */
.trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 34px 52px;
}
.trust img { max-height: 52px; width: auto; opacity: .95; }
.trust-item { text-align: center; }
.trust-item span { display: block; font-size: .8rem; color: var(--muted); margin-top: 8px; }

/* ---------------------------------------------------------------
   9. Tables (pricing / model specs)
   --------------------------------------------------------------- */
.table-scroll {
  overflow-x: auto;
  margin: 26px 0;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
  background: #fff;
  min-width: 480px;
}
table.data caption {
  caption-side: top;
  text-align: left;
  font-weight: 700;
  color: var(--ink);
  padding-bottom: 10px;
  font-size: 1.02rem;
}
table.data th, table.data td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
table.data thead th {
  background: var(--brand-tint);
  color: var(--ink);
  font-weight: 700;
  border-bottom: 2px solid var(--brand);
  white-space: nowrap;
}
table.data tbody tr:hover { background: var(--bg-soft); }
table.data td.num, table.data th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------
   10. FAQ (native details/summary)
   --------------------------------------------------------------- */
.faq { max-width: 880px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  background: #fff;
  overflow: hidden;
}
.faq details[open] { border-color: #dcc3cc; box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer;
  padding: 17px 52px 17px 22px;
  font-weight: 650;
  color: var(--ink);
  position: relative;
  list-style: none;
  font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 22px; top: 50%;
  transform: translateY(-50%);
  color: var(--brand);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { background: var(--brand-tint); }
.faq .faq-body { padding: 0 22px 20px; }
.faq .faq-body > :last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------
   11. Contact / forms
   --------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 46px;
  align-items: start;
}

.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-weight: 640;
  font-size: .92rem;
  color: var(--ink);
  margin-bottom: 6px;
}
.form-field .req { color: var(--brand); }
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cfcfd8;
  border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: 0;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(153, 0, 51, .13);
}
.form-field textarea { min-height: 148px; resize: vertical; }
.form-hint { font-size: .85rem; color: var(--muted); margin: 6px 0 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; }

.contact-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.contact-card h2, .contact-card h3 { margin-top: 0; font-size: 1.15rem; }
.contact-details { list-style: none; margin: 0 0 22px; padding: 0; }
.contact-details li {
  margin: 0 0 14px;
  padding-left: 28px;
  position: relative;
  font-size: .97rem;
}
.contact-details li::before {
  content: "";
  position: absolute;
  left: 0; top: .5em;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--brand);
}
.contact-details strong { display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; }
.contact-details a { font-weight: 600; word-break: break-word; }

/* ---------------------------------------------------------------
   12. CTA band
   --------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(115deg, #5c001d 0%, var(--brand) 55%, #a80040 100%);
  color: #fff;
  padding: 56px 0;
}
.cta-band .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.cta-band h2 { color: #fff; margin: 0 0 .25em; }
.cta-band p { color: rgba(255, 255, 255, .9); margin: 0; max-width: 56ch; }
.cta-band .btn-row { margin-top: 0; }

/* ---------------------------------------------------------------
   13. Footer
   --------------------------------------------------------------- */
.site-footer {
  background: var(--bg-dark);
  color: #a9a9b4;
  font-size: .93rem;
  padding: 56px 0 0;
}
.site-footer h2, .site-footer h3 {
  color: #fff;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  margin: 0 0 18px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
}
.site-footer p { margin-bottom: 1em; }
.site-footer a { color: #d9d9e0; }
.site-footer a:hover { color: #ffa8c2; text-decoration: none; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-brand img {
  width: 236px;
  max-width: 100%;
  height: auto;
  background: #fff;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}
.footer-partner {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}
.footer-partner img { max-height: 34px; width: auto; background: #fff; padding: 4px 6px; border-radius: 4px; }
.footer-partner span { font-size: .82rem; }
.footer-bottom {
  border-top: 1px solid #31313b;
  padding: 20px 0 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  font-size: .86rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
  margin: 0; padding: 0;
}
.footer-bottom li { margin: 0; }

/* Back to top */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  border: 0;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  z-index: 90;
}
.to-top.show { display: flex; }
.to-top:hover { background: var(--brand-dark); }

/* ---------------------------------------------------------------
   14. Utility
   --------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 1.6em; }
.mt-3 { margin-top: 2.4em; }
.badge {
  display: inline-block;
  background: var(--brand-light);
  color: var(--brand-dark);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

/* ---------------------------------------------------------------
   15. Responsive
   --------------------------------------------------------------- */
@media (max-width: 1000px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero-media { order: -1; }
  .hero-media img { max-width: 560px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split-media { order: -1; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 12px 22px 22px;
    flex-direction: column;
    align-items: stretch;
  }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav li { border-bottom: 1px solid var(--line-soft); }
  .nav a { padding: 13px 4px; border-radius: 0; }
  .nav .has-sub > a::after { float: right; margin-top: 8px; }
  .nav .submenu {
    position: static;
    display: flex;
    border: 0;
    box-shadow: none;
    padding: 0 0 8px 14px;
    background: transparent;
  }
  .nav .submenu a { font-size: .92rem; }
  .nav-cta { margin: 16px 0 0; }
  .nav-cta .btn { width: 100%; }
  .site-header .wrap { position: relative; flex-wrap: wrap; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 44px 0; }
  .wrap { padding: 0 18px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand img { width: 210px; }
  .topbar { font-size: .8rem; }
  .topbar .wrap { justify-content: center; text-align: center; }
  .page-hero { padding: 34px 0 32px; }
  .cta-band { padding: 42px 0; }
  .trust { gap: 22px 30px; }
  .card { padding: 22px; }
  .card-media .card-body { padding: 20px 22px 22px; }
}

@media (max-width: 400px) {
  .stats { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------
   16. Print
   --------------------------------------------------------------- */
@media print {
  .topbar, .site-header, .cta-band, .to-top, .site-footer, .nav { display: none !important; }
  body { font-size: 11pt; color: #000; }
  .page-hero, .hero { background: none !important; color: #000 !important; }
  .page-hero h1, .hero h1 { color: #000 !important; }
  a { color: #000; text-decoration: underline; }
  .card, .callout { border: 1px solid #999; box-shadow: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
