:root {
  --black: #050505;
  --ink: #171a20;
  --panel: #ffffff;
  --panel-soft: #f4f5f7;
  --red: #d70912;
  --red-dark: #97040a;
  --silver: #d8dde4;
  --steel: #737b86;
  --white: #ffffff;
  --muted: #5e6672;
  --green: #16a875;
  --line: rgba(23, 26, 32, 0.12);
  --line-dark: rgba(216, 221, 228, 0.18);
  --shadow: 0 18px 42px rgba(17, 21, 28, 0.12);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--panel-soft);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}
body.nav-open, body.popup-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

/* Custom RKS cursor */
@media (pointer: fine) {
  html.has-rks-cursor,
  html.has-rks-cursor body,
  html.has-rks-cursor a,
  html.has-rks-cursor button,
  html.has-rks-cursor .button,
  html.has-rks-cursor .feature-card,
  html.has-rks-cursor .service-card,
  html.has-rks-cursor .product-card,
  html.has-rks-cursor .job-card,
  html.has-rks-cursor .sector-grid article,
  html.has-rks-cursor .contact-methods article,
  html.has-rks-cursor label.consent,
  html.has-rks-cursor input[type="checkbox"] {
    cursor: none !important;
  }

  html.has-rks-cursor input,
  html.has-rks-cursor textarea,
  html.has-rks-cursor select {
    cursor: text !important;
  }

  .rks-cursor {
    position: fixed;
    z-index: 2147483647;
    top: 0;
    left: 0;
    width: 64px;
    height: 64px;
    pointer-events: none;
    background: url("assets/beveiliging-v-cursor.png?v=exact-overlay") center / contain no-repeat;
    opacity: 0;
    transform: translate3d(-120px, -120px, 0);
    transition: opacity 120ms ease;
    will-change: transform;
  }

  .rks-cursor.is-visible { opacity: 1; }
}

@media (max-width: 620px) {

  .thanks-popup {
    padding: 14px;
  }
  .thanks-popup__panel {
    padding: 28px 20px 22px;
  }
  .thanks-popup h2 {
    font-size: 1.7rem;
  }
  .thanks-popup__actions,
  .thanks-popup__actions .button {
    width: 100%;
  }

  .rks-cursor {
    width: 54px;
    height: 54px;
  }
}
/* End custom RKS cursor */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: fixed;
  z-index: 40;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 max(20px, calc((100vw - 1180px) / 2));
  background: rgba(5, 5, 5, 0.96);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(14px);
}
.site-header.is-scrolled {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.26);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}
.brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}
.brand span { white-space: nowrap; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.95rem;
  font-weight: 700;
}
.site-nav a {
  position: relative;
  padding: 8px 0;
}
.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}
.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--white);
}
.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(216, 221, 228, 0.28);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}
.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 2px 0;
  background: var(--white);
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  background: #08090b;
  border-bottom: 1px solid var(--line-dark);
}
.hero {
  display: grid;
  min-height: 720px;
  padding: 136px max(20px, calc((100vw - 1180px) / 2)) 78px;
}
.hero::before,
.page-hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.96), rgba(5, 5, 5, 0.88) 52%, rgba(5, 5, 5, 0.72)),
    url("assets/rks-services-logo.jpeg") right 9% center / min(520px, 38vw) auto no-repeat;
  content: "";
}
.hero::after,
.page-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: linear-gradient(90deg, var(--red), var(--silver), var(--green));
  content: "";
}
.hero-glow,
.hero-mark {
  display: none;
}
.hero-content {
  width: min(720px, 100%);
  align-self: center;
}
.hero-logo {
  width: 118px;
  height: auto;
  margin-bottom: 24px;
}
.page-hero {
  padding: 142px max(20px, calc((100vw - 1180px) / 2)) 78px;
}
.page-hero > * {
  width: min(930px, 100%);
}
.page-hero p:last-child {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.17rem;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  margin-bottom: 20px;
  color: inherit;
  font-size: 5.4rem;
  line-height: 0.96;
  letter-spacing: 0;
  text-transform: uppercase;
}
.page-hero h1 {
  max-width: 900px;
  font-size: 3.6rem;
  line-height: 1.04;
}
h2 {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 2.55rem;
  line-height: 1.08;
  letter-spacing: 0;
}
h3 {
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.28;
}
.section-dark h2,
.section-dark h3,
.cta-band h2,
.cta-band h3,
.site-footer h2,
.site-footer h3 {
  color: var(--white);
}
.hero-lead {
  max-width: 650px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.22rem;
}
.hero-actions,
.hero-proof,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 6px;
  font-weight: 850;
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}
.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}
.button:disabled {
  opacity: 0.62;
  transform: none;
}

