/* Clean Slate Clearance — cleanslateclearance.co.uk
   Design language modelled on proclearanceltd.co.uk: red/white/charcoal,
   plain trades-style layout, phone number everywhere. */

:root {
  --red: #d6382c;
  --red-dark: #b02a20;
  --red-deep: #8e1f17;
  --ink: #262626;
  --ink-soft: #4a4a4a;
  --paper: #ffffff;
  --off: #f7f4f1;
  --line: #e7e2dd;
  --serif: Georgia, 'Times New Roman', serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
}

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

a { color: var(--red-dark); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }

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

.topbar {
  background: var(--red);
  text-align: center;
  padding: 9px 14px;
}

.topbar a {
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
}

.topbar a span { text-decoration: underline; text-underline-offset: 3px; }

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

.site-head { border-bottom: 1px solid var(--line); background: #fff; }

.site-head .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 16px;
  padding-bottom: 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand svg { width: 40px; height: 40px; flex: none; }

.brand b {
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: -.01em;
}

.brand b em { color: var(--red); font-style: normal; }

.brand small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.site-nav { margin-left: auto; }

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  padding: 6px 9px;
}

.site-nav a:hover { color: var(--red-dark); }

.head-phone { white-space: nowrap; }

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

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }

.btn-dark { background: #3d3d3d; color: #fff; }
.btn-dark:hover { background: var(--ink); }

.btn-ghost {
  background: #fff;
  color: var(--red-dark);
  border: 2px solid #fff;
}

/* ---------- Heroes ---------- */

/* Photo hero (homepage) — like the reference homepage */
.hero-photo {
  position: relative;
  color: #fff;
  background: var(--ink);
}

.hero-photo img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .38;
}

.hero-photo .wrap {
  position: relative;
  padding-top: 92px;
  padding-bottom: 92px;
  display: flex;
  justify-content: flex-end;
}

.hero-inner { max-width: 560px; text-align: right; }

.hero-inner h1 {
  font-size: 44px;
  line-height: 1.12;
  letter-spacing: -.01em;
}

.hero-inner h1 .accent {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 34px;
  margin-top: 6px;
}

.hero-inner p { margin: 18px 0 24px; font-size: 17.5px; }

.hero-ctas { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }

.hero-chips {
  margin-top: 22px;
  display: flex;
  gap: 8px 18px;
  justify-content: flex-end;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 600;
}

.hero-chips span::before { content: '✓  '; color: #ffd9d5; }

/* Red band hero (area pages) — like the reference inner pages */
.hero-band {
  background-color: var(--red);
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,.045) 0 14px, transparent 14px 28px),
    repeating-linear-gradient(-45deg, rgba(0,0,0,.05) 0 14px, transparent 14px 28px);
  color: #fff;
  text-align: center;
  padding: 64px 22px 70px;
}

.hero-band .kicker {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #ffe1de;
}

.hero-band h1 { font-size: 42px; line-height: 1.1; margin: 10px 0 6px; }

.hero-band h1 .place {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 64px;
  margin-top: 4px;
}

.hero-band p { max-width: 640px; margin: 14px auto 26px; font-size: 17.5px; }

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

section { padding: 64px 0; }

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

.eyebrow {
  color: var(--red-dark);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

h2 { font-size: 31px; line-height: 1.2; letter-spacing: -.01em; margin-bottom: 16px; }

h3 { font-size: 20px; margin-bottom: 8px; }

.section-intro { max-width: 760px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.split.flip .media { order: 2; }

.split .media img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 8px;
}

.split p + p, .prose p + p { margin-top: 14px; }

.prose { max-width: 800px; }

.prose h2 { margin-top: 34px; }
.prose h2:first-of-type { margin-top: 0; }

/* Checklists — red tick style like the reference */
ul.checks { list-style: none; margin: 18px 0 0; }

ul.checks li {
  padding: 7px 0 7px 34px;
  position: relative;
  font-weight: 500;
}

ul.checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--red);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm-1.2 14.6-4.2-4.2 1.7-1.7 2.5 2.5 5.9-5.9 1.7 1.7-7.6 7.6Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm-1.2 14.6-4.2-4.2 1.7-1.7 2.5 2.5 5.9-5.9 1.7 1.7-7.6 7.6Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Licence callout — mirrors the bold licence line on the reference */
.licence-note {
  margin-top: 22px;
  background: #fff;
  border: 2px dashed var(--red);
  border-radius: 8px;
  padding: 18px 22px;
  font-weight: 700;
  letter-spacing: .02em;
}

