/* Site stylesheet. Files load in this order, so later files can override earlier ones. */ /* Fonts and colour tokens for the light and dark themes. */

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/space-grotesk/space-grotesk-400.woff2") format("woff2");
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/space-grotesk/space-grotesk-600.woff2") format("woff2");
}

:root {
  --teal: #2ba8a9;
  --teal-dark: #1f7f80;
  --ink: #0c0f12;
  --ink-soft: #1b1f24;
  --text: #111418;
  --muted: #49525c;
  --line: #e4e8ee;
  --bg: #f7f9fb;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(12, 15, 18, 0.12);
  --primary-bg: var(--teal-dark);
  --primary-text: #ffffff;
  --footer-bg: #0c0f12;
  --footer-text: rgba(255, 255, 255, 0.78);
  --footer-muted: rgba(255, 255, 255, 0.62);
  --page-bg:
    radial-gradient(circle at 12% 18%, rgba(43, 168, 169, 0.15), transparent 45%),
    radial-gradient(circle at 88% 12%, rgba(12, 15, 18, 0.08), transparent 35%),
    linear-gradient(180deg, #ffffff 0%, #f2f5f9 100%);
}

[data-theme="dark"] {
  --ink: #e9eef6;
  --ink-soft: #cfd7e4;
  --text: #e9eef6;
  --muted: rgba(233, 238, 246, 0.72);
  --line: rgba(233, 238, 246, 0.12);
  --bg: #0b1016;
  --white: #0f151d;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  --primary-bg: var(--teal-dark);
  --primary-text: #ffffff;
  --footer-bg: #070b10;
  --footer-text: rgba(233, 238, 246, 0.78);
  --footer-muted: rgba(233, 238, 246, 0.6);
  --page-bg:
    radial-gradient(circle at 12% 18%, rgba(43, 168, 169, 0.16), transparent 48%),
    radial-gradient(circle at 88% 12%, rgba(0, 0, 0, 0.3), transparent 38%),
    linear-gradient(180deg, #0b1016 0%, #070b10 100%);
}

/* Element defaults, page shell and the centred container. */

* {
  box-sizing: border-box;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(43, 168, 169, 0.45);
  outline-offset: 2px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", Tahoma, sans-serif;
  color: var(--text);
  background: var(--page-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
}

main {
  flex: 1;
}

/* Hidden visually but still read by screen readers. */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* "Skip to content" link: off-screen until focused with the keyboard. */
.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--primary-bg);
  color: var(--primary-text);
  font-weight: 600;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

/* Site header: logo, navigation, mobile menu and theme toggle. */

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 0;
  gap: 16px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
}

[data-theme="dark"] .nav-toggle {
  background: rgba(15, 21, 29, 0.72);
}

.theme-toggle {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  color: var(--ink);
  padding: 0;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(43, 168, 169, 0.5);
  box-shadow: 0 10px 24px rgba(12, 15, 18, 0.1);
  background: rgba(43, 168, 169, 0.08);
}

.theme-icon {
  position: relative;
  width: 18px;
  height: 18px;
  display: block;
}

.theme-icon svg,
.theme-icon img {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 18px;
  height: 18px;
}

.theme-toggle .icon-moon {
  display: none;
}

[data-theme="dark"] .theme-toggle {
  background: rgba(15, 21, 29, 0.72);
  color: var(--text);
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: block;
  filter: brightness(0) invert(1);
}

.nav-panel {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-panel.is-open {
  display: flex;
}

.site-header {
  position: static;
  z-index: 10;
  background: rgba(247, 249, 251, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

[data-theme="dark"] .site-header {
  background: rgba(11, 16, 22, 0.78);
}

.logo {
  height: 82px;
  width: auto;
}

.logo-dark {
  display: none;
}

[data-theme="dark"] .logo-light {
  display: none;
}

[data-theme="dark"] .logo-dark {
  display: inline-block;
}

.nav-links {
  display: flex;
  gap: 14px;
  align-items: center;
  color: var(--muted);
  font-weight: 600;
  flex-wrap: wrap;
}

.nav-links-desktop {
  margin-left: 8px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--ink);
}

nav .actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.nav-actions-desktop {
  margin-left: auto;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Buttons. */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.btn.is-loading {
  cursor: wait;
  opacity: 0.75;
  transform: none;
}

.btn-small {
  padding: 10px 16px;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--primary-bg);
  color: var(--primary-text);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 30px rgba(12, 15, 18, 0.2);
}

[data-theme="dark"] .btn-primary:hover {
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.55);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink-soft);
  background: var(--white);
}

.btn-ghost:hover {
  transform: translateY(-1px);
  background: #f4f7fa;
  border-color: rgba(43, 168, 169, 0.28);
}

[data-theme="dark"] .btn-ghost {
  background: rgba(15, 21, 29, 0.72);
  color: var(--text);
}

[data-theme="dark"] .btn-ghost:hover {
  background: rgba(15, 21, 29, 0.9);
  border-color: rgba(43, 168, 169, 0.35);
}

.hero .btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.22);
}

.hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Page heroes, the animated background and the partner logo banner. */

.hero {
  padding: 34px 0 28px;
}

.hero-visual {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 20%, rgba(43, 168, 169, 0.35), transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(12, 15, 18, 0.28), transparent 55%),
    linear-gradient(140deg, rgba(9, 14, 18, 0.96), rgba(13, 22, 28, 0.9));
  border: 1px solid rgba(43, 168, 169, 0.2);
  overflow: hidden;
  isolation: isolate;
}

@media (max-width: 900px) {
  .hero {
    overflow: hidden;
  }
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -40% -30% auto auto;
  width: 520px;
  height: 520px;
  background: conic-gradient(from 120deg, rgba(43, 168, 169, 0.45), transparent 55%);
  filter: blur(12px);
  animation: spin 18s linear infinite;
  /* Draw the blur once and rotate the result on the GPU. */
  will-change: transform;
  opacity: 0.45;
  z-index: 0;
}

/* Drifting grid. Moved with transform (GPU) rather than background-position,
   which repaints every frame. One grid cell larger than the hero so the
   52px move loops seamlessly. */
.hero-visual::after {
  content: "";
  position: absolute;
  top: -52px;
  left: -52px;
  width: calc(100% + 52px);
  height: calc(100% + 52px);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: 0.12;
  animation: gridDrift 16s linear infinite;
  will-change: transform;
  z-index: 0;
}

.trust-marquee {
  overflow: hidden;
  margin-top: 12px;
  border-radius: 999px;
}

.services-section {
  padding-top: 8px;
}

.cta-section {
  padding-top: 6px;
}

.trust-track {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 2px 0;
  will-change: transform;
}

.trust-marquee.is-marquee .trust-track {
  animation: trustMarquee var(--marquee-duration, 18s) linear infinite;
}

.trust-group {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.trust-item {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(228, 232, 238, 0.9);
  background: rgba(255, 255, 255, 0.7);
  color: rgba(27, 31, 36, 0.7);
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 170px;
}

.trust-item img {
  height: 24px;
  width: auto;
  max-width: 140px;
  filter: grayscale(1);
  opacity: 0.8;
}

.trust-item img.superops-logo {
  filter: grayscale(1) brightness(0.7);
  opacity: 0.85;
}

[data-theme="dark"] .trust-item img.superops-logo {
  filter: grayscale(1) brightness(1.05) contrast(1.05);
  opacity: 0.7;
}

.trust-item img.invert {
  filter: grayscale(1) invert(1);
  opacity: 0.75;
}

[data-theme="dark"] .trust-item {
  background: rgba(15, 21, 29, 0.72);
  border-color: rgba(233, 238, 246, 0.14);
  color: rgba(233, 238, 246, 0.75);
}

[data-theme="dark"] .trust-item img {
  filter: grayscale(1) invert(1);
  opacity: 0.85;
}

[data-theme="dark"] .trust-item img.invert {
  filter: grayscale(1);
  opacity: 0.85;
}

.trust-item img.logo-veeam {
  transform: scale(1.28);
  transform-origin: center;
}

/* Light-coloured logos turn pale grey in greyscale: darken them in light mode,
   brighten them in dark mode. */
.trust-item img.logo-pale {
  filter: grayscale(1) brightness(0.45);
  opacity: 0.85;
}

[data-theme="dark"] .trust-item img.logo-pale {
  filter: grayscale(1) brightness(1.6);
  opacity: 0.85;
}

/* Solid box logos (e.g. Lenovo) are visually heavy: soften to match the wordmarks. */
.trust-item img.logo-boxed {
  opacity: 0.55;
}

[data-theme="dark"] .trust-item img.logo-boxed {
  opacity: 0.6;
}

/* Square logos look small next to wide wordmarks at the same height. */
.trust-item img.logo-square {
  height: 32px;
}

@keyframes trustMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-1 * var(--marquee-cycle, 0px)));
  }
}

