@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin-wght-normal.woff2') format('woff2');
}

html {
  scroll-behavior: smooth;
}

:root {
  --brand-blue: #1d4ed8;
  --brand-blue-dark: #123875;
  --brand-blue-light: #eaf2ff;
  --brand-orange: #f5821f;
  --brand-orange-dark: #d9640a;
  --brand-orange-light: #fff1e0;
  --brand-green: #2f9e6e;
  --brand-green-dark: #1f7a54;
  --brand-green-light: #e6f7ee;
  --brand-red: #e2574a;
  --brand-red-dark: #c53d31;
  --brand-red-light: #fdeceb;
}

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

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--brand-orange-dark) !important;
  border-color: var(--brand-orange-dark) !important;
  color: #ffffff !important;
}

.btn-check:focus + .btn-primary,
.btn-primary:focus {
  box-shadow: 0 0 0 0.2rem rgba(245, 130, 31, 0.35);
}

.text-primary {
  color: var(--brand-blue) !important;
}

body {
  font-family: 'Inter', sans-serif;
  color: #0f172a;
  background: #ffffff;
  line-height: 1.6;
}

.site-header {
  background: rgba(243, 247, 253, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  z-index: 1030;
}

.sticky-top {
  top: 0;
  z-index: 1030;
}

.nav-link-pro {
  position: relative;
  display: inline-block;
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: 0.02em;
  color: #475569 !important;
  padding: 0.5rem 0.9rem !important;
  transition: color 0.2s ease;
}

.nav-link-pro:hover {
  color: #0f172a !important;
}

.nav-link-pro::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  bottom: 0.2rem;
  width: 0;
  height: 2px;
  background: #1d4ed8;
  transition: width 0.2s ease;
}

.nav-link-pro:hover::after {
  width: calc(100% - 1.8rem);
}

.min-vh-75 {
  min-height: 75vh;
}

.dropdown-menu {
  border-radius: 14px;
  padding: 0.5rem 0;
  min-width: 320px;
}

.dropdown-item {
  font-weight: 500;
  padding: 0.65rem 1.2rem;
  color: #334155;
  white-space: normal;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.hero-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: #0f172a;
  max-width: 12ch;
}

.hero-text {
  font-size: 1.125rem;
  color: #475569;
  max-width: 560px;
}

.hero-section .section-label {
  color: #ffb877;
}

.hero-section .section-title {
  color: #ffffff;
}

.hero-section .hero-text {
  color: rgba(255, 255, 255, 0.86);
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #1d4ed8;
  text-transform: uppercase;
}

.hero-panel {
  position: relative;
  padding: 1.25rem;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.98)),
    repeating-linear-gradient(
      90deg,
      rgba(148, 163, 184, 0.07) 0,
      rgba(148, 163, 184, 0.07) 1px,
      transparent 1px,
      transparent 34px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(148, 163, 184, 0.05) 0,
      rgba(148, 163, 184, 0.05) 1px,
      transparent 1px,
      transparent 34px
    );
  border: 1px solid rgba(148, 163, 184, 0.22);
  min-height: 480px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.hero-panel-card {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 24px;
  padding: 2rem;
  margin-top: 3rem;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.hero-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  right: -40px;
  bottom: -40px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.14), transparent 65%);
}

.hero-feature {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.hero-feature i {
  font-size: 1.2rem;
  color: #1d4ed8;
  margin-top: 0.15rem;
}

.hero-feature h6 {
  margin-bottom: 0.25rem;
  font-weight: 700;
  color: #0f172a;
}

.hero-feature p {
  margin-bottom: 0;
  color: #64748b;
}

.section-block {
  padding: 6rem 0;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 3rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: #0f172a;
}

.section-text {
  color: #64748b;
  font-size: 1.05rem;
  max-width: 680px;
}

.section-soft-blue {
  background: #f8fbff;
  border-top: 1px solid #edf2f7;
  border-bottom: 1px solid #edf2f7;
}

.service-card {
  height: 100%;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.09);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  color: #1d4ed8;
  border-radius: 18px;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.service-card h5 {
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #0f172a;
}

.service-card p {
  margin-bottom: 0;
  color: #64748b;
}

.service-icon.icon-orange {
  background: var(--brand-orange-light);
  color: var(--brand-orange-dark);
}

.trusted-by-strip {
  border-top: 1px solid #edf2f7;
  border-bottom: 1px solid #edf2f7;
  background: #f8fbff;
  padding: 3.5rem 0;
}

.trusted-by-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.client-badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.client-badge {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  padding: 0.6rem 1.3rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: #0f172a;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
}

.logo-carousel {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: max-content;
  animation: logo-scroll 36s linear infinite;
}

.logo-carousel:hover .logo-track {
  animation-play-state: paused;
}

.logo-track .client-badge {
  white-space: nowrap;
  flex-shrink: 0;
}

@keyframes logo-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-track {
    animation: none;
  }
}

.metric-card-accent {
  background: var(--brand-orange-light);
  border-color: rgba(245, 130, 31, 0.25);
}

.metric-card-accent strong {
  color: var(--brand-orange-dark);
}

.value-item {
  display: flex;
  gap: 1rem;
  height: 100%;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 22px;
  padding: 1.4rem;
}

.value-item i {
  color: #1d4ed8;
  font-size: 1.25rem;
  margin-top: 0.15rem;
}

.value-item h6 {
  margin-bottom: 0.35rem;
  font-weight: 700;
  color: #0f172a;
}

.value-item p {
  margin-bottom: 0;
  color: #64748b;
}

.about-panel {
  background: linear-gradient(135deg, #eef4ff 0%, #ffffff 100%);
  color: #0f172a;
  border: 1px solid rgba(29, 78, 216, 0.12);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.about-panel-text {
  color: #64748b;
  margin-bottom: 1.5rem;
}

.metric-card {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  padding: 1rem;
  height: 100%;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
}

.metric-card strong {
  display: block;
  font-size: 1.2rem;
  color: #0f172a;
}

.metric-card span {
  display: block;
  font-size: 0.9rem;
  color: #64748b;
}

.metric-card-blue {
  background: var(--brand-blue-light);
  border-color: rgba(29, 78, 216, 0.18);
}

.metric-card-blue strong {
  color: var(--brand-blue);
}

.metric-card-green {
  background: var(--brand-green-light);
  border-color: rgba(47, 158, 110, 0.2);
}

.metric-card-green strong {
  color: var(--brand-green-dark);
}

.metric-card-red {
  background: var(--brand-red-light);
  border-color: rgba(226, 87, 74, 0.2);
}

.metric-card-red strong {
  color: var(--brand-red-dark);
}

.contact-section {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
}

.contact-section .section-label {
  color: #ffd8a8;
}

.contact-copy {
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
  max-width: 520px;
}

.contact-form {
  background: #ffffff;
  border-radius: 28px;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.contact-form .form-control {
  border-radius: 16px;
  border: 1px solid #dbe3ee;
  padding: 0.95rem 1rem;
  box-shadow: none;
}

.contact-form .form-control:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 0.2rem rgba(29, 78, 216, 0.12);
}

.site-footer {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  color: #64748b;
  background: #ffffff;
}

@media (max-width: 991.98px) {
  .hero-title {
    max-width: 100%;
  }

  .section-block {
    padding: 4.5rem 0;
  }

  .hero-panel {
    min-height: auto;
  }

  .hero-panel-card {
    margin-top: 1rem;
  }
}

.page-hero {
  padding: 7rem 0 4rem;
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 60%);
}

.services-hero {
  border-bottom: 1px solid #e9eef5;
}

.service-detail-card {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-detail-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.09);
}

.service-detail-card p {
  color: #64748b;
  margin-bottom: 1rem;
}

