/* Sky Chimney Sweep Cork — structural stylesheet.
   All colours, fonts and radii come from theme.css (see themes/).
   Swap the look by copying a themes/theme-*.css over theme.css. */

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

html { scroll-behavior: smooth; }

body {
  font: 16px/1.6 var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: var(--head-weight);
  line-height: 1.15;
  color: var(--head-ink, var(--ink));
}

h2 { font-size: 30px; margin-bottom: 10px; }
h3 { font-size: 19px; }

a { color: var(--brand); }

.center { text-align: center; }
.center .sub { color: var(--muted); margin-bottom: 34px; }

section { padding: 56px 0; }
section.alt { background: var(--surface-2); }

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

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
}

.bar { display: flex; align-items: center; gap: 18px; padding: 12px 22px; }
.wrap.bar { padding: 12px 22px; }

.logo {
  display: flex; align-items: center; gap: 11px;
  text-decoration: none; color: var(--header-ink);
  margin-right: auto;
}
.logo .mark { width: 40px; height: 40px; flex: none; }
.logo .mark .mk-bg { fill: var(--brand); }
.logo .mark .mk-fg { fill: var(--mark-fg, #ffffff); }
.logo .mark .mk-soft { fill: var(--mark-soft, rgba(255,255,255,.55)); }
.logo .mark .mk-line { stroke: var(--mark-fg, #ffffff); stroke-width: 3; stroke-linecap: round; fill: none; }
.logo .mark .mk-soft-line { stroke: var(--mark-soft, rgba(255,255,255,.55)); stroke-width: 3; stroke-linejoin: round; fill: none; }
.logo b { font-family: var(--font-head); font-size: 18px; font-weight: var(--logo-weight, 800); letter-spacing: var(--logo-spacing, 0); line-height: 1.1; }
.logo small { display: block; font-size: 11.5px; font-weight: 600; color: var(--header-muted, var(--muted)); letter-spacing: .05em; }

nav ul { list-style: none; display: flex; gap: 22px; align-items: center; }
nav a {
  text-decoration: none; color: var(--header-ink);
  font-size: 14.5px; font-weight: 600;
  padding: 6px 2px; border-bottom: 2px solid transparent;
}
nav a.active { border-bottom-color: var(--accent); }
nav a:hover { color: var(--brand); }

.call-btn {
  background: var(--cta-bg); color: var(--cta-ink) !important;
  padding: 10px 18px; border-radius: var(--btn-radius);
  font-weight: 700; border-bottom: none !important;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  background: none; border: 1px solid var(--line); border-radius: 8px;
  color: var(--header-ink); font-size: 22px; line-height: 1;
  padding: 6px 12px; cursor: pointer;
}

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  text-decoration: none; font-weight: 700; font-size: 16px;
  padding: 13px 26px; border-radius: var(--btn-radius);
  border: 2px solid transparent; cursor: pointer;
}
.btn-solid { background: var(--cta-bg); color: var(--cta-ink); }
.btn-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-wa { background: #25d366; color: #ffffff; }
.btn svg { flex: none; }

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

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

.hero { background: var(--hero-bg); padding: 60px 0 56px; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 52px; align-items: center;
}
.eyebrow {
  display: inline-block;
  background: var(--eyebrow-bg, var(--surface-2));
  color: var(--eyebrow-ink, var(--brand));
  font-size: 13px; font-weight: 700;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(34px, 4.6vw, 48px); margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { font-size: 18px; color: var(--muted); max-width: 46ch; }

.checks { list-style: none; margin-top: 22px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.checks svg { flex: none; margin-top: 2px; }
.check-dot { fill: var(--check, var(--accent)); }

.trustline { margin-top: 26px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.trustline b { color: var(--ink); }

.hero-photo { position: relative; }
.hero-photo img {
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .16);
  width: 100%; height: 420px; object-fit: cover;
}
.chip-float {
  position: absolute; left: -14px; bottom: 22px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 18px; font-size: 13.5px; color: var(--muted);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .14);
}
.chip-float b { display: block; font-size: 19px; color: var(--ink); }

.photo-plate {
  position: absolute; left: 14px; right: 14px; bottom: 16px;
  background: var(--plate-bg, rgba(18, 18, 21, .88));
  border: 1px solid var(--line); border-left: 4px solid var(--brand);
  border-radius: calc(var(--radius) / 2);
  padding: 12px 16px; font-size: 13.5px;
  color: var(--plate-ink, rgba(255, 255, 255, .78));
}
.photo-plate b { color: var(--plate-strong, #ffffff); }

/* ---------- Badge strip ---------- */

.badge-strip { background: var(--band-bg); color: var(--band-ink); padding: 14px 0; }
.badge-strip .wrap {
  display: flex; flex-wrap: wrap; gap: 8px 34px; justify-content: center;
  font-size: 13.5px; font-weight: 600; letter-spacing: .04em;
}

/* ---------- Stats band ---------- */

.stats { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 24px 16px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: none; }
.stat b { display: block; font-family: var(--font-head); font-size: 28px; font-weight: var(--head-weight); color: var(--brand); }
.stat span { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* ---------- Steps ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px;
}
.step .num {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand); color: var(--mark-fg, #fff);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; margin-bottom: 14px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- Pricing ---------- */

.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 760px; margin: 0 auto; }
.plan {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px; position: relative;
}
.plan.featured { border-color: var(--accent); border-width: 2px; }
.plan .tag {
  position: absolute; top: -13px; left: 24px;
  background: var(--accent); color: var(--tag-ink, #fff);
  font-size: 12px; font-weight: 700; letter-spacing: .06em;
  padding: 4px 12px; border-radius: 999px;
}
.plan h3 { margin-bottom: 4px; }
.plan .amount { font-family: var(--font-head); font-size: 42px; font-weight: var(--head-weight); color: var(--brand); margin: 6px 0 14px; }
.plan ul { list-style: none; display: grid; gap: 9px; }
.plan li { display: flex; gap: 9px; align-items: flex-start; font-size: 15px; color: var(--muted); }
.plan li svg { flex: none; margin-top: 2px; }
.price-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 22px; }

/* ---------- Gallery ---------- */

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.gallery figure {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.gallery img { width: 100%; height: 220px; object-fit: cover; }
.gallery figcaption { font-size: 13.5px; color: var(--muted); padding: 12px 14px; }

/* ---------- Before / after pair ---------- */

.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ba figure {
  position: relative; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.ba img { width: 100%; height: 360px; object-fit: cover; }
.ba .lab {
  position: absolute; top: 14px; left: 14px;
  background: var(--accent); color: var(--tag-ink, #ffffff);
  font-weight: 700; text-transform: uppercase;
  font-size: 12px; letter-spacing: .1em;
  padding: 5px 12px; border-radius: 4px;
}
.ba .lab.dark { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }

/* ---------- Kit grid (sealed / sheeted / spotless) ---------- */

.kit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.kit-grid figure {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 10px;
}
.kit-grid img { border-radius: calc(var(--radius) / 2); width: 100%; height: 280px; object-fit: cover; }
.kit-grid figcaption { padding: 12px 4px 4px; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-align: center; }

/* ---------- Why sweep grid ---------- */

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 20px;
}
.why-item h3 { font-size: 14.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.why-item p { font-size: 14.5px; color: var(--muted); }

/* ---------- Split sections (CCTV, about) ---------- */

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: center; }
.split > img {
  border-radius: var(--radius); width: 100%; height: 340px; object-fit: cover;
  border: 1px solid var(--line);
}
.split h2 { margin-bottom: 12px; }
.split p { color: var(--muted); margin-bottom: 12px; }
.split ul { list-style: none; display: grid; gap: 9px; margin-top: 6px; }
.split li { display: flex; gap: 9px; align-items: flex-start; font-size: 15.5px; }
.split li svg { flex: none; margin-top: 2px; }

/* ---------- Area chips ---------- */

.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 640px; margin: 0 auto; }
.chips span {
  background: var(--chip-bg, var(--surface)); border: 1px solid var(--line);
  color: var(--chip-ink, var(--ink));
  padding: 8px 18px; border-radius: 999px; font-size: 14.5px; font-weight: 600;
}
.area-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 20px; }

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

.cta-band {
  background: var(--band-bg); color: var(--band-ink);
  border-radius: var(--radius); text-align: center;
  padding: 44px 30px;
}
.cta-band h2 { color: var(--band-ink); }
.cta-band p { opacity: .85; margin: 8px 0 22px; }
.cta-band .btn { background: var(--band-btn-bg, var(--cta-bg)); color: var(--band-btn-ink, var(--cta-ink)); }
.cta-band .cta-hours { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .7; margin: 20px 0 0; }

/* ---------- Contact page ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }

.contact-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; margin-bottom: 18px;
}
.contact-card h3 { margin-bottom: 12px; }
.contact-card .big-tel {
  font-family: var(--font-head); font-size: 30px; font-weight: var(--head-weight);
  color: var(--brand); text-decoration: none; display: inline-block; margin-bottom: 6px;
}
.contact-card p { color: var(--muted); font-size: 15px; }
.contact-card .btn { margin-top: 14px; }

.hours { list-style: none; display: grid; gap: 8px; }
.hours li { display: flex; justify-content: space-between; gap: 20px; font-size: 15px; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.hours li span:last-child { font-weight: 600; }

.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 320px; border: 0; display: block; pointer-events: none; }
.map.map--interactive iframe { pointer-events: auto; }
.map-hint { font-size: 13px; color: var(--muted); text-align: center; margin-top: 8px; }

/* ---------- Enquiry form ---------- */

.enquiry-form { display: grid; gap: 14px; }
.enquiry-form label { font-size: 14px; font-weight: 600; display: grid; gap: 6px; }
.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  font: 15px/1.5 var(--font-body); color: var(--ink);
  background: var(--field-bg, var(--bg));
  border: 1px solid var(--line); border-radius: calc(var(--btn-radius) / 2 + 4px);
  padding: 11px 13px; width: 100%;
}
.enquiry-form textarea { min-height: 110px; resize: vertical; }
.enquiry-form .form-note { font-size: 13px; color: var(--muted); }

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

footer {
  background: var(--footer-bg); color: var(--footer-ink);
  padding: 34px 0; text-align: center; font-size: 14px;
}
footer a { color: var(--footer-ink); }
footer .privacy-link { opacity: .7; }
footer .developer-credit { font-size: 12.5px; opacity: .65; margin-top: 10px; }

/* ---------- Utilities ---------- */

.text-center { text-align: center; }
.mt-md { margin-top: 1.5rem; }
.mb-md { margin-bottom: 1.5rem; }
.muted { color: var(--muted); }

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

@media (max-width: 880px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .hero-photo img { height: 300px; }
  .chip-float { left: 10px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { border-left: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .ba { grid-template-columns: 1fr; }
  .ba img { height: 300px; }
  .kit-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  nav {
    position: fixed; inset: 65px 0 auto 0;
    background: var(--header-bg); border-bottom: 1px solid var(--line);
    transform: translateX(105%); transition: transform .25s ease;
    padding: 10px 22px 22px;
  }
  nav.show { transform: translateX(0); }
  nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  nav a { display: block; padding: 12px 6px; font-size: 16px; border-bottom: 1px solid var(--line); }
  nav a.active { border-bottom-color: var(--accent); }
  .call-btn { text-align: center; margin-top: 10px; }
  h2 { font-size: 25px; }
}
