/* ==========================================================================
   Cylinder Testing Services — Design System
   Vanilla CSS. Mobile-first. No framework.
   ========================================================================== */

:root {
  /* Monochrome palette, matched to the Cylinder Testing Services Ltd. logo (black line-art on white) */
  --navy-900: #0a0a0a;
  --navy-800: #141414;
  --navy-700: #2b2b2b;
  --navy-600: #404040;
  --white: #ffffff;
  --grey-50: #f5f6f8;
  --grey-100: #eceef2;
  --grey-200: #dde1e8;
  --grey-300: #c3c9d3;
  --grey-500: #7a8494;
  --grey-600: #5b6472;
  --text: #142032;
  --success-bg: #e7f6ec;
  --success-text: #1c6b34;
  --error-bg: #fdecea;
  --error-text: #9a281f;
  --radius: 6px;
  --container-w: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --call-bar-h: 60px;
}

* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

@media (max-width: 767px) {
  body { padding-bottom: var(--call-bar-h); }
}

h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--navy-800);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 800;
}
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
a { color: var(--navy-800); text-decoration-color: var(--grey-300); }
a:hover { text-decoration-color: var(--navy-800); }
strong { color: var(--navy-800); }

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

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---- Accessibility helpers ---- */
.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;
}
.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -3rem;
  background: var(--navy-800);
  color: var(--white);
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  z-index: 1000;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 0.5rem;
  color: var(--white);
}
:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 2px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85em 1.4em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.1;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn--primary {
  background: var(--navy-800);
  color: var(--white);
  border-color: var(--navy-800);
}
.btn--primary:hover { background: var(--white); border-color: var(--navy-800); color: var(--navy-800); }
/* On dark sections a solid-black button would vanish into the background, so primary inverts to white there */
.hero .btn--primary,
.page-hero .btn--primary,
.cookie-banner .btn--primary {
  background: var(--white);
  color: var(--navy-800);
  border-color: var(--white);
}
.hero .btn--primary:hover,
.page-hero .btn--primary:hover,
.cookie-banner .btn--primary:hover {
  background: var(--grey-100);
  border-color: var(--grey-100);
  color: var(--navy-800);
}
.btn--secondary {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--navy-800);
}
.btn--secondary:hover { background: var(--navy-800); color: var(--white); }
.btn--on-navy {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--on-navy:hover { background: var(--white); color: var(--navy-800); }
.btn--outline {
  background: transparent;
  border-color: var(--grey-300);
  color: var(--navy-800);
}
.btn--outline:hover { border-color: var(--navy-800); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--white);
  border-bottom: 1px solid var(--grey-200);
}
.header-inner {
  display: flex;
  flex-wrap: wrap; /* lets the opened mobile menu drop onto its own full-width row */
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--navy-800);
  flex-shrink: 0;
}
.logo__img { height: 34px; width: auto; display: block; }

.header-actions { display: flex; align-items: center; gap: 0.75rem; order: 2; }
.header-phone {
  display: none;
  align-items: center;
  gap: 0.4em;
  font-weight: 700;
  color: var(--navy-800);
  text-decoration: none;
  white-space: nowrap;
}
.header-phone svg { fill: var(--navy-800); }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: var(--navy-800);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  position: relative;
  transition: transform 0.15s ease;
}
.nav-toggle__bars::before { position: absolute; top: -7px; }
.nav-toggle__bars::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: rotate(45deg); top: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: rotate(-45deg); top: 0; }

.primary-nav {
  order: 3;
  flex-basis: 100%;
  display: none;
}
.primary-nav.is-open {
  display: block;
  max-height: calc(100vh - 80px); /* keep long menus scrollable on short phone screens */
  overflow-y: auto;
}
.primary-nav > ul {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  border-top: 1px solid var(--grey-200);
}
.primary-nav > ul > li { border-bottom: 1px solid var(--grey-200); }
.primary-nav > ul > li > a,
.primary-nav summary {
  display: block;
  padding: 0.85rem 0.25rem;
  color: var(--navy-800);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  list-style: none;
}
.primary-nav summary::-webkit-details-marker { display: none; }
.primary-nav summary::after {
  content: "+";
  float: right;
  font-weight: 800;
  color: var(--navy-800);
}
.primary-nav details[open] summary::after { content: "\2212"; }
.primary-nav .nav-dropdown ul {
  list-style: none;
  margin: 0 0 0.5rem;
  padding: 0 0 0 1rem;
}
.primary-nav .nav-dropdown ul li a {
  display: block;
  padding: 0.6rem 0.25rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}