.service-detail-icon {
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  color: #1d4ed8;
  border-radius: 18px;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.client-type-card {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 18px;
  padding: 1rem 1.25rem;
  font-weight: 600;
  color: #0f172a;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.min-vh-60 {
  min-height: 60vh;
}

.services-hero-premium {
  padding: 7rem 0 4rem;
  background:
    radial-gradient(circle at top right, rgba(29, 78, 216, 0.10), transparent 24%),
    linear-gradient(135deg, #eff6ff 0%, #ffffff 60%);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.services-hero-title {
  font-size: clamp(2.3rem, 4.5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: #0f172a;
  max-width: 12ch;
}

.services-hero-text {
  font-size: 1.1rem;
  color: #475569;
  max-width: 620px;
}

.services-hero-panel {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.98)),
    repeating-linear-gradient(
      90deg,
      rgba(148, 163, 184, 0.07) 0,
      rgba(148, 163, 184, 0.07) 1px,
      transparent 1px,
      transparent 34px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(148, 163, 184, 0.05) 0,
      rgba(148, 163, 184, 0.05) 1px,
      transparent 1px,
      transparent 34px
    );
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 28px;
  padding: 1.25rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.services-hero-panel-card {
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 22px;
  padding: 2rem;
}

.service-bullet {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  color: #475569;
}

.service-bullet:last-child {
  margin-bottom: 0;
}

.service-bullet i {
  color: #1d4ed8;
  font-size: 1.1rem;
  margin-top: 0.15rem;
}

.service-premium-card {
  height: 100%;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-premium-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.09);
}

.service-premium-card p {
  color: #64748b;
  margin-bottom: 1rem;
}

.service-premium-icon {
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  color: #1d4ed8;
  border-radius: 18px;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.client-sector-card {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 18px;
  padding: 1rem 1.25rem;
  font-weight: 600;
  color: #0f172a;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.engagement-card {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 22px;
  padding: 1.75rem;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.engagement-card p {
  color: #64748b;
}

.engagement-card.focus-card {
  padding: 0;
  overflow: hidden;
}

.focus-toggle {
  width: 100%;
  background: none;
  border: none;
  padding: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  transition: background 0.2s ease;
}

.focus-toggle:hover {
  background: rgba(15, 23, 42, 0.03);
}

.focus-chevron {
  color: #94a3b8;
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.focus-toggle[aria-expanded="true"] .focus-chevron {
  transform: rotate(180deg);
}

.focus-desc {
  color: #64748b;
  padding: 0 1.75rem 1.75rem;
}

@media (max-width: 991.98px) {
  .services-hero-title {
    max-width: 100%;
  }
}

.nav-link-pro.active {
  color: #0f172a !important;
}

.nav-link-pro.active::after {
  width: calc(100% - 1.8rem);
}

.page-hero-sm {
  height: 320px;
  display: flex;
  align-items: flex-start; /* 🔥 change from center */
  padding-top: 90px;       /* pushes content down from navbar */
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  overflow: hidden;
}

.page-hero-sm .container {
  display: block; /* instead of flex */
}

.page-title {
  max-width: 12ch;
}

.page-subtitle {
  max-width: 550px;
}

@media (max-width: 768px) {
  .page-hero-sm {
    height: auto;
    padding: 4rem 0 2.5rem;
  }

  .page-hero-sm .container {
    display: block;
  }

  .page-title,
  .page-subtitle {
    max-width: 100%;
  }
}

.page-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem); /* 🔥 smaller */
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  max-width: 18ch; /* slightly wider to reduce wrapping */
}

.page-subtitle {
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 650px;
}

.hero-image {
  position: relative;
  background-size: cover !important;
  background-position: center;
  background-repeat: no-repeat !important;
}

.services-capability-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 0 3rem;
}

.services-capability-strip span,
.services-capability-strip a {
  text-decoration: none;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: #475569;
  font-weight: 700;
  font-size: 0.92rem;
}

.services-capability-strip a:nth-child(6n+1),
.services-capability-strip span:nth-child(6n+1) {
  background: var(--brand-blue-light);
  border-color: rgba(29, 78, 216, 0.2);
  color: var(--brand-blue);
}

.services-capability-strip a:nth-child(6n+2),
.services-capability-strip span:nth-child(6n+2) {
  background: var(--brand-orange-light);
  border-color: rgba(245, 130, 31, 0.24);
  color: var(--brand-orange-dark);
}

.services-capability-strip a:nth-child(6n+3),
.services-capability-strip span:nth-child(6n+3) {
  background: var(--brand-green-light);
  border-color: rgba(47, 158, 110, 0.22);
  color: var(--brand-green-dark);
}

.services-capability-strip a:nth-child(6n+4),
.services-capability-strip span:nth-child(6n+4) {
  background: var(--brand-red-light);
  border-color: rgba(226, 87, 74, 0.22);
  color: var(--brand-red-dark);
}

.services-capability-strip a:nth-child(6n+5),
.services-capability-strip span:nth-child(6n+5) {
  background: var(--brand-blue-light);
  border-color: rgba(29, 78, 216, 0.2);
  color: var(--brand-blue);
}

.services-capability-strip a:nth-child(6n+6),
.services-capability-strip span:nth-child(6n+6) {
  background: var(--brand-orange-light);
  border-color: rgba(245, 130, 31, 0.24);
  color: var(--brand-orange-dark);
}

.service-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #94a3b8;
  margin-bottom: 0.85rem;
}

/* Alternating service feature rows (services.html) */

.service-feature-row {
  padding: 4.5rem 0;
}

