/* =========================================================
   DCI Paints — dcipaints.com
   Mobile-first, no frameworks.
   ========================================================= */

:root {
  --navy-900: #0b1f33;
  --navy-800: #0f2a44;
  --navy-700: #173a5c;
  --blue-600: #1d5fa8;
  --blue-100: #e7f0fa;
  --red-600: #b3301a;   /* 5.9:1 on white */
  --red-700: #932714;
  --ink: #1b2430;
  --ink-soft: #46525f;  /* 7.6:1 on white */
  --line: #d6dde5;
  --bg: #ffffff;
  --bg-alt: #f3f6f9;
  --focus: #f2b705;

  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(11, 31, 51, .06), 0 6px 20px rgba(11, 31, 51, .08);
  --header-h: 64px;
  --container: 1160px;

  /* LOGO (pending final approval): swap this one file to change the header mark site-wide. */
  --logo-mark: url("/img/logo/dci-mark.png");
  --logo-ratio: 338 / 107;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }

h1, h2, h3 { line-height: 1.2; color: var(--navy-800); margin: 0 0 .6em; }
h1 { font-size: clamp(1.75rem, 1.2rem + 2.6vw, 3rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem); letter-spacing: -.005em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

a { color: var(--blue-600); text-underline-offset: 2px; }
a:hover { color: var(--navy-800); }

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

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.container-narrow { max-width: 860px; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 1000;
  background: var(--navy-800);
  color: #fff;
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: .75rem; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .75rem 1.4rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--red-600); color: #fff; }
.btn-primary:hover { background: var(--red-700); color: #fff; }
.btn-primary[disabled] { opacity: .7; cursor: progress; }
.btn-secondary { background: transparent; color: var(--navy-800); border-color: var(--navy-800); }
.btn-secondary:hover { background: var(--navy-800); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--navy-800);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: .01em;
}
.brand:hover { color: var(--navy-800); }
.brand-mark {
  display: block;
  flex: none;
  height: 30px;
  aspect-ratio: var(--logo-ratio);
  background: var(--logo-mark) center / contain no-repeat;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-name { font-size: 1.05rem; font-weight: 800; letter-spacing: .04em; }
.brand-legal { font-size: .72rem; font-weight: 600; color: var(--ink-soft); letter-spacing: 0; }
@media (max-width: 420px) {
  .brand-mark { height: 24px; }
  .brand-legal { font-size: .66rem; max-width: 15.5em; }
}
@media (min-width: 960px) and (max-width: 1199px) {
  .brand-legal { max-width: 14em; }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 22px; height: 2px;
  background: var(--navy-800);
  border-radius: 2px;
  position: relative;
  transition: transform .2s ease, background-color .2s ease;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}
.site-nav a:hover { color: var(--blue-600); }

/* Mobile nav panel (only when JS is available) */
.js .site-nav {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 20px rgba(11, 31, 51, .08);
  display: none;
}
.js .site-nav.is-open { display: block; }
.site-nav li + li { border-top: 1px solid var(--line); }
.site-nav a { padding: .9rem 1.25rem; }
.site-nav .nav-cta { color: var(--red-600); }

/* No-JS fallback: show nav inline and hide toggle */
html:not(.js) .nav-toggle { display: none; }
html:not(.js) .header-inner { flex-wrap: wrap; padding-block: .5rem; }
html:not(.js) .site-nav ul { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
html:not(.js) .site-nav li + li { border: 0; }
html:not(.js) .site-nav a { padding: .25rem 0; }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .js .site-nav,
  .site-nav {
    position: static;
    display: block;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .site-nav ul { display: flex; align-items: center; gap: 1.4rem; }
  .site-nav li + li { border: 0; }
  .site-nav a { padding: .4rem 0; font-size: .95rem; }
  .site-nav .nav-cta {
    padding: .55rem 1rem;
    background: var(--red-600);
    color: #fff;
    border-radius: var(--radius-sm);
  }
  .site-nav .nav-cta:hover { background: var(--red-700); color: #fff; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(180deg, var(--blue-100) 0%, #fff 100%);
  padding: 2.5rem 0 3rem;
  border-bottom: 1px solid var(--line);
}
.hero-inner { display: grid; gap: 2rem; align-items: center; }
.hero-sub { font-size: 1.075rem; color: var(--ink-soft); max-width: 62ch; }
.hero-actions { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.5rem; }
.hero-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

@media (min-width: 560px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
}
@media (min-width: 960px) {
  .hero { padding: 4.5rem 0 5rem; }
  .hero-inner { grid-template-columns: 1.1fr 1fr; gap: 3rem; }
}

/* ---------- Sections ---------- */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-title { position: relative; padding-bottom: .5rem; margin-bottom: 1.25rem; }
.section-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 56px; height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #d9442b 0 33%, #f2b705 33% 66%, #2f7fd1 66%);
}
.lead { font-size: 1.075rem; color: var(--ink-soft); max-width: 75ch; }

@media (min-width: 960px) {
  .section { padding: 5rem 0; }
}

/* ---------- Products ---------- */
.product-grid { display: grid; gap: 1.5rem; margin-top: 1.5rem; }
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.product-media {
  aspect-ratio: 4 / 3;
  background: linear-gradient(180deg, #eef2f6 0%, #dfe6ee 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-media picture { height: 100%; }
.product-media img {
  height: 100%;
  width: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.product-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.4rem; }
.product-code {
  display: inline-block;
  margin: 0 0 .6rem;
  padding: .15rem .6rem;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--navy-800);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}

@media (min-width: 820px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 2rem; align-items: stretch; }
}

/* Spec tables (Property | Result) */
.spec-table {
  width: 100%;
  margin: 1.25rem 0 1rem;
  border-collapse: collapse;
  font-size: .95rem;
}
.spec-table th,
.spec-table td {
  text-align: left;
  vertical-align: top;
  padding: .55rem .6rem;
  border-top: 1px solid var(--line);
}
.spec-table thead th {
  background: var(--navy-800);
  color: #fff;
  border-top: 0;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.spec-table tbody th { font-weight: 600; color: var(--navy-800); width: 55%; }
.spec-table tbody tr:nth-child(even) { background: var(--bg-alt); }
.card-note { font-size: .875rem; color: var(--ink-soft); margin-bottom: .6rem; }
.card-note:last-child { margin-bottom: 0; }

/* Card facts (pack sizes, colours, catalogue data) */
.card-facts { margin: 0 0 1rem; display: grid; gap: .5rem; font-size: .95rem; }
.card-facts > div { display: grid; gap: .1rem; }
.card-facts dt { font-weight: 700; color: var(--navy-800); }
.card-facts dd { margin: 0; }
@media (min-width: 560px) {
  .card-facts > div { grid-template-columns: 8.5rem 1fr; gap: .75rem; }
}

/* Pending / on-request placeholders (intentional design) */
.pending-badge {
  display: inline-block;
  padding: .1rem .55rem;
  margin-right: .35rem;
  border-radius: 999px;
  background: #fff4d6;
  color: #6a4b00;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  vertical-align: middle;
}
.pending-note {
  margin: 2rem 0 0;
  padding: .9rem 1.1rem;
  border: 1px dashed #b9c5d1;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  color: var(--ink-soft);
}

.use-list { margin: 0 0 1rem; padding-left: 1.2rem; color: var(--ink); }
.use-list li + li { margin-top: .25rem; }
.tds-placeholder {
  margin: auto 0 0;
  padding: .8rem 1rem;
  border: 1px dashed #b9c5d1;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  color: var(--ink-soft);
  font-weight: 600;
}
.pending-note--ral { margin: 0 0 0; }
.product-card--cta { background: var(--navy-800); border-color: var(--navy-800); color: #d3dee9; justify-content: center; }
.product-card--cta h3 { color: #fff; }
.product-card--cta .product-body { justify-content: center; padding: 2rem 1.75rem; }
.product-card--cta a:not(.btn) { color: #9cc8f5; }
.cta-mail { font-size: .9rem; margin: 0; }
.pending-tile--info { border-style: solid; }

/* Spec definition lists */
.spec-list { margin: 1.25rem 0 0; display: grid; gap: 0; }
.spec-list > div {
  display: grid;
  gap: .15rem;
  padding: .8rem 0;
  border-top: 1px solid var(--line);
}
.spec-list dt { font-weight: 700; color: var(--navy-800); font-size: .95rem; }
.spec-list dd { margin: 0; color: var(--ink); }

@media (min-width: 560px) {
  .spec-list > div { grid-template-columns: 11rem 1fr; gap: 1rem; }
}

/* ---------- Colours ---------- */
.colour-grid { display: grid; gap: 1.25rem; margin-top: 2rem; }
@media (min-width: 820px) { .colour-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.colour-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1rem;
  min-width: 0;
}
.colour-card h3 { font-size: 1.1rem; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem .75rem; }
.colour-total { font-size: .85rem; font-weight: 700; color: var(--blue-600); white-space: nowrap; }
.swatches { list-style: none; margin: .25rem 0 .75rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.swatches li {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .2rem .6rem .2rem .3rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .85rem;
  background: var(--bg-alt);
}
.swatches b { color: var(--navy-800); }
.sw { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); flex: none; }
.sw-grey { background: #8a8f94; }
.sw-black { background: #1d1f22; }
.sw-red { background: #c0281f; }
.sw-ironred { background: #8e3b2a; }
.sw-yellow { background: #f0b316; }
.sw-blue { background: #1f5fae; }
.sw-green { background: #2c8a4b; }
.sw-white { background: #f7f6f1; }
.sw-mixed { background: conic-gradient(#c0281f 0 33%, #f0b316 0 66%, #1f5fae 0); }
.colour-meta { font-size: .9rem; color: var(--ink-soft); margin-bottom: .75rem; }
.colour-table { border-top: 1px solid var(--line); padding-top: .6rem; }
.colour-table summary { cursor: pointer; font-weight: 600; color: var(--blue-600); font-size: .9rem; }
.colour-table img { margin-top: .75rem; width: 100%; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.colour-card--custom { background: var(--navy-800); border-color: var(--navy-800); color: #d3dee9; }
.colour-card--custom h3 { color: #fff; }
.colour-card--custom .btn-secondary { color: #fff; border-color: #fff; }
.colour-card--custom .btn-secondary:hover { background: #fff; color: var(--navy-800); }

/* ---------- Factory gallery ---------- */
.anchor-alias { display: block; position: relative; top: calc(-1 * var(--header-h)); }
.gallery-title { margin-top: 2.5rem; font-size: 1.2rem; }
.gallery { display: grid; gap: 1rem; }
.gallery figure { margin: 0; min-width: 0; }
.gallery picture { display: block; }
.gallery img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}
.gallery figcaption { font-size: .875rem; color: var(--ink-soft); margin-top: .4rem; }
.gallery { grid-template-columns: 1fr 1fr; gap: .75rem; }
.gallery .g-wide, .gallery .g-banner, .gallery .pending-tile { grid-column: 1 / -1; }
.gallery .g-banner img { aspect-ratio: 16 / 9; }
@media (min-width: 560px) {
  .gallery { gap: 1rem; }
  .gallery .pending-tile { grid-column: auto; }
  .gallery .g-banner img { aspect-ratio: 3 / 1; }
}
@media (min-width: 960px) {
  .gallery { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
  .gallery--feature { grid-template-columns: repeat(3, 1fr); }
  .gallery--feature .g-wide { grid-column: span 2; grid-row: span 2; }
  .gallery--feature .g-wide picture,
  .gallery--feature .g-wide img { height: calc(100% - 1.9rem); }
  .gallery--feature .g-wide img { aspect-ratio: auto; }
}
.pending-tile {
  display: flex; flex-direction: column; justify-content: center;
  padding: 1.25rem;
  min-height: 160px;
  border: 1px dashed #b9c5d1;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  color: var(--ink-soft);
}
.pending-tile p { margin: .4rem 0 0; }
.pending-tile .pending-badge { align-self: flex-start; }

/* ---------- Why DCI ---------- */
.feature-grid {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue-600);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.25rem 1rem;
}
.feature h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.feature p { margin: 0; color: var(--ink-soft); }

@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }

/* ---------- Made by Chenhong ---------- */
.split { display: grid; gap: 2rem; }
.split-media { display: grid; gap: 1rem; }
.split-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 2 / 1;
  object-fit: cover;
}
@media (min-width: 560px) {
  .split-media { grid-template-columns: 1fr 1fr; }
  .split-media img { aspect-ratio: 4 / 3; }
}
@media (min-width: 960px) {
  .split { grid-template-columns: 1.15fr 1fr; gap: 3rem; align-items: start; }
  .split-media { grid-template-columns: 1fr; position: sticky; top: calc(var(--header-h) + 1.5rem); }
  .split-media img { aspect-ratio: 16 / 9; }
}

/* ---------- Export & Logistics (dark) ---------- */
.section-dark { background: var(--navy-800); color: #e6edf5; }
.section-dark .section-title { color: #fff; }
.section-dark .lead { color: #c9d6e3; }

.logistics-grid {
  margin: 2rem 0 0;
  display: grid;
  gap: 1rem;
}
.logistics-grid > div {
  background: var(--navy-700);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.25rem;
}
.logistics-grid dt { font-weight: 700; color: #fff; margin-bottom: .35rem; }
.logistics-grid dd { margin: 0; color: #d3dee9; }
.logistics-grid dd.on-request { color: #d3dee9; }
.logistics-grid dd.on-request::before {
  content: "On request";
  display: block; width: max-content;
  margin-bottom: .4rem; padding: .05rem .5rem;
  border-radius: 999px;
  background: rgba(242, 183, 5, .18); color: #f2cf6b;
  font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}
.logistics-grid .logistics-wide { grid-column: 1 / -1; }
.pack-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.pack-list span { display: block; color: #fff; font-weight: 600; }
@media (min-width: 720px) { .pack-list span { display: inline-block; min-width: 18rem; } }
.section-dark a { color: #9cc8f5; }
.section-dark a:hover { color: #fff; }
.export-users { margin: 1.5rem 0 0; color: #c9d6e3; font-size: .95rem; }

@media (min-width: 640px) { .logistics-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .logistics-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: .75rem; margin-top: 1.5rem; }
.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.faq-list details[open] { border-color: var(--blue-600); box-shadow: var(--shadow); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 3rem 1rem 1.15rem;
  position: relative;
  border-radius: var(--radius-sm);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--blue-600);
  line-height: 1;
}
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list summary h3 { display: inline; font-size: 1.05rem; margin: 0; }
.faq-list summary:hover h3 { color: var(--blue-600); }
.faq-answer { padding: 0 1.15rem 1rem; color: var(--ink-soft); }
.faq-answer p { margin: 0; }

/* ---------- Enquiry form ---------- */
.enquiry-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.25rem;
  margin-top: 1.5rem;
}
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-grid { display: grid; gap: 1.15rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-weight: 700; color: var(--navy-800); }
.req, .opt { font-weight: 500; font-size: .875rem; }
.req { color: var(--red-600); }
.opt { color: var(--ink-soft); }
.hint { font-size: .875rem; color: var(--ink-soft); }

.field input,
.field select,
.field textarea {
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid #8796a5; /* 3:1+ against white for UI components */
  border-radius: var(--radius-sm);
  padding: .7rem .8rem;
  min-height: 48px;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 140px; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--navy-800) 50%),
    linear-gradient(135deg, var(--navy-800) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--navy-800);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--red-600); border-width: 2px; }
.field-error { color: var(--red-600); font-size: .875rem; font-weight: 600; }

.choice-group {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin: 0;
  padding: .75rem 1rem 1rem;
  min-width: 0;
}
.choice-group legend { font-weight: 700; color: var(--navy-800); padding: 0 .35rem; }
.choice-list { display: grid; gap: .5rem; }
.choice-list label {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  cursor: pointer;
  min-height: 32px;
}
.choice-list input[type="checkbox"] {
  width: 20px; height: 20px;
  margin: .2rem 0 0;
  flex: none;
  accent-color: var(--blue-600);
}
@media (min-width: 720px) { .choice-list { grid-template-columns: 1fr 1fr; } }

.form-actions { margin-top: 1.5rem; }
.form-actions .btn { width: 100%; }

.form-status {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}
.form-status p { margin: 0 0 .5rem; }
.form-status p:last-child { margin-bottom: 0; }
.form-status.is-success { background: #e8f5ec; border-color: #2e7d4f; color: #14492b; }
.form-status.is-error { background: #fdecea; border-color: var(--red-600); color: #6b1a0c; }
.form-status.is-error a { color: #6b1a0c; font-weight: 700; }

.enquiry-form.is-sent .form-grid,
.enquiry-form.is-sent .form-actions { display: none; }
.enquiry-form.is-sent .form-status { margin-top: 0; }

.email-alt { margin-top: 1.25rem; color: var(--ink-soft); }
.email-alt a { font-weight: 700; }

@media (min-width: 720px) {
  .enquiry-form { padding: 2rem; }
  .form-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem 1.5rem; }
  .field-full { grid-column: 1 / -1; }
  .form-actions .btn { width: auto; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: #c9d6e3;
  padding: 3rem 0 2rem;
  font-size: .95rem;
}
.footer-grid { margin: 0; display: grid; gap: 1.25rem; }
.footer-grid dt {
  color: #fff;
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .25rem;
}
.footer-grid dd { margin: 0; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li + li { margin-top: .2rem; }
.footer-notice { margin: 2rem 0 0; font-size: .875rem; color: #c9d6e3; max-width: 90ch; }
.site-footer a { color: #e6edf5; }
.site-footer a:hover { color: #fff; }
.copyright {
  margin: 2rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .15);
  font-size: .875rem;
  color: #a9b9c9;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1.4fr 1fr 1.2fr; gap: 2rem; } }

/* ---------- Print ---------- */
@media print {
  .site-header, .nav-toggle, .hero-actions, .enquiry-form, .email-alt { display: none !important; }
  .section-dark { background: none; color: #000; }
  .section-dark .section-title, .logistics-grid dt, .logistics-grid dd { color: #000; }
  .logistics-grid > div { background: none; }
  details > .faq-answer { display: block; }
}

.pack-note { margin: .75rem 0 0; color: var(--ink-soft); }

/* Mobile/tablet 2-column galleries: a leftover last item spans the full row. */
@media (max-width: 959px) {
  .gallery > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .gallery--feature > .g-wide:first-child ~ :last-child:nth-child(even) { grid-column: 1 / -1; }
}
/* Feature galleries with a full-width g-wide lead and an ODD total (e.g. Packing & dispatch: lead + 2):
   the items after the lead already pair up, so the odd-last rule above must not stretch the last one... */
@media (max-width: 959px) {
  .gallery--feature > .g-wide:first-child ~ :last-child:nth-child(odd) { grid-column: auto; }
}
/* ...except below 560px, where a trailing pending-tile always spans the row – then the item
   before it would sit alone, so it spans the row too. */
@media (max-width: 559px) {
  .gallery--feature > .g-wide:first-child ~ .pending-tile:last-child:nth-child(odd),
  .gallery--feature > .g-wide:first-child ~ :nth-child(even):nth-last-child(2):has(+ .pending-tile) { grid-column: 1 / -1; }
}