.orb {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 168, 169, 0.4), transparent 70%);
  opacity: 0.6;
  animation: float 8s ease-in-out infinite;
  z-index: 1;
}

.orb-one {
  top: 16%;
  left: 8%;
}

.orb-two {
  bottom: 12%;
  right: 6%;
  width: 160px;
  height: 160px;
  animation-delay: -1.4s;
}

.orb-three {
  top: 18%;
  right: 18%;
  width: 90px;
  height: 90px;
  animation-delay: -2.2s;
}

.hero-glow {
  position: absolute;
  inset: auto 14% 22% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 168, 169, 0.45), transparent 70%);
  opacity: 0.5;
  animation: pulse 6s ease-in-out infinite;
  z-index: 1;
}

.hero-content {
  position: absolute;
  inset: auto;
  top: 12%;
  left: 8%;
  right: 8%;
  display: grid;
  gap: 14px;
  padding: 0;
  color: #ffffff;
  z-index: 2;
}

.hero-content::before {
  content: "";
  position: absolute;
  inset: -18px -18px -26px -18px;
  background: linear-gradient(180deg, rgba(7, 12, 16, 0.55), rgba(7, 12, 16, 0));
  filter: blur(10px);
  z-index: -1;
}

/* Breadcrumb trail above page titles: Home / Services / Network and WiFi */
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 6px;
  color: rgba(255, 255, 255, 0.45);
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 3px;
}

.breadcrumbs a:hover {
  text-decoration-color: currentColor;
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(1.85rem, 2.2vw + 1rem, 2.6rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-shadow: 0 18px 40px rgba(5, 10, 14, 0.55);
}

.hero-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
  line-height: 1.6;
  font-size: 1.05rem;
  text-shadow: 0 16px 30px rgba(5, 10, 14, 0.5);
}

.hero-bottom {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 7%;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-highlights {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 12, 16, 0.22);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  flex-wrap: wrap;
  text-align: center;
}

.hero-highlights span + span {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  padding-left: 14px;
}

/* Sections, section headings, grids and the base card. */

.section {
  padding: 44px 0;
  scroll-margin-top: 96px;
}

.section.services-section {
  padding-top: 12px;
  padding-bottom: 34px;
}

.section.cta-section {
  padding-top: 0;
}

.section-header {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(1.6rem, 1.4vw + 1rem, 2.3rem);
  max-width: 720px;
  position: relative;
  padding-bottom: 6px;
}

.section-header h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  background: var(--teal);
  border-radius: 999px;
}

.section-header p {
  margin: 0;
  color: var(--muted);
  max-width: 640px;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 18px 36px rgba(12, 15, 18, 0.06);
  text-align: left;
}

.detail-card {
  padding-top: 48px;
  padding-bottom: 48px;
}

.detail-body p {
  margin: 0;
}

.detail-body p + p {
  margin-top: 18px;
}

