/* Liam McKinnon Landscaping — global styles */
:root {
  --color-primary: #55663d;
  --color-primary-dark: #3f4d2c;
  --color-accent: #8aa9d6;
  --color-accent-dark: #6b8fc4;
  --color-text: #26301c;
  --color-text-light: #6b7280;
  --color-bg: #ffffff;
  --color-bg-alt: #f4f7ef;
  --color-border: #e2e8d9;
  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px;
  --radius: 10px;
  --shadow: 0 2px 8px rgba(38, 48, 28, 0.08);
  --shadow-lift: 0 10px 24px rgba(38, 48, 28, 0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--color-text); background: var(--color-bg); line-height: 1.65; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; color: var(--color-text); }
h1 { font-size: 2rem; } h2 { font-size: 1.6rem; } h3 { font-size: 1.2rem; }
a { color: var(--color-primary); }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--s3); }
section { padding: var(--s6) 0; }
.section-alt { background: var(--color-bg-alt); }
.section-heading { text-align: center; max-width: 640px; margin: 0 auto var(--s5); }
.section-heading p { color: var(--color-text-light); margin-top: var(--s2); }

/* Buttons */
.btn { display: inline-block; padding: 14px 28px; border-radius: var(--radius); font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: all 0.2s ease; font-size: 1rem; font-family: var(--font-body); }
.btn-primary { background: var(--color-accent-dark); color: #fff; }
.btn-primary:hover { background: var(--color-accent); color: var(--color-text); transform: translateY(-1px); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-ghost { background: none; color: var(--color-primary); padding: 14px 8px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--color-accent-dark); outline-offset: 2px; }

/* Header / nav */
header { position: sticky; top: 0; z-index: 100; background: var(--color-bg); border-bottom: 1px solid var(--color-border); transition: box-shadow 0.2s ease; }
header.scrolled { box-shadow: var(--shadow); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 10px var(--s3); max-width: 1120px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 48px; height: auto; }
.brand span { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; color: var(--color-primary-dark); line-height: 1.15; }
.nav-links { display: none; list-style: none; align-items: center; gap: var(--s3); }
.nav-links a { text-decoration: none; color: var(--color-text); font-weight: 500; padding: 8px 4px; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--color-primary); }
.nav-links a.active { border-bottom: 2px solid var(--color-accent-dark); }
.nav-phone { display: none; }
.dropdown { position: relative; }
.dropdown > a::after { content: "▾"; display: inline-block; margin-left: 5px; font-size: 0.7em; transition: transform 0.2s ease; }
.dropdown.open > a::after { transform: rotate(180deg); }
.dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); box-shadow: var(--shadow-lift); list-style: none; min-width: 240px; padding: var(--s1) 0; z-index: 50; }
.dropdown.open .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 10px var(--s2); }
.hamburger { background: none; border: none; cursor: pointer; padding: 10px; display: block; }
.hamburger span { display: block; width: 26px; height: 3px; background: var(--color-primary-dark); margin: 5px 0; border-radius: 2px; transition: 0.2s; }
.mobile-menu { display: none; background: #fff; border-top: 1px solid var(--color-border); padding: var(--s2) var(--s3) var(--s4); }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 12px 0; text-decoration: none; color: var(--color-text); font-weight: 500; border-bottom: 1px solid var(--color-border); }
.mobile-menu .mm-sub { padding-left: var(--s2); font-weight: 400; color: var(--color-text-light); }
.mobile-menu .btn { margin-top: var(--s2); text-align: center; display: block; }
/* Mobile nav collapsible groups */
.mm-group { border-bottom: 1px solid var(--color-border); }
.mm-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; background: none; border: none; cursor: pointer; padding: 12px 0; font: inherit; font-weight: 500; color: var(--color-text); text-align: left; }
.mm-caret { flex: none; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 0.2s ease; opacity: 0.55; margin-right: 4px; margin-bottom: 3px; }
.mm-group.open .mm-caret { transform: rotate(-135deg); margin-bottom: -3px; }
.mm-panel { display: none; padding-bottom: 8px; }
.mm-group.open .mm-panel { display: block; }
.mm-panel .mm-sub { border-bottom: none; padding-top: 10px; padding-bottom: 10px; }

