/* ------------------------------------------------------------------
   Reliant Digital — site styles
   Brand: navy #002467, cyan #00BDFC (from logo)
   ------------------------------------------------------------------ */

:root {
  --navy-950: #040f2c;
  --navy-900: #061a45;
  --navy: #002467;
  --navy-700: #0b3a8f;
  --cyan: #00bdfc;
  --cyan-600: #0797cc;
  --cyan-100: #dff5ff;

  --ink: #0f1b33;
  --body: #3d4a63;
  --muted: #6b7890;
  --line: #d9e2ef;
  --tint: #f1f6fc;
  --bg: #ffffff;
  --white: #ffffff;

  --font-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(15, 27, 51, 0.06), 0 4px 14px rgba(15, 27, 51, 0.05);
  --shadow-md: 0 8px 30px rgba(0, 36, 103, 0.10);
  --shadow-lg: 0 30px 80px rgba(0, 20, 60, 0.35);
  --wrap: 1180px;
}

* { box-sizing: border-box; }

.logo-defs { position: absolute; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  color: var(--body);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dd { margin: 0; }

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 700; line-height: 1.08; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.eyebrow {
  margin-bottom: 14px;
  color: var(--cyan-600);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.btn-primary {
  color: var(--navy);
  background: var(--cyan);
  box-shadow: 0 10px 28px rgba(0, 189, 252, 0.28);
}
.btn-primary:hover { background: #22c8ff; box-shadow: 0 14px 34px rgba(0, 189, 252, 0.36); }

.btn-navy {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 8px 22px rgba(0, 36, 103, 0.22);
}
.btn-navy:hover { background: var(--navy-700); }

.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.7); background: rgba(255, 255, 255, 0.08); }

.btn-sm { min-height: 42px; padding: 9px 18px; font-size: 0.92rem; }
.btn-block { width: 100%; }

/* ---------- Header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(15, 27, 51, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--navy);
}

.logo {
  display: block;
  width: 214px;
  height: auto;
  aspect-ratio: 396 / 86;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
}
.nav-menu > a:not(.btn) {
  position: relative;
  padding: 6px 0;
}
.nav-menu > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav-menu > a:not(.btn):hover::after { transform: scaleX(1); }
.nav-menu .btn { margin-left: 8px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  color: var(--white);
  background:
    radial-gradient(900px 520px at 78% 40%, rgba(0, 189, 252, 0.22), transparent 62%),
    linear-gradient(180deg, rgba(4, 15, 44, 0.86), rgba(4, 15, 44, 0.94)),
    url("assets/img/hero-bg.webp") center / cover no-repeat,
    var(--navy-950);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 50%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 50%, #000 20%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
  padding: 88px 0 72px;
}

.hero h1 { color: var(--white); max-width: 14ch; }
.hero .accent { color: var(--cyan); }
.hero .eyebrow { color: var(--cyan); }

.lede {
  max-width: 54ch;
  margin-top: 22px;
  color: #c3d1e8;
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 34px;
  color: #a9bad6;
  font-size: 0.92rem;
}
.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-points li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 189, 252, 0.2);
}

.hero-visual {
  position: relative;
}

.device {
  position: relative;
  border-radius: 14px;
  padding: 8px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0, 189, 252, 0.08) inset;
  transform: perspective(1400px) rotateY(-7deg) rotateX(2deg);
  transform-origin: 80% 50%;
}
.device.bare {
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  transform: perspective(1600px) rotateY(-5deg) rotateX(1deg);
}

.device img {
  width: 100%;
  border-radius: 9px;
}

.industries {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 32px;
  padding: 22px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #a9bad6;
  font-size: 0.9rem;
}
.industries-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7f93b5;
}
.industries ul { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.industries li { display: flex; align-items: center; gap: 8px; }
.industries .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }

/* ---------- Sections ---------- */

.section { padding: 96px 0; }
.section-tint { background: var(--tint); }
.section-dark {
  background:
    radial-gradient(700px 400px at 12% 20%, rgba(0, 189, 252, 0.16), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-950));
  color: #c3d1e8;
}
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .eyebrow { color: var(--cyan); }

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}
.section-head.split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 40px;
  align-items: end;
  max-width: none;
}
.section-head.split h2 { max-width: 20ch; }
.section-sub {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.06rem;
}
.section-head.split .section-sub { margin-top: 0; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* Services */

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}
.service {
  position: relative;
  padding: 28px 26px 30px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.service::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--navy));
  opacity: 0;
  transition: opacity 0.2s ease;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #c5d5ea; }
.service:hover::before { opacity: 1; }
.service .icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  border-radius: 12px;
  color: var(--navy);
  background: var(--cyan-100);
}
.service .icon svg { width: 24px; height: 24px; }
.service h3 { margin-bottom: 10px; min-height: 2.3em; }
.service p { font-size: 0.97rem; }

/* Process */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.steps li {
  position: relative;
  padding: 26px 22px 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
}
.steps li::after {
  content: "";
  position: absolute;
  top: 40px;
  right: -20px;
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--line), var(--cyan));
}
.steps li:last-child::after { display: none; }
.step-num {
  display: inline-block;
  margin-bottom: 16px;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cyan-600);
}
.steps h3 { margin-bottom: 8px; }
.steps p { font-size: 0.96rem; }

