/* ==========================================================================
   Vanavil Calibrations — Design System
   ========================================================================== */

:root {
  /* Brand colors (derived from the Vanavil Calibrations logo) — blue is the
     primary UI colour, navy is reserved for headings/text and strong dark
     surfaces (footer, CTA), orange is reserved for calls to action. */
  --primary-color: #1769aa;      /* brand blue — primary UI colour */
  --primary-dark: #0e2a47;       /* primary navy — dark surfaces */
  --primary-light: #1e88e5;      /* bright blue — hover/accent */
  --secondary-color: #00a6a6;    /* teal — supporting accent */
  --accent-color: #f59e0b;       /* orange — CTA */
  --accent-dark: #e88900;        /* orange hover */

  --heading-color: #0e2a47;
  --body-color: #1e293b;
  --muted-color: #5f6b7a;

  --white: #ffffff;
  --light-background: #eef6fd;
  --light-background-alt: #f1f5f9;
  --border-color: #dce6ef;
  --dark-background: #0e2a47;
  --dark-background-alt: #123a5e;

  --success-color: #00a6a6;
  --danger-color: #d64545;

  /* Full brand colour family (from the Vanavil logo petals) */
  --brand-navy: #0e2a47;
  --brand-blue: #1769aa;
  --brand-blue-bright: #1e88e5;
  --brand-teal: #00a6a6;
  --brand-green: #39a96b;
  --brand-orange: #f59e0b;
  --brand-yellow: #f0b429;

  /* Text-safe variants — the bright accent hues above are for FILLS.
     On light backgrounds they fall below WCAG AA (teal 3.0:1, green 2.97:1),
     so text/label usage must use these darkened versions instead. */
  --brand-teal-text: #007370;
  --brand-green-text: #27794a;

  --background-blue-soft: #eef6fd;
  --background-teal-soft: #eaf9f8;
  --background-orange-soft: #fff5e8;
  --background-green-soft: #eff8f2;
  --background-yellow-soft: #fdf7e4;

  /* Typography */
  --font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, sans-serif;

  /* Spacing scale (8px base) */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-8: 64px;
  --space-10: 80px;
  --space-12: 96px;

  /* Layout */
  --container-width: 1240px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(15, 35, 64, 0.06), 0 1px 3px rgba(15, 35, 64, 0.08);
  --shadow-md: 0 8px 24px rgba(15, 35, 64, 0.10);
  --shadow-lg: 0 16px 48px rgba(15, 35, 64, 0.16);

  --transition: 200ms ease;
  --header-height: 84px;
}

/* ==========================================================================
   Reset
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@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;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-family);
  color: var(--body-color);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
picture,
svg {
  max-width: 100%;
  display: block;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

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

ul,
ol {
  list-style: none;
  padding: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.1rem, 1.7rem + 2vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.7rem, 1.5rem + 1vw, 2.4rem);
}

h3 {
  font-size: 1.3rem;
}

h4 {
  font-size: 1.1rem;
}

p {
  margin: 0 0 var(--space-2);
}

/* ==========================================================================
   Accessibility
   ========================================================================== */

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--primary-color);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top var(--transition);
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

.section {
  padding: var(--space-10) 0;
}

.section--tight {
  padding: var(--space-8) 0;
}

.section--alt {
  background: var(--light-background);
}

.section--dark {
  background: var(--dark-background);
  color: rgba(255, 255, 255, 0.78);
}

.section--dark h2,
.section--dark h3 {
  color: var(--white);
}

/* Section labels invert on dark surfaces — the default brand blue only
   reaches 2.5:1 against navy. */
.section--dark .section-label {
  color: #7fd8d1;
}

.section-header {
  max-width: 680px;
  margin: 0 0 var(--space-6);
}

.section-header--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: var(--space-2);
}

.section-label::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
  flex-shrink: 0;
}

/* Optional soft-pill presentation for a section label (opt-in) */
.section-label--pill {
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: var(--background-blue-soft);
}

.section-label--pill.section-label--teal { background: var(--background-teal-soft); }
.section-label--pill.section-label--green { background: var(--background-green-soft); }
.section-label--pill.section-label--orange { background: var(--background-orange-soft); }

.section-header p {
  color: var(--muted-color);
  font-size: 1.05rem;
  margin-top: var(--space-2);
}

