/* ============================================================
   Checkpoint Quality Assurance — style.css
   Version 3.0 | Conversion-optimised | GOV.UK a11y patterns
   ============================================================ */

/* ---- Variables ---- */
:root {
  /* Brand */
  --navy:          #08142B;
  --navy-mid:      #0F2548;
  --navy-light:    #1A3A6B;
  --blue:          #2B7FFF;
  --blue-dark:     #1A6FEF;
  --blue-shadow:   #1657C5;
  --amber:         #F59E0B;
  --amber-dark:    #D97706;
  --amber-shadow:  #B45309;

  /* Neutrals */
  --text:          #0F172A;
  --text-muted:    #64748B;
  --border:        #E2E8F0;
  --bg:            #F8F9FA;
  --bg-alt:        #F1F5F9;
  --white:         #FFFFFF;

  /* Focus */
  --focus:         #F59E0B;

  /* Layout */
  --max-w:         1200px;
  --content-w:     760px;
  --pad-x:         clamp(16px, 4vw, 40px);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
button { font-family: inherit; }
hr { border: none; border-top: 1px solid var(--border); }

/* ============================================================
   SKIP LINK (GOV.UK pattern)
   ============================================================ */

.skip-link {
  position: absolute;
  top: -200%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--amber);
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus {
  top: 1rem;
  outline: 3px solid var(--navy);
  outline-offset: 2px;
}

/* ============================================================
   FOCUS
   ============================================================ */

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

/* ============================================================
   LAYOUT
   ============================================================ */

.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */

.label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.text-muted  { color: var(--text-muted); }
.text-white  { color: var(--white); }
.text-amber  { color: var(--amber); }
.text-blue   { color: var(--blue); }

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.875rem 1.75rem;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  top: 0;
  white-space: nowrap;
  transition: background 100ms ease, border-color 100ms ease,
              top 80ms ease, box-shadow 80ms ease;
}
.btn:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

/* Primary — amber */
.btn--primary {
  background: var(--amber);
  color: var(--navy);
  border-color: var(--amber);
  box-shadow: 0 3px 0 var(--amber-shadow);
}
.btn--primary:hover {
  background: var(--amber-dark);
  border-color: var(--amber-dark);
  color: var(--navy);
  text-decoration: none;
}
.btn--primary:active { top: 2px; box-shadow: none; }

/* Secondary — blue */
.btn--secondary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: 0 3px 0 var(--blue-shadow);
}
.btn--secondary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: var(--white);
  text-decoration: none;
}
.btn--secondary:active { top: 2px; box-shadow: none; }

/* Ghost white — dark backgrounds */
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
  box-shadow: none;
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.65);
  color: var(--white);
  text-decoration: none;
}

/* Ghost blue — light backgrounds */
.btn--outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
  box-shadow: none;
}
.btn--outline:hover {
  background: rgba(43,127,255,0.06);
  color: var(--blue-dark);
  text-decoration: none;
}

/* Sizes */
.btn--sm { padding: 0.625rem 1.25rem; font-size: 14px; }
.btn--lg { padding: 1rem 2rem; font-size: 18px; }

/* Arrow */
.btn--arrow::after { content: ' →'; }

/* Full width */
.btn--full { width: 100%; justify-content: center; }

/* ============================================================
   TAGS / BADGES
   ============================================================ */