.service-feature-row + .service-feature-row {
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

@media (min-width: 992px) {
  .service-feature-row-reverse .row {
    flex-direction: row-reverse;
  }
}

.service-feature-image {
  min-height: 320px;
  height: 100%;
  border-radius: 28px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}

.service-feature-icon {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.service-feature-icon.icon-blue {
  background: linear-gradient(135deg, var(--brand-blue-light), #ffffff);
  color: var(--brand-blue);
}

.service-feature-icon.icon-orange {
  background: linear-gradient(135deg, var(--brand-orange-light), #ffffff);
  color: var(--brand-orange-dark);
}

.service-feature-icon.icon-green {
  background: linear-gradient(135deg, var(--brand-green-light), #ffffff);
  color: var(--brand-green-dark);
}

.service-feature-icon.icon-red {
  background: linear-gradient(135deg, var(--brand-red-light), #ffffff);
  color: var(--brand-red-dark);
}

.service-feature-title {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1rem;
}

.service-feature-desc {
  color: #475569;
  font-size: 1.06rem;
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 1.5rem;
}

.service-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.service-feature-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: #334155;
  font-weight: 600;
  font-size: 0.98rem;
}

.service-feature-list li i {
  margin-top: 0.2rem;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.service-feature-list.list-blue i {
  color: var(--brand-blue);
}

.service-feature-list.list-orange i {
  color: var(--brand-orange-dark);
}

.service-feature-list.list-green i {
  color: var(--brand-green-dark);
}

.service-feature-list.list-red i {
  color: var(--brand-red-dark);
}

@media (max-width: 991.98px) {
  .service-feature-row {
    padding: 3rem 0;
  }

  .service-feature-image {
    min-height: 240px;
  }
}

.client-sector-card {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 18px;
  padding: 1rem 1.25rem;
  font-weight: 600;
  color: #0f172a;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.sector-grid > div:nth-child(4n+1) .client-sector-card {
  background: var(--brand-blue-light);
}

.sector-grid > div:nth-child(4n+2) .client-sector-card {
  background: var(--brand-orange-light);
}

.sector-grid > div:nth-child(4n+3) .client-sector-card {
  background: var(--brand-green-light);
}

.sector-grid > div:nth-child(4n) .client-sector-card {
  background: var(--brand-red-light);
}

@media (max-width: 991.98px) {
  .page-title {
    max-width: 100%;
  }
}

.hero-plain {
  background:
    radial-gradient(circle at 85% 20%, rgba(245, 130, 31, 0.16), transparent 32%),
    linear-gradient(110deg, var(--brand-blue-dark) 0%, #1a4a96 100%);
}

.contact-form-page {
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.contact-details-panel {
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 24px;
  padding: 1.5rem;
}

.contact-detail-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.contact-detail-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-detail-item i {
  color: #1d4ed8;
  font-size: 1.1rem;
  margin-top: 0.2rem;
}

.contact-detail-item h6 {
  margin-bottom: 0.2rem;
  font-weight: 700;
  color: #0f172a;
}

.contact-detail-item p {
  color: #64748b;
}

.featured-post-card {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

.featured-post-image {
  height: 100%;
  min-height: 360px;
  background: var(--brand-blue-light);
}

.featured-post-content {
  padding: 2rem;
}

.post-meta {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #64748b;
  text-transform: uppercase;
}

.featured-post-title {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: #0f172a;
}

.featured-post-excerpt {
  color: #64748b;
  font-size: 1.02rem;
  line-height: 1.7;
}

.blog-card {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.blog-card-img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-card-title {
  font-size: 1.3rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: #0f172a;
}

.blog-card-excerpt {
  color: #64748b;
  line-height: 1.65;
}

.blog-read-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.5rem;
  font-weight: 600;
  color: #1d4ed8;
  text-decoration: none;
}

.blog-read-link:hover {
  color: #0f172a;
}

@media (max-width: 991.98px) {
  .featured-post-image {
    min-height: 260px;
  }
}

.nav-link-pro.active {
  color: #1d4ed8 !important;
}

.nav-link-pro.active::after {
  width: calc(100% - 1.8rem);
}

.site-footer {
  background: linear-gradient(180deg, #f3f7fd 0%, #eaf1fb 100%);
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  color: #334155;
  padding: 4rem 0 2rem;
}

.footer-brand img {
  height: 40px;
}

.navbar-brand img {
  height: 45px;
}

.section-title-sm {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.thank-you-panel {
  max-width: 560px;
  padding: 3rem 0 4rem;
}

.thank-you-icon {
  width: 88px;
  height: 88px;
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.thank-you-panel .section-text {
  max-width: 100%;
}

.footer-text {
  color: #64748b;
  max-width: 360px;
  line-height: 1.7;
  margin-bottom: 0;
}

.footer-contact {
  margin-top: 1.5rem;
}

.footer-contact div {
  color: #475569;
  margin-bottom: 0.5rem;
  font-size: 0.96rem;
}

.footer-contact strong {
  color: #0f172a;
}

.footer-social {
  display: flex;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.footer-social-link {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(29, 78, 216, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1d4ed8;
  font-size: 1.05rem;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.footer-social-link:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  color: #ffffff;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.footer-copy {
  color: #64748b;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: #64748b;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #1d4ed8;
}

.legal-content {
  max-width: 750px;
}

.legal-content h4 {
  margin-top: 2rem;
  font-weight: 700;
  color: #0f172a;
}

.legal-content p {
  color: #475569;
  line-height: 1.7;
}

.legal-content ul {
  color: #475569;
  line-height: 1.7;
  padding-left: 1.25rem;
}

.legal-content ul li {
  margin-bottom: 0.4rem;
}

.legal-content a {
  color: var(--brand-blue);
}

/* Pastel accent system */

.section-soft-green {
  background: var(--brand-green-light);
  border-top: 1px solid rgba(47, 158, 110, 0.12);
  border-bottom: 1px solid rgba(47, 158, 110, 0.12);
}

.section-soft-peach {
  background: var(--brand-orange-light);
  border-top: 1px solid rgba(245, 130, 31, 0.14);
  border-bottom: 1px solid rgba(245, 130, 31, 0.14);
}

.card-blue {
  background: var(--brand-blue-light);
  border-color: rgba(29, 78, 216, 0.16);
}

.card-orange {
  background: var(--brand-orange-light);
  border-color: rgba(245, 130, 31, 0.2);
}

.card-green {
  background: var(--brand-green-light);
  border-color: rgba(47, 158, 110, 0.18);
}

.card-red {
  background: var(--brand-red-light);
  border-color: rgba(226, 87, 74, 0.18);
}

.card-blue .service-icon {
  background: #ffffff;
  color: var(--brand-blue);
}

.card-orange .service-icon {
  background: #ffffff;
  color: var(--brand-orange-dark);
}

.card-green .service-icon {
  background: #ffffff;
  color: var(--brand-green-dark);
}

.card-red .service-icon {
  background: #ffffff;
  color: var(--brand-red-dark);
}

.card-blue .value-item i,
.card-blue.value-item i {
  color: var(--brand-blue);
}

.card-orange .value-item i,
.card-orange.value-item i {
  color: var(--brand-orange-dark);
}

.card-green .value-item i,
.card-green.value-item i {
  color: var(--brand-green-dark);
}

.card-red .value-item i,
.card-red.value-item i {
  color: var(--brand-red-dark);
}

.tag-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.tag-chip {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #0f172a;
}
/* ==========================================================================
   Redesign 2026: accessibility, navigation, service pages, technology, forms
   ========================================================================== */

:root {
  /* Orange that meets 4.5:1 contrast with white text; brand orange stays for accents */
  --brand-orange-strong: #bd560b;
  --brand-orange-strong-hover: #9f4709;
  --brand-orange-text: #b34e05;
  --header-offset: 96px;
}

.btn-primary {
  background-color: var(--brand-orange-strong);
  border-color: var(--brand-orange-strong);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--brand-orange-strong-hover) !important;
  border-color: var(--brand-orange-strong-hover) !important;
}

/* Keyboard focus is always visible */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: 2px;
  box-shadow: none;
}

.contact-section a:focus-visible,
.hero-section a:focus-visible,
.page-hero-sm a:focus-visible {
  outline-color: #ffffff;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 2000;
  background: #ffffff;
  color: var(--brand-blue-dark);
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.15);
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

/* In-page targets land below the fixed header */
[id] {
  scroll-margin-top: var(--header-offset);
}

/* Text on pastel cards needs the darker slate for contrast */
.card-blue p,
.card-orange p,
.card-green p,
.card-red p,
.section-soft-green .section-text {
  color: #475569;
}

/* Navigation */
.navbar .nav-link-pro.dropdown-toggle {
  background: none;
  border: 0;
}

.nav-link-pro:focus-visible::after {
  width: calc(100% - 1.8rem);
}

/* Bootstrap draws the dropdown caret with ::after, so these toggles use an inset underline instead */
.nav-link-pro.dropdown-toggle::after {
  position: static;
  width: auto;
  height: auto;
  background: none;
  margin-left: 0.35em;
}

.nav-link-pro.dropdown-toggle.active {
  color: #0f172a !important;
  box-shadow: inset 0 -2px 0 #1d4ed8;
}

.dropdown-header {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
}

.dropdown-item-note {
  display: block;
  font-size: 0.82rem;
  font-weight: 400;
  color: #64748b;
}

.dropdown-item.active,
.dropdown-item:active {
  background: var(--brand-blue-light);
  color: var(--brand-blue-dark);
}

@media (max-width: 1199.98px) {
  .site-header .navbar-collapse {
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    padding: 0.75rem 0 1rem;
  }

  .site-header .dropdown-menu {
    min-width: 0;
    box-shadow: none !important;
    background: #ffffff;
  }

  .nav-link-pro:not(.dropdown-toggle)::after {
    display: none;
  }
}

/* Footer */
.footer-heading {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0f172a;
  margin-bottom: 1rem;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 0.6rem;
}

.footer-nav a,
.footer-contact a {
  color: #475569;
  text-decoration: none;
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--brand-blue);
  text-decoration: underline;
}

.footer-cta-box {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.footer-cta-box p {
  color: #475569;
  font-size: 0.95rem;
}

/* Shared content blocks */
.lead-intro {
  font-size: 1.15rem;
  color: #334155;
  line-height: 1.7;
  max-width: 720px;
}

.subsection-heading {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.capability-card {
  height: 100%;
}

.capability-card .capability-title {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.capability-card .capability-title i {
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.card-blue .capability-title i { color: var(--brand-blue); }
.card-orange .capability-title i { color: var(--brand-orange-text); }
.card-green .capability-title i { color: var(--brand-green-dark); }
.card-red .capability-title i { color: var(--brand-red-dark); }

.capability-card p:last-child {
  margin-bottom: 0;
}

.glance-panel {
  background: linear-gradient(135deg, #eef4ff 0%, #ffffff 100%);
  border: 1px solid rgba(29, 78, 216, 0.12);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
}

.glance-panel h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1.25rem;
}

.glance-panel dl {
  margin: 0;
}

.glance-panel dt {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1d4ed8;
  margin-top: 1.1rem;
}

.glance-panel dt:first-child {
  margin-top: 0;
}

.glance-panel dd {
  color: #334155;
  margin: 0.25rem 0 0;
}

.glance-panel dd a {
  color: var(--brand-blue);
}

.deliverables-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.deliverables-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: #334155;
}

.deliverables-list li i {
  color: var(--brand-green-dark);
  margin-top: 0.3rem;
  flex-shrink: 0;
}

.featured-section-callout {
  border: 2px solid rgba(226, 87, 74, 0.28);
  border-radius: 28px;
  padding: 2.5rem;
  background: #ffffff;
}

@media (max-width: 575.98px) {
  .featured-section-callout {
    padding: 1.5rem;
  }
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.related-links a {
  text-decoration: none;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: #334155;
  font-weight: 600;
  font-size: 0.95rem;
}

.related-links a:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.service-feature-img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  max-height: 440px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}

.service-card {
  position: relative;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #0f172a;
}

.service-card h3 a {
  color: inherit;
  text-decoration: none;
}

.service-card h3 a:hover {
  color: var(--brand-blue);
}

.service-card .blog-read-link {
  margin-top: 1rem;
}

/* Case study filters */
.case-filters {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  border: 0;
  padding: 0;
  margin: 0;
}

.filter-group-label {
  float: left;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #475569;
  min-width: 5.5rem;
  margin: 0;
  padding: 0;
  width: auto;
}

.filter-btn {
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: #ffffff;
  color: #334155;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
}

.filter-btn:hover {
  border-color: var(--brand-blue);
}

.filter-btn[aria-pressed="true"] {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #ffffff;
}

.case-count {
  font-size: 0.9rem;
  color: #475569;
  margin-bottom: 1.5rem;
}

.case-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}

.case-tags a {
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  text-decoration: none;
}

.case-tags a:hover {
  color: var(--brand-blue);
}

/* Technology & software */
.software-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-orange-text);
  background: var(--brand-orange-light);
  border: 1px solid rgba(245, 130, 31, 0.3);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
}

.page-hero-sm .software-label {
  background: #ffffff;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.product-card .product-logo {
  height: 44px;
  width: auto;
  align-self: flex-start;
  margin-bottom: 1.25rem;
}

.product-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
}

.product-card p {
  color: #475569;
}

.product-card .product-actions {
  margin-top: auto;
  padding-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.product-card-pending {
  background: #f8fafc;
  border-style: dashed;
  box-shadow: none;
}

.screenshot-figure {
  margin: 0;
}

.screenshot-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #0b1424;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.18);
}

.screenshot-figure figcaption {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 0.75rem;
}

.offchox-feature {
  background:
    radial-gradient(circle at 90% 10%, rgba(245, 130, 31, 0.12), transparent 30%),
    #f8fbff;
  border-top: 1px solid #edf2f7;
  border-bottom: 1px solid #edf2f7;
}

.offchox-wordmark {
  height: 52px;
  width: auto;
}

.feature-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.feature-check-list li {
  display: flex;
  gap: 0.7rem;
  color: #334155;
}

.feature-check-list li i {
  color: var(--brand-blue);
  margin-top: 0.3rem;
  flex-shrink: 0;
}

.notice-panel {
  border-left: 4px solid var(--brand-blue);
  background: var(--brand-blue-light);
  border-radius: 0 16px 16px 0;
  padding: 1.25rem 1.5rem;
  color: #1e293b;
}

.notice-panel p:last-child {
  margin-bottom: 0;
}

/* Contact form */
.contact-form .form-label {
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.4rem;
}

.contact-form .form-label .optional {
  font-weight: 400;
  color: #64748b;
}

.contact-form .form-select {
  border-radius: 16px;
  border: 1px solid #dbe3ee;
  padding: 0.95rem 2.5rem 0.95rem 1rem;
}

.contact-form .form-control.is-invalid,
.contact-form .form-select.is-invalid {
  border-color: var(--brand-red-dark);
}

.contact-form .invalid-feedback {
  display: block;
  color: var(--brand-red-dark);
}

.contact-form .invalid-feedback:empty {
  display: none;
}

.form-status {
  border-radius: 14px;
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.form-status-error {
  background: var(--brand-red-light);
  color: #8f2a20;
  border: 1px solid rgba(226, 87, 74, 0.3);
}

.form-success-panel {
  background: var(--brand-green-light);
  border: 1px solid rgba(47, 158, 110, 0.3);
  border-radius: 20px;
  padding: 2rem;
  color: #14532d;
}

.form-success-panel:focus {
  outline: 3px solid var(--brand-green-dark);
  outline-offset: 2px;
}

.form-note {
  font-size: 0.9rem;
  color: #475569;
}

.form-note a {
  color: var(--brand-blue);
}

/* Honeypot field: off-screen for people, still present for bots */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Insights */
.blog-card {
  position: relative;
}

.blog-card-title a {
  color: inherit;
  text-decoration: none;
}

.blog-card-title a:hover {
  color: var(--brand-blue);
}

.empty-state {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background: #ffffff;
  border: 1px dashed rgba(148, 163, 184, 0.6);
  border-radius: 24px;
  padding: 2.5rem 2rem;
}

.empty-state p:last-child {
  margin-bottom: 0;
}

.category-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
}

/* Error page */
.error-panel {
  max-width: 620px;
  padding: 4rem 0;
}

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

  .service-card,
  .blog-card,
  .service-card:hover,
  .blog-card:hover {
    transition: none;
    transform: none;
  }
}

/* Headings that replaced h6 elements for a correct outline */
.value-item h3,
.hero-feature h3,
.contact-detail-item h3 {
  margin-bottom: 0.3rem;
  font-weight: 700;
  color: #0f172a;
}

.legal-content h2 {
  margin-top: 2rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: #0f172a;
}

/* Links use the brand blue (Bootstrap's default blue fails contrast on the pastel panels) */
:root {
  --bs-link-color: #1d4ed8;
  --bs-link-color-rgb: 29, 78, 216;
  --bs-link-hover-color: #123875;
  --bs-link-hover-color-rgb: 18, 56, 117;
}

.metric-card span,
.card-blue .post-meta,
.card-orange .post-meta,
.card-green .post-meta,
.card-red .post-meta {
  color: #475569;
}

/* Bootstrap's g-5 gutter is wider than the container padding on phones and causes sideways scrolling */
@media (max-width: 575.98px) {
  .row.g-5 {
    --bs-gutter-x: 1.5rem;
  }
}

/* The offchox logo is yellow artwork for dark backgrounds, so it always sits on a dark tile */
.offchox-logo-tile {
  display: inline-flex;
  align-self: flex-start;
  background: #0b1424;
  border-radius: 14px;
  padding: 0.6rem 0.8rem;
  margin-bottom: 1.25rem;
}

.offchox-logo-tile img {
  display: block;
  margin: 0;
}

.hero-panel-card h2 {
  color: #0f172a;
}

/* Keep the hero's first line clear of the fixed header */
.hero-section {
  padding-top: 72px;
}

/* Page banners: keep the section label clear of the fixed header on phones */
@media (max-width: 768px) {
  .page-hero-sm {
    padding-top: 6.5rem;
  }
}

/* ==========================================================================
   Banner photos. Files follow <page>-<subject>-<width>.<ext>; licences: docs/IMAGE-LICENCES.md
   Desktop/tablet (768px and up): the large file. Phones: the 960 px file on 1x screens and the large
   file on 2x+ screens. WebP with a JPEG fallback; the plain url() line is for browsers without image-set().
   ========================================================================== */

.hero-section {
  background-image:
    linear-gradient(100deg, rgba(18, 56, 117, 0.86) 0%, rgba(18, 56, 117, 0.68) 42%, rgba(18, 56, 117, 0.28) 100%),
    url('../img/hero/home-airliner-taxiing-fog-1920.jpg');
  background-image:
    linear-gradient(100deg, rgba(18, 56, 117, 0.86) 0%, rgba(18, 56, 117, 0.68) 42%, rgba(18, 56, 117, 0.28) 100%),
    image-set(url('../img/hero/home-airliner-taxiing-fog-1920.webp') type('image/webp'), url('../img/hero/home-airliner-taxiing-fog-1920.jpg') type('image/jpeg'));
}

@media (max-width: 767.98px) {
  .hero-section {
    background-image:
      linear-gradient(100deg, rgba(18, 56, 117, 0.86) 0%, rgba(18, 56, 117, 0.68) 42%, rgba(18, 56, 117, 0.28) 100%),
      url('../img/hero/home-airliner-taxiing-fog-960.jpg');
    background-image:
      linear-gradient(100deg, rgba(18, 56, 117, 0.86) 0%, rgba(18, 56, 117, 0.68) 42%, rgba(18, 56, 117, 0.28) 100%),
      image-set(url('../img/hero/home-airliner-taxiing-fog-960.webp') 1x type('image/webp'), url('../img/hero/home-airliner-taxiing-fog-1920.webp') 2x type('image/webp'), url('../img/hero/home-airliner-taxiing-fog-960.jpg') 1x type('image/jpeg'), url('../img/hero/home-airliner-taxiing-fog-1920.jpg') 2x type('image/jpeg'));
  }
}

.hero-image-services {
  background-image:
    linear-gradient(100deg, rgba(18, 56, 117, 0.82) 0%, rgba(18, 56, 117, 0.58) 100%),
    url('../img/hero/services-airport-terminal-1920.jpg');
  background-image:
    linear-gradient(100deg, rgba(18, 56, 117, 0.82) 0%, rgba(18, 56, 117, 0.58) 100%),
    image-set(url('../img/hero/services-airport-terminal-1920.webp') type('image/webp'), url('../img/hero/services-airport-terminal-1920.jpg') type('image/jpeg'));
}

@media (max-width: 767.98px) {
  .hero-image-services {
    background-image:
      linear-gradient(100deg, rgba(18, 56, 117, 0.82) 0%, rgba(18, 56, 117, 0.58) 100%),
      url('../img/hero/services-airport-terminal-960.jpg');
    background-image:
      linear-gradient(100deg, rgba(18, 56, 117, 0.82) 0%, rgba(18, 56, 117, 0.58) 100%),
      image-set(url('../img/hero/services-airport-terminal-960.webp') 1x type('image/webp'), url('../img/hero/services-airport-terminal-1920.webp') 2x type('image/webp'), url('../img/hero/services-airport-terminal-960.jpg') 1x type('image/jpeg'), url('../img/hero/services-airport-terminal-1920.jpg') 2x type('image/jpeg'));
  }
}

.hero-image-cases {
  background-image:
    linear-gradient(100deg, rgba(18, 56, 117, 0.82) 0%, rgba(18, 56, 117, 0.58) 100%),
    url('../img/hero/case-studies-airliner-ground-equipment-1600.jpg');
  background-image:
    linear-gradient(100deg, rgba(18, 56, 117, 0.82) 0%, rgba(18, 56, 117, 0.58) 100%),
    image-set(url('../img/hero/case-studies-airliner-ground-equipment-1600.webp') type('image/webp'), url('../img/hero/case-studies-airliner-ground-equipment-1600.jpg') type('image/jpeg'));
}

@media (max-width: 767.98px) {
  .hero-image-cases {
    background-image:
      linear-gradient(100deg, rgba(18, 56, 117, 0.82) 0%, rgba(18, 56, 117, 0.58) 100%),
      url('../img/hero/case-studies-airliner-ground-equipment-960.jpg');
    background-image:
      linear-gradient(100deg, rgba(18, 56, 117, 0.82) 0%, rgba(18, 56, 117, 0.58) 100%),
      image-set(url('../img/hero/case-studies-airliner-ground-equipment-960.webp') 1x type('image/webp'), url('../img/hero/case-studies-airliner-ground-equipment-1600.webp') 2x type('image/webp'), url('../img/hero/case-studies-airliner-ground-equipment-960.jpg') 1x type('image/jpeg'), url('../img/hero/case-studies-airliner-ground-equipment-1600.jpg') 2x type('image/jpeg'));
  }
}

.hero-image-insights {
  background-image:
    linear-gradient(100deg, rgba(18, 56, 117, 0.82) 0%, rgba(18, 56, 117, 0.58) 100%),
    url('../img/hero/insights-departures-board-1600.jpg');
  background-image:
    linear-gradient(100deg, rgba(18, 56, 117, 0.82) 0%, rgba(18, 56, 117, 0.58) 100%),
    image-set(url('../img/hero/insights-departures-board-1600.webp') type('image/webp'), url('../img/hero/insights-departures-board-1600.jpg') type('image/jpeg'));
}

@media (max-width: 767.98px) {
  .hero-image-insights {
    background-image:
      linear-gradient(100deg, rgba(18, 56, 117, 0.82) 0%, rgba(18, 56, 117, 0.58) 100%),
      url('../img/hero/insights-departures-board-960.jpg');
    background-image:
      linear-gradient(100deg, rgba(18, 56, 117, 0.82) 0%, rgba(18, 56, 117, 0.58) 100%),
      image-set(url('../img/hero/insights-departures-board-960.webp') 1x type('image/webp'), url('../img/hero/insights-departures-board-1600.webp') 2x type('image/webp'), url('../img/hero/insights-departures-board-960.jpg') 1x type('image/jpeg'), url('../img/hero/insights-departures-board-1600.jpg') 2x type('image/jpeg'));
  }
}

.hero-image-ops {
  background-image:
    linear-gradient(100deg, rgba(18, 56, 117, 0.84) 0%, rgba(18, 56, 117, 0.6) 100%),
    url('../img/services/airline-operations-baggage-loading-1600.jpg');
  background-image:
    linear-gradient(100deg, rgba(18, 56, 117, 0.84) 0%, rgba(18, 56, 117, 0.6) 100%),
    image-set(url('../img/services/airline-operations-baggage-loading-1600.webp') type('image/webp'), url('../img/services/airline-operations-baggage-loading-1600.jpg') type('image/jpeg'));
}

@media (max-width: 767.98px) {
  .hero-image-ops {
    background-image:
      linear-gradient(100deg, rgba(18, 56, 117, 0.84) 0%, rgba(18, 56, 117, 0.6) 100%),
      url('../img/services/airline-operations-baggage-loading-960.jpg');
    background-image:
      linear-gradient(100deg, rgba(18, 56, 117, 0.84) 0%, rgba(18, 56, 117, 0.6) 100%),
      image-set(url('../img/services/airline-operations-baggage-loading-960.webp') 1x type('image/webp'), url('../img/services/airline-operations-baggage-loading-1600.webp') 2x type('image/webp'), url('../img/services/airline-operations-baggage-loading-960.jpg') 1x type('image/jpeg'), url('../img/services/airline-operations-baggage-loading-1600.jpg') 2x type('image/jpeg'));
  }
}

.hero-image-crew {
  background-image:
    linear-gradient(100deg, rgba(18, 56, 117, 0.84) 0%, rgba(18, 56, 117, 0.6) 100%),
    url('../img/services/crew-control-centre-dusk-1083.jpg');
  background-image:
    linear-gradient(100deg, rgba(18, 56, 117, 0.84) 0%, rgba(18, 56, 117, 0.6) 100%),
    image-set(url('../img/services/crew-control-centre-dusk-1083.webp') type('image/webp'), url('../img/services/crew-control-centre-dusk-1083.jpg') type('image/jpeg'));
}

@media (max-width: 767.98px) {
  .hero-image-crew {
    background-image:
      linear-gradient(100deg, rgba(18, 56, 117, 0.84) 0%, rgba(18, 56, 117, 0.6) 100%),
      url('../img/services/crew-control-centre-dusk-960.jpg');
    background-image:
      linear-gradient(100deg, rgba(18, 56, 117, 0.84) 0%, rgba(18, 56, 117, 0.6) 100%),
      image-set(url('../img/services/crew-control-centre-dusk-960.webp') 1x type('image/webp'), url('../img/services/crew-control-centre-dusk-1083.webp') 2x type('image/webp'), url('../img/services/crew-control-centre-dusk-960.jpg') 1x type('image/jpeg'), url('../img/services/crew-control-centre-dusk-1083.jpg') 2x type('image/jpeg'));
  }
}

.hero-image-safety {
  background-image:
    linear-gradient(100deg, rgba(18, 56, 117, 0.84) 0%, rgba(18, 56, 117, 0.6) 100%),
    url('../img/services/safety-flight-checklist-1600.jpg');
  background-image:
    linear-gradient(100deg, rgba(18, 56, 117, 0.84) 0%, rgba(18, 56, 117, 0.6) 100%),
    image-set(url('../img/services/safety-flight-checklist-1600.webp') type('image/webp'), url('../img/services/safety-flight-checklist-1600.jpg') type('image/jpeg'));
}

@media (max-width: 767.98px) {
  .hero-image-safety {
    background-image:
      linear-gradient(100deg, rgba(18, 56, 117, 0.84) 0%, rgba(18, 56, 117, 0.6) 100%),
      url('../img/services/safety-flight-checklist-960.jpg');
    background-image:
      linear-gradient(100deg, rgba(18, 56, 117, 0.84) 0%, rgba(18, 56, 117, 0.6) 100%),
      image-set(url('../img/services/safety-flight-checklist-960.webp') 1x type('image/webp'), url('../img/services/safety-flight-checklist-1600.webp') 2x type('image/webp'), url('../img/services/safety-flight-checklist-960.jpg') 1x type('image/jpeg'), url('../img/services/safety-flight-checklist-1600.jpg') 2x type('image/jpeg'));
  }
}

.hero-image-tech {
  background-image:
    linear-gradient(100deg, rgba(18, 56, 117, 0.84) 0%, rgba(18, 56, 117, 0.6) 100%),
    url('../img/services/technology-airline-operations-centre-1083.jpg');
  background-image:
    linear-gradient(100deg, rgba(18, 56, 117, 0.84) 0%, rgba(18, 56, 117, 0.6) 100%),
    image-set(url('../img/services/technology-airline-operations-centre-1083.webp') type('image/webp'), url('../img/services/technology-airline-operations-centre-1083.jpg') type('image/jpeg'));
}

@media (max-width: 767.98px) {
  .hero-image-tech {
    background-image:
      linear-gradient(100deg, rgba(18, 56, 117, 0.84) 0%, rgba(18, 56, 117, 0.6) 100%),
      url('../img/services/technology-airline-operations-centre-960.jpg');
    background-image:
      linear-gradient(100deg, rgba(18, 56, 117, 0.84) 0%, rgba(18, 56, 117, 0.6) 100%),
      image-set(url('../img/services/technology-airline-operations-centre-960.webp') 1x type('image/webp'), url('../img/services/technology-airline-operations-centre-1083.webp') 2x type('image/webp'), url('../img/services/technology-airline-operations-centre-960.jpg') 1x type('image/jpeg'), url('../img/services/technology-airline-operations-centre-1083.jpg') 2x type('image/jpeg'));
  }
}

/* About: the original Bigstock photo is only 900 px wide; one file serves every screen until a larger original is supplied */
.hero-image-about {
  background-image:
    linear-gradient(100deg, rgba(18, 56, 117, 0.82) 0%, rgba(18, 56, 117, 0.58) 100%),
    url('../img/hero/about-airliner-blue-sky-900.jpg');
  background-image:
    linear-gradient(100deg, rgba(18, 56, 117, 0.82) 0%, rgba(18, 56, 117, 0.58) 100%),
    image-set(url('../img/hero/about-airliner-blue-sky-900.webp') type('image/webp'), url('../img/hero/about-airliner-blue-sky-900.jpg') type('image/jpeg'));
}

/* Client carousel: pause/play control and pause on hover or keyboard focus (WCAG 2.2.2) */
.logo-carousel.is-paused .logo-track,
.trusted-by-strip:focus-within .logo-track {
  animation-play-state: paused;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  margin-top: 1.25rem;
}

.carousel-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.5);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
}

.carousel-toggle:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

/* Reduced motion: a static, wrapped list without the duplicate names used for the loop */
@media (prefers-reduced-motion: reduce) {
  .logo-carousel {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .logo-track {
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 1rem;
  }

  .logo-track [aria-hidden="true"] {
    display: none;
  }
}

/* Contact page: field hint and company information (Phase 1.1) */
.form-hint {
  font-size: 0.85rem;
  color: #475569;
  margin-top: 0.35rem;
}

.company-info-panel {
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 24px;
  padding: 1.5rem;
}

.company-info-panel h3 {
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.company-info-panel dt {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #475569;
  margin-top: 0.6rem;
}

.company-info-panel dt:first-child {
  margin-top: 0;
}

.company-info-panel dd {
  color: #334155;
  margin: 0.15rem 0 0;
}

/* Cookie consent banner and preferences (assets/js/consent.js). Shown to first-time visitors; Google Analytics only loads after consent. */
.consent-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2000;
  max-width: 920px;
  margin: 0 auto;
  padding: 1.1rem 1.25rem;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
}

.consent-banner[hidden] {
  display: none;
}

.consent-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.consent-text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #334155;
}

.consent-text strong {
  color: #0f172a;
}

.consent-text a {
  color: var(--brand-blue);
}

.consent-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.consent-actions .btn[aria-pressed="true"] {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

@media (max-width: 767.98px) {
  .consent-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .consent-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .consent-actions .btn {
    flex: 1 1 0;
  }
}

.footer-link-button {
  background: none;
  border: 0;
  padding: 0;
  color: #64748b;
  font-size: 0.9rem;
}

.footer-link-button:hover {
  color: #1d4ed8;
}

/* Three-way cookie choice (Phase 1.2): text above, buttons below, preferences in between when opened */
.consent-inner {
  flex-direction: column;
  align-items: stretch;
  gap: 0.9rem;
}

.consent-title {
  margin: 0 0 0.3rem;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.consent-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.consent-actions .btn[hidden] {
  display: none;
}

.consent-prefs {
  display: grid;
  gap: 0.75rem;
}

.consent-prefs[hidden] {
  display: none;
}

.consent-category {
  padding: 0.8rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
}

.consent-category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.consent-category-title {
  margin: 0;
  font-weight: 600;
  color: #0f172a;
}

.consent-always {
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
}

.consent-category .form-switch .form-check-input {
  width: 2.6em;
  height: 1.4em;
  margin: 0;
  cursor: pointer;
}

.consent-category-text {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #334155;
}

.consent-category-text code {
  color: #0f172a;
}

@media (max-width: 767.98px) {
  .consent-banner {
    max-height: calc(100vh - 20px);
    padding: 1rem;
  }

  /* Reject and Accept side by side, equal width; Manage or Save on its own row above */
  .consent-actions .btn {
    flex: 1 1 0;
    min-height: 44px;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
    white-space: nowrap;
  }

  .consent-actions [data-consent-action="manage"],
  .consent-actions [data-consent-action="save"] {
    flex-basis: 100%;
  }
}

/* Contact form security check (Cloudflare Turnstile, assets/js/form.js). Hidden until a site key is set. */
.captcha-field[hidden] {
  display: none;
}

.captcha-box {
  min-height: 65px;
}

.captcha-hint {
  margin: 0;
  font-size: 0.88rem;
  color: #475569;
}

.captcha-error {
  margin-top: 0.4rem;
  font-size: 0.875rem;
  color: #b91c1c;
}

.captcha-error:empty {
  display: none;
}

/* offchox lifestyle imagery: office scenes with genuine offchox screens composited in (Phase 1.2) */
.lifestyle-figure img {
  background: none;
  border: 0;
  border-radius: 20px;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.18);
}

.lifestyle-figure figcaption,
.phones-figure figcaption {
  font-weight: 600;
  color: #334155;
}

.phones-figure {
  max-width: 432px;
}

.phones-figure img {
  background: none;
  border: 0;
  box-shadow: none;
}

.phones-figure figcaption {
  text-align: center;
}

/* ===== Phase 1.3 homepage refinements ===== */

/* Services: every card the same height at every breakpoint, 18px headings, stronger description text */
.services-grid {
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-auto-rows: 1fr;
  gap: 1.5rem;
}

.services-grid > * {
  width: auto;
  max-width: none;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.services-grid .service-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
}

.services-grid .service-card h3 {
  font-size: 1.125rem;
  line-height: 1.35;
}

.services-grid .service-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #334155;
}

.services-grid .service-card .blog-read-link {
  margin-top: auto;
  padding-top: 1rem;
}

/* Client logos: genuine logos at an even optical size, in their own colours */
.logo-carousel {
  padding: 0.75rem 0;
}

.logo-carousel:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: -3px;
}

.logo-track {
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 3.5rem;
  animation-duration: 48s;
}

.client-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  height: 64px;
}

.client-logo img {
  display: block;
  max-width: none;
}

.client-logo-text span {
  font-size: 1.15rem;
  font-weight: 700;
  color: #334155;
  white-space: nowrap;
}

@media (max-width: 575.98px) {
  .logo-track {
    gap: 2.5rem;
  }

}

@media (prefers-reduced-motion: reduce) {
  .logo-track {
    gap: 1.5rem 2.5rem;
  }
}

/* offchox homepage section in dark mode, consistent with offchox.com (homepage only) */
.offchox-feature-dark {
  background:
    radial-gradient(circle at 88% 12%, rgba(245, 130, 31, 0.16), transparent 34%),
    radial-gradient(circle at 8% 92%, rgba(103, 232, 249, 0.07), transparent 30%),
    linear-gradient(180deg, #0b1222 0%, #111a2e 100%);
  border-top: 0;
  border-bottom: 0;
  color: #cbd5e4;
}

.offchox-feature-dark .section-label {
  color: #fdba74;
}

.offchox-feature-dark .software-label {
  color: #fdba74;
  background: rgba(253, 186, 116, 0.1);
  border-color: rgba(253, 186, 116, 0.35);
}

.offchox-feature-dark .section-title {
  color: #ffffff;
}

.offchox-feature-dark .section-text {
  color: #cbd5e4;
}

.offchox-feature-dark .offchox-logo-tile {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.offchox-feature-dark .lifestyle-figure img {
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
  outline: 1px solid rgba(255, 255, 255, 0.08);
}

.offchox-feature-dark .lifestyle-figure figcaption {
  color: #a5b3c8;
}

.btn-outline-on-dark {
  color: #ffffff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.btn-outline-on-dark:hover,
.btn-outline-on-dark:active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.85);
}

.offchox-feature-dark a:focus-visible,
.offchox-feature-dark .btn:focus-visible {
  outline-color: #ffffff;
}

.logo-disclaimer {
  max-width: 620px;
  margin: 1rem auto 0;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #475569;
}

/* ===== Phase 1.4: offchox branding on dark backgrounds ===== */

/* The offchox logo is a transparent PNG (yellow artwork). On dark sections it needs no tile behind it. */
.offchox-feature-dark .offchox-logo-tile,
.offchox-intro-dark .offchox-logo-tile {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

/* offchox page: hero and product introduction form one dark area, in the homepage offchox section's palette */
.offchox-hero-dark {
  /* fixed-size glow that fades out inside the hero, so there is no seam where the introduction starts */
  background:
    radial-gradient(560px 240px at 88% 0%, rgba(245, 130, 31, 0.16), transparent 100%),
    #0b1222;
  border-bottom: 0;
}

/* the hero fits its content (no fixed height), so the badge and the logo below it sit a comfortable distance apart */
.offchox-hero-dark {
  height: auto;
  padding-bottom: 1.25rem;
}

.offchox-hero-dark + .offchox-intro-dark {
  padding-top: 1.5rem;
}

@media (max-width: 768px) {
  .offchox-hero-dark {
    padding-bottom: 1rem;
  }
}

.offchox-hero-dark .section-label,
.offchox-intro-dark .section-label {
  color: #fdba74;
}

.offchox-hero-dark .software-label {
  color: #fdba74;
  background: rgba(253, 186, 116, 0.1);
  border-color: rgba(253, 186, 116, 0.35);
}

.offchox-intro-dark {
  background:
    radial-gradient(circle at 8% 92%, rgba(103, 232, 249, 0.07), transparent 30%),
    linear-gradient(180deg, #0b1222 0%, #111a2e 100%);
  color: #cbd5e4;
}

.offchox-intro-dark .section-title {
  color: #ffffff;
}

.offchox-intro-dark .lead-intro {
  color: #eef2f8;
}

.offchox-intro-dark .section-text {
  color: #cbd5e4;
}

.offchox-intro-dark .lifestyle-figure img {
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
  outline: 1px solid rgba(255, 255, 255, 0.08);
}

.offchox-intro-dark .lifestyle-figure figcaption {
  color: #a5b3c8;
}

.offchox-intro-dark a:focus-visible {
  outline-color: #ffffff;
}

/* offchox page "In the application": centred stage, a restrained navy panel around the genuine crew portal image.
   The image stays at its sharp size (432 px; source 872 px). Scenes C and D join later as more .app-stage panels. */
.app-stages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.app-stage {
  flex: 0 1 600px;
  max-width: 100%;
  padding: 2rem 1.5rem;
  border-radius: 28px;
  background:
    radial-gradient(420px 200px at 50% 0%, rgba(103, 232, 249, 0.07), transparent 100%),
    linear-gradient(180deg, #0b1222 0%, #111a2e 100%);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.14);
}

.app-stage .phones-figure {
  margin-bottom: 0;
}

@media (max-width: 575.98px) {
  .app-stage {
    padding: 1.5rem 1rem;
    border-radius: 20px;
  }
}

/* ===== Phase 1.5 stage 1: About, Technology, Contact, Footer ===== */

/* About: leadership biography in a readable panel over an aviation photograph */
.leadership-section {
  background-color: #1f2a44;
  background-image:
    linear-gradient(180deg, rgba(11, 18, 34, 0.35) 0%, rgba(11, 18, 34, 0.55) 100%),
    url('../img/hero/about-leadership-wing-above-clouds-1920.jpg');
  background-image:
    linear-gradient(180deg, rgba(11, 18, 34, 0.35) 0%, rgba(11, 18, 34, 0.55) 100%),
    image-set(url('../img/hero/about-leadership-wing-above-clouds-1920.webp') type('image/webp'), url('../img/hero/about-leadership-wing-above-clouds-1920.jpg') type('image/jpeg'));
  background-size: cover;
  background-position: center 40%;
}

@media (max-width: 767.98px) {
  .leadership-section {
    background-image:
      linear-gradient(180deg, rgba(11, 18, 34, 0.35) 0%, rgba(11, 18, 34, 0.55) 100%),
      url('../img/hero/about-leadership-wing-above-clouds-960.jpg');
    background-image:
      linear-gradient(180deg, rgba(11, 18, 34, 0.35) 0%, rgba(11, 18, 34, 0.55) 100%),
      image-set(url('../img/hero/about-leadership-wing-above-clouds-960.webp') 1x type('image/webp'), url('../img/hero/about-leadership-wing-above-clouds-1920.webp') 2x type('image/webp'), url('../img/hero/about-leadership-wing-above-clouds-960.jpg') 1x type('image/jpeg'), url('../img/hero/about-leadership-wing-above-clouds-1920.jpg') 2x type('image/jpeg'));
  }
}

.leadership-panel {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 24px 50px rgba(11, 18, 34, 0.25);
}

.leadership-panel .section-text {
  color: #334155;
}

@media (max-width: 575.98px) {
  .leadership-panel {
    padding: 1.5rem;
    border-radius: 20px;
  }
}

.leadership-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0a66c2;
  text-decoration: none;
}

.leadership-linkedin:hover {
  text-decoration: underline;
}

/* About: Who We Support as restrained coloured cards with icons */
.sector-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  height: 100%;
  box-shadow: none;
}

.sector-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #ffffff;
  font-size: 1rem;
}

.sector-card.card-blue .sector-icon { color: var(--brand-blue); }
.sector-card.card-orange .sector-icon { color: var(--brand-orange-dark); }
.sector-card.card-green .sector-icon { color: var(--brand-green-dark); }
.sector-card.card-red .sector-icon { color: var(--brand-red-dark); }

/* Technology: a wide, prominent offchox presentation on navy (software, kept separate from consulting) */
.product-feature {
  padding: 2.75rem;
  border-radius: 28px;
  color: #cbd5e4;
  background:
    radial-gradient(520px 260px at 92% 0%, rgba(245, 130, 31, 0.14), transparent 100%),
    linear-gradient(180deg, #0b1222 0%, #111a2e 100%);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.16);
}

.product-feature-logo {
  display: block;
  height: 52px;
  width: auto;
  margin-bottom: 1.25rem;
}

.product-feature h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
}

.product-feature p {
  color: #cbd5e4;
}

.product-feature .software-label {
  color: #fdba74;
  background: rgba(253, 186, 116, 0.1);
  border-color: rgba(253, 186, 116, 0.35);
}

.product-feature .product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.product-feature .lifestyle-figure img {
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
  outline: 1px solid rgba(255, 255, 255, 0.08);
}

.product-feature .lifestyle-figure figcaption {
  color: #a5b3c8;
}

.product-feature a:focus-visible,
.product-feature .btn:focus-visible {
  outline-color: #ffffff;
}

@media (max-width: 575.98px) {
  .product-feature {
    padding: 1.5rem;
    border-radius: 20px;
  }
}

/* Contact: aviation photograph in the blue hero, as on the service pages */
.hero-image-contact {
  background-image:
    linear-gradient(100deg, rgba(18, 56, 117, 0.86) 0%, rgba(18, 56, 117, 0.62) 100%),
    url('../img/hero/contact-airliner-on-approach-1920.jpg');
  background-image:
    linear-gradient(100deg, rgba(18, 56, 117, 0.86) 0%, rgba(18, 56, 117, 0.62) 100%),
    image-set(url('../img/hero/contact-airliner-on-approach-1920.webp') type('image/webp'), url('../img/hero/contact-airliner-on-approach-1920.jpg') type('image/jpeg'));
}

@media (max-width: 767.98px) {
  .hero-image-contact {
    background-image:
      linear-gradient(100deg, rgba(18, 56, 117, 0.86) 0%, rgba(18, 56, 117, 0.62) 100%),
      url('../img/hero/contact-airliner-on-approach-960.jpg');
    background-image:
      linear-gradient(100deg, rgba(18, 56, 117, 0.86) 0%, rgba(18, 56, 117, 0.62) 100%),
      image-set(url('../img/hero/contact-airliner-on-approach-960.webp') 1x type('image/webp'), url('../img/hero/contact-airliner-on-approach-1920.webp') 2x type('image/webp'), url('../img/hero/contact-airliner-on-approach-960.jpg') 1x type('image/jpeg'), url('../img/hero/contact-airliner-on-approach-1920.jpg') 2x type('image/jpeg'));
  }
}

.company-info-panel address {
  font-style: normal;
}

/* Footer: compact offchox card (authentic transparent logo on navy, no separate tile) */
.footer-offchox-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 1.5rem;
  border-radius: 20px;
  background:
    radial-gradient(260px 140px at 100% 0%, rgba(245, 130, 31, 0.14), transparent 100%),
    linear-gradient(180deg, #0b1222 0%, #111a2e 100%);
  color: #cbd5e4;
  text-decoration: none;
}

.footer-offchox-card img {
  height: 40px;
  width: auto;
}

.footer-offchox-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fdba74;
}

.footer-offchox-link {
  font-weight: 600;
  color: #ffffff;
}

.footer-offchox-card:hover .footer-offchox-link {
  text-decoration: underline;
}

.footer-offchox-card:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: 3px;
}

/* Phase 1.5 (P2): comfortable line length for the full-width notice panels, about 75 characters per line.
   (1ch is the width of "0"; Inter's average prose character is narrower, so 60ch gives about 75 characters.) */
.notice-panel p {
  max-width: 60ch;
}

/* Case Studies: region map (Phase 1.5). Static SVG from Natural Earth public-domain data, loaded from this site only. */
.case-map {
  margin: 0 0 1.5rem;
}

.case-map-canvas {
  position: relative;
  aspect-ratio: 1000 / 470;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 24px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

.case-map-canvas svg {
  position: absolute;
  inset: 1rem;
  width: calc(100% - 2rem);
  height: calc(100% - 2rem);
}

.map-land { fill: #dde5f0; }
.map-region { fill: #a9c2e8; }
.map-region.is-on { fill: var(--brand-blue); }
.map-region.is-dim { fill: #cdd9ea; }

.case-map-markers {
  position: absolute;
  inset: 1rem;
}

/* Each marker is a transparent touch area (44 x 44 px, or the largest square that does not overlap a neighbour; sized by
   case-studies.js) around the visible dot. The region name sits just below the dot. */
.map-marker {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
}

.map-marker-count {
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #ffffff;
  border: 2px solid var(--brand-blue);
  color: var(--brand-blue);
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
}

.map-marker-name {
  position: absolute;
  top: calc(50% + 19px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 6px;
  padding: 0 5px;
  white-space: nowrap;
}

.map-marker[aria-pressed="true"] .map-marker-count {
  background: var(--brand-blue);
  border-color: #ffffff;
  color: #ffffff;
  box-shadow: 0 0 0 2px var(--brand-blue), 0 4px 12px rgba(15, 23, 42, 0.25);
}

.map-marker[aria-disabled="true"] .map-marker-count {
  border-color: #94a3b8;
  color: #64748b;
}

.map-marker:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: -2px;
}

.map-marker-europe { left: 52.92%; top: 23.70%; }
.map-marker-middle-east { left: 62.37%; top: 40.06%; }
.map-marker-south-asia { left: 71.18%; top: 42.81%; }
.map-marker-southeast-asia { left: 79.36%; top: 52.42%; }
.map-marker-east-asia { left: 79.43%; top: 33.18%; }
.map-marker-south-america { left: 33.53%; top: 68.84%; }

.case-map-note {
  margin: 0.6rem 0 0;
  font-size: 0.85rem;
  color: #475569;
}

@media (max-width: 575.98px) {
  .case-map-canvas { border-radius: 16px; }
  .case-map-canvas svg, .case-map-markers { inset: 0.25rem; }
  .case-map-canvas svg { width: calc(100% - 0.5rem); height: calc(100% - 0.5rem); }
  .map-marker-name { display: none; }
  .map-marker-count { min-width: 24px; height: 24px; padding: 0 5px; font-size: 0.72rem; border-width: 1.5px; }
}

/* Phase 1.5: Contact hero supporting text in white for strong contrast on the blue overlay
   (at least 4.7:1 against the brightest part of the photo behind it, typically about 9:1) */
.hero-subtitle-strong {
  color: #ffffff;
}

/* Case Studies: the region chosen on the map is shown (and can be cleared) in the Region filter */
.filter-btn-map[hidden] {
  display: none;
}

.filter-btn-map .filter-btn-map-clear {
  margin-left: 0.35rem;
  font-weight: 700;
}

/* Technology: the authentic logo is the visible title of the product panel (the h3 stays for screen readers) */
.product-feature .software-label {
  margin-bottom: 1rem;
}

/* ===== Phase 2: Insights (landing page and articles) ===== */
.insight-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
}

.insight-category {
  color: var(--brand-blue);
  font-weight: 700;
}

.insight-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.09);
}

.insight-card picture,
.insight-card-img {
  display: block;
}

.insight-card-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.insight-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.4rem 1.5rem 1.6rem;
}

.insight-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.insight-card-title a {
  color: #0f172a;
  text-decoration: none;
}

.insight-card-title a:hover {
  color: var(--brand-blue);
}

.insight-card-excerpt {
  margin: 0;
  font-size: 0.95rem;
  color: #475569;
}

.insight-featured {
  position: relative;
  margin-top: 2.5rem;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.insight-featured picture,
.insight-featured-img {
  display: block;
  height: 100%;
}

.insight-featured-img {
  width: 100%;
  object-fit: cover;
  min-height: 260px;
}

.insight-featured-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
  justify-content: center;
  padding: 2.25rem;
}

.insight-featured-label {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-orange-text);
  background: var(--brand-orange-light);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
}

.insight-featured-title {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
}

.insight-featured-title a {
  color: #0f172a;
  text-decoration: none;
}

.insight-featured-body p {
  margin: 0;
  color: #475569;
}

.insights-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.insights-services a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 1.25rem;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 16px;
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
}

.insights-services a:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

/* Articles */
.article-hero {
  background: #f8fbff;
  border-bottom: 1px solid #edf2f7;
  padding: 8rem 0 2.5rem;
}

.article-container {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.article-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  font-size: 0.85rem;
  color: #475569;
}

.article-breadcrumb li + li::before {
  content: "/";
  margin-right: 0.4rem;
  color: #94a3b8;
}

.article-breadcrumb a {
  color: var(--brand-blue);
}

.article-title {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin: 0.75rem 0 1rem;
}

.article-standfirst {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #334155;
  margin-bottom: 1rem;
}

.article-byline {
  font-size: 0.9rem;
  font-weight: 600;
  color: #475569;
  margin: 0;
}

.article-cover {
  max-width: 1040px;
  margin: 2.5rem auto 0;
}

.article-cover img,
.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.14);
}