.section--dark .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

.grid {
  display: grid;
  gap: var(--space-4);
}

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

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

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition),
    background var(--transition), border-color var(--transition), color var(--transition);
  white-space: nowrap;
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
  flex-shrink: 0;
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--accent-color);
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--accent-dark);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.85rem;
}

.btn-group {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.site-header.is-scrolled {
  box-shadow: 0 2px 20px rgba(10, 32, 56, 0.08);
  border-bottom-color: var(--border-color);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: var(--space-3);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand img {
  height: 46px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav-list a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--heading-color);
  padding: 8px 2px;
  position: relative;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-list a[aria-current="page"] {
  color: var(--primary-color);
}

.has-dropdown {
  position: relative;
}

.has-dropdown > button {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--heading-color);
  cursor: pointer;
  padding: 8px 2px;
}

.has-dropdown > button svg {
  width: 12px;
  height: 12px;
  transition: transform var(--transition);
}

.has-dropdown[data-open="true"] > button svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 170px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown[data-open="true"] .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--heading-color);
}

.dropdown-menu a:hover {
  background: var(--light-background);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--heading-color);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Breadcrumb
   ========================================================================== */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.breadcrumb a:hover {
  color: var(--white);
  text-decoration: underline;
}

.breadcrumb span[aria-hidden="true"] {
  color: rgba(255, 255, 255, 0.4);
}

.breadcrumb .current {
  color: var(--white);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  background: linear-gradient(180deg, var(--light-background) 0%, var(--white) 100%);
  overflow: hidden;
  padding: var(--space-10) 0 var(--space-12);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-8);
  align-items: center;
}

.hero-content .section-label {
  color: var(--brand-teal-text);
}

.hero-content h1 {
  margin-bottom: var(--space-3);
}

.hero-content p.lead {
  font-size: 1.15rem;
  color: var(--body-color);
  max-width: 540px;
  margin-bottom: var(--space-4);
}

.hero-media {
  position: relative;
}

.hero-media .media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  bottom: -22px;
  left: -22px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 260px;
}

.hero-badge .icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--light-background);
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-badge strong {
  display: block;
  color: var(--heading-color);
  font-size: 1rem;
}

.hero-badge span {
  font-size: 0.8rem;
  color: var(--muted-color);
}

/* Page hero (inner pages) */

.page-hero {
  background: linear-gradient(135deg, var(--dark-background) 0%, var(--primary-color) 100%);
  color: rgba(255, 255, 255, 0.85);
  padding: var(--space-6) 0 var(--space-8);
}

.page-hero .section-label {
  color: #7fd8d1;
}

.page-hero h1 {
  color: var(--white);
  margin: var(--space-2) 0 var(--space-2);
  max-width: 760px;
}

.page-hero p.lead {
  max-width: 620px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0;
}

/* ==========================================================================
   Trust strip / stats
   ========================================================================== */

.trust-strip {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  padding: var(--space-5) 0;
}

.trust-item {
  text-align: center;
  padding: 0 var(--space-2);
  border-left: 1px solid var(--border-color);
}

.trust-item:first-child {
  border-left: none;
}

.trust-item strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: -0.02em;
}

.trust-item span {
  font-size: 0.85rem;
  color: var(--muted-color);
  font-weight: 600;
}

/* ==========================================================================
   Cards
   ========================================================================== */

.card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.service-card .icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--light-background);
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.service-card .icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  margin-bottom: 2px;
}

.service-card p {
  color: var(--muted-color);
  font-size: 0.95rem;
  margin-bottom: var(--space-1);
}

.service-card .card-link {
  margin-top: auto;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-card .card-link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}

.service-card:hover .card-link svg {
  transform: translateX(4px);
}

.feature-card {
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
}

.feature-card .icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(28, 167, 160, 0.12);
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-card .icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h4 {
  margin-bottom: 4px;
}

.feature-card p {
  color: var(--muted-color);
  font-size: 0.92rem;
  margin: 0;
}

/* Industry card */

.industry-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-sm);
  color: var(--white);
}

.industry-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.industry-card:hover img {
  transform: scale(1.06);
}

.industry-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 32, 56, 0.05) 0%, rgba(8, 24, 44, 0.92) 100%);
}

