/* ==========================================================================
   Big 5 Canvas — big5canvas.co.za
   Palette sampled from the logo: green #315B35, orange #F5811F
   ========================================================================== */

:root {
  --green: #315b35;
  --green-dark: #234226;
  --green-pale: #e8efe6;
  --orange: #f5811f;
  --orange-dark: #d96c0e;
  --cream: #f8f5ee;
  --paper: #fffdf8;
  --ink: #26291f;
  --ink-soft: #55584d;
  --line: #e2ddd0;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(38, 41, 31, 0.08);
  --font-head: "Cinzel", "Trajan Pro", Georgia, serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1.0625rem;
}

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

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

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

/* ---------- Typography ---------- */

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.2;
  text-wrap: balance;
}

h1 { font-size: clamp(1.9rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 1rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }

.lead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 46ch;
}

.kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin-bottom: 0.75rem;
}

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

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

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand img { height: 52px; width: auto; }

.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--green-dark);
  letter-spacing: 0.04em;
  line-height: 1.15;
}

.brand-name span { color: var(--orange); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover { color: var(--green); }

.main-nav a[aria-current="page"] {
  color: var(--green);
  border-bottom-color: var(--orange);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle svg { display: block; }

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

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
}

.btn-primary:hover { background: var(--orange-dark); }

.btn-secondary {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}

.btn-secondary:hover { background: var(--green); color: #fff; }

.btn-small { padding: 0.5rem 1.1rem; font-size: 0.92rem; }

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

.hero {
  background:
    linear-gradient(rgba(248, 245, 238, 0.94), rgba(248, 245, 238, 0.94)),
    repeating-linear-gradient(45deg, #efe9dc 0 2px, transparent 2px 6px),
    repeating-linear-gradient(-45deg, #efe9dc 0 2px, transparent 2px 6px);
  border-bottom: 1px solid var(--line);
  padding: 4rem 0 4.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero-logo { max-height: 300px; width: auto; margin: 0 auto; }

.hero .lead { margin: 1.25rem 0 2rem; }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Page hero (inner pages) */

.page-hero {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 3.25rem 0;
}

.page-hero .lead { margin-top: 1rem; }

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

.section { padding: 3.75rem 0; }

.section-alt {
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head { max-width: 60ch; margin-bottom: 2.25rem; }

.section-head p { color: var(--ink-soft); }

/* ---------- Cards & grids ---------- */

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.card p { color: var(--ink-soft); font-size: 0.98rem; }

.card .icon { margin-bottom: 1rem; }

.card-accent { border-top: 4px solid var(--orange); }

.card-green { border-top: 4px solid var(--green); }

/* Service path cards on home */

.path-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.path-card .tag {
  align-self: flex-start;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border-radius: 99px;
}

.tag-green { background: var(--green-pale); color: var(--green-dark); }
.tag-orange { background: #fdeedd; color: var(--orange-dark); }

.path-card ul { padding-left: 1.2rem; color: var(--ink-soft); }
.path-card li { margin-bottom: 0.35rem; }
.path-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Fact strip ---------- */

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.fact {
  background: var(--paper);
  padding: 1.5rem 1.25rem;
  text-align: center;
}

.fact strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--green-dark);
  margin-bottom: 0.2rem;
}

.fact span { color: var(--ink-soft); font-size: 0.9rem; }

/* ---------- Notice / filter block ---------- */

.notice {
  border-left: 5px solid var(--orange);
  background: #fdf4e8;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 1.75rem;
}

.notice h3 { color: var(--ink); }

.notice p { color: var(--ink-soft); }

.notice a { font-weight: 600; }

/* ---------- Steps (process timeline) ---------- */

.steps { list-style: none; counter-reset: step; max-width: 720px; }

.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 2.25rem 4.25rem;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 1.42rem;
  top: 3.1rem;
  bottom: 0.2rem;
  width: 2px;
  background: var(--line);
}

.steps h3 { margin-bottom: 0.35rem; }

.steps p { color: var(--ink-soft); }

/* ---------- Spec table ---------- */

.spec-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 1rem;
}

.spec-table th, .spec-table td {
  text-align: left;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.spec-table th {
  width: 38%;
  background: var(--cream);
  color: var(--green-dark);
  font-weight: 700;
}

.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }

/* ---------- Checklist ---------- */

.checklist { list-style: none; }

.checklist li {
  padding-left: 2rem;
  position: relative;
  margin-bottom: 0.7rem;
  color: var(--ink-soft);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 1.1em;
  height: 1.1em;
  background: var(--green);
  border-radius: 50%;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="black" d="M6.5 12.2 2.3 8l1.4-1.4 2.8 2.8 5.8-5.8L13.7 5z"/></svg>') center/contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="black" d="M6.5 12.2 2.3 8l1.4-1.4 2.8 2.8 5.8-5.8L13.7 5z"/></svg>') center/contain no-repeat;
}

.checklist.crosses li::before {
  background: #b3543a;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="black" d="M12.6 4.8 9.4 8l3.2 3.2-1.4 1.4L8 9.4l-3.2 3.2-1.4-1.4L6.6 8 3.4 4.8l1.4-1.4L8 6.6l3.2-3.2z"/></svg>') center/contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="black" d="M12.6 4.8 9.4 8l3.2 3.2-1.4 1.4L8 9.4l-3.2 3.2-1.4-1.4L6.6 8 3.4 4.8l1.4-1.4L8 6.6l3.2-3.2z"/></svg>') center/contain no-repeat;
}

/* ---------- Photo slot placeholders ---------- */

.photo-slot {
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(rgba(49, 91, 53, 0.88), rgba(35, 66, 38, 0.92)),
    repeating-linear-gradient(45deg, #fff 0 2px, transparent 2px 7px);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.6rem;
  padding: 2rem 1.5rem;
  min-height: 260px;
}

.photo-slot svg { opacity: 0.9; }

.photo-slot figcaption { font-size: 0.95rem; opacity: 0.85; max-width: 34ch; }

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

.cta-band {
  background: var(--green-dark);
  color: #fff;
  text-align: center;
  padding: 3.5rem 0;
}

.cta-band h2 { color: #fff; }

.cta-band p { color: rgba(255, 255, 255, 0.8); max-width: 52ch; margin: 0.75rem auto 1.75rem; }

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

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-list { list-style: none; }

.contact-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1.1rem;
}

.contact-list svg { flex-shrink: 0; margin-top: 0.2rem; }

.contact-list a { font-weight: 600; }

.map-embed {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 1.5rem;
}

.map-embed iframe { display: block; width: 100%; height: 300px; border: 0; }

/* ---------- Forms ---------- */

.quote-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-row { margin-bottom: 1.25rem; }

.form-row label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.form-row .hint { font-weight: 400; color: var(--ink-soft); font-size: 0.85rem; }

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid #c9c4b6;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: #fff;
  color: var(--ink);
}

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

.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: 2px solid var(--orange);
  outline-offset: 1px;
  border-color: var(--orange);
}

.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }

/* Service selector */

.service-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }

.service-choice label {
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  cursor: pointer;
  font-weight: 600;
  display: block;
}

.service-choice input { margin-right: 0.5rem; accent-color: var(--orange); }

.service-choice label:has(input:checked) {
  border-color: var(--orange);
  background: #fdf4e8;
}

.service-choice small { display: block; font-weight: 400; color: var(--ink-soft); margin-top: 0.25rem; }

.form-warning {
  border-left: 4px solid var(--orange);
  background: #fdf4e8;
  padding: 0.9rem 1.1rem;
  border-radius: 0 6px 6px 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}

.form-warning a { font-weight: 700; }

[hidden] { display: none !important; }

/* Honeypot — invisible to humans */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

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

.site-footer {
  background: var(--green-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 2rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer h3 {
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.9rem;
}

.site-footer a { color: #f8c78f; text-decoration: none; }

.site-footer a:hover { text-decoration: underline; }

.site-footer ul { list-style: none; }

.site-footer li { margin-bottom: 0.5rem; }

.footer-logo { height: 90px; width: auto; margin-bottom: 1rem; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- WhatsApp float ---------- */

.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.wa-float:hover { background: #1ebe5a; }

.wa-float svg { width: 30px; height: 30px; }

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

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero .lead { margin-inline: auto; }
  .hero-logo { max-height: 220px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-2col { grid-template-columns: 1fr; }
  .service-choice { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .nav-toggle { display: block; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1rem;
    box-shadow: var(--shadow);
  }

  .main-nav.open { display: flex; }

  .main-nav a { padding: 0.7rem 0; border-bottom: 1px solid var(--line); }

  .main-nav .btn {
    margin-top: 0.75rem;
    text-align: center;
    border: 2px solid transparent;
  }
}
