/* ==========================================================================
   Creative Landscaping Construction Ltd — Design Tokens
   Safety-surfacing appropriate palette: forest green (turf) + vivid
   orange-red (wetpour rubber colours) on clean white, with an
   interlocking-tile signature motif referencing rubber safety tiles.
   Display: Baloo 2 (rounded, confident, playground-appropriate yet not childish)
   Body: Inter
   Data/labels: JetBrains Mono
   ========================================================================== */

:root {
  --green: #1e7a4c;
  --green-dim: #16603a;
  --green-light: #eaf6ee;
  --orange: #e8622c;
  --orange-dim: #c94e1e;
  --charcoal: #202b26;
  --grey: #56645c;
  --grey-light: #8b988f;
  --white: #ffffff;
  --offwhite: #f5f9f6;
  --line: rgba(32, 43, 38, 0.12);

  --font-display: 'Baloo 2', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.005em;
  margin: 0 0 0.5em;
  line-height: 1.18;
  color: var(--charcoal);
}
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; color: var(--grey); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: var(--font-mono);
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 20px; height: 2px; background: var(--orange); }

/* ---------- Interlocking-tile signature ---------- */
.tile-divider { display: flex; justify-content: center; gap: 4px; margin: 0 auto 40px; }
.tile-divider span { width: 16px; height: 16px; border-radius: 4px; }
.tile-divider span:nth-child(4n+1) { background: var(--green); }
.tile-divider span:nth-child(4n+2) { background: var(--orange); }
.tile-divider span:nth-child(4n+3) { background: var(--green-light); border: 1px solid var(--line); }
.tile-divider span:nth-child(4n+4) { background: var(--offwhite); border: 1px solid var(--line); }

.level-rule { height: 1px; background: var(--line); margin: 46px 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; max-width: var(--container); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; color: var(--white); font-size: 1.05rem;
}
.brand-text { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.15; color: var(--charcoal); }
.brand-text span { color: var(--orange); }
.brand-text small { font-family: var(--font-mono); font-size: 0.58rem; color: var(--grey-light); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 400; display: block; margin-top: 2px; }

nav.main-nav { display: flex; align-items: center; }
.nav-links { display: flex; gap: 22px; }
.nav-links a {
  font-size: 0.84rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.03em;
  color: var(--grey); transition: color 0.2s; padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a.active { color: var(--orange); border-bottom-color: var(--orange); }

.call-btn {
  font-family: var(--font-mono); background: var(--green); color: var(--white);
  padding: 11px 20px; font-weight: 700; font-size: 0.88rem;
  display: flex; align-items: center; gap: 8px; transition: background 0.15s, transform 0.15s;
  border-radius: 4px;
}
.call-btn:hover { background: var(--green-dim); transform: translateY(-2px); }

.nav-toggle { display: none; background: none; border: none; color: var(--charcoal); font-size: 1.6rem; cursor: pointer; }

@media (max-width: 960px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 16px 24px; border-bottom: 1px solid var(--line); width: 100%; }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 84px 0 96px; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--offwhite); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero .lead { font-size: 1.1rem; max-width: 46ch; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

.hero-image-panel { border-radius: 8px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(32,43,38,0.14); }
.hero-image-panel img { width: 100%; height: 380px; object-fit: cover; }

.btn {
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.03em;
  padding: 15px 28px; font-size: 0.85rem; font-weight: 700;
  display: inline-flex; align-items: center; gap: 10px; transition: transform 0.15s, background 0.15s;
  border-radius: 4px;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { transform: translateY(-2px); background: var(--orange-dim); }
.btn-outline { border: 1.5px solid var(--line); color: var(--charcoal); }
.btn-outline:hover { border-color: var(--green); color: var(--green); }

.spec-card { border: 1px solid var(--line); background: var(--white); padding: 26px; border-radius: 8px; }
.spec-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--line); font-family: var(--font-mono); font-size: 0.85rem; }
.spec-row:last-child { border-bottom: none; }
.spec-row span:first-child { color: var(--grey-light); text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.72rem; }
.spec-row span:last-child { color: var(--charcoal); font-weight: 600; }

/* ---------- Trust strip ---------- */
.trust-strip { border-bottom: 1px solid var(--line); padding: 20px 0; background: var(--white); }
.trust-strip .container { display: flex; flex-wrap: wrap; gap: 26px; justify-content: space-between; align-items: center; }
.trust-item { font-family: var(--font-mono); font-size: 0.8rem; color: var(--grey); text-transform: uppercase; letter-spacing: 0.05em; display: flex; align-items: center; gap: 8px; }
.trust-item::before { content: '\2713'; color: var(--green); }

