/* Colchester Clearance — shared styles (mobile-first) */
:root {
  --green-900: #0f3d2e;
  --green-800: #145239;
  --green-700: #1a6b4a;
  --green-600: #217a56;
  --green-100: #e8f5ef;
  --green-50: #f3faf6;
  --amber-500: #e8a317;
  --amber-600: #c98a0f;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(15, 61, 46, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 61, 46, 0.12);
  --max: 1120px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--slate-700);
  background: var(--white);
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--green-900); text-decoration: underline; }
ul { list-style: none; }
h1, h2, h3, h4 { color: var(--slate-900); line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 0.75rem; }
h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }
.lead { font-size: 1.125rem; color: var(--slate-600); max-width: 40rem; }

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

/* Top bar */
.topbar {
  background: var(--green-900);
  color: var(--white);
  font-size: 0.875rem;
  padding: 0.5rem 0;
}
.topbar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}
.topbar a { color: var(--white); font-weight: 600; }
.topbar a:hover { color: var(--amber-500); text-decoration: none; }
.placeholder-note {
  display: inline-block;
  background: rgba(232, 163, 23, 0.25);
  color: #fde68a;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  margin-left: 0.35rem;
  vertical-align: middle;
  text-transform: uppercase;
}

/* Header / nav */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(15, 61, 46, 0.04);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--slate-900);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.logo:hover { text-decoration: none; color: var(--slate-900); }
.logo-mark {
  width: 40px;
  height: 40px;
  background: linear-gradient(145deg, var(--green-600), var(--green-900));
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: white;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.logo span { color: var(--green-700); }
/* logo: longer brand name */
@media (max-width: 480px) {
  .logo { font-size: 1.05rem; gap: 0.45rem; }
  .logo-mark { width: 36px; height: 36px; font-size: 0.95rem; }
}
@media (min-width: 481px) and (max-width: 900px) {
  .logo { font-size: 1.1rem; }
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--slate-900);
  border-radius: 1px;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-toggle span { transition: transform 0.2s, opacity 0.2s; }

.primary-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  padding: 0.75rem 1rem 1.25rem;
  box-shadow: var(--shadow);
}
.primary-nav.is-open { display: block; }
.primary-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.primary-nav a {
  display: block;
  padding: 0.65rem 0.85rem;
  color: var(--slate-700);
  font-weight: 550;
  font-size: 0.95rem;
  border-radius: 8px;
  text-decoration: none;
}
.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  background: var(--green-50);
  color: var(--green-800);
  text-decoration: none;
}
.nav-cta {
  margin-top: 0.5rem;
}
.nav-cta .btn { width: 100%; justify-content: center; }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .primary-nav {
    display: block;
    position: static;
    border: none;
    padding: 0;
    box-shadow: none;
    background: transparent;
  }
  .primary-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 0.1rem;
    flex-wrap: wrap;
  }
  .primary-nav a {
    padding: 0.45rem 0.55rem;
    font-size: 0.875rem;
  }
  .nav-cta { margin-top: 0; margin-left: 0.35rem; }
  .nav-cta .btn { width: auto; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.25rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--amber-500);
  color: var(--slate-900);
  border-color: var(--amber-500);
}
.btn-primary:hover {
  background: var(--amber-600);
  border-color: var(--amber-600);
  color: var(--slate-900);
}
.btn-secondary {
  background: var(--green-700);
  color: var(--white);
  border-color: var(--green-700);
}
.btn-secondary:hover {
  background: var(--green-900);
  border-color: var(--green-900);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-dark {
  background: transparent;
  color: var(--green-800);
  border-color: var(--green-700);
}
.btn-outline-dark:hover {
  background: var(--green-50);
  color: var(--green-900);
}
.btn-lg { padding: 0.9rem 1.5rem; font-size: 1.05rem; }
.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.85rem; }

/* Hero */
.hero {
  background: linear-gradient(145deg, var(--green-900) 0%, var(--green-700) 55%, #1e7a5c 100%);
  color: var(--white);
  padding: 3rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% 40%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(232,163,23,0.18), transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 800px) {
  .hero-grid { grid-template-columns: 1.2fr 0.8fr; align-items: center; }
}
.hero h1 { color: var(--white); }
.hero .lead { color: rgba(255,255,255,0.88); }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.25rem 0 1.75rem;
}
.badge {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-card {
  background: var(--white);
  color: var(--slate-700);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}
.hero-card h2 { font-size: 1.2rem; margin-bottom: 0.75rem; }
.hero-card label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate-600);
  margin-bottom: 0.3rem;
}
.hero-card .field { margin-bottom: 0.85rem; }
.hero-card input,
.hero-card select,
.hero-card textarea,
.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  font: inherit;
  color: var(--slate-900);
  background: var(--white);
}
.hero-card input:focus,
.hero-card select:focus,
.hero-card textarea:focus,
.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  outline: 2px solid var(--green-600);
  outline-offset: 1px;
  border-color: var(--green-600);
}
.form-note {
  font-size: 0.8rem;
  color: var(--slate-500);
  margin-top: 0.75rem;
  margin-bottom: 0;
}