.article-cover figcaption,
.article-figure figcaption {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: #475569;
}

.article-body {
  padding: 2.5rem 0 1rem;
  font-size: 1.075rem;
  line-height: 1.75;
  color: #1e293b;
}

.article-body h2 {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.3;
  color: #0f172a;
  margin: 2.5rem 0 0.9rem;
}

.article-body p,
.article-body ul,
.article-body ol {
  margin-bottom: 1.2rem;
}

.article-body li {
  margin-bottom: 0.45rem;
}

.article-body a:not(.btn) {
  color: var(--brand-blue);
}

.article-figure {
  margin: 2rem 0;
}

.article-figure-narrow {
  max-width: 432px;
  margin-left: auto;
  margin-right: auto;
}

.article-figure-narrow img {
  box-shadow: none;
}

.article-offchox-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin: 2.5rem 0 1rem;
  padding: 2rem;
  border-radius: 22px;
  color: #cbd5e4;
  background:
    radial-gradient(420px 220px at 100% 0%, rgba(245, 130, 31, 0.16), transparent 100%),
    linear-gradient(180deg, #0b1222 0%, #111a2e 100%);
}

.article-offchox-cta img {
  height: 44px;
  width: auto;
}

.article-offchox-cta p {
  margin: 0;
  color: #cbd5e4;
}

