:root {
  --red: #b8191d;
  --red-dark: #961418;
  --white: #ffffff;
  --slate: #486a81;
  --ink: #1a171b;
  --muted: #5b6168;
  --line: #cbd5dd;
  --fog: #f3f5f7;
  --panel: #f2f2f2;
  --footer: #1a171b;
  --max: 1200px;
  --header: 100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Roboto, system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }
.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 12px;
  top: 12px;
  background: var(--white);
  padding: 8px 12px;
  z-index: 10000;
}

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

/* Header — Blocksy type-1 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 0 20px rgba(44, 62, 80, 0.15);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: stretch;
  gap: 28px;
  min-height: var(--header);
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
}
.logo, .header-tools { align-self: center; }
.logo img { width: auto; height: 60px; max-width: 168px; }
.nav {
  display: flex;
  align-items: stretch;
  justify-content: center;
  height: 100%;
  gap: 0;
}
.nav > a,
.nav-item > .nav-parent {
  color: var(--ink);
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: normal;
  text-transform: uppercase;
  padding: 0 22.5px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
}
.nav > a:hover,
.nav > a[aria-current="page"],
.nav-item > .nav-parent:hover,
.nav-item > .nav-parent[aria-current="page"] {
  color: var(--red);
}
.nav > a[aria-current="page"],
.nav-item > .nav-parent[aria-current="page"] {
  border-bottom-color: var(--red);
}
.nav-item {
  position: relative;
  display: flex;
  align-items: stretch;
}
.nav-item > .nav-parent { gap: 6px; }
.caret {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  fill: currentColor;
}
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 15px);
  left: 0;
  min-width: 320px;
  background: #1a171b;
  border: 0;
  border-radius: 2px;
  box-shadow: 0 10px 20px rgba(41, 51, 61, 0.1);
  padding: 0;
  z-index: 20;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: 12px 18px;
  color: #fff;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.4;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}
.dropdown a:last-child { border-bottom: 0; }
.dropdown a:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.header-tools {
  display: flex;
  align-items: center;
  gap: 16px;
}
.icon-btn {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  border-radius: 50%;
}
.icon-btn:hover { background: var(--fog); color: var(--red); }
.icon-btn.icon-accent {
  width: auto;
  height: auto;
  padding: 10px;
  color: var(--red);
  border-radius: 0;
}
.icon-btn.icon-accent:hover { color: var(--ink); background: transparent; }
.icon-btn svg { width: 16px; height: 16px; fill: currentColor; }
.icon-btn.icon-accent svg { width: 15px; height: 15px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border-radius: 2px;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
}
.btn-red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-red:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-outline-red {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn-outline-red:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn-black {
  background: #000;
  color: var(--white);
  border-color: #000;
  font-weight: 700;
}
.btn-black:hover { background: #1a171b; border-color: #1a171b; color: var(--white); }
.btn-pill {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  border-radius: 999px;
  min-width: 140px;
  min-height: 44px;
}
.btn-pill:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); }
.btn-white {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}
.menu-toggle { display: none; }

/* Offcanvas */
.offcanvas {
  position: fixed;
  inset: 0;
  background: rgba(26, 23, 27, 0.45);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s ease;
}
.offcanvas.open { opacity: 1; visibility: visible; }
.offcanvas-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(500px, 90vw);
  height: 100%;
  background: rgba(18, 21, 25, 0.98);
  color: #fff;
  padding: 8px 22px 36px;
  overflow: auto;
  display: flex;
  flex-direction: column;
}
.offcanvas nav { display: flex; flex-direction: column; gap: 0; }
.offcanvas nav > a,
.offcanvas .acc-toggle {
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  padding: 14px 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  background: none;
  border: 0;
  width: 100%;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
}
.offcanvas nav > a:hover,
.offcanvas .acc-toggle:hover { color: #fff; }
.offcanvas nav > a[aria-current="page"],
.offcanvas .acc.is-open .acc-toggle,
.offcanvas .acc.is-current .acc-toggle { color: var(--red); }
.offcanvas .acc-toggle { justify-content: space-between; }
.offcanvas .acc-toggle .caret {
  width: 12px;
  height: 12px;
  fill: currentColor;
  transition: transform 0.2s ease;
}
.offcanvas .acc-toggle[aria-expanded="true"] .caret { transform: rotate(180deg); }
.offcanvas .sub {
  display: none;
  flex-direction: column;
  padding: 0 0 10px 4px;
  margin: 0 0 4px;
  gap: 0;
}
.offcanvas .acc.is-open .sub { display: flex; }
.offcanvas .sub a {
  position: relative;
  font-weight: 400;
  font-size: 15px;
  color: #fff;
  padding: 10px 0 10px 18px;
  min-height: 44px;
  display: flex;
  align-items: center;
  line-height: 1.35;
}
.offcanvas .sub a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  transform: translateY(-50%);
}
.offcanvas .sub a:hover { color: #fff; }
.offcanvas .meta {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 14px;
}
.offcanvas .meta strong { color: #fff; display: block; font-weight: 700; }
.offcanvas .meta a { color: #fff; }
.offcanvas-socials {
  display: flex;
  gap: 16px;
  margin-top: 18px;
}
.offcanvas-socials a {
  color: #fff;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
}
.offcanvas-socials svg { width: 20px; height: 20px; fill: currentColor; }
.menu-close {
  align-self: flex-end;
  width: 48px;
  height: 48px;
  color: #fff;
}
.menu-close:hover { background: rgba(255,255,255,0.08); color: #fff; }
.menu-close svg { width: 12px; height: 12px; }

/* Search modal */
.search-modal {
  position: fixed;
  inset: 0;
  background: rgba(27, 24, 28, 0.9);
  z-index: 2100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 40px;
}
.search-modal.open { display: flex; flex-direction: column; }
.search-close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}
.search-close svg { width: 12px; height: 12px; fill: currentColor; }
.search-box {
  width: min(800px, 100%);
  background: transparent;
  padding: 0;
  position: relative;
}
.search-form {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid #fff;
}
.search-form input {
  flex: 1;
  min-height: 90px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: clamp(22px, 4vw, 35px);
  font-weight: 400;
  padding: 0;
  outline: none;
}
.search-form input::placeholder { color: rgba(255, 255, 255, 0.85); }
.search-form button[type="submit"] {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex: 0 0 48px;
}
.search-form button[type="submit"] svg { width: 15px; height: 15px; fill: currentColor; }
.search-results { margin-top: 18px; width: min(800px, 100%); }
.search-results a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
}
.search-results a:hover { color: #fff; }
.search-results a strong { color: #fff; }

/* Hero */
.hero {
  position: relative;
  min-height: 500px;
  background: #1a171b center/cover no-repeat;
  color: var(--white);
  display: flex;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #1a171b;
  opacity: 0.6;
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 120px 0;
  max-width: 450px;
  margin-left: max(20px, calc((100% - var(--max)) / 2));
}
.hero h1,
.hero .hero-title {
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.3;
  font-weight: 700;
  margin: 0 0 18px;
  text-decoration: none;
  border: 0;
  box-shadow: none;
}
.hero h1 *,
.hero .hero-title * {
  text-decoration: none;
  border-bottom: 0;
  box-shadow: none;
}
.hero p { color: #fff; margin: 0 0 28px; font-weight: 400; }
.accent { color: var(--red); }

.page-hero {
  min-height: 340px;
  background: #1a171b center/cover no-repeat;
  color: var(--white);
  display: flex;
  align-items: center;
  position: relative;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #1a171b;
  opacity: 0.55;
}
.page-hero .wrap { position: relative; z-index: 1; padding: 80px 0; }
.page-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: 0.02em;
}
.page-hero .kicker {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
}
.page-hero-center { min-height: 350px; text-align: center; }
.page-hero-center .wrap {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding: 90px 0;
  max-width: none;
}
.page-hero-center h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 72px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.page-hero-type2 {
  min-height: 300px;
  justify-content: center;
}
.page-hero-type2::before { background: #1b171c; opacity: 0.45; }
.page-hero-type2 .wrap {
  padding: 0;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  width: 100%;
}
.page-hero-type2 h1 {
  margin: 0;
  text-transform: uppercase;
  font-size: clamp(36px, 5vw, 52px);
  letter-spacing: 0.02em;
  font-weight: 700;
}
.archive-title {
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 32px;
}
.form-page { width: min(720px, 100%); margin: 0 auto; }
.form-page-title {
  text-align: center;
  color: var(--red);
  font-size: 35px;
  line-height: 1.5;
  margin: 0 0 16px;
}
.form-page > p { text-align: center; color: var(--slate); }

/* Service pages — live Stackable collage hero */
.service-hero {
  padding: 100px 0 40px;
  background: var(--white);
}
.service-hero-inner {
  width: min(1290px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.22fr 1fr;
  gap: 20px;
  align-items: center;
}
.collage {
  position: relative;
  height: 620px;
}
.collage-item {
  position: absolute;
  margin: 0;
  border-radius: 5px;
  overflow: hidden;
  filter: drop-shadow(-17px 19px 14px rgba(72, 106, 129, 0.3));
  transition: transform 0.25s ease;
}
.collage-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}
.collage-1 { width: 460px; height: 307px; top: 0; left: 0; z-index: 1; }
.collage-2 { width: 450px; height: 300px; top: 101px; left: 190px; z-index: 2; }
.collage-3 { width: 470px; height: 313px; top: 296px; left: 61px; z-index: 3; }
.collage-item:hover { transform: translateY(-15px); }
.service-hero-copy h1 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--red);
  margin: 0 0 8px;
}
.service-kicker {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.65;
  color: #39414d;
  margin: 0 0 16px;
}
.service-lead {
  color: var(--slate);
  max-width: 70%;
  margin: 0 0 22px;
  font-weight: 400;
}
.btn-enquire {
  border-radius: 0;
  min-height: 0;
  padding: 12px 16px;
  font-weight: 700;
}
.service-body { padding: 24px 0 72px; }
.service-body h2 { font-size: 35px; line-height: 1.5; }
.service-body h4 {
  font-size: 22px;
  font-weight: 700;
  margin: 28px 0 12px;
}

.cta-band-dark {
  background: #1a171b;
  background-image: none;
  padding: 50px 24px;
}
.cta-band-dark::before { content: none; }
.cta-ready {
  color: var(--red);
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 10px;
}
.cta-band-dark h2 {
  font-size: 28px;
  color: var(--white);
  margin: 0 0 22px;
}

/* Cybersecurity page — live hero + banded sections */
.cyber-hero {
  min-height: 500px;
  display: flex;
  align-items: center;
  background: #f1f1f1 url("/images/services/cyber-network.png") top right / contain no-repeat;
  padding: 56px 0;
}
.cyber-hero h1 {
  margin: 0 0 8px;
  font-size: 50px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
}
.cyber-hero .service-kicker { font-size: 35px; color: var(--ink); }
.cyber-hero .service-lead { max-width: 640px; color: var(--ink); }
.cyber-dark {
  background: #000;
  color: var(--white);
  padding: 72px 0;
}
.cyber-dark h2,
.cyber-dark p,
.cyber-dark li { color: var(--white); }
.cyber-light { background: var(--white); padding: 72px 0; }
.cyber-split {
  display: grid;
  grid-template-columns: 7fr 3fr;
  gap: 40px;
  align-items: center;
}
.cyber-photo {
  width: min(300px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  justify-self: center;
}
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 18px;
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.industry-grid li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  color: var(--slate);
  font-size: 15px;
  line-height: 1.4;
}
.ind-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: var(--red);
  margin-top: 2px;
}
.why-list strong { color: var(--slate); }
.cyber-cta {
  background: var(--red);
  color: var(--white);
  padding: 48px 0;
}
.cyber-cta h2 { color: var(--white); margin: 0 0 10px; }
.cyber-cta p { margin: 0; color: var(--white); }
.cyber-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.btn-white-red {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
  border-radius: 0;
  font-weight: 700;
  text-transform: uppercase;
  min-height: 50px;
  padding: 12px 22px;
}
.btn-white-red:hover { background: #f3f3f3; color: var(--red-dark); }

/* Sections */
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-fog { background: var(--panel); }
.section-trusted { padding: 50px 0 40px; }
.center { text-align: center; }
h2 {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  margin: 0 0 28px;
  color: var(--ink);
}
h3 { font-size: 22px; font-weight: 700; margin: 0 0 12px; }

.logo-carousel {
  --visible: 5;
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  grid-template-areas:
    "prev viewport next"
    "dots dots dots";
  align-items: center;
  gap: 8px 0;
}
.logo-viewport {
  grid-area: viewport;
  overflow: hidden;
}
.logo-track {
  display: flex;
  align-items: center;
  transition: transform 0.45s ease;
}
.logo-slide {
  flex: 0 0 calc(100% / var(--visible));
  display: grid;
  place-items: center;
  padding: 8px 16px;
}
.logo-slide img {
  height: 108px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.logo-arrow {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #4a4a4a;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}
.logo-arrow[data-prev] { grid-area: prev; }
.logo-arrow[data-next] { grid-area: next; }
.logo-arrow svg { width: 16px; height: 16px; }
.logo-arrow:hover { color: var(--red); }
.logo-dots {
  grid-area: dots;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
}
.logo-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: #c5c5c5;
  padding: 0;
  cursor: pointer;
}
.logo-dots button.active {
  width: 22px;
  height: 6px;
  border-radius: 4px;
  background: #8a8a8a;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.cap-card {
  background: var(--white);
  box-shadow: 0 10px 28px rgba(26, 23, 27, 0.08);
  display: flex;
  flex-direction: column;
}
.cap-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.cap-body {
  padding: 20px 20px 24px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}
.cap-body h3 {
  font-size: 20px;
  margin: 0 0 14px;
  color: var(--ink);
}
.cap-body p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 22px;
  flex: 1;
}
.cap-body .btn { align-self: center; min-height: 0; padding: 10px 22px; }
.photo-card {
  position: relative;
  min-height: 420px;
  color: var(--white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}
.photo-card img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,23,27,0.15), rgba(26,23,27,0.78));
}
.photo-card > * { position: relative; z-index: 1; }
.photo-card h3 { color: var(--white); font-size: 24px; }
.photo-card p { margin: 0 0 18px; }
.photo-card .btn { align-self: flex-start; }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.news-card {
  background: var(--white);
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(26, 23, 27, 0.08);
}
[hidden] { display: none !important; }
.news-media {
  position: relative;
  display: block;
  height: 300px;
  overflow: hidden;
}
.news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
}
.news-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 23, 27, 0.15), rgba(72, 106, 129, 0.72)),
    rgba(72, 106, 129, 0.35);
}
.news-media h3 {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: 0;
  padding: 24px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
}
.news-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-body p {
  color: var(--ink);
  font-size: 16px;
  margin: 0 0 16px;
  flex: 1;
}
.news-more {
  color: var(--red);
  font-weight: 700;
}
.news-more:hover { color: var(--red-dark); }
.news-card .meta { color: var(--slate); font-size: 13px; margin-bottom: 8px; }
.news-grid.entries {
  gap: 30px;
}
.news-card-archive {
  padding: 30px;
  background: var(--white);
  box-shadow: 0 12px 18px -6px rgba(33, 55, 99, 0.11);
}
.news-card-archive .news-thumb {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin: -30px -30px 30px;
}
.news-card-archive .news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-card-archive .news-body { padding: 0; }
.news-card-archive .news-body p { margin: 0 0 20px; }
.news-card-archive .news-body h3 {
  font-size: 20px;
  line-height: 1.3;
  margin: 0 0 20px;
}
.news-load-more {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}
.news-load-more-btn {
  min-height: 40px;
  padding: 5px 20px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  border-radius: 0;
}
.news-card-archive .news-body h3 a { color: var(--ink); }
.news-card-archive .news-body h3 a:hover { color: var(--red); }
.news-card-archive .news-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.news-card-archive .news-more svg { width: 17px; height: 17px; fill: currentColor; }