.industry-card .industry-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--space-3);
  z-index: 2;
}

.industry-card h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.industry-card p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 10px;
}

.industry-card .card-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Stat card */

.stat-card {
  text-align: center;
  padding: var(--space-4) var(--space-2);
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--border-color);
}

.stat-card strong {
  display: block;
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--primary-color);
}

.stat-card span {
  font-size: 0.85rem;
  color: var(--muted-color);
  font-weight: 600;
}

/* Process step */

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.process-step {
  position: relative;
  padding: var(--space-4) var(--space-3);
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.process-step .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--white);
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: var(--space-2);
}

.process-step h4 {
  margin-bottom: 6px;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--muted-color);
  margin: 0;
}

/* Equipment card (calibration page) */

.equipment-card {
  text-align: center;
  padding: var(--space-3) var(--space-2);
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.equipment-card .thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--light-background);
  margin-bottom: var(--space-2);
}

.equipment-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.equipment-card span {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--heading-color);
}

/* ==========================================================================
   Accordion / Tabs
   ========================================================================== */

.accordion {
  border-top: 1px solid var(--border-color);
}

.accordion-item {
  border-bottom: 1px solid var(--border-color);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  background: none;
  border: none;
  text-align: left;
  padding: var(--space-3) 4px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--heading-color);
}

.accordion-trigger .plus {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.accordion-trigger .plus::before,
.accordion-trigger .plus::after {
  content: "";
  position: absolute;
  background: var(--primary-color);
  transition: transform var(--transition);
}

.accordion-trigger .plus::before {
  width: 10px;
  height: 2px;
}

.accordion-trigger .plus::after {
  width: 2px;
  height: 10px;
}

.accordion-trigger[aria-expanded="true"] .plus::after {
  transform: scaleY(0);
}

.accordion-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 280ms ease;
}

.accordion-panel .accordion-panel-inner {
  padding: 0 4px var(--space-3);
  color: var(--muted-color);
}

.accordion-panel ul {
  margin-top: 8px;
}

.accordion-panel li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.accordion-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--secondary-color);
}

/* Tabs */

.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--space-4);
}

.tabs-nav button {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--body-color);
  transition: all var(--transition);
}

.tabs-nav button[aria-selected="true"] {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.tab-panel[hidden] {
  display: none;
}

/* ==========================================================================
   Lists with check icons
   ========================================================================== */

.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 0.97rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(28, 167, 160, 0.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8.5L6.2 11.5L13 4.5' stroke='%231ca7a0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

/* ==========================================================================
   CTA section
   ========================================================================== */

.cta-section {
  background: linear-gradient(120deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 8px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0;
  max-width: 480px;
}

.cta-section .btn-group {
  flex-shrink: 0;
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--space-3);
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--heading-color);
}

.form-group label .req {
  color: var(--danger-color);
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--white);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(28, 167, 160, 0.15);
  outline: none;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: 0.8rem;
  color: var(--muted-color);
}

.form-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-md);
}

.file-drop {
  border: 1.5px dashed var(--border-color);
  border-radius: var(--radius-sm);
  padding: var(--space-3);
  text-align: center;
  color: var(--muted-color);
  font-size: 0.88rem;
  background: var(--light-background);
}

.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  background: rgba(28, 167, 160, 0.1);
  border: 1px solid rgba(28, 167, 160, 0.35);
  color: #0d6b64;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.form-success.is-visible {
  display: flex;
}

/* ==========================================================================
   Info cards (contact)
   ========================================================================== */

.info-card {
  display: flex;
  gap: var(--space-2);
  padding: var(--space-3);
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.info-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--light-background);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-card .icon svg {
  width: 22px;
  height: 22px;
}

.info-card h4 {
  margin-bottom: 4px;
}

.info-card p,
.info-card a {
  font-size: 0.92rem;
  color: var(--muted-color);
  margin: 0;
}

.info-card a:hover {
  color: var(--primary-color);
}

/* ==========================================================================
   Map
   ========================================================================== */

.map-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  aspect-ratio: 16 / 9;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--dark-background);
  color: rgba(255, 255, 255, 0.68);
  padding-top: var(--space-10);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr 1.1fr;
  gap: var(--space-5);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
  height: 42px;
  margin-bottom: var(--space-2);
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: var(--space-2);
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition);
}