.article-offchox-cta .btn:focus-visible {
  outline-color: #ffffff;
}

.article-related-services {
  border-top: 1px solid #e2e8f0;
  padding: 1.5rem 0;
}

.article-related-services h2 {
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.article-related-services ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.article-related-services a {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
}

.article-related-services a:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.article-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1rem 0 4rem;
}

.article-pager-link {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 16px;
  text-decoration: none;
  color: #0f172a;
}

.article-pager-link:hover {
  border-color: var(--brand-blue);
}

.article-pager-next {
  grid-column: 2;
  text-align: right;
}

.article-pager-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-blue);
}

.article-pager-title {
  font-weight: 600;
  line-height: 1.35;
}

@media (max-width: 767.98px) {
  .article-hero {
    padding: 6.5rem 0 2rem;
  }

  .article-standfirst {
    font-size: 1.08rem;
  }

  .article-pager {
    grid-template-columns: 1fr;
  }

  .article-pager-next {
    grid-column: 1;
  }

  .insight-featured-body {
    padding: 1.5rem;
  }

  .insight-featured-title {
    font-size: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .insight-card,
  .insight-card:hover {
    transition: none;
    transform: none;
  }
}

/* Phase 2: room for the Insights link in the desktop header. Items never wrap; when the Insights link is present,
   link spacing tightens slightly on 1200-1399 px screens so the header stays on one line (live header unchanged otherwise). */
@media (min-width: 1200px) {
  .site-header .nav-link-pro,
  .site-header .btn {
    white-space: nowrap;
  }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .site-header .navbar-nav:has(a[href="/insights/"]) .nav-link-pro {
    padding-left: 0.6rem !important;
    padding-right: 0.6rem !important;
  }
}