.primary-nav a[aria-current="page"] { font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.nav-cta { margin: 1rem 0.25rem; }

@media (min-width: 1000px) {
  .header-phone { display: inline-flex; }
  .nav-toggle { display: none; }
  .logo__img { height: 40px; }
  .header-inner { flex-wrap: nowrap; }
  .primary-nav { display: block; order: 2; flex-basis: auto; width: auto; max-height: none; overflow: visible; }
  .primary-nav > ul {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    border-top: none;
    margin: 0;
  }
  .primary-nav > ul > li { border-bottom: none; position: relative; }
  .primary-nav > ul > li > a,
  .primary-nav summary {
    padding: 0.6rem 0.7rem;
    border-radius: var(--radius);
    font-size: 0.95rem;
  }
  .primary-nav > ul > li > a:hover,
  .primary-nav summary:hover { background: var(--grey-50); }
  .primary-nav summary::after { content: "\25BE"; float: none; margin-left: 0.3em; }
  .primary-nav .nav-dropdown[open] summary::after { content: "\25B4"; }
  .nav-dropdown { position: relative; }
  .nav-dropdown ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(11,26,44,0.12);
    min-width: 260px;
    padding: 0.4rem !important;
    margin: 0.25rem 0 0 !important;
    z-index: 50;
  }
  .nav-dropdown ul li a { border-radius: 4px; padding: 0.55rem 0.7rem !important; }
  .nav-dropdown ul li a:hover { background: var(--grey-50); }
  .nav-cta { margin: 0 0 0 0.4rem; padding: 0.55em 1.1em; }
}

/* ==========================================================================
   Hero / stat band
   ========================================================================== */
.hero {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-800) 65%);
  color: var(--white);
  padding: 3rem 0 3.5rem;
}
.hero h1 { color: var(--white); }
.hero__sub { font-size: 1.15rem; color: var(--grey-100); max-width: 46em; }
.hero__eyebrow {
  display: inline-block;
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.page-hero {
  background: var(--navy-800);
  color: var(--white);
  padding: 2.75rem 0;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.4em; }
.page-hero p { color: var(--grey-100); max-width: 50em; font-size: 1.05rem; }
.breadcrumb {
  font-size: 0.85rem;
  color: var(--grey-300);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--grey-100); }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }

.stat-band {
  background: var(--navy-900);
  color: var(--white);
  padding: 2rem 0;
}
.stat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  text-align: center;
}
@media (min-width: 700px) {
  .stat-grid { grid-template-columns: repeat(4, 1fr); text-align: left; }
}
.stat-grid dt {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
}
.stat-grid dd { margin: 0.2em 0 0; color: var(--grey-100); font-size: 0.95rem; }

/* ==========================================================================
   Sections / cards
   ========================================================================== */
.section { padding: 3.25rem 0; }
.section--alt { background: var(--grey-50); }
.section-head { max-width: 46em; margin-bottom: 2rem; }
.section-head p { color: var(--grey-600); font-size: 1.05rem; }

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .card-grid--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 980px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.card h3 { margin-bottom: 0.25em; }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }
.card p { color: var(--grey-600); flex-grow: 1; }
.card .card-link { color: var(--navy-800); font-weight: 700; text-decoration: underline; }

.icon-badge {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--grey-50);
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--navy-800);
  flex-shrink: 0;
}
.icon-badge svg { fill: var(--navy-800); width: 24px; height: 24px; }

/* Industries strip */
.industry-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}
@media (min-width: 700px) { .industry-strip { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .industry-strip { grid-template-columns: repeat(6, 1fr); } }
.industry-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 1.1rem 0.75rem;
  text-decoration: none;
  color: var(--navy-800);
  font-weight: 700;
  font-size: 0.9rem;
}
.industry-chip:hover { border-color: var(--navy-800); background: var(--grey-50); }

/* How it works */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  counter-reset: step;
}
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding-left: 3.25rem; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 2.4rem; height: 2.4rem;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--white);
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}

/* Photo placeholders */
.img-placeholder {
  margin: 0;
  background: repeating-linear-gradient(135deg, var(--grey-100), var(--grey-100) 10px, var(--grey-200) 10px, var(--grey-200) 20px);
  border: 1px dashed var(--grey-300);
  border-radius: var(--radius);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}