/* Hero */
.hero { background-color: var(--color-primary-dark); background-image: linear-gradient(180deg, rgba(63,77,44,0.72) 0%, rgba(52,64,37,0.60) 45%, rgba(28,36,20,0.86) 100%), url('../assets/images/hero-bg.jpg'); background-size: cover; background-position: center 32%; background-repeat: no-repeat; color: #fff; text-align: center; padding: var(--s7) 0; }
.hero h1 { color: #fff; font-size: 2.2rem; margin-bottom: var(--s2); text-shadow: 0 2px 14px rgba(18,24,12,0.5); }
.hero p.sub { font-size: 1.15rem; color: rgba(255,255,255,0.95); max-width: 620px; margin: 0 auto var(--s4); text-shadow: 0 1px 8px rgba(18,24,12,0.45); }
.hero-trust { text-shadow: 0 1px 6px rgba(18,24,12,0.4); }
.hero-ctas { display: flex; flex-direction: column; gap: var(--s2); align-items: center; margin-bottom: var(--s4); }
.hero-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s2) var(--s3); color: rgba(255,255,255,0.92); font-size: 0.95rem; list-style: none; }
.hero-compact { background-color: var(--color-primary-dark); background-image: radial-gradient(rgba(255,255,255,0.045) 2px, transparent 2px); background-size: 26px 26px; background-position: 0 0; background-repeat: repeat; padding: var(--s5) 0; text-align: left; }
.hero-compact h1 { text-shadow: none; }
.hero-compact h1 { font-size: 1.9rem; }
.hero-compact.has-photo { background-color: var(--color-primary-dark); background-image: linear-gradient(180deg, rgba(50,62,35,0.74) 0%, rgba(28,36,20,0.82) 100%), var(--hero-photo); background-size: cover; background-position: center; background-repeat: no-repeat; }
.hero-compact.has-photo h1, .hero-compact.has-photo .breadcrumb { text-shadow: 0 2px 12px rgba(18,24,12,0.55); }
.breadcrumb { font-size: 0.85rem; margin-bottom: var(--s2); color: rgba(255,255,255,0.75); }
.breadcrumb a { color: rgba(255,255,255,0.9); }

/* Trust bar */
.trust-bar { background: var(--color-bg-alt); border-bottom: 1px solid var(--color-border); padding: var(--s3) 0; }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s2); text-align: center; }
.trust-grid strong { display: block; color: var(--color-primary-dark); font-size: 1.1rem; }
.trust-grid span { color: var(--color-text-light); font-size: 0.9rem; }

/* Cards */
.grid { display: grid; gap: var(--s3); grid-template-columns: 1fr; }
.card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: var(--s4); box-shadow: var(--shadow); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card .icon { width: 48px; height: 48px; color: var(--color-primary); margin-bottom: var(--s2); }
.card h3 { margin-bottom: var(--s1); }
.card p { color: var(--color-text-light); margin-bottom: var(--s2); }
.card a { font-weight: 600; text-decoration: none; }

/* Before / after */
.ba-grid { display: grid; gap: var(--s3); grid-template-columns: 1fr; }
.ba-item { position: relative; }
.ba-item img { width: 100%; height: 300px; object-fit: cover; border-radius: var(--radius); }
.ba-label { position: absolute; top: var(--s2); left: var(--s2); background: var(--color-primary-dark); color: #fff; padding: 6px 16px; border-radius: 999px; font-size: 0.85rem; font-weight: 600; }
.ba-caption { text-align: center; color: var(--color-text-light); margin-top: var(--s3); }

/* About */
.about-grid { display: grid; gap: var(--s4); grid-template-columns: 1fr; align-items: center; }
.about-logo { background: var(--color-bg-alt); border-radius: var(--radius); padding: var(--s5); display: flex; justify-content: center; }
.about-logo img { max-width: 260px; }
.check-list { list-style: none; margin-top: var(--s3); }
.check-list li { padding-left: 30px; position: relative; margin-bottom: var(--s2); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--color-primary); font-weight: 700; }

/* Pills */
.pill-grid { display: flex; flex-wrap: wrap; gap: var(--s2); justify-content: center; }
.pill { background: #fff; border: 1px solid var(--color-border); border-radius: 999px; padding: 10px 22px; text-decoration: none; font-weight: 500; color: var(--color-primary-dark); transition: 0.2s; }
.pill:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* Steps */
.steps { list-style: none; counter-reset: step; max-width: 640px; margin: 0 auto; }
.steps li { counter-increment: step; position: relative; padding: 0 0 var(--s3) 64px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--color-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--font-heading); }
.steps h3 { margin-bottom: 4px; }
.steps p { color: var(--color-text-light); }

/* Pricing box */
.price-box { background: var(--color-bg-alt); border: 1px solid var(--color-border); border-left: 6px solid var(--color-accent-dark); border-radius: var(--radius); padding: var(--s4); max-width: 720px; margin: 0 auto; }
.price-box h3 { margin-bottom: var(--s1); }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid var(--color-border); border-radius: var(--radius); margin-bottom: var(--s2); background: #fff; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: var(--s3); font-size: 1rem; font-weight: 600; font-family: var(--font-body); color: var(--color-text); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s2); }
.faq-q::after { content: "+"; font-size: 1.4rem; color: var(--color-primary); transition: transform 0.2s; flex-shrink: 0; }
.faq-item.active .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a p { padding: 0 var(--s3) var(--s3); color: var(--color-text-light); }