.footer-social a:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-col h5 {
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-3);
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  font-size: 0.92rem;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--white);
}

.contact-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
}

.contact-line svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--secondary-color);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) 0;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a:hover {
  color: var(--white);
}

/* ==========================================================================
   Animations
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   Misc
   ========================================================================== */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}

.two-col .media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.two-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list li {
  display: inline-flex;
  list-style: none;
  padding: 6px 14px;
  background: var(--light-background);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-color);
  border: 1px solid var(--border-color);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 166, 35, 0.14);
  color: var(--accent-dark);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.divider {
  height: 1px;
  background: var(--border-color);
  border: none;
  margin: var(--space-6) 0;
}

.client-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  justify-content: space-between;
}

.client-strip .client-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted-color);
}

/* ==========================================================================
   PHASE 2 — Brand colour richness, section rhythm, hero enhancement
   ========================================================================== */

/* ---- Fix: oversized images inside two-column / hero layouts ---- */

.two-col .media-frame {
  aspect-ratio: 4 / 3;
  max-height: 560px;
}

.two-col .media-frame img {
  height: 100%;
}

.hero-media .media-frame {
  max-height: 560px;
}

/* ---- Section background rhythm (soft brand tints) ---- */

.section--blue-soft {
  background: var(--background-blue-soft);
}

.section--teal-soft {
  background: var(--background-teal-soft);
}

.section--orange-soft {
  background: var(--background-orange-soft);
}

.section--green-soft {
  background: var(--background-green-soft);
}

.section--yellow-soft {
  background: var(--background-yellow-soft);
}

/* ---- Section label colour variants ---- */

.section-label--blue { color: var(--brand-blue); }
.section-label--blue::before { background: var(--brand-blue); }
.section-label--teal { color: var(--brand-teal-text); }
.section-label--teal::before { background: var(--brand-teal); }
.section-label--green { color: var(--brand-green-text); }
.section-label--green::before { background: var(--brand-green); }
.section-label--orange { color: var(--accent-dark); }
.section-label--orange::before { background: var(--brand-orange); }

/* ---- Icon colour variants (service / feature card icons) ---- */

.icon--blue { background: var(--background-blue-soft) !important; color: var(--brand-blue) !important; }
.icon--teal { background: var(--background-teal-soft) !important; color: var(--brand-teal) !important; }
.icon--green { background: var(--background-green-soft) !important; color: var(--brand-green) !important; }
.icon--orange { background: var(--background-orange-soft) !important; color: var(--accent-dark) !important; }
.icon--yellow { background: var(--background-yellow-soft) !important; color: #a17a06 !important; }

/* ---- Badges (trust indicators) ---- */

.badge--blue { background: var(--background-blue-soft); color: var(--brand-blue); }
.badge--teal { background: var(--background-teal-soft); color: #0d6b64; }
.badge--green { background: var(--background-green-soft); color: #2f6b2f; }
.badge--yellow { background: var(--background-yellow-soft); color: #8a6a05; }

/* ==========================================================================
   HOME HERO — deep Vanavil-blue gradient with white content.
   Scoped to `.hero`, which is used only by index.html; every inner page
   uses `.page-hero` and is unaffected.
   ========================================================================== */

.hero {
  position: relative;
  background: linear-gradient(135deg, var(--brand-navy) 0%, #123a5e 45%, var(--brand-blue) 100%);
  isolation: isolate;
  overflow: hidden;
}

/* Soft blurred colour glows — teal top-right, orange bottom-left */

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 520px;
  height: 520px;
  top: -180px;
  right: -60px;
  background: radial-gradient(circle at 40% 40%, rgba(0, 166, 166, 0.38), rgba(0, 166, 166, 0) 68%);
}

.hero::after {
  width: 380px;
  height: 380px;
  bottom: -150px;
  left: -80px;
  background: radial-gradient(circle at 45% 45%, rgba(245, 158, 11, 0.24), rgba(245, 158, 11, 0) 70%);
}

.hero-dotgrid {
  position: absolute;
  z-index: -1;
  top: 48px;
  right: 3%;
  width: 190px;
  height: 190px;
  opacity: 0.55;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.42) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
  pointer-events: none;
}

/* ---- Hero typography inverted to white ---- */

/* Eyebrow is white, not teal: at this size (0.8rem) teal on the light end of
   the hero gradient only reaches 3.5:1. The coloured dot carries the accent. */
.hero .section-label,
.hero-content .section-label {
  color: var(--white);
}

.hero .section-label::before {
  background: #7fd8d1;
}

.hero-content h1 {
  color: var(--white);
  max-width: 640px;
}

.hero-content h1 .text-accent,
.hero-content h1 .text-accent--orange {
  color: #7fd8d1;
}

.hero-content p.lead {
  color: rgba(255, 255, 255, 0.86);
  max-width: 600px;
}

/* ---- Hero CTAs: solid orange primary, white-outline secondary ---- */

.hero .btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  color: var(--white);
}

/* ---- Trust chips: translucent white on the blue ---- */

.hero .hero-mini-badge {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--white);
  backdrop-filter: blur(4px);
}

/* ---- Image framing: soft accent glow behind a rounded frame ---- */

.hero .hero-media::before {
  background: linear-gradient(135deg, rgba(0, 166, 166, 0.5), rgba(30, 136, 229, 0.35));
  opacity: 1;
}

.hero .media-frame {
  box-shadow: 0 24px 60px rgba(5, 18, 33, 0.45);
}

/* The floating accreditation badge stays a white card for contrast */

.hero .hero-badge {
  box-shadow: 0 18px 44px rgba(5, 18, 33, 0.4);
}

.hero-media {
  isolation: isolate;
}

.hero-media::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -18px;
  border-radius: calc(var(--radius-lg) + 12px);
  background: linear-gradient(135deg, var(--background-teal-soft), var(--background-blue-soft));
  opacity: 0.9;
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: var(--space-3);
}