.detail-body a {
  color: var(--teal-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

[data-theme="dark"] .detail-body a {
  color: var(--teal);
}

.detail-card .detail-note {
  margin: 28px 0 0;
}

[data-theme="dark"] .card {
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
}

.card h3,
.card .card-title {
  margin-top: 0;
  margin-bottom: 8px;
}

/* Card headings that are h2 for document structure but sized like h3. */
.card-title {
  font-size: 1.17em;
}

.card p {
  color: var(--muted);
  margin: 0;
}

/* Service cards, Managed IT cards, About and FAQ blocks, and service-page lists. */

.service-card {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.centered-services .service-card {
  text-align: center;
}

.centered-services .service-icon-img {
  margin-left: auto;
  margin-right: auto;
}

.services-subgrid .service-card {
  text-align: center;
}

.services-subgrid .service-icon-img {
  margin-left: auto;
  margin-right: auto;
}

.services-subgrid .card-cta {
  margin-left: auto;
  margin-right: auto;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(43, 168, 169, 0.6);
  box-shadow: 0 18px 36px rgba(12, 15, 18, 0.12);
}

.service-icon-img {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  display: block;
}

.managed-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}

.managed-card .outcome {
  text-align: center;
}

.managed-card .outcome-title,
.managed-card .outcome-text {
  text-align: center;
}

.managed-content {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.managed-intro {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  text-align: center;
}

.outcome-grid.outcome-grid-3 {
  width: min(760px, 100%);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
}

.managed-title {
  font-size: 1.28rem;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-align: center;
  margin: 0;
}

.managed-card-link {
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.managed-card-link:hover {
  transform: translateY(-3px);
  border-color: rgba(43, 168, 169, 0.6);
  box-shadow: 0 18px 36px rgba(12, 15, 18, 0.12);
}

.managed-visual {
  display: grid;
  place-items: center;
}

.managed-visual svg {
  width: 100%;
  height: auto;
}

.managed-icon {
  width: 78px;
  height: 78px;
  opacity: 0.95;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.22));
}
.outcome-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.outcome {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 12px 13px;
  background: rgba(247, 249, 251, 0.75);
}

[data-theme="dark"] .outcome {
  background: rgba(255, 255, 255, 0.04);
}

.outcome-title {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.outcome-text {
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.95rem;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(43, 168, 169, 0.12);
  color: var(--teal-dark);
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.mt-6 {
  margin-top: 6px;
}

.mt-10 {
  margin-top: 10px;
}

.about-text p {
  margin: 0 0 16px;
  color: var(--muted);
}

.about-text p:last-child {
  margin-bottom: 0;
}

.card-cta {
  margin-top: 26px;
  width: fit-content;
}

.managed-card .card-cta {
  justify-self: center;
}

.service-card .card-cta {
  margin-top: auto;
}

/* Keeps space above the button when cards are the same height. */
.services-subgrid .service-card p {
  margin-bottom: 10px;
}

.services-subgrid {
  margin-top: 26px;
  row-gap: 22px;
}

.lead {
  margin: 0 0 24px;
  color: var(--muted);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 26px 0 16px;
}

.section-bar {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: rgba(43, 168, 169, 0.2);
}

.section-intro {
  margin: -8px 0 16px;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
  margin-bottom: 22px;
}

.contact-grid .card,
.about-grid .card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.contact-form {
  width: 100%;
}

.faq-grid {
  display: grid;
  gap: 14px;
}

.faq-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  background: var(--white);
  box-shadow: 0 12px 26px rgba(12, 15, 18, 0.04);
}

.faq-card summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--ink);
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card summary::after {
  content: "+";
  float: right;
  color: var(--muted);
}

.faq-card[open] summary::after {
  content: "–";
}

.faq-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

[data-theme="dark"] .faq-card {
  background: rgba(255, 255, 255, 0.03);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 22px;
  align-items: start;
}

.about-grid .about-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.about-grid .about-text .card-title {
  margin-bottom: 16px;
}

.about-aside .card-title {
  margin: 0 0 12px;
}

.about-list,
.about-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.about-list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  align-items: start;
}

.about-list li span {
  font-weight: 600;
  color: var(--ink);
}

.about-divider {
  height: 1px;
  background: var(--line);
  margin: 18px 0;
}

.about-steps li strong {
  color: var(--ink);
}

.mini-icon img {
  width: 22px;
  height: 22px;
  display: block;
}

.mini-icon svg,
.mini-icon img {
  width: 22px;
  height: 22px;
}

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

.managed-it-page .section {
  padding: 52px 0;
}

/* Each Managed IT section is one panel with its items in two columns, separated
   by rules, so items with descriptions of different lengths don't leave
   unevenly filled boxes. */
.feature-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px;
  padding: 4px 28px;
  margin-bottom: 8px;
}