/* Sections */
.section { padding: 3.25rem 0; }
.section-alt { background: var(--green-50); }
.section-muted { background: var(--slate-100); }
.section-header { margin-bottom: 2rem; max-width: 40rem; }

/* Cards / grids */
.grid-3 {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 700px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.grid-2 {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 700px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}
.grid-4 {
  display: grid;
  gap: 1rem;
}
@media (min-width: 600px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--green-100);
  color: var(--green-800);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}
.card p { flex: 1; font-size: 0.95rem; }
.card .card-link {
  margin-top: 0.75rem;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Trust strip */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  padding: 1.25rem 0;
}
.trust-items {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  justify-content: center;
  text-align: center;
}
.trust-item {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-700);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.trust-item::before {
  content: "✓";
  color: var(--green-700);
  font-weight: 800;
}

/* Process steps */
.steps {
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
}
@media (min-width: 700px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--slate-200);
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--green-700);
  color: white;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}

/* Pricing table */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 0.95rem;
}
.price-table th,
.price-table td {
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--slate-200);
}
.price-table th {
  background: var(--green-900);
  color: var(--white);
  font-weight: 700;
}
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:nth-child(even) td { background: var(--green-50); }
.price-note {
  font-size: 0.875rem;
  color: var(--slate-500);
  margin-top: 1rem;
}

/* Area cards */
.area-card h3 { color: var(--green-800); }
.area-card p { font-size: 0.95rem; }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--green-800), var(--green-900));
  color: var(--white);
  padding: 2.75rem 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 0.5rem; }
.cta-band p { color: rgba(255,255,255,0.88); max-width: 36rem; margin-inline: auto  ; margin-bottom: 1.5rem; }
.cta-band .hero-actions { justify-content: center; }

/* Page hero (inner pages) */
.page-hero {
  background: var(--green-50);
  border-bottom: 1px solid var(--slate-200);
  padding: 2.25rem 0;
}
.breadcrumb {
  font-size: 0.85rem;
  color: var(--slate-500);
  margin-bottom: 0.75rem;
}
.breadcrumb a { color: var(--slate-600); }
.page-hero .lead { margin-bottom: 0; }

/* Content */
.content-block { max-width: 46rem; }
.content-block ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1.25rem;
}
.content-block li { margin-bottom: 0.4rem; }
.content-block h2 { margin-top: 2rem; }

.split {
  display: grid;
  gap: 2rem;
}
@media (min-width: 800px) {
  .split { grid-template-columns: 1.4fr 1fr; align-items: start; }
}

.form-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.form-card .field { margin-bottom: 1rem; }
.form-card label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--slate-700);
}
.form-success {
  display: none;
  background: var(--green-100);
  color: var(--green-900);
  border: 1px solid #a7d9c0;
  border-radius: 8px;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}
.form-success.is-visible { display: block; }

.callout {
  background: var(--amber-500);
  color: var(--slate-900);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  font-weight: 600;
}
.callout a { color: var(--slate-900); font-weight: 800; }

.licence-box {
  border: 2px dashed var(--slate-300);
  background: var(--slate-100);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin: 1.25rem 0;
}
.licence-box strong { display: block; margin-bottom: 0.35rem; }
.licence-box .placeholder-inline {
  background: #fef3c7;
  color: #92400e;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Footer */
.site-footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding: 3rem 0 1.5rem;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.site-footer h3 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}
.site-footer a { color: var(--slate-400); }
.site-footer a:hover { color: var(--white); }
.site-footer ul li { margin-bottom: 0.4rem; }
.footer-brand { color: var(--white); font-weight: 800; font-size: 1.15rem; margin-bottom: 0.5rem; }
.footer-brand span { color: #6ee7b7; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  font-size: 0.8rem;
}

/* Utilities */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.text-center { text-align: center; }
.phone-highlight {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--green-800);
}
.phone-highlight a { color: inherit; text-decoration: none; }
.phone-highlight a:hover { text-decoration: underline; }

@media (max-width: 959px) {
  .header-inner { position: relative; }
}