.img-placeholder span {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  padding: 0.5rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--grey-600);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.img-placeholder--tall { min-height: 320px; }
.img-placeholder--wide { min-height: 260px; }

/* Table (cost comparison etc.) */
.table-wrap { overflow-x: auto; border: 1px solid var(--grey-200); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; min-width: 560px; }
th, td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid var(--grey-200); }
thead th { background: var(--navy-800); color: var(--white); }
tbody tr:nth-child(even) { background: var(--grey-50); }
tbody tr:last-child td { border-bottom: none; }
tbody th[scope="row"] { font-weight: 700; color: var(--navy-800); }

/* Comparison table: on phones, stack each row into a labelled block instead of scrolling sideways */
@media (max-width: 639px) {
  .compare-table { min-width: 0; }
  .compare-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare-table tr { display: block; padding: 0.9rem 1rem; border-bottom: 1px solid var(--grey-200); }
  .compare-table tbody tr:last-child { border-bottom: none; }
  .compare-table th[scope="row"] { display: block; padding: 0 0 0.5rem; border: none; font-size: 1.05rem; }
  .compare-table td { display: block; padding: 0.35rem 0; border: none; font-size: 0.95rem; }
  .compare-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--grey-600);
    margin-bottom: 0.1em;
  }
}

/* Callout / note */
.callout {
  background: var(--grey-50);
  border-left: 4px solid var(--navy-800);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  margin: 1.5rem 0;
}
.callout--verify { border-left-color: var(--error-text); background: var(--error-bg); }
.callout p:last-child { margin-bottom: 0; }
.tag-todo {
  display: inline-block;
  background: var(--error-text);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.15em 0.5em;
  border-radius: 3px;
  letter-spacing: 0.03em;
  vertical-align: middle;
}

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq-list { border-top: 1px solid var(--grey-200); }
.faq-item { border-bottom: 1px solid var(--grey-200); }
.faq-item summary {
  padding: 1.1rem 0.25rem;
  font-weight: 700;
  color: var(--navy-800);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--navy-800);
  font-weight: 800;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-answer { padding: 0 0.25rem 1.1rem; color: var(--grey-600); max-width: 60em; }

/* ==========================================================================
   Forms
   ========================================================================== */
.quote-section {
  background: var(--navy-800);
  color: var(--white);
  padding: 3.25rem 0;
  scroll-margin-top: 5rem;
}
.quote-section h2 { color: var(--white); }
.quote-section .section-head p { color: var(--grey-100); }
.quote-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  color: var(--text);
  max-width: 760px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 0.35rem; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-weight: 700; font-size: 0.9rem; }
.form-field .hint { font-weight: 400; color: var(--grey-600); font-size: 0.8rem; }
input, select, textarea {
  font: inherit;
  padding: 0.7em 0.8em;
  border: 1.5px solid var(--grey-300);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  width: 100%;
}
input:focus, select:focus, textarea:focus { border-color: var(--navy-800); }
textarea { resize: vertical; min-height: 100px; }
fieldset { border: 1.5px solid var(--grey-300); border-radius: var(--radius); padding: 0.75rem 0.9rem; margin: 0; }
legend { font-weight: 700; font-size: 0.9rem; padding: 0 0.4em; }
.radio-row { display: flex; gap: 1.25rem; margin-top: 0.35rem; }
.radio-row label { display: flex; align-items: center; gap: 0.4em; font-weight: 500; }
.radio-row input { width: auto; }
.check-grid { display: grid; grid-template-columns: 1fr; gap: 0.5rem 1.25rem; margin-top: 0.35rem; }
@media (min-width: 640px) { .check-grid { grid-template-columns: 1fr 1fr; } }
.check-grid label, .consent-row { display: flex; align-items: flex-start; gap: 0.5em; font-weight: 500; }
.check-grid input, .consent-row input { width: auto; margin-top: 0.3em; flex-shrink: 0; }
.form-field .consent-row { font-weight: 400; font-size: 0.9rem; }
fieldset.invalid { border-color: var(--error-text); }

/* honeypot — hidden from sighted users and keyboard tab order, left visible to bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-msg {
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  margin-top: 1rem;
  font-weight: 600;
  display: none;
}
.form-msg.is-visible { display: block; }
.form-msg--success { background: var(--success-bg); color: var(--success-text); }
.form-msg--error { background: var(--error-bg); color: var(--error-text); }
.field-error { color: var(--error-text); font-size: 0.8rem; min-height: 1.1em; margin: 0; }
.invalid { border-color: var(--error-text); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-900);
  color: var(--grey-100);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-heading { color: var(--white); font-size: 1rem; margin-bottom: 0.75em; }
.site-footer a { color: var(--grey-100); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer p { color: var(--grey-300); }
.footer-bottom {
  border-top: 1px solid var(--navy-700);
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--grey-500);
}

/* ==========================================================================
   Sticky mobile call bar
   ========================================================================== */