section.alt .licence-note { background: var(--off); }

/* Area cards */
.area-cards {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.area-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--red);
  border-radius: 8px;
  padding: 18px 20px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 17px;
}

.area-card small { display: block; font-weight: 500; color: var(--ink-soft); margin-top: 3px; font-size: 14px; }

.area-card:hover { border-color: var(--red); }

.area-card.soon { border-left-color: var(--line); color: var(--ink-soft); }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--red);
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,.045) 0 14px, transparent 14px 28px);
  color: #fff;
  text-align: center;
  padding: 56px 22px;
}

.cta-band p.lead { font-size: 21px; max-width: 620px; margin: 0 auto; }

.cta-band .phone {
  display: inline-block;
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  margin: 14px 0 20px;
  letter-spacing: .01em;
}

/* ---------- Form ---------- */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
  margin-top: 26px;
  max-width: 780px;
}

.form-grid .full { grid-column: 1 / -1; }

.field label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}

.field label span.opt { color: var(--ink-soft); font-weight: 500; }

.field input[type=text],
.field input[type=tel],
.field input[type=email],
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #cfc9c3;
  border-radius: 6px;
  font: inherit;
  background: #fff;
  color: var(--ink);
}

.field input:focus, .field textarea:focus {
  outline: 2px solid var(--red);
  outline-offset: 1px;
  border-color: var(--red);
}

.field textarea { min-height: 120px; resize: vertical; }

.field input[type=file] { font-size: 14.5px; padding: 8px 0; }

.form-note { font-size: 14px; color: var(--ink-soft); margin-top: 12px; }

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

footer {
  background: #2b2b2b;
  color: #d8d4d0;
  padding: 44px 0 90px; /* bottom padding clears the mobile call bar */
  font-size: 14.5px;
}

footer .wrap {
  display: flex;
  gap: 30px;
  justify-content: space-between;
  flex-wrap: wrap;
}

footer a { color: #fff; }

footer .foot-brand b { color: #fff; font-size: 17px; }
footer .foot-brand b em { color: #ff7d72; font-style: normal; }

footer p + p { margin-top: 8px; }

/* ---------- Sticky mobile call bar ---------- */

.callbar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: 15px 10px;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
  z-index: 60;
  box-shadow: 0 -3px 14px rgba(0,0,0,.25);
}

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

@media (max-width: 920px) {
  .split { grid-template-columns: 1fr; gap: 26px; }
  .split.flip .media { order: 0; }
  .split .media img { height: 260px; }
  .hero-inner h1 { font-size: 36px; }
  .hero-inner h1 .accent { font-size: 27px; }
  .hero-band h1 { font-size: 34px; }
  .hero-band h1 .place { font-size: 50px; }
  section { padding: 48px 0; }
}

@media (max-width: 1000px) {
  .head-phone { display: none; }
}

@media (max-width: 820px) {
  .callbar { display: block; }
  .hero-photo .wrap { justify-content: flex-start; }
  .hero-inner, .hero-inner h1 { text-align: left; }
  .hero-ctas, .hero-chips { justify-content: flex-start; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .site-head .wrap { gap: 12px; }
  .site-nav { margin-left: 0; width: 100%; }
  .site-nav a { padding: 4px 10px 4px 0; font-size: 14px; }
  .form-grid { grid-template-columns: 1fr; }
  h2 { font-size: 26px; }
  .cta-band .phone { font-size: 31px; }
  .hero-photo .wrap { padding-top: 56px; padding-bottom: 56px; }
}
