/* Look and feel: option A "Charcoal steel", chosen by David 1 Nov 2026.
   Colorbond charcoal header and headline area, red-ochre call button,
   sand-coloured page body for easy reading. */
:root {
  --monument: #2f3032;
  --monument-2: #3a3b3e;
  --ochre: #c2591f;
  --ochre-dark: #a44a18;
  --sand: #efe7da;
  --paper: #faf7f2;
  --ink: #2f3032;
  --muted: #5b5a57;
  --line: #ddd5c7;
  --white: #ffffff;
  --heading: "Archivo Black", Archivo, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font: 18px/1.6 Archivo, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

h1, h2, h3 { font-family: var(--heading); font-weight: 400; line-height: 1.1; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* Header: phone and quote button always on screen at the top */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--monument);
  border-bottom: 1px solid #ffffff1f;
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 68px;
}
.logo {
  font: 1.35rem var(--heading);
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
}
.logo span { color: var(--ochre); }
.header-actions { display: flex; gap: 10px; }
/* Phone number in the header on phones (the full buttons are in the bottom bar there) */
.header-phone { display: none; color: var(--white); font-weight: 800; font-size: 1.05rem; text-decoration: none; white-space: nowrap; border-bottom: 2px solid var(--ochre); }
.header-actions .btn { min-height: 44px; font-size: .95rem; padding: 0 16px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  white-space: nowrap;
}
.btn-call { background: var(--ochre); color: var(--white); }
.btn-call:hover { background: var(--ochre-dark); }
.btn-quote { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-quote:hover { background: #ffffff14; }

main { padding: 0; }

/* Headline area, with a ribbed Colorbond texture */
.hero {
  padding: 64px 0 72px;
  color: var(--white);
  background: repeating-linear-gradient(90deg, #ffffff07 0 14px, #00000012 14px 28px), var(--monument-2);
}
.eyebrow {
  display: inline-block;
  background: var(--ochre);
  padding: 4px 10px;
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.2rem, 6.4vw, 4rem);
  line-height: 1.05;
  text-transform: uppercase;
  margin: 0 0 18px;
  max-width: 16ch;
}
.hero p { font-size: 1.15rem; max-width: 52ch; color: #e8e4dd; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-actions .btn { min-height: 60px; font-size: 1.15rem; padding: 0 28px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.quote-form-short { color: var(--ink); gap: 14px; padding: 24px; }
.quote-form-short h2 { font-size: 1.5rem; text-transform: uppercase; margin: 0; }
.hero .quote-form-short .tick { font-size: .88rem; }
.hero .quote-form-short .tick input { width: 22px; height: 22px; min-height: 0; padding: 0; }
.quote-form-short input, .quote-form-short select { min-height: 48px; padding: 10px 12px; }
.quote-form-short .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quote-form-short label { gap: 4px; font-size: .95rem; }
.hero:has(.hero-grid) { padding: 40px 0 48px; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-weight: 600; color: var(--sand); }
.ticks li::before { content: "✓"; color: var(--ochre); font-weight: 800; margin-right: 8px; }

/* Home page and content sections */
.section { padding: 56px 0; }
.section h2 { font-size: clamp(1.7rem, 4.2vw, 2.4rem); text-transform: uppercase; margin: 0 0 14px; }
.section h3 { font-size: 1.2rem; margin: 0 0 8px; }
.intro { font-size: 1.12rem; max-width: 62ch; margin: 0 0 28px; color: var(--muted); }
.section-sand { background: var(--sand); }
.section-dark { background: var(--monument); color: #ece8e1; }
.section-dark h2 { color: var(--white); }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--monument);
  border-radius: 4px;
  color: var(--ink);
  text-decoration: none;
}
.card:hover { border-top-color: var(--ochre); }
.card p { margin: 0 0 14px; flex: 1; color: var(--muted); }
.card .more { font-weight: 800; color: var(--ochre-dark); }
.card .more::after { content: " →"; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: var(--white); border-radius: 4px; padding: 24px; }
.steps p { margin: 0; color: var(--muted); }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  background: var(--ochre);
  color: var(--white);
  font: 1.5rem var(--heading);
  border-radius: 50%;
}

.table-wrap { overflow-x: auto; margin-bottom: 20px; }
.prices { width: 100%; max-width: 760px; border-collapse: collapse; background: var(--white); font-size: 1.05rem; }
.prices th { background: var(--monument); color: var(--white); text-align: left; padding: 12px 16px; }
.prices td { padding: 12px 16px; border-bottom: 1px solid var(--line); }
.prices td:last-child { font-weight: 700; white-space: nowrap; }
.prices tbody tr:nth-child(even) { background: #f6f2ea; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.two-col p { margin: 0; font-size: 1.08rem; }

.areas { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.areas li { background: var(--sand); border-radius: 999px; padding: 8px 16px; font-weight: 600; }
.areas a { color: var(--ochre-dark); }

.faq { max-width: 820px; }
.faq details { background: var(--white); border-radius: 4px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 18px 48px 18px 20px; font-weight: 800; font-size: 1.08rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--ochre); font: 1.6rem var(--heading); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 20px 20px; }

.cta {
  color: var(--white);
  background: repeating-linear-gradient(90deg, #ffffff07 0 14px, #00000012 14px 28px), var(--monument-2);
}
.cta p { font-size: 1.15rem; color: #e8e4dd; margin: 0 0 24px; }
.cta .hero-actions { margin-bottom: 0; }
.cta .hero-actions .btn { min-height: 60px; font-size: 1.15rem; padding: 0 28px; }

/* Shorter headline area for inner pages */
.hero-short { padding: 44px 0 48px; }
.hero-short p { margin-bottom: 0; }
.hero-link { color: var(--white); font-weight: 800; }

/* Long text pages, e.g. privacy policy and guides */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin: 36px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 8px; }
.prose ol { padding-left: 1.2em; }
.note { background: var(--sand); border-left: 4px solid var(--ochre); padding: 14px 18px; border-radius: 4px; }
.checklist { list-style: none; padding-left: 0; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border: 2px solid var(--ochre); border-radius: 3px; background: var(--white); }
.btn-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 800; color: var(--ochre-dark); text-decoration: underline; cursor: pointer; }

@media print {
  .site-header, .call-bar, .cta, .site-footer, .btn-link { display: none !important; }
  .hero { background: none; color: var(--ink); padding: 0; }
  .hero p { color: var(--ink); }
  body { padding-bottom: 0; background: #fff; }
}

.table-heading { font-size: 1.4rem; margin: 36px 0 14px; }
.small-print { font-size: .85rem; color: var(--muted); margin-top: 24px; }
.hero-short .hero-actions-inline { margin: 24px 0 0; }

/* Quote form */
.form-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.quote-form { display: grid; gap: 18px; background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--ochre); border-radius: 4px; padding: 28px; }
.quote-form label { display: grid; gap: 6px; font-weight: 800; }
.quote-form .optional { font-weight: 400; color: var(--muted); }
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  font: inherit;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid #cfc6b6;
  border-radius: 4px;
}
.quote-form textarea { min-height: 110px; resize: vertical; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: 3px solid #c2591f55; border-color: var(--ochre); }
.quote-form .hp { position: absolute; left: -9999px; }
.quote-form .tick { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; font-size: .95rem; line-height: 1.45; cursor: pointer; }
.quote-form .tick input { width: 24px; height: 24px; min-height: 0; flex: none; margin: 1px 0 0; padding: 0; accent-color: var(--ochre); }
.quote-form .tick a { font-weight: 600; }
.quote-form input[type="file"] { min-height: 0; padding: 10px; font-size: .95rem; }
.quote-form .hint { font-weight: 400; font-size: .9rem; color: var(--muted); }
.quote-form .photo-note { font-weight: 600; font-size: .9rem; color: var(--ochre-dark); }
.quote-form .photo-note:empty { display: none; }
.btn-submit { width: 100%; min-height: 60px; font-size: 1.15rem; border: 0; cursor: pointer; font-family: inherit; }
.form-aside { background: var(--sand); border-radius: 4px; padding: 24px; }
.form-aside h2 { font-size: 1.4rem; }
.form-aside ol { padding-left: 1.2em; margin: 0 0 16px; }
.form-aside li { margin-bottom: 8px; }

.site-footer {
  background: var(--monument);
  color: #e6e3de;
  padding: 28px 0;
  font-size: 0.95rem;
}
.site-footer a { color: var(--white); }
.site-footer p { margin: 0 0 8px; }
.site-footer .referral { margin-top: 16px; padding-top: 14px; border-top: 1px solid #ffffff26; font-size: .88rem; color: #cfcac2; }

/* Back-to-top button: bottom right, appears after scrolling down (src/partials/back-to-top.html) */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--monument);
  color: var(--white);
  border: 2px solid var(--ochre);
  box-shadow: 0 2px 8px #0005;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.to-top-show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover, .to-top:focus-visible { background: var(--ochre); }
@media print { .to-top { display: none !important; } }

/* Phones: call bar fixed at the bottom of the screen; header keeps only the logo */
.call-bar { display: none; }

@media (max-width: 700px) {
  .header-actions { display: none; }
  .header-phone { display: inline-block; }
  .logo { font-size: 1.15rem; }
  .hero { padding: 40px 0 48px; }
  .hero-actions { display: none; }
  .ticks { flex-direction: column; }
  .section { padding: 40px 0; }
  .steps, .two-col { grid-template-columns: 1fr; }
  .two-col { gap: 16px; }
  .form-layout { grid-template-columns: 1fr; gap: 24px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .quote-form-short { padding: 20px 16px; }
  .quote-form-short .row { grid-template-columns: 1fr; }
  .quote-form { padding: 20px 16px; }
  .prices { font-size: .98rem; }
  .prices th, .prices td { padding: 10px 12px; }
  .prices td:last-child { white-space: normal; }
  .cta .hero-actions { display: flex; }
  .cta .hero-actions .btn { flex: 1; padding: 0 12px; }
  .call-bar {
    display: flex;
    gap: 8px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--monument);
    border-top: 3px solid var(--ochre);
  }
  .call-bar .btn { flex: 1; min-height: 56px; padding: 0 8px; font-size: 1.05rem; }
  body { padding-bottom: 80px; }
  /* sit just above the call bar */
  .to-top { right: 12px; bottom: calc(92px + env(safe-area-inset-bottom)); width: 48px; height: 48px; }
}

/* Photos. Made by `npm run images`; captions in photos.json */
.photo { margin: 0 0 32px; }
.photo img { display: block; width: 100%; height: auto; border-radius: 4px; background: var(--sand); }
.photo figcaption { margin-top: 8px; font-size: .9rem; color: var(--muted); }

/* Home page: photo behind the headline, darkened so the text reads in sunlight */
.hero-has-photo { position: relative; overflow: hidden; isolation: isolate; }
.hero-photo { position: absolute; inset: 0; z-index: -1; background: var(--monument-2); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 65%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(36, 37, 39, .88) 0%, rgba(36, 37, 39, .74) 50%, rgba(36, 37, 39, .5) 100%); }
.hero-photo-caption { position: absolute; right: 16px; bottom: 10px; margin: 0; font-size: .78rem; color: #d9d4cc; text-shadow: 0 1px 2px #000a; }
.hero .hero-photo-caption { max-width: none; margin: 0; font-size: .78rem; }
@media (max-width: 700px) {
  .hero-photo::after { background: rgba(36, 37, 39, .72); }
  .hero-photo-caption { right: 12px; bottom: 8px; }
}