.call-bar {
  display: none;
}
@media (max-width: 767px) {
  .call-bar {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    height: var(--call-bar-h);
    z-index: 600;
    box-shadow: 0 -4px 14px rgba(11,26,44,0.18);
  }
  .call-bar__btn {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    text-decoration: none;
    font-size: 0.95rem;
  }
  .call-bar__btn--call { background: var(--navy-800); color: var(--white); }
  .call-bar__btn--quote { background: var(--white); color: var(--navy-800); border-left: 1px solid var(--navy-800); }
}

/* ==========================================================================
   Cookie consent banner
   ========================================================================== */
.cookie-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: var(--navy-900);
  color: var(--white);
  padding: 0.9rem 0;
  box-shadow: 0 4px 14px rgba(11,26,44,0.25);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}
.cookie-banner p { margin: 0; font-size: 0.9rem; max-width: 60em; }
.cookie-banner a { color: var(--white); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 0.6rem; flex-shrink: 0; }
.cookie-banner .btn { padding: 0.55em 1.1em; font-size: 0.9rem; }
/* btn--outline defaults to dark text on a transparent fill, which disappears on this black banner */
.cookie-banner .btn--outline { color: var(--white); border-color: var(--grey-500); }
.cookie-banner .btn--outline:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }

/* ==========================================================================
   Utilities
   ========================================================================== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}
.two-col > * { min-width: 0; }
img, iframe, video { max-width: 100%; }
@media (min-width: 800px) { .two-col { grid-template-columns: 1.1fr 0.9fr; } }
.list-check { list-style: none; padding-left: 0; }
.list-check li { position: relative; padding-left: 1.6em; margin-bottom: 0.6em; }
.list-check li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.35em;
  width: 0.9em; height: 0.9em;
  border-radius: 50%;
  background: var(--navy-800);
}
address { font-style: normal; }
.map-embed { border: 1px solid var(--grey-200); border-radius: var(--radius); overflow: hidden; }
.map-embed img { width: 100%; }

/* ==========================================================================
   Compliance / credentials (ISO 18119, TPED, ADR, fire suppression)
   ========================================================================== */
.cred-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.cred-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
  border-radius: 999px;
  padding: 0.35em 0.9em;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.cred-badge::before {
  content: "";
  width: 0.55em; height: 0.55em;
  border-radius: 50%;
  background: var(--white);
  flex-shrink: 0;
}
.cred-strip--dark .cred-badge { border-color: var(--navy-800); color: var(--navy-800); }
.cred-strip--dark .cred-badge::before { background: var(--navy-800); }

.cred-band {
  background: var(--navy-900);
  color: var(--white);
  padding: 3rem 0;
}
.cred-band h2 { color: var(--white); }
.cred-band p { color: var(--grey-100); }
.cred-band__lead {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 700;
  color: var(--white) !important;
  max-width: 40em;
  margin-bottom: 2rem;
}
.cred-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .cred-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cred-grid { grid-template-columns: repeat(4, 1fr); } }
.cred-item {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.cred-item__code {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.25em;
  line-height: 1.1;
}
.cred-item h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 0.4em; }
.cred-item p { font-size: 0.95rem; margin: 0; }

/* Header CTA: .primary-nav > ul > li > a outranks .btn--primary, so restore the button colours explicitly */
.primary-nav > ul > li > a.nav-cta { color: var(--white); }
.primary-nav > ul > li > a.nav-cta:hover { color: var(--navy-800); }

/* Real photos (replace .img-placeholder figures) */
.img-photo { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--grey-100); width: 100%; max-width: 100%; }
.img-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Height comes from the aspect ratio; the min-heights below apply only once the
   photo sits beside text, otherwise they force a width wider than a phone screen. */
.img-photo--tall { aspect-ratio: 4 / 3; }
.img-photo--wide { aspect-ratio: 16 / 9; }
@media (min-width: 800px) {
  .img-photo--tall { height: 100%; min-height: 320px; }
  .img-photo--wide { min-height: 260px; }
}