/* Portfolio */

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.work {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--body);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.work:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.work.featured {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  grid-column: 1 / -1;
}
.work-media {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--navy-950);
}
.work-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.work.featured .work-media img { aspect-ratio: 3 / 2; min-height: 100%; object-position: center 40%; }
.work:hover .work-media img { transform: scale(1.03); }
.work-body { padding: 24px 26px 28px; }
.work.featured .work-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 40px;
}
.work .tag { display: block; }
.work-title {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}
.work.featured .work-title { font-size: 1.7rem; }
.work-desc { display: block; font-size: 0.97rem; }
.work-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}
.work-link::after { content: "→"; transition: transform 0.2s ease; }
.work:hover .work-link::after { transform: translateX(4px); }
.tag {
  margin-bottom: 10px;
  color: var(--cyan-600);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Licensing */

.licensing-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}
.licensing-copy p { margin: 16px 0 28px; font-size: 1.06rem; }
.license-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.license-list article {
  padding: 24px 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.license-list article:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(0, 189, 252, 0.4); }
.license-list h3 { margin-bottom: 8px; font-size: 1.08rem; }
.license-list p { font-size: 0.95rem; color: #b3c2dc; }

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.contact-copy h2 { max-width: 18ch; }
.contact-details {
  display: grid;
  gap: 18px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.contact-details dt {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-details dd { margin-top: 2px; font-weight: 500; color: var(--ink); }
.contact-details a:hover { color: var(--cyan-600); }

.contact-form {
  display: grid;
  gap: 18px;
  padding: 32px;
}
.field { display: grid; gap: 7px; }
.field label { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcfe;
  font: inherit;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(0, 189, 252, 0.18);
}
.field input.invalid,
.field textarea.invalid { border-color: #e0524f; }
.form-note { min-height: 1.4em; font-size: 0.9rem; color: var(--muted); }
.form-note.ok { color: #1f8a5b; }
.form-note.err { color: #c8403d; }

/* ---------- Case study pages ---------- */

.cs-hero .wrap { padding: 56px 0 64px; position: relative; }
.cs-hero h1 { max-width: 18ch; }
.cs-hero .lede { max-width: 62ch; }
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
  font-size: 0.86rem;
  color: #7f93b5;
}
.crumbs a:hover { color: var(--white); }
.crumbs [aria-current] { color: #c3d1e8; }

.cs-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  align-items: start;
}
.cs-figure {
  margin: 0 0 44px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  background: var(--navy-950);
}
.cs-figure img { width: 100%; }
.cs-main h2 { font-size: 1.6rem; margin: 40px 0 14px; }
.cs-main h2:first-of-type { margin-top: 0; }
.cs-main h3 { margin: 26px 0 12px; font-size: 1.05rem; }
.cs-main p { margin-bottom: 16px; font-size: 1.04rem; }
.caps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
  margin-bottom: 8px;
}
.caps li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--tint);
  font-size: 0.95rem;
}
.caps li::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--cyan);
}

.cs-aside { position: sticky; top: 98px; display: grid; gap: 18px; }
.facts, .aside-cta { padding: 24px; }
.facts h3, .aside-cta h3 { margin-bottom: 14px; font-size: 1.02rem; }
.facts dl { display: grid; gap: 14px; }
.facts dt {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.facts dd { margin-top: 2px; font-weight: 500; color: var(--ink); font-size: 0.95rem; }
.aside-cta p { margin-bottom: 16px; font-size: 0.95rem; }

.more-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.more {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.more:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.more img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--navy-950); }
.more-body { padding: 14px 16px 16px; }
.more .tag { display: block; margin-bottom: 4px; font-size: 0.68rem; }
.more strong { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 1rem; }

/* ---------- Footer ---------- */

.footer {
  background: var(--navy-950);
  color: #a9bad6;
  font-size: 0.94rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 0.8fr);
  gap: 40px;
  padding: 56px 0 40px;
}
.footer .brand { color: var(--white); }
.footer .logo { width: 190px; }
.footer-brand p { max-width: 38ch; margin-top: 18px; }
.footer-links, .footer-contact { display: grid; gap: 10px; align-content: start; }
.footer a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: #7f93b5;
}

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service h3 { min-height: 0; }
}

@media (max-width: 1040px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li::after { display: none; }
  .hero-grid { gap: 40px; }
}

@media (max-width: 820px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 880px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 20px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(15, 27, 51, 0.12);
  }
  .nav-menu.open { display: flex; }
  .nav-menu > a:not(.btn) { padding: 12px 4px; border-bottom: 1px solid var(--tint); }
  .nav-menu > a:not(.btn)::after { display: none; }
  .nav-menu .btn { margin: 12px 0 0; }

  .hero-grid { grid-template-columns: 1fr; padding: 64px 0 48px; }
  .hero h1 { max-width: none; }
  .hero-visual { max-width: 560px; margin: 8px auto 0; }
  .device { transform: none; }

  .section { padding: 72px 0; }
  .section-head.split { grid-template-columns: 1fr; gap: 12px; }
  .section-head.split .section-sub { margin-top: 8px; }
  .work-grid { grid-template-columns: 1fr; }
  .work.featured { grid-template-columns: 1fr; }
  .work.featured .work-media img { aspect-ratio: 16 / 9; }
  .work.featured .work-body { padding: 26px 26px 30px; }
  .licensing-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .cs-grid { grid-template-columns: 1fr; gap: 32px; }
  .cs-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .wrap { width: min(100% - 32px, var(--wrap)); }
  .logo { width: 176px; }
  .service-grid, .steps, .license-list { grid-template-columns: 1fr; }
  .caps, .cs-aside, .more-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .hero-points { gap: 8px 18px; }
  .industries { gap: 10px 20px; }
  .contact-form { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
}