.feature-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  /* Icon's top edge level with the top of the heading. */
  align-items: start;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.feature-item:nth-child(-n + 2) {
  border-top: 0;
}

.feature-panel-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-panel-3 .feature-item:nth-child(3) {
  border-top: 0;
}

.feature-item h3 {
  line-height: 1.3;
  margin: 0 0 4px;
}

.managed-intro {
  max-width: 820px;
  text-align: left;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.managed-intro p {
  margin: 0;
}

@media (max-width: 760px) {
  .feature-panel,
  .feature-panel-3 {
    grid-template-columns: 1fr;
    padding: 4px 20px;
  }

  .feature-item:nth-child(2),
  .feature-panel-3 .feature-item:nth-child(3) {
    border-top: 1px solid var(--line);
  }
}

.mini-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(43, 168, 169, 0.14);
  color: var(--teal-dark);
  display: grid;
  place-items: center;
}

.mini-icon svg {
  width: 20px;
  height: 20px;
}

.partner {
  text-align: center;
  padding: 16px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--white);
  font-weight: 600;
  color: var(--ink-soft);
  opacity: 0.75;
}

/* Ticked lists on the service pages: two columns separated by rules, in the
   same style as the Managed IT panels. */
.deliverables {
  margin-top: 40px;
}

.deliverables-title {
  margin: 0 0 6px;
  font-size: 1.17em;
}

.deliverables-note {
  margin: 0 0 12px;
  color: var(--muted);
}

.deliverables-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px;
}

.deliverable {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  /* Tick centred on the first line of text (see img margin below). */
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.5;
}

.deliverable:nth-child(-n + 2) {
  border-top: 0;
}

.deliverable img {
  width: 18px;
  height: 18px;
  /* Centred on the first line of text (24px line, 18px icon). */
  margin-top: 3px;
  opacity: 0.95;
}

@media (max-width: 700px) {
  .deliverables-list {
    grid-template-columns: 1fr;
  }

  .deliverable:nth-child(2) {
    border-top: 1px solid var(--line);
  }
}

/* The heading's capitals start about 5px below the top of its line, so drop
   the icon by the same amount to line its top up with the lettering. */
.feature-item .mini-icon {
  margin-top: 5px;
}

/* 404 page */
.not-found-links {
  display: grid;
  gap: 8px;
  margin: 8px 0 20px;
  padding-left: 20px;
}

.not-found-links a {
  color: var(--teal-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

[data-theme="dark"] .not-found-links a {
  color: var(--teal);
}

/* Contact and consultation forms, including the consultation form's service-specific sections. */

.form {
  display: grid;
  gap: 16px;
}

.form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  color: var(--ink);
}

.form input,
.form select,
.form textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font: inherit;
  background: #fbfcfe;
}

/* Dark mode: dark fields instead of bright white boxes on a dark page. */
[data-theme="dark"] .form input,
[data-theme="dark"] .form select,
[data-theme="dark"] .form textarea {
  background: #0b1016;
  color: var(--text);
  border-color: rgba(233, 238, 246, 0.18);
  color-scheme: dark;
}

[data-theme="dark"] .form input::placeholder,
[data-theme="dark"] .form textarea::placeholder {
  color: rgba(233, 238, 246, 0.45);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid rgba(43, 168, 169, 0.35);
  border-color: rgba(43, 168, 169, 0.6);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
  text-transform: none;
}

.contact-link {
  font-weight: 600;
  font-size: 1.05rem;
}

