/* ==========================================================================
   Pure Plastering and Rendering Ltd — plasteringserviceswarwick.co.uk
   Token system — matched to the client's own logo (black/blue/white, trowel mark)
   ========================================================================== */
:root {
  --black: #0A0B0D;
  --charcoal: #17181B;
  --charcoal-2: #212327;
  --blue: #1E9DE3;
  --blue-dark: #1678B0;
  --blue-light: #5BC2F5;
  --white: #FFFFFF;
  --offwhite: #F3F5F7;
  --offwhite-2: #E8ECEF;
  --line: #DCE1E6;
  --ink: #17181B;
  --ink-soft: #565B62;

  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius: 6px;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
p { margin: 0 0 1em; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Signature element: trowel-sweep divider
   Diagonal comb-stroke pattern echoing the sweep marks a plastering trowel
   leaves in wet plaster — and the diagonal trowel mark in the client's logo.
   ========================================================================== */
.trowel-divider {
  height: 18px;
  width: 100%;
  background: var(--black);
  background-image: repeating-linear-gradient(
    115deg,
    var(--blue) 0px, var(--blue) 3px,
    transparent 3px, transparent 26px
  );
}
.trowel-divider.--light {
  background: var(--offwhite-2);
  background-image: repeating-linear-gradient(
    115deg,
    var(--line) 0px, var(--line) 3px,
    transparent 3px, transparent 26px
  );
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.top-bar { background: var(--charcoal-2); border-bottom: 1px solid #2C2F34; }
.top-bar-inner {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  font-size: 0.82rem;
  color: #AEB4BC;
  padding: 7px 24px;
  flex-wrap: wrap;
}
.top-bar-inner a { color: var(--white); text-decoration: none; font-weight: 600; }
.top-bar-inner a:hover { color: var(--blue-light); }
@media (max-width: 640px) { .top-bar-inner { justify-content: center; } }

.site-header {
  background: var(--black);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 3px solid var(--blue);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 20px;
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  white-space: nowrap;
}
.brand-lockup img { height: 48px; width: auto; }
.brand-lockup .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-lockup .brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--white);
  text-transform: uppercase;
}
.brand-lockup .brand-tagline {
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--blue-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.main-nav { display: none; }
.main-nav ul { list-style: none; display: flex; gap: 24px; margin: 0; padding: 0; }
.main-nav a {
  text-decoration: none;
  color: var(--white);
  font-weight: 600;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a.is-active { border-bottom-color: var(--blue); color: var(--blue-light); }
.header-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: var(--black);
  padding: 12px 20px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 0.9rem;
  text-transform: uppercase;
  white-space: nowrap;
}
.header-call:hover { background: var(--blue-light); }
@media (min-width: 960px) { .main-nav { display: block; } }

.nav-toggle {
  display: inline-flex;
  background: none;
  border: 2px solid var(--white);
  color: var(--white);
  padding: 8px 12px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  cursor: pointer;
}
@media (min-width: 960px) { .nav-toggle { display: none; } }
.mobile-nav { display: none; background: var(--charcoal); border-top: 1px solid #2C2F34; }
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 8px 24px 16px; }
.mobile-nav a {
  display: block; padding: 10px 0; color: var(--white); text-decoration: none;
  font-weight: 700; text-transform: uppercase; font-size: 0.9rem;
  border-bottom: 1px solid #2C2F34;
}
@media (min-width: 960px) { .mobile-nav { display: none !important; } }

.sticky-call {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  background: var(--blue); color: var(--black); text-align: center; padding: 14px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  text-decoration: none; text-transform: uppercase;
  box-shadow: 0 -4px 14px rgba(0,0,0,0.35);
}
@media (min-width: 960px) { .sticky-call { display: none; } }
body { padding-bottom: 62px; }
@media (min-width: 960px) { body { padding-bottom: 0; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { background: var(--black); color: var(--white); padding: 56px 0 0; }
.hero .container {
  display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; padding-bottom: 48px;
}
@media (min-width: 900px) {
  .hero .container { grid-template-columns: 1.1fr 1fr; padding-bottom: 56px; }
}
.hero-eyebrow {
  display: inline-block; color: var(--blue-light); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.82rem; margin-bottom: 14px;
}
.hero h1 { font-size: clamp(2rem, 4.6vw, 2.9rem); color: var(--white); text-transform: none; }
.hero p.lede { font-size: 1.1rem; color: #C7CDD3; max-width: 48ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 15px 26px;
  border-radius: var(--radius); font-weight: 700; font-family: var(--font-display);
  text-decoration: none; font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.03em;
  border: 2px solid transparent;
}
.btn--primary { background: var(--blue); color: var(--black); }
.btn--primary:hover { background: var(--blue-light); }
.btn--ghost { border-color: #4A4F56; color: var(--white); }
.btn--ghost:hover { background: rgba(255,255,255,0.06); }
.hero-figure { border-radius: 10px; overflow: hidden; border: 4px solid var(--charcoal-2); }
.hero-figure img { width: 100%; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 64px 0; }
.section--tight { padding: 48px 0; }
.section-head { max-width: 62ch; margin-bottom: 36px; }
.section-eyebrow {
  display: block; color: var(--blue-dark); font-weight: 700; text-transform: uppercase;
  font-size: 0.8rem; letter-spacing: 0.08em; margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; text-transform: none; }

.services-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 700px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }
.service-card {
  background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--blue);
  padding: 26px 22px; border-radius: var(--radius); text-decoration: none; color: var(--ink);
  display: flex; flex-direction: column; height: 100%;
  box-shadow: 0 2px 10px rgba(10,11,13,0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.service-card:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(10,11,13,0.14); }
.service-card h3 { font-size: 1.08rem; margin-bottom: 10px; }
.service-card p { color: var(--ink-soft); font-size: 0.96rem; flex-grow: 1; text-transform: none; }
.service-card .card-link {
  margin-top: 14px; font-weight: 700; color: var(--blue-dark); font-size: 0.86rem;
  text-transform: uppercase; letter-spacing: 0.03em;
}

/* Gallery */
.gallery { columns: 1; column-gap: 18px; }
@media (min-width: 640px) { .gallery { columns: 2; } }
@media (min-width: 980px) { .gallery { columns: 3; } }
.gallery figure {
  margin: 0 0 18px; break-inside: avoid; border: 1px solid var(--line);
  background: var(--white); border-radius: 8px; overflow: hidden;
  box-shadow: 0 2px 10px rgba(10,11,13,0.06);
}
.gallery img { width: 100%; display: block; }
.gallery figcaption {
  background: var(--black); color: var(--white); font-weight: 700; font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.03em; padding: 9px 12px;
}

/* Checklist */
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
  display: flex; align-items: flex-start; gap: 10px; padding: 10px 0;
  border-bottom: 1px solid var(--line); font-weight: 700; color: var(--ink);
  text-transform: none;
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: "\2713"; display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; flex-shrink: 0; background: var(--blue); color: var(--black);
  border-radius: 50%; font-size: 0.8rem; font-weight: 800;
}

/* Areas pill cloud */
.areas-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.area-pill {
  background: var(--white); border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px;
  font-weight: 700; font-size: 0.9rem; text-decoration: none; color: var(--ink); text-transform: none;
}
.area-pill:hover { border-color: var(--blue); color: var(--blue-dark); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 18px 40px; }
@media (min-width: 800px) { .faq-grid { grid-template-columns: 1fr 1fr; } }
.faq-item { border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.faq-item h3 { font-size: 1rem; margin-bottom: 8px; }
.faq-item p { color: var(--ink-soft); font-size: 0.96rem; margin-bottom: 0; text-transform: none; }

/* CTA band */
.cta-band { background: var(--black); color: var(--white); text-align: center; padding: 56px 0; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #C7CDD3; max-width: 50ch; margin: 0 auto 24px; text-transform: none; }
.cta-band .btn-row { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* Page hero */
.page-hero { background: var(--black); color: var(--white); padding: 46px 0; }
.page-hero h1 { color: var(--white); font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.page-hero .breadcrumb { font-size: 0.85rem; color: #AEB4BC; margin-bottom: 14px; text-transform: none; }
.page-hero .breadcrumb a { color: var(--white); text-decoration: none; }
.page-hero .breadcrumb a:hover { text-decoration: underline; }
.page-hero p.lede { color: #C7CDD3; max-width: 60ch; font-size: 1.02rem; text-transform: none; }

/* Content blocks */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.6em; font-size: 1.28rem; }
.prose ul { padding-left: 1.2em; color: var(--ink-soft); text-transform: none; }
.prose li { margin-bottom: 0.5em; }
.prose p { text-transform: none; }
.two-col { display: grid; grid-template-columns: 1fr; gap: 36px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1.2fr 1fr; } }
.info-panel {
  background: var(--offwhite); border: 1px solid var(--line); border-top: 4px solid var(--blue);
  padding: 24px; border-radius: var(--radius); align-self: start;
}
.info-panel h3 { font-size: 1rem; }
.info-panel dl { margin: 0; }
.info-panel dt {
  font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--ink-soft); margin-top: 14px;
}
.info-panel dd { margin: 2px 0 0; text-transform: none; }
.info-panel dd a { color: var(--blue-dark); text-decoration: none; font-weight: 700; }

.material-list { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 24px 0; }
@media (min-width: 700px) { .material-list { grid-template-columns: 1fr 1fr; } }
.material-item { border: 1px solid var(--line); background: var(--offwhite); padding: 16px 18px; border-radius: var(--radius); }
.material-item h4 {
  font-family: var(--font-body); font-weight: 700; margin: 0 0 6px; font-size: 1rem;
  text-transform: none;
}
.material-item p { margin: 0; color: var(--ink-soft); font-size: 0.94rem; text-transform: none; }

/* Van/about image */
.van-figure { border-radius: 8px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 2px 10px rgba(10,11,13,0.06); }
.van-figure figcaption { padding: 10px 4px 0; font-size: 0.85rem; color: var(--ink-soft); text-align: center; }

/* Footer */
.site-footer { background: var(--charcoal); color: #C7CDD3; padding: 44px 0 32px; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-grid h4 {
  font-family: var(--font-body); font-weight: 700; color: var(--white); font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: #C7CDD3; text-decoration: none; }
.footer-grid a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom {
  margin-top: 32px; padding-top: 20px; border-top: 1px solid #2C2F34;
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  font-size: 0.85rem; color: #8B919A;
}
.footer-bottom a { color: #8B919A; text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }

/* 404 */
.error-page { min-height: 60vh; display: flex; align-items: center; }
.error-page .container { text-align: center; }
.error-page h1 { font-size: clamp(2.4rem, 8vw, 4.5rem); color: var(--blue); }

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