.tag {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  line-height: 1.4;
}
.tag--blue         { background: #DBEAFE; color: #1E40AF; }
.tag--amber        { background: #FEF3C7; color: #92400E; }
.tag--green        { background: #D1FAE5; color: #065F46; }
.tag--grey         { background: var(--bg-alt); color: #475569; }
.tag--navy         { background: var(--navy); color: var(--white); }
.tag--amber-solid  { background: var(--amber); color: var(--navy); }
.tag--white {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
}

/* ============================================================
   HEADER — sticky
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 3px solid var(--blue);
  transition: box-shadow 200ms ease;
}
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
}
.site-header__inner {
  display: flex;
  align-items: center;
  height: 68px;
  gap: 1rem;
}
.site-header__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 800;
  font-size: 15px;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.site-header__logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--blue);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}
.site-header__logo:hover { color: rgba(255,255,255,0.85); text-decoration: none; }
.site-header__logo:hover .site-header__logo-mark { background: var(--blue-dark); }

.site-header__nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}
.site-header__nav a {
  display: block;
  padding: 0.5rem 0.875rem;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 120ms ease, border-color 120ms ease;
}
.site-header__nav a:hover,
.site-header__nav a.active {
  color: var(--white);
  border-bottom-color: var(--amber);
}

.site-header__cta {
  margin-left: 1.25rem;
  flex-shrink: 0;
}

/* Hamburger */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--white);
  margin-left: auto;
}
.nav-toggle__icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 22px;
}
.nav-toggle__icon span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  background: var(--navy);
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 90% at 75% 50%, rgba(43,127,255,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 72px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1.5rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}
.hero__eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

.hero__heading {
  font-size: clamp(42px, 5.5vw, 66px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.035em;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero__heading em {
  font-style: normal;
  color: var(--amber);
}

.hero__lede {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.72;
  color: rgba(255,255,255,0.66);
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero__trust {
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Credential panel */
.hero__panel {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.1);
  border-top: 3px solid var(--amber);
  flex-shrink: 0;
}
.hero__panel-header {
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber);
}
.hero__panel-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hero__panel-item:last-child { border-bottom: none; }
.hero__panel-bar {
  width: 3px;
  min-height: 22px;
  align-self: stretch;
  background: var(--blue);
  flex-shrink: 0;
  margin-top: 3px;
}
.hero__panel-bar--amber { background: var(--amber); }
.hero__panel-item strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 3px;
}
.hero__panel-item span {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  line-height: 1.4;
}

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */

.page-header {
  background: var(--navy);
  padding: 44px 0 40px;
  border-bottom: 3px solid var(--blue);
}
.page-header__caption {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber);
  margin-bottom: 0.5rem;
}
.page-header__heading {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 0.625rem;
}
.page-header__lede {
  font-size: 18px;
  color: rgba(255,255,255,0.62);
  line-height: 1.65;
  max-width: 680px;
}

/* ============================================================
   BREADCRUMB (GOV.UK pattern)
   ============================================================ */

.breadcrumb {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 0.625rem 0;
}
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 0.5rem;
  font-size: 14px;
}
.breadcrumb__list li + li::before {
  content: '/';
  color: var(--text-muted);
  margin-right: 0.5rem;
}
.breadcrumb__list a { color: var(--text-muted); text-decoration: none; }
.breadcrumb__list a:hover { color: var(--blue); text-decoration: underline; }
.breadcrumb__list [aria-current="page"] { color: var(--text); }

/* ============================================================
   SECTIONS
   ============================================================ */

.section        { padding: 72px 0; }
.section--sm    { padding: 48px 0; }
.section--alt   { background: var(--bg); }
.section--dark  { background: var(--navy); }

.section__header { margin-bottom: 3rem; }

.section__caption {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 0.5rem;
}
.section--dark .section__caption { color: var(--amber); }

.section__heading {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.section--dark .section__heading { color: var(--white); }

.section__lede {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 640px;
}
.section--dark .section__lede { color: rgba(255,255,255,0.6); }

/* ============================================================
   GRID UTILITIES
   ============================================================ */

.grid        { display: grid; gap: 1.5rem; }
.grid--2     { grid-template-columns: repeat(2, 1fr); }
.grid--3     { grid-template-columns: repeat(3, 1fr); }
.grid--4     { grid-template-columns: repeat(4, 1fr); }
.grid--2-1   { grid-template-columns: 2fr 1fr; }
.grid--1-2   { grid-template-columns: 1fr 2fr; }
.grid--3-2   { grid-template-columns: 3fr 2fr; }
.grid--top   { align-items: start; }
.grid--center { align-items: center; }

/* ============================================================
   CARDS
   ============================================================ */

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
  padding: 1.75rem 1.875rem;
  transition: border-top-color 140ms ease, box-shadow 140ms ease;
}
.card:hover {
  border-top-color: var(--amber);
  box-shadow: 0 6px 24px rgba(0,0,0,0.07);
}

