/* Champ's Industrial — Phase 1 styles. No build step.
   Fonts: Barlow and Barlow Condensed, self-hosted from Google Fonts (OFL).
*/
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/barlow-400.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/barlow-500.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/barlow-600.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/barlow-700.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/barlowcondensed-600.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/barlowcondensed-700.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/barlowcondensed-800.woff2") format("woff2");
}

:root {
  --ink: #161b21;
  --ink-muted: #545c66;
  --paper: #f3f1ec;
  --paper-2: #e8e4db;
  --white: #fffcf7;
  --charcoal: #0d1116;
  --steel: #151b22;
  --steel-2: #1c242e;
  --steel-3: #2a333d;
  --mist: #c5ccd3;
  --orange: #f05a10;
  --orange-hover: #d44c0b;
  --orange-soft: #ffd8c4;
  --line: #d4cfc4;
  --focus: #3d8fd1;
  --shadow: 0 1px 2px rgba(13, 17, 22, 0.06), 0 14px 32px rgba(13, 17, 22, 0.08);
  --radius: 12px;
  --wrap: 72rem;
  --display: "Barlow Condensed", "Arial Narrow", "Segoe UI", sans-serif;
  --body: "Barlow", "Segoe UI", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.25rem;
  overflow-x: clip;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
  max-width: 100%;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
img { object-fit: cover; }

a { color: var(--orange); text-underline-offset: 0.16em; }
a:hover { color: var(--orange-hover); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  background: var(--orange);
  color: #fff;
  padding: 0.5rem 0.85rem;
  z-index: 100;
  font-weight: 600;
}
.skip-link:focus { top: 0.75rem; color: #fff; }

.wrap {
  width: min(100% - 2.25rem, var(--wrap));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(13, 17, 22, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 3px solid var(--orange);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: #fff;
}
.logo:hover { color: #fff; }

.logo-mark {
  width: 2.4rem;
  height: 2.4rem;
  flex: 0 0 auto;
  border: 1px solid #3a4450;
  border-radius: 4px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 0.95;
}

.logo-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.logo-sub {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #b7c0c8;
}

.nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.05rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav a {
  color: #d7dde3;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 500;
  padding: 0.4rem 0.1rem;
  display: inline-block;
}
.nav a:hover { color: #fff; }

.nav-cta {
  background: var(--orange);
  color: #fff !important;
  padding: 0.5rem 0.95rem !important;
  border-radius: 4px;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-family: var(--display);
  font-size: 0.98rem !important;
}
.nav-cta:hover { background: var(--orange-hover); }

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.nav-toggle-btn {
  display: none;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
  background: transparent;
  color: #fff;
  border: 1px solid #5a6570;
  border-radius: 4px;
  padding: 0.4rem 0.7rem;
  min-height: 2.5rem;
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-toggle-icon {
  display: block;
  width: 1.05rem;
  height: 0.8rem;
  background:
    linear-gradient(#fff, #fff) 0 0 / 100% 2px no-repeat,
    linear-gradient(#fff, #fff) 0 50% / 100% 2px no-repeat,
    linear-gradient(#fff, #fff) 0 100% / 100% 2px no-repeat;
}
.nav-toggle:focus-visible + .nav-toggle-btn {
  outline: 3px solid #8ec8ea;
  outline-offset: 3px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 36rem;
  color: #f3f1ec;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    url("images/hero-factory.jpg") center 45% / cover no-repeat;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 11, 15, 0.92) 0%, rgba(8, 11, 15, 0.78) 38%, rgba(8, 11, 15, 0.42) 68%, rgba(8, 11, 15, 0.28) 100%),
    linear-gradient(180deg, rgba(8, 11, 15, 0.2) 0%, rgba(8, 11, 15, 0.08) 40%, rgba(8, 11, 15, 0.72) 100%);
}

.hero-inner {
  padding: 6.5rem 0 2.4rem;
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
  width: min(100% - 2.25rem, var(--wrap));
  margin-right: auto;
  /* pull content left within the wrap */
}

/* Place hero copy on the left of the full wrap */
.hero > .wrap.hero-inner {
  margin-left: auto;
  margin-right: auto;
  width: min(100% - 2.25rem, var(--wrap));
  max-width: 44rem;
  margin-left: max(1.125rem, calc((100% - min(100% - 2.25rem, var(--wrap))) / 2));
}

.eyebrow {
  margin: 0 0 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 3px;
  background: var(--orange);
}

.hero h1 {
  margin: 0 0 1.05rem;
  font-family: var(--display);
  font-size: clamp(1.7rem, 8.6vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
  overflow-wrap: break-word;
  max-width: 100%;
}

.lead {
  margin: 0 0 1.7rem;
  font-size: 1.14rem;
  font-weight: 400;
  color: #d5dbe1;
  max-width: 38rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.3rem;
  border-radius: 4px;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
}

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

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}
.btn-ghost:hover {
  background: #fff;
  color: var(--charcoal);
  border-color: #fff;
}

.btn-on-orange {
  background: var(--charcoal);
  color: #fff;
  border-color: var(--charcoal);
  white-space: nowrap;
}
.btn-on-orange:hover {
  background: #000;
  color: #fff;
}

.hero-facts {
  background: rgba(13, 17, 22, 0.88);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.fact-bar-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.25rem;
  padding: 1.05rem 0;
  text-align: center;
}

.fact-bar-inner p {
  margin: 0;
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f3f1ec;
  position: relative;
}
.fact-bar-inner p:not(:first-child)::before {
  content: "";
  position: absolute;
  left: -0.65rem;
  top: 0.2rem;
  bottom: 0.2rem;
  width: 2px;
  background: var(--orange);
}

/* Sections */
.section { padding: 4.4rem 0 4.6rem; }
#what-we-buy { padding-bottom: 0; }

.section-light { background: var(--paper); color: var(--ink); }
.section-dark {
  background: var(--steel);
  color: #e8edf1;
  border-block: 1px solid #0a0d11;
}

.section-kicker {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}

.section h2,
.cta-band h2 {
  margin: 0 0 0.8rem;
  font-family: var(--display);
  font-size: clamp(1.55rem, 5.4vw, 2.85rem);
  letter-spacing: 0.02em;
  line-height: 1.05;
  font-weight: 800;
  text-transform: uppercase;
}

.section-light h2 { color: var(--charcoal); }
.section-dark h2 { color: #fff; }

.section-intro {
  margin: 0 0 2rem;
  color: var(--ink-muted);
  max-width: 42rem;
}
.section-dark .section-intro { color: #b7c0c8; }

.cat-group { margin: 0 0 2.2rem; }
.cat-group-title {
  margin: 0 0 0.9rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.cat-group-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.cat-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.cat-grid-auto { grid-template-columns: 1fr 1fr; }
.cat-grid-elec { grid-template-columns: 1fr; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
}

.card-photo {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #1a2026;
  flex: 0 0 auto;
}
.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 0.85rem 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
}

.cat-grid-elec .card {
  display: flex;
  flex-direction: column;
  padding: 0;
}
.cat-grid-elec .icon-wrap {
  margin-bottom: 0.65rem;
  width: 2.75rem;
  height: 2.75rem;
}

.icon-wrap {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.9rem;
  background: var(--charcoal);
  color: var(--orange);
  border-radius: 6px;
}
.icon-wrap svg { width: 1.7rem; height: 1.7rem; }

.card h3,
.steps h3,
.why-grid h3,
.contact-aside h3 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.cat-grid .card h3 {
  font-size: 1.22rem;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.card p,
.steps p,
.why-grid p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1rem;
}

/* Brand strip */
.brand-strip {
  margin-top: 2.6rem;
  background: var(--charcoal);
  color: #e8edf1;
  padding: 1.6rem 0 1.7rem;
}

.brand-kicker {
  margin: 0 0 0.7rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}

.brand-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: start;
  gap: 0.5rem 1.55rem;
  margin: 0 0 1rem;
  padding: 0;
}

.brand-list li {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  padding: 0;
  margin: 0;
  border: 0;
  white-space: nowrap;
}

.brand-note {
  margin: 0 0 0.65rem;
  color: #b7c0c8;
  font-size: 0.98rem;
  max-width: 58rem;
}
.brand-legal {
  margin: 0;
  color: #8b949e;
  font-size: 0.82rem;
  max-width: 58rem;
}

/* How it works */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

.steps li {
  background: var(--steel-2);
  border: 1px solid var(--steel-3);
  border-top: 3px solid var(--orange);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  min-width: 0;
}
.step-photo {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0a0d11;
}
.step-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.step-body { padding: 1.1rem 1.15rem 1.3rem; }

.step-num {
  display: block;
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 0.7rem;
  letter-spacing: 0.04em;
}

.steps h3 { color: #fff; }
.steps p { color: #b7c0c8; }

/* Why us */
.why-visual {
  margin: 0 0 1.6rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 2 / 1;
  background: #1a2026;
}
.why-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.why-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem 1.8rem;
}
.why-grid li {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.15rem 1.2rem 1.2rem;
}

/* CTA band */
.cta-band {
  background: var(--orange);
  color: #fff;
  padding: 2.6rem 0;
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  flex-wrap: wrap;
}
.cta-kicker {
  margin: 0 0 0.25rem;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: #ffe4d4;
}
.cta-band h2 { margin: 0 0 0.35rem; color: #fff; }
.cta-band p { margin: 0; color: #ffe8db; max-width: 38rem; }

/* Service */
.service-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.6rem 2.2rem;
  align-items: start;
}
.service-inner > div p { color: #b7c0c8; max-width: 40rem; }

.service-box {
  background: var(--charcoal);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem 1.8rem;
  border-left: 4px solid var(--orange);
}
.service-label {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--orange);
}
.service-box .service-place {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.05;
  color: #ffffff;
}
.service-box .service-region {
  color: #c5ccd3;
}
.service-box .service-region {
  margin: 0 0 0.15rem;
  font-size: 1.05rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.35rem;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.contact-form p { margin: 0 0 0.95rem; }

.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.32rem;
}

.req { color: var(--orange); font-weight: 600; font-size: 0.78rem; }
.optional { color: var(--ink-muted); font-weight: 500; font-size: 0.78rem; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fbfaf7;
  border: 1px solid #c8c1b3;
  border-radius: 5px;
  padding: 0.62rem 0.75rem;
}
.contact-form input:hover,
.contact-form textarea:hover { border-color: #9e9688; }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(240, 90, 16, 0.18);
  background: #fff;
}
.contact-form textarea { resize: vertical; min-height: 5.5rem; }
.form-actions { margin-bottom: 0 !important; }

.contact-aside {
  background: var(--charcoal);
  color: #d5dbe1;
  border-radius: var(--radius);
  padding: 1.45rem 1.4rem;
  border-top: 4px solid var(--orange);
}
.contact-aside h3 { color: #fff; }
.contact-aside p { margin: 0 0 1.05rem; }
.contact-aside a { color: #ffb08a; overflow-wrap: anywhere; }
.contact-aside a:hover { color: #fff; }

.contact-label {
  display: block;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.2rem;
}

.mailto-note {
  font-size: 0.95rem;
  border-top: 1px solid #2a333d;
  padding-top: 1rem;
  margin-bottom: 0 !important;
}

/* Footer */

.privacy-note {
  margin: 0.9rem 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink-muted);
  max-width: 40rem;
}
.privacy-note a { color: var(--ink-muted); text-underline-offset: 0.14em; }
.privacy-note a:hover { color: var(--ink); }

.site-footer {
  background: #090c10;
  color: #9aa3ac;
  padding: 2.1rem 0;
  border-top: 3px solid var(--orange);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.footer-name {
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer-domain {
  margin: 0.1rem 0 0.4rem;
  color: var(--orange);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.site-footer p { margin: 0 0 0.25rem; }
.site-footer a { color: #ffb08a; }
.site-footer a:hover { color: #fff; }
.footer-links { text-align: right; }

.footer-credits {
  margin-top: 1.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid #2a333d;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #8b949e;
  max-width: 100%;
  min-width: 0;
}
.photo-credits summary {
  cursor: pointer;
  color: #c5ccd3;
  font-weight: 600;
  width: fit-content;
}
.photo-credits summary:hover { color: #fff; }
.photo-credits[open] summary { margin-bottom: 0.35rem; }
.photo-credits p { margin: 0.45rem 0 0.6rem; max-width: 46rem; }
.photo-credits ul {
  margin: 0;
  padding: 0 0 0 1.1rem;
  max-width: 58rem;
}
.photo-credits li {
  margin: 0 0 0.45rem;
  overflow-wrap: break-word;
}
.photo-credits a { color: #ffb08a; }
.photo-credits a:hover { color: #fff; }


/* Wider layouts. Base styles are mobile-first so a phone never
   inherits a 3- or 4-column grid that can overflow. */
@media (min-width: 700px) {
  .cat-grid-elec { grid-template-columns: 1fr 1fr; }
  .brand-list { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .card-body { padding: 1.05rem 1.1rem 1.2rem; }
}

@media (min-width: 900px) {
  .cat-grid-auto { grid-template-columns: repeat(3, 1fr); }
  .fact-bar-inner {
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
  }
  .brand-list { grid-template-columns: repeat(5, 1fr); }
}

@media (min-width: 1100px) {
  .brand-list { grid-template-columns: repeat(7, 1fr); }
}

@media (max-width: 899px) {
  .fact-bar-inner p::before { display: none !important; }
}

@media (max-width: 960px) {
  .contact-grid,
  .service-inner,
  .why-grid { grid-template-columns: 1fr; }
  .footer-links { text-align: left; }
}

@media (max-width: 800px) {
  .nav-toggle-btn { display: inline-flex; }
  .nav {
    display: none;
    width: 100%;
    flex-basis: 100%;
  }
  .nav-toggle:checked ~ .nav { display: block; }
  .nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.1rem;
    padding: 0.4rem 0 0.55rem;
  }
  .nav a { display: block; padding: 0.7rem 0.15rem; }
  .nav-cta { text-align: center; margin-top: 0.25rem; }
  .hero > .wrap.hero-inner {
    margin-left: auto;
    margin-right: auto;
    max-width: none;
  }
  .hero h1 { max-width: 100%; }
  .header-inner { flex-wrap: wrap; }
}

.card-body h3 {
  font-size: 1.15rem;
  line-height: 1.15;
  margin: 0 0 0.35rem;
}
.card-body p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-muted);
}
.card-body .icon-wrap { margin-bottom: 0.55rem; }

@media (max-width: 600px) {
  .card-body { padding: 0.7rem 0.75rem 0.85rem; }
  .card-body h3 { font-size: 1.05rem; }
  .card-body p { font-size: 0.88rem; }

  .hero { min-height: 0; }
  .hero-inner { padding: 4.2rem 0 1.8rem; }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(8, 11, 15, 0.5) 0%, rgba(8, 11, 15, 0.72) 35%, rgba(8, 11, 15, 0.9) 100%),
      linear-gradient(90deg, rgba(8, 11, 15, 0.7), rgba(8, 11, 15, 0.45));
  }
  .section { padding: 2.8rem 0 3rem; }
  .form-row { grid-template-columns: 1fr; }
  .fact-bar-inner {
    text-align: left;
    padding: 0.95rem 0;
    gap: 0.55rem 1rem;
  }
  .fact-bar-inner p { font-size: 0.92rem; letter-spacing: 0.05em; }
  .fact-bar-inner p::before { display: none !important; }
  .hero-actions .btn { width: 100%; }
  .contact-form { padding: 1.1rem; }
  .brand-list { gap: 0.4rem 1rem; }
  .brand-list li { font-size: 0.95rem; }
  .cta-band { padding: 2rem 0; }
  .why-visual { aspect-ratio: 16 / 10; }
  .lead { font-size: 1.05rem; }
}

/* On the 2-column phone grid, the 9th automation card should not sit alone. */
@media (max-width: 699px) {
  .cat-grid-auto .card:last-child { grid-column: 1 / -1; }
}

/* Very narrow phones: stack category cards to one column */
@media (max-width: 359px) {
  .cat-grid-auto { grid-template-columns: 1fr; }
}

/* If a long unbreakable string appears, don't let it widen the page */
.wrap, .hero-inner, .card, .card-body, .steps li, .brand-list, .fact-bar-inner,
.cta-band-inner, .contact-form, .service-box {
  min-width: 0;
  max-width: 100%;
}
.brand-list li,
.fact-bar-inner p,
.hero h1,
.section h2 {
  overflow-wrap: break-word;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