.netlify-hidden {
  display: none;
}

.button-primary {
  border: 1px solid var(--red);
  background: var(--red);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(215, 9, 18, 0.22);
}
.button-primary:hover,
.button-primary:focus-visible {
  background: var(--red-dark);
  border-color: var(--red-dark);
}
.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: transparent;
  color: var(--white);
}
.section .button-secondary,
.contact-page .button-secondary {
  border-color: rgba(23, 26, 32, 0.2);
  color: var(--ink);
}
.hero-proof {
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
  font-weight: 750;
}
.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.hero-proof span::before {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
  content: "";
}

.intro-band {
  padding: 28px max(20px, calc((100vw - 1180px) / 2));
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 260px;
  gap: 34px;
  align-items: center;
}
.intro-grid p {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 700;
}
.signal-line {
  position: relative;
  height: 36px;
}
.signal-line::before {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--silver), var(--green));
  content: "";
}
.signal-line::after {
  position: absolute;
  top: 6px;
  right: 72px;
  width: 54px;
  height: 24px;
  border: solid var(--green);
  border-width: 0 0 3px 3px;
  clip-path: polygon(0 70%, 24% 70%, 36% 20%, 50% 92%, 64% 40%, 76% 70%, 100% 70%, 100% 82%, 72% 82%, 64% 58%, 50% 100%, 36% 38%, 28% 82%, 0 82%);
  content: "";
}

.section,
.split-section,
.contact-page {
  padding: 86px max(20px, calc((100vw - 1180px) / 2));
}
.section-heading,
.split-copy,
.certainty,
.contact-page {
  width: 100%;
}
.section-heading {
  max-width: 880px;
  margin-bottom: 38px;
}
.section-heading h2 {
  max-width: 790px;
}
.section-heading p:not(.eyebrow),
.split-copy p,
.contact-copy p,
.certainty-list p,
.service-card p,
.step p,
.site-footer p,
.feature-card p,
.sector-grid p,
.cta-band p,
.product-card p,
.job-card p,
.contact-methods p {
  color: var(--muted);
}
.compact-section {
  padding-bottom: 78px;
  background: var(--panel-soft);
}
.feature-grid,
.service-grid,
.sector-grid,
.forms-grid,
.product-grid,
.job-grid,
.contact-methods {
  display: grid;
  gap: 18px;
  width: 100%;
}
.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-grid-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sector-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-grid,
.job-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.contact-methods { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.contact-methods a {
  color: var(--red);
  font-weight: 850;
}
.feature-card,
.service-card,
.sector-grid article,
.product-card,
.job-card,
.contact-methods article {
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.feature-card:hover,
.service-card:hover,
.sector-grid article:hover,
.product-card:hover,
.job-card:hover,
.contact-methods article:hover {
  border-color: rgba(215, 9, 18, 0.42);
}
.feature-card span,
.product-card span,
.job-card span,
.contact-methods span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}
.service-card h2,
.sector-grid h2,
.form-heading h2,
.product-card h3,
.job-card h3,
.contact-methods h3 {
  font-size: 1.2rem;
  line-height: 1.25;
}
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 24px;
  border: 1px solid rgba(215, 9, 18, 0.3);
  border-radius: 6px;
  background: rgba(215, 9, 18, 0.08);
  color: var(--red);
  font-weight: 900;
}
.check-list {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}
.check-list li {
  position: relative;
  padding-left: 20px;
}
.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
  content: "";
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(360px, 1fr);
  gap: 58px;
  align-items: start;
}
.workflow-page { background: var(--panel-soft); }
.steps {
  display: grid;
  gap: 14px;
}
.step {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background: var(--red);
  color: var(--white);
  font-weight: 900;
}
.step h3,
.step p {
  margin-bottom: 0;
}
.section-dark {
  color: var(--white);
  background: #08090b;
  border-block: 1px solid var(--line-dark);
}
.section-dark .eyebrow {
  color: var(--silver);
}
.section-dark p,
.section-dark .certainty-list p,
.section-dark .service-card p,
.section-dark .check-list {
  color: rgba(255, 255, 255, 0.72);
}
.section-dark .service-card {
  border-color: rgba(216, 221, 228, 0.16);
  background: #111318;
  box-shadow: none;
}
.section-dark .service-card h2 {
  color: var(--white);
}
.certainty {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
  gap: 54px;
  align-items: start;
}
.certainty-list {
  display: grid;
  gap: 14px;
}
.certainty-list p {
  margin: 0;
  padding: 18px 0 18px 22px;
  border-left: 3px solid var(--red);
}
.certainty-list strong {
  color: inherit;
}