/* ---------- Sections ---------- */
section { padding: 82px 0; }
.section-head { max-width: 60ch; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--offwhite); border: 1px solid var(--line); padding: 26px; border-radius: 8px;
  transition: border-color 0.2s, transform 0.2s;
}
.service-card:hover { border-color: var(--green); transform: translateY(-3px); }
.service-card .tag { font-family: var(--font-mono); color: var(--orange); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; }
.service-card h3 { margin: 10px 0 8px; font-size: 1.05rem; }
.service-card p { font-size: 0.9rem; margin-bottom: 0; }

.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
@media (max-width: 800px) { .steps-row { grid-template-columns: 1fr; gap: 30px; } }
.step { padding: 0 20px; text-align: center; }
.step::before {
  content: attr(data-n);
  display: block; width: 46px; height: 46px; line-height: 44px;
  border: 1.5px solid var(--green); color: var(--green); font-family: var(--font-mono);
  margin: 0 auto 18px; font-size: 0.95rem; border-radius: 8px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: 0.9rem; }

.areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .areas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .areas-grid { grid-template-columns: 1fr; } }
.area-card { background: var(--offwhite); border: 1px solid var(--line); padding: 22px; border-radius: 8px; transition: border-color 0.2s; }
.area-card:hover { border-color: var(--green); }
.area-card h3 { margin-bottom: 6px; font-size: 1.02rem; }
.area-card p { font-size: 0.85rem; margin-bottom: 0; }

.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-item summary {
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.02em;
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  color: var(--charcoal); font-size: 0.9rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--orange); font-size: 1.3rem; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { margin-top: 12px; margin-bottom: 0; }

.cta-band { background: var(--green); color: var(--white); padding: 56px 0; }
.cta-band .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.cta-band h2 { color: var(--white); margin: 0; }
.cta-band p { color: rgba(255,255,255,0.82); margin: 4px 0 0; }
.cta-band .btn-primary { background: var(--charcoal); color: var(--white); }
.cta-band .btn-primary:hover { background: #161e19; }

footer.site-footer { border-top: 1px solid var(--line); padding: 56px 0 28px; background: var(--offwhite); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; margin-bottom: 40px; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h4 { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.74rem; color: var(--orange); margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--grey); font-size: 0.92rem; }
.footer-grid a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 10px; font-size: 0.78rem; color: var(--grey-light); font-family: var(--font-mono);
}

.text-center { text-align: center; }

.page-hero { padding: 56px 0 46px; border-bottom: 1px solid var(--line); background: var(--offwhite); }
.breadcrumb { font-family: var(--font-mono); font-size: 0.78rem; color: var(--grey-light); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 18px; }
.breadcrumb a { color: var(--grey); }
.breadcrumb a:hover { color: var(--orange); }

.error-page { text-align: center; padding: 120px 0; }
.error-page .code { font-family: var(--font-display); font-size: 5.5rem; color: var(--orange); line-height: 1; font-weight: 700; }

/* ---------- Location pages ---------- */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.split--aside { grid-template-columns: 1.5fr 1fr; }
@media (max-width: 900px) {
  .split, .split--aside { grid-template-columns: 1fr; gap: 32px; }
}
.prose { max-width: 68ch; }
.prose p a:not(.btn), .section-head p a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.prose p a:not(.btn):hover { color: var(--orange); }
.split--aside > aside { position: sticky; top: 96px; }
@media (max-width: 900px) { .split--aside > aside { position: static; } }

.section-alt { background: var(--offwhite); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.section-tight { padding-top: 0; }

.card-link {
  display: inline-block; margin-top: 12px;
  font-family: var(--font-mono); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--green); font-weight: 600;
}
.card-link:hover { color: var(--orange); }
.section-alt .service-card, .section-alt .area-card { background: var(--white); }
.card--linked { position: relative; }
.card--linked h3 a { color: inherit; }
.stretched-link::after { content: ''; position: absolute; inset: 0; border-radius: 8px; }
.card--linked:hover .card-link, .card--linked:hover h3 a { color: var(--orange); }
.stretched-link:focus-visible { outline: none; }
.stretched-link:focus-visible::after { outline: 2px solid var(--orange); outline-offset: 2px; }

.spec-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.spec-row { gap: 16px; }
.spec-row span:last-child { text-align: right; }
.spec-card__btn { margin-top: 18px; width: 100%; justify-content: center; }

.cost-card { background: var(--offwhite); border: 1px solid var(--line); border-radius: 8px; padding: 26px 26px 12px; }
.tick-list { list-style: none; padding: 0; margin: 0; }
.tick-list li { position: relative; padding: 0 0 12px 30px; color: var(--charcoal); }
.tick-list li::before {
  content: '\2713'; position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px; border-radius: 4px; background: var(--green-light);
  color: var(--green); font-size: 0.75rem; font-weight: 700; text-align: center; line-height: 20px;
}

.chip-list { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list li {
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--charcoal);
  background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px;
}
.chip-list a { color: var(--green); font-weight: 600; }
.chip-list a:hover { color: var(--orange); }
.nearby-head { margin-top: 36px; margin-bottom: 16px; }

.cta-band .cta-tel { color: var(--white); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