.about-legacy {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  align-items: start;
  margin: 28px 0;
}
.about-badge { width: 120px; height: 120px; object-fit: contain; }
.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}
.about-card {
  padding: 24px;
  box-shadow: 0 5px 5px rgba(18, 63, 82, 0.035);
  border: 1px solid var(--fog);
}
.section-contact,
.section-form {
  background: #f5f5f5;
}
.section-contact { padding: 50px 0 80px; }
.contact-intro {
  text-align: center;
  color: var(--slate);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 auto 24px;
  max-width: 760px;
}
.info-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin: 0 0 40px;
  align-items: stretch;
}
.info-card {
  background: var(--white);
  border: 1px solid #f0f0f0;
  border-radius: 5px;
  box-shadow: 0 5px 5px rgba(18, 63, 82, 0.035);
  padding: 40px;
}
.info-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  min-height: 24px;
}
.info-card-head svg {
  width: 22px;
  height: 22px;
  fill: #7a7f86;
  flex: 0 0 22px;
}
.info-card h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  color: #1a1a1a;
}
.info-card p {
  margin: 0;
  padding-left: 34px;
  color: var(--slate);
  font-size: 15px;
  line-height: 1.6;
}
.info-card a { color: inherit; text-decoration: none; }
.info-card .phone-num {
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.split.reverse { grid-template-columns: 0.9fr 1.1fr; }
.split img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.prose h2 { margin-top: 36px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 8px 0; }
.prose .lede { font-size: 18px; }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.cta-band {
  background: #1a171b center/cover no-repeat;
  color: var(--white);
  text-align: center;
  padding: 80px 20px;
  position: relative;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(26,23,27,0.62);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); margin-bottom: 10px; }