.contact-page {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr);
  gap: 38px;
  align-items: start;
}
.application-section {
  grid-template-columns: minmax(0, 0.58fr) minmax(360px, 0.8fr);
}
.contact-method-section {
  padding-bottom: 58px;
  background: var(--white);
}
.contact-points {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}
.contact-points span {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-weight: 750;
}
.contact-points span::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
  content: "";
}
.forms-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.complaint-form {
  border-color: rgba(215, 9, 18, 0.3);
}
.form-heading,
.contact-form .full {
  grid-column: 1 / -1;
}
.form-heading h2 {
  margin-bottom: 0;
}
.form-direct {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}
.form-direct a,
.footer-contact a {
  color: var(--red);
  font-weight: 850;
}
.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 750;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(23, 26, 32, 0.18);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  outline: none;
}
.contact-form input,
.contact-form select {
  height: 48px;
  padding: 0 12px;
}
.contact-form textarea {
  min-height: 132px;
  resize: vertical;
  padding: 12px;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(215, 9, 18, 0.12);
}
.consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
}
.consent input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
}
.form-status {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 750;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  padding: 58px max(20px, calc((100vw - 1180px) / 2));
  color: var(--white);
  background: #08090b;
  border-block: 1px solid var(--line-dark);
}
.cta-band .eyebrow {
  color: var(--silver);
}
.cta-band p {
  max-width: 690px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}
.cta-band h2 {
  margin-bottom: 10px;
}
.cta-actions {
  justify-content: flex-end;
}
.site-footer {
  display: grid;
  gap: 14px;
  justify-items: center;
  padding: 46px 20px;
  text-align: center;
  background: #050505;
  color: rgba(255, 255, 255, 0.78);
  border-top: 1px solid var(--line-dark);
}
.footer-brand img {
  width: 58px;
  height: 58px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 750;
}
.footer-links a:hover {
  color: var(--white);
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
}
.footer-small {
  font-size: 0.88rem;
}


.thanks-popup {
  position: fixed;
  z-index: 85;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
}
.thanks-popup[hidden] {
  display: none;
}
.thanks-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(7px);
}
.thanks-popup__panel {
  position: relative;
  width: min(540px, 100%);
  max-height: calc(100svh - 40px);
  overflow: auto;
  padding: 34px;
  border: 1px solid rgba(23, 26, 32, 0.14);
  border-top: 5px solid var(--red);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
}
.thanks-popup__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(23, 26, 32, 0.14);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 900;
}
.thanks-popup__icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(22, 168, 117, 0.12);
  border: 1px solid rgba(22, 168, 117, 0.3);
}
.thanks-popup__icon::before {
  width: 22px;
  height: 12px;
  border: solid var(--green);
  border-width: 0 0 4px 4px;
  content: "";
  transform: translateY(-2px) rotate(-45deg);
}
.thanks-popup__eyebrow {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}
.thanks-popup h2 {
  margin-bottom: 12px;
  font-size: 2rem;
  line-height: 1.08;
}
.thanks-popup p {
  color: var(--muted);
}
.thanks-popup__mail {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-left: 3px solid var(--red);
  background: var(--panel-soft);
  font-weight: 750;
}
.thanks-popup__mail a {
  color: var(--red);
  font-weight: 900;
}
.thanks-popup__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.thanks-popup__link {
  border: 1px solid rgba(23, 26, 32, 0.18);
  color: var(--ink);
  background: var(--white);
}

