/* Elijah Blanco · Mobile Tank Recertification
   Plain CSS, no framework. Headings use Barlow (self-hosted, SIL Open Font License). */

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/barlow-500-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-600-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/barlow-700-latin.woff2") format("woff2");
}

:root {
  --blue: #1d5dbd;
  --blue-dark: #174a98;
  --hero-top: #1d5dbd;
  --hero-bottom: #174c9c;
  --navy: #0b2447;
  --ink: #1b2733;
  --muted: #56677a;
  --line: #d7e3f1;
  --line-strong: #bccde3;
  --input: #a9bbd1;
  --bg-alt: #f3f7fc;
  --bg-tint: #e9f1fc;
  --hero-text: #dce8fa;
  --hero-muted: #b9cff0;
  --sky: #9cc3ff;
  --focus: #f2b233;
  --ok: #17693f;
  --ok-bg: #e8f6ee;
  --ok-line: #b5dfc6;
  --warn: #8a5300;
  --warn-bg: #fff5de;
  --warn-line: #efd394;
  --bad: #b42318;
  --bad-bg: #fdeeed;
  --bad-line: #f1c0bb;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(11, 36, 71, 0.05), 0 4px 14px rgba(11, 36, 71, 0.05);
  --shadow: 0 2px 4px rgba(11, 36, 71, 0.05), 0 12px 32px rgba(11, 36, 71, 0.09);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --font-head: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "DejaVu Sans Mono", "Liberation Mono", monospace;
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}

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

[hidden] {
  display: none !important;
}

.icon {
  display: inline-block;
  flex: none;
  width: 1.15em;
  height: 1.15em;
}

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  color: var(--navy);
  font-family: var(--font-head);
  line-height: 1.15;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.3rem, 5.4vw, 3.7rem);
  font-weight: 700;
  line-height: 1.04;
}

h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  margin: 0 0 1em;
}

b,
strong {
  font-weight: 600;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.15s;
}

a:hover {
  color: var(--blue-dark);
}

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

sub {
  line-height: 0;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.narrow {
  max-width: 840px;
}

/* Barlow's word space is narrow; open it up a little wherever Barlow is used. */
h1,
h2,
h3,
legend,
summary,
.btn,
.nav a,
.brand,
.text-link,
.result-title,
.footer-brand,
.qty-name {
  word-spacing: 0.06em;
}

.nowrap {
  white-space: nowrap;
}

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

.skip-link {
  position: absolute;
  top: -60px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  transition: top 0.15s;
}

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 20px;
  border: 2px solid transparent;
  border-radius: 8px;
  font: 600 1.02rem/1.2 var(--font-head);
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.2s, transform 0.2s var(--ease-out);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-sm {
  min-height: 40px;
  padding: 7px 16px;
  font-size: 0.98rem;
}

.btn-lg {
  min-height: 52px;
  padding: 12px 24px;
  font-size: 1.08rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-dark);
  color: #fff;
  box-shadow: 0 6px 16px rgba(29, 93, 189, 0.28);
}

.btn-outline {
  border-color: var(--line-strong);
  background: #fff;
  color: var(--navy);
}

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

.btn-white {
  background: #fff;
  color: var(--blue-dark);
}

.btn-white:hover {
  background: #eef4fd;
  color: var(--navy);
  box-shadow: 0 8px 20px rgba(4, 20, 48, 0.25);
}

.btn-outline-white {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

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

.btn[disabled] {
  opacity: 0.65;
  cursor: progress;
  transform: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 600 1.05rem/1.3 var(--font-head);
  text-decoration: none;
}

.text-link .icon {
  transition: transform 0.2s var(--ease-out);
}

.text-link:hover .icon {
  transform: translateX(4px);
}

/* ---------- Top contact bar ---------- */

.topbar {
  background: var(--navy);
  color: #c3d0e2;
  font-size: 0.86rem;
  line-height: 1.3;
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 24px;
  min-height: 38px;
  padding-top: 7px;
  padding-bottom: 7px;
}

.topbar-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 22px;
}

.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.topbar a:hover {
  color: #fff;
  text-decoration: underline;
}