.contact-link a:hover,
.contact-link a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-block {
  margin-top: 14px;
}

.contact-muted {
  color: var(--muted);
}

.form-alert {
  display: none;
  padding: 10px 12px;
  border-radius: 12px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.form-alert.success {
  background: rgba(45, 189, 155, 0.12);
  border: 1px solid rgba(45, 189, 155, 0.4);
  color: #14775f;
}

.form-alert.error {
  background: rgba(231, 76, 60, 0.12);
  border: 1px solid rgba(231, 76, 60, 0.4);
  color: #b93a2c;
}

body.form-sent #form-success,
body.form-error #form-error {
  display: block;
}

[data-theme="dark"] .form-alert.success {
  color: #72f0d2;
  border-color: rgba(45, 189, 155, 0.6);
}

[data-theme="dark"] .form-alert.error {
  color: #ffb0a6;
  border-color: rgba(231, 76, 60, 0.6);
}

.form-error-code {
  font-size: 0.85em;
  opacity: 0.8;
}

.form-alert.is-visible {
  display: block;
}

.form-turnstile {
  min-height: 65px;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Privacy note on its own line below the button. */
.form-note {
  flex-basis: 100%;
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.needs-section {
  display: none;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}

.needs-section.is-active {
  display: block;
}

.optional-grid {
  margin-top: 18px;
}

/* Legal pages such as the privacy notice, and links in form notes. */

.form-note a,
.legal a {
  color: var(--teal-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

[data-theme="dark"] .form-note a,
[data-theme="dark"] .legal a {
  color: var(--teal);
}

.legal {
  padding: 32px;
  line-height: 1.6;
}

.legal .legal-meta {
  font-size: 0.9rem;
}

.legal h2 {
  font-size: 1.2rem;
  margin: 32px 0 10px;
  scroll-margin-top: 24px;
}

.legal p + p {
  margin-top: 12px;
}

.legal ul {
  color: var(--muted);
  margin: 10px 0 12px;
  padding-left: 22px;
}

.legal li + li {
  margin-top: 6px;
}

.legal strong {
  color: var(--text);
}

.legal-table {
  overflow-x: auto;
  margin: 12px 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.legal-table table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.legal-table th,
.legal-table td {
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.legal-table tbody tr:last-child th,
.legal-table tbody tr:last-child td {
  border-bottom: 0;
}

.legal-table thead th {
  background: rgba(43, 168, 169, 0.08);
  font-weight: 600;
}

.legal-table td {
  color: var(--muted);
}

.legal-table tbody th,
.legal-table td strong {
  font-weight: 600;
}

@media (max-width: 700px) {
  .legal {
    padding: 22px 18px;
  }
}

/* Call-to-action card and site footer. */

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
}

.cta-card h2 {
  margin: 0 0 8px;
}

.cta-card p {
  margin: 0;
  color: var(--muted);
}

footer {
  border-top: 1px solid var(--line);
  padding: 50px 0 40px;
  color: var(--footer-text);
  font-size: 0.95rem;
  background: var(--footer-bg);
}

footer a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
}

.footer-legal {
  font-size: 0.85rem;
  color: var(--footer-muted);
  line-height: 1.5;
}

/* Keep the registration and licence numbers on one line each. */
.footer-legal span {
  white-space: nowrap;
}

.footer-terms a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  white-space: nowrap;
}

.footer-terms {
  flex-shrink: 0;
}

.footer-terms a + a::before {
  content: "|";
  margin: 0 10px;
  color: var(--footer-muted);
}

.footer-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
}

.footer-terms {
  align-self: flex-end;
}

.footer-left {
  display: grid;
  gap: 6px;
}

.footer-brand {
  font-weight: 600;
}

[data-theme="dark"] footer a {
  color: rgba(233, 238, 246, 0.9);
}

@media (max-width: 700px) {
  .footer-split {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-terms {
    align-self: center;
  }
}

/* Entrance animations and keyframes. */

.reveal {
  animation: fadeUp 0.45s ease both;
}

.reveal.delay-1 {
  animation-delay: 0.06s;
}
.reveal.delay-2 {
  animation-delay: 0.12s;
}

.section,
footer {
  animation: fadeUp 0.45s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes gridDrift {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(52px, 52px);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(0.95);
    opacity: 0.55;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.85;
  }
}

/* Visitors who ask their device to reduce motion get a still page: no
   fade-ins, no moving background, and a partner banner they can scroll. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .trust-marquee {
    overflow-x: auto;
  }

  .trust-marquee.is-marquee .trust-track {
    animation: none !important;
  }
}
/* Tablet and mobile layouts, plus hero layout overrides that must load last. */

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

  .about-grid {
    grid-template-columns: 1fr;
  }

  nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .site-nav {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .nav-links-desktop {
    display: none;
  }

  .nav-actions-desktop {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    order: 2;
  }

  .nav-panel {
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    right: 0;
    order: 3;
    background: rgba(247, 249, 251, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 14px 4vw 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  [data-theme="dark"] .nav-panel {
    background: rgba(11, 16, 22, 0.92);
    border-bottom-color: rgba(233, 238, 246, 0.12);
  }

  .nav-panel .actions {
    width: 100%;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    gap: 10px;
  }

  .nav-panel .actions .btn-primary {
    justify-content: center;
    width: 100%;
  }

  .nav-panel.is-open {
    display: flex;
  }

  .nav-links {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nav-panel .nav-links a {
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--white);
  }

  [data-theme="dark"] .nav-panel .nav-links a {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(233, 238, 246, 0.12);
  }

  nav .actions {
    width: 100%;
  }

  .cta-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .grid.cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-subgrid {
    grid-template-columns: 1fr;
  }

  .grid.cols-2 {
    grid-template-columns: 1fr;
  }

  .managed-card {
    grid-template-columns: 1fr;
  }

  .outcome-grid.outcome-grid-3 {
    grid-template-columns: 1fr;
  }

  .outcome-grid {
    grid-template-columns: 1fr;
  }

  .home-hero .hero-highlights {
    font-size: 0.88rem;
  }
}

.home-hero .hero-visual {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 56px 8% 40px;
}

.home-hero {
  padding-bottom: 12px;
}

.home-hero .hero-content {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  margin: 0;
  padding: 10px 0;
}

.home-hero .hero-bottom {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  margin-top: 40px;
  padding-bottom: 0;
  display: flex;
  justify-content: center;
  width: 100%;
}

.page-hero .hero-visual {
  min-height: 200px;
  display: flex;
  align-items: center;
}

.page-hero .hero-content {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  margin: 0 8%;
}

.managed-page-hero .hero-visual {
  min-height: 210px;
  display: flex;
  align-items: center;
}

.managed-page-hero .hero-content {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  margin: 0 8%;
}

@media (max-width: 600px) {
  .btn {
    width: 100%;
    justify-content: center;
  }

  nav .actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .grid.cols-3 {
    grid-template-columns: 1fr;
  }

  .hero-content {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    top: auto;
    margin: 0 18px;
  }

  .page-hero .hero-visual,
  .managed-page-hero .hero-visual {
    display: flex;
    align-items: flex-start;
    padding: 28px 18px 22px;
  }

  .page-hero .hero-content,
  .managed-page-hero .hero-content {
    margin: 0;
  }

  .hero-bottom {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin: 16px auto 0;
  }

  .home-hero .hero-visual {
    min-height: 300px;
    padding: 56px 8% 40px;
  }

  .home-hero .hero-bottom {
    margin-top: 28px;
  }

  .hero-highlights {
    display: grid;
    gap: 10px;
    border-radius: 16px;
    padding: 10px 12px;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    font-size: 0.82rem;
  }

  .page-hero .hero-visual,
  .managed-page-hero .hero-visual {
    min-height: auto;
    padding: 20px 18px 18px;
  }

  .hero-highlights span + span {
    border-left: none;
    padding-left: 0;
  }

  .managed-icon {
    width: 76px;
    height: 76px;
  }
}