.cookie-consent {
  position: fixed;
  z-index: 60;
  right: 20px;
  bottom: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  width: min(760px, calc(100vw - 40px));
  max-height: calc(100svh - 40px);
  overflow: auto;
  padding: 20px;
  border: 1px solid rgba(23, 26, 32, 0.16);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.24);
}
.cookie-consent[hidden] {
  display: none;
}
.cookie-consent__content h2 {
  margin-bottom: 8px;
  font-size: 1.25rem;
  line-height: 1.2;
}
.cookie-consent__content p {
  margin-bottom: 0;
  color: var(--muted);
}
.cookie-consent__eyebrow {
  margin-bottom: 6px;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}
.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: start;
  justify-content: flex-end;
}
.cookie-button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(23, 26, 32, 0.18);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font-weight: 850;
}
.cookie-button--primary {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}
.cookie-preferences {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.cookie-preferences[hidden] {
  display: none;
}
.cookie-option {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--muted);
}
.cookie-option input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
}
.cookie-option strong {
  display: block;
  color: var(--ink);
}
.cookie-preferences__footer {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 1100px) {
  .feature-grid-four,
  .product-grid,
  .job-grid,
  .sector-grid,
  .contact-methods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .contact-page,
  .application-section {
    grid-template-columns: 1fr;
  }
  .forms-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .nav-toggle { display: grid; }
  .site-nav {
    position: fixed;
    top: 76px;
    right: 14px;
    left: 14px;
    display: grid;
    gap: 4px;
    padding: 16px;
    border: 1px solid rgba(216, 221, 228, 0.18);
    border-radius: 8px;
    background: rgba(8, 8, 9, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }
  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .site-nav a { padding: 14px; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .hero {
    min-height: 650px;
    padding-top: 120px;
  }
  .hero::before,
  .page-hero::before {
    background:
      linear-gradient(90deg, rgba(5, 5, 5, 0.96), rgba(5, 5, 5, 0.9)),
      url("assets/rks-services-logo.jpeg") right -90px center / 390px auto no-repeat;
  }
  .intro-grid,
  .split-section,
  .certainty,
  .cta-band {
    grid-template-columns: 1fr;
  }
  .feature-grid,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cta-actions {
    justify-content: flex-start;
  }
  .cookie-consent {
    grid-template-columns: 1fr;
  }
  .cookie-consent__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .site-header {
    height: 72px;
    padding-inline: 16px;
  }
  .brand img {
    width: 46px;
    height: 46px;
  }
  .brand span {
    font-size: 0.92rem;
  }
  .site-nav { top: 72px; }
  .hero {
    min-height: 590px;
    padding: 112px 18px 54px;
  }
  .page-hero {
    padding: 112px 18px 58px;
  }
  .hero::before,
  .page-hero::before {
    background:
      linear-gradient(90deg, rgba(5, 5, 5, 0.97), rgba(5, 5, 5, 0.92)),
      url("assets/rks-services-logo.jpeg") right -130px center / 330px auto no-repeat;
  }
  .hero-logo {
    width: 94px;
    margin-bottom: 16px;
  }
  h1 {
    font-size: 3.55rem;
  }
  .page-hero h1 {
    font-size: 2.25rem;
  }
  h2 {
    font-size: 2rem;
  }
  .hero-lead,
  .page-hero p:last-child {
    font-size: 1.05rem;
  }
  .hero-actions .button,
  .cta-band .button,
  .cta-actions,
  .cta-actions .button {
    width: 100%;
  }
  .intro-band,
  .section,
  .split-section,
  .contact-page,
  .cta-band {
    padding-inline: 18px;
  }
  .section,
  .split-section,
  .contact-page {
    padding-block: 62px;
  }
  .feature-grid,
  .feature-grid-four,
  .service-grid,
  .sector-grid,
  .product-grid,
  .job-grid,
  .contact-methods,
  .contact-form {
    grid-template-columns: 1fr;
  }
  .feature-card,
  .service-card,
  .sector-grid article,
  .product-card,
  .job-card,
  .contact-methods article {
    min-height: auto;
    padding: 22px;
  }
  .step {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 18px;
  }
  .cookie-consent {
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
    max-height: calc(100svh - 24px);
    padding: 16px;
  }
  .cookie-consent__actions,
  .cookie-preferences__footer {
    display: grid;
  }
  .cookie-button {
    width: 100%;
  }
}

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