:root {
  --bg: #f3f6ff;
  --bg-soft: #eaf0ff;
  --text: #111a3a;
  --text-soft: #3f4a74;
  --brand: #cc4e00;
  --brand-dark: #a13d00;
  --accent: #00167a;
  --line: #cbd5ff;
  --card: #ffffff;
  --shadow: 0 10px 35px rgba(0, 22, 122, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 5%, rgba(204, 78, 0, 0.14), transparent 30%),
    radial-gradient(circle at 95% 3%, rgba(0, 22, 122, 0.12), transparent 25%),
    linear-gradient(180deg, #f8faff 0%, var(--bg) 52%, #e9efff 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.container {
  width: min(calc(100% - 2.5rem), var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: rgba(245, 248, 255, 0.9);
  border-bottom: 1px solid rgba(34, 30, 27, 0.08);
}

.nav-wrap {
  min-height: 4.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand-text {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
}

.brand-tuned {
  color: #00167a;
}

.brand-performance {
  color: #cc4e00;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-weight: 600;
}

.main-nav a {
  color: var(--text-soft);
  transition: color 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--brand-dark);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: #edf2ff;
  padding: 0.8rem;
  gap: 0.25rem;
  cursor: pointer;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background: var(--text);
  display: block;
  transition: transform 220ms ease, opacity 180ms ease;
}

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

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

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

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.7rem 1.15rem;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(120deg, var(--brand) 0%, #eb6d1f 100%);
  color: #fff9f6;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(120deg, #b44400 0%, #d85a0f 100%);
}

.btn-ghost {
  border-color: rgba(34, 30, 27, 0.18);
  color: var(--text);
  background: rgba(255, 255, 255, 0.28);
}

.btn-nav {
  background: #dde5ff;
  color: var(--text);
  border-color: #bcc8ff;
}

.btn-block {
  width: 100%;
}

.hero {
  position: relative;
  overflow: clip;
  padding: 4.8rem 0 3.6rem;
}

.hero-bg-shape {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(1px);
}

.hero-bg-shape-a {
  width: 380px;
  height: 380px;
  right: -80px;
  top: 30px;
  background: radial-gradient(circle, rgba(204, 78, 0, 0.35) 0%, rgba(204, 78, 0, 0) 70%);
}

.hero-bg-shape-b {
  width: 320px;
  height: 320px;
  left: -90px;
  top: 110px;
  background: radial-gradient(circle, rgba(0, 22, 122, 0.2) 0%, rgba(0, 22, 122, 0) 72%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: start;
}

.eyebrow {
  margin: 0;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
}

h1,
h2 {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4.3rem);
  margin-top: 0.45rem;
  max-width: 14ch;
}

.hero-text {
  margin: 0.9rem 0 1.15rem;
  max-width: 58ch;
}

.hero-note,
.section-note {
  margin: 0 0 1rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  border: 1px solid #ffccae;
  background: #fff6ef;
  color: #8f3600;
  font-weight: 600;
}

.section-note {
  margin-top: 0.75rem;
}

.hero-cta {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.hero-points {
  display: grid;
  gap: 0.4rem;
  margin: 1.15rem 0 0;
  padding-left: 1.15rem;
}

.hero-card,
.stat-card,
.service-card,
.coverage-panel,
.process-step,
.review-card,
.contact-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1.1rem;
}

.hero-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 0.85rem;
  border: 1px solid var(--line);
}

.hero-card h2 {
  margin-bottom: 0.85rem;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
}

.service-quick-list {
  display: grid;
  gap: 0.8rem;
}

.service-quick-list article {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  background: #f8faff;
}

.service-quick-list article:first-child {
  border-color: #ffbf97;
  background: #fff7f1;
}

.service-quick-list h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.service-quick-list p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.stats {
  margin-top: 1rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.stat-card {
  padding: 1rem;
  text-align: center;
}

.stat-value {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin: 0;
  color: var(--brand-dark);
}

.stat-label {
  margin: 0.2rem 0 0;
  color: var(--text-soft);
}

.section {
  padding: 4.4rem 0;
}

.section-head {
  margin-bottom: 1.4rem;
}

.section-head h2 {
  margin-top: 0.45rem;
  font-size: clamp(1.95rem, 4vw, 3rem);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.service-card {
  padding: 1.05rem;
}

.service-card-soon {
  border-color: #ffbf97;
  background: linear-gradient(180deg, #fffdfb 0%, #fff5ec 100%);
  position: relative;
}

.status-badge {
  display: inline-flex;
  margin: 0 0 0.6rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid #ffb689;
  background: #fff0e3;
  color: #9a3900;
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-soon-note {
  margin: 0.65rem 0 0.7rem;
  color: #8f3600;
  font-weight: 700;
}

.notify-form {
  border: 1px dashed #ffbf97;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
  padding: 0.65rem;
  display: grid;
  gap: 0.5rem;
}

.notify-form label {
  display: grid;
  gap: 0.18rem;
  font-weight: 700;
  color: var(--text);
  font-size: 0.92rem;
}

.notify-form input {
  width: 100%;
  border: 1px solid #e0a57f;
  border-radius: 8px;
  padding: 0.5rem 0.62rem;
  font: inherit;
  color: var(--text);
  background: #fff;
}

.notify-form input:focus {
  outline: 2px solid #cc4e00;
  outline-offset: 1px;
  border-color: #cc4e00;
}

.notify-form .btn {
  width: 100%;
  padding-block: 0.6rem;
}

.service-media {
  width: 100%;
  height: clamp(180px, 20vw, 220px);
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  margin-bottom: 0.75rem;
  border: 1px solid var(--line);
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.service-card p {
  margin: 0;
  color: var(--text-soft);
}

.stage-estimator {
  background:
    linear-gradient(135deg, rgba(0, 22, 122, 0.08), rgba(204, 78, 0, 0.08)),
    #f4f7ff;
  border-block: 1px solid var(--line);
}

.stage-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
  align-items: start;
}

.stage-copy h2 {
  margin: 0.45rem 0 0.7rem;
  font-size: clamp(1.95rem, 4vw, 3rem);
}

.stage-form-wrap {
  display: grid;
  gap: 0.8rem;
}

.stage-form,
.stage-result {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.stage-form {
  display: grid;
  gap: 0.7rem;
}

.stage-form label {
  display: grid;
  gap: 0.25rem;
  font-weight: 700;
}

.stage-form input,
.stage-form select {
  width: 100%;
  border: 1px solid #a9b9ff;
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  color: var(--text);
  background: #f9fbff;
}

.stage-form input:focus,
.stage-form select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

.stage-lookup {
  border: 1px solid #b7c5ff;
  border-radius: 10px;
  background: #f3f6ff;
  padding: 0.62rem 0.72rem;
}

.stage-lookup-title {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.stage-lookup-text {
  margin: 0.2rem 0 0;
  color: var(--text-soft);
  font-weight: 600;
}

.stage-lookup-details {
  margin-top: 0.6rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.42rem;
}

.vehicle-detail-item {
  border: 1px solid #d5ddff;
  border-radius: 8px;
  background: #f8faff;
  padding: 0.45rem 0.52rem;
}

.vehicle-detail-label {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #5a6797;
  font-weight: 700;
}

.vehicle-detail-value {
  margin: 0.14rem 0 0;
  font-weight: 700;
  color: var(--text);
  word-break: break-word;
}

.stage-result {
  display: grid;
  gap: 0.7rem;
}

.stage-result h3 {
  font-size: 1.22rem;
}

.stage-result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.stage-result-grid > div {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.6rem;
  background: #f8faff;
}

.stage-label {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stage-value {
  margin: 0.28rem 0 0;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(1.1rem, 2.4vw, 1.55rem);
  letter-spacing: 0.01em;
  color: var(--brand-dark);
}

.stage-disclaimer {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.estimate-section {
  background: linear-gradient(180deg, #f9fbff 0%, #f2f6ff 100%);
}

.estimate-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
}

.estimate-form,
.estimate-result {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.estimate-form {
  display: grid;
  gap: 0.7rem;
}

.estimate-form label {
  display: grid;
  gap: 0.25rem;
  font-weight: 700;
}

.estimate-form input,
.estimate-form select {
  width: 100%;
  border: 1px solid #a9b9ff;
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  font: inherit;
  color: var(--text);
  background: #f9fbff;
}

.estimate-form input:focus,
.estimate-form select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

.parts-block {
  border: 1px dashed #c7d2ff;
  border-radius: 12px;
  background: #f6f9ff;
  padding: 0.7rem;
}

.parts-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.parts-head p {
  margin: 0;
  font-weight: 800;
}

#partsRows {
  display: grid;
  gap: 0.6rem;
}

.part-row {
  display: grid;
  grid-template-columns: 1.4fr 0.5fr auto;
  gap: 0.45rem;
  align-items: end;
}

.part-row button {
  white-space: nowrap;
}

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

.estimate-result {
  display: grid;
  gap: 0.8rem;
}

.estimate-result h3 {
  font-size: 1.22rem;
}

.estimate-result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.estimate-result-grid > div {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.6rem;
  background: #f8faff;
}

.estimate-total {
  border: 1px solid #ffd1b4;
  background: #fff4ea;
  border-radius: 12px;
  padding: 0.72rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.estimate-total p {
  margin: 0;
  font-weight: 800;
}

.estimate-total p:last-child {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.8rem);
  color: var(--brand-dark);
}

.stage-price-note {
  margin-top: 0.1rem;
}

.section-accent {
  background:
    linear-gradient(140deg, rgba(0, 22, 122, 0.12), rgba(204, 78, 0, 0.1)),
    var(--bg-soft);
  border-block: 1px solid var(--line);
}

.coverage-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1rem;
  align-items: start;
}

.postcode-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.postcode-list span {
  border: 1px solid #9aaeff;
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  background: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 0.92rem;
}

.coverage-panel {
  padding: 1.05rem;
}

.coverage-panel h3 {
  font-size: 1.2rem;
}

.coverage-panel ul {
  margin: 0.85rem 0 1rem;
  padding-left: 1.1rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.process-step {
  padding: 1rem;
  position: relative;
}

.process-step span {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: #dfe6ff;
  color: var(--accent);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.process-step h3 {
  margin-bottom: 0.35rem;
}

.process-step p,
.review-card p {
  margin: 0;
  color: var(--text-soft);
}

.section-soft {
  background: rgba(255, 250, 244, 0.8);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.review-card {
  padding: 1rem;
}

.review-card h3 {
  margin-top: 0.8rem;
  font-size: 0.95rem;
  color: var(--text-soft);
}

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

.social-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.05rem;
  display: grid;
  gap: 0.8rem;
  justify-items: center;
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-icon svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.social-icon-instagram {
  background: linear-gradient(140deg, #d62976, #fa7e1e);
}

.social-icon-gumtree {
  background: linear-gradient(140deg, #31b57d, #1a8d5f);
}

.social-btn {
  width: 100%;
}

.contact {
  background:
    linear-gradient(140deg, rgba(0, 22, 122, 0.08), transparent 40%),
    linear-gradient(315deg, rgba(204, 78, 0, 0.11), transparent 42%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
  align-items: start;
}

.contact-details {
  margin-top: 1.1rem;
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
}

.contact-actions {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.contact-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.62rem 0.75rem;
  background: #f8fbff;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.contact-action:hover,
.contact-action:focus-visible {
  transform: translateY(-2px);
  border-color: #9fb0ff;
  background: #eef3ff;
}

.contact-action-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-action-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--accent);
}

.contact-form {
  padding: 1rem;
  display: grid;
  gap: 0.7rem;
}

.contact-form label {
  display: grid;
  gap: 0.25rem;
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #a9b9ff;
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  color: var(--text);
  background: #f9fbff;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

.form-note {
  margin: 0;
  font-size: 0.95rem;
  min-height: 1.2rem;
  color: var(--accent);
  font-weight: 600;
}

.form-note.is-error {
  color: var(--brand-dark);
}

.site-footer {
  border-top: 1px solid rgba(34, 30, 27, 0.1);
  padding: 1.2rem 0;
  background: rgba(239, 244, 255, 0.95);
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  color: var(--text-soft);
  font-weight: 600;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-link-button:hover,
.footer-link-button:focus-visible {
  color: var(--brand-dark);
}

.footer-link-button {
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  transition: opacity 180ms ease, transform 180ms ease;
}

.cookie-banner.is-hidden {
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
}

.cookie-banner-inner {
  width: min(100%, 980px);
  margin-inline: auto;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 0.95rem 1rem;
}

.cookie-title {
  margin: 0;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.cookie-text {
  margin: 0.3rem 0 0;
  color: var(--text-soft);
}

.cookie-actions {
  margin-top: 0.7rem;
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
}

.cookie-modal[hidden] {
  display: none;
}

.cookie-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 17, 70, 0.45);
}

.cookie-modal-card {
  position: relative;
  width: min(calc(100% - 1.5rem), 560px);
  margin: 7vh auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 1rem;
}

.cookie-modal-card h2 {
  font-size: clamp(1.6rem, 4vw, 2.1rem);
}

.cookie-modal-card > p {
  margin: 0.45rem 0 0.65rem;
  color: var(--text-soft);
}

.cookie-toggle {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fbff;
  padding: 0.7rem;
  margin-top: 0.55rem;
}

.cookie-toggle strong,
.cookie-toggle small {
  display: block;
}

.cookie-toggle small {
  margin-top: 0.12rem;
  color: var(--text-soft);
}

.cookie-toggle input {
  width: 18px;
  height: 18px;
  margin-top: 0.16rem;
}

.cookie-toggle-locked {
  border-color: #ffcca8;
  background: #fff6ef;
}

.cookie-modal-open {
  overflow: hidden;
}

.legal-page {
  min-height: 100vh;
}

.legal-main {
  width: min(calc(100% - 2.5rem), 960px);
  margin: 0 auto;
  padding: 2.1rem 0 3rem;
}

.legal-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.3rem;
}

.legal-card h1 {
  max-width: none;
  margin: 0.25rem 0 0.45rem;
}

.legal-card h2 {
  margin-top: 1.1rem;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

.legal-card p,
.legal-card li {
  color: var(--text-soft);
}

.legal-meta {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  color: #5a6797;
}

.legal-list {
  margin: 0.45rem 0 0;
  padding-left: 1.15rem;
}

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

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.thank-you-page {
  min-height: 100vh;
}

.thank-you-main {
  min-height: 100vh;
  width: min(calc(100% - 2.5rem), 760px);
  margin-inline: auto;
  display: grid;
  place-items: center;
  padding: 2rem 0;
}

.thank-you-card {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.35rem;
}

.thank-you-card h1 {
  margin-top: 0.5rem;
  font-size: clamp(1.9rem, 5vw, 3rem);
}

.thank-you-card p {
  color: var(--text-soft);
}

@media (max-width: 980px) {
  .nav-wrap {
    position: relative;
  }

  .hero-grid,
  .stage-grid,
  .estimate-grid,
  .service-grid,
  .coverage-grid,
  .process-grid,
  .review-grid,
  .social-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3.6rem;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    margin-left: auto;
  }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 30;
    display: grid;
    gap: 0;
    background: #f4f7ff;
    border-bottom: 1px solid #c7d2ff;
    border-top: 1px solid #c7d2ff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 260ms ease;
  }

  .main-nav a {
    padding: 0.9rem 1.25rem;
    border-top: 1px solid rgba(0, 22, 122, 0.08);
  }

  .main-nav.open {
    max-height: 380px;
  }

  .btn-nav {
    border-radius: 0;
    background: #e0e7ff;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.2rem 0;
  }
}

@media (max-width: 760px) {
  .container,
  .thank-you-main {
    width: min(calc(100% - 1.5rem), var(--container));
  }

  .legal-main {
    width: min(calc(100% - 1.5rem), 960px);
  }

  .nav-wrap {
    min-height: 4.1rem;
  }

  .brand {
    gap: 0.45rem;
    min-width: 0;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .brand-text {
    font-size: 1.06rem;
    letter-spacing: 0.02em;
    line-height: 1;
  }

  h1 {
    max-width: none;
  }

  .hero {
    padding: 3.2rem 0 2.7rem;
  }

  .hero-card,
  .service-card,
  .coverage-panel,
  .process-step,
  .review-card,
  .contact-form,
  .thank-you-card {
    padding: 0.9rem;
  }

  .service-quick-list h3,
  .service-card h3 {
    line-height: 1.25;
  }

  .contact-actions {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    left: 0.6rem;
    right: 0.6rem;
    bottom: 0.6rem;
  }
}

@media (max-width: 560px) {
  .menu-toggle {
    width: 44px;
    height: 44px;
  }

  .hero-cta {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .postcode-list span {
    font-size: 0.86rem;
    padding: 0.28rem 0.58rem;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea,
  .stage-form input,
  .stage-form select,
  .estimate-form input,
  .estimate-form select,
  .notify-form input {
    font-size: 16px;
  }

  .stage-result-grid {
    grid-template-columns: 1fr;
  }

  .stage-lookup-details,
  .estimate-result-grid,
  .estimate-columns,
  .part-row {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-actions .btn {
    width: 100%;
  }

  .footer-links {
    width: 100%;
    gap: 0.6rem 0.9rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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