:root {
  --accent: #00ac4f;
  --accent-dark: #00863d;
  --accent-light: #82ca9c;
  --ink: #14181a;
  --muted: #5a6b63;
  --bg: #ffffff;
  --bg-soft: #f2f8f4;
  --border: #e1e8e2;
  --dark: #0d1210;
  --dark-soft: #17211c;
  --max-width: 1160px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { color: var(--ink); background: var(--bg); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.25rem; }

/* Top info bar */
.top-bar { background: var(--dark); color: #cfe4d6; font-size: 0.85rem; }
.top-bar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; padding: 0.5rem 1.25rem; }
.top-bar-info { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.top-bar-info span { display: inline-flex; align-items: center; gap: 0.4rem; }
.top-bar a { color: #fff; }
.top-bar a:hover { color: var(--accent-light); }
.top-bar svg { flex: none; opacity: 0.85; }
.top-bar-license { font-weight: 700; color: var(--accent-light); letter-spacing: 0.02em; }

/* Header */
.site-header { border-bottom: 1px solid var(--border); position: sticky; top: 0; background: #fff; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 1.25rem; gap: 1rem; }
.brand { display: flex; align-items: center; }
.brand-logo { height: 42px; width: auto; }
.brand-text { font-weight: 700; font-size: 1.25rem; color: var(--ink); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--ink); }

.site-nav { display: flex; align-items: center; gap: 0.25rem; flex-wrap: wrap; }
.nav-link { padding: 0.6rem 0.8rem; color: var(--ink); font-weight: 600; border-radius: 6px; display: inline-block; background: none; border: none; font-size: 0.95rem; cursor: pointer; font-family: inherit; }
.nav-link:hover, .nav-link.active { color: var(--accent-dark); text-decoration: none; background: var(--bg-soft); }
.nav-dropdown { position: relative; }
.nav-dropdown .caret { font-size: 0.7em; }
.nav-dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid var(--border); border-radius: 8px; min-width: 220px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); padding: 0.4rem; z-index: 60; }
.nav-dropdown-menu a { display: block; padding: 0.5rem 0.7rem; border-radius: 6px; color: var(--ink); font-weight: 500; }
.nav-dropdown-menu a:hover { background: var(--bg-soft); text-decoration: none; }
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown.active > .nav-dropdown-toggle { color: var(--accent-dark); }

/* Hero */
.hero { background-size: cover; background-position: center; color: #fff; }
.hero-inner { padding: 6rem 1.25rem; text-align: center; background: linear-gradient(rgba(10,20,10,0.45), rgba(10,20,10,0.45)); }
.hero h1 { font-size: 2.6rem; margin: 0 0 0.5rem; }
.hero p { font-size: 1.2rem; margin: 0; }

/* Alternative hero style: a centered brand logo on a plain light background,
   instead of a full-bleed photo. Toggle it from Pages > Home in the admin. */
.hero.hero-style-logo { background: var(--bg-soft, #f4f7f4); color: var(--text, #1a1a1a); }
.hero-style-logo .hero-inner { background: none; padding: 3.5rem 1.25rem 3rem; }
.hero-style-logo .hero-logo-img { max-width: min(420px, 90%); height: auto; margin: 0 auto 1.25rem; display: block; }
.hero-style-logo p { color: var(--muted, #5a5a5a); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Bold "dark" hero style: full-bleed photo, heavy dark/green overlay,
   large headline with an accent-colored highlight word, subtext and two
   call-to-action buttons. Toggle it from Pages > Home in the admin. */
.hero.hero-style-dark { background-color: var(--dark); }
.hero-style-dark .hero-inner { background: linear-gradient(100deg, rgba(6,12,9,0.94) 0%, rgba(6,12,9,0.82) 40%, rgba(0,140,66,0.55) 100%); text-align: left; padding: 5.5rem 1.25rem; }
.hero-style-dark .hero-inner-content { max-width: 640px; }
.hero-style-dark .hero-eyebrow { display: inline-block; color: var(--accent-light); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.85rem; margin-bottom: 0.75rem; }
.hero-style-dark h1 { font-size: 2.9rem; line-height: 1.15; }
.hero-style-dark h1 .accent-word { color: var(--accent-light); }
.hero-style-dark p { font-size: 1.15rem; color: #dfeee4; max-width: 540px; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.75rem; }
.hero-cta-row .btn-outline { display: inline-block; padding: 0.7rem 1.4rem; border: 2px solid #fff; color: #fff; border-radius: 8px; font-weight: 700; }
.hero-cta-row .btn-outline:hover { background: #fff; color: var(--ink); text-decoration: none; }

/* Stat strip: a row of highlight facts, meant to sit right under the hero. */
.stat-strip { background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.08); border-radius: 14px; margin: -3rem auto 0; position: relative; z-index: 5; max-width: var(--max-width); }
.stat-strip-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.stat-item { display: flex; align-items: center; gap: 0.9rem; padding: 1.4rem 1.5rem; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-item .stat-icon { flex: none; width: 46px; height: 46px; border-radius: 10px; background: var(--bg-soft); color: var(--accent-dark); display: flex; align-items: center; justify-content: center; }
.stat-item .stat-num { display: block; font-size: 1.35rem; font-weight: 800; color: var(--ink); line-height: 1.2; }
.stat-item .stat-label { display: block; font-size: 0.85rem; color: var(--muted); }

/* Feature/service icon cards */
.section-heading { text-align: center; max-width: 640px; margin: 0 auto 2rem; }
.eyebrow { display: block; color: var(--accent-dark); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.85rem; margin-bottom: 0.5rem; }
.section-heading h2 { margin: 0; font-size: 1.9rem; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.feature-card { padding: 1.75rem 1.5rem; border: 1px solid var(--border); border-radius: 14px; background: #fff; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,0.08); }
.feature-icon { width: 54px; height: 54px; border-radius: 12px; background: var(--dark); color: var(--accent-light); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.feature-card h3 { margin: 0 0 0.5rem; color: var(--ink); }
.feature-card p { margin: 0 0 0.9rem; color: var(--muted); }
.feature-card .feature-link { font-weight: 700; color: var(--accent-dark); }
.feature-card .feature-link:hover { text-decoration: underline; }

/* Project / work gallery with overlay category label */
.project-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; margin: 2rem 0; }
.project-card { position: relative; display: block; border-radius: 14px; overflow: hidden; height: 260px; background-size: cover; background-position: center; }
.project-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,12,9,0.85) 0%, rgba(6,12,9,0.15) 55%, rgba(6,12,9,0) 100%); }
.project-card-label { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.1rem; z-index: 2; color: #fff; }
.project-card-label .tag { display: inline-block; background: var(--accent); color: #fff; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; padding: 0.2rem 0.6rem; border-radius: 5px; margin-bottom: 0.4rem; }
.project-card-label h3 { margin: 0; font-size: 1.2rem; color: #fff; }
.project-card:hover { text-decoration: none; }

/* About + checklist section */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; margin: 2.5rem 0; }
.about-split img { border-radius: 14px; }
.checklist { list-style: none; margin: 1.25rem 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 1rem; }
.checklist li { display: flex; align-items: flex-start; gap: 0.6rem; font-weight: 600; color: var(--ink); }
.checklist svg { flex: none; margin-top: 0.15rem; color: var(--accent); }

/* CTA banner with an inline contact form */
.cta-banner { background: var(--dark); color: #fff; border-radius: 18px; padding: 3rem; margin: 3rem 0; display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; align-items: center; }
.cta-banner h2 { margin: 0 0 0.6rem; font-size: 1.8rem; color: #fff; }
.cta-banner p { color: #d9e8de; margin: 0; }
.cta-banner .contact-form label { color: #fff; }
.cta-banner .contact-form input, .cta-banner .contact-form textarea { border: none; }
.cta-banner .btn { background: var(--accent); }
.cta-banner .btn:hover { background: var(--accent-light); color: var(--ink); }

.page-header { background: var(--bg-soft); border-bottom: 1px solid var(--border); padding: 2.5rem 0; }
.page-header h1 { margin: 0; }
.back-link { display: inline-block; margin-bottom: 0.75rem; font-weight: 600; }

.page-content { padding: 2.5rem 0; }
.page-content h2 { margin-top: 2.2rem; color: var(--accent-dark); }
.page-content h3 { margin-top: 1.6rem; }
.lede { font-size: 1.15rem; color: var(--muted); }
.signature { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--border); color: var(--muted); }
.placeholder-note { background: #fff8e1; border: 1px dashed #e0c96a; padding: 1rem; border-radius: 8px; }
.content-image { border-radius: 10px; margin: 1rem 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

/* Cards */
.cta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.25rem; margin: 2rem 0; }
.cta-card { display: block; padding: 1.5rem; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-soft); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.cta-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,0.08); text-decoration: none; }
.cta-card h3 { margin: 0 0 0.5rem; color: var(--accent-dark); }
.cta-card p { margin: 0; color: var(--muted); }

.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.post-card { display: block; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: #fff; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,0.08); text-decoration: none; }
.post-card-img { height: 170px; background-size: cover; background-position: center; background-color: var(--bg-soft); }
.post-card-img-placeholder { display: flex; align-items: center; justify-content: center; }
.post-card-body { padding: 1rem 1.1rem; }
.post-card-body h3 { margin: 0 0 0.4rem; color: var(--ink); }
.post-card-body p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.post-meta { color: var(--muted); margin-top: 0.25rem; }

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.6rem; margin: 1.25rem 0; }
.gallery img { border-radius: 8px; height: 140px; width: 100%; object-fit: cover; }

.video-embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 10px; margin: 1rem 0; background: #000; }
.video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; margin-top: 1.25rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form label { display: flex; flex-direction: column; gap: 0.35rem; font-weight: 600; }
.contact-form input, .contact-form textarea { font: inherit; padding: 0.6rem 0.75rem; border: 1px solid var(--border); border-radius: 8px; }
.btn { display: inline-block; background: var(--accent); color: #fff; padding: 0.7rem 1.4rem; border: none; border-radius: 8px; font-weight: 700; cursor: pointer; font-size: 1rem; }
.btn:hover { background: var(--accent-dark); text-decoration: none; }
.alert { padding: 0.9rem 1rem; border-radius: 8px; margin-bottom: 1rem; }
.alert-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #c8e6c9; }
.alert-error { background: #fdecea; color: #b71c1c; border: 1px solid #f5c6cb; }

/* Footer */
.site-footer { background: var(--ink); color: #cfe0c8; margin-top: 3rem; }
.footer-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; padding: 2.5rem 1.25rem; }
.site-footer a { color: #fff; }
.site-footer strong { color: #fff; }
.footer-note { align-self: end; color: #9fb494; font-size: 0.9rem; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; flex-direction: column; align-items: stretch; width: 100%; }
  .site-nav.open { display: flex; }
  .header-inner { flex-wrap: wrap; }
  .nav-dropdown-menu { position: static; box-shadow: none; border: none; padding-left: 1rem; display: none; }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .contact-grid, .two-col { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .hero-style-dark h1 { font-size: 2.1rem; }
  .hero-style-dark .hero-inner { padding: 3.5rem 1.25rem; }
  .stat-strip { margin-top: -1.5rem; border-radius: 12px; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
  .about-split { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .cta-banner { grid-template-columns: 1fr; padding: 1.75rem; }
  .top-bar-inner { justify-content: center; text-align: center; }
}