.card--left {
  border-top: 1px solid var(--border);
  border-left: 4px solid var(--blue);
}
.card--left:hover {
  border-left-color: var(--amber);
  box-shadow: 0 6px 24px rgba(0,0,0,0.07);
}
.card--amber { border-left-color: var(--amber) !important; }

.card__num {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.625rem;
}
.card__heading {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 0.625rem;
}
.card__body {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.card__price {
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.card__price-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.card__link {
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.card__link::after { content: ' →'; margin-left: 2px; }
.card__link:hover { color: var(--blue-dark); text-decoration: underline; }

/* ============================================================
   DIFFERENTIATOR STRIP
   ============================================================ */

.diff-strip { background: var(--navy-mid); padding: 52px 0; }
.diff-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.diff-item {
  padding-left: 1.25rem;
  border-left: 3px solid var(--blue);
}
.diff-item__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin-bottom: 0.375rem;
}
.diff-item__heading {
  font-size: 19px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.diff-item__body {
  font-size: 14px;
  color: rgba(255,255,255,0.48);
  line-height: 1.65;
}

/* ============================================================
   SERVICE QUICK NAV
   ============================================================ */

.service-quicknav {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.service-quicknav__list {
  display: flex;
  white-space: nowrap;
}
.service-quicknav__list a {
  display: block;
  padding: 0.875rem 1.125rem;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  flex-shrink: 0;
  transition: color 120ms ease, border-color 120ms ease;
}
.service-quicknav__list a:hover {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

/* ============================================================
   SERVICE BLOCKS
   ============================================================ */

.service-block {
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}
.service-block:last-child { border-bottom: none; }

.service-block__layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  align-items: start;
}

.service-block__num {
  font-size: 52px;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 0.5rem;
}
.service-block__heading {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 0.875rem;
}
.service-block__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.service-block__problem {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 1.25rem;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--amber);
  background: #FFFBEB;
}
.service-block__desc {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.service-block__deliverables-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.625rem;
}

/* ============================================================
   TICK LIST
   ============================================================ */

.list-tick {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.list-tick li {
  display: flex;
  gap: 0.625rem;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
}
.list-tick li::before {
  content: '✓';
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================================
   TEMPLATE BLOCKS
   ============================================================ */

.template-block {
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}
.template-block:last-child { border-bottom: none; }
.template-block__layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  align-items: start;
}
.template-block__price {
  font-size: 44px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 0.25rem;
}
.template-block__price-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

/* ============================================================
   SUMMARY LIST (GOV.UK pattern)
   ============================================================ */

.summary-list { border-top: 1px solid var(--border); }
.summary-list__row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
}
.summary-list__key { font-weight: 700; color: var(--text); }
.summary-list__value { color: var(--text-muted); }

/* ============================================================
   INSET TEXT (GOV.UK pattern)
   ============================================================ */

.inset {
  border-left: 5px solid var(--border);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}
.inset--blue  { border-left-color: var(--blue); background: #EFF6FF; }
.inset--amber { border-left-color: var(--amber); background: #FFFBEB; }
.inset--grey  { border-left-color: var(--border); background: var(--bg); }
.inset p { font-size: 15px; line-height: 1.65; }

/* ============================================================
   TIMELINE
   ============================================================ */

.timeline {
  position: relative;
  padding-left: 2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--border);
}
.timeline__item { position: relative; padding-bottom: 2.5rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: '';
  position: absolute;
  left: -2rem; top: 8px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--blue);
  border: 2px solid var(--white);
  outline: 2px solid var(--blue);
  margin-left: -4px;
}
.timeline__period {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 0.375rem;
}
.timeline__role {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.timeline__org {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.625rem;
}
.timeline__body {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   PROFILE
   ============================================================ */

.profile {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 2.5rem;
  align-items: start;
}
.profile__photo {
  width: 180px;
  height: 180px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.profile__initials {
  font-size: 48px;
  font-weight: 800;
  color: rgba(255,255,255,0.15);
  letter-spacing: -0.05em;
}
.profile__name {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.profile__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 1rem;
}
.profile__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 1rem;
}

/* ============================================================
   CONTACT
   ============================================================ */

.contact-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.contact-item:first-child { border-top: 1px solid var(--border); }
.contact-item__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}
.contact-item__value {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}
.contact-item__meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 0.125rem;
}

.process-steps { display: flex; flex-direction: column; }
.process-step {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.process-step:last-child { border-bottom: none; }
.process-step__num {
  width: 28px; height: 28px;
  background: var(--blue);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.process-step__heading {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.process-step__body {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   FORMS (GOV.UK pattern)
   ============================================================ */

.form-group { margin-bottom: 1.5rem; }

.form-label {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.375rem;
}
.form-label--l { font-size: 18px; }
.form-hint {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.form-optional {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 14px;
  margin-left: 0.375rem;
}

.form-input,
.form-select,
.form-textarea {
  display: block;
  width: 100%;
  padding: 0.75rem 0.875rem;
  font-size: 16px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  border: 2px solid #6B7280;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 120ms ease;
  line-height: 1.4;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: 3px solid var(--focus);
  outline-offset: 0;
  border-color: var(--focus);
}
.form-input::placeholder,
.form-textarea::placeholder { color: #9CA3AF; }
.form-textarea { resize: vertical; line-height: 1.6; }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath fill='%236B7280' d='M8 10L0 0h16z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ============================================================
   CTA SECTION
   ============================================================ */

.cta-section {
  background: var(--navy);
  padding: 72px 0;
  text-align: center;
}
.cta-section__heading {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 0.875rem;
}
.cta-section__body {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  max-width: 540px;
  margin: 0 auto 2.25rem;
}
.cta-section__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: #050D1B;
  padding: 56px 0 28px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 1.5rem;
}
.site-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 800;
  font-size: 15px;
  color: var(--white);
  text-decoration: none;
  margin-bottom: 0.875rem;
}
.site-footer__tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.38);
  line-height: 1.65;
  max-width: 260px;
}
.site-footer__col-heading {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.875rem;
}
.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.site-footer__links a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 120ms ease;
}
.site-footer__links a:hover { color: var(--white); }
.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}
.sc-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.sc-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
}

/* ============================================================
   MOBILE FLOATING CTA
   ============================================================ */

.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  background: var(--navy);
  border-top: 2px solid var(--blue);
  padding: 0.875rem 1rem;
}

/* ============================================================
   SPACING UTILITIES
   ============================================================ */

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.text-center { text-align: center; }
.divider { border: none; border-top: 1px solid var(--border); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1100px) {
  .hero__inner      { grid-template-columns: 1fr; }
  .hero__panel      { display: none; }
  .diff-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .service-block__layout  { grid-template-columns: 1fr; gap: 1.5rem; }
  .template-block__layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .grid--3-2 { grid-template-columns: 1fr; }
  .grid--2-1 { grid-template-columns: 1fr; }
  .grid--1-2 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section     { padding: 48px 0; }
  .cta-section { padding: 52px 0; }
  .hero        { padding: 48px 0 44px; }

  .grid--3 { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .profile  { grid-template-columns: 1fr; }
  .diff-strip__grid { grid-template-columns: 1fr; }

  .site-header__nav { display: none; }
  .site-header__cta { display: none; }
  .nav-toggle       { display: flex; }
  .mobile-cta       { display: block; }
  body              { padding-bottom: 72px; }

  .hero__actions            { flex-direction: column; align-items: stretch; }
  .hero__actions .btn       { justify-content: center; }
  .cta-section__actions     { flex-direction: column; align-items: center; }
  .cta-section__actions .btn { width: 100%; max-width: 380px; justify-content: center; }

  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

@media (max-width: 480px) {
  .grid--4 { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
}

/* Mobile nav open state */
.site-header__nav.is-open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 68px; left: 0; right: 0; bottom: 0;
  background: var(--navy);
  padding: 1.5rem;
  gap: 0.25rem;
  z-index: 99;
  overflow-y: auto;
}
.site-header__nav.is-open a {
  padding: 1rem;
  font-size: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