.hero-mini-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--heading-color);
}

.hero-mini-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-mini-badge .dot--blue { background: var(--brand-blue); }
.hero-mini-badge .dot--teal { background: var(--brand-teal); }
.hero-mini-badge .dot--orange { background: var(--brand-orange); }
.hero-mini-badge .dot--green { background: var(--brand-green); }

/* ---- Related services card strip ---- */

.related-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}

.related-service-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: var(--space-3);
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.related-service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.related-service-card .tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-teal-text);
}

.related-service-card h4 {
  font-size: 1rem;
  margin: 0;
}

.related-service-card .card-link {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---- Quick-answer callout (SEO page intro) ---- */

.answer-box {
  background: var(--background-blue-soft);
  border-left: 4px solid var(--brand-blue);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-3) var(--space-4);
  font-size: 1.02rem;
  color: var(--heading-color);
  margin: var(--space-3) 0;
}

.answer-box strong {
  color: var(--brand-navy);
}

/* ---- Footer: five-column SEO architecture ---- */

.footer-grid--wide {
  grid-template-columns: 1.2fr 0.85fr 1fr 1fr 0.9fr;
}

.footer-col h5 span {
  display: inline-block;
  width: 14px;
  height: 2px;
  background: var(--brand-orange);
  margin-right: 8px;
  vertical-align: middle;
}