.topbar .icon {
  width: 1em;
  height: 1em;
  color: var(--sky);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  transition: box-shadow 0.25s;
}

.site-header.is-scrolled {
  box-shadow: 0 6px 20px rgba(11, 36, 71, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 72px;
}

.brand {
  display: flex;
  flex-direction: column;
  margin-right: auto;
  line-height: 1.1;
  text-decoration: none;
}

.brand-name {
  color: var(--navy);
  font: 700 1.4rem/1 var(--font-head);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-tag {
  margin-top: 4px;
  color: var(--blue);
  font: 600 0.78rem/1.2 var(--font-head);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  position: relative;
  padding: 6px 0;
  color: var(--navy);
  font: 600 1.05rem/1.2 var(--font-head);
  text-decoration: none;
}

.nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}

.nav a:hover {
  color: var(--blue);
}

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

.nav .nav-mobile-only {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-toggle {
  display: none;
}

/* ---------- Hero ---------- */

.hero,
.page-head,
.cta {
  background: linear-gradient(180deg, var(--hero-top) 0%, var(--hero-bottom) 100%);
  color: #fff;
}

.hero {
  padding: clamp(44px, 7vw, 92px) 0 clamp(52px, 7.5vw, 100px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(32px, 5.5vw, 80px);
  align-items: center;
}

.hero h1 {
  max-width: 11em;
  margin-bottom: 20px;
  color: #fff;
}

.hero .lead {
  max-width: 34em;
  color: var(--hero-text);
  font-size: clamp(1.1rem, 1.7vw, 1.25rem);
  line-height: 1.6;
}

.hero-facts {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: #fff;
  font-weight: 600;
  list-style: none;
}

.hero-facts li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.hero-facts .icon {
  margin-top: 0.25em;
  color: var(--sky);
}

.hero-facts a {
  color: #fff;
  white-space: nowrap;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 22px;
}

.hero-cred {
  margin: 0;
  color: var(--hero-muted);
  font-size: 0.95rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.hero-copy > *,
.checker-card,
.page-head .container > * {
  animation: rise 0.8s var(--ease-out) both;
}

.hero-copy > :nth-child(2),
.page-head .container > :nth-child(2) {
  animation-delay: 0.07s;
}

.hero-copy > :nth-child(3),
.page-head .container > :nth-child(3) {
  animation-delay: 0.14s;
}

.hero-copy > :nth-child(4) {
  animation-delay: 0.21s;
}

.hero-copy > :nth-child(5) {
  animation-delay: 0.28s;
}

.checker-card {
  animation-delay: 0.18s;
}

/* ---------- Tank date checker ---------- */

.checker-card {
  padding: clamp(22px, 3vw, 30px);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 50px rgba(4, 20, 48, 0.3);
  color: var(--ink);
}

.checker-card h2 {
  margin-bottom: 6px;
  font-size: 1.65rem;
}

.checker-intro {
  color: var(--muted);
  font-size: 0.98rem;
}

.checker-form .field {
  margin-bottom: 14px;
}

.checker-form .btn {
  margin-top: 2px;
}

.checker-result {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-alt);
  font-size: 0.97rem;
}

.checker-result p {
  margin: 0;
}

.checker-result p + p {
  margin-top: 4px;
}

.checker-result[data-state="ok"] {
  border-color: var(--ok-line);
  background: var(--ok-bg);
}

.checker-result[data-state="soon"] {
  border-color: var(--warn-line);
  background: var(--warn-bg);
}

.checker-result[data-state="overdue"] {
  border-color: var(--bad-line);
  background: var(--bad-bg);
}

.checker-result.is-updated {
  animation: result-in 0.35s var(--ease-out);
}

@keyframes result-in {
  from {
    opacity: 0.2;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.result-label {
  color: var(--muted);
  font: 600 0.8rem/1.3 var(--font-head);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

[data-state="ok"] .result-label {
  color: var(--ok);
}

[data-state="soon"] .result-label {
  color: var(--warn);
}

[data-state="overdue"] .result-label {
  color: var(--bad);
}

.checker-result .result-title {
  margin-top: 2px;
  color: var(--navy);
  font: 700 1.35rem/1.2 var(--font-head);
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.checker-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ---------- Forms ---------- */

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.field label {
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 600;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="date"],
input[type="number"],
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--input);
  border-radius: 8px;
  background-color: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.15s, box-shadow 0.15s;
}

input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
  display: block;
}

input::-webkit-date-and-time-value {
  text-align: left;
}

select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d5dbd' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  text-overflow: ellipsis;
  cursor: pointer;
}

textarea {
  min-height: 96px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #7d8ea2;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 93, 189, 0.22);
}

[aria-invalid="true"] {
  border-color: var(--bad) !important;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}

.field-full {
  margin-top: 16px;
}

.field-error {
  margin: 2px 0 0;
  color: var(--bad);
  font-size: 0.9rem;
  font-weight: 600;
}

.req {
  color: var(--bad);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(60px, 8vw, 100px) 0;
}

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

.section-intro {
  max-width: 720px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.section-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.note {
  margin: 0;
  padding: 14px 18px;
  border-left: 3px solid var(--blue);
  border-radius: 0 8px 8px 0;
  background: var(--bg-tint);
  color: var(--ink);
}

.list-note {
  max-width: 820px;
  margin-top: 28px;
}

/* ---------- Services list ---------- */

.svc-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(28px, 5vw, 64px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.svc-list li {
  padding: 20px 0 18px;
  border-top: 1px solid var(--line);
}

.svc-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 2px 14px;
  margin-bottom: 4px;
}

.svc-list h3 {
  margin: 0;
}

.svc-spec {
  color: var(--muted);
  font-size: 0.88rem;
  white-space: nowrap;
}

.svc-list p {
  margin: 0;
  color: var(--muted);
}

.list-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  margin-top: 28px;
}

.list-foot .note {
  flex: 1 1 520px;
  max-width: 760px;
}

/* ---------- Prices ---------- */

.prices-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  grid-template-areas:
    "intro fee"
    "table fee";
  column-gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.prices-grid > .section-intro {
  grid-area: intro;
}

.price-wrap {
  grid-area: table;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.price-table th,
.price-table td {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: baseline;
}

.price-table thead th {
  padding-top: 0;
  border-bottom: 2px solid var(--line-strong);
  color: var(--muted);
  font: 600 0.8rem/1.3 var(--font-head);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.price-table thead th + th,
.price-table td {
  padding-left: 18px;
  text-align: right;
}

.price-table tbody th {
  padding-right: 16px;
  color: var(--navy);
  font-weight: 600;
}

.price-table tbody th span {
  margin-left: 6px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 400;
}

.price-table td {
  color: var(--navy);
  font: 700 1.2rem/1.2 var(--font-head);
  white-space: nowrap;
}

.price-table .fail-price {
  color: var(--blue);
}

.price-table tbody tr {
  transition: background-color 0.15s;
}

.price-table tbody tr:hover {
  background: rgba(29, 93, 189, 0.05);
}

.price-side {
  display: grid;
  grid-area: fee;
  gap: 20px;
}

.fee-card {
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}

.fee-label {
  margin: 0;
  color: var(--muted);
  font: 600 0.82rem/1.3 var(--font-head);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.fee-amount {
  margin: 4px 0 6px;
  color: var(--blue);
  font: 700 3.4rem/1 var(--font-head);
  font-variant-numeric: tabular-nums;
}

.fee-text {
  color: var(--navy);
  font-weight: 600;
}

.half-card {
  border-color: var(--blue);
  background: linear-gradient(180deg, var(--hero-top) 0%, var(--hero-bottom) 100%);
  box-shadow: 0 16px 36px rgba(23, 76, 156, 0.3);
}

.half-card .fee-label {
  color: var(--hero-muted);
}

.half-card .fee-amount {
  color: #fff;
  font-size: 2.7rem;
}

.half-card .fee-text {
  margin: 0;
  color: var(--hero-text);
  font-weight: 400;
}

.fee-example {
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--bg-alt);
  font-size: 0.95rem;
}

/* ---------- How a visit works ---------- */

.how-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}

.steps {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 0 0 30px 62px;
  counter-increment: step;
}

.steps li:last-child {
  padding-bottom: 0;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  top: -4px;
  left: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font: 700 1.1rem/1 var(--font-head);
}

.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 42px;
  bottom: 2px;
  left: 19px;
  width: 2px;
  background: var(--line-strong);
}

.steps h3 {
  margin-bottom: 6px;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.stamp-card {
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}

.stamp-card h3 {
  margin-bottom: 16px;
}

.stamp-plate {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: 0 0 20px;
  padding: 22px 12px;
  border: 1px solid #c9d3de;
  border-radius: 10px;
  background: linear-gradient(180deg, #eef2f6 0%, #dce3eb 100%);
  color: #46525f;
  font: 700 clamp(1.5rem, 3vw, 1.95rem)/1.25 var(--mono);
  letter-spacing: 0.12em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85), 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.stamp-key {
  display: grid;
  gap: 10px;
  margin: 0;
}

.stamp-key div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
}

.stamp-key dt {
  color: var(--navy);
  font: 700 0.95rem/1.4 var(--mono);
}

.stamp-key dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}

.stamp {
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--bg-tint);
  color: var(--navy);
  font: 700 0.92em var(--mono);
  white-space: nowrap;
}

/* ---------- Service area ---------- */

.county-grid {
  column-width: 170px;
  column-count: 4;
  column-gap: 32px;
}

.county {
  margin-bottom: 26px;
  padding-top: 14px;
  border-top: 3px solid var(--blue);
  break-inside: avoid;
}

.county h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
}

.county ul {
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: 1.9;
}

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

/* ---------- Booking ---------- */

.booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.booking-panel {
  padding: clamp(20px, 3.5vw, 36px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.booking-panel fieldset {
  min-width: 0;
  margin: 0 0 34px;
  padding: 0;
  border: 0;
}

.booking-panel legend {
  margin-bottom: 14px;
  padding: 0;
  color: var(--navy);
  font: 700 1.3rem/1.25 var(--font-head);
}

.step-num {
  margin-right: 2px;
  color: var(--blue);
}

.hint {
  margin-top: -4px;
  color: var(--muted);
  font-size: 0.95rem;
}

.qty-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.qty-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 10px 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.qty-item.is-selected {
  border-color: var(--blue);
  background: var(--bg-tint);
  box-shadow: inset 0 0 0 1px var(--blue);
}

.qty-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.qty-name {
  color: var(--navy);
  font: 600 1.05rem/1.25 var(--font-head);
}

.qty-sub {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.35;
}

.qty-price {
  color: var(--navy);
  font-weight: 600;
}

.stepper {
  display: flex;
  flex: none;
  align-items: center;
}

.stepper button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font: 600 1.2rem/1 var(--font-body);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background-color 0.15s;
}

.stepper button:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.stepper input {
  width: 44px;
  min-height: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font-weight: 700;
  text-align: center;
  -moz-appearance: textfield;
}

.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.stepper input.bump {
  animation: bump 0.28s var(--ease-out);
}

@keyframes bump {
  40% {
    color: var(--blue);
    transform: scale(1.3);
  }
}

.booking-panel .choice-row {
  margin: 18px 0 0;
}

.booking-panel .choice-row legend {
  margin-bottom: 8px;
  font: 600 0.95rem/1.4 var(--font-body);
}

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

.choice {
  position: relative;
}

.choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.choice span {
  display: inline-flex;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.choice span:hover {
  border-color: var(--blue);
}

.choice input:checked + span {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.choice input:focus-visible + span {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.other-field {
  max-width: 440px;
  margin-top: 14px;
  animation: result-in 0.3s var(--ease-out);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-alt);
  animation: result-in 0.3s var(--ease-out);
}

.form-status p {
  margin: 0;
}

.form-status[data-state="error"] {
  border-color: var(--bad-line);
  background: var(--bad-bg);
}

.form-status[data-state="invalid"] {
  border-color: var(--warn-line);
  background: var(--warn-bg);
}

.status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.form-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.summary-card {
  position: sticky;
  top: 92px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.summary-card h3 {
  margin-bottom: 10px;
}

.summary-list {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.summary-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line-strong);
  line-height: 1.4;
}

.summary-list li.is-new {
  animation: result-in 0.3s var(--ease-out);
}

.summary-empty {
  color: var(--muted);
}

.summary-list .qty {
  color: var(--muted);
  white-space: nowrap;
}

.summary-list .line-price {
  min-width: 3.2em;
  color: var(--navy);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

.summary-totals {
  display: grid;
  gap: 6px;
  margin: 0;
  animation: result-in 0.3s var(--ease-out);
}

.summary-totals div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.summary-totals dt {
  color: var(--muted);
}

.summary-totals dd {
  margin: 0;
  color: var(--navy);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.summary-totals .summary-estimate {
  align-items: baseline;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.summary-estimate dt {
  color: var(--navy);
  font-weight: 700;
}

.summary-estimate dd {
  color: var(--blue);
  font: 700 1.45rem/1.1 var(--font-head);
  transform-origin: right center;
}

.summary-estimate dd.bump {
  animation: bump-soft 0.35s var(--ease-out);
}

@keyframes bump-soft {
  40% {
    transform: scale(1.1);
  }
}

.summary-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.summary-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 4px;
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.summary-email:hover {
  text-decoration: underline;
}

.summary-contact {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.summary-contact p {
  margin: 0;
  color: var(--navy);
  font-weight: 600;
}

.success-card {
  padding: 40px 12px;
  text-align: center;
  animation: rise 0.6s var(--ease-out) both;
}

.success-card:focus {
  outline: none;
}

.success-card h3 {
  font-size: 1.6rem;
}

.success-check {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--ok-bg);
  color: var(--ok);
}

.success-check .icon {
  width: 32px;
  height: 32px;
}

.success-card .status-actions {
  justify-content: center;
}

/* ---------- FAQ ---------- */

.faq {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  position: relative;
  padding: 20px 48px 20px 0;
  color: var(--navy);
  font: 600 1.18rem/1.35 var(--font-head);
  list-style: none;
  cursor: pointer;
  transition: color 0.15s;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 10px;
  width: 10px;
  height: 10px;
  margin-top: -8px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease-out), margin-top 0.25s var(--ease-out);
}

.faq-item[open] summary::after {
  margin-top: -2px;
  transform: rotate(-135deg);
}

.faq-item summary:hover {
  color: var(--blue);
}

.faq-body {
  padding: 0 48px 8px 0;
}

.faq-item[open] .faq-body {
  animation: faq-open 0.3s var(--ease-out);
}

@keyframes faq-open {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.more-link {
  margin: 26px 0 0;
}

/* ---------- Sub-page header ---------- */

.page-head {
  padding: clamp(34px, 6vw, 64px) 0 clamp(40px, 6.5vw, 72px);
}

.page-head h1 {
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(2.2rem, 4.8vw, 3.2rem);
}

.page-head .lead {
  max-width: 46em;
  margin: 0;
  color: var(--hero-text);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 16px;
  padding: 0;
  color: var(--hero-muted);
  font-size: 0.93rem;
  list-style: none;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 6px;
  opacity: 0.7;
}

.breadcrumbs a {
  color: #fff;
}

/* ---------- Services page ---------- */

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(28px, 5vw, 64px);
  margin: 0;
}

.spec-list div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.spec-list dt {
  color: var(--blue-dark);
  font: 700 1.08rem/1.5 var(--font-head);
}

.spec-list dd {
  margin: 0;
}

.table-wrap {
  position: relative;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.matrix {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.matrix caption {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  text-align: left;
  caption-side: bottom;
}

.matrix th,
.matrix td {
  padding: 11px 10px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.matrix thead th {
  background: var(--navy);
  color: #fff;
  font: 600 0.98rem/1.3 var(--font-head);
}

.matrix thead th:first-child {
  text-align: left;
}

.matrix tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
  background: #fff;
  color: var(--navy);
  font-weight: 600;
  text-align: left;
}

.matrix tbody tr:nth-child(even) th,
.matrix tbody tr:nth-child(even) td {
  background: var(--bg-alt);
}

.matrix tbody tr:hover th,
.matrix tbody tr:hover td {
  background: var(--bg-tint);
}

.matrix tbody tr:last-child th,
.matrix tbody tr:last-child td {
  border-bottom: 0;
}

.matrix .yes {
  color: var(--ok);
  font-size: 1.1rem;
  font-weight: 700;
}

.matrix .no {
  color: #9fb0c4;
}

.matrix .part {
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.cannot-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(28px, 5vw, 64px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.cannot-list li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.cannot-list .icon {
  margin-top: 4px;
  color: #c0463b;
}

.cannot-list strong {
  display: block;
  color: var(--navy);
  font: 600 1.12rem/1.35 var(--font-head);
}

/* ---------- Call to action band ---------- */

.cta {
  padding: clamp(46px, 6vw, 72px) 0;
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
}

.cta h2 {
  margin-bottom: 6px;
  color: #fff;
}

.cta p {
  margin: 0;
  color: var(--hero-text);
  font-size: 1.1rem;
}

.cta p a {
  color: #fff;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Footer ---------- */

.site-footer {
  padding-top: 56px;
  background: var(--navy);
  color: #c3d0e2;
  font-size: 0.98rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
  padding-bottom: 40px;
}

.footer-about p {
  max-width: 30em;
}

.footer-brand {
  margin-bottom: 10px;
  color: #fff;
  font: 700 1.3rem/1.2 var(--font-head);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer h2 {
  margin-bottom: 12px;
  color: #fff;
  font: 600 0.95rem/1.3 var(--font-head);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  padding-top: 18px;
  padding-bottom: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #93a6c0;
  font-size: 0.88rem;
}

.mobile-bar {
  display: none;
}

/* ---------- 404 ---------- */

.not-found {
  padding: clamp(64px, 12vw, 120px) 0;
  text-align: center;
}

.not-found .cta-actions {
  justify-content: center;
  margin-top: 24px;
}

/* ---------- Scroll reveal (added by main.js to content below the fold) ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.8s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

/* ---------- Responsive ---------- */

@media (max-width: 1040px) {
  .booking-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .summary-card {
    position: static;
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 76px;
  }

  body {
    padding-bottom: 72px;
  }

  .header-inner {
    min-height: 64px;
  }

  .header-book {
    display: none;
  }

  .topbar-area {
    display: none;
  }

  .topbar-inner {
    justify-content: center;
  }

  .prices-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "intro"
      "fee"
      "table";
  }

  .price-side {
    max-width: 520px;
    margin-bottom: 32px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: #fff;
    color: var(--navy);
    cursor: pointer;
  }

  .nav-toggle .icon {
    width: 22px;
    height: 22px;
  }

  .nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4px 20px 14px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 16px 28px rgba(11, 36, 71, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.25s var(--ease-out), visibility 0s linear 0.25s;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.2s, transform 0.25s var(--ease-out), visibility 0s;
  }

  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.12rem;
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .nav a::after {
    display: none;
  }

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

  .nav .nav-mobile-only {
    display: block;
  }

  .hero-grid,
  .how-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero h1 {
    max-width: none;
  }

  .checker-card {
    max-width: 560px;
  }

  .stamp-card {
    max-width: 520px;
  }

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

  .footer-about {
    grid-column: 1 / -1;
  }

  .mobile-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr 1.35fr;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 -6px 18px rgba(11, 36, 71, 0.08);
  }

  .mobile-bar .btn {
    min-height: 46px;
    padding: 8px 10px;
  }
}

@media (max-width: 720px) {
  .svc-list,
  .spec-list,
  .cannot-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .qty-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .county-grid {
    column-width: 140px;
    column-gap: 20px;
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-actions .btn,
  .cta-actions .btn,
  .form-actions .btn {
    flex: 1 1 100%;
  }

  .brand-name {
    font-size: 1.25rem;
  }

  .brand-tag {
    font-size: 0.72rem;
  }

  .spec-list div {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .price-table tbody th span {
    display: block;
    margin-left: 0;
  }

  .faq-item summary {
    padding-right: 36px;
    font-size: 1.1rem;
  }

  .faq-body {
    padding-right: 0;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .mobile-bar,
  .hero-actions,
  .cta {
    display: none;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