.cta-band p { margin: 0 0 22px; }
.cta-band-solid {
  background: var(--red);
  background-image: none;
}
.cta-band-solid::before { content: none; }
.cta-band-solid h2 {
  color: var(--white);
  font-size: 28px;
  line-height: 1.4;
  margin: 0 0 22px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature {
  text-align: center;
  padding: 12px;
}
.feature img { width: 72px; height: 72px; margin: 0 auto 16px; object-fit: contain; }

.pricing {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: start;
}
.price-card {
  background: var(--fog);
  padding: 28px;
  text-align: center;
}
.price-card .amount { font-size: 42px; color: var(--red); font-weight: 700; margin: 8px 0; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td {
  border-bottom: 1px solid var(--line);
  padding: 12px 10px;
  text-align: left;
}
.price-table th { color: var(--muted); font-weight: 500; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-photo img { width: 100%; min-height: 360px; object-fit: cover; }
.info-block h3 { margin-bottom: 6px; }
.info-block p { margin: 0 0 18px; }

.form-card {
  width: min(720px, 100%);
  margin: 0 auto;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(26, 23, 27, 0.08);
  padding: 40px 36px 36px;
}
.form-page .form-card { width: 100%; }
form.rrm-form {
  display: grid;
  gap: 20px;
}
.rrm-form .field { display: grid; gap: 8px; }
.rrm-form .field > label,
.rrm-form .field-label {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  display: block;
  line-height: 1.3;
}
.rrm-form .req { color: #e31c23; font-weight: 700; }
.rrm-form .name-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.rrm-form .name-col { min-width: 0; }
.rrm-form .field-hint {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.3;
  color: #8a8a8a;
  font-weight: 400;
}
.rrm-form .input-wrap { position: relative; }
.rrm-form .field-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #b0b0b0;
  pointer-events: none;
}
.rrm-form input,
.rrm-form textarea,
.rrm-form select {
  width: 100%;
  border: 1px solid #d8d8d8;
  border-radius: 4px;
  padding: 11px 12px;
  font: inherit;
  background: var(--white);
  color: var(--ink);
}
.rrm-form .has-icon input { padding-left: 40px; }
.rrm-form input:focus,
.rrm-form textarea:focus,
.rrm-form select:focus {
  outline: none;
  border-color: #c5c5c5;
}
.rrm-form textarea { min-height: 160px; resize: vertical; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.rrm-form .form-note {
  margin: -8px 0 0 28px;
  font-size: 13px;
  line-height: 1.45;
  color: #9aa3ab;
}
.rrm-form .check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  cursor: pointer;
}
.rrm-form .check input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex: 0 0 18px;
  border: 2px solid #20b2aa;
  border-radius: 3px;
  background: var(--white);
  cursor: pointer;
}
.rrm-form .check input[type="checkbox"]:checked {
  background: #20b2aa;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.2 6.6 11.2 12.5 4.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.rrm-form .field-date { max-width: calc(50% - 8px); }
.turnstile-field {
  display: flex;
  justify-content: center;
  min-height: 65px;
}
.turnstile-field[hidden] { display: none !important; }
.form-error {
  margin: 0;
  color: #b10e14;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  line-height: 1.4;
}
.form-error[hidden] { display: none !important; }
.rrm-form .form-actions {
  display: flex;
  justify-content: center;
  margin-top: 4px;
}
.rrm-form .btn-pill {
  min-width: 160px;
  min-height: 46px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  background: var(--red-dark);
  border-color: var(--red-dark);
}
.subscribe-section { padding: 80px 0; }
.subscribe-lead {
  color: var(--slate);
  margin: -8px 0 28px;
}
.subscribe-card {
  width: min(640px, 100%);
  margin: 0 auto;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(26, 23, 27, 0.1);
  padding: 28px 24px 32px;
  display: grid;
  justify-items: center;
  gap: 18px;
}
.subscribe-field {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #d7d7d7;
  background: var(--white);
  border-radius: 8px;
  padding: 0 14px;
  min-height: 48px;
}
.subscribe-field svg {
  width: 18px;
  height: 18px;
  fill: #8a8a8a;
  flex: 0 0 auto;
}
.subscribe-field input {
  flex: 1;
  border: 0;
  outline: 0;
  font: inherit;
  background: transparent;
  min-width: 0;
  padding: 12px 0;
}

.article {
  width: min(800px, calc(100% - 40px));
  margin: 48px auto 80px;
}
.article-hero img { width: 100%; max-height: 420px; object-fit: cover; }
.article .date { color: var(--muted); font-size: 14px; }
.article h1 { font-size: clamp(28px, 3vw, 40px); line-height: 1.25; }
.article-body a { text-decoration: underline; }
.article-body figure { margin: 28px 0; }
.article-body img { margin: 0 auto; }

.legal { width: min(860px, calc(100% - 40px)); margin: 48px auto 80px; }
.legal h1 { margin-bottom: 8px; }
.legal ol { padding-left: 22px; }

.site-footer {
  background: var(--footer);
  color: #cbd5dd;
  padding: 48px 0 0;
}
.site-footer h3 {
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 24px 32px;
}
.site-footer a { color: #cbd5dd; }
.site-footer a:hover { color: var(--red); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 8px 0; }
.footer-phone {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.phone-icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(218, 222, 228, 0.55);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.phone-icon svg { width: 15px; height: 15px; fill: #cbd5dd; }
.phone-label { display: block; font-size: 13px; }
.socials { display: flex; gap: 10px; margin-bottom: 16px; }
.socials a {
  width: 36px;
  height: 36px;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.35);
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.socials a:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.socials svg { width: 14px; height: 14px; fill: currentColor; }
.copyright {
  background: var(--white);
  margin-top: 48px;
  padding: 16px 0;
  text-align: center;
  font-size: 15px;
  color: var(--slate);
}
.back-to-top {
  position: fixed;
  right: 35px;
  bottom: 36px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  display: grid;
  place-items: center;
  z-index: 900;
  box-shadow: 0 8px 20px rgba(26, 23, 27, 0.25);
}
.back-to-top:hover { background: var(--red); color: var(--white); }
.back-to-top svg { width: 22px; height: 22px; fill: currentColor; }
.nowrap {
  white-space: nowrap;
  text-decoration: none;
  border-bottom: 0;
  box-shadow: none;
}

@media (max-width: 1023px) {
  .nav, .header-tools .desktop-only { display: none; }
  .menu-toggle { display: grid; width: 44px; height: 44px; color: #000; }
  .menu-toggle svg { width: 18px; height: 18px; }
  .site-header {
    box-shadow: 0 0 20px rgba(44, 62, 80, 0.15);
  }
  .header-inner {
    grid-template-columns: 1fr auto;
    gap: 12px;
    min-height: 70px;
    width: min(1280px, calc(100% - 32px));
  }
  .header-tools { justify-self: end; }
  .logo img { height: 60px; max-width: 136px; }
  .cards-3, .news-grid, .feature-grid, .contact-grid, .split, .split.reverse, .two-col, .pricing, .footer-grid, .about-cards, .info-cards, .service-hero-inner, .cyber-split, .cyber-cta-inner, .industry-grid {
    grid-template-columns: 1fr;
  }
  .collage {
    height: auto;
    display: grid;
    gap: 12px;
  }
  .collage-item {
    position: relative;
    width: 100%;
    height: 150px;
    top: 0;
    left: 0;
  }
  .service-hero { padding: 36px 0 16px; }
  .service-hero-copy h1 { font-size: 32px; }
  .service-kicker { font-size: 22px; }
  .service-lead { max-width: none; }
  .cyber-hero {
    min-height: 0;
    background-size: 80% auto;
    padding: 40px 0;
  }
  .cyber-hero h1 { font-size: 36px; }
  .rrm-form .field-date { max-width: none; }
  .about-legacy { grid-template-columns: 1fr; justify-items: center; text-align: left; }
  .info-card { padding: 32px 24px; }
  .section-contact { padding: 36px 0 56px; }
  .form-card { padding: 28px 20px 24px; }
  .hero { min-height: 500px; }
  .hero-inner {
    width: min(var(--max), calc(100% - 32px));
    margin-left: 16px;
    padding: 40px 0;
    max-width: 100%;
  }
  .hero h1,
  .hero .hero-title {
    font-size: 25px;
    line-height: 1.5;
    margin: 0 0 16px;
    border: 0;
    box-shadow: none;
    text-decoration: none;
  }
  .hero h1::before,
  .hero h1::after,
  .hero .hero-title::before,
  .hero .hero-title::after { content: none; }
  .hero p { margin: 0 0 16px; font-size: 16px; line-height: 1.65; }
  .hero .btn-red {
    min-height: 50px;
    padding: 12px 16px;
    font-size: 16px;
  }
  .section { padding: 40px 0; }
  .section-trusted { padding: 32px 0 28px; }
  .section-trusted h2 { margin-bottom: 18px; font-size: 35px; line-height: 1.5; }
  .subscribe-section { padding: 40px 0; }
  .logo-carousel { --visible: 3; }
  .logo-slide { padding: 8px 12px; }
  .logo-slide img { height: 160px; }
  .logo-arrow { width: 40px; height: 40px; }
  .logo-arrow svg { width: 20px; height: 20px; }
  .news-media { height: 220px; }
  .cap-body { min-height: 0; }
}

@media (max-width: 767px) {
  .logo-carousel { --visible: 1; }
  .logo-slide {
    padding: 0 4px;
    min-height: 0;
  }
  .logo-slide img {
    width: 300px;
    height: 300px;
    max-width: 100%;
    object-fit: contain;
  }
  .rrm-form .name-pair { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .news-media h3 { font-size: 18px; padding: 16px; }
  .hero-inner { padding: 48px 0; }
  .hero .hero-title {
    font-size: 25px;
    line-height: 1.5;
    letter-spacing: 0;
  }
  .offcanvas-panel { width: 90vw; }
  .section-trusted { padding: 28px 0 22px; }
  .subscribe-card { padding: 22px 16px 24px; }
  .copyright { margin-top: 28px; font-size: 13px; padding: 14px 12px; }
  .back-to-top { right: 16px; bottom: 16px; }
}

/* Visible by default so cards never stay blank if JS/IO is late.
   js-reveal + reduced-motion:no-preference enables a short fade. */
[data-reveal] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  html.js-reveal [data-reveal] {
    transition-property: opacity, transform;
    transition-duration: 0.45s;
    transition-timing-function: cubic-bezier(0.2, 1, 0.2, 1);
  }
  html.js-reveal [data-reveal*="no"] { opacity: 0.01; }
  html.js-reveal [data-reveal*="yes"] { opacity: 1; transform: none; }
  html.js-reveal [data-reveal="bottom:no"] { transform: translateY(36px); }
}
.news-card[data-reveal],
.news-card-archive[data-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
}