@media (max-width: 1200px) {
  .related-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .footer-grid--wide {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero::before,
  .hero::after,
  .hero-dotgrid {
    display: none;
  }

  .two-col .media-frame {
    max-height: 340px;
  }

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

  .footer-grid--wide {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PHASE 3 — Colourful card system, brand-colour hero accent, hover polish
   ========================================================================== */

/* ---- Solid brand-colour "featured" cards ----
   Used sparingly (one or two per section) so most cards stay white/tinted. */

.card--navy,
.card--blue {
  border-color: transparent !important;
  color: rgba(255, 255, 255, 0.88);
}

/* !important: these are deliberate, hand-placed "featured card" overrides
   and must always win over the automatic icon-colour card tinting below. */
.card--navy { background: var(--primary-dark) !important; }
.card--blue { background: var(--primary-color) !important; }

.card--navy .icon, .card--blue .icon {
  background: rgba(255, 255, 255, 0.16) !important;
  color: var(--brand-orange) !important;
}

.card--navy h3, .card--navy h4, .card--navy h2,
.card--blue h3, .card--blue h4, .card--blue h2 {
  color: var(--white);
}

.card--navy p, .card--blue p,
.card--navy li, .card--blue li {
  color: rgba(255, 255, 255, 0.82);
}

.card--navy .icon, .card--blue .icon {
  background: rgba(255, 255, 255, 0.14);
  color: var(--brand-orange);
}

.card--navy .card-link, .card--blue .card-link {
  color: var(--white);
}

.card--navy .check-list li::before, .card--blue .check-list li::before {
  background: rgba(255, 255, 255, 0.18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8.5L6.2 11.5L13 4.5' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.card--navy:hover, .card--blue:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(14, 42, 71, 0.28);
}

/* ---- Soft tinted cards (the "supporting accent" tier) ---- */

.card--blue-soft { background: var(--background-blue-soft); border-color: transparent; }
.card--teal-soft { background: var(--background-teal-soft); border-color: transparent; }
.card--green-soft { background: var(--background-green-soft); border-color: transparent; }
.card--orange-soft { background: var(--background-orange-soft); border-color: transparent; }
.card--yellow-soft { background: var(--background-yellow-soft); border-color: transparent; }

/* ---- Outlined card (white + brand-blue border, fills on hover) ---- */

.card--outline-blue {
  background: var(--white);
  border: 1.5px solid var(--primary-color);
}

.card--outline-blue:hover {
  background: var(--background-blue-soft);
}

/* ==========================================================================
   BRAND CARD SYSTEM — solid Vanavil blue cards with white content.
   This is the site's primary card treatment: feature cards, service cards,
   process steps and plain info cards all render as solid brand-blue surfaces
   with white text/icons, differentiated only by a small accent detail drawn
   from the logo's secondary colours (teal / green / orange / yellow).
   Roughly 60-70% of branded UI stays blue; accents stay small on purpose.
   ========================================================================== */

.feature-card,
.service-card,
.process-step,
.grid-3 > .card:not(.stat-card):not(.equipment-card),
.grid-4 > .card:not(.stat-card):not(.equipment-card):not(.industry-card) {
  background: var(--brand-blue);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  color: rgba(255, 255, 255, 0.88);
}

.feature-card {
  padding: var(--space-3);
}

/* Text inside brand cards — all white for WCAG-safe contrast on blue */

.feature-card h2, .feature-card h3, .feature-card h4, .feature-card h5,
.service-card h2, .service-card h3, .service-card h4, .service-card h5,
.process-step h2, .process-step h3, .process-step h4, .process-step h5,
.grid-3 > .card:not(.stat-card):not(.equipment-card) h3,
.grid-3 > .card:not(.stat-card):not(.equipment-card) h4,
.grid-4 > .card:not(.stat-card):not(.equipment-card):not(.industry-card) h3,
.grid-4 > .card:not(.stat-card):not(.equipment-card):not(.industry-card) h4 {
  color: var(--white);
}

.feature-card p, .service-card p, .process-step p,
.grid-3 > .card:not(.stat-card):not(.equipment-card) p,
.grid-4 > .card:not(.stat-card):not(.equipment-card):not(.industry-card) p {
  color: rgba(255, 255, 255, 0.85) !important;
}

.service-card .card-link,
.feature-card .card-link,
.process-step .card-link {
  color: var(--white);
}

.service-card a:not(.btn),
.feature-card a:not(.btn),
.process-step a:not(.btn),
.grid-3 > .card:not(.stat-card):not(.equipment-card) a:not(.btn),
.grid-4 > .card:not(.stat-card):not(.equipment-card):not(.industry-card) a:not(.btn) {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Tag pills sitting inside a brand card need to invert too */

.service-card .tag-list li,
.feature-card .tag-list li {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
}

.service-card .tag-list li a,
.feature-card .tag-list li a {
  color: var(--white);
  text-decoration: none;
}

/* Check-lists inside brand cards */

.feature-card .check-list li::before,
.service-card .check-list li::before,
.process-step .check-list li::before {
  background: rgba(255, 255, 255, 0.18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8.5L6.2 11.5L13 4.5' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ---- Icons on brand cards: white glyph in a translucent well ----
   The icon--* classes now drive only the small accent detail, not the
   whole card background. */

.feature-card .icon,
.service-card .icon {
  background: rgba(255, 255, 255, 0.14) !important;
  color: var(--white) !important;
}

.feature-card .icon svg,
.service-card .icon svg {
  width: 24px;
  height: 24px;
}

.service-card .icon svg {
  width: 26px;
  height: 26px;
}

/* ---- Accent detail: a coloured top border keyed to the card's icon class.
   This is where the logo's secondary colours live. ---- */

.feature-card,
.service-card {
  border-top: 3px solid var(--brand-blue-bright);
}

.feature-card:has(.icon--teal), .service-card:has(.icon--teal) { border-top-color: var(--brand-teal); }
.feature-card:has(.icon--green), .service-card:has(.icon--green) { border-top-color: var(--brand-green); }
.feature-card:has(.icon--orange), .service-card:has(.icon--orange) { border-top-color: var(--brand-orange); }
.feature-card:has(.icon--yellow), .service-card:has(.icon--yellow) { border-top-color: var(--brand-yellow); }

/* ---- Process step number badge: accent-coloured, cycling through the
   logo palette by position so the six steps read as a set. ---- */

/* Badge text is deliberately navy on the mid-tone accents (teal/green/yellow/
   orange) — white on those hues only reaches ~3:1, which fails AA for text
   this size. Navy clears 4.5:1 on all four. */
.process-step .step-number {
  background: var(--brand-orange);
  color: var(--brand-navy);
}

.process-grid > .process-step:nth-child(6n+2) .step-number { background: var(--brand-teal); color: var(--brand-navy); }
.process-grid > .process-step:nth-child(6n+3) .step-number { background: var(--brand-green); color: var(--brand-navy); }
.process-grid > .process-step:nth-child(6n+4) .step-number { background: var(--brand-yellow); color: var(--brand-navy); }
.process-grid > .process-step:nth-child(6n+5) .step-number { background: var(--white); color: var(--brand-blue); }
.process-grid > .process-step:nth-child(6n+6) .step-number { background: var(--brand-orange); color: var(--brand-navy); }

/* ---- Plain info cards in 3/4-up grids get a cycling accent left border ---- */

.grid-3 > .card:not(.stat-card):not(.equipment-card):not(.feature-card):not(.service-card),
.grid-4 > .card:not(.stat-card):not(.equipment-card):not(.industry-card):not(.feature-card):not(.service-card) {
  border-left: 3px solid var(--brand-blue-bright);
}

.grid-3 > .card:nth-child(3n+2):not(.stat-card):not(.equipment-card),
.grid-4 > .card:nth-child(4n+2):not(.stat-card):not(.equipment-card):not(.industry-card) {
  border-left-color: var(--brand-teal);
}

.grid-3 > .card:nth-child(3n+3):not(.stat-card):not(.equipment-card),
.grid-4 > .card:nth-child(4n+3):not(.stat-card):not(.equipment-card):not(.industry-card) {
  border-left-color: var(--brand-green);
}

.grid-4 > .card:nth-child(4n+4):not(.stat-card):not(.equipment-card):not(.industry-card) {
  border-left-color: var(--brand-orange);
}

/* ---- Hover: subtle lift only (corporate, not flashy) ---- */

.feature-card:hover,
.service-card:hover,
.process-step:hover,
.grid-3 > .card:not(.stat-card):not(.equipment-card):hover,
.grid-4 > .card:not(.stat-card):not(.equipment-card):not(.industry-card):hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(14, 42, 71, 0.26);
  border-color: transparent;
}

/* ---- Brand cards sitting ON a tinted section keep enough separation ---- */

.section--blue-soft .feature-card,
.section--blue-soft .service-card,
.section--blue-soft .process-step {
  box-shadow: 0 2px 10px rgba(14, 42, 71, 0.10);
}

/* ---- Hero highlighted word/phrase ---- */

.text-accent {
  color: var(--primary-color);
}

.text-accent--orange {
  color: var(--accent-dark);
}

/* ---- Subtle brand-colour borders / hover lift (replace flat grey) ---- */

.card:hover,
.info-card:hover {
  border-color: var(--background-blue-soft);
}

.stat-card {
  border-color: var(--border-color);
}

.stat-card:hover {
  border-color: var(--background-blue-soft);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 480px) {
  .card--navy, .card--blue {
    text-align: left;
  }
}