/* Forms */
.form-grid { display: grid; gap: var(--s2); grid-template-columns: 1fr; max-width: 720px; margin: 0 auto; }
.form-grid label { font-weight: 600; font-size: 0.9rem; display: block; margin-bottom: 6px; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; padding: 13px; border: 1px solid var(--color-border); border-radius: var(--radius); font-family: var(--font-body); font-size: 1rem; background: #fff; }
.form-grid textarea { min-height: 130px; resize: vertical; }
.form-full { grid-column: 1 / -1; }
.radio-row { display: flex; flex-wrap: wrap; gap: var(--s2); }
.radio-row label { font-weight: 400; display: flex; align-items: center; gap: 6px; margin: 0; }
.form-note { font-size: 0.85rem; color: var(--color-text-light); }
.hidden { display: none !important; }
.form-success { text-align: center; padding: var(--s5); background: var(--color-bg-alt); border-radius: var(--radius); }

/* CTA strip */
.cta-strip { background: var(--color-accent-dark); color: #fff; text-align: center; padding: var(--s5) 0; }
.cta-strip h2 { color: #fff; margin-bottom: var(--s2); }
.cta-strip .btn-primary { background: var(--color-primary-dark); }
.cta-strip .btn-primary:hover { background: var(--color-primary); color: #fff; }

/* Map placeholder */
.map-ph { background: var(--color-bg-alt); border: 2px dashed var(--color-border); border-radius: var(--radius); min-height: 260px; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--color-text-light); font-size: 1.05rem; padding: var(--s3); }

/* Contact */
.contact-grid { display: grid; gap: var(--s5); grid-template-columns: 1fr; }
.contact-info a.big-tel { font-size: 1.6rem; font-weight: 700; font-family: var(--font-heading); text-decoration: none; display: inline-block; margin: var(--s1) 0; }
.contact-info p { margin-bottom: var(--s2); }

/* Footer */
footer { background: var(--color-primary-dark); color: rgba(255,255,255,0.88); padding: var(--s6) 0 0; }
.footer-grid { display: grid; gap: var(--s4); grid-template-columns: 1fr; padding-bottom: var(--s5); }
.footer-logo-circle { width: 84px; height: 84px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: var(--s2); }
.footer-logo-circle img { width: 64px; }
footer h4 { color: #fff; margin-bottom: var(--s2); font-size: 1rem; }
footer ul { list-style: none; }
footer li { margin-bottom: var(--s1); }
footer a { color: rgba(255,255,255,0.88); text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.18); padding: var(--s3) 0; text-align: center; font-size: 0.85rem; color: rgba(255,255,255,0.65); }

/* Prose */
.prose { max-width: 760px; margin: 0 auto; }
.prose p { margin-bottom: var(--s3); }
.prose h2 { margin: var(--s4) 0 var(--s2); }

/* Responsive */
@media (min-width: 768px) {
  h1 { font-size: 2.6rem; } .hero h1 { font-size: 3rem; } h2 { font-size: 2rem; }
  .hero-ctas { flex-direction: row; justify-content: center; }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .ba-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr 1.3fr; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1.2fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .hamburger { display: none; }
  .nav-links { display: flex; }
  .nav-phone { display: inline-block; padding: 10px 20px; }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* Clickable service-area photo cards */
.area-card { position: relative; display: flex; align-items: flex-end; min-height: 230px; border-radius: var(--radius); overflow: hidden; background-color: var(--color-primary-dark); background-size: cover; background-position: center; box-shadow: var(--shadow); text-decoration: none; color: #fff; transition: transform .18s ease, box-shadow .18s ease; }
.area-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,26,14,0) 35%, rgba(20,26,14,0.55) 68%, rgba(16,21,11,0.85) 100%); transition: background .18s ease; }
.area-card:hover, .area-card:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.area-card:hover::before, .area-card:focus-visible::before { background: linear-gradient(180deg, rgba(20,26,14,0.05) 25%, rgba(20,26,14,0.6) 62%, rgba(16,21,11,0.9) 100%); }
.area-card-body { position: relative; padding: var(--s3); width: 100%; }
.area-card h3 { color: #fff; margin: 0 0 4px; font-size: 1.45rem; text-shadow: 0 2px 10px rgba(0,0,0,0.55); }
.area-card-link { display: inline-block; color: #fff; font-weight: 600; font-size: 0.95rem; opacity: 0.95; text-shadow: 0 1px 6px rgba(0,0,0,0.55); }
.area-card:hover .area-card-link, .area-card:focus-visible .area-card-link { text-decoration: underline; }